From f0165acd8d8b44fc3c32780bf3e6ba855100d29b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 2 Nov 2024 14:37:14 +0100 Subject: [PATCH 001/737] Updated what-is.ps1 --- data/dicts/astronomy.csv | 1 + scripts/what-is.ps1 | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/data/dicts/astronomy.csv b/data/dicts/astronomy.csv index 215020b14..e2698305b 100644 --- a/data/dicts/astronomy.csv +++ b/data/dicts/astronomy.csv @@ -297,6 +297,7 @@ NINS,National Institutes of Natural Sciences NIRPS,(NNT) Near Infra Red Planet Searcher NOVA,The Netherlands Research School for Astronomy (Nederlandse Onderzoekschool voor Astronomie) NRAO,National Radio Astronomy Observatory +NRQZ,(U.S.) National Radio Quiet Zone NSF,National Science Foundation NTT,New Technology Telescope NUVA,Network for UltraViolet Astrophysics diff --git a/scripts/what-is.ps1 b/scripts/what-is.ps1 index c2b22195a..d116430f2 100755 --- a/scripts/what-is.ps1 +++ b/scripts/what-is.ps1 @@ -17,9 +17,9 @@ param([string]$term = "") try { - if ($term -eq "" ) { $term = Read-Host "Enter the term/abbreviation/etc. to query" } + if ($term -eq "" ) { $term = Read-Host "Enter the term to query" } - $files = (Get-ChildItem "$PSScriptRoot/../data/dicts/*.csv") + $files = Get-ChildItem "$PSScriptRoot/../data/dicts/*.csv" $basename = "" foreach($file in $files) { $table = Import-CSV "$file" @@ -30,7 +30,8 @@ try { } } if ($basename -eq "") { - & "$PSScriptRoot/open-URL.ps1" "https://www.google.com/search?q=what+is+$term" "🤷‍ Sorry, no '$term' entry found. Let's google it at: " + Write-Host "🤷‍ Sorry, '$term' is unknown to me. Ctrl + click here to google it: " -noNewline + Write-Host "https://www.google.com/search?q=what+is+$term" -foregroundColor blue } exit 0 # success } catch { From e16e7baac67be5120196de0913fec29daf3499fc Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 2 Nov 2024 18:03:45 +0100 Subject: [PATCH 002/737] Added write-hands-off.ps1 --- scripts/write-hands-off.ps1 | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 scripts/write-hands-off.ps1 diff --git a/scripts/write-hands-off.ps1 b/scripts/write-hands-off.ps1 new file mode 100644 index 000000000..dda56ba7e --- /dev/null +++ b/scripts/write-hands-off.ps1 @@ -0,0 +1,34 @@ +<# +.SYNOPSIS + Writes 'Hands Off' +.DESCRIPTION + This PowerShell script writes 'Hands Off' in BIG letters. +.EXAMPLE + PS> ./write-hands-off.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + $randomNumberGenerator = New-Object System.Random + while ($true) { + Clear-Host + Write-Host "`n`n" + & "$PSScriptRoot/write-big.ps1" " HANDS OFF" + Write-Host "`n`n" + & "$PSScriptRoot/write-big.ps1" " DO NOT TOUCH" + Write-Host "`n`n" + & "$PSScriptRoot/write-big.ps1" " MY PC" + [int]$x = $randomNumberGenerator.next(1, 90) + [int]$y = $randomNumberGenerator.next(1, 22) + [System.Console]::SetCursorPosition($x, $y) + Write-Host "🔥🔥🔥 LAST WARNING 🔥🔥🔥" -foregroundColor red + Start-Sleep -milliseconds 900 + } + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} \ No newline at end of file From 14d9e2de9194c46e9bb71f3855c40ed00d2f6444 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 3 Nov 2024 10:06:13 +0100 Subject: [PATCH 003/737] Updated my-profile.ps1 --- scripts/my-profile.ps1 | 2 +- scripts/update-powershell-profile.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/my-profile.ps1 b/scripts/my-profile.ps1 index d91bcf716..a63e6d69d 100755 --- a/scripts/my-profile.ps1 +++ b/scripts/my-profile.ps1 @@ -5,7 +5,7 @@ if ($IsLinux) { $username = $(whoami) } else { $username = $env:USERNAME } $host.ui.RawUI.WindowTitle = "$username @ $(hostname)" # GREETING -Write-Host "👋 Welcome $username to $(hostname)'s PowerShell (type 'hlp' for help)" -foregroundColor green +Write-Host "👋 Welcome $username to $(hostname)'s PowerShell - type 'hlp' if you need help." -foregroundColor green # PROMPT function prompt { Write-Host "`n➤ " -noNewline -foregroundColor yellow; return " " } diff --git a/scripts/update-powershell-profile.ps1 b/scripts/update-powershell-profile.ps1 index 67eba112b..bca4934c9 100755 --- a/scripts/update-powershell-profile.ps1 +++ b/scripts/update-powershell-profile.ps1 @@ -9,7 +9,7 @@ PS> ./update-powershell-profile.ps1 ⏳ (1/2) Querying path to PowerShell profile 'CurrentUserCurrentHost'... ⏳ (2/2) Copying my-profile.ps1 to /home/Markus/.config/powershell/Microsoft.PowerShell_profile.ps1... - ✅ PowerShell profile updated - it get's active on next login. + ✅ Updated your PowerShell profile, it get's active on next login. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -27,7 +27,7 @@ try { $null = New-Item -Path $pathToProfile -ItemType "file" -Force Copy-Item "$path" "$pathToProfile" -force - "✅ PowerShell profile updated - it get's active on next login." + "✅ Updated your PowerShell profile, it get's active on next login." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 1a7ef52e65522db82673f08a81de9041a6a89971 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 3 Nov 2024 10:29:41 +0100 Subject: [PATCH 004/737] Updated computing.csv --- data/dicts/computing.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/dicts/computing.csv b/data/dicts/computing.csv index 2402a9413..bb2fbb4b0 100644 --- a/data/dicts/computing.csv +++ b/data/dicts/computing.csv @@ -243,6 +243,7 @@ ASSP,application-specific standard product AST,automated storage tiering ASTM,American Society for Testing and Materials ASUG,Americas' SAP Users' Group +ASWF,Academy Software Foundation ATA,Advanced Technology Attachment ATA,American Telemedicine Association ATA,analog telephone adapter From a786175c4f276030327b2aad9fad0a35b2575cb0 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 3 Nov 2024 11:57:34 +0100 Subject: [PATCH 005/737] Updated open-dashboards.ps1 --- scripts/open-dashboards.ps1 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/open-dashboards.ps1 b/scripts/open-dashboards.ps1 index d23aa6ec8..a8457debd 100755 --- a/scripts/open-dashboards.ps1 +++ b/scripts/open-dashboards.ps1 @@ -1,13 +1,13 @@ <# .SYNOPSIS - Open web dashboards + Open 20 web dashboards .DESCRIPTION This PowerShell script launches the Web browser with 20 tabs of popular dashboard websites. .PARAMETER timeInterval Specifies the time interval between each tab (110ms per default) .EXAMPLE PS> ./open-dashboards.ps1 - ✅ Launching Web browser with 20 tabs showing Toggl Track•Google Calendar•Google Mail, ... + ✅ Launching Web browser with 20 tabs: Toggl Track•Google Calendar•Google Mail, ... NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically. ... .LINK @@ -16,15 +16,14 @@ Author: Markus Fleschutz | License: CC0 #> -param([int]$timeInterval = 110) # milliseconds +param([int]$timeInterval = 120) # milliseconds try { Write-Progress "Reading Data/popular-dashboards.csv..." $table = Import-CSV "$PSScriptRoot/../data/popular-dashboards.csv" Write-Progress -completed "Done." - Write-Host "✅ Launching Web browser with 20 tabs showing " -noNewline - $numRows = $table.Length + Write-Host "✅ Launching Web browser with 20 tabs: " -noNewline foreach($row in $table) { Write-Host "$($row.NAME)•" -noNewline & "$PSScriptRoot/open-default-browser.ps1" "$($row.URL)" From 1238f58800a2b00ed142f7d9481efc575cfe0388 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 3 Nov 2024 12:03:52 +0100 Subject: [PATCH 006/737] Updated install-powershell.ps1 --- scripts/install-powershell.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install-powershell.ps1 b/scripts/install-powershell.ps1 index b7611e750..489afe6e4 100755 --- a/scripts/install-powershell.ps1 +++ b/scripts/install-powershell.ps1 @@ -355,7 +355,7 @@ try { tar zxf $packagePath -C $contentPath } } else { - Write-Host "⏳ (1/5) Loading details from https://raw.githubusercontent.com ..." + Write-Host "⏳ (1/5) Querying infos from https://raw.githubusercontent.com ..." $metadata = Invoke-RestMethod https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/metadata.json if ($Preview) { $release = $metadata.PreviewReleaseTag -replace '^v' From 0ad1759cd5e5e47c4e121123420a9b08296152a3 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 3 Nov 2024 12:17:40 +0100 Subject: [PATCH 007/737] Updated install-powershell.ps1 --- scripts/install-powershell.ps1 | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/scripts/install-powershell.ps1 b/scripts/install-powershell.ps1 index 489afe6e4..377d24257 100755 --- a/scripts/install-powershell.ps1 +++ b/scripts/install-powershell.ps1 @@ -125,7 +125,7 @@ function Remove-Destination([string]$Destination) { Remove-Item "$Destination.old" -Recurse -Force } if ($IsWinEnv -and ($Destination -eq $PSHOME)) { - Write-Host "⏳ (4/5) Removing old installation at $Destination... " + Write-Host "⏳ (3/4) Removing old installation at $Destination... " # handle the case where the updated folder is currently in use Get-ChildItem -Recurse -File -Path $PSHOME | ForEach-Object { if ($_.extension -eq ".old") { @@ -135,7 +135,7 @@ function Remove-Destination([string]$Destination) { } } } else { - Write-Host "⏳ (4/5) Moving old installation to $($Destination).old... " + Write-Host "⏳ (3/4) Moving old installation to $($Destination).old... " # Unix systems don't keep open file handles so you can just move files/folders even if in use sudo mv "$Destination" "$($Destination).old" } @@ -355,7 +355,7 @@ try { tar zxf $packagePath -C $contentPath } } else { - Write-Host "⏳ (1/5) Querying infos from https://raw.githubusercontent.com ..." + Write-Host "⏳ (1/4) Querying infos from https://raw.githubusercontent.com ..." $metadata = Invoke-RestMethod https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/metadata.json if ($Preview) { $release = $metadata.PreviewReleaseTag -replace '^v' @@ -378,10 +378,10 @@ try { } elseif ($IsMacOSEnv) { $packageName = "powershell-${release}-osx-${architecture}.tar.gz" } - Write-Host "⏳ (2/5) Latest release is $release for $architecture, package name is $packageName ..." + Write-Host " Latest release is $release for $architecture, package name is: $packageName" $downloadURL = "https://github.com/PowerShell/PowerShell/releases/download/v${release}/${packageName}" - Write-Host "⏳ (3/5) Loading $downloadURL" + Write-Host "⏳ (2/4) Loading $downloadURL" $packagePath = Join-Path -Path $tempDir -ChildPath $packageName if (!$PSVersionTable.ContainsKey('PSEdition') -or $PSVersionTable.PSEdition -eq "Desktop") { @@ -424,6 +424,7 @@ try { Expand-ArchiveInternal -Path $packagePath -DestinationPath $contentPath } } else { + Write-Host "Extracting..." tar zxf $packagePath -C $contentPath } } @@ -431,7 +432,7 @@ try { if (-not $UseMSI) { Remove-Destination $Destination if (Test-Path $Destination) { - Write-Verbose "Copying files" -Verbose + Write-Host "Copying files..." # only copy files as folders will already exist at $Destination Get-ChildItem -Recurse -Path "$contentPath" -File | ForEach-Object { $DestinationFilePath = Join-Path $Destination $_.fullname.replace($contentPath, "") @@ -441,7 +442,7 @@ try { $null = New-Item -Path (Split-Path -Path $Destination -Parent) -ItemType Directory -ErrorAction SilentlyContinue Move-Item -Path $contentPath -Destination $Destination } else { - Write-Host "⏳ (5/5) Moving new installation to $Destination... " + Write-Host "⏳ (4/4) Moving new installation to $Destination... " & sudo mv "$contentPath" "$Destination" } } From c7d2f403a010edadd5d5afd65694985bb8c5f7a6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 3 Nov 2024 12:25:16 +0100 Subject: [PATCH 008/737] Updated install-powershell.ps1 --- scripts/install-powershell.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install-powershell.ps1 b/scripts/install-powershell.ps1 index 377d24257..cd7495dce 100755 --- a/scripts/install-powershell.ps1 +++ b/scripts/install-powershell.ps1 @@ -424,21 +424,23 @@ try { Expand-ArchiveInternal -Path $packagePath -DestinationPath $contentPath } } else { - Write-Host "Extracting..." + Write-Host "⏳ (3/4) Extracting package to: $contentPath..." tar zxf $packagePath -C $contentPath } } if (-not $UseMSI) { + Write-Host "Removing current installation at: $Destination ..." Remove-Destination $Destination if (Test-Path $Destination) { - Write-Host "Copying files..." + Write-Host "⏳ (4/4) Copying files to $Destination... " # only copy files as folders will already exist at $Destination Get-ChildItem -Recurse -Path "$contentPath" -File | ForEach-Object { $DestinationFilePath = Join-Path $Destination $_.fullname.replace($contentPath, "") Copy-Item $_.fullname -Destination $DestinationFilePath } } elseif ($IsWinEnv) { + Write-Host "⏳ (4/4) Moving new installation to $Destination... " $null = New-Item -Path (Split-Path -Path $Destination -Parent) -ItemType Directory -ErrorAction SilentlyContinue Move-Item -Path $contentPath -Destination $Destination } else { From aff1f7acabc632fc11d55c85227dfab584866fd9 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 4 Nov 2024 09:10:02 +0100 Subject: [PATCH 009/737] Updated aviation.csv --- data/dicts/aviation.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index 5e4669bd8..8503d17b2 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -264,6 +264,7 @@ ELEV,Field Elevation ELT,Emergency Locator Transmitter ENR,En-Route EOL,Engine-off landing +ERAU,Embry-Riddle Aeronautical University (Daytona Beach, Florida) ERPM,Engine Rotations per Minute eSTOL,Electric Short Take-off and Landing ETA,"Estimated Time of Arrival, East Transition Area" From d72ffb94904532a9e104aa0ee67aa3042e4b3a33 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 4 Nov 2024 10:58:37 +0100 Subject: [PATCH 010/737] Added watch-ping.ps1 --- scripts/watch-ping.ps1 | 76 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 scripts/watch-ping.ps1 diff --git a/scripts/watch-ping.ps1 b/scripts/watch-ping.ps1 new file mode 100644 index 000000000..618e8bb4e --- /dev/null +++ b/scripts/watch-ping.ps1 @@ -0,0 +1,76 @@ +<# +.SYNOPSIS + Watch pinging a host +.DESCRIPTION + This PowerShell script pings the given host continously and shows the roundtrip times in a horizontal chart. +.PARAMETER hostname + Specifies the hostname or IP address to ping (windows.com by default) +.PARAMETER timeInterval + Specifies the time interval in milliseconds between two pings (1000 by default) +.EXAMPLE + PS> ./watch-ping.ps1 + + PING ROUNDTRIP TIMES TO: windows.com + #1 ██████████████ 136ms + #2 ████████████████ 154ms + #3 █████████████████████████ 234ms + ... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$hostname = "windows.com", [int]$timeInterval = 1000) + +function GetPingLatency([string]$hostname) { + $hostsArray = $hostname.Split(",") + $tasks = $hostsArray | foreach { + (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,1000) + } + [Threading.Tasks.Task]::WaitAll($tasks) + foreach($ping in $tasks.Result) { + if ($ping.Status -eq "Success") { return $ping.RoundtripTime } + } + return 1000 +} + +function WriteChartLine { param([float]$value, [float]$maxValue, [string]$text) + $num = ($value * 108.0) / $maxValue + while ($num -ge 1.0) { + Write-Host -noNewLine "█" + $num -= 1.0 + } + if ($num -ge 0.875) { + Write-Host -noNewLine "▉" + } elseif ($num -ge 0.75) { + Write-Host -noNewLine "▊" + } elseif ($num -ge 0.625) { + Write-Host -noNewLine "▋" + } elseif ($num -ge 0.5) { + Write-Host -noNewLine "▌" + } elseif ($num -ge 0.375) { + Write-Host -noNewLine "▍" + } elseif ($num -ge 0.25) { + Write-Host -noNewLine "▎" + } elseif ($num -ge 0.125) { + Write-Host -noNewLine "▏" + } + Write-Host " $text" +} + +try { + Write-Host "`n PING ROUNDTRIP TIMES TO: $hostname" -foregroundColor green + [int]$count = 1 + do { + Write-Host "#$count " -noNewline + [float]$latency = GetPingLatency $hostname + WriteChartLine $latency 1000.0 "$($latency)ms" + Start-Sleep -Milliseconds $timeInterval + $count++ + } while($true) + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} \ No newline at end of file From e09c53bcc566f4ecb71aac66fcf7af6a36ee5f45 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 4 Nov 2024 15:08:49 +0100 Subject: [PATCH 011/737] Improved ping-host.ps1 --- scripts/ping-host.ps1 | 63 ++++++++++--------------------------------- 1 file changed, 14 insertions(+), 49 deletions(-) diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index 73cc30a1a..13bd30936 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -1,75 +1,40 @@ <# .SYNOPSIS - Ping a host + Pings a host .DESCRIPTION - This PowerShell script pings the given host continously and shows the roundtrip times in a horizontal chart. + This PowerShell script pings the given host. .PARAMETER hostname - Specifies the hostname or IP address of the host to ping (windows.com by default) -.PARAMETER timeInterval - Specifies the time interval in milliseconds to repeat the ping (1000 by default) + Specifies the hostname or IP address to ping (windows.com by default) .EXAMPLE - PS> ./ping-host.ps1 - ----------------------------------------- - Ping Roundtrip Times to windows.com - ----------------------------------------- - #1 ██████████████ 136ms - #2 ████████████████ 154ms - #3 █████████████████████████ 234ms - ... + PS> ./ping-host.ps1 x.com + ✅ x.com is up with 10ms latency. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$hostname = "windows.com", [int]$timeInterval = 1000) +param([string]$hostname = "windows.com") function GetPingLatency([string]$hostname) { $hostsArray = $hostname.Split(",") $tasks = $hostsArray | foreach { - (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,1000) + (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,1500) } [Threading.Tasks.Task]::WaitAll($tasks) foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { return $ping.RoundtripTime } } - return 1000 -} - -function WriteChartLine { param([float]$value, [float]$maxValue, [string]$text) - $num = ($value * 108.0) / $maxValue - while ($num -ge 1.0) { - Write-Host -noNewLine "█" - $num -= 1.0 - } - if ($num -ge 0.875) { - Write-Host -noNewLine "▉" - } elseif ($num -ge 0.75) { - Write-Host -noNewLine "▊" - } elseif ($num -ge 0.625) { - Write-Host -noNewLine "▋" - } elseif ($num -ge 0.5) { - Write-Host -noNewLine "▌" - } elseif ($num -ge 0.375) { - Write-Host -noNewLine "▍" - } elseif ($num -ge 0.25) { - Write-Host -noNewLine "▎" - } elseif ($num -ge 0.125) { - Write-Host -noNewLine "▏" - } - Write-Host " $text" + return 1500 } try { - Write-Host "`n PING ROUNDTRIP TIMES TO: $hostname" -foregroundColor green - [int]$count = 1 - do { - [float]$latency = GetPingLatency $hostname - Write-Host "#$count " -noNewline - WriteChartLine $latency 1000.0 "$($latency)ms" - Start-Sleep -Milliseconds $timeInterval - $count++ - } while($true) + [int]$latency = GetPingLatency($hostname) + if ($latency -eq 1500) { + Write-Host "⚠️ Host '$hostname' is offline" + } else { + Write-Host "✅ $hostname is up with $($latency)ms ping latency." + } exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 70ebba06ff96169198becfba681dd3a0ee64da92 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 4 Nov 2024 15:25:02 +0100 Subject: [PATCH 012/737] Updated enter-host.ps1 and ping-host.ps1 --- scripts/enter-host.ps1 | 9 ++++++--- scripts/ping-host.ps1 | 18 +++++++----------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/scripts/enter-host.ps1 b/scripts/enter-host.ps1 index 917819f9f..4c6a7e264 100755 --- a/scripts/enter-host.ps1 +++ b/scripts/enter-host.ps1 @@ -7,7 +7,8 @@ Specifies the remote hostname or IP address .EXAMPLE PS> ./enter-host.ps1 tux - ⏳ Connecting to 'tux' as user 'markus' using OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 + ✅ tux is up and running (3ms latency). + ⏳ Connecting as user 'markus' using OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 markus@tux's password: ... .LINK @@ -22,7 +23,6 @@ try { if ($remoteHost -eq "") { $remoteHost = Read-Host "Enter the remote hostname or IP address" $remoteUser = Read-Host "Enter the username at $remoteHost" - } elseif ($IsLinux) { $remoteUser = $(whoami) } else { @@ -30,7 +30,10 @@ try { $remoteUser = $remoteUser.toLower() } - Write-Host "⏳ Connecting to '$remoteHost' as user '$remoteUser' using " -noNewline + & "$PSScriptRoot/ping-host.ps1" $remoteHost + if ($lastExitCode -ne "0") { exit 1 } + + Write-Host "⏳ Connecting as user '$remoteUser' using " -noNewline & ssh -V if ($lastExitCode -ne "0") { throw "'ssh -V' failed with exit code $lastExitCode" } diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index 13bd30936..b5f841da9 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -7,7 +7,7 @@ Specifies the hostname or IP address to ping (windows.com by default) .EXAMPLE PS> ./ping-host.ps1 x.com - ✅ x.com is up with 10ms latency. + ✅ x.com is up and running (11ms latency). .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,23 +18,19 @@ param([string]$hostname = "windows.com") function GetPingLatency([string]$hostname) { $hostsArray = $hostname.Split(",") - $tasks = $hostsArray | foreach { - (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,1500) - } + $tasks = $hostsArray | foreach { (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,1500) } [Threading.Tasks.Task]::WaitAll($tasks) - foreach($ping in $tasks.Result) { - if ($ping.Status -eq "Success") { return $ping.RoundtripTime } - } + foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { return $ping.RoundtripTime } } return 1500 } try { [int]$latency = GetPingLatency($hostname) if ($latency -eq 1500) { - Write-Host "⚠️ Host '$hostname' is offline" - } else { - Write-Host "✅ $hostname is up with $($latency)ms ping latency." - } + Write-Host "⚠️ Host '$hostname' doesn't respond - check the connection or wake the host up." + exit 1 + } + Write-Host "✅ $hostname is up and running ($($latency)ms latency)." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From cf34f7dae2b5201e9e979ebfaf75bcddcec6ee8b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 4 Nov 2024 17:09:39 +0100 Subject: [PATCH 013/737] Updated watch-news.ps1 --- scripts/watch-news.ps1 | 39 +++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/scripts/watch-news.ps1 b/scripts/watch-news.ps1 index 25d0938a5..410aa80a4 100755 --- a/scripts/watch-news.ps1 +++ b/scripts/watch-news.ps1 @@ -1,35 +1,39 @@ <# .SYNOPSIS - Watch the latest headlines + Watch the news .DESCRIPTION - This PowerShell script lists the latest headlines by using a RSS (Really Simple Syndication) feed. -.PARAMETER RSS_URL + This PowerShell script continuously lists the latest headlines by using a RSS (Really Simple Syndication) feed. +.PARAMETER URL Specifies the URL to the RSS feed (Yahoo World News by default) .PARAMETER lines Specifies the initial number of headlines .PARAMETER timeInterval - Specifies the time interval in seconds between the Web requests + Specifies the time interval in seconds between two Web requests (30 seconds by default) .EXAMPLE PS> ./watch-news.ps1 - ❇️ Niger coup: Ecowas deadline sparks anxiety in northern Nigeria ❇️ + + UTC Yahoo News - Latest News & Headlines - https://www.yahoo.com/news/world + --- ----------------------------------------------------------------------- + ❇️ 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria + ... .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$RSS_URL = "https://news.yahoo.com/rss/world", [int]$lines = 10, [int]$timeInterval = 30) # in seconds +param([string]$URL = "https://news.yahoo.com/rss/world", [int]$lines = 10, [int]$timeInterval = 30) # in seconds function PrintLatestHeadlines([string]$previous, [int]$maxLines) { - [xml]$content = (Invoke-WebRequest -URI $RSS_URL -useBasicParsing).Content + [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content [string]$latest = "" foreach ($item in $content.rss.channel.item) { - $itemTitle = "$($item.title)" - if ($latest -eq "") { $latest = $itemTitle } - if ($itemTitle -eq $previous) { break } - - & "$PSScriptRoot/write-animated.ps1" "❇️ $itemTitle ❇️" + $title = $item.title + if ($latest -eq "") { $latest = $title } + if ($title -eq $previous) { break } + $time = $item.pubDate.Substring(11, 5) + & "$PSScriptRoot/write-typewriter.ps1" "❇️ $time $title" 10 $maxLines-- if ($maxLines -eq 0) { break } } @@ -37,11 +41,18 @@ function PrintLatestHeadlines([string]$previous, [int]$maxLines) { } try { + [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content + + $title = $content.rss.channel.title + $URL = $content.rss.channel.link + " " + " UTC $title - $URL" + " --- -----------------------------------------------------------------------" $latest = "" - while ($true) { + do { $latest = PrintLatestHeadlines $latest $lines Start-Sleep -seconds $timeInterval - } + } while ($true) exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From cd3ad88b655d983a896387b59cee3833efeefe6e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 4 Nov 2024 20:34:49 +0100 Subject: [PATCH 014/737] Updated ping-host.ps1 and enter-host.ps1 --- scripts/enter-host.ps1 | 5 ++++- scripts/ping-host.ps1 | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/enter-host.ps1 b/scripts/enter-host.ps1 index 4c6a7e264..0d308458a 100755 --- a/scripts/enter-host.ps1 +++ b/scripts/enter-host.ps1 @@ -31,7 +31,10 @@ try { } & "$PSScriptRoot/ping-host.ps1" $remoteHost - if ($lastExitCode -ne "0") { exit 1 } + if ($lastExitCode -ne "0") { + Write-Host "Let's try to wake '$remoteHost' up..." + & "$PSScriptRoot/wake-up-host.ps1" + } Write-Host "⏳ Connecting as user '$remoteUser' using " -noNewline & ssh -V diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index b5f841da9..e03732951 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -27,7 +27,7 @@ function GetPingLatency([string]$hostname) { try { [int]$latency = GetPingLatency($hostname) if ($latency -eq 1500) { - Write-Host "⚠️ Host '$hostname' doesn't respond - check the connection or wake the host up." + Write-Host "⚠️ Host '$hostname' doesn't respond - check the connection or maybe the host is down." exit 1 } Write-Host "✅ $hostname is up and running ($($latency)ms latency)." From 7a175c2a2e88b9cb46e3a08626b1b04214f540b4 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 4 Nov 2024 21:21:53 +0100 Subject: [PATCH 015/737] Updated watch-news.ps1 --- scripts/watch-news.ps1 | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/scripts/watch-news.ps1 b/scripts/watch-news.ps1 index 410aa80a4..2e4f240e2 100755 --- a/scripts/watch-news.ps1 +++ b/scripts/watch-news.ps1 @@ -22,36 +22,33 @@ Author: Markus Fleschutz | License: CC0 #> -param([string]$URL = "https://news.yahoo.com/rss/world", [int]$lines = 10, [int]$timeInterval = 30) # in seconds +param([string]$URL = "https://news.yahoo.com/rss/world", [int]$timeInterval = 30) # in seconds -function PrintLatestHeadlines([string]$previous, [int]$maxLines) { - [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content - [string]$latest = "" - - foreach ($item in $content.rss.channel.item) { +function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp) { + $items = $content.rss.channel.item + [array]::Reverse($items) + foreach($item in $items) { + if ($($item.pubDate) -le $latestTimestamp) { continue } $title = $item.title - if ($latest -eq "") { $latest = $title } - if ($title -eq $previous) { break } $time = $item.pubDate.Substring(11, 5) - & "$PSScriptRoot/write-typewriter.ps1" "❇️ $time $title" 10 - $maxLines-- - if ($maxLines -eq 0) { break } + & "$PSScriptRoot/write-typewriter.ps1" "❇️ $time $title" 2 + $latestTimestamp = $item.pubDate } - return $latest + return $latestTimestamp } try { [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content - $title = $content.rss.channel.title - $URL = $content.rss.channel.link + $link = $content.rss.channel.link " " - " UTC $title - $URL" + " UTC $title - $link" " --- -----------------------------------------------------------------------" - $latest = "" + $latestTimestamp = "2000-01-01" do { - $latest = PrintLatestHeadlines $latest $lines + $latestTimestamp = PrintLatestHeadlines $content $latestTimestamp Start-Sleep -seconds $timeInterval + [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content } while ($true) exit 0 # success } catch { From 467332f0fe55f95da7c5421cb919d28ded32ed16 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 7 Nov 2024 14:39:30 +0100 Subject: [PATCH 016/737] Updated my-profile.ps1 --- scripts/my-profile.ps1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/my-profile.ps1 b/scripts/my-profile.ps1 index a63e6d69d..e05e2c584 100755 --- a/scripts/my-profile.ps1 +++ b/scripts/my-profile.ps1 @@ -11,9 +11,10 @@ Write-Host "👋 Welcome $username to $(hostname)'s PowerShell - type 'hlp' if y function prompt { Write-Host "`n➤ " -noNewline -foregroundColor yellow; return " " } # ALIASES -del alias:pwd -force -errorAction SilentlyContinue +set-alias -name enter -value enter-host.ps1 set-alias -name hlp -value write-help.ps1 -set-alias -name pwd -value list-workdir.ps1 # pwd = print working directory -set-alias -name ll -value get-childitem # ll = list folder (long format) +set-alias -name ll -value Get-ChildItem # ll = list folder (long format) del alias:ls -force -errorAction SilentlyContinue set-alias -name ls -value list-folder.ps1 # ls = list folder (short format) +del alias:pwd -force -errorAction SilentlyContinue +set-alias -name pwd -value list-workdir.ps1 # pwd = print working directory From 6b9e8582a4b38f3dd5c3a86a8fac6783b4aee103 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 8 Nov 2024 08:50:37 +0100 Subject: [PATCH 017/737] Added scan-folder.ps1 --- scripts/scan-folder.ps1 | 47 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 scripts/scan-folder.ps1 diff --git a/scripts/scan-folder.ps1 b/scripts/scan-folder.ps1 new file mode 100644 index 000000000..c9e3ed77d --- /dev/null +++ b/scripts/scan-folder.ps1 @@ -0,0 +1,47 @@ +<# +.SYNOPSIS + Scans a folder for viruses +.DESCRIPTION + This PowerShell script scans the given folder (including subfolders) for viruses. Requires the installation of ESET or Windows Defender. +.PARAMETER path + Specifies the file path to the folder (default is working directory). +.EXAMPLE + PS> ./scan-folder.ps1 C:\Windows + ⏳ Scanning folder with ESET Antivirus... + ... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$path = "$PWD") + +try { + $stopWatch = [system.diagnostics.stopwatch]::startNew() + + if (-not(Test-Path $path -pathType container)) { throw "Invalid file path: $path" } + $path = Resolve-Path $path + + if (Test-Path "C:\Program Files\ESET\ESET Security\ecls.exe" -pathType leaf) { + + "⏳ Scanning folder with ESET Antivirus..." + & "C:\Program Files\ESET\ESET Security\ecls.exe" $path + if ($lastExitCode -ne 0) { throw "ESET Antivirus failed with exit code $lastExitCode - POTENTIAL DANGER!!!" } + + } elseif (Test-Path "C:\Program Files\Windows Defender\MpCmdRun.exe" -pathType leaf) { + + "⏳ Scanning folder with Windows Defender..." + & "C:\Program Files\Windows Defender\MpCmdRun.exe" -Scan -ScanType 2 -File $path + if ($lastExitCode -ne 0) { throw "Windows Defender failed with exit code $lastExitCode - POTENTIAL DANGER !!!" } + + } else { + throw "Found no ESET or Windows Defender - please install one." + } + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Scanned 📂$path in $($elapsed)s: No malware found." + exit 0 # success +} catch { + "⚠️ Error: $($Error[0])" + exit 1 +} From 53eb60baa3e4e4ee621a71d17f303945564fb8d2 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 8 Nov 2024 09:01:49 +0100 Subject: [PATCH 018/737] Updated scan-folder.ps1 --- scripts/scan-folder.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/scan-folder.ps1 b/scripts/scan-folder.ps1 index c9e3ed77d..b7c20c5b9 100644 --- a/scripts/scan-folder.ps1 +++ b/scripts/scan-folder.ps1 @@ -1,13 +1,13 @@ <# .SYNOPSIS - Scans a folder for viruses + Scans a directory tree for malware .DESCRIPTION - This PowerShell script scans the given folder (including subfolders) for viruses. Requires the installation of ESET or Windows Defender. + This PowerShell script scans a directory tree for malware. Requires the installation of ESET or Windows Defender. .PARAMETER path Specifies the file path to the folder (default is working directory). .EXAMPLE PS> ./scan-folder.ps1 C:\Windows - ⏳ Scanning folder with ESET Antivirus... + ⏳ Scanning 📂C:\Windows with ESET Antivirus... ... .LINK https://github.com/fleschutz/PowerShell @@ -25,13 +25,13 @@ try { if (Test-Path "C:\Program Files\ESET\ESET Security\ecls.exe" -pathType leaf) { - "⏳ Scanning folder with ESET Antivirus..." + "⏳ Scanning 📂$path with ESET Antivirus..." & "C:\Program Files\ESET\ESET Security\ecls.exe" $path if ($lastExitCode -ne 0) { throw "ESET Antivirus failed with exit code $lastExitCode - POTENTIAL DANGER!!!" } } elseif (Test-Path "C:\Program Files\Windows Defender\MpCmdRun.exe" -pathType leaf) { - "⏳ Scanning folder with Windows Defender..." + "⏳ Scanning 📂$path with Windows Defender..." & "C:\Program Files\Windows Defender\MpCmdRun.exe" -Scan -ScanType 2 -File $path if ($lastExitCode -ne 0) { throw "Windows Defender failed with exit code $lastExitCode - POTENTIAL DANGER !!!" } From 54635c32da0ebbad42496ccfab06c9f72ba2d085 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 8 Nov 2024 12:35:11 +0100 Subject: [PATCH 019/737] Updated the manuals --- docs/add-firewall-rules.md | 4 +- docs/alert.md | 4 +- docs/build-repo.md | 10 +- docs/build-repos.md | 6 +- docs/cd-autostart.md | 14 +- docs/cd-crashdumps.md | 4 +- docs/cd-desktop.md | 16 +- docs/cd-docs.md | 16 +- docs/cd-downloads.md | 16 +- docs/cd-dropbox.md | 16 +- docs/cd-etc.md | 16 +- docs/cd-fonts.md | 14 +- docs/cd-home.md | 20 +- docs/cd-jenkins.md | 66 + docs/cd-logs.md | 8 +- docs/cd-music.md | 16 +- docs/cd-nextcloud.md | 61 + docs/cd-onedrive.md | 16 +- docs/cd-pics.md | 14 +- docs/cd-public.md | 14 +- docs/cd-recent.md | 4 +- docs/cd-recycle-bin.md | 4 +- docs/cd-repo.md | 41 +- docs/cd-repos.md | 20 +- docs/cd-root.md | 10 +- docs/cd-screenshots.md | 22 +- docs/cd-scripts.md | 4 +- docs/cd-ssh.md | 23 +- docs/cd-temp.md | 10 +- docs/cd-templates.md | 14 +- docs/cd-trash.md | 4 +- docs/cd-up.md | 12 +- docs/cd-up2.md | 12 +- docs/cd-up3.md | 12 +- docs/cd-up4.md | 12 +- docs/cd-users.md | 12 +- docs/cd-videos.md | 14 +- docs/cd-windows.md | 12 +- docs/change-wallpaper.md | 4 +- docs/check-admin.md | 4 +- docs/check-apps.md | 33 +- docs/check-bios.md | 43 +- docs/check-cpu.md | 23 +- docs/check-credentials.md | 10 +- docs/check-day.md | 8 +- docs/check-dns.md | 27 +- docs/check-drive-space.md | 4 +- docs/check-drives.md | 50 +- docs/check-dusk.md | 2 +- docs/check-easter-sunday.md | 4 +- docs/check-file-system.md | 8 +- docs/check-file.md | 4 +- docs/check-firewall.md | 4 +- docs/check-gpu.md | 2 +- docs/check-hardware.md | 5 +- docs/check-health.md | 4 +- docs/check-independence-day.md | 4 +- docs/check-ipv4-address.md | 10 +- docs/check-ipv6-address.md | 10 +- docs/check-iss-position.md | 4 +- docs/check-mac-address.md | 10 +- docs/check-midnight.md | 2 +- docs/check-month.md | 8 +- docs/check-moon-phase.md | 4 +- docs/check-motherboard.md | 62 + docs/check-network.md | 23 +- docs/check-noon.md | 2 +- docs/check-os.md | 10 +- docs/check-outlook.md | 4 +- docs/check-password.md | 4 +- docs/check-pending-reboot.md | 36 +- docs/check-pnp-devices.md | 4 +- docs/check-power.md | 35 +- docs/check-powershell.md | 2 +- docs/check-ps1-file.md | 10 +- docs/check-ram.md | 2 +- docs/check-repo.md | 6 +- docs/check-repos.md | 10 +- docs/check-santa.md | 4 +- docs/check-smart-devices.md | 15 +- docs/check-software.md | 5 +- docs/check-subnet-mask.md | 10 +- docs/check-swap-space.md | 16 +- docs/check-symlinks.md | 14 +- docs/check-time-zone.md | 10 +- docs/check-uptime.md | 57 +- docs/check-vpn.md | 4 +- docs/check-weather.md | 4 +- docs/check-week.md | 4 +- docs/check-wind.md | 4 +- docs/check-windows-system-files.md | 10 +- docs/check-xml-file.md | 10 +- docs/check-xml-files.md | 10 +- docs/clean-repo.md | 10 +- docs/clean-repos.md | 6 +- docs/clear-dns-cache.md | 14 +- docs/clear-recycle-bin.md | 4 +- docs/clone-repos.md | 22 +- docs/clone-shallow.md | 6 +- docs/close-calculator.md | 4 +- docs/close-chrome.md | 4 +- docs/close-cortana.md | 4 +- docs/close-edge.md | 4 +- docs/close-file-explorer.md | 4 +- docs/close-firefox.md | 4 +- docs/close-git-extensions.md | 4 +- docs/close-magnifier.md | 4 +- docs/close-microsoft-paint.md | 4 +- docs/close-microsoft-store.md | 4 +- docs/close-netflix.md | 4 +- docs/close-notepad.md | 4 +- docs/close-obs-studio.md | 4 +- docs/close-one-calendar.md | 4 +- docs/close-outlook.md | 4 +- docs/close-paint-three-d.md | 4 +- docs/close-program.md | 8 +- docs/close-serenade.md | 4 +- docs/close-snipping-tool.md | 4 +- docs/close-spotify.md | 4 +- docs/close-task-manager.md | 4 +- docs/close-three-d-viewer.md | 4 +- docs/close-thunderbird.md | 4 +- docs/close-visual-studio.md | 4 +- docs/close-vlc.md | 4 +- docs/close-windows-terminal.md | 4 +- docs/configure-git.md | 51 +- docs/connect-vpn.md | 4 +- docs/convert-csv2txt.md | 4 +- docs/convert-dir2zip.md | 10 +- docs/convert-docx2md.md | 6 +- docs/convert-frames2mp4.md | 2 +- docs/convert-image2ascii.md | 2 +- docs/convert-image2blurred-frames.md | 2 +- docs/convert-image2pixelated-frames.md | 2 +- docs/convert-md2docx.md | 2 +- docs/convert-md2html.md | 6 +- docs/convert-md2pdf.md | 2 +- docs/convert-mysql2csv.md | 4 +- docs/convert-ps2bat.md | 4 +- docs/convert-ps2md.md | 4 +- docs/convert-sql2csv.md | 4 +- docs/convert-txt2wav.md | 4 +- docs/copy-photos-sorted.md | 6 +- docs/count-characters.md | 10 +- docs/count-lines.md | 10 +- docs/decrypt-file.md | 6 +- docs/disable-ipv6.md | 6 +- docs/disconnect-vpn.md | 4 +- docs/download-dir.md | 6 +- docs/download-file.md | 6 +- docs/edit.md | 9 +- docs/enable-crash-dumps.md | 4 +- docs/enable-god-mode.md | 6 +- docs/enable-ipv6.md | 6 +- docs/encrypt-file.md | 6 +- docs/enter-chat.md | 4 +- docs/enter-host.md | 97 ++ docs/export-to-manuals.md | 10 +- docs/fetch-repo.md | 33 +- docs/fetch-repos.md | 16 +- docs/firefox-installer.md | 4 +- docs/get-md5.md | 10 +- docs/get-sha1.md | 10 +- docs/get-sha256.md | 10 +- docs/hello-world.md | 53 + docs/hibernate.md | 4 +- docs/import-vm.md | 2 +- docs/inspect-exe.md | 4 +- docs/install-audacity.md | 4 +- docs/install-basic-apps.md | 10 +- docs/install-basic-snaps.md | 6 +- docs/install-calibre-server.md | 6 +- docs/install-chocolatey.md | 4 +- docs/install-chrome.md | 4 +- docs/install-crystal-disk-info.md | 4 +- docs/install-crystal-disk-mark.md | 4 +- docs/install-discord.md | 4 +- docs/install-edge.md | 4 +- docs/install-evcc.md | 6 +- docs/install-firefox.md | 4 +- docs/install-git-extensions.md | 4 +- docs/install-git-for-windows.md | 4 +- docs/install-github-cli.md | 15 +- docs/install-gitlab.md | 34 + docs/install-irfanview.md | 4 +- docs/install-knot-resolver.md | 6 +- docs/install-microsoft-teams.md | 4 +- docs/install-netflix.md | 4 +- docs/install-obs-studio.md | 6 +- docs/install-octoprint.md | 2 +- docs/install-one-calendar.md | 4 +- docs/install-opera-browser.md | 4 +- docs/install-opera-gx.md | 4 +- docs/install-paint-3d.md | 4 +- docs/install-power-toys.md | 4 +- docs/install-powershell.md | 50 +- docs/install-rufus.md | 4 +- docs/install-salesforce-cli.md | 4 +- docs/install-signal-cli.md | 6 +- docs/install-skype.md | 4 +- docs/install-spotify.md | 4 +- docs/install-ssh-client.md | 6 +- docs/install-ssh-server.md | 6 +- docs/install-thunderbird.md | 4 +- docs/install-twitter.md | 4 +- docs/install-unbound-server.md | 6 +- docs/install-updates.md | 4 +- docs/install-visual-studio-code.md | 4 +- docs/install-vivaldi.md | 4 +- docs/install-vlc.md | 10 +- docs/install-windows-terminal.md | 4 +- docs/install-wsl.md | 6 +- docs/install-zoom.md | 4 +- docs/introduce-powershell.md | 4 +- docs/list-aliases.md | 4 +- docs/list-anagrams.md | 4 +- docs/list-apps.md | 4 +- docs/list-ascii-table.md | 4 +- docs/list-automatic-variables.md | 2 +- docs/list-battery-status.md | 4 +- docs/list-bios.md | 4 +- docs/list-bluetooth-devices.md | 4 +- docs/list-branches.md | 4 +- docs/list-calendar.md | 29 +- docs/list-cheat-sheet.md | 4 +- docs/list-city-weather.md | 2 +- docs/list-cli-tools.md | 2 +- docs/list-clipboard.md | 4 +- docs/list-cmdlets.md | 4 +- docs/list-coffee-prices.md | 3 +- docs/list-commit-stats.md | 4 +- docs/list-commits.md | 4 +- docs/list-console-colors.md | 4 +- docs/list-countries.md | 2 +- docs/list-cpu.md | 4 +- docs/list-crypto-rates.md | 2 +- docs/list-defender-settings.md | 4 +- docs/list-dir-tree.md | 27 +- docs/list-dns-servers.md | 2 +- docs/list-drives.md | 4 +- docs/list-earthquakes.md | 4 +- docs/list-emojis.md | 4 +- docs/list-empty-dirs.md | 10 +- docs/list-empty-files.md | 10 +- docs/list-encrypted-files.md | 10 +- docs/list-environment-variables.md | 4 +- docs/list-error-types.md | 2 +- docs/list-exchange-rates.md | 4 +- docs/list-executables.md | 10 +- docs/list-fibonacci.md | 8 +- docs/list-files.md | 4 +- docs/list-folder.md | 4 +- docs/list-fritzbox-calls.md | 4 +- docs/list-fritzbox-devices.md | 4 +- docs/list-headlines.md | 4 +- docs/list-hidden-files.md | 10 +- docs/list-installed-languages.md | 2 +- docs/list-installed-scripts.md | 4 +- docs/list-installed-software.md | 4 +- docs/list-internet-ip.md | 73 ++ docs/list-ipv6.md | 4 +- docs/list-latest-tag.md | 4 +- docs/list-latest-tags.md | 4 +- docs/list-local-ip.md | 65 + docs/list-mDNS.md | 2 +- docs/list-memos.md | 4 +- docs/list-mysql-tables.md | 4 +- docs/list-network-connections.md | 4 +- docs/list-network-neighbors.md | 4 +- docs/list-network-routes.md | 4 +- docs/list-network-shares.md | 31 +- docs/list-news.md | 4 +- docs/list-nic.md | 4 +- docs/list-nina-warnings.md | 4 +- docs/list-old-branches.md | 87 ++ docs/list-os-releases.md | 4 +- docs/list-os-updates.md | 4 +- docs/list-os.md | 4 +- docs/list-outlook-inbox.md | 4 +- docs/list-outlook-sent.md | 4 +- docs/list-passwords.md | 4 +- docs/list-pins.md | 4 +- docs/list-power-schemes.md | 2 +- docs/list-powershell-modules.md | 4 +- docs/list-powershell-profiles.md | 2 +- docs/list-powershell-verbs.md | 4 +- docs/list-print-jobs.md | 4 +- docs/list-printers.md | 4 +- docs/list-processes.md | 4 +- docs/list-pull-requests.md | 4 +- docs/list-ram.md | 4 +- docs/list-read-only-files.md | 10 +- docs/list-recycle-bin.md | 4 +- docs/list-repos.md | 52 +- docs/list-scripts.md | 2 +- docs/list-scsi-devices.md | 4 +- docs/list-services.md | 4 +- docs/list-special-folders.md | 2 +- docs/list-sql-tables.md | 4 +- docs/list-ssh-key.md | 64 + docs/list-submodules.md | 4 +- docs/list-suggestions.md | 4 +- docs/list-system-devices.md | 4 +- docs/list-system-files.md | 10 +- docs/list-system-info.md | 4 +- docs/list-tags.md | 4 +- docs/list-tasks.md | 12 +- docs/list-timezone.md | 4 +- docs/list-timezones.md | 4 +- docs/list-tiobe-index.md | 2 +- docs/list-unused-files.md | 10 +- docs/list-updates.md | 6 +- docs/list-usb-devices.md | 4 +- docs/list-user-accounts.md | 10 +- docs/list-user-groups.md | 4 +- docs/list-voices.md | 4 +- docs/list-weather.md | 6 +- docs/list-wifi.md | 4 +- docs/list-window-titles.md | 4 +- docs/list-workdir.md | 4 +- docs/list-wsl-distros.md | 58 +- docs/locate-city.md | 4 +- docs/locate-ipaddress.md | 2 +- docs/locate-my-phone.md | 4 +- docs/locate-zip-code.md | 4 +- docs/lock-desktop.md | 4 +- docs/log-off.md | 4 +- docs/make-install.md | 6 +- docs/measure-BubbleSort.md | 4 +- docs/measure-BucketSort.md | 4 +- docs/measure-CountingSort.md | 4 +- docs/measure-HeapSort.md | 4 +- docs/measure-InsertionSort.md | 12 +- docs/measure-MergeSort.md | 4 +- docs/measure-QuickSort.md | 4 +- docs/measure-SelectionSort.md | 4 +- docs/measure-sorting-algorithms.md | 4 +- docs/merry-christmas.md | 4 +- docs/minimize-all-windows.md | 4 +- docs/move-mouse-pointer.md | 4 +- docs/move-vm.md | 2 +- docs/my-profile.md | 19 +- docs/new-branch.md | 10 +- docs/new-dir.md | 10 +- docs/new-email.md | 4 +- docs/new-linux-vm.md | 2 +- docs/new-qrcode.md | 57 +- docs/new-reboot-task.md | 137 +++ docs/new-script.md | 10 +- docs/new-shortcut.md | 6 +- docs/new-ssh-key.md | 73 ++ docs/new-symlink.md | 32 +- docs/new-tag.md | 6 +- docs/new-user.md | 13 +- docs/new-windows-vm.md | 2 +- docs/on-desktop-login.md | 4 +- docs/open-URL.md | 10 +- docs/open-apps-folder.md | 4 +- docs/open-auto-start-folder.md | 4 +- docs/open-bing-maps.md | 4 +- docs/open-booking-com.md | 4 +- docs/open-c-drive.md | 4 +- docs/open-calculator.md | 4 +- docs/open-chrome.md | 4 +- docs/open-clock.md | 4 +- docs/open-cortana.md | 4 +- docs/open-d-drive.md | 4 +- docs/open-dashboards.md | 17 +- docs/open-deep-l-translator.md | 4 +- docs/open-default-browser.md | 4 +- docs/open-desktop-folder.md | 4 +- docs/open-documents-folder.md | 4 +- docs/open-downloads-folder.md | 4 +- docs/open-dropbox-folder.md | 4 +- docs/open-duck-duck-go.md | 4 +- docs/open-e-drive.md | 4 +- docs/open-edge.md | 4 +- docs/open-egg-timer.md | 4 +- docs/open-email-client.md | 4 +- docs/open-f-drive.md | 4 +- docs/open-file-explorer.md | 4 +- docs/open-fire-place.md | 4 +- docs/open-firefox.md | 4 +- docs/open-flight-radar.md | 4 +- docs/open-g-drive.md | 4 +- docs/open-git-extensions.md | 2 +- docs/open-google-books.md | 4 +- docs/open-google-calendar.md | 4 +- docs/open-google-contacts.md | 4 +- docs/open-google-docs.md | 4 +- docs/open-google-earth.md | 4 +- docs/open-google-mail.md | 4 +- docs/open-google-maps.md | 4 +- docs/open-google-news.md | 4 +- docs/open-google-photos.md | 4 +- docs/open-google-play.md | 4 +- docs/open-google-search.md | 4 +- docs/open-google-stadia.md | 4 +- docs/open-google-translate.md | 4 +- docs/open-home-folder.md | 4 +- docs/open-internet-archive.md | 4 +- docs/open-jitsi-meet.md | 4 +- docs/open-m-drive.md | 4 +- docs/open-magnifier.md | 4 +- docs/open-microsoft-paint.md | 4 +- docs/open-microsoft-solitaire.md | 4 +- docs/open-microsoft-store.md | 4 +- docs/open-microsoft-teams.md | 4 +- docs/open-music-folder.md | 4 +- docs/open-netflix.md | 4 +- docs/open-notepad.md | 4 +- docs/open-obs-studio.md | 2 +- docs/open-office-365.md | 4 +- docs/open-one-drive-folder.md | 4 +- docs/open-outlook.md | 2 +- docs/open-paint-three-d.md | 4 +- docs/open-pictures-folder.md | 4 +- docs/open-rdp.md | 4 +- docs/open-recycle-bin-folder.md | 4 +- docs/open-remote-desktop.md | 4 +- docs/open-repos-folder.md | 4 +- docs/open-screen-clip.md | 4 +- docs/open-screen-sketch.md | 4 +- docs/open-skype.md | 4 +- docs/open-snipping-tool.md | 4 +- docs/open-speed-test.md | 4 +- docs/open-spotify.md | 4 +- docs/open-stack-overflow.md | 4 +- docs/open-start-page.md | 4 +- docs/open-street-map.md | 4 +- docs/open-task-manager.md | 4 +- docs/open-temporary-folder.md | 2 +- docs/open-three-d-viewer.md | 4 +- docs/open-thunderbird.md | 2 +- docs/open-videos-folders.md | 4 +- docs/open-visual-studio.md | 2 +- docs/open-voice-recorder.md | 4 +- docs/open-vpn-settings.md | 4 +- docs/open-windows-defender.md | 4 +- docs/open-windows-terminal.md | 4 +- docs/open-xing.md | 4 +- docs/pick-commit.md | 6 +- docs/ping-host.md | 93 +- docs/ping-internet.md | 99 ++ docs/ping-local-devices.md | 84 ++ docs/ping-weather.md | 4 +- docs/play-bee-sound.md | 4 +- docs/play-beep-sound.md | 4 +- docs/play-big-ben.md | 4 +- docs/play-cat-sound.md | 4 +- docs/play-chess.md | 1263 ++++++++++++++++++++ docs/play-cow-sound.md | 4 +- docs/play-dog-sound.md | 4 +- docs/play-donkey-sound.md | 4 +- docs/play-elephant-sound.md | 4 +- docs/play-elk-sound.md | 4 +- docs/play-files.md | 4 +- docs/play-frog-sound.md | 4 +- docs/play-goat-sound.md | 4 +- docs/play-gorilla-sound.md | 4 +- docs/play-happy-birthday.md | 4 +- docs/play-horse-sound.md | 4 +- docs/play-imperial-march.md | 4 +- docs/play-jingle-bells.md | 4 +- docs/play-lion-sound.md | 4 +- docs/play-m3u.md | 4 +- docs/play-mission-impossible.md | 4 +- docs/play-mp3.md | 4 +- docs/play-parrot-sound.md | 4 +- docs/play-pig-sound.md | 4 +- docs/play-pong.md | 2 +- docs/play-rattlesnake-sound.md | 4 +- docs/play-rick.md | 4 +- docs/play-snake.md | 4 +- docs/play-super-mario.md | 4 +- docs/play-system-sounds.md | 2 +- docs/play-tetris-melody.md | 4 +- docs/play-vulture-sound.md | 4 +- docs/play-wolf-sound.md | 4 +- docs/poweroff.md | 4 +- docs/print-image.md | 4 +- docs/publish-to-ipfs.md | 6 +- docs/pull-repo.md | 10 +- docs/pull-repos.md | 8 +- docs/query-smart-data.md | 6 +- docs/reboot-fritzbox.md | 4 +- docs/reboot.md | 4 +- docs/remember.md | 10 +- docs/remind-me.md | 4 +- docs/remove-dir-tree.md | 4 +- docs/remove-empty-dirs.md | 6 +- docs/remove-old-dirs.md | 6 +- docs/remove-print-jobs.md | 6 +- docs/remove-tag.md | 6 +- docs/remove-user.md | 10 +- docs/remove-vm.md | 2 +- docs/replace-in-files.md | 27 +- docs/restart-network-adapters.md | 6 +- docs/roll-a-dice.md | 4 +- docs/save-credentials.md | 28 +- docs/save-screenshot.md | 10 +- docs/scan-folder.md | 94 ++ docs/scan-network.md | 2 +- docs/scan-ports.md | 4 +- docs/search-filename.md | 4 +- docs/search-files.md | 6 +- docs/search-repo.md | 94 ++ docs/send-email.md | 6 +- docs/send-tcp.md | 6 +- docs/send-udp.md | 10 +- docs/set-timer.md | 6 +- docs/set-volume.md | 4 +- docs/set-wallpaper.md | 6 +- docs/show-lightnings.md | 4 +- docs/show-notification-motivation-quote.md | 2 +- docs/show-notification.md | 18 +- docs/show-traffic.md | 4 +- docs/simulate-presence.md | 6 +- docs/smart-data2csv.md | 4 +- docs/speak-arabic.md | 4 +- docs/speak-checklist.md | 4 +- docs/speak-countdown.md | 4 +- docs/speak-croatian.md | 4 +- docs/speak-danish.md | 4 +- docs/speak-dutch.md | 4 +- docs/speak-english.md | 4 +- docs/speak-epub.md | 4 +- docs/speak-esperanto.md | 4 +- docs/speak-file.md | 4 +- docs/speak-finnish.md | 4 +- docs/speak-french.md | 4 +- docs/speak-german.md | 4 +- docs/speak-greek.md | 4 +- docs/speak-hebrew.md | 4 +- docs/speak-hindi.md | 4 +- docs/speak-italian.md | 4 +- docs/speak-japanese.md | 4 +- docs/speak-korean.md | 4 +- docs/speak-latin.md | 4 +- docs/speak-mandarin.md | 4 +- docs/speak-norwegian.md | 4 +- docs/speak-polish.md | 4 +- docs/speak-portuguese.md | 4 +- docs/speak-russian.md | 4 +- docs/speak-spanish.md | 4 +- docs/speak-swedish.md | 4 +- docs/speak-test.md | 2 +- docs/speak-text.md | 4 +- docs/speak-thai.md | 4 +- docs/speak-turkish.md | 4 +- docs/speak-ukrainian.md | 4 +- docs/spell-word.md | 4 +- docs/start-ipfs-server.md | 6 +- docs/suspend.md | 4 +- docs/switch-branch.md | 10 +- docs/switch-shelly1.md | 28 +- docs/switch-tabs.md | 4 +- docs/sync-folder.md | 6 +- docs/sync-repo.md | 34 +- docs/tell-joke.md | 4 +- docs/tell-new-year.md | 4 +- docs/tell-quote.md | 4 +- docs/toggle-caps-lock.md | 4 +- docs/toggle-num-lock.md | 4 +- docs/toggle-scroll-lock.md | 4 +- docs/translate-file.md | 4 +- docs/translate-files.md | 4 +- docs/translate-text.md | 4 +- docs/turn-volume-down.md | 4 +- docs/turn-volume-fully-up.md | 4 +- docs/turn-volume-off.md | 4 +- docs/turn-volume-on.md | 4 +- docs/turn-volume-up.md | 4 +- docs/uninstall-all-apps.md | 4 +- docs/uninstall-bloatware.md | 6 +- docs/update-powershell-profile.md | 10 +- docs/upgrade-ubuntu.md | 6 +- docs/upload-file.md | 6 +- docs/upload-to-dropbox.md | 4 +- docs/wake-up-host.md | 123 ++ docs/watch-commits.md | 4 +- docs/watch-file.md | 2 +- docs/watch-news.md | 85 +- docs/watch-ping.md | 138 +++ docs/weather-report.md | 4 +- docs/weather.md | 4 +- docs/what-is.md | 11 +- docs/windefender.md | 4 +- docs/write-animated.md | 4 +- docs/write-ascii-image.md | 2 +- docs/write-big.md | 4 +- docs/write-blue.md | 4 +- docs/write-braille.md | 4 +- docs/write-centered.md | 4 +- docs/write-changelog.md | 4 +- docs/write-chart.md | 2 +- docs/write-clock.md | 4 +- docs/write-code.md | 4 +- docs/write-credits.md | 79 ++ docs/write-date.md | 8 +- docs/write-fractal.md | 2 +- docs/write-green.md | 4 +- docs/write-hands-off.md | 70 ++ docs/write-headline.md | 23 +- docs/write-help.md | 67 ++ docs/write-in-emojis.md | 4 +- docs/write-joke.md | 4 +- docs/write-location.md | 65 + docs/write-lowercase.md | 4 +- docs/write-marquee.md | 4 +- docs/write-matrix.md | 2 +- docs/write-moon.md | 4 +- docs/write-morse-code.md | 4 +- docs/write-motd.md | 4 +- docs/write-pi.md | 120 ++ docs/write-qr-code.md | 4 +- docs/write-quote.md | 4 +- docs/write-red.md | 4 +- docs/write-rot13.md | 4 +- docs/write-shit.md | 4 +- docs/write-sine-curves.md | 4 +- docs/write-time.md | 8 +- docs/write-typewriter.md | 4 +- docs/write-uppercase.md | 12 +- docs/write-vertical.md | 4 +- scripts/cd-nextcloud.ps1 | 0 scripts/install-gitlab.ps1 | 0 scripts/install-powershell.ps1 | 9 +- scripts/list-local-ip.ps1 | 0 scripts/list-old-branches.ps1 | 0 scripts/new-reboot-task.ps1 | 0 scripts/play-chess.ps1 | 0 scripts/scan-folder.ps1 | 0 scripts/watch-ping.ps1 | 0 scripts/write-hands-off.ps1 | 0 scripts/write-location.ps1 | 0 636 files changed, 5289 insertions(+), 2027 deletions(-) create mode 100644 docs/cd-jenkins.md create mode 100644 docs/cd-nextcloud.md create mode 100644 docs/check-motherboard.md create mode 100644 docs/enter-host.md create mode 100644 docs/hello-world.md create mode 100644 docs/install-gitlab.md create mode 100644 docs/list-internet-ip.md create mode 100644 docs/list-local-ip.md create mode 100644 docs/list-old-branches.md create mode 100644 docs/list-ssh-key.md create mode 100644 docs/new-reboot-task.md create mode 100644 docs/new-ssh-key.md create mode 100644 docs/ping-internet.md create mode 100644 docs/ping-local-devices.md create mode 100644 docs/play-chess.md create mode 100644 docs/scan-folder.md create mode 100644 docs/search-repo.md create mode 100644 docs/wake-up-host.md create mode 100644 docs/watch-ping.md create mode 100644 docs/write-credits.md create mode 100644 docs/write-hands-off.md create mode 100644 docs/write-help.md create mode 100644 docs/write-location.md create mode 100644 docs/write-pi.md mode change 100644 => 100755 scripts/cd-nextcloud.ps1 mode change 100644 => 100755 scripts/install-gitlab.ps1 mode change 100644 => 100755 scripts/list-local-ip.ps1 mode change 100644 => 100755 scripts/list-old-branches.ps1 mode change 100644 => 100755 scripts/new-reboot-task.ps1 mode change 100644 => 100755 scripts/play-chess.ps1 mode change 100644 => 100755 scripts/scan-folder.ps1 mode change 100644 => 100755 scripts/watch-ping.ps1 mode change 100644 => 100755 scripts/write-hands-off.ps1 mode change 100644 => 100755 scripts/write-location.ps1 diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index df9c6ddb1..e6542459c 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -6,7 +6,7 @@ This PowerShell script adds firewall rules for the given executable. Administrat Parameters ---------- ```powershell -PS> ./add-firewall-rules.ps1 [[-PathToExecutables] ] [[-Direction] ] [[-FirewallProfile] ] [] +/home/markus/Repos/PowerShell/scripts/add-firewall-rules.ps1 [[-PathToExecutables] ] [[-Direction] ] [[-FirewallProfile] ] [] -PathToExecutables Specifies the path to the executables. @@ -113,4 +113,4 @@ try { ``` -*(generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/alert.md b/docs/alert.md index 2978bbf14..7dac26b67 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -6,7 +6,7 @@ This PowerShell script handles and escalates the given alert message. Parameters ---------- ```powershell -PS> ./alert.ps1 [[-Message] ] [] +/home/markus/Repos/PowerShell/scripts/alert.ps1 [[-Message] ] [] -Message Specifies the alert message @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of alert.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of alert.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/build-repo.md b/docs/build-repo.md index 734f15721..b92f567d2 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -6,7 +6,7 @@ This PowerShell script builds a Git repository by supporting build systems such Parameters ---------- ```powershell -PS> ./build-repo.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/build-repo.ps1 [[-path] ] [] -path Specifies the path to the Git repository (default is current working directory) @@ -28,7 +28,7 @@ Example PS> ./build-repo.ps1 C:\Repos\ninja ⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results... ... -✔️ Built 📂ninja repository in 47 sec. +✅ Built 📂ninja repository in 47 sec. ``` @@ -54,7 +54,7 @@ Script Content PS> ./build-repo.ps1 C:\Repos\ninja ⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results... ... - ✔️ Built 📂ninja repository in 47 sec. + ✅ Built 📂ninja repository in 47 sec. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -188,7 +188,7 @@ try { $repoDirName = (Get-Item "$path").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Built 📂$repoDirName repository in $elapsed sec." + "✅ Built 📂$repoDirName repository in $elapsed sec." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -196,4 +196,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/build-repos.md b/docs/build-repos.md index 06f47ae52..235a37b5a 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -6,7 +6,7 @@ This PowerShell script builds all Git repositories in a folder. Parameters ---------- ```powershell -PS> ./build-repos.ps1 [[-ParentDir] ] [] +/home/markus/Repos/PowerShell/scripts/build-repos.ps1 [[-ParentDir] ] [] -ParentDir Specifies the path to the parent folder @@ -74,7 +74,7 @@ try { } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ built $FolderCount Git repositories at 📂$ParentDirName in $Elapsed sec" + "✅ Built $FolderCount Git repositories at 📂$ParentDirName in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -82,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index 0db2c1e1c..c205fa8f3 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's autostart fol Parameters ---------- ```powershell -PS> ./cd-autostart.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-autostart.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -47,12 +47,12 @@ Script Content #> try { - $Path = Resolve-Path "$HOME/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" - if (-not(Test-Path "$Path" -pathType container)) { - throw "Autostart folder at 📂$Path doesn't exist (yet)" + $path = Resolve-Path "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" + if (-not(Test-Path "$path" -pathType container)) { + throw "Autostart folder at 📂$path doesn't exist (yet)" } - Set-Location "$Path" - "📂$Path" + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index d3c087f1b..e07dd95b0 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the crash dumps director Parameters ---------- ```powershell -PS> ./cd-crashdumps.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-crashdumps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-crashdumps.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-crashdumps.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index e7b6887dd..f0d129655 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's desktop folde Parameters ---------- ```powershell -PS> ./cd-desktop.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-desktop.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,20 +48,20 @@ Script Content try { if ($IsLinux) { - $Path = Resolve-Path "~/Desktop" + $path = Resolve-Path "~/Desktop" } else { - $Path = [Environment]::GetFolderPath('DesktopDirectory') + $path = [Environment]::GetFolderPath('DesktopDirectory') } - if (Test-Path "$Path" -pathType container) { - Set-Location "$Path" - "📂$Path" + if (Test-Path "$path" -pathType container) { + Set-Location "$path" + "📂$path" exit 0 # success } - throw "User's desktop folder at 📂$Path doesn't exist (yet)" + throw "User's desktop folder at 📂$path doesn't exist (yet)" } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index 40fbd7001..77a653775 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the documents folder. Parameters ---------- ```powershell -PS> ./cd-docs.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-docs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,15 +48,15 @@ Script Content try { if ($IsLinux) { - $Path = Resolve-Path "$HOME/Documents" + $path = Resolve-Path "~/Documents" } else { - $Path = [Environment]::GetFolderPath('MyDocuments') + $path = [Environment]::GetFolderPath('MyDocuments') } - if (-not(Test-Path "$Path" -pathType container)) { - throw "Documents folder at 📂$Path doesn't exist (yet)" + if (-not(Test-Path "$path" -pathType container)) { + throw "Documents folder at 📂$path doesn't exist (yet)" } - Set-Location "$Path" - "📂$Path" + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index 1f0d76aa5..4b3ccbcd1 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's downloads fol Parameters ---------- ```powershell -PS> ./cd-downloads.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-downloads.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,20 +48,20 @@ Script Content try { if ($IsLinux) { - $Path = Resolve-Path "~/Downloads" + $path = Resolve-Path "~/Downloads" } else { - $Path = (New-Object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path + $path = (New-Object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path } - if (Test-Path "$Path" -pathType container) { - Set-Location "$Path" - "📂$Path" + if (Test-Path "$path" -pathType container) { + Set-Location "$path" + "📂$path" exit 0 # success } - throw "User's downloads folder at 📂$Path doesn't exist (yet)" + throw "User's downloads folder at 📂$path doesn't exist (yet)" } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index edd26b709..4183498c0 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's Dropbox folde Parameters ---------- ```powershell -PS> ./cd-dropbox.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-dropbox.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -47,17 +47,15 @@ Script Content #> try { - $Path = Resolve-Path "$HOME/Dropbox" - if (-not(Test-Path "$Path" -pathType container)) { - throw "Dropbox folder at 📂$Path doesn't exist (yet)" - } - Set-Location "$Path" - "📂$Path" + $path = Resolve-Path "~/Dropbox" + if (-not(Test-Path "$path" -pathType container)) { throw "No Dropbox folder at 📂$path - is Dropbox installed?" } + Set-Location "$path" + "📂$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index e96a1d729..660c0588f 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the /etc directory. Parameters ---------- ```powershell -PS> ./cd-etc.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-etc.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,15 +48,15 @@ Script Content try { if ($IsLinx) { - $Path = "/etc" + $path = "/etc" } else { - $Path = Resolve-Path "$env:WINDIR\System32\drivers\etc" + $path = Resolve-Path "$env:WINDIR\System32\drivers\etc" } - if (-not(Test-Path "$Path" -pathType container)) { - throw "/etc directory at 📂$Path doesn't exist (yet)" + if (-not(Test-Path "$path" -pathType container)) { + throw "/etc directory at 📂$path doesn't exist (yet)" } - Set-Location "$Path" - "📂$Path" + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-etc.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-etc.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index 506862368..6bd45a567 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the fonts folder. Parameters ---------- ```powershell -PS> ./cd-fonts.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-fonts.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -47,12 +47,12 @@ Script Content #> try { - $Path = [Environment]::GetFolderPath('Fonts') - if (-not(Test-Path "$Path" -pathType container)) { - throw "Fonts folder at 📂$Path doesn't exist (yet)" + $path = [Environment]::GetFolderPath('Fonts') + if (-not(Test-Path "$path" -pathType container)) { + throw "Fonts folder at 📂$path doesn't exist (yet)" } - Set-Location "$Path" - "📂$Path" + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-fonts.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-fonts.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-home.md b/docs/cd-home.md index 426e71772..e9a3abad5 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's home director Parameters ---------- ```powershell -PS> ./cd-home.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-home.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -16,7 +16,7 @@ PS> ./cd-home.ps1 [] Example ------- ```powershell -PS> ./cd-home +PS> ./cd-home.ps1 📂C:\Users\Markus ``` @@ -38,7 +38,7 @@ Script Content .DESCRIPTION This PowerShell script changes the working directory to the user's home directory. .EXAMPLE - PS> ./cd-home + PS> ./cd-home.ps1 📂C:\Users\Markus .LINK https://github.com/fleschutz/PowerShell @@ -47,17 +47,15 @@ Script Content #> try { - $Path = Resolve-Path -Path "~" - if (Test-Path "$Path" -pathType container) { - Set-Location "$Path" - "📂$Path" - exit 0 # success - } - throw "User's home folder at 📂$Path doesn't exist (yet)" + $path = Resolve-Path "~" + if (-not(Test-Path "$path" -pathType container)) { throw "Home folder at $path doesn't exist (yet)" } + Set-Location "$path" + "📂$path" + exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md new file mode 100644 index 000000000..9d53170ff --- /dev/null +++ b/docs/cd-jenkins.md @@ -0,0 +1,66 @@ +Script: *cd-jenkins.ps1* +======================== + +This PowerShell script changes the working directory to the Jenkins home directory. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/cd-jenkins.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./cd-jenkins +📂C:\Users\Markus\.jenkins + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Changes to the Jenkins home directory +.DESCRIPTION + This PowerShell script changes the working directory to the Jenkins home directory. +.EXAMPLE + PS> ./cd-jenkins + 📂C:\Users\Markus\.jenkins +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + if (Test-Path "~/.jenkins" -pathType container) { + $path = "~/.jenkins" + } elseif (Test-Path "/var/snap/jenkins" -pathType container) { + $path = "/var/snap/jenkins" + } else { + throw "No Jenkins home directory found - is Jenkins installed?" + } + Set-Location "$path" + "📂$path" + exit 0 # success +} catch { + "⚠️ Error: $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of cd-jenkins.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index e8ee89719..f11a4d821 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -38,9 +38,9 @@ function GetLogsDir { } try { - $Path = GetLogsDir - Set-Location "$Path" - "📂$Path" + $path = GetLogsDir + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -48,4 +48,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-logs.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-logs.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-music.md b/docs/cd-music.md index 38ff28812..60f626d55 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's music folder. Parameters ---------- ```powershell -PS> ./cd-music.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-music.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,20 +48,20 @@ Script Content try { if ($IsLinux) { - $Path = Resolve-Path "~/Music" + $path = Resolve-Path "~/Music" } else { - $Path = [Environment]::GetFolderPath('MyMusic') + $path = [Environment]::GetFolderPath('MyMusic') } - if (Test-Path "$Path" -pathType container) { - Set-Location "$Path" - "📂$Path" + if (Test-Path "$path" -pathType container) { + Set-Location "$path" + "📂$path" exit 0 # success } - throw "User's music folder at 📂$Path doesn't exist (yet)" + throw "User's music folder at 📂$path doesn't exist (yet)" } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md new file mode 100644 index 000000000..6d81e83d3 --- /dev/null +++ b/docs/cd-nextcloud.md @@ -0,0 +1,61 @@ +Script: *cd-nextcloud.ps1* +======================== + +This PowerShell script changes the working directory to the user's NextCloud folder. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/cd-nextcloud.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./cd-nextcloud +📂C:\Users\Markus\NextCloud + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Sets the working directory to the user's NextCloud folder +.DESCRIPTION + This PowerShell script changes the working directory to the user's NextCloud folder. +.EXAMPLE + PS> ./cd-nextcloud + 📂C:\Users\Markus\NextCloud +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + $path = Resolve-Path "~/NextCloud" + if (-not(Test-Path "$path" -pathType container)) { throw "No NextCloud folder at 📂$path - is NextCloud installed?" } + Set-Location "$path" + "📂$path" + exit 0 # success +} catch { + "⚠️ Error: $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of cd-nextcloud.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index 6a2958cac..67439f997 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's OneDrive fold Parameters ---------- ```powershell -PS> ./cd-onedrive.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-onedrive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -47,17 +47,15 @@ Script Content #> try { - $Path = Resolve-Path "$HOME/OneDrive" - if (-not(Test-Path "$Path" -pathType container)) { - throw "OneDrive folder at 📂$Path doesn't exist (yet)" - } - Set-Location "$Path" - "📂$Path" + $path = Resolve-Path "~/OneDrive" + if (-not(Test-Path "$path" -pathType container)) { throw "No OneDrive folder at 📂$path - is OneDrive installed?" } + Set-Location "$path" + "📂$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index df81b1700..52ddd83b9 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's pictures fold Parameters ---------- ```powershell -PS> ./cd-pics.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-pics.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,13 +48,13 @@ Script Content try { if ($IsLinux) { - $Path = Resolve-Path "$HOME/Pictures" + $path = Resolve-Path "~/Pictures" } else { - $Path = [Environment]::GetFolderPath('MyPictures') + $path = [Environment]::GetFolderPath('MyPictures') } - if (-not(Test-Path "$Path" -pathType container)) { throw "Pictures folder at 📂$Path doesn't exist (yet)" } - Set-Location "$Path" - "📂$Path" + if (-not(Test-Path "$path" -pathType container)) { throw "Pictures folder at 📂$path doesn't exist (yet)" } + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-public.md b/docs/cd-public.md index d56e1bd01..375a96d29 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the Public folder. Parameters ---------- ```powershell -PS> ./cd-public.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-public.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,13 +48,13 @@ Script Content try { if ($IsLinux) { - $Path = Resolve-Path "~/Public" + $path = Resolve-Path "~/Public" } else { - $Path = Resolve-Path "~/../Public" + $path = Resolve-Path "~/../Public" } - if (-not(Test-Path "$Path" -pathType container)) { throw "Public folder at 📂$Path doesn't exist (yet)" } - Set-Location "$Path" - "📂$Path" + if (-not(Test-Path "$path" -pathType container)) { throw "Public folder at 📂$path doesn't exist (yet)" } + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-public.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-public.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index 794a7e003..12fe07cb7 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the 'recent' folder. Parameters ---------- ```powershell -PS> ./cd-recent.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-recent.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-recent.ps1 as of 08/15/2024 09:50:44)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-recent.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index 1f2a8cd78..7e3483132 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -39,7 +39,7 @@ function GetCurrentUserSID { [CmdletBinding()] param() try { if ($IsLinux) { - $path = "$HOME/.local/share/Trash/" + $path = "~/.local/share/Trash/" } else { $path = "C:\`$Recycle.Bin\$(GetCurrentUserSID)" } @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index 39ba9f0ad..3bd9fd93b 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -1,15 +1,15 @@ Script: *cd-repo.ps1* ======================== -This PowerShell script changes the working directory to a local Git repository. +This PowerShell script changes the working directory to the given local Git repository. Parameters ---------- ```powershell -PS> ./cd-repo.ps1 [[-folderName] ] [] +/home/markus/Repos/PowerShell/scripts/cd-repo.ps1 [[-folderName] ] [] -folderName - Specifies the Git repository's folder name + Specifies the folder name of the Git repository Required? false Position? 1 @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./cd-repo.ps1 rust -📂C:\Repos\rust - current branch is: ## main ... origin/main +📂C:\Repos\rust · on branch: ## main ... origin/main ``` @@ -43,14 +43,14 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to a repository + Sets the working directory to a repo .DESCRIPTION - This PowerShell script changes the working directory to a local Git repository. + This PowerShell script changes the working directory to the given local Git repository. .PARAMETER folderName - Specifies the Git repository's folder name + Specifies the folder name of the Git repository .EXAMPLE PS> ./cd-repo.ps1 rust - 📂C:\Repos\rust - current branch is: ## main ... origin/main + 📂C:\Repos\rust · on branch: ## main ... origin/main .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -62,25 +62,26 @@ param([string]$folderName = "") try { if ("$folderName" -eq "") { $folderName = Read-Host "Enter the Git repository's folder name" } - if (Test-Path "$HOME/Repos/" -pathType Container) { # try short name - $path = "$HOME/Repos/" - } elseif (Test-Path "$HOME/repos/" -pathType Container) { - $path = "$HOME/repos/" - } elseif (Test-Path "$HOME/Repositories/" -pathType Container) { # try long name - $path = "$HOME/Repositories/" - } elseif (Test-Path "$HOME/source/repos/" -pathType Container) { # try Visual Studio default - $path = "$HOME/source/repos/" - } elseif (Test-Path "/Repos/" -pathType Container) { + if (Test-Path "~/Repos/" -pathType container) { # try short name + $path = "~/Repos/" + } elseif (Test-Path "~/repos/" -pathType container) { + $path = "~/repos/" + } elseif (Test-Path "~/Repositories/" -pathType container) { # try long name + $path = "~/Repositories/" + } elseif (Test-Path "~/source/repos/" -pathType container) { # try Visual Studio default + $path = "~/source/repos/" + } elseif (Test-Path "/Repos/" -pathType container) { $path = "/Repos/" } else { throw "The folder for Git repositories doesn't exist (yet)" } + $path += $folderName + if (-not(Test-Path "$path" -pathType container)) { throw "The path to 📂$path doesn't exist (yet)" } - if (-not(Test-Path "$path" -pathType Container)) { throw "The path to 📂$path doesn't exist (yet)" } $path = Resolve-Path "$path" Set-Location "$path" - Write-Host "📂$path - current branch is: " -noNewline + Write-Host "📂$path · on branch: " -noNewline & git status --short --branch --show-stash exit 0 # success } catch { @@ -89,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-repo.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-repo.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index 4d5849670..39c430047 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's Git repositor Parameters ---------- ```powershell -PS> ./cd-repos.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-repos.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -49,14 +49,14 @@ Script Content #> try { - if (Test-Path "$HOME/Repos/" -pathType Container) { # try short name - $path = "$HOME/Repos/" - } elseif (Test-Path "$HOME/repos/" -pathType Container) { - $path = "$HOME/repos/" - } elseif (Test-Path "$HOME/Repositories/" -pathType Container) { # try long name - $path = "$HOME/Repositories/" - } elseif (Test-Path "$HOME/source/repos/" -pathType Container) { # try Visual Studio default - $path = "$HOME/source/repos/" + if (Test-Path "~/Repos/" -pathType Container) { # try short name + $path = "~/Repos/" + } elseif (Test-Path "~/repos/" -pathType Container) { + $path = "~/repos/" + } elseif (Test-Path "~/Repositories/" -pathType Container) { # try long name + $path = "~/Repositories/" + } elseif (Test-Path "~/source/repos/" -pathType Container) { # try Visual Studio default + $path = "~/source/repos/" } elseif (Test-Path "/Repos/" -pathType Container) { $path = "/Repos/" } else { @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-root.md b/docs/cd-root.md index 392a2f5dd..1036db876 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -6,7 +6,7 @@ This PowerShell script changes the current working directory to the root directo Parameters ---------- ```powershell -PS> ./cd-root.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-root.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -47,9 +47,9 @@ Script Content #> try { - if ($IsLinux) { $Path = "/" } else { $Path = "C:\" } - Set-Location "$Path" - "📂$Path" + if ($IsLinux) { $path = "/" } else { $path = "C:\" } + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1 as of 11/08/2024 12:34:45)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index cdf4c656e..acba7e746 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -33,21 +33,21 @@ Script Content function GetScreenshotsFolder { if ($IsLinux) { - $Path = "$HOME/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" } + $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 (Test-Path "$Path\Screenshots" -pathType container) { $Path = "$Path\Screenshots" } + $path = [Environment]::GetFolderPath('MyPictures') + 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" } } - return $Path + return $path } try { - $Path = GetScreenshotsFolder - Set-Location "$Path" - "📂$Path" + $path = GetScreenshotsFolder + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -55,4 +55,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-screenshots.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-screenshots.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index 9ec3cc67c..01032d4e7 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the PowerShell scripts f Parameters ---------- ```powershell -PS> ./cd-scripts.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-scripts.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index 5ff52bdb5..98d6d8616 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -1,12 +1,12 @@ Script: *cd-ssh.ps1* ======================== -This PowerShell script changes the working directory to the user's SSH folder. +This PowerShell script changes the working directory to the user's secure shell (SSH) folder. Parameters ---------- ```powershell -PS> ./cd-ssh.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-ssh.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -16,7 +16,7 @@ PS> ./cd-ssh.ps1 [] Example ------- ```powershell -PS> ./cd-ssh +PS> ./cd-ssh.ps1 📂C:\Users\Markus\.ssh ``` @@ -34,11 +34,11 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to the user's SSH folder + Sets the working directory to the SSH folder .DESCRIPTION - This PowerShell script changes the working directory to the user's SSH folder. + This PowerShell script changes the working directory to the user's secure shell (SSH) folder. .EXAMPLE - PS> ./cd-ssh + PS> ./cd-ssh.ps1 📂C:\Users\Markus\.ssh .LINK https://github.com/fleschutz/PowerShell @@ -47,15 +47,16 @@ Script Content #> try { - $Path = Resolve-Path "~/.ssh" - if (-not(Test-Path "$Path" -pathType container)) { throw "User's SSH folder at 📂$Path doesn't exist (yet)" } - Set-Location "$Path" + $path = "~/.ssh" + if (-not(Test-Path "$path" -pathType container)) { throw "Your secure shell (SSH) folder at 📂$path doesn't exist (yet)" } + $path = Resolve-Path "$path" + Set-Location "$path" "📂$Path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index 530192ef9..96ed4c958 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -39,10 +39,10 @@ function GetTempDir { } try { - $Path = GetTempDir - if (-not(Test-Path "$Path" -pathType container)) { throw "Temporary folder at 📂$Path doesn't exist (yet)" } - Set-Location "$Path" - "📂$Path" + $path = GetTempDir + if (-not(Test-Path "$path" -pathType container)) { throw "Temporary folder at 📂$path doesn't exist (yet)" } + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -50,4 +50,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-temp.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-temp.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index b13f45c2a..cf2c26737 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the templates folder. Parameters ---------- ```powershell -PS> ./cd-templates.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-templates.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,13 +48,13 @@ Script Content try { if ($IsLinux) { - $Path = Resolve-Path "~/Templates" + $path = Resolve-Path "~/Templates" } else { - $Path = [Environment]::GetFolderPath('Templates') + $path = [Environment]::GetFolderPath('Templates') } - if (-not(Test-Path "$Path" -pathType container)) { throw "Templates folder at 📂$Path doesn't exist (yet)" } - Set-Location "$Path" - "📂$Path" + if (-not(Test-Path "$path" -pathType container)) { throw "Templates folder at 📂$path doesn't exist (yet)" } + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-templates.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-templates.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index d3b1657e1..5eb1dafc4 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -39,7 +39,7 @@ function GetCurrentUserSID { [CmdletBinding()] param() try { if ($IsLinux) { - $path = "$HOME/.local/share/Trash/" + $path = "~/.local/share/Trash/" } else { $path = "C:\`$Recycle.Bin\$(GetCurrentUserSID)" } @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-trash.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-trash.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/cd-up.md b/docs/cd-up.md index 3d980bbe2..5d16455e3 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to one directory level up. Parameters ---------- ```powershell -PS> ./cd-up.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-up.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -47,10 +47,10 @@ Script Content #> try { - $Path = Resolve-Path ".." - if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" } - Set-Location "$Path" - "📂$Path" + $path = Resolve-Path ".." + if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" } + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index 792e90ef4..70045c9b2 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to two directory level up. Parameters ---------- ```powershell -PS> ./cd-up2.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-up2.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -47,10 +47,10 @@ Script Content #> try { - $Path = Resolve-Path "../.." - if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" } - Set-Location "$Path" - "📂$Path" + $path = Resolve-Path "../.." + if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" } + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index 7a36791f4..318ebdb55 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to three directory levels u Parameters ---------- ```powershell -PS> ./cd-up3.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-up3.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -47,10 +47,10 @@ Script Content #> try { - $Path = Resolve-Path "../../.." - if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" } - Set-Location "$Path" - "📂$Path" + $path = Resolve-Path "../../.." + if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" } + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index eda5a3b21..7772d9ab7 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to four directory levels up Parameters ---------- ```powershell -PS> ./cd-up4.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-up4.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -47,10 +47,10 @@ Script Content #> try { - $Path = Resolve-Path "../../../.." - if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" } - Set-Location "$Path" - "📂$Path" + $path = Resolve-Path "../../../.." + if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" } + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/cd-users.md b/docs/cd-users.md index 664f2a59e..4d00347b6 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the users directory. Parameters ---------- ```powershell -PS> ./cd-users.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-users.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -47,10 +47,10 @@ Script Content #> try { - $Path = Resolve-Path "$HOME/.." - if (-not(Test-Path "$Path" -pathType container)) { throw "Users directory at 📂$Path doesn't exist (yet)" } - Set-Location "$Path" - "📂$Path" + $path = Resolve-Path "~/.." + if (-not(Test-Path "$path" -pathType container)) { throw "Users directory at 📂$path doesn't exist (yet)" } + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-users.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-users.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index c24c42696..16fe17e7e 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's videos folder Parameters ---------- ```powershell -PS> ./cd-videos.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-videos.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,13 +48,13 @@ Script Content try { if ($IsLinux) { - $Path = Resolve-Path "$HOME/Videos" + $path = Resolve-Path "~/Videos" } else { - $Path = [Environment]::GetFolderPath('MyVideos') + $path = [Environment]::GetFolderPath('MyVideos') } - if (-not(Test-Path "$Path" -pathType container)) { throw "Videos folder at 📂$Path doesn't exist (yet)" } - Set-Location "$Path" - "📂$Path" + if (-not(Test-Path "$path" -pathType container)) { throw "Videos folder at 📂$path doesn't exist (yet)" } + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index 48ec307c0..93a372a8e 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the Windows directory. Parameters ---------- ```powershell -PS> ./cd-windows.ps1 [] +/home/markus/Repos/PowerShell/scripts/cd-windows.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -47,10 +47,10 @@ Script Content #> try { - $Path = Resolve-Path "$env:WINDIR" - if (-not(Test-Path "$Path" -pathType container)) { throw "Windows directory at 📂$Path doesn't exist" } - Set-Location "$Path" - "📂$Path" + $path = Resolve-Path "$env:WINDIR" + if (-not(Test-Path "$path" -pathType container)) { throw "Windows directory at 📂$path doesn't exist" } + Set-Location "$path" + "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-windows.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-windows.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index 64c558aa8..ba5ed93dc 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -6,7 +6,7 @@ This PowerShell script downloads a random photo from Unsplash and sets it as des Parameters ---------- ```powershell -PS> ./change-wallpaper.ps1 [[-Category] ] [] +/home/markus/Repos/PowerShell/scripts/change-wallpaper.ps1 [[-Category] ] [] -Category Specifies the photo category (beach, city, ...) @@ -79,4 +79,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of change-wallpaper.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of change-wallpaper.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-admin.md b/docs/check-admin.md index 8d5cf476d..f308c7d7e 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -6,7 +6,7 @@ This PowerShell script checks if the user has administrator rights. Parameters ---------- ```powershell -PS> ./check-admin.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-admin.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-admin.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-admin.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-apps.md b/docs/check-apps.md index 735a3b3de..bd9dfdf63 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -24,50 +24,47 @@ Script Content This PowerShell script queries the installed applications and prints it. .EXAMPLE PS> ./check-apps.ps1 - ✅ 119 Windows apps installed, 11 upgrades available + ⚠️ 150 Win apps installed, 72 upgrades available, 5 crash dump(s) found .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -function GetCrashDumps { +function CountCrashDumps { [string]$path = Resolve-Path -Path "~\AppData\Local\CrashDumps" - $count = 0 $files = (Get-ChildItem -path "$path\*.dmp" -attributes !Directory) - foreach($file in $files) { $count++ } - return $count + return $files.Count } try { - $statusIcon = "✅" - $statusMsg = "" + $status = "✅" if ($IsLinux) { Write-Progress "Querying installed applications..." $numPkgs = (apt list --installed 2>/dev/null).Count $numSnaps = (snap list).Count - 1 Write-Progress -completed "Done." - $statusMsg += "$numPkgs Debian packages, $numSnaps snaps installed" + $reply = "$numPkgs Debian packages, $numSnaps snaps installed" } else { Write-Progress "Querying installed apps..." - $Apps = Get-AppxPackage + $apps = Get-AppxPackage Write-Progress -completed "Done." - $statusMsg = "$($Apps.Count) Win apps installed" + $reply = "$($apps.Count) Win apps installed" [int]$numNonOk = 0 - foreach($App in $Apps) { if ($App.Status -ne "Ok") { $numNonOk++ } } - if ($numNonOk -gt 0) { $statusIcon = "⚠️"; $statusMsg += ", $numNonOk non-ok" } + foreach($app in $apps) { if ($app.Status -ne "Ok") { $numNonOk++ } } + if ($numNonOk -gt 0) { $status = "⚠️"; $reply += ", $numNonOk non-ok" } [int]$numErrors = (Get-AppxLastError) - if ($numErrors -gt 0) { $statusIcon = "⚠️"; $statusMsg += ", $numErrors errors" } + if ($numErrors -gt 0) { $status = "⚠️"; $reply += ", $numErrors errors" } $numUpdates = (winget upgrade --include-unknown).Count - 5 - $statusMsg += ", $numUpdates upgrades available" + $reply += ", $numUpdates upgrades available" - $crashDumps = GetCrashDumps - if ($crashDumps -ne 0) { $statusIcon = "⚠️"; $statusMsg += " - found $crashDumps crash dump(s)" } + $numCrashDumps = CountCrashDumps + if ($numCrashDumps -ne 0) { $status = "⚠️"; $reply += ", $numCrashDumps crash dump(s) found" } } - Write-Host "$statusIcon $statusMsg" + Write-Host "$status $reply" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -75,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-apps.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-apps.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-bios.md b/docs/check-bios.md index 1fe0a3c00..568bb1f04 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -6,7 +6,7 @@ This PowerShell script queries the BIOS status and prints it. Parameters ---------- ```powershell -PS> ./check-bios.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-bios.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./check-bios.ps1 -✅ BIOS model P62 v02.67 by HP (version HPQOEM - 5, S/N CZC1080B01) +✅ BIOS model P62 v02.67, version HPQOEM - 5, S/N CZC1080B01 by HP ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script queries the BIOS status and prints it. .EXAMPLE PS> ./check-bios.ps1 - ✅ BIOS model P62 v02.67 by HP (version HPQOEM - 5, S/N CZC1080B01) + ✅ BIOS model P62 v02.67, version HPQOEM - 5, S/N CZC1080B01 by HP .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,27 +48,26 @@ Script Content try { if ($IsLinux) { - Write-Progress "Querying BIOS details..." $model = (sudo dmidecode -s system-product-name) - if ("$model" -ne "") { - $version = (sudo dmidecode -s bios-version) - $releaseDate = (sudo dmidecode -s bios-release-date) - $manufacturer = (sudo dmidecode -s system-manufacturer) - Write-Host "✅ BIOS model $model by $manufacturer (version $version of $releaseDate)" - } - Write-Progress -completed "." + if ("$model" -eq "") { exit 0 } # no information + Write-Progress "Querying BIOS details..." + $version = (sudo dmidecode -s bios-version) + $releaseDate = (sudo dmidecode -s bios-release-date) + $manufacturer = (sudo dmidecode -s system-manufacturer) + Write-Progress -completed "Done." } else { - $BIOS = Get-CimInstance -ClassName Win32_BIOS - $model = $BIOS.Name.Trim() - $version = $BIOS.Version.Trim() - $serialNumber = $BIOS.SerialNumber.Trim() - $manufacturer = $BIOS.Manufacturer.Trim() - if ($serialNumber -eq "To be filled by O.E.M.") { - Write-Host "✅ BIOS model $model by $manufacturer (version $version)" - } else { - Write-Host "✅ BIOS model $model by $manufacturer (version $version, S/N $serialNumber)" - } + $details = Get-CimInstance -ClassName Win32_BIOS + $model = $details.Name.Trim() + $version = $details.Version.Trim() + $serial = $details.SerialNumber.Trim() + $manufacturer = $details.Manufacturer.Trim() } + if ($model -eq "To be filled by O.E.M.") { $model = "N/A" } + if ($version -eq "To be filled by O.E.M.") { $version = "N/A" } + if ("$releaseDate" -ne "") { $releaseDate = " of $releaseDate" } + if ("$serial" -eq "") { $serial = "N/A" } + if ($serial -eq "To be filled by O.E.M.") { $serial = "N/A" } + Write-Host "✅ BIOS model $model, version $($version)$($releaseDate), S/N $serial by $manufacturer" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -76,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-bios.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-bios.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index 5476bc506..2ff1b6ac7 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -74,26 +74,31 @@ try { $details = Get-WmiObject -Class Win32_Processor $cpuName = $details.Name.trim() $arch = "$arch, " - $deviceID = "$($details.DeviceID), " - $speed = "$($details.MaxClockSpeed)MHz, " - $socket = "$($details.SocketDesignation) socket" + $deviceID = ", $($details.DeviceID)" + $speed = ", $($details.MaxClockSpeed)MHz" + $socket = ", $($details.SocketDesignation) socket" } $cores = [System.Environment]::ProcessorCount $celsius = GetCPUTemperature if ($celsius -eq 99999.9) { - $temp = "no temp" + $temp = "" + } elseif ($celsius -gt 80) { + $temp = ", $($celsius)°C TOO HOT" + $status = "⚠️" } elseif ($celsius -gt 50) { - $temp = "$($celsius)°C HOT" + $temp = ", $($celsius)°C HOT" $status = "⚠️" } elseif ($celsius -lt 0) { - $temp = "$($celsius)°C COLD" + $temp = ", $($celsius)°C TOO COLD" $status = "⚠️" + } elseif ($celsius -lt 30) { + $temp = ", $($celsius)°C cool" } else { - $temp = "$($celsius)°C OK" + $temp = ", $($celsius)°C" } Write-Progress -completed "Done." - Write-Host "$status $cpuName ($($arch)$cores cores, $($deviceID)$($speed)$($socket)) - $temp" + Write-Host "$status $cpuName ($($arch)$cores cores$($temp)$($deviceID)$($speed)$($socket))" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -101,4 +106,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-cpu.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-cpu.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index afbf224b4..f28068449 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -6,7 +6,7 @@ This PowerShell script asks for credentials and checks them against saved ones ( Parameters ---------- ```powershell -PS> ./check-credentials.ps1 [[-TargetFile] ] [] +/home/markus/Repos/PowerShell/scripts/check-credentials.ps1 [[-TargetFile] ] [] -TargetFile Specifies the target file ("$HOME\my.credentials" by default) @@ -27,7 +27,7 @@ Example ```powershell PS> ./check-credentials.ps1 Enter username and password, please. - ✔️ Your credentials are correct. + ✅ Your credentials are correct. ``` @@ -52,7 +52,7 @@ Script Content .EXAMPLE PS> ./check-credentials.ps1 Enter username and password, please. - ✔️ Your credentials are correct. + ✅ Your credentials are correct. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -74,7 +74,7 @@ try { $pw2 = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($credsFromFile.Password)) if ($pw1 -cne $pw2) { throw "Sorry, your password is wrong." } - "✔️ Your credentials are correct." + "✅ Your credentials are correct." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -82,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-credentials.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-credentials.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-day.md b/docs/check-day.md index e1ad04622..70e9fe461 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -6,7 +6,7 @@ This PowerShell script determines and speaks the current day by text-to-speech ( Parameters ---------- ```powershell -PS> ./check-day.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-day.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./check-day -✔️ It's Sunday. +✅ It's Sunday. ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script determines and speaks the current day by text-to-speech (TTS). .EXAMPLE PS> ./check-day - ✔️ It's Sunday. + ✅ It's Sunday. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-day.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-day.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-dns.md b/docs/check-dns.md index 7ad6dae73..b3f8e2ed2 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -1,12 +1,12 @@ Script: *check-dns.ps1* ======================== -This PowerShell script measures the DNS resolution speed (using 100 popular domains) and prints it. +This PowerShell script measures the DNS resolution speed using 100 internet domains and prints it. Parameters ---------- ```powershell -PS> ./check-dns.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-dns.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./check-dns.ps1 -✅ DNS resolves 56.5 domains per second +✅ Internet DNS lookups in 33.6ms ``` @@ -36,10 +36,10 @@ Script Content .SYNOPSIS Check the DNS resolution .DESCRIPTION - This PowerShell script measures the DNS resolution speed (using 100 popular domains) and prints it. + This PowerShell script measures the DNS resolution speed using 100 internet domains and prints it. .EXAMPLE PS> ./check-dns.ps1 - ✅ DNS resolves 56.5 domains per second + ✅ Internet DNS lookups in 33.6ms .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,24 +47,21 @@ Script Content #> try { - #Write-Progress "Measuring DNS resolution..." $table = Import-CSV "$PSScriptRoot/../data/popular-domains.csv" - $numRows = $table.Length $stopWatch = [system.diagnostics.stopwatch]::startNew() if ($IsLinux) { foreach($row in $table){$nop=dig $row.Domain +short} } else { + Clear-DnsClientCache foreach($row in $table){$nop=Resolve-DNSName $row.Domain} } - [float]$elapsed = $stopWatch.Elapsed.TotalSeconds - - #Write-Progress -completed "Measuring DNS resolution..." - $average = [math]::round($numRows / $elapsed, 1) - if ($average -lt 10.0) { - Write-Host "⚠️ DNS resolves $average domains per second only" + [float]$elapsed = $stopWatch.Elapsed.TotalSeconds * 1000.0 + $speed = [math]::round($elapsed / $table.Length, 1) + if ($speed -gt 100.0) { + Write-Host "⚠️ Internet DNS lookups take $($speed)ms!" } else { - Write-Host "✅ DNS resolves $average domains per second" + Write-Host "✅ Internet DNS lookups in $($speed)ms" } exit 0 # success } catch { @@ -73,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-dns.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-dns.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index 681ef641a..7d18083d1 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -6,7 +6,7 @@ This PowerShell script checks the given drive for free space left (10 GB by defa Parameters ---------- ```powershell -PS> ./check-drive-space.ps1 [[-driveName] ] [[-minLevel] ] [] +/home/markus/Repos/PowerShell/scripts/check-drive-space.ps1 [[-driveName] ] [[-minLevel] ] [] -driveName Specifies the drive name to check (e.g. "C") @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-drives.md b/docs/check-drives.md index 849c757c5..b56f75d4b 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -6,14 +6,14 @@ This PowerShell script queries the free space of all drives and prints it. Parameters ---------- ```powershell -PS> ./check-drives.ps1 [[-minLevel] ] [] +/home/markus/Repos/PowerShell/scripts/check-drives.ps1 [[-minLevel] ] [] -minLevel - Specifies the minimum warning level (10GB by default) + Specifies the minimum warning level (5GB by default) Required? false Position? 1 - Default value 10 + Default value 5368709120 Accept pipeline input? false Accept wildcard characters? false @@ -26,8 +26,7 @@ Example ------- ```powershell PS> ./check-drives.ps1 -✅ Drive C: uses 49% of 1TB - 512GB free -✅ Drive D: uses 84% of 4TB - 641GB free +✅ Drive C: uses 489GB (53%) of 930GB, D: uses 3TB (87%) of 4TB, E: is empty ``` @@ -48,51 +47,54 @@ Script Content .DESCRIPTION This PowerShell script queries the free space of all drives and prints it. .PARAMETER minLevel - Specifies the minimum warning level (10GB by default) + Specifies the minimum warning level (5GB by default) .EXAMPLE PS> ./check-drives.ps1 - ✅ Drive C: uses 49% of 1TB - 512GB free - ✅ Drive D: uses 84% of 4TB - 641GB free + ✅ Drive C: uses 489GB (53%) of 930GB, D: uses 3TB (87%) of 4TB, E: is empty .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([int64]$minLevel = 10) # 10 GB minimum +param([int64]$minLevel = 5GB) -function Bytes2String { param([int64]$number) - if ($number -lt 1KB) { return "$number bytes" } - if ($number -lt 1MB) { return '{0:N0}KB' -f ($number / 1KB) } - if ($number -lt 1GB) { return '{0:N0}MB' -f ($number / 1MB) } - if ($number -lt 1TB) { return '{0:N0}GB' -f ($number / 1GB) } - if ($number -lt 1PB) { return '{0:N0}TB' -f ($number / 1TB) } - return '{0:N0}GB' -f ($number / 1PB) +function Bytes2String { param([int64]$bytes) + if ($bytes -lt 1KB) { return "$bytes bytes" } + if ($bytes -lt 1MB) { return '{0:N0}KB' -f ($bytes / 1KB) } + if ($bytes -lt 1GB) { return '{0:N0}MB' -f ($bytes / 1MB) } + if ($bytes -lt 1TB) { return '{0:N0}GB' -f ($bytes / 1GB) } + if ($bytes -lt 1PB) { return '{0:N0}TB' -f ($bytes / 1TB) } + return '{0:N0}GB' -f ($bytes / 1PB) } try { Write-Progress "Querying drives..." $drives = Get-PSDrive -PSProvider FileSystem - $minLevel *= 1GB - Write-Progress -completed " " + Write-Progress -completed "Done." + $status = "✅" + $reply = "Drive " foreach($drive in $drives) { $details = (Get-PSDrive $drive.Name) if ($IsLinux) { $name = $drive.Name } else { $name = $drive.Name + ":" } [int64]$free = $details.Free [int64]$used = $details.Used [int64]$total = ($used + $free) - + if ($reply -ne "Drive ") { $reply += ", " } if ($total -eq 0) { - Write-Host "✅ Drive $name is empty" + $reply += "$name is empty" } elseif ($free -eq 0) { - Write-Host "⚠️ Drive $name with $(Bytes2String $total) is full" + $status = "⚠️" + $reply += "$name with ($(Bytes2String $total)) is FULL" } elseif ($free -lt $minLevel) { - Write-Host "⚠️ Drive $name with $(Bytes2String $total) is nearly full, $(Bytes2String $free) free" + $status = "⚠️" + $reply += "$name nearly full ($(Bytes2String $free) of $(Bytes2String $total) left)" } else { [int64]$percent = ($used * 100) / $total - Write-Host "✅ Drive $name uses $percent% of $(Bytes2String $total) - $(Bytes2String $free) free" + $reply += "$name uses $(Bytes2String $used) ($percent%) of $(Bytes2String $total)" } } + Write-Host "$status $reply" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -100,4 +102,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index 98023cc46..f0af1d084 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-dusk.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-dusk.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index efb8f0eb3..89d2c74cc 100644 --- a/docs/check-easter-sunday.md +++ b/docs/check-easter-sunday.md @@ -6,7 +6,7 @@ This PowerShell script checks the time until Easter Sunday and replies by text-t Parameters ---------- ```powershell -PS> ./check-easter-sunday.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-easter-sunday.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-easter-sunday.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-easter-sunday.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index 5a589aef9..8591f5518 100644 --- a/docs/check-file-system.md +++ b/docs/check-file-system.md @@ -6,7 +6,7 @@ This PowerShell script checks the file system of a drive. It needs admin rights. Parameters ---------- ```powershell -PS> ./check-file-system.ps1 [[-Drive] ] [] +/home/markus/Repos/PowerShell/scripts/check-file-system.ps1 [[-Drive] ] [] -Drive Specifies the drive to check @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./check-file-system C -✔️ file system on drive C is clean +✅ file system on drive C is clean ``` @@ -50,7 +50,7 @@ Script Content Specifies the drive to check .EXAMPLE PS> ./check-file-system C - ✔️ file system on drive C is clean + ✅ file system on drive C is clean .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-file.md b/docs/check-file.md index c10648371..b1510fe3a 100644 --- a/docs/check-file.md +++ b/docs/check-file.md @@ -6,7 +6,7 @@ This PowerShell script determines and prints the file type of the given file. Parameters ---------- ```powershell -PS> ./check-file.ps1 [[-Path] ] [] +/home/markus/Repos/PowerShell/scripts/check-file.ps1 [[-Path] ] [] -Path Specifies the path to the file @@ -170,4 +170,4 @@ function Check-Header { param( $path ) Check-Header $Path ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-file.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-file.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index 6c55694fd..7c82f71b5 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -6,7 +6,7 @@ This PowerShell script queries the status of the firewall and prints it. Parameters ---------- ```powershell -PS> ./check-firewall.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-firewall.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-firewall.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-firewall.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index 96ba8a14e..17f71e61f 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-gpu.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-gpu.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index 757b75953..804a9c4ad 100644 --- a/docs/check-hardware.md +++ b/docs/check-hardware.md @@ -6,7 +6,7 @@ This PowerShell script queries the hardware details of the local computer and pr Parameters ---------- ```powershell -PS> ./check-hardware.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-hardware.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,6 +56,7 @@ Write-Host "`n H A R D W A R E" -foregroundColor green & "$PSScriptRoot/check-cpu.ps1" & "$PSScriptRoot/check-ram.ps1" & "$PSScriptRoot/check-gpu.ps1" +& "$PSScriptRoot/check-motherboard.ps1" & "$PSScriptRoot/check-bios.ps1" & "$PSScriptRoot/check-smart-devices.ps1" & "$PSScriptRoot/check-power.ps1" @@ -63,4 +64,4 @@ Write-Host "`n H A R D W A R E" -foregroundColor green exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-hardware.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-hardware.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-health.md b/docs/check-health.md index 9b217e0a5..cfbcc72f4 100644 --- a/docs/check-health.md +++ b/docs/check-health.md @@ -6,7 +6,7 @@ This PowerShell script queries the system health of the local computer (hardware Parameters ---------- ```powershell -PS> ./check-health.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-health.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index 83581be2f..8d604bc70 100644 --- a/docs/check-independence-day.md +++ b/docs/check-independence-day.md @@ -6,7 +6,7 @@ This PowerShell script checks the time until Indepence Day and replies by text-t Parameters ---------- ```powershell -PS> ./check-independence-day.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-independence-day.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-independence-day.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-independence-day.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index 4997abcde..3c09f599f 100644 --- a/docs/check-ipv4-address.md +++ b/docs/check-ipv4-address.md @@ -6,7 +6,7 @@ This PowerShell script checks the given IPv4 address for validity. Parameters ---------- ```powershell -PS> ./check-ipv4-address.ps1 [[-Address] ] [] +/home/markus/Repos/PowerShell/scripts/check-ipv4-address.ps1 [[-Address] ] [] -Address Specifies the IPv4 address to check @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./check-ipv4-address 192.168.11.22 -✔️ IPv4 192.168.11.22 is valid +✅ IPv4 192.168.11.22 is valid ``` @@ -50,7 +50,7 @@ Script Content Specifies the IPv4 address to check .EXAMPLE PS> ./check-ipv4-address 192.168.11.22 - ✔️ IPv4 192.168.11.22 is valid + ✅ IPv4 192.168.11.22 is valid .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -72,7 +72,7 @@ try { if ($Address -eq "" ) { $Address = read-host "Enter IPv4 address to validate" } if (IsIPv4AddressValid $Address) { - "✔️ IPv4 $Address is valid" + "✅ IPv4 $Address is valid" exit 0 # success } else { write-warning "Invalid IPv4 address: $Address" @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index 50d036edd..0a2ce7637 100644 --- a/docs/check-ipv6-address.md +++ b/docs/check-ipv6-address.md @@ -6,7 +6,7 @@ This PowerShell script checks the given IPv6 address for validity Parameters ---------- ```powershell -PS> ./check-ipv6-address.ps1 [[-Address] ] [] +/home/markus/Repos/PowerShell/scripts/check-ipv6-address.ps1 [[-Address] ] [] -Address Specifies the IPv6 address to check @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./check-ipv6-address fe80::200:5aee:feaa:20a2 -✔️ IPv6 fe80::200:5aee:feaa:20a2 is valid +✅ IPv6 fe80::200:5aee:feaa:20a2 is valid ``` @@ -50,7 +50,7 @@ Script Content Specifies the IPv6 address to check .EXAMPLE PS> ./check-ipv6-address fe80::200:5aee:feaa:20a2 - ✔️ IPv6 fe80::200:5aee:feaa:20a2 is valid + ✅ IPv6 fe80::200:5aee:feaa:20a2 is valid .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -86,7 +86,7 @@ try { $Address = read-host "Enter IPv6 address to validate" } if (IsIPv6AddressValid $Address) { - "✔️ IPv6 $Address is valid" + "✅ IPv6 $Address is valid" exit 0 # success } else { write-warning "Invalid IPv6 address: $Address" @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index 201e6c9f1..4770fa46f 100644 --- a/docs/check-iss-position.md +++ b/docs/check-iss-position.md @@ -6,7 +6,7 @@ This PowerShell script queries the position of the International Space Station ( Parameters ---------- ```powershell -PS> ./check-iss-position.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-iss-position.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-iss-position.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-iss-position.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index 6aa49f373..feb5c9aec 100644 --- a/docs/check-mac-address.md +++ b/docs/check-mac-address.md @@ -7,7 +7,7 @@ Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000 Parameters ---------- ```powershell -PS> ./check-mac-address.ps1 [[-MAC] ] [] +/home/markus/Repos/PowerShell/scripts/check-mac-address.ps1 [[-MAC] ] [] -MAC Specifies the MAC address to check @@ -27,7 +27,7 @@ Example ------- ```powershell PS> ./check-mac-address 11:22:33:44:55:66 -✔️ MAC address 11:22:33:44:55:66 is valid +✅ MAC address 11:22:33:44:55:66 is valid ``` @@ -52,7 +52,7 @@ Script Content Specifies the MAC address to check .EXAMPLE PS> ./check-mac-address 11:22:33:44:55:66 - ✔️ MAC address 11:22:33:44:55:66 is valid + ✅ MAC address 11:22:33:44:55:66 is valid .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -75,7 +75,7 @@ try { $MAC = read-host "Enter MAC address to validate" } if (IsMACAddressValid $MAC) { - "✔️ MAC address $MAC is valid" + "✅ MAC address $MAC is valid" exit 0 # success } else { write-warning "Invalid MAC address: $MAC" @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index 5c5f4ee46..ec772b0db 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-midnight.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-midnight.ps1 as of 11/08/2024 12:34:46)* diff --git a/docs/check-month.md b/docs/check-month.md index d50f1eccf..761fe9164 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -6,7 +6,7 @@ This PowerShell script determines and speaks the current month name by text-to-s Parameters ---------- ```powershell -PS> ./check-month.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-month.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./check-month -✔️ It's December. +✅ It's December. ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script determines and speaks the current month name by text-to-speech (TTS). .EXAMPLE PS> ./check-month - ✔️ It's December. + ✅ It's December. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-month.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-month.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index 2125b099a..abf6609fd 100644 --- a/docs/check-moon-phase.md +++ b/docs/check-moon-phase.md @@ -6,7 +6,7 @@ This PowerShell script determines the Moon phase and answers by text-to-speech ( Parameters ---------- ```powershell -PS> ./check-moon-phase.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-moon-phase.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-moon-phase.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-moon-phase.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md new file mode 100644 index 000000000..5ac5bb7e0 --- /dev/null +++ b/docs/check-motherboard.md @@ -0,0 +1,62 @@ +Script: *check-motherboard.ps1* +======================== + +This PowerShell script lists the motherboard details. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/check-motherboard.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./check-motherboard.ps1 +✅ Motherboard Calla_LC by LN + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Lists motherboard details +.DESCRIPTION + This PowerShell script lists the motherboard details. +.EXAMPLE + PS> ./check-motherboard.ps1 + ✅ Motherboard Calla_LC by LN +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + if ($IsLinux) { + } else { + $details = Get-WmiObject -Class Win32_BaseBoard + "✅ Motherboard $($details.Product) by $($details.Manufacturer)" + } + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of check-motherboard.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-network.md b/docs/check-network.md index bfe1b072e..481b09ef4 100644 --- a/docs/check-network.md +++ b/docs/check-network.md @@ -6,7 +6,7 @@ This PowerShell script queries the network details of the local computer and pri Parameters ---------- ```powershell -PS> ./check-network.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-network.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -21,7 +21,7 @@ PS> ./check-network.ps1 N E T W O R K -✅ Online with 30ms latency (16ms..56ms, 0/10 loss) +✅ Firewall enabled ... ``` @@ -39,14 +39,14 @@ Script Content ```powershell <# .SYNOPSIS - Checks the network details + Checks the network .DESCRIPTION This PowerShell script queries the network details of the local computer and prints it. .EXAMPLE PS> ./check-network.ps1 - N E T W O R K - ✅ Online with 30ms latency (16ms..56ms, 0/10 loss) + N E T W O R K + ✅ Firewall enabled ... .LINK https://github.com/fleschutz/PowerShell @@ -55,13 +55,16 @@ Script Content #> Write-Host "`n N E T W O R K" -foregroundColor green -& "$PSScriptRoot/list-ip-addresses.ps1" -& "$PSScriptRoot/ping-remote-hosts.ps1" & "$PSScriptRoot/check-firewall" -& "$PSScriptRoot/check-dns.ps1" +& "$PSScriptRoot/list-local-ip.ps1" +& "$PSScriptRoot/list-network-shares.ps1" +& "$PSScriptRoot/ping-local-devices.ps1" & "$PSScriptRoot/check-vpn.ps1" -& "$PSScriptRoot/ping-local-hosts.ps1" +& "$PSScriptRoot/list-internet-ip.ps1" +& "$PSScriptRoot/ping-internet.ps1" +& "$PSScriptRoot/check-dns.ps1" +& "$PSScriptRoot/list-ssh-key.ps1" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-network.ps1 as of 08/15/2024 09:50:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-network.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-noon.md b/docs/check-noon.md index bf4d61211..ee25536c2 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-noon.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-noon.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-os.md b/docs/check-os.md index 021c8bc90..41f65f8db 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -6,7 +6,7 @@ This PowerShell script queries the operating system status and prints it. Parameters ---------- ```powershell -PS> ./check-os.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-os.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./check-os.ps1 -✅ Windows 10 Pro 64-bit (v10.0.19045, since 6/22/2021, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P) +✅ Windows 10 Pro 64-bit since 6/22/2021 (v10.0.19045, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script queries the operating system status and prints it. .EXAMPLE PS> ./check-os.ps1 - ✅ Windows 10 Pro 64-bit (v10.0.19045, since 6/22/2021, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P) + ✅ Windows 10 Pro 64-bit since 6/22/2021 (v10.0.19045, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -64,7 +64,7 @@ try { $InstallDate = $OSDetails.InstallDate $ProductKey = (Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" -Name BackupProductKeyDefault).BackupProductKeyDefault - Write-Host "✅ $Name $Arch (v$Version, since $($InstallDate.ToShortDateString()), S/N $Serial, P/K $ProductKey)" + Write-Host "✅ $Name $Arch since $($InstallDate.ToShortDateString()) (v$Version, S/N $Serial, P/K $ProductKey)" } exit 0 # success } catch { @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-os.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-os.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index a8ca2741a..815d5a5b2 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -6,7 +6,7 @@ This PowerShell script checks the inbox of Outlook for new/unread mails. Parameters ---------- ```powershell -PS> ./check-outlook.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-outlook.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-outlook.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-outlook.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-password.md b/docs/check-password.md index 610be986f..6939e0177 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -6,7 +6,7 @@ This PowerShell script checks the security status of the given password by havei Parameters ---------- ```powershell -PS> ./check-password.ps1 [[-password] ] [] +/home/markus/Repos/PowerShell/scripts/check-password.ps1 [[-password] ] [] -password @@ -94,4 +94,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-password.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-password.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index 8edb38f0e..9d340714d 100644 --- a/docs/check-pending-reboot.md +++ b/docs/check-pending-reboot.md @@ -41,50 +41,48 @@ function Test-RegistryValue { param([parameter(Mandatory=$true)][ValidateNotNull } try { - $Reason = "" + $reply = "✅ No pending reboot" if ($IsLinux) { if (Test-Path "/var/run/reboot-required") { - $Reason = "found: /var/run/reboot-required" - Write-Host "⚠️ Pending reboot ($Reason)" + $reply = "⚠️ Pending reboot (found: /var/run/reboot-required)" } } else { + $reason = "" if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired") { - $Reason += ", ...\Auto Update\RebootRequired" + $reason += ", ...\Auto Update\RebootRequired" } if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\PostRebootReporting") { - $Reason += ", ...\Auto Update\PostRebootReporting" + $reason += ", ...\Auto Update\PostRebootReporting" } if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending") { - $Reason += ", ...\Component Based Servicing\RebootPending" + $reason += ", ...\Component Based Servicing\RebootPending" } if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\ServerManager\CurrentRebootAttempts") { - $Reason += ", ...\ServerManager\CurrentRebootAttempts" + $reason += ", ...\ServerManager\CurrentRebootAttempts" } if (Test-RegistryValue -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing" -Value "RebootInProgress") { - $Reason += ", ...\CurrentVersion\Component Based Servicing with 'RebootInProgress'" + $reason += ", ...\CurrentVersion\Component Based Servicing with 'RebootInProgress'" } if (Test-RegistryValue -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing" -Value "PackagesPending") { - $Reason += ", '...\CurrentVersion\Component Based Servicing' with 'PackagesPending'" + $reason += ", '...\CurrentVersion\Component Based Servicing' with 'PackagesPending'" } if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager" -Value "PendingFileRenameOperations2") { - $Reason += ", '...\CurrentControlSet\Control\Session Manager' with 'PendingFileRenameOperations2'" + $reason += ", '...\CurrentControlSet\Control\Session Manager' with 'PendingFileRenameOperations2'" } if (Test-RegistryValue -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" -Value "DVDRebootSignal") { - $Reason += ", '...\Windows\CurrentVersion\RunOnce' with 'DVDRebootSignal'" + $reason += ", '...\Windows\CurrentVersion\RunOnce' with 'DVDRebootSignal'" } if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon" -Value "JoinDomain") { - $Reason += ", '...\CurrentControlSet\Services\Netlogon' with 'JoinDomain'" + $reason += ", '...\CurrentControlSet\Services\Netlogon' with 'JoinDomain'" } if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon" -Value "AvoidSpnSet") { - $Reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'" + $reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'" } - if ($Reason -ne "") { - Write-Host "⚠️ Pending reboot (registry got $($Reason.substring(2)))" + if ($reason -ne "") { + $reply = "⚠️ Pending reboot (registry got $($reason.substring(2)))" } } - if ($Reason -eq "") { - Write-Host "✅ No pending reboot" - } + Write-Host $reply exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -92,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-pending-reboot.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-pending-reboot.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index 698e94c45..7dd694422 100644 --- a/docs/check-pnp-devices.md +++ b/docs/check-pnp-devices.md @@ -6,7 +6,7 @@ This PowerShell script checks all Plug'n'PLay devices connected to the local com Parameters ---------- ```powershell -PS> ./check-pnp-devices.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-pnp-devices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-pnp-devices.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-pnp-devices.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-power.md b/docs/check-power.md index e3ffc8ee3..fa28787dc 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -6,7 +6,7 @@ This PowerShell script queries the power status and prints it. Parameters ---------- ```powershell -PS> ./check-power.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-power.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./check-power.ps1 -⚠️ Battery at 9% with 54min remaining · power scheme 'HP Optimized' +⚠️ Battery 9% only with 54min remaining (power scheme is 'HP Optimized') ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script queries the power status and prints it. .EXAMPLE PS> ./check-power.ps1 - ⚠️ Battery at 9% with 54min remaining · power scheme 'HP Optimized' + ⚠️ Battery 9% only with 54min remaining (power scheme is 'HP Optimized') .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -54,35 +54,34 @@ try { $details = [System.Windows.Forms.SystemInformation]::PowerStatus [int]$percent = 100 * $details.BatteryLifePercent [int]$remaining = $details.BatteryLifeRemaining / 60 + $powerScheme = (powercfg /getactivescheme) + $powerScheme = $powerScheme -Replace "^(.*) \(","" + $powerScheme = $powerScheme -Replace "\)$","" if ($details.PowerLineStatus -eq "Online") { if ($details.BatteryChargeStatus -eq "NoSystemBattery") { $reply = "✅ AC powered" } elseif ($percent -ge 95) { - $reply = "✅ Battery $percent% full" + $reply = "✅ Battery nearly full ($percent%, power scheme is '$powerScheme')" } else { - $reply = "✅ Battery charging ($percent%)" + $reply = "✅ Battery $percent% and charging (power scheme is '$powerScheme')" } } else { # must be offline if (($remaining -eq 0) -and ($percent -ge 60)) { - $reply = "✅ Battery $percent% full" + $reply = "✅ Battery $percent% full (power scheme is '$powerScheme')" } elseif ($remaining -eq 0) { - $reply = "✅ Battery at $percent%" + $reply = "✅ Battery at $percent% (power scheme is '$powerScheme')" } elseif ($remaining -le 5) { - $reply = "⚠️ Battery at $percent% with ONLY $($remaining)min remaining" + $reply = "⚠️ Battery $percent% ONLY $($remaining)min remaining (power scheme is '$powerScheme')" } elseif ($remaining -le 30) { - $reply = "⚠️ Battery at $percent% with only $($remaining)min remaining" + $reply = "⚠️ Battery $percent% only $($remaining)min remaining (power scheme is '$powerScheme')" } elseif ($percent -lt 10) { - $reply = "⚠️ Battery at $percent% with $($remaining)min remaining" - } elseif ($percent -ge 80) { - $reply = "✅ Battery $percent% full with $($remaining)min remaining" + $reply = "⚠️ Battery $percent% only with $($remaining)min remaining (power scheme is '$powerScheme') " + } elseif ($percent -ge 90) { + $reply = "✅ Battery $percent% full with $($remaining)min remaining (power scheme is '$powerScheme')" } else { - $reply = "✅ Battery at $percent% with $($remaining)min remaining" + $reply = "✅ Battery $percent% with $($remaining)min remaining (power scheme is '$powerScheme') " } } - $powerScheme = (powercfg /getactivescheme) - $powerScheme = $powerScheme -Replace "^(.*) \(","" - $powerScheme = $powerScheme -Replace "\)$","" - $reply += ", power scheme is '$powerScheme'" } Write-Host $reply exit 0 # success @@ -92,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-power.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-power.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index 195836a04..2029e8eb6 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-powershell.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-powershell.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index d178c3238..67df3d97c 100644 --- a/docs/check-ps1-file.md +++ b/docs/check-ps1-file.md @@ -6,7 +6,7 @@ This PowerShell script checks the given PowerShell script file(s) for validity. Parameters ---------- ```powershell -PS> ./check-ps1-file.ps1 [[-filePattern] ] [] +/home/markus/Repos/PowerShell/scripts/check-ps1-file.ps1 [[-filePattern] ] [] -filePattern Specifies the file pattern to the PowerShell file(s) @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./check-ps1-file *.ps1 -✔️ Valid PowerShell in myfile.ps1 +✅ Valid PowerShell in myfile.ps1 ``` @@ -50,7 +50,7 @@ Script Content Specifies the file pattern to the PowerShell file(s) .EXAMPLE PS> ./check-ps1-file *.ps1 - ✔️ Valid PowerShell in myfile.ps1 + ✅ Valid PowerShell in myfile.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -67,7 +67,7 @@ try { $syntaxError = @() [void][System.Management.Automation.Language.Parser]::ParseFile($file, [ref]$null, [ref]$syntaxError) if ("$syntaxError" -ne "") { throw "$syntaxError" } - "✔️ Valid PowerShell in $($file.Name)" + "✅ Valid PowerShell in $($file.Name)" } exit 0 # success } catch { @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-ps1-file.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-ps1-file.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-ram.md b/docs/check-ram.md index 57b2324f7..17873cd80 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-ram.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-ram.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-repo.md b/docs/check-repo.md index a365f1302..38cc1e574 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -6,7 +6,7 @@ This PowerShell script verifies the integrity of a local Git repository and perf Parameters ---------- ```powershell -PS> ./check-repo.ps1 [[-pathToRepo] ] [] +/home/markus/Repos/PowerShell/scripts/check-repo.ps1 [[-pathToRepo] ] [] -pathToRepo Specifies the file path to the local Git repository (current working directory by default) @@ -121,7 +121,7 @@ try { $repoDirName = (Get-Item "$FullPath").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Checked 📂$repoDirName repo in $($elapsed)s." + "✅ Checked 📂$repoDirName repo in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -129,4 +129,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-repo.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-repo.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-repos.md b/docs/check-repos.md index 4624f5c60..aede6e661 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -6,7 +6,7 @@ This PowerShell script verifies the data integrity of all Git repositories in a Parameters ---------- ```powershell -PS> ./check-repos.ps1 [[-parentDir] ] [] +/home/markus/Repos/PowerShell/scripts/check-repos.ps1 [[-parentDir] ] [] -parentDir Specifies the file path to the parent folder @@ -29,7 +29,7 @@ PS> ./check-repos.ps1 C:\Repos ⏳ Checking parent folder 📂C:\Repos... 16 subfolders ⏳ Checking 📂rust repository (1/16)... ... -✔️ Checked all 16 Git repos in 📂C:\Repos in 356s. +✅ Checked all 16 Git repos in 📂C:\Repos in 356s. ``` @@ -56,7 +56,7 @@ Script Content ⏳ Checking parent folder 📂C:\Repos... 16 subfolders ⏳ Checking 📂rust repository (1/16)... ... - ✔️ Checked all 16 Git repos in 📂C:\Repos in 356s. + ✅ Checked all 16 Git repos in 📂C:\Repos in 356s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -83,7 +83,7 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Checked all $numFolders Git repos in 📂$parentDir in $($elapsed)s." + "✅ Checked all $numFolders Git repos in 📂$parentDir in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-repos.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-repos.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-santa.md b/docs/check-santa.md index 9faef17be..1b74cb9d8 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -6,7 +6,7 @@ This PowerShell script checks the time until Saint Nicholas Day and replies by t Parameters ---------- ```powershell -PS> ./check-santa.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-santa.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-santa.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-santa.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index a683d9266..c61bcc4d9 100644 --- a/docs/check-smart-devices.md +++ b/docs/check-smart-devices.md @@ -24,7 +24,7 @@ Script Content This PowerShell script queries the status of the SSD/HDD devices (supporting S.M.A.R.T.) and prints it. .EXAMPLE PS> ./check-smart-devices.ps1 - ✅ 1TB Samsung SSD 970 EVO via NVMe (37°C, 2388 hours, 289x on/off, v2B2QEXE7) - selftest OK + ✅ 1TB Samsung SSD 970 EVO via NVMe (37°C, 2388 hours, 289x on/off, v2B2QEXE7, test passed) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -82,7 +82,10 @@ try { $capacity = "" } if ($details.temperature.current -gt 50) { - $temp = "$($details.temperature.current)°C (!)" + $temp = "$($details.temperature.current)°C TOO HOT" + $status = "⚠️" + } elseif ($details.temperature.current -lt 0) { + $temp = "$($details.temperature.current)°C TOO COLD" $status = "⚠️" } else { $temp = "$($details.temperature.current)°C" @@ -100,13 +103,13 @@ try { $powerOn = "$($details.power_cycle_count)x on/off" } if ($details.smart_status.passed) { - $selftest = "selftest OK" + $selftest = "test passed" } else { - $selftest = "selftest FAILED" + $selftest = "test FAILED" $status = "⚠️" } $firmwareVersion = $details.firmware_version - Write-Host "$status $capacity$modelName via $protocol ($temp, $hours, $powerOn, v$firmwareVersion) - $selftest" + Write-Host "$status $capacity$modelName via $protocol ($temp, $hours, $powerOn, v$firmwareVersion, $selftest)" } #Write-Progress -completed "Done." exit 0 # success @@ -116,4 +119,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-smart-devices.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-smart-devices.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-software.md b/docs/check-software.md index 094e0baf5..9cf68faab 100644 --- a/docs/check-software.md +++ b/docs/check-software.md @@ -6,7 +6,7 @@ This PowerShell script queries the software status of the local computer and pri Parameters ---------- ```powershell -PS> ./check-software.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-software.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,8 +61,7 @@ Write-Host "`n S O F T W A R E" -foregroundColor green & "$PSScriptRoot/check-powershell.ps1" & "$PSScriptRoot/check-time-zone.ps1" & "$PSScriptRoot/check-swap-space.ps1" -& "$PSScriptRoot/check-pending-reboot.ps1" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-software.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-software.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index d5e8935a0..c4e7288be 100644 --- a/docs/check-subnet-mask.md +++ b/docs/check-subnet-mask.md @@ -6,7 +6,7 @@ This PowerShell script checks the given subnet mask for validity. Parameters ---------- ```powershell -PS> ./check-subnet-mask.ps1 [[-address] ] [] +/home/markus/Repos/PowerShell/scripts/check-subnet-mask.ps1 [[-address] ] [] -address Specifies the subnet mask to check @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./check-subnet-mask.ps1 255.255.255.0 -✔️ subnet mask 255.255.255.0 is valid +✅ subnet mask 255.255.255.0 is valid ``` @@ -50,7 +50,7 @@ Script Content Specifies the subnet mask to check .EXAMPLE PS> ./check-subnet-mask.ps1 255.255.255.0 - ✔️ subnet mask 255.255.255.0 is valid + ✅ subnet mask 255.255.255.0 is valid .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -72,7 +72,7 @@ try { if ($address -eq "" ) { $address = read-host "Enter subnet mask to validate" } if (IsSubNetMaskValid $address) { - "✔️ subnet mask $Address is valid" + "✅ subnet mask $Address is valid" exit 0 # success } else { write-warning "Invalid subnet mask: $address" @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-subnet-mask.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-subnet-mask.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index 5bb4585d5..fb0bc7af3 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -6,7 +6,7 @@ This PowerShell script queries the current status of the swap space and prints i Parameters ---------- ```powershell -PS> ./check-swap-space.ps1 [[-minLevel] ] [] +/home/markus/Repos/PowerShell/scripts/check-swap-space.ps1 [[-minLevel] ] [] -minLevel Specifies the minimum level in MB (10 MB by default) @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./check-swap-space.ps1 -✅ Swap space uses 21% of 1GB - 1005MB free +✅ Swap space uses 1GB (21%) of 5GB ``` @@ -50,7 +50,7 @@ Script Content Specifies the minimum level in MB (10 MB by default) .EXAMPLE PS> ./check-swap-space.ps1 - ✅ Swap space uses 21% of 1GB - 1005MB free + ✅ Swap space uses 1GB (21%) of 5GB .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -91,14 +91,14 @@ try { if ($total -eq 0) { Write-Output "⚠️ No swap space configured" } elseif ($free -eq 0) { - Write-Output "⚠️ Swap space of $(MB2String $total) is full" + Write-Output "⚠️ Swap space with $(MB2String $total) is FULL !!!" } elseif ($free -lt $minLevel) { - Write-Output "⚠️ Swap space has only $(MB2String $free) of $(MB2String $total) free" + Write-Output "⚠️ Swap space has only $(MB2String $free) of $(MB2String $total) left!" } elseif ($used -lt 3) { - Write-Output "✅ Swap space unused - full $(MB2String $free) free" + Write-Output "✅ Swap space has $(MB2String $total) reserved" } else { [int64]$percent = ($used * 100) / $total - Write-Output "✅ Swap space at $percent% of $(MB2String $total) - $(MB2String $free) free" + Write-Output "✅ Swap space uses $(MB2String $used) ($percent%) of $(MB2String $total)" } exit 0 # success } catch { @@ -107,4 +107,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-swap-space.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-swap-space.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index ccbd7d8d1..b40f87999 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -7,7 +7,7 @@ It returns the number of broken symlinks as exit value. Parameters ---------- ```powershell -PS> ./check-symlinks.ps1 [[-Folder] ] [] +/home/markus/Repos/PowerShell/scripts/check-symlinks.ps1 [[-Folder] ] [] -Folder Specifies the path to the folder @@ -28,7 +28,7 @@ Example ```powershell PS> ./check-symlinks C:\Users ⏳ Checking symlinks at 📂C:\Users including subfolders... -✔️ Found 0 broken symlinks at 📂C:\Users in 60 sec +✅ Found 0 broken symlinks at 📂C:\Users in 60 sec ``` @@ -54,7 +54,7 @@ Script Content .EXAMPLE PS> ./check-symlinks C:\Users ⏳ Checking symlinks at 📂C:\Users including subfolders... - ✔️ Found 0 broken symlinks at 📂C:\Users in 60 sec + ✅ Found 0 broken symlinks at 📂C:\Users in 60 sec .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -87,11 +87,11 @@ try { [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds if ($NumTotal -eq 0) { - "✔️ No symlink found at 📂$FullPath in $Elapsed sec" + "✅ No symlink found at 📂$FullPath in $Elapsed sec" } elseif ($NumBroken -eq 1) { - "✔️ Found $NumBroken broken symlink at 📂$FullPath in $Elapsed sec" + "✅ Found $NumBroken broken symlink at 📂$FullPath in $Elapsed sec" } else { - "✔️ Found $NumBroken broken symlinks at 📂$FullPath in $Elapsed sec" + "✅ Found $NumBroken broken symlinks at 📂$FullPath in $Elapsed sec" } exit $NumBroken } catch { @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-symlinks.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-symlinks.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index 879fc4e15..3faede13c 100644 --- a/docs/check-time-zone.md +++ b/docs/check-time-zone.md @@ -6,7 +6,7 @@ This PowerShell script queries the local time zone and prints it. Parameters ---------- ```powershell -PS> ./check-time-zone.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-time-zone.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./check-time-zone.ps1 -✅ 3:27 PM in W. Europe Summer Time (UTC+01:00:00 +1h DST) +✅ 3:27 PM West Europe Summer Time (UTC+01:00:00 +1h DST) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script queries the local time zone and prints it. .EXAMPLE PS> ./check-time-zone.ps1 - ✅ 3:27 PM in W. Europe Summer Time (UTC+01:00:00 +1h DST) + ✅ 3:27 PM West Europe Summer Time (UTC+01:00:00 +1h DST) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -58,7 +58,7 @@ try { $TZName = $TZ.StandardName $DST="" } - Write-Host "✅ $Time in $TZName (UTC+$($offset)$($DST))" + Write-Host "✅ $Time $TZName (UTC+$($offset)$($DST))" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-time-zone.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-time-zone.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index 5ab5f6a6e..cc26c59f3 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -44,6 +44,15 @@ function TimeSpanAsString([TimeSpan]$uptime) } } +function Test-RegistryValue { param([parameter(Mandatory=$true)][ValidateNotNullOrEmpty()]$Path, [parameter(Mandatory=$true)] [ValidateNotNullOrEmpty()]$Value) + try { + Get-ItemProperty -Path $Path -Name $Value -EA Stop + return $true + } catch { + return $false + } +} + try { [system.threading.thread]::currentthread.currentculture = [system.globalization.cultureinfo]"en-US" if ($IsLinux) { @@ -53,7 +62,51 @@ try { $lastBootTime = (Get-CimInstance Win32_OperatingSystem).LastBootUpTime $uptime = New-TimeSpan -Start $lastBootTime -End (Get-Date) } - Write-Host "✅ $(hostname) is up for $(TimeSpanAsString $uptime) since $($lastBootTime.ToShortDateString())" + $status = "✅" + $pending = "" + if ($IsLinux) { + if (Test-Path "/var/run/reboot-required") { + $status = "⚠️" + $pending = "with pending reboot (found /var/run/reboot-required)" + } + } else { + $reason = "" + if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired") { + $reason += ", ...\Auto Update\RebootRequired" + } + if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\PostRebootReporting") { + $reason += ", ...\Auto Update\PostRebootReporting" + } + if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending") { + $reason += ", ...\Component Based Servicing\RebootPending" + } + if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\ServerManager\CurrentRebootAttempts") { + $reason += ", ...\ServerManager\CurrentRebootAttempts" + } + if (Test-RegistryValue -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing" -Value "RebootInProgress") { + $reason += ", ...\CurrentVersion\Component Based Servicing with 'RebootInProgress'" + } + if (Test-RegistryValue -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing" -Value "PackagesPending") { + $reason += ", '...\CurrentVersion\Component Based Servicing' with 'PackagesPending'" + } + if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager" -Value "PendingFileRenameOperations2") { + $reason += ", '...\CurrentControlSet\Control\Session Manager' with 'PendingFileRenameOperations2'" + } + if (Test-RegistryValue -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" -Value "DVDRebootSignal") { + $reason += ", '...\Windows\CurrentVersion\RunOnce' with 'DVDRebootSignal'" + } + if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon" -Value "JoinDomain") { + $reason += ", '...\CurrentControlSet\Services\Netlogon' with 'JoinDomain'" + } + if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon" -Value "AvoidSpnSet") { + $reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'" + } + if ($reason -ne "") { + $status = "⚠️" + $pending = "with pending reboot ($($reason.substring(2)) in registry)" + } + } + Write-Host "$status $(hostname) is up for $(TimeSpanAsString $uptime) since $($lastBootTime.ToShortDateString()) $pending" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -61,4 +114,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-uptime.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-uptime.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index d9a398018..f151b20c7 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -6,7 +6,7 @@ This PowerShell script queries the status of the VPN connection(s) and prints it Parameters ---------- ```powershell -PS> ./check-vpn.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-vpn.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-vpn.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-vpn.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-weather.md b/docs/check-weather.md index 58d8f0d32..010b9d51e 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -6,7 +6,7 @@ This PowerShell script checks the current weather report. Parameters ---------- ```powershell -PS> ./check-weather.ps1 [[-location] ] [] +/home/markus/Repos/PowerShell/scripts/check-weather.ps1 [[-location] ] [] -location Specifies the location to use (determined automatically per default) @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-weather.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-weather.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-week.md b/docs/check-week.md index 874d792c7..df1880216 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -6,7 +6,7 @@ This PowerShell script determines and speaks the current week number by text-to- Parameters ---------- ```powershell -PS> ./check-week.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-week.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-week.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-week.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-wind.md b/docs/check-wind.md index 3acc52672..939b73ee8 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -6,7 +6,7 @@ This PowerShell script determines the current wind conditions and replies by tex Parameters ---------- ```powershell -PS> ./check-wind.ps1 [[-location] ] [] +/home/markus/Repos/PowerShell/scripts/check-wind.ps1 [[-location] ] [] -location Specifies the location to use (determined automatically per default) @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-wind.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-wind.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index d11e64cd9..3f7fb906c 100644 --- a/docs/check-windows-system-files.md +++ b/docs/check-windows-system-files.md @@ -6,7 +6,7 @@ This PowerShell script checks the validity of the Windows system files. It requi Parameters ---------- ```powershell -PS> ./check-windows-system-files.ps1 [] +/home/markus/Repos/PowerShell/scripts/check-windows-system-files.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./check-windows-system-files.ps1 -✔️ checked Windows system files +✅ checked Windows system files ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script checks the validity of the Windows system files. It requires admin rights. .EXAMPLE PS> ./check-windows-system-files.ps1 - ✔️ checked Windows system files + ✅ checked Windows system files .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -52,7 +52,7 @@ try { sfc /verifyOnly if ($lastExitCode -ne "0") { throw "'sfc /verifyOnly' failed" } - "✔️ checked Windows system files" + "✅ checked Windows system files" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-windows-system-files.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-windows-system-files.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index ea9d3193c..ddafc73e0 100644 --- a/docs/check-xml-file.md +++ b/docs/check-xml-file.md @@ -6,7 +6,7 @@ This PowerShell script checks the given XML file for validity. Parameters ---------- ```powershell -PS> ./check-xml-file.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/check-xml-file.ps1 [[-path] ] [] -path Specifies the path to the XML file @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./check-xml-file.ps1 myfile.xml -✔️ Valid XML in 📄myfile.xml +✅ Valid XML in 📄myfile.xml ``` @@ -50,7 +50,7 @@ Script Content Specifies the path to the XML file .EXAMPLE PS> ./check-xml-file.ps1 myfile.xml - ✔️ Valid XML in 📄myfile.xml + ✅ Valid XML in 📄myfile.xml .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -77,7 +77,7 @@ try { if ($script:ErrorCount -gt 0) { throw "Invalid XML" } - "✔️ Valid XML in 📄$path" + "✅ Valid XML in 📄$path" exit 0 # success } catch { "⚠️ $($Error[0]) in 📄$path" @@ -85,4 +85,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-xml-file.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-xml-file.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index 5f62ade81..1094b4651 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -6,7 +6,7 @@ This PowerShell script verifies any XML file (with suffix .xml) in the given dir Parameters ---------- ```powershell -PS> ./check-xml-files.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/check-xml-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (current working dir by default) @@ -27,7 +27,7 @@ Example ```powershell PS> ./check-xml-files.ps1 C:\Windows ... -✔️ Checked 3387 XML files (2462 invalid, 925 valid) within 📂C:\Windows in 116 sec +✅ Checked 3387 XML files (2462 invalid, 925 valid) within 📂C:\Windows in 116 sec ``` @@ -52,7 +52,7 @@ Script Content .EXAMPLE PS> ./check-xml-files.ps1 C:\Windows ... - ✔️ Checked 3387 XML files (2462 invalid, 925 valid) within 📂C:\Windows in 116 sec + ✅ Checked 3387 XML files (2462 invalid, 925 valid) within 📂C:\Windows in 116 sec .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -75,7 +75,7 @@ try { [int]$total = $valid + $invalid [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Checked $total XML files ($invalid invalid, $valid valid) within 📂$path in $elapsed sec" + "✅ Checked $total XML files ($invalid invalid, $valid valid) within 📂$path in $elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-xml-files.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-xml-files.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index ce7f08eeb..82b53f3ab 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -7,7 +7,7 @@ NOTE: To be used with care! This cannot be undone! Parameters ---------- ```powershell -PS> ./clean-repo.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/clean-repo.ps1 [[-path] ] [] -path Specifies the file path to the local Git repository (current working directory by default) @@ -31,7 +31,7 @@ PS> ./clean-repo.ps1 C:\Repos\rust ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Removing untracked files in repository... ⏳ (4/4) Removing untracked files in submodules... -✔️ Cleaned up 📂rust repository in 2s. +✅ Cleaned up 📂rust repo in 2s. ``` @@ -60,7 +60,7 @@ Script Content ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Removing untracked files in repository... ⏳ (4/4) Removing untracked files in submodules... - ✔️ Cleaned up 📂rust repository in 2s. + ✅ Cleaned up 📂rust repo in 2s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -93,7 +93,7 @@ try { if ($lastExitCode -ne "0") { throw "'git clean' in the submodules failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Cleaned up 📂$repoName repository in $($elapsed)s." + "✅ Cleaned up 📂$repoName repo in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clean-repo.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of clean-repo.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index d24b25e1f..25b789e5b 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -6,7 +6,7 @@ This PowerShell script cleans all Git repositories in a folder from untracked fi Parameters ---------- ```powershell -PS> ./clean-repos.ps1 [[-parentDir] ] [] +/home/markus/Repos/PowerShell/scripts/clean-repos.ps1 [[-parentDir] ] [] -parentDir Specifies the path to the parent folder (current working dir by default) @@ -92,7 +92,7 @@ try { if ($lastExitCode -ne "0") { throw "'git clean -xfd -f' in submodules failed with exit code $lastExitCode" } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Cleaned $numFolders Git repos under 📂$parentDirName in $elapsed sec" + "✅ Cleaned $numFolders Git repos under 📂$parentDirName in $elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clean-repos.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of clean-repos.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index f49aa34a0..ad9073056 100644 --- a/docs/clear-dns-cache.md +++ b/docs/clear-dns-cache.md @@ -6,7 +6,7 @@ This PowerShell script clears the DNS client cache of the local computer. Parameters ---------- ```powershell -PS> ./clear-dns-cache.ps1 [] +/home/markus/Repos/PowerShell/scripts/clear-dns-cache.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./clear-dns-cache.ps1 -✔️ Cleared DNS cache in 1 sec +✅ Cleared DNS cache in 1s. ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script clears the DNS client cache of the local computer. .EXAMPLE PS> ./clear-dns-cache.ps1 - ✔️ Cleared DNS cache in 1 sec + ✅ Cleared DNS cache in 1s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,12 +47,12 @@ Script Content #> try { - $StopWatch = [system.diagnostics.stopwatch]::startNew() + $stopWatch = [system.diagnostics.stopwatch]::startNew() Clear-DnsClientCache - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ Cleared DNS cache in $Elapsed sec" + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Cleared DNS cache in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clear-dns-cache.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of clear-dns-cache.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index 1c39e1eab..b4bffa6c0 100644 --- a/docs/clear-recycle-bin.md +++ b/docs/clear-recycle-bin.md @@ -7,7 +7,7 @@ IMPORTANT NOTE: this cannot be undo! Parameters ---------- ```powershell -PS> ./clear-recycle-bin.ps1 [] +/home/markus/Repos/PowerShell/scripts/clear-recycle-bin.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clear-recycle-bin.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of clear-recycle-bin.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index 85365d391..ef085b3c9 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -6,7 +6,7 @@ This PowerShell script clones popular Git repositories into a common target dire Parameters ---------- ```powershell -PS> ./clone-repos.ps1 [[-targetDir] ] [] +/home/markus/Repos/PowerShell/scripts/clone-repos.ps1 [[-targetDir] ] [] -targetDir Specifies the file path to the target directory (current working directory by default) @@ -26,8 +26,11 @@ Example ------- ```powershell PS> ./clone-repos C:\MyRepos +⏳ (1) Searching for Git executable... git version 2.46.0.windows.1 +⏳ (2) Reading data/popular-repos.csv... 29 repos +⏳ (3) Checking target folder... 📂Repos +⏳ (4/32) Cloning 📂base256 (dev tool) from git@github.com:fleschutz/talk2windows.git (shallow main branch)... ... -✔️ Cloned 29 additional Git repos into 📂MyRepos in 123s. ``` @@ -51,8 +54,11 @@ Script Content Specifies the file path to the target directory (current working directory by default) .EXAMPLE PS> ./clone-repos C:\MyRepos + ⏳ (1) Searching for Git executable... git version 2.46.0.windows.1 + ⏳ (2) Reading data/popular-repos.csv... 29 repos + ⏳ (3) Checking target folder... 📂Repos + ⏳ (4/32) Cloning 📂base256 (dev tool) from git@github.com:fleschutz/talk2windows.git (shallow main branch)... ... - ✔️ Cloned 29 additional Git repos into 📂MyRepos in 123s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -89,22 +95,22 @@ try { $step++ if (Test-Path "$targetDir/$folderName" -pathType container) { - "⏳ ($step/$($total + 3)) Skipping 📂$folderName - the $category exists already..." + "⏳ ($step/$($total + 3)) Skipping 📂$folderName ($category): exists already" $skipped++ } elseif ($shallow -eq "yes") { - "⏳ ($step/$($total + 3)) Cloning into 📂$folderName (a $category, $branch branch, shallow)..." + "⏳ ($step/$($total + 3)) Cloning 📂$folderName ($category) from $URL (shallow $branch branch)..." & git clone --branch "$branch" --single-branch --recurse-submodules "$URL" "$targetDir/$folderName" if ($lastExitCode -ne "0") { throw "'git clone --branch $branch $URL' failed with exit code $lastExitCode" } $cloned++ } else { - "⏳ ($step/$($total + 3)) Cloning into 📂$folderName (a $category, $branch branch, full history)..." + "⏳ ($step/$($total + 3)) Cloning 📂$folderName ($category) from $URL (full $branch branch)..." & git clone --branch "$branch" --recurse-submodules "$URL" "$targetDir/$folderName" if ($lastExitCode -ne "0") { throw "'git clone --branch $branch $URL' failed with exit code $lastExitCode" } $clone++ } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Cloned $cloned additional Git repos into 📂$targetDirName in $($elapsed)s." + "✅ Cloned $cloned additional Git repos into 📂$targetDirName in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -112,4 +118,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clone-repos.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of clone-repos.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index 60d20abb3..00bc0753e 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -6,7 +6,7 @@ This PowerShell script clones popular Git repositories into a common target dire Parameters ---------- ```powershell -PS> ./clone-shallow.ps1 [[-targetDir] ] [] +/home/markus/Repos/PowerShell/scripts/clone-shallow.ps1 [[-targetDir] ] [] -targetDir Specifies the file path to the target directory (current working directory by default) @@ -66,7 +66,7 @@ try { [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Cloned the shallow repository in $elapsed sec" + "✅ Cloned the shallow repository in $elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clone-shallow.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of clone-shallow.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index a3ecd4afc..bd00a0b61 100644 --- a/docs/close-calculator.md +++ b/docs/close-calculator.md @@ -6,7 +6,7 @@ This PowerShell script closes the calculator application gracefully. Parameters ---------- ```powershell -PS> ./close-calculator.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-calculator.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Stop-Process -name "CalculatorApp" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-calculator.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-calculator.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index ad3a0a2e3..a51457392 100644 --- a/docs/close-chrome.md +++ b/docs/close-chrome.md @@ -6,7 +6,7 @@ This PowerShell script closes the Google Chrome Web browser gracefully. Parameters ---------- ```powershell -PS> ./close-chrome.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-chrome.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-chrome.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-chrome.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index 40c8d57e1..d252e9db7 100644 --- a/docs/close-cortana.md +++ b/docs/close-cortana.md @@ -6,7 +6,7 @@ This PowerShell script closes Microsoft's Cortana application gracefully. Parameters ---------- ```powershell -PS> ./close-cortana.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-cortana.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-cortana.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-cortana.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-edge.md b/docs/close-edge.md index 78143b8c2..0254d4e65 100644 --- a/docs/close-edge.md +++ b/docs/close-edge.md @@ -6,7 +6,7 @@ This PowerShell script closes the Microsoft Edge Web browser gracefully. Parameters ---------- ```powershell -PS> ./close-edge.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-edge.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-edge.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-edge.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index f21f662cf..cae75725b 100644 --- a/docs/close-file-explorer.md +++ b/docs/close-file-explorer.md @@ -6,7 +6,7 @@ This PowerShell script closes the Microsoft File Explorer application gracefully Parameters ---------- ```powershell -PS> ./close-file-explorer.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-file-explorer.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-file-explorer.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-file-explorer.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index aa07e7628..cd3799f2f 100644 --- a/docs/close-firefox.md +++ b/docs/close-firefox.md @@ -6,7 +6,7 @@ This PowerShell script closes the Mozilla Firefox Web browser gracefully. Parameters ---------- ```powershell -PS> ./close-firefox.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-firefox.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-firefox.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-firefox.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index 6cb31cd4c..07560c9ed 100644 --- a/docs/close-git-extensions.md +++ b/docs/close-git-extensions.md @@ -6,7 +6,7 @@ This PowerShell script closes the Git Extensions application gracefully. Parameters ---------- ```powershell -PS> ./close-git-extensions.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-git-extensions.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-git-extensions.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-git-extensions.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index e012777bd..f10b831ab 100644 --- a/docs/close-magnifier.md +++ b/docs/close-magnifier.md @@ -6,7 +6,7 @@ This PowerShell script closes the Windows Screen Magnifier application gracefull Parameters ---------- ```powershell -PS> ./close-magnifier.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-magnifier.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ tskill magnify exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-magnifier.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-magnifier.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 5fe971518..174dc827e 100644 --- a/docs/close-microsoft-paint.md +++ b/docs/close-microsoft-paint.md @@ -6,7 +6,7 @@ This PowerShell script closes the Microsoft Paint application gracefully. Parameters ---------- ```powershell -PS> ./close-microsoft-paint.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-microsoft-paint.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-microsoft-paint.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-microsoft-paint.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index 84608be90..93c79a6de 100644 --- a/docs/close-microsoft-store.md +++ b/docs/close-microsoft-store.md @@ -6,7 +6,7 @@ This PowerShell script closes the Microsoft Store application gracefully. Parameters ---------- ```powershell -PS> ./close-microsoft-store.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-microsoft-store.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-microsoft-store.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-microsoft-store.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index cffe9e41c..de6309c3e 100644 --- a/docs/close-netflix.md +++ b/docs/close-netflix.md @@ -6,7 +6,7 @@ This PowerShell script closes the Netflix application gracefully. Parameters ---------- ```powershell -PS> ./close-netflix.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-netflix.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-netflix.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-netflix.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index 0dcc12dce..607059899 100644 --- a/docs/close-notepad.md +++ b/docs/close-notepad.md @@ -6,7 +6,7 @@ This PowerShell script closes the Notepad application gracefully. Parameters ---------- ```powershell -PS> ./close-notepad.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-notepad.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-notepad.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-notepad.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index acdecf3bb..aa047860c 100644 --- a/docs/close-obs-studio.md +++ b/docs/close-obs-studio.md @@ -6,7 +6,7 @@ This PowerShell script closes the OBS Studio application gracefully. Parameters ---------- ```powershell -PS> ./close-obs-studio.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-obs-studio.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-obs-studio.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-obs-studio.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index eda5f60c3..2ecfb838a 100644 --- a/docs/close-one-calendar.md +++ b/docs/close-one-calendar.md @@ -6,7 +6,7 @@ This PowerShell script closes the OneCalendar application gracefully. Parameters ---------- ```powershell -PS> ./close-one-calendar.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-one-calendar.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-one-calendar.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-one-calendar.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index caad40f00..97156ac31 100644 --- a/docs/close-outlook.md +++ b/docs/close-outlook.md @@ -6,7 +6,7 @@ This PowerShell script closes the Microsoft Outlook email application gracefully Parameters ---------- ```powershell -PS> ./close-outlook.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-outlook.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-outlook.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-outlook.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index 921274f07..7c92694bb 100644 --- a/docs/close-paint-three-d.md +++ b/docs/close-paint-three-d.md @@ -6,7 +6,7 @@ This PowerShell script closes the Paint 3D application gracefully. Parameters ---------- ```powershell -PS> ./close-paint-three-d.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-paint-three-d.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-paint-three-d.ps1 as of 08/15/2024 09:50:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-paint-three-d.ps1 as of 11/08/2024 12:34:47)* diff --git a/docs/close-program.md b/docs/close-program.md index a85938ab0..23efd75f0 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -6,7 +6,7 @@ This PowerShell script closes a program's processes gracefully. Parameters ---------- ```powershell -PS> ./close-program.ps1 [[-fullProgramName] ] [[-programName] ] [[-programAliasName] ] [] +/home/markus/Repos/PowerShell/scripts/close-program.ps1 [[-fullProgramName] ] [[-programName] ] [[-programAliasName] ] [] -fullProgramName Specifies the full program name @@ -107,9 +107,9 @@ try { Stop-Process -name $programName -force -errorAction 'silentlycontinue' } if ($($processes.Count) -eq 1) { - "✔️ $fullProgramName closed." + "✅ $fullProgramName closed." } else { - "✔️ $fullProgramName closed and $($processes.Count) processes stopped." + "✅ $fullProgramName closed and $($processes.Count) processes stopped." } exit 0 # success } catch { @@ -118,4 +118,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-program.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-program.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index 199ab4306..390376a4a 100644 --- a/docs/close-serenade.md +++ b/docs/close-serenade.md @@ -6,7 +6,7 @@ This PowerShell script closes the Serenade.ai application gracefully. Parameters ---------- ```powershell -PS> ./close-serenade.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-serenade.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-serenade.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-serenade.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index 2a2eb08a4..4ea254446 100644 --- a/docs/close-snipping-tool.md +++ b/docs/close-snipping-tool.md @@ -6,7 +6,7 @@ This PowerShell script closes the Snipping Tool application gracefully. Parameters ---------- ```powershell -PS> ./close-snipping-tool.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-snipping-tool.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-snipping-tool.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-snipping-tool.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index c3319bf90..9fa587f82 100644 --- a/docs/close-spotify.md +++ b/docs/close-spotify.md @@ -6,7 +6,7 @@ This PowerShell script closes the Spotify application gracefully. Parameters ---------- ```powershell -PS> ./close-spotify.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-spotify.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-spotify.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-spotify.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 1e8633552..637a0c83d 100644 --- a/docs/close-task-manager.md +++ b/docs/close-task-manager.md @@ -6,7 +6,7 @@ This PowerShell script closes the Task Manager application gracefully. Parameters ---------- ```powershell -PS> ./close-task-manager.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-task-manager.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ tskill taskmgr exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-task-manager.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-task-manager.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index 0189eba9f..20f611992 100644 --- a/docs/close-three-d-viewer.md +++ b/docs/close-three-d-viewer.md @@ -6,7 +6,7 @@ This PowerShell script closes the 3D-Viewer application gracefully. Parameters ---------- ```powershell -PS> ./close-three-d-viewer.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-three-d-viewer.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-three-d-viewer.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-three-d-viewer.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index d58c6d5fc..823ab876b 100644 --- a/docs/close-thunderbird.md +++ b/docs/close-thunderbird.md @@ -6,7 +6,7 @@ This PowerShell script closes the Mozilla Thunderbird email application graceful Parameters ---------- ```powershell -PS> ./close-thunderbird.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-thunderbird.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-thunderbird.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-thunderbird.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index 6ab3b720e..5ecfd1fa3 100644 --- a/docs/close-visual-studio.md +++ b/docs/close-visual-studio.md @@ -6,7 +6,7 @@ This PowerShell script closes the Microsoft Visual Studio application gracefully Parameters ---------- ```powershell -PS> ./close-visual-studio.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-visual-studio.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-visual-studio.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-visual-studio.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index 6acf528a6..2994687b0 100644 --- a/docs/close-vlc.md +++ b/docs/close-vlc.md @@ -6,7 +6,7 @@ This PowerShell script closes the VLC media player application gracefully. Parameters ---------- ```powershell -PS> ./close-vlc.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-vlc.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-vlc.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-vlc.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index d2cb5c05b..17f004387 100644 --- a/docs/close-windows-terminal.md +++ b/docs/close-windows-terminal.md @@ -6,7 +6,7 @@ This PowerShell script closes the Windows Terminal application gracefully. Parameters ---------- ```powershell -PS> ./close-windows-terminal.ps1 [] +/home/markus/Repos/PowerShell/scripts/close-windows-terminal.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-windows-terminal.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-windows-terminal.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/configure-git.md b/docs/configure-git.md index 1dee7c7f2..4d6423c8e 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -1,12 +1,12 @@ Script: *configure-git.ps1* ======================== -This PowerShell script configures the Git user settings. +This PowerShell script configures your Git user settings. Parameters ---------- ```powershell -PS> ./configure-git.ps1 [[-fullName] ] [[-emailAddress] ] [[-favoriteEditor] ] [] +/home/markus/Repos/PowerShell/scripts/configure-git.ps1 [[-fullName] ] [[-emailAddress] ] [[-favoriteEditor] ] [] -fullName Specifies the user's full name @@ -44,12 +44,12 @@ Example ------- ```powershell PS> ./configure-git.ps1 "Joe Doe" joe@doe.com vim -⏳ (1/6) Searching for Git executable... git version 2.42.0.windows.1 -⏳ (2/6) Query user settings... -⏳ (3/6) Saving basic settings (autocrlf,symlinks,longpaths,etc.)... -⏳ (4/6) Saving user settings (name,email,editor)... -⏳ (5/6) Saving user shortcuts ('git br', 'git ls', 'git st', etc.)... -⏳ (6/6) Listing your current settings... +⏳ (1/5) Searching for Git executable... git version 2.42.0.windows.1 +⏳ (2/5) Asking for user details... +⏳ (3/5) Saving basic settings (autocrlf,symlinks,longpaths,etc.)... +⏳ (4/5) Saving user settings (name,email,editor)... +⏳ (5/5) Saving user shortcuts ('git br', 'git ls', 'git st', etc.)... +✅ Saved your Git configuration to ~/.gitconfig in 11s. ``` @@ -68,7 +68,7 @@ Script Content .SYNOPSIS Configures Git .DESCRIPTION - This PowerShell script configures the Git user settings. + This PowerShell script configures your Git user settings. .PARAMETER fullName Specifies the user's full name .PARAMETER emailAddress @@ -77,12 +77,13 @@ Script Content Specifies the user's favorite text editor .EXAMPLE PS> ./configure-git.ps1 "Joe Doe" joe@doe.com vim - ⏳ (1/6) Searching for Git executable... git version 2.42.0.windows.1 - ⏳ (2/6) Query user settings... - ⏳ (3/6) Saving basic settings (autocrlf,symlinks,longpaths,etc.)... - ⏳ (4/6) Saving user settings (name,email,editor)... - ⏳ (5/6) Saving user shortcuts ('git br', 'git ls', 'git st', etc.)... - ⏳ (6/6) Listing your current settings... + ⏳ (1/5) Searching for Git executable... git version 2.42.0.windows.1 + ⏳ (2/5) Asking for user details... + ⏳ (3/5) Saving basic settings (autocrlf,symlinks,longpaths,etc.)... + ⏳ (4/5) Saving user settings (name,email,editor)... + ⏳ (5/5) Saving user shortcuts ('git br', 'git ls', 'git st', etc.)... + ✅ Saved your Git configuration to ~/.gitconfig in 11s. + .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -92,17 +93,17 @@ Script Content param([string]$fullName = "", [string]$emailAddress = "", [string]$favoriteEditor = "") try { - Write-Host "⏳ (1/6) Searching for Git executable... " -noNewline + Write-Host "⏳ (1/5) Searching for Git executable... " -noNewline & git --version if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } - "⏳ (2/6) Query user settings..." + "⏳ (2/5) Asking for user details..." if ($fullName -eq "") { $fullName = Read-Host "Enter your full name" } if ($emailAddress -eq "") { $emailAddress = Read-Host "Enter your e-mail address"} - if ($favoriteEditor -eq "") { $favoriteEditor = Read-Host "Enter your favorite text editor (atom,code,emacs,nano,notepad,subl,vi,vim,...)" } + if ($favoriteEditor -eq "") { $favoriteEditor = Read-Host "Enter your favorite text editor, e.g. atom,code,emacs,nano,notepad,subl,vi,vim" } $stopWatch = [system.diagnostics.stopwatch]::startNew() - "⏳ (3/6) Saving basic settings (autocrlf,symlinks,longpaths,etc.)..." + "⏳ (3/5) Saving basic settings (autocrlf,symlinks,longpaths,etc.)..." & git config --global core.autocrlf false # don't change newlines & git config --global core.symlinks true # enable support for symbolic link files & git config --global core.longpaths true # enable support for long file paths @@ -112,13 +113,13 @@ try { & git config --global fetch.parallel 0 # enable parallel fetching to improve the speed if ($lastExitCode -ne "0") { throw "'git config' failed with exit code $lastExitCode" } - "⏳ (4/6) Saving user settings (name,email,editor)..." + "⏳ (4/5) Saving user settings (name,email,editor)..." & git config --global user.name $fullName & git config --global user.email $emailAddress & git config --global core.editor $favoriteEditor if ($lastExitCode -ne "0") { throw "'git config' failed with exit code $lastExitCode" } - "⏳ (5/6) Saving user shortcuts ('git br', 'git ls', 'git st', etc.)..." + "⏳ (5/5) Saving user shortcuts ('git br', 'git ls', 'git st', etc.)..." & git config --global alias.br "branch" & git config --global alias.chp "cherry-pick --no-commit" & git config --global alias.ci "commit" @@ -131,12 +132,8 @@ try { & git config --global alias.st "status" if ($lastExitCode -ne "0") { throw "'git config' failed" } - "⏳ (6/6) Listing your current settings..." - & git config --list - if ($lastExitCode -ne "0") { throw "'git config --list' failed with exit code $lastExitCode" } - [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Saved your Git configuration in $elapsed sec" + "✅ Saved your Git configuration to ~/.gitconfig in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber)): $($Error[0])" @@ -144,4 +141,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of configure-git.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of configure-git.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index 2600d0af8..dc0ae28ae 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -6,7 +6,7 @@ This PowerShell script tries to connect to the VPN. Parameters ---------- ```powershell -PS> ./connect-vpn.ps1 [] +/home/markus/Repos/PowerShell/scripts/connect-vpn.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of connect-vpn.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of connect-vpn.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index a36384a03..3bd10ae95 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -6,7 +6,7 @@ This PowerShell script converts a .CSV file into a text file and prints it. Parameters ---------- ```powershell -PS> ./convert-csv2txt.ps1 [[-Path] ] [] +/home/markus/Repos/PowerShell/scripts/convert-csv2txt.ps1 [[-Path] ] [] -Path Specifies the path to the .CSV file @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-csv2txt.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-csv2txt.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index 164c5ac5f..717d6869a 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -6,7 +6,7 @@ This PowerShell script creates a new compressed .ZIP file from a directory (incl Parameters ---------- ```powershell -PS> ./convert-dir2zip.ps1 [[-dirPath] ] [[-zipPath] ] [] +/home/markus/Repos/PowerShell/scripts/convert-dir2zip.ps1 [[-dirPath] ] [[-zipPath] ] [] -dirPath Specifies the path to the directory @@ -35,7 +35,7 @@ Example ------- ```powershell PS> ./convert-dir2zip.ps1 C:\Windows Win.zip -✔️ Converted into compressed Win.zip in 291s. +✅ Converted into compressed Win.zip in 291s. ``` @@ -61,7 +61,7 @@ Script Content Specifies the path to the target .ZIP file (default is dirPath.zip) .EXAMPLE PS> ./convert-dir2zip.ps1 C:\Windows Win.zip - ✔️ Converted into compressed Win.zip in 291s. + ✅ Converted into compressed Win.zip in 291s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -80,7 +80,7 @@ try { Compress-Archive -path $dirPath -destinationPath $zipPath [int]$elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ Converted into compressed $zipPath in $($elapsed)s." + "✅ Converted into compressed $zipPath in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -88,4 +88,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-dir2zip.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-dir2zip.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index c741f076b..77ff10425 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -6,7 +6,7 @@ This PowerShell script converts .DOCX file(s) into Markdown. Parameters ---------- ```powershell -PS> ./convert-docx2md.ps1 [[-FilePattern] ] [] +/home/markus/Repos/PowerShell/scripts/convert-docx2md.ps1 [[-FilePattern] ] [] -FilePattern Specifies the file pattern to the .DOCX file(s) @@ -73,7 +73,7 @@ try { } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ converted in $Elapsed sec" + "✅ converted in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-docx2md.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-docx2md.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index c06c500e2..4ed76d55b 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-frames2mp4.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-frames2mp4.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index 324eed5a8..14263cde4 100644 --- a/docs/convert-image2ascii.md +++ b/docs/convert-image2ascii.md @@ -114,4 +114,4 @@ Script Content } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-image2ascii.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-image2ascii.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index 30f82c567..59f577a42 100644 --- a/docs/convert-image2blurred-frames.md +++ b/docs/convert-image2blurred-frames.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-image2blurred-frames.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-image2blurred-frames.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index 27a014260..9ad1ef330 100644 --- a/docs/convert-image2pixelated-frames.md +++ b/docs/convert-image2pixelated-frames.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-image2pixelated-frames.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-image2pixelated-frames.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index bf5e87fd0..790aa32f7 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} ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2docx.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2docx.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index 40f462ef7..6e62aea24 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -6,7 +6,7 @@ This PowerShell script converts Markdown file(s) into HTML. Parameters ---------- ```powershell -PS> ./convert-md2html.ps1 [[-FilePattern] ] [] +/home/markus/Repos/PowerShell/scripts/convert-md2html.ps1 [[-FilePattern] ] [] -FilePattern Specifies the file pattern to the Markdown file(s) @@ -72,7 +72,7 @@ try { pandoc --standalone --template "$PSScriptRoot/../data/templates/template.html" -s $_.name -o $TargetPath } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ converted in $Elapsed sec" + "✅ converted in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -80,4 +80,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2html.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2html.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index 44d5a68a1..e283c736a 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} ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2pdf.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2pdf.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index 5d0cc1eca..4b4ed0a58 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -6,7 +6,7 @@ This PowerShell script converts a MySQL database table to a .CSV file. Parameters ---------- ```powershell -PS> ./convert-mysql2csv.ps1 [[-server] ] [[-database] ] [[-username] ] [[-password] ] [[-query] ] [] +/home/markus/Repos/PowerShell/scripts/convert-mysql2csv.ps1 [[-server] ] [[-database] ] [[-username] ] [[-password] ] [[-query] ] [] -server Specifies the server's hostname or IP address @@ -119,4 +119,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-mysql2csv.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-mysql2csv.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index b087c67af..8e27813e3 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -6,7 +6,7 @@ This PowerShell script converts one or more PowerShell scripts to .bat batch fil Parameters ---------- ```powershell -PS> ./convert-ps2bat.ps1 [[-Filepattern] ] [] +/home/markus/Repos/PowerShell/scripts/convert-ps2bat.ps1 [[-Filepattern] ] [] -Filepattern Specifies the file pattern @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-ps2bat.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-ps2bat.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index f715eda01..c37c16e67 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -6,7 +6,7 @@ This PowerShell script converts the comment-based help of a PowerShell script to Parameters ---------- ```powershell -PS> ./convert-ps2md.ps1 [[-filename] ] [] +/home/markus/Repos/PowerShell/scripts/convert-ps2md.ps1 [[-filename] ] [] -filename Specifies the path to the PowerShell script @@ -185,4 +185,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-ps2md.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-ps2md.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index c6bab9835..fcd96a085 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -6,7 +6,7 @@ This PowerShell script converts a SQL database table to a .CSV file. Parameters ---------- ```powershell -PS> ./convert-sql2csv.ps1 [[-server] ] [[-database] ] [[-username] ] [[-password] ] [[-query] ] [] +/home/markus/Repos/PowerShell/scripts/convert-sql2csv.ps1 [[-server] ] [[-database] ] [[-username] ] [[-password] ] [[-query] ] [] -server Specifies the server's hostname or IP address @@ -120,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-sql2csv.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-sql2csv.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index 48c5b0362..e436f20e8 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -6,7 +6,7 @@ This PowerShell script converts text to a .WAV audio file. Parameters ---------- ```powershell -PS> ./convert-txt2wav.ps1 [[-Text] ] [[-WavFile] ] [] +/home/markus/Repos/PowerShell/scripts/convert-txt2wav.ps1 [[-Text] ] [[-WavFile] ] [] -Text Specifies the text to use @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-txt2wav.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-txt2wav.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index 27a19bca2..6aeb51743 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -29,7 +29,7 @@ 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 (0 skipped) to 📂C:\MyPhotos in 41s. + ✅ Copied 1 photo (0 skipped) to 📂C:\MyPhotos in 41s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -107,7 +107,7 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds [int]$copied = $files.Count - $skipped - "✔️ Copied $copied photos ($skipped skipped) to 📂$targetDir in $($elapsed)s." + "✅ Copied $copied photos ($skipped skipped) to 📂$targetDir in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -115,4 +115,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of copy-photos-sorted.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of copy-photos-sorted.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/count-characters.md b/docs/count-characters.md index a386828f2..f58d434f9 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -6,7 +6,7 @@ This PowerShell script counts the number of characters in the given string. Parameters ---------- ```powershell -PS> ./count-characters.ps1 [[-givenString] ] [] +/home/markus/Repos/PowerShell/scripts/count-characters.ps1 [[-givenString] ] [] -givenString Specifies the given string. @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./count-characters.ps1 "Hello World" -✔️ 11 characters counted in 'Hello World'. +✅ 11 characters counted in 'Hello World'. ``` @@ -50,7 +50,7 @@ Script Content Specifies the given string. .EXAMPLE PS> ./count-characters.ps1 "Hello World" - ✔️ 11 characters counted in 'Hello World'. + ✅ 11 characters counted in 'Hello World'. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -63,7 +63,7 @@ try { if ($givenString -eq "" ) { $givenString = Read-Host "Enter the string" } [int64]$numChars = $givenString.Length - "✔️ $numChars characters counted in '$givenString'." + "✅ $numChars characters counted in '$givenString'." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of count-characters.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of count-characters.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/count-lines.md b/docs/count-lines.md index 74fa9d8c7..a7b83797a 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -6,7 +6,7 @@ This PowerShell script counts the number of lines in text files (.txt/.md/.c/.h/ Parameters ---------- ```powershell -PS> ./count-lines.ps1 [[-pathToDirTree] ] [] +/home/markus/Repos/PowerShell/scripts/count-lines.ps1 [[-pathToDirTree] ] [] -pathToDirTree Specifies the path to the directory tree. @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./count-lines.ps1 C:\Repos\cmake -✔️ Found 639921 lines in 11411 text files within 📂cmake in 34 sec. +✅ Found 639921 lines in 11411 text files within 📂cmake in 34 sec. ``` @@ -50,7 +50,7 @@ Script Content Specifies the path to the directory tree. .EXAMPLE PS> ./count-lines.ps1 C:\Repos\cmake - ✔️ Found 639921 lines in 11411 text files within 📂cmake in 34 sec. + ✅ Found 639921 lines in 11411 text files within 📂cmake in 34 sec. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -75,7 +75,7 @@ try { $folderName = (Get-Item "$pathToDirTree").Name Write-Progress -completed " " [int]$Elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Found $numLines lines in $numFiles text files within 📂$folderName in $Elapsed sec." + "✅ Found $numLines lines in $numFiles text files within 📂$folderName in $Elapsed sec." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of count-lines.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of count-lines.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index b06db7ad7..492e2dbe7 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -6,7 +6,7 @@ This PowerShell script decrypts a file using the given password and AES encrypti Parameters ---------- ```powershell -PS> ./decrypt-file.ps1 [[-Path] ] [[-Password] ] [] +/home/markus/Repos/PowerShell/scripts/decrypt-file.ps1 [[-Path] ] [[-Password] ] [] -Path Specifies the path to the file to decrypt @@ -189,7 +189,7 @@ try { DecryptFile "$Path" -Algorithm AES -KeyAsPlainText $PasswordBase64 -RemoveSource [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ file decrypted in $Elapsed sec" + "✅ file decrypted in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -197,4 +197,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of decrypt-file.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of decrypt-file.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index 24bb868ba..7ff73f49e 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -6,7 +6,7 @@ This PowerShell script disables IPv6 on all network interfaces of the local comp Parameters ---------- ```powershell -PS> ./disable-ipv6.ps1 [] +/home/markus/Repos/PowerShell/scripts/disable-ipv6.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,7 +48,7 @@ Script Content try { Disable-NetAdapterBinding -Name '*' -ComponentID 'ms_tcpip6' - "✔️ IPv6 is disabled now." + "✅ IPv6 is disabled now." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of disable-ipv6.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of disable-ipv6.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index d3775f92c..511137907 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -6,7 +6,7 @@ This PowerShell script disconnects the active VPN connection. Parameters ---------- ```powershell -PS> ./disconnect-vpn.ps1 [] +/home/markus/Repos/PowerShell/scripts/disconnect-vpn.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of disconnect-vpn.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of disconnect-vpn.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/download-dir.md b/docs/download-dir.md index d5ac55d86..f34ce4d39 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -6,7 +6,7 @@ This PowerShell script downloads a folder (including subfolders) from the given Parameters ---------- ```powershell -PS> ./download-dir.ps1 [[-URL] ] [] +/home/markus/Repos/PowerShell/scripts/download-dir.ps1 [[-URL] ] [] -URL Specifies the URL where to download from @@ -69,7 +69,7 @@ try { if ($lastExitCode -ne "0") { throw "Can't execute 'wget --mirror $URL'" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ downloaded directory from $URL in $Elapsed sec" + "✅ downloaded directory from $URL in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of download-dir.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of download-dir.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/download-file.md b/docs/download-file.md index 4b630755e..dff4397a5 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -6,7 +6,7 @@ This PowerShell script downloads a file from the given URL Parameters ---------- ```powershell -PS> ./download-file.ps1 [[-URL] ] [] +/home/markus/Repos/PowerShell/scripts/download-file.ps1 [[-URL] ] [] -URL Specifies the URL where to download from @@ -69,7 +69,7 @@ try { if ($lastExitCode -ne "0") { throw "Can't execute 'wget --mirror $URL'" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ downloaded file from $URL in $Elapsed sec" + "✅ downloaded file from $URL in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of download-file.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of download-file.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/edit.md b/docs/edit.md index 818efc00a..580c736a1 100644 --- a/docs/edit.md +++ b/docs/edit.md @@ -6,7 +6,7 @@ This PowerShell script opens a text editor with the given text file. Parameters ---------- ```powershell -PS> ./edit.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/edit.ps1 [[-path] ] [] -path Specifies the path to the text file (will be queried if none given) @@ -59,7 +59,7 @@ param([string]$path = "") function TryEditor { param([string]$editor, [string]$path) try { - Write-Host -noNewline "$editor·" + Write-Host "$editor.." -noNewline & $editor "$path" if ($lastExitCode -ne "0") { "⚠️ Can't execute '$editor' - make sure it's installed and available" @@ -74,7 +74,8 @@ function TryEditor { param([string]$editor, [string]$path) try { if ($path -eq "" ) { $path = Read-Host "Enter the path to the text file" } - Write-Host -noNewline "Trying " + Write-Host "Searching for " -noNewline + TryEditor "neovim" $path TryEditor "vim" $path TryEditor "vi" $path TryEditor "nano" $path @@ -92,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of edit.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of edit.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index f908a47c7..24d1d798f 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -6,7 +6,7 @@ This PowerShell script enables the writing of crash dumps. Parameters ---------- ```powershell -PS> ./enable-crash-dumps.ps1 [] +/home/markus/Repos/PowerShell/scripts/enable-crash-dumps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -330,4 +330,4 @@ Else exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of enable-crash-dumps.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of enable-crash-dumps.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index 64097ce05..cc114bc1b 100644 --- a/docs/enable-god-mode.md +++ b/docs/enable-god-mode.md @@ -6,7 +6,7 @@ This PowerShell script enables the god mode in Windows. It adds a new icon to th Parameters ---------- ```powershell -PS> ./enable-god-mode.ps1 [] +/home/markus/Repos/PowerShell/scripts/enable-god-mode.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,7 +53,7 @@ try { ItemType = 'Directory' } $null = New-Item @GodModeSplat - "✔️ God mode enabled, please click the new desktop icon" + "✅ God mode enabled, please click the new desktop icon" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of enable-god-mode.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of enable-god-mode.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index ab1397889..f1bd2ba06 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -6,7 +6,7 @@ This PowerShell script enables IPv6 on all network interfaces of the local compu Parameters ---------- ```powershell -PS> ./enable-ipv6.ps1 [] +/home/markus/Repos/PowerShell/scripts/enable-ipv6.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,7 +48,7 @@ Script Content try { Enable-NetAdapterBinding -Name '*' -ComponentID 'ms_tcpip6' - "✔️ IPv6 is enabled now." + "✅ IPv6 is enabled now." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of enable-ipv6.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of enable-ipv6.ps1 as of 11/08/2024 12:34:48)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index 4a67a4fab..65430c5c7 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -6,7 +6,7 @@ This PowerShell script encrypts a file using the given password and AES encrypti Parameters ---------- ```powershell -PS> ./encrypt-file.ps1 [[-Path] ] [[-Password] ] [] +/home/markus/Repos/PowerShell/scripts/encrypt-file.ps1 [[-Path] ] [[-Password] ] [] -Path Specifies the path to the file to encrypt @@ -174,7 +174,7 @@ try { EncryptFile "$Path" -Algorithm AES -KeyAsPlainText $PasswordAsBase64 -RemoveSource [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ file encrypted in $Elapsed sec" + "✅ file encrypted in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -182,4 +182,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of encrypt-file.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of encrypt-file.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index 90d7a6cf9..fb4be83fd 100644 --- a/docs/enter-chat.md +++ b/docs/enter-chat.md @@ -6,7 +6,7 @@ This PowerShell script enters a chat using a common network shared file. Parameters ---------- ```powershell -PS> ./enter-chat.ps1 [] +/home/markus/Repos/PowerShell/scripts/enter-chat.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -125,4 +125,4 @@ function Get-ChatChannel } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of enter-chat.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of enter-chat.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/enter-host.md b/docs/enter-host.md new file mode 100644 index 000000000..5b5f2c6ee --- /dev/null +++ b/docs/enter-host.md @@ -0,0 +1,97 @@ +Script: *enter-host.ps1* +======================== + +This PowerShell script logs into a remote host via secure shell (SSH). + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/enter-host.ps1 [[-remoteHost] ] [] + +-remoteHost + Specifies the remote hostname or IP address + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./enter-host.ps1 tux +✅ tux is up and running (3ms latency). +⏳ Connecting as user 'markus' using OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 +markus@tux's password: +... + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Enter another host via SSH +.DESCRIPTION + This PowerShell script logs into a remote host via secure shell (SSH). +.PARAMETER remoteHost + Specifies the remote hostname or IP address +.EXAMPLE + PS> ./enter-host.ps1 tux + ✅ tux is up and running (3ms latency). + ⏳ Connecting as user 'markus' using OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 + markus@tux's password: + ... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$remoteHost = "") + +try { + if ($remoteHost -eq "") { + $remoteHost = Read-Host "Enter the remote hostname or IP address" + $remoteUser = Read-Host "Enter the username at $remoteHost" + } elseif ($IsLinux) { + $remoteUser = $(whoami) + } else { + $remoteUser = $env:USERNAME + $remoteUser = $remoteUser.toLower() + } + + & "$PSScriptRoot/ping-host.ps1" $remoteHost + if ($lastExitCode -ne "0") { + Write-Host "Let's try to wake '$remoteHost' up..." + & "$PSScriptRoot/wake-up-host.ps1" + } + + Write-Host "⏳ Connecting as user '$remoteUser' using " -noNewline + & ssh -V + if ($lastExitCode -ne "0") { throw "'ssh -V' failed with exit code $lastExitCode" } + + & ssh "$($remoteUser)@$($remoteHost)" + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of enter-host.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index 273651574..c3d4491f0 100644 --- a/docs/export-to-manuals.md +++ b/docs/export-to-manuals.md @@ -6,7 +6,7 @@ This PowerShell script exports the comment-based help of all PowerShell scripts Parameters ---------- ```powershell -PS> ./export-to-manuals.ps1 [[-filePattern] ] [[-targetDir] ] [] +/home/markus/Repos/PowerShell/scripts/export-to-manuals.ps1 [[-filePattern] ] [[-targetDir] ] [] -filePattern @@ -35,7 +35,7 @@ Example PS> ./export-to-manuals.ps1 ⏳ (1/2) Reading PowerShell scripts from /home/mf/PowerShell/scripts/*.ps1 ... ⏳ (2/2) Exporting Markdown manuals to /home/mf/PowerShell/docs ... -✔️ Exported 518 Markdown manuals in 28 sec. +✅ Exported 518 Markdown manuals in 28 sec. ``` @@ -59,7 +59,7 @@ Script Content PS> ./export-to-manuals.ps1 ⏳ (1/2) Reading PowerShell scripts from /home/mf/PowerShell/scripts/*.ps1 ... ⏳ (2/2) Exporting Markdown manuals to /home/mf/PowerShell/docs ... - ✔️ Exported 518 Markdown manuals in 28 sec. + ✅ Exported 518 Markdown manuals in 28 sec. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -82,7 +82,7 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Exported $($scripts.Count) Markdown manuals in $elapsed sec." + "✅ Exported $($scripts.Count) Markdown manuals in $elapsed sec." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of export-to-manuals.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of export-to-manuals.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index 39856a2a3..42e859ca6 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -6,9 +6,10 @@ This PowerShell script fetches remote updates into a local Git repository (inclu Parameters ---------- ```powershell -PS> ./fetch-repo.ps1 [[-pathToRepo] ] [] +/home/markus/Repos/PowerShell/scripts/fetch-repo.ps1 [[-path] ] [] --pathToRepo +-path + Specifies the file path to the local Git repository (default is working directory). Required? false Position? 1 @@ -27,8 +28,8 @@ Example PS> ./fetch-repo.ps1 ⏳ (1/3) Searching for Git executable... git version 2.41.0.windows.3 ⏳ (2/3) Checking local repository... C:\Repos\rust -⏳ (3/3) Fetching updates... -✔️ Fetched updates into 📂rust repo in 2s. +⏳ (3/3) Fetching updates (including submodules)... +✅ Updates fetched into 📂rust repo in 2s. ``` @@ -48,39 +49,39 @@ Script Content Fetches updates into a Git repo .DESCRIPTION This PowerShell script fetches remote updates into a local Git repository (including submodules). -.PARAMETER RepoDir +.PARAMETER path Specifies the file path to the local Git repository (default is working directory). .EXAMPLE PS> ./fetch-repo.ps1 ⏳ (1/3) Searching for Git executable... git version 2.41.0.windows.3 ⏳ (2/3) Checking local repository... C:\Repos\rust - ⏳ (3/3) Fetching updates... - ✔️ Fetched updates into 📂rust repo in 2s. + ⏳ (3/3) Fetching updates (including submodules)... + ✅ Updates fetched into 📂rust repo in 2s. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$pathToRepo = "$PWD") +param([string]$path = "$PWD") try { $stopWatch = [system.diagnostics.stopwatch]::startNew() - Write-Host "⏳ (1/3) Searching for Git executable... " -noNewline + Write-Host "⏳ (1/3) Searching for Git executable... " -noNewline & git --version if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } - Write-Host "⏳ (2/3) Checking local repository... $pathToRepo" - if (!(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access folder: $pathToRepo" } - $repoDirName = (Get-Item "$pathToRepo").Name + Write-Host "⏳ (2/3) Checking local repository... $path" + if (!(Test-Path "$path" -pathType container)) { throw "Can't access folder: $path" } + $repoDirName = (Get-Item "$path").Name - Write-Host "⏳ (3/3) Fetching updates..." - & git -C "$pathToRepo" fetch --all --recurse-submodules --tags --prune --prune-tags --force --quiet + Write-Host "⏳ (3/3) Fetching updates (including submodules)..." + & git -C "$path" fetch --all --recurse-submodules --tags --prune --prune-tags --force --quiet if ($lastExitCode -ne "0") { throw "'git fetch --all' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Fetched updates into 📂$repoDirName repo in $($elapsed)s." + "✅ Updates fetched into 📂$repoDirName repo in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -88,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of fetch-repo.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of fetch-repo.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 639c3ff74..5dd708795 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -6,7 +6,7 @@ This PowerShell script fetches updates into all Git repositories in a folder (in Parameters ---------- ```powershell -PS> ./fetch-repos.ps1 [[-parentDirPath] ] [] +/home/markus/Repos/PowerShell/scripts/fetch-repos.ps1 [[-parentDirPath] ] [] -parentDirPath Specifies the path to the parent folder @@ -26,9 +26,9 @@ Example ------- ```powershell PS> ./fetch-repos.ps1 C:\MyRepos -⏳ (1) Searching for Git executable... git version 2.42.0 +⏳ (1) Searching for Git executable... git version 2.46.0.windows.1 ⏳ (2) Checking parent folder... 33 subfolders -⏳ (3/35) Fetching into 📂base256unicode... +⏳ (3/35) Fetching into 📂curl... ... ``` @@ -53,9 +53,9 @@ Script Content Specifies the path to the parent folder .EXAMPLE PS> ./fetch-repos.ps1 C:\MyRepos - ⏳ (1) Searching for Git executable... git version 2.42.0 + ⏳ (1) Searching for Git executable... git version 2.46.0.windows.1 ⏳ (2) Checking parent folder... 33 subfolders - ⏳ (3/35) Fetching into 📂base256unicode... + ⏳ (3/35) Fetching into 📂curl... ... .LINK https://github.com/fleschutz/PowerShell @@ -85,12 +85,12 @@ try { Write-Host "⏳ ($step/$($numFolders + 2)) Fetching into 📂$folderName...`t`t" & git -C "$folder" fetch --all --recurse-submodules --prune --prune-tags --force - if ($lastExitCode -ne "0") { throw "'git fetch --all' in $folder failed with exit code $lastExitCode" } + if ($lastExitCode -ne "0") { throw "'git fetch --all' in 📂$folder failed with exit code $lastExitCode" } $step++ } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Fetched updates into $numFolders repos under 📂$parentDirPathName in $elapsed sec" + "✅ Fetched into $numFolders repos under 📂$parentDirPathName in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of fetch-repos.ps1 as of 08/15/2024 09:50:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of fetch-repos.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index ebe7e2123..54d7a06c5 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -6,7 +6,7 @@ Download and install latest firefox Parameters ---------- ```powershell -PS> ./firefox-installer.ps1 [] +/home/markus/Repos/PowerShell/scripts/firefox-installer.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { ``` -*(generated by convert-ps2md.ps1 using the comment-based help of firefox-installer.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of firefox-installer.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 97638c628..2bc966cef 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -6,7 +6,7 @@ This PowerShell script calculates and prints the MD5 checksum of the given file. Parameters ---------- ```powershell -PS> ./get-md5.ps1 [[-file] ] [] +/home/markus/Repos/PowerShell/scripts/get-md5.ps1 [[-file] ] [] -file Specifies the path to the file @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./get-md5 C:\MyFile.txt -✔️ MD5 hash is 041E16F16E60AD250EB794AF0681BD4A +✅ MD5 hash is 041E16F16E60AD250EB794AF0681BD4A ``` @@ -50,7 +50,7 @@ Script Content Specifies the path to the file .EXAMPLE PS> ./get-md5 C:\MyFile.txt - ✔️ MD5 hash is 041E16F16E60AD250EB794AF0681BD4A + ✅ MD5 hash is 041E16F16E60AD250EB794AF0681BD4A .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -64,7 +64,7 @@ try { $Result = Get-Filehash $file -algorithm MD5 - "✔️ MD5 hash is $($Result.Hash)" + "✅ MD5 hash is $($Result.Hash)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of get-md5.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of get-md5.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index 841f29788..6fab40c37 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -6,7 +6,7 @@ This PowerShell script calculates and prints the SHA1 checksum of the given file Parameters ---------- ```powershell -PS> ./get-sha1.ps1 [[-file] ] [] +/home/markus/Repos/PowerShell/scripts/get-sha1.ps1 [[-file] ] [] -file Specifies the path to the file @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./get-sha1 C:\MyFile.txt -✔️ SHA1 hash is 8105D424D350E308AED92BD9DDEB74A1B53C5D7C +✅ SHA1 hash is 8105D424D350E308AED92BD9DDEB74A1B53C5D7C ``` @@ -50,7 +50,7 @@ Script Content Specifies the path to the file .EXAMPLE PS> ./get-sha1 C:\MyFile.txt - ✔️ SHA1 hash is 8105D424D350E308AED92BD9DDEB74A1B53C5D7C + ✅ SHA1 hash is 8105D424D350E308AED92BD9DDEB74A1B53C5D7C .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -64,7 +64,7 @@ try { $Result = get-filehash $file -algorithm SHA1 - "✔️ SHA1 hash is $($Result.Hash)" + "✅ SHA1 hash is $($Result.Hash)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of get-sha1.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of get-sha1.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index 0cb653b56..58e534aff 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -6,7 +6,7 @@ This PowerShell script calculates and prints the SHA256 checksum of the given fi Parameters ---------- ```powershell -PS> ./get-sha256.ps1 [[-file] ] [] +/home/markus/Repos/PowerShell/scripts/get-sha256.ps1 [[-file] ] [] -file Specifies the path to the file @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./get-sha256 C:\MyFile.txt -✔️ SHA256 hash is: CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E +✅ SHA256 hash is: CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E ``` @@ -50,7 +50,7 @@ Script Content Specifies the path to the file .EXAMPLE PS> ./get-sha256 C:\MyFile.txt - ✔️ SHA256 hash is: CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E + ✅ SHA256 hash is: CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -64,7 +64,7 @@ try { $Result = get-filehash $file -algorithm SHA256 - "✔️ SHA256 hash is: $($Result.Hash)" + "✅ SHA256 hash is: $($Result.Hash)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of get-sha256.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of get-sha256.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/hello-world.md b/docs/hello-world.md new file mode 100644 index 000000000..491a04c8f --- /dev/null +++ b/docs/hello-world.md @@ -0,0 +1,53 @@ +Script: *hello-world.ps1* +======================== + +This PowerShell script is a sample script writing "Hello World" to the console. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/hello-world.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./hello-world.ps1 +Hello World + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Sample Script +.DESCRIPTION + This PowerShell script is a sample script writing "Hello World" to the console. +.EXAMPLE + PS> ./hello-world.ps1 + Hello World +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +Write-Output "Hello World" +exit 0 # success +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of hello-world.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 1b4864e4e..17971a9c8 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -6,7 +6,7 @@ This PowerShell script hibernates the local computer immediately. Parameters ---------- ```powershell -PS> ./hibernate.ps1 [] +/home/markus/Repos/PowerShell/scripts/hibernate.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of hibernate.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of hibernate.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/import-vm.md b/docs/import-vm.md index 8c6a82f42..f3baa35ff 100644 --- a/docs/import-vm.md +++ b/docs/import-vm.md @@ -23,4 +23,4 @@ Start-VM $VMName exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of import-vm.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of import-vm.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index a0b9e21a9..9f5ec9a3c 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -6,7 +6,7 @@ This PowerShell script prints basic information of an executable file. Parameters ---------- ```powershell -PS> ./inspect-exe.ps1 [[-PathToExe] ] [] +/home/markus/Repos/PowerShell/scripts/inspect-exe.ps1 [[-PathToExe] ] [] -PathToExe Specifies the path to the executable file @@ -68,4 +68,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of inspect-exe.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of inspect-exe.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index 5413b56eb..95c728fbe 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -6,7 +6,7 @@ This PowerShell script installs Audacity. Parameters ---------- ```powershell -PS> ./install-audacity.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-audacity.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-audacity.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-audacity.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index b6b1b82ad..547e47e0b 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -7,7 +7,7 @@ NOTE: Apps from Microsoft Store are preferred (due to security and automatic upd Parameters ---------- ```powershell -PS> ./install-basic-apps.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-basic-apps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -21,7 +21,7 @@ PS> ./install-basic-apps.ps1 ⏳ (1) Loading data/basic-apps.csv... 37 apps listed ⏳ (2) Applications to install/upgrade: 7-Zip · Aquile Reader ... ... -✔️ Installed 37 basic apps (0 skipped) in 387 sec. +✅ Installed 37 basic apps (0 skipped) in 387 sec. ``` @@ -47,7 +47,7 @@ Script Content ⏳ (1) Loading data/basic-apps.csv... 37 apps listed ⏳ (2) Applications to install/upgrade: 7-Zip · Aquile Reader ... ... - ✔️ Installed 37 basic apps (0 skipped) in 387 sec. + ✅ Installed 37 basic apps (0 skipped) in 387 sec. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -85,7 +85,7 @@ try { } [int]$numInstalled = ($numEntries - $numSkipped) [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Installed $numInstalled basic apps ($numSkipped skipped) in $elapsed sec." + "✅ Installed $numInstalled basic apps ($numSkipped skipped) in $elapsed sec." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-basic-apps.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-basic-apps.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 2764cea6f..05fb23b78 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -6,7 +6,7 @@ This PowerShell script installs 18 basic Linux snaps. Parameters ---------- ```powershell -PS> ./install-basic-snaps.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-basic-snaps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -70,7 +70,7 @@ try { sudo snap install plexmediaserver [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ installed 19 Snaps in $Elapsed sec" + "✅ installed 19 Snaps in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-basic-snaps.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-basic-snaps.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index 7275740d1..44434b17e 100644 --- a/docs/install-calibre-server.md +++ b/docs/install-calibre-server.md @@ -6,7 +6,7 @@ This PowerShell script installs and starts a local Calibre server as background Parameters ---------- ```powershell -PS> ./install-calibre-server.ps1 [[-port] ] [[-mediaFolder] ] [[-userDB] ] [[-logfile] ] [] +/home/markus/Repos/PowerShell/scripts/install-calibre-server.ps1 [[-port] ] [[-mediaFolder] ] [[-userDB] ] [[-logfile] ] [] -port Specifies the Web port number (8099 by default) @@ -111,7 +111,7 @@ try { & calibre-server --port $port --num-per-page 100 --userdb $userDB --log $logfile --daemonize $HOME/'Calibre Library' [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Installed Calibre server on port $port in $($elapsed)s (media at: $mediaFolder, user DB: $userDB, log to: $logfile)" + "✅ Installed Calibre server on port $port in $($elapsed)s (media at: $mediaFolder, user DB: $userDB, log to: $logfile)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -119,4 +119,4 @@ exit 1 } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-calibre-server.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-calibre-server.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index 30ed6256c..5cb1286d1 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -6,7 +6,7 @@ This PowerShell script installs Chocolatey onto the local computer (needs admin Parameters ---------- ```powershell -PS> ./install-chocolatey.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-chocolatey.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-chocolatey.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-chocolatey.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index bddb6014c..fa176bd93 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -6,7 +6,7 @@ This PowerShell script installs the Google Chrome browser. Parameters ---------- ```powershell -PS> ./install-chrome.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-chrome.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-chrome.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-chrome.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index 8e8b3f561..b2e9f8cbc 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -6,7 +6,7 @@ This PowerShell script installs CrystalDiskInfo from the Microsoft Store. Parameters ---------- ```powershell -PS> ./install-crystal-disk-info.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-crystal-disk-info.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-crystal-disk-info.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-crystal-disk-info.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index bf58c8bf8..751b5fc06 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -6,7 +6,7 @@ This PowerShell script installs CrystalDiskMark from the Microsoft Store. Parameters ---------- ```powershell -PS> ./install-crystal-disk-mark.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-crystal-disk-mark.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-crystal-disk-mark.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-crystal-disk-mark.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-discord.md b/docs/install-discord.md index f596a4bbc..f0d501066 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -6,7 +6,7 @@ This PowerShell script installs Discord from the Microsoft Store. Parameters ---------- ```powershell -PS> ./install-discord.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-discord.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-discord.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-discord.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-edge.md b/docs/install-edge.md index fdff7e917..78c57c723 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -6,7 +6,7 @@ This PowerShell script installs the Microsoft Edge Browser from the Microsoft St Parameters ---------- ```powershell -PS> ./install-edge.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-edge.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-edge.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-edge.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index 224cd6e3d..0729d9834 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -6,7 +6,7 @@ This PowerShell script installs evcc. Sevcc is an extensible EV Charge Controlle Parameters ---------- ```powershell -PS> ./install-evcc.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-evcc.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -69,7 +69,7 @@ try { throw "Sorry, only Linux installation currently supported" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ evcc installed successfully in $Elapsed sec" + "✅ evcc installed successfully in $Elapsed sec" exit 0 # success } catch { "Sorry: $($Error[0])" @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-evcc.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-evcc.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index 52aa2b719..3bddf51a4 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -6,7 +6,7 @@ This PowerShell script installs Mozilla Firefox from the Microsoft Store. Parameters ---------- ```powershell -PS> ./install-firefox.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-firefox.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-firefox.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-firefox.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index 48e569598..957109393 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -6,7 +6,7 @@ This PowerShell script installs Git Extensions. Parameters ---------- ```powershell -PS> ./install-git-extensions.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-git-extensions.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-git-extensions.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-git-extensions.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index c46f03dcf..07a6a1bcf 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -6,7 +6,7 @@ This PowerShell script installs Git for Windows. Parameters ---------- ```powershell -PS> ./install-git-for-windows.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-git-for-windows.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-git-for-windows.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-git-for-windows.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index 39387d4d7..67a480dac 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -6,7 +6,7 @@ This PowerShell script installs the GitHub command-line interface (CLI). Parameters ---------- ```powershell -PS> ./install-github-cli.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-github-cli.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -18,7 +18,7 @@ Example ```powershell PS> ./install-github-cli.ps1 ⏳ Installing GitHub CLI... -✔ Installation of GitHub CLI took 17 sec +✔ GitHub CLI installed successfully in 17s - to authenticate execute: 'gh auth login'. ``` @@ -41,7 +41,7 @@ Script Content .EXAMPLE PS> ./install-github-cli.ps1 ⏳ Installing GitHub CLI... - ✔ Installation of GitHub CLI took 17 sec + ✔ GitHub CLI installed successfully in 17s - to authenticate execute: 'gh auth login'. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -50,7 +50,7 @@ Script Content try { "⏳ Installing GitHub CLI..." - $StopWatch = [system.diagnostics.stopwatch]::startNew() + $stopWatch = [system.diagnostics.stopwatch]::startNew() if ($IsMacOS) { & brew install gh @@ -58,9 +58,10 @@ try { & sudo apt install gh } else { & winget install --id GitHub.cli + if ($lastExitCode -ne "0") { throw "Installation of GitHub CLI failed, maybe it's already installed." } } - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ Installation of GitHub CLI took $Elapsed sec" + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ GitHub CLI installed successfully in $($elapsed)s - to authenticate execute: 'gh auth login'" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -68,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-github-cli.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-github-cli.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md new file mode 100644 index 000000000..a9d042c34 --- /dev/null +++ b/docs/install-gitlab.md @@ -0,0 +1,34 @@ +Script: *install-gitlab.ps1* +======================== + +install-gitlab.ps1 + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Script Content +-------------- +```powershell + +"1. Install and configure the necessary dependencies" +& sudo apt-get update +& sudo apt-get install -y curl openssh-server ca-certificates tzdata perl + + +# sudo apt-get install -y postfix + +"2. Add the GitLab package repository and install the package" +& curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash + + +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of install-gitlab.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index 77172f7a2..bbf747e77 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -6,7 +6,7 @@ This PowerShell script installs IrfanView from the Microsoft Store. Parameters ---------- ```powershell -PS> ./install-irfanview.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-irfanview.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-irfanview.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-irfanview.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index 94eb6cada..b89d5cf4a 100644 --- a/docs/install-knot-resolver.md +++ b/docs/install-knot-resolver.md @@ -6,7 +6,7 @@ This PowerShell script installs Knot Resolver. Knot Resolver is a DNS resolver d Parameters ---------- ```powershell -PS> ./install-knot-resolver.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-knot-resolver.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,7 +62,7 @@ try { & sudo snap start knot-resolver-gael [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ installed Knot Resolver in $Elapsed sec" + "✅ installed Knot Resolver in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-knot-resolver.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-knot-resolver.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index 5516370bc..80da02d2d 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -6,7 +6,7 @@ This PowerShell script installs Microsoft Teams from the Microsoft Store. Parameters ---------- ```powershell -PS> ./install-microsoft-teams.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-microsoft-teams.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-microsoft-teams.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-microsoft-teams.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index 533df130f..41dbd146f 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -6,7 +6,7 @@ This PowerShell script installs Netflix from the Microsoft Store. Parameters ---------- ```powershell -PS> ./install-netflix.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-netflix.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-netflix.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-netflix.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index a6a338b9d..0f7f0c069 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -6,7 +6,7 @@ This PowerShell script installs OBS Studio (admin rights are needed). Parameters ---------- ```powershell -PS> ./install-obs-studio.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-obs-studio.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,7 +56,7 @@ try { } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ installed OBS Studio in $Elapsed sec" + "✅ installed OBS Studio in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-obs-studio.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-obs-studio.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index 472702ec6..28ca4f1ca 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -32,4 +32,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-octoprint.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-octoprint.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index b80bba094..f69551ed1 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -6,7 +6,7 @@ This PowerShell script installs One Calendar from the Microsoft Store. Parameters ---------- ```powershell -PS> ./install-one-calendar.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-one-calendar.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-one-calendar.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-one-calendar.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index 9423f8da4..8a29a4f90 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -6,7 +6,7 @@ This PowerShell script installs Opera Browser from Microsoft Store. Parameters ---------- ```powershell -PS> ./install-opera-browser.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-opera-browser.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-opera-browser.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-opera-browser.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index eab162b49..abf3046a4 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -6,7 +6,7 @@ This PowerShell script installs Opera GX from Microsoft Store. Parameters ---------- ```powershell -PS> ./install-opera-gx.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-opera-gx.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-opera-gx.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-opera-gx.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index ebcd4fbbe..925500d9d 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -6,7 +6,7 @@ This PowerShell script installs Paint 3D from the Microsoft Store. Parameters ---------- ```powershell -PS> ./install-paint-3d.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-paint-3d.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-paint-3d.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-paint-3d.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index 5ac304608..eb1555240 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -6,7 +6,7 @@ This PowerShell script installs the Microsoft Powertoys. Parameters ---------- ```powershell -PS> ./install-power-toys.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-power-toys.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-power-toys.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-power-toys.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index 1c66b56ea..72ab11c21 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -7,9 +7,9 @@ If '-Daily' is specified, then the latest PowerShell daily package will be insta Parameters ---------- ```powershell -PS> ./install-powershell.ps1 [-Destination ] [-Daily] [-DoNotOverwrite] [-AddToPath] [-Preview] [] +/home/markus/Repos/PowerShell/scripts/install-powershell.ps1 [-Destination ] [-Daily] [-DoNotOverwrite] [-AddToPath] [-Preview] [] -PS> ./install-powershell.ps1 [-UseMSI] [-Quiet] [-AddExplorerContextMenu] [-EnablePSRemoting] [-Preview] [] +/home/markus/Repos/PowerShell/scripts/install-powershell.ps1 [-UseMSI] [-Quiet] [-AddExplorerContextMenu] [-EnablePSRemoting] [-Preview] [] -Destination The destination path to install PowerShell to. @@ -180,7 +180,11 @@ if (-not $Destination) { if ($IsWinEnv) { $Destination = "$env:LOCALAPPDATA\Microsoft\powershell" } else { - $Destination = "~/.powershell" + if (Test-Path -path "/opt/PowerShell" -pathType container) { + $Destination = "/opt/PowerShell" + } else { + $Destination = "~/.powershell" + } } if ($Daily) { @@ -228,16 +232,16 @@ function Expand-ArchiveInternal { } } -function Remove-Destination([string] $Destination) { - if (Test-Path -Path $Destination) { +function Remove-Destination([string]$Destination) { + if (Test-Path -path $Destination -pathType container) { if ($DoNotOverwrite) { throw "Destination folder '$Destination' already exist. Use a different path or omit '-DoNotOverwrite' to overwrite." } - Write-Host "⏳ (4/4) Removing old installation at $Destination" - if (Test-Path -Path "$Destination.old") { + if (Test-Path -path "$Destination.old") { Remove-Item "$Destination.old" -Recurse -Force } if ($IsWinEnv -and ($Destination -eq $PSHOME)) { + Write-Host "⏳ (3/4) Removing old installation at $Destination... " # handle the case where the updated folder is currently in use Get-ChildItem -Recurse -File -Path $PSHOME | ForEach-Object { if ($_.extension -eq ".old") { @@ -247,8 +251,9 @@ function Remove-Destination([string] $Destination) { } } } else { + Write-Host "⏳ (3/4) Moving old installation to $($Destination).old... " # Unix systems don't keep open file handles so you can just move files/folders even if in use - Move-Item "$Destination" "$Destination.old" + sudo mv "$Destination" "$($Destination).old" } } } @@ -466,7 +471,7 @@ try { tar zxf $packagePath -C $contentPath } } else { - Write-Host "⏳ (1/4) Loading metadata from https://raw.githubusercontent.com ..." + Write-Host "⏳ (1/4) Querying infos from https://raw.githubusercontent.com ..." $metadata = Invoke-RestMethod https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/metadata.json if ($Preview) { $release = $metadata.PreviewReleaseTag -replace '^v' @@ -489,10 +494,10 @@ try { } elseif ($IsMacOSEnv) { $packageName = "powershell-${release}-osx-${architecture}.tar.gz" } - Write-Host "⏳ (2/4) Latest release is $release for $architecture, package name is $packageName ..." + Write-Host " Latest release is $release for $architecture, package name is: $packageName" $downloadURL = "https://github.com/PowerShell/PowerShell/releases/download/v${release}/${packageName}" - Write-Host "⏳ (3/4) Loading $downloadURL" + Write-Host "⏳ (2/4) Loading $downloadURL" $packagePath = Join-Path -Path $tempDir -ChildPath $packageName if (!$PSVersionTable.ContainsKey('PSEdition') -or $PSVersionTable.PSEdition -eq "Desktop") { @@ -535,23 +540,34 @@ try { Expand-ArchiveInternal -Path $packagePath -DestinationPath $contentPath } } else { + Write-Host "⏳ (3/4) Extracting package to: $contentPath..." tar zxf $packagePath -C $contentPath } } if (-not $UseMSI) { - Remove-Destination $Destination + Write-Host "⏳ (4/5) Removing current installation at: $Destination ..." + if ($IsLinuxEnv) { + & sudo rm -rf "$Destination" + } else { + Remove-Destination "$Destination" + } + if (Test-Path $Destination) { - Write-Verbose "Copying files" -Verbose + Write-Host "⏳ (4/4) Copying files to $Destination... " # only copy files as folders will already exist at $Destination Get-ChildItem -Recurse -Path "$contentPath" -File | ForEach-Object { $DestinationFilePath = Join-Path $Destination $_.fullname.replace($contentPath, "") Copy-Item $_.fullname -Destination $DestinationFilePath } - } else { + } elseif ($IsWinEnv) { + Write-Host "⏳ (4/4) Moving new installation to $Destination... " $null = New-Item -Path (Split-Path -Path $Destination -Parent) -ItemType Directory -ErrorAction SilentlyContinue Move-Item -Path $contentPath -Destination $Destination - } + } else { + Write-Host "⏳ (4/4) Moving new installation to $Destination... " + & sudo mv "$contentPath" "$Destination" + } } ## Change the mode of 'pwsh' to 'rwxr-xr-x' to allow execution @@ -586,7 +602,7 @@ try { if ($IsLinuxEnv) { $symlink = "/usr/bin/pwsh" } elseif ($IsMacOSEnv) { $symlink = "/usr/local/bin/pwsh" } $needNewSymlink = $true - if (Test-Path -Path $symlink) { + if (Test-Path -path $symlink) { $linkItem = Get-Item -Path $symlink if ($linkItem.LinkType -ne "SymbolicLink") { Write-Warning "'$symlink' already exists but it's not a symbolic link. Abort adding to PATH." @@ -635,4 +651,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-powershell.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-powershell.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index 8f3c65cb5..2244888f3 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -6,7 +6,7 @@ This PowerShell script installs Rufus from the Microsoft Store. Parameters ---------- ```powershell -PS> ./install-rufus.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-rufus.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-rufus.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-rufus.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index bbe3dda4e..ed6bf34d8 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -6,7 +6,7 @@ This PowerShell script downloads and installs the Salesforce CLI on Windows. Parameters ---------- ```powershell -PS> ./install-salesforce-cli.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-salesforce-cli.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-salesforce-cli.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-salesforce-cli.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index c8c519ef1..a2cac615c 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -7,7 +7,7 @@ See the Web page for the correct version number. Parameters ---------- ```powershell -PS> ./install-signal-cli.ps1 [[-Version] ] [] +/home/markus/Repos/PowerShell/scripts/install-signal-cli.ps1 [[-Version] ] [] -Version Specifies the version to install @@ -82,7 +82,7 @@ try { if ($lastExitCode -ne "0") { throw "'rm' failed" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ installed signal-cli $Version to /opt and /usr/local/bin in $Elapsed sec" + "✅ installed signal-cli $Version to /opt and /usr/local/bin in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-signal-cli.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-signal-cli.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-skype.md b/docs/install-skype.md index ec369bb8b..585b0c3ec 100644 --- a/docs/install-skype.md +++ b/docs/install-skype.md @@ -6,7 +6,7 @@ This PowerShell script installs Skype from the Microsoft Store. Parameters ---------- ```powershell -PS> ./install-skype.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-skype.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-skype.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-skype.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index eaaa7718f..f0ef0455c 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -6,7 +6,7 @@ This PowerShell script installs Spotify from the Microsoft Store. Parameters ---------- ```powershell -PS> ./install-spotify.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-spotify.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-spotify.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-spotify.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index dcaa55df0..ae8b2bc8c 100644 --- a/docs/install-ssh-client.md +++ b/docs/install-ssh-client.md @@ -6,7 +6,7 @@ This PowerShell script installs a SSH client (needs admin rights). Parameters ---------- ```powershell -PS> ./install-ssh-client.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-ssh-client.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,7 +56,7 @@ try { } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ installed SSH client in $Elapsed sec" + "✅ installed SSH client in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-ssh-client.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-ssh-client.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index 876a57323..deb01b536 100644 --- a/docs/install-ssh-server.md +++ b/docs/install-ssh-server.md @@ -6,7 +6,7 @@ This PowerShell script installs a SSH server (needs admin rights). Parameters ---------- ```powershell -PS> ./install-ssh-server.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-ssh-server.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -70,7 +70,7 @@ try { } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ installed and started SSH server in $Elapsed sec" + "✅ installed and started SSH server in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-ssh-server.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-ssh-server.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index e25e20880..176f8ac67 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -6,7 +6,7 @@ This PowerShell script installs Mozilla Thunderbird. Parameters ---------- ```powershell -PS> ./install-thunderbird.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-thunderbird.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-thunderbird.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-thunderbird.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-twitter.md b/docs/install-twitter.md index 7cf40a975..2cfa18eba 100644 --- a/docs/install-twitter.md +++ b/docs/install-twitter.md @@ -6,7 +6,7 @@ This PowerShell script installs Twitter from the Microsoft Store. Parameters ---------- ```powershell -PS> ./install-twitter.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-twitter.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-twitter.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-twitter.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index f8f9e7f3a..57bb22800 100644 --- a/docs/install-unbound-server.md +++ b/docs/install-unbound-server.md @@ -6,7 +6,7 @@ This PowerShell script installs Unbound, a validating, recursive, caching DNS re Parameters ---------- ```powershell -PS> ./install-unbound-server.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-unbound-server.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -91,7 +91,7 @@ try { if ($lastExitCode -ne "0") { throw "'unbound-control status' failed" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ Installed Unbound in $Elapsed sec" + "✅ Installed Unbound in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -99,4 +99,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-unbound-server.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-unbound-server.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-updates.md b/docs/install-updates.md index 760b116d3..b1f8cb64b 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -7,7 +7,7 @@ NOTE: Use the script 'list-updates.ps1' to list the latest software updates befo Parameters ---------- ```powershell -PS> ./install-updates.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-updates.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-updates.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-updates.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index 00f286e2d..7af8820a5 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -6,7 +6,7 @@ This PowerShell script installs Visual Studio Code. Parameters ---------- ```powershell -PS> ./install-visual-studio-code.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-visual-studio-code.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-visual-studio-code.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-visual-studio-code.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index e55c46295..c4c85858e 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -6,7 +6,7 @@ This PowerShell script installs the Vivaldi browser. Parameters ---------- ```powershell -PS> ./install-vivaldi.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-vivaldi.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-vivaldi.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-vivaldi.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index fcb38cf20..e2832ca40 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -6,7 +6,7 @@ This PowerShell script installs the VLC media player. Parameters ---------- ```powershell -PS> ./install-vlc.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-vlc.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -18,7 +18,7 @@ Example ```powershell PS> ./install-vlc.ps1 ⏳ Installing VLC media player... -✔️ Installation of VLC media player took 25 sec +✅ Installation of VLC media player took 25 sec ``` @@ -41,7 +41,7 @@ Script Content .EXAMPLE PS> ./install-vlc.ps1 ⏳ Installing VLC media player... - ✔️ Installation of VLC media player took 25 sec + ✅ Installation of VLC media player took 25 sec .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -56,7 +56,7 @@ try { if ($lastExitCode -ne "0") { throw "Can't install VLC media player, is it already installed?" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ Installation of VLC media player took $Elapsed sec" + "✅ Installation of VLC media player took $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-vlc.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-vlc.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index 0fdbe7ea6..9496aa92e 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -6,7 +6,7 @@ This PowerShell script installs Windows Terminal from the Microsoft Store. Parameters ---------- ```powershell -PS> ./install-windows-terminal.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-windows-terminal.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-windows-terminal.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-windows-terminal.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index 8f223a925..615bc8f0b 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -6,7 +6,7 @@ This PowerShell script installs Windows Subsystem for Linux. It needs admin righ Parameters ---------- ```powershell -PS> ./install-wsl.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-wsl.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,7 +65,7 @@ try { } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ installed Windows Subsystem for Linux (WSL) in $Elapsed sec" + "✅ installed Windows Subsystem for Linux (WSL) in $Elapsed sec" " NOTE: reboot now, then visit the Microsoft Store and install a Linux distribution (e.g. Ubuntu, openSUSE, SUSE Linux, Kali Linux, Debian, Fedora, Pengwin, or Alpine)" exit 0 # success } catch { @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-wsl.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-wsl.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index d7f48c7e7..b2da8b243 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -6,7 +6,7 @@ This PowerShell script installs Zoom. Parameters ---------- ```powershell -PS> ./install-zoom.ps1 [] +/home/markus/Repos/PowerShell/scripts/install-zoom.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-zoom.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-zoom.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index 95a7dc237..a2263bcfa 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -6,7 +6,7 @@ This PowerShell script introduces PowerShell to new users and gives an overview Parameters ---------- ```powershell -PS> ./introduce-powershell.ps1 [] +/home/markus/Repos/PowerShell/scripts/introduce-powershell.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of introduce-powershell.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of introduce-powershell.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index ec223c6ca..32781bc3b 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -6,7 +6,7 @@ This PowerShell scripts lists all PowerShell aliases. Parameters ---------- ```powershell -PS> ./list-aliases.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-aliases.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-aliases.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-aliases.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index 9dfe5f2e5..94000a090 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -6,7 +6,7 @@ This PowerShell script lists all anagrams of the given word. Parameters ---------- ```powershell -PS> ./list-anagrams.ps1 [[-Word] ] [[-Columns] ] [] +/home/markus/Repos/PowerShell/scripts/list-anagrams.ps1 [[-Word] ] [[-Columns] ] [] -Word Specifies the word to use @@ -120,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-anagrams.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-anagrams.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/list-apps.md b/docs/list-apps.md index 67cea4c33..4f96cd397 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -6,7 +6,7 @@ This PowerShell script lists the installed applications (from Windows Store, or Parameters ---------- ```powershell -PS> ./list-apps.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-apps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-apps.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-apps.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index d5a31f7da..e8298c041 100644 --- a/docs/list-ascii-table.md +++ b/docs/list-ascii-table.md @@ -6,7 +6,7 @@ This PowerShell script lists the ASCII table on the console. Parameters ---------- ```powershell -PS> ./list-ascii-table.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-ascii-table.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -120,4 +120,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-ascii-table.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-ascii-table.ps1 as of 11/08/2024 12:34:49)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index 2cd44a6ae..3a75e08a5 100644 --- a/docs/list-automatic-variables.md +++ b/docs/list-automatic-variables.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-automatic-variables.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-automatic-variables.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index 7418d6199..237ae8cde 100644 --- a/docs/list-battery-status.md +++ b/docs/list-battery-status.md @@ -6,7 +6,7 @@ This PowerShell script lists the battery status. Parameters ---------- ```powershell -PS> ./list-battery-status.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-battery-status.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-battery-status.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-battery-status.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-bios.md b/docs/list-bios.md index be8a96d78..93ba6a7f1 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -6,7 +6,7 @@ This PowerShell script lists the BIOS details. Parameters ---------- ```powershell -PS> ./list-bios.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-bios.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-bios.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-bios.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 2ceaf0ba6..1587fa922 100644 --- a/docs/list-bluetooth-devices.md +++ b/docs/list-bluetooth-devices.md @@ -6,7 +6,7 @@ This PowerShell script lists all Bluetooth devices connected to the local comput Parameters ---------- ```powershell -PS> ./list-bluetooth-devices.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-bluetooth-devices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-bluetooth-devices.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-bluetooth-devices.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-branches.md b/docs/list-branches.md index f0dc7c4ae..bf9290c03 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -6,7 +6,7 @@ This PowerShell script lists branches in a Git repository - either all (default) Parameters ---------- ```powershell -PS> ./list-branches.ps1 [[-pathToRepo] ] [[-searchPattern] ] [] +/home/markus/Repos/PowerShell/scripts/list-branches.ps1 [[-pathToRepo] ] [[-searchPattern] ] [] -pathToRepo Specifies the path to the Git repository (current working directory by default) @@ -107,4 +107,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-branches.ps1 as of 08/15/2024 09:50:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-branches.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index 4ff44eada..08c7001dd 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -6,7 +6,7 @@ Lists calendar elements, either a single month or an entire year. Parameters ---------- ```powershell -PS> ./list-calendar.ps1 [[-Month] ] [[-Year] ] [] +/home/markus/Repos/PowerShell/scripts/list-calendar.ps1 [[-Month] ] [[-Year] ] [] -Month If specified, will limit output to a single month with this numeral value. @@ -109,16 +109,17 @@ function Print-Month ($month, $year) { $header = (Get-Date $firstDayOfMonth -Format MMMM) + " " + $firstDayOfMonth.Year Write-Host - Write-Host ((" " * (($daysLine.Length - $header.Length) / 2)) + $header) + Write-Host $header.ToUpper() + Write-Host "__________________________" Write-Host $daysLine for ($day = $firstDayOfMonth; $day -le $lastDayOfMonth; $day = $day.AddDays(1)) { if ($day.day -eq 1) { - Write-Host (" " * 3 * [int](Get-Date $day -uformat %u)) -NoNewLine + Write-Host (" " * 4 * [int](Get-Date $day -uformat %u)) -NoNewLine } Write-Host ((Get-Date $day -Format dd).ToString()) -NoNewLine - Write-Host " " -NoNewLine + Write-Host " " -NoNewLine if ($day.DayOfWeek -eq "Saturday") { Write-Host @@ -141,7 +142,7 @@ function Print-Year($year) { for ($i = $month; $i -lt $month + 3; $i++) { $tempHeader = (Get-Date -month $i -Format MMMM) + " " + $year.ToString() - $header += ((" " * (($daysLine.Length - $tempHeader.Length) / 2)) + $tempHeader + (" " * (($daysLine.Length - $tempHeader.Length) / 2))) + $header += ((" " * (($daysLine.Length - $tempHeader.Length) / 2)) + $tempHeader.toUpper() + (" " * (($daysLine.Length - $tempHeader.Length) / 2))) $header += " " } @@ -160,14 +161,14 @@ function Print-Year($year) { $dayOffset = [int](Get-Date -day 1 -month ($month + $i) -year $year -uformat %u) if ($dayOfMonth -eq 1) { - Write-Host (" " * 3 * $dayOffSet) -NoNewLine + Write-Host (" " * 4 * $dayOffSet) -NoNewLine } if ($dayOfMonth -le (Get-Date -day 1 -month ((($i + $month) % 12) + 1) -year $year).AddDays(-1).day) { $currentDay = (Get-Date -day $dayOfMonth -month ((($i + $month - 1) % 12) + 1) -year $year) Write-Host ((Get-Date -month ($i + $month) -day $dayOfMonth -year $year -Format dd).ToString()) -NoNewLine - Write-Host " " -NoNewLine + Write-Host " " -NoNewLine } else { Write-Host " " -NoNewLine @@ -221,21 +222,21 @@ function Find-LastWeekDay ($year, $month, $dayOfWeek) { } try { - Set-Variable -name daysLine -option Constant -value "Su Mo Tu We Th Fr Sa " + Set-Variable -name daysLine -option Constant -value "Su Mo Tu We Th Fr Sa " if ($year -lt 0) { throw "Year parameter must be greater than 0" } if ($month -lt 0) { throw "Month parameter must be between 1 and 12" } if (($month -gt 12) -and ($year -eq (Get-Date).Year)) { - $year = $month - $month = 0 + $year = $month + $month = 0 } elseif (($month -gt 12) -and ($year -ne (Get-Date).Year)) { - throw "Month parameter must be between 1 and 12" + throw "Month parameter must be between 1 and 12" } if ($month -ne 0) { - Print-Month $month $year + Print-Month $month $year } else { - Print-Year $year + Print-Year $year } exit 0 # success } catch { @@ -244,4 +245,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-calendar.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-calendar.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index b56b2c628..c47bde5fd 100644 --- a/docs/list-cheat-sheet.md +++ b/docs/list-cheat-sheet.md @@ -6,7 +6,7 @@ This PowerShell script lists the PowerShell cheat sheet. Parameters ---------- ```powershell -PS> ./list-cheat-sheet.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-cheat-sheet.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -75,4 +75,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-cheat-sheet.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-cheat-sheet.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index fabf7bfac..4efbf10c5 100644 --- a/docs/list-city-weather.md +++ b/docs/list-city-weather.md @@ -51,4 +51,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-city-weather.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-city-weather.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index 84d523799..5f0d16567 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -358,4 +358,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-cli-tools.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-cli-tools.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index f12230e75..4e45a9667 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -6,7 +6,7 @@ This PowerShell script lists the contents of the clipboard. Parameters ---------- ```powershell -PS> ./list-clipboard.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-clipboard.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-clipboard.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-clipboard.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index 03747d2b6..69ab77523 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -6,7 +6,7 @@ This PowerShell script lists all PowerShell cmdlets. Parameters ---------- ```powershell -PS> ./list-cmdlets.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-cmdlets.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-cmdlets.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-cmdlets.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index 2f6e0c648..1d6206121 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -28,6 +28,7 @@ Script Content Monthly Global Price of Coffee (by alphavantage.co, in cents per pound) ----------------------------------------------------------------------- 2024-04-01 ████████████████████████████████████████████████████████████████████▌ 240 + ... .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -77,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-coffee-prices.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-coffee-prices.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index 4b9155917..8b1b5f555 100644 --- a/docs/list-commit-stats.md +++ b/docs/list-commit-stats.md @@ -6,7 +6,7 @@ This PowerShell script lists the commit statistics of a Git repository. Parameters ---------- ```powershell -PS> ./list-commit-stats.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/list-commit-stats.ps1 [[-path] ] [] -path Specifies the path to the local Git repository (default is current working dir) @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-commit-stats.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-commit-stats.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-commits.md b/docs/list-commits.md index ab37b3f42..d3158865d 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -6,7 +6,7 @@ This PowerShell script lists all commits in a Git repository. Supported output f Parameters ---------- ```powershell -PS> ./list-commits.ps1 [[-RepoDir] ] [[-Format] ] [] +/home/markus/Repos/PowerShell/scripts/list-commits.ps1 [[-RepoDir] ] [[-Format] ] [] -RepoDir Specifies the path to the Git repository. @@ -121,4 +121,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-commits.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-commits.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 8932d81e3..0538240a9 100644 --- a/docs/list-console-colors.md +++ b/docs/list-console-colors.md @@ -6,7 +6,7 @@ This PowerShell script lists all available console colors. Parameters ---------- ```powershell -PS> ./list-console-colors.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-console-colors.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-console-colors.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-console-colors.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-countries.md b/docs/list-countries.md index f6663b632..5343b0593 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -52,4 +52,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-countries.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-countries.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index 7a9daa052..68910dfd7 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -6,7 +6,7 @@ This PowerShell script lists the CPU details. Parameters ---------- ```powershell -PS> ./list-cpu.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-cpu.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-cpu.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-cpu.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index ef0cb53e6..7a1b5e89a 100644 --- a/docs/list-crypto-rates.md +++ b/docs/list-crypto-rates.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-crypto-rates.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-crypto-rates.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index c1993445d..41c873c6b 100644 --- a/docs/list-defender-settings.md +++ b/docs/list-defender-settings.md @@ -7,7 +7,7 @@ NOTE: use 'Set-MpPreference' to change settings (e.g. DisableScanningNetworkFile Parameters ---------- ```powershell -PS> ./list-defender-settings.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-defender-settings.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-defender-settings.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-defender-settings.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index cf82393e0..974afafdb 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -6,9 +6,9 @@ This PowerShell script lists all files and folders in a neat directory tree (inc Parameters ---------- ```powershell -PS> ./list-dir-tree.ps1 [[-Path] ] [] +/home/markus/Repos/PowerShell/scripts/list-dir-tree.ps1 [[-path] ] [] --Path +-path Specifies the path to the directory tree Required? false @@ -45,10 +45,10 @@ Script Content ```powershell <# .SYNOPSIS - Lists a directory tree + Lists a dir tree .DESCRIPTION This PowerShell script lists all files and folders in a neat directory tree (including icon and size). -.PARAMETER Path +.PARAMETER path Specifies the path to the directory tree .EXAMPLE PS> ./list-dir-tree.ps1 C:\MyFolder @@ -61,7 +61,7 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -param([string]$Path = "$PWD") +param([string]$path = "$PWD") function GetFileIcon([string]$suffix) { switch ($suffix) { @@ -73,6 +73,9 @@ function GetFileIcon([string]$suffix) { ".jpg" {return "📸"} ".mp3" {return "🎵"} ".mkv" {return "🎬"} + ".png" {return "📸"} + ".rar" {return "🎁"} + ".tar" {return "🎁"} ".zip" {return "🎁"} default {return "📄"} } @@ -90,7 +93,7 @@ function Bytes2String([int64]$bytes) { return "$($Bytes)TB" } -function ListDirectory([string]$path, [int]$depth) { +function ListDir([string]$path, [int]$depth) { $depth++ $items = Get-ChildItem -path $path foreach($item in $items) { @@ -98,8 +101,7 @@ function ListDirectory([string]$path, [int]$depth) { for ($i = 1; $i -lt $depth; $i++) { Write-Host "│ " -noNewline } if ($item.Mode -like "d*") { Write-Output "├📂$Filename" - ListDirectory "$path\$filename" $depth - $global:folders++ + ListDir "$path\$filename" $depth } else { $icon = GetFileIcon $item.Extension Write-Output "├$($icon)$filename ($(Bytes2String $item.Length))" @@ -107,14 +109,15 @@ function ListDirectory([string]$path, [int]$depth) { $global:bytes += $item.Length } } + $global:folders++ } try { - [int64]$global:folders = 1 + [int64]$global:folders = 0 [int64]$global:files = 0 [int64]$global:bytes = 0 - ListDirectory $Path 0 - Write-Output " ($($global:folders) folders, $($global:files) files, $(Bytes2String $global:bytes) file size in total)" + ListDir $path 0 + Write-Output " ($($global:folders) folders, $($global:files) files, $(Bytes2String $global:bytes) total)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -122,4 +125,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-dir-tree.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-dir-tree.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index 06ca55d8a..3e0455f77 100644 --- a/docs/list-dns-servers.md +++ b/docs/list-dns-servers.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-dns-servers.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-dns-servers.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-drives.md b/docs/list-drives.md index 8b96ca36a..40af9b8bc 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -6,7 +6,7 @@ This PowerShell script lists all local drives as a table. Parameters ---------- ```powershell -PS> ./list-drives.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-drives.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-drives.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-drives.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index d9776ca8f..d823c30eb 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -6,7 +6,7 @@ This PowerShell script lists major earthquakes for the last 30 days. Parameters ---------- ```powershell -PS> ./list-earthquakes.ps1 [[-minMagnitude] ] [] +/home/markus/Repos/PowerShell/scripts/list-earthquakes.ps1 [[-minMagnitude] ] [] -minMagnitude Specifies the minimum magnitude to list (5.5 by default) @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-earthquakes.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-earthquakes.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index cdc9bd523..393bfe21d 100644 --- a/docs/list-emojis.md +++ b/docs/list-emojis.md @@ -6,7 +6,7 @@ This PowerShell script lists the emojis of Unicode 13.0 sorted by category. Parameters ---------- ```powershell -PS> ./list-emojis.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-emojis.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -72,4 +72,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-emojis.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-emojis.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 60f38634c..a8049fbbb 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -6,7 +6,7 @@ This PowerShell script scans a directory tree and lists all empty directories. Parameters ---------- ```powershell -PS> ./list-empty-dirs.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/list-empty-dirs.ps1 [[-path] ] [] -path Specifies the path to the directory tree (current working directory by default) @@ -27,7 +27,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 222 sec ``` @@ -52,7 +52,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 222 sec .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -73,7 +73,7 @@ try { } Write-Progress -completed " " [int]$Elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Found $count empty directories within 📂$path in $elapsed sec" + "✅ Found $count empty directories within 📂$path in $elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-empty-dirs.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-empty-dirs.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index bc609adb5..be0013002 100644 --- a/docs/list-empty-files.md +++ b/docs/list-empty-files.md @@ -6,7 +6,7 @@ This PowerShell script scans a directory tree and lists all empty files. Parameters ---------- ```powershell -PS> ./list-empty-files.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/list-empty-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (default is current working dir) @@ -27,7 +27,7 @@ Example ```powershell PS> ./list-empty-files.ps1 C:\Windows ... -✔️ Found 6 empty files within C:\Windows in 54 sec +✅ Found 6 empty files within C:\Windows in 54 sec ``` @@ -52,7 +52,7 @@ Script Content .EXAMPLE PS> ./list-empty-files.ps1 C:\Windows ... - ✔️ Found 6 empty files within C:\Windows in 54 sec + ✅ Found 6 empty files within C:\Windows in 54 sec .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -73,7 +73,7 @@ try { } Write-Progress -completed " " [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Found $count empty files within $path in $elapsed sec" + "✅ Found $count empty files within $path in $elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-empty-files.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-empty-files.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index 88b20597d..a6e3ae5f5 100644 --- a/docs/list-encrypted-files.md +++ b/docs/list-encrypted-files.md @@ -6,7 +6,7 @@ This PowerShell script scans a directory tree and lists all encrypted files. Parameters ---------- ```powershell -PS> ./list-encrypted-files.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/list-encrypted-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (default is current working dir) @@ -27,7 +27,7 @@ Example ```powershell PS> ./list-encrypted-files.ps1 C:\Windows ... -✔️ Found 0 encrypted files within 📂C:\Windows in 41 sec +✅ Found 0 encrypted files within 📂C:\Windows in 41 sec ``` @@ -52,7 +52,7 @@ Script Content .EXAMPLE PS> ./list-encrypted-files.ps1 C:\Windows ... - ✔️ Found 0 encrypted files within 📂C:\Windows in 41 sec + ✅ Found 0 encrypted files within 📂C:\Windows in 41 sec .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -73,7 +73,7 @@ try { } Write-Progress -completed " " [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Found $count encrypted files within 📂$path in $elapsed sec" + "✅ Found $count encrypted files within 📂$path in $elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-encrypted-files.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-encrypted-files.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index 67c4052f8..67fe8cb10 100644 --- a/docs/list-environment-variables.md +++ b/docs/list-environment-variables.md @@ -6,7 +6,7 @@ This PowerShell script lists all environment variables. Parameters ---------- ```powershell -PS> ./list-environment-variables.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-environment-variables.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-environment-variables.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-environment-variables.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index 70a772890..e1a4d53cd 100644 --- a/docs/list-error-types.md +++ b/docs/list-error-types.md @@ -26,4 +26,4 @@ Script Content } | Select BaseType,Name,FullName ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-error-types.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-error-types.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index 29f784a2c..250dbc33f 100644 --- a/docs/list-exchange-rates.md +++ b/docs/list-exchange-rates.md @@ -6,7 +6,7 @@ This PowerShell script lists the current exchange rates for the given currency ( Parameters ---------- ```powershell -PS> ./list-exchange-rates.ps1 [[-currency] ] [] +/home/markus/Repos/PowerShell/scripts/list-exchange-rates.ps1 [[-currency] ] [] -currency Specifies the base currency @@ -95,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-exchange-rates.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-exchange-rates.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-executables.md b/docs/list-executables.md index 2a121f37c..4a5d3623a 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -6,7 +6,7 @@ This PowerShell script scans a given directory tree and lists all executables wi Parameters ---------- ```powershell -PS> ./list-executables.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/list-executables.ps1 [[-path] ] [] -path Specifies the path to the directory tree (current working directory by default) @@ -28,7 +28,7 @@ Example PS> ./list-executables.ps1 C:\Windows C:\Windows\bfsvc.exe ... -✔️ Found 7967 executables within 📂C:\Windows in 168 sec. +✅ Found 7967 executables within 📂C:\Windows in 168 sec. ``` @@ -54,7 +54,7 @@ Script Content PS> ./list-executables.ps1 C:\Windows C:\Windows\bfsvc.exe ... - ✔️ Found 7967 executables within 📂C:\Windows in 168 sec. + ✅ Found 7967 executables within 📂C:\Windows in 168 sec. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -75,7 +75,7 @@ try { } Write-Progress -completed " " [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Found $count executables within 📂$path in $elapsed sec." + "✅ Found $count executables within 📂$path in $elapsed sec." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-executables.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-executables.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index da9ee2bf9..9a5bbcb51 100644 --- a/docs/list-fibonacci.md +++ b/docs/list-fibonacci.md @@ -31,16 +31,16 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -function fibonacci($n) { +function fibo([int]$n) { if ($n -lt 2) { return 1 } - return (fibonacci($n - 1)) + (fibonacci($n - 2)) + return (fibo($n - 1)) + (fibo($n - 2)) } foreach ($i in 0..100) { - Write-Host "$(fibonacci $i), " -noNewline + Write-Host "$(fibo $i), " -noNewline } exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-fibonacci.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-fibonacci.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-files.md b/docs/list-files.md index b79d3dd66..5a32d280c 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -6,7 +6,7 @@ This PowerShell script lists all files within the given directory tree. Parameters ---------- ```powershell -PS> ./list-files.ps1 [[-DirTree] ] [] +/home/markus/Repos/PowerShell/scripts/list-files.ps1 [[-DirTree] ] [] -DirTree Specifies the path to the directory tree @@ -68,4 +68,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-files.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-files.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-folder.md b/docs/list-folder.md index 7cb60fa2e..4d194c770 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -6,7 +6,7 @@ This PowerShell script lists the content of a directory (alphabetically formatte Parameters ---------- ```powershell -PS> ./list-folder.ps1 [[-searchPattern] ] [] +/home/markus/Repos/PowerShell/scripts/list-folder.ps1 [[-searchPattern] ] [] -searchPattern Specifies the search pattern ("*" by default which means anything) @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-folder.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-folder.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index 88d88c9a3..8879e485e 100644 --- a/docs/list-fritzbox-calls.md +++ b/docs/list-fritzbox-calls.md @@ -6,7 +6,7 @@ This PowerShell script lists the phone calls of the FRITZ!Box device. Parameters ---------- ```powershell -PS> ./list-fritzbox-calls.ps1 [[-Username] ] [[-Password] ] [] +/home/markus/Repos/PowerShell/scripts/list-fritzbox-calls.ps1 [[-Username] ] [[-Password] ] [] -Username Specifies the user name for FRITZ!Box @@ -153,4 +153,4 @@ echo $Result exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-fritzbox-calls.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-fritzbox-calls.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index c5de803cf..ae47e310b 100644 --- a/docs/list-fritzbox-devices.md +++ b/docs/list-fritzbox-devices.md @@ -6,7 +6,7 @@ This PowerShell script lists FRITZ!Box's known devices. Parameters ---------- ```powershell -PS> ./list-fritzbox-devices.ps1 [[-Username] ] [[-Password] ] [] +/home/markus/Repos/PowerShell/scripts/list-fritzbox-devices.ps1 [[-Username] ] [[-Password] ] [] -Username Specifies the user name to FRITZ!Box @@ -105,4 +105,4 @@ $HostTable | format-table -property Active,IPAddress,MACAddress,HostName,Interfa exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-fritzbox-devices.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-fritzbox-devices.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index cb4b77d4a..e449b9cf7 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -6,7 +6,7 @@ This PowerShell script lists the latest headlines by using a RSS (Really Simple Parameters ---------- ```powershell -PS> ./list-headlines.ps1 [[-RSS_URL] ] [[-maxLines] ] [] +/home/markus/Repos/PowerShell/scripts/list-headlines.ps1 [[-RSS_URL] ] [[-maxLines] ] [] -RSS_URL Specifies the URL to the RSS feed (Yahoo World News by default) @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-headlines.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-headlines.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index b3e4d9aca..43eeff747 100644 --- a/docs/list-hidden-files.md +++ b/docs/list-hidden-files.md @@ -6,7 +6,7 @@ This PowerShell script scans a directory tree and lists all hidden files. Parameters ---------- ```powershell -PS> ./list-hidden-files.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/list-hidden-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (default is current working dir) @@ -27,7 +27,7 @@ Example ```powershell PS> ./list-hidden-files.ps1 C:\Windows ... -✔️ Found 256 hidden files within 📂C:\Windows in 40 sec +✅ Found 256 hidden files within 📂C:\Windows in 40 sec ``` @@ -52,7 +52,7 @@ Script Content .EXAMPLE PS> ./list-hidden-files.ps1 C:\Windows ... - ✔️ Found 256 hidden files within 📂C:\Windows in 40 sec + ✅ Found 256 hidden files within 📂C:\Windows in 40 sec .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -73,7 +73,7 @@ try { } Write-Progress -completed " " [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Found $count hidden files within 📂$path in $elapsed sec" + "✅ Found $count hidden files within 📂$path in $elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-hidden-files.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-hidden-files.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index 3fbc2e16a..eb882bbd7 100644 --- a/docs/list-installed-languages.md +++ b/docs/list-installed-languages.md @@ -50,4 +50,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-installed-languages.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-installed-languages.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index b3d623027..5c8841a7a 100644 --- a/docs/list-installed-scripts.md +++ b/docs/list-installed-scripts.md @@ -6,7 +6,7 @@ This PowerShell script lists all installed PowerShell scripts. Parameters ---------- ```powershell -PS> ./list-installed-scripts.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-installed-scripts.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Get-InstalledScript exit # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-installed-scripts.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-installed-scripts.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index 5b18e39bf..a8ec4ab1f 100644 --- a/docs/list-installed-software.md +++ b/docs/list-installed-software.md @@ -6,7 +6,7 @@ This PowerShell script lists the installed software (except Windows Store apps). Parameters ---------- ```powershell -PS> ./list-installed-software.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-installed-software.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-installed-software.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-installed-software.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md new file mode 100644 index 000000000..e230e9411 --- /dev/null +++ b/docs/list-internet-ip.md @@ -0,0 +1,73 @@ +Script: *list-internet-ip.ps1* +======================== + +This PowerShell script queries all public IP address information and prints it. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/list-internet-ip.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./list-internet-ip.ps1 +✅ Internet IP 185.72.229.161, 2003:f2:6128:fd01:e543:601:30c2:a028 near Munich, Germany + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Lists the Internet IP address +.DESCRIPTION + This PowerShell script queries all public IP address information and prints it. +.EXAMPLE + PS> ./list-internet-ip.ps1 + ✅ Internet IP 185.72.229.161, 2003:f2:6128:fd01:e543:601:30c2:a028 near Munich, Germany +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + if ($IsLinux) { + [string]$publicIPv4 = (curl -4 --silent ifconfig.co) + [string]$publicIPv6 = (curl -6 --silent ifconfig.co) + [string]$city = (curl --silent ifconfig.co/city) + [string]$country = (curl --silent ifconfig.co/country) + } else { + [string]$publicIPv4 = (curl.exe -4 --silent ifconfig.co) + [string]$publicIPv6 = (curl.exe -6 --silent ifconfig.co) + [string]$city = (curl.exe --silent ifconfig.co/city) + [string]$country = (curl.exe --silent ifconfig.co/country) + } + if ("$publicIPv4" -eq "") { $publicIPv4 = "no IPv4" } + if ("$publicIPv6" -eq "") { $publicIPv6 = "no IPv6" } + if ("$city" -eq "") { $city = "unknown city" } + if ("$country" -eq "") { $country = "unknown country" } + "✅ Internet IP $publicIPv4, $publicIPv6 near $city, $country" + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of list-internet-ip.ps1 as of 11/08/2024 12:34:50)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index bb818f9b1..2f5168181 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -6,7 +6,7 @@ This PowerShell script lists the state of IPv6 on all network interfaces of the Parameters ---------- ```powershell -PS> ./list-ipv6.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-ipv6.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-ipv6.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-ipv6.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index 706e4b7ae..2fb6d24b7 100644 --- a/docs/list-latest-tag.md +++ b/docs/list-latest-tag.md @@ -6,7 +6,7 @@ This PowerShell script lists the latest tag in a local Git repository. Parameters ---------- ```powershell -PS> ./list-latest-tag.ps1 [[-RepoDir] ] [] +/home/markus/Repos/PowerShell/scripts/list-latest-tag.ps1 [[-RepoDir] ] [] -RepoDir Specifies the path to the local repository (current working dir by default) @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-latest-tag.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-latest-tag.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index e6d738e96..fcd53b8f9 100644 --- a/docs/list-latest-tags.md +++ b/docs/list-latest-tags.md @@ -6,7 +6,7 @@ This PowerShell script lists the latest tags in all Git repositories in the spec Parameters ---------- ```powershell -PS> ./list-latest-tags.ps1 [[-ParentDir] ] [] +/home/markus/Repos/PowerShell/scripts/list-latest-tags.ps1 [[-ParentDir] ] [] -ParentDir Specifies the path to the parent folder @@ -85,4 +85,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-latest-tags.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-latest-tags.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md new file mode 100644 index 000000000..e6aa2c631 --- /dev/null +++ b/docs/list-local-ip.md @@ -0,0 +1,65 @@ +Script: *list-local-ip.ps1* +======================== + +list-local-ip.ps1 + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + List local IP addresses +.DESCRIPTION + This PowerShell script queries all local IP address information and prints it. +.EXAMPLE + PS> ./list-local-ip.ps1 + ✅ Local Ethernet IP 192.168.178.21/24, 2003:f2:670b:e700:31e5:de86:b7cd:4e45 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +function WriteLocalInterface($interface) { + $IPv4 = $IPv6 = $prefixLen = "" + $addresses = Get-NetIPAddress + foreach ($addr in $addresses) { + if ($addr.InterfaceAlias -like "$($interface)*") { + if ($addr.AddressFamily -eq "IPv4") { + $IPv4 = $addr.IPAddress + $prefixLen = $addr.PrefixLength + } else { + $IPv6 = $addr.IPAddress + } + } + } + if ($IPv4 -ne "" -or $IPv6 -ne "") { + "✅ Local $interface IP $IPv4/$prefixLen, $IPv6" + } +} + +try { + if ($IsLinux) { exit 0 } + + WriteLocalInterface "Ethernet" + WriteLocalInterface "WLAN" + WriteLocalInterface "Bluetooth" + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of list-local-ip.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index 2f36e9d8d..a3763e362 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-mDNS.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-mDNS.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-memos.md b/docs/list-memos.md index 524294ef5..5831b7dda 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -6,7 +6,7 @@ This PowerShell script lists all entries in 'Remember.csv' in your home folder. Parameters ---------- ```powershell -PS> ./list-memos.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-memos.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -68,4 +68,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-memos.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-memos.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index 67577b172..788e85403 100644 --- a/docs/list-mysql-tables.md +++ b/docs/list-mysql-tables.md @@ -6,7 +6,7 @@ This PowerShell script lists all tables of the given MySQL database. Parameters ---------- ```powershell -PS> ./list-mysql-tables.ps1 [-server] [-database] [-dbuser] [-dbpass] [] +/home/markus/Repos/PowerShell/scripts/list-mysql-tables.ps1 [-server] [-database] [-dbuser] [-dbpass] [] -server @@ -90,4 +90,4 @@ $result = Invoke-MySqlQuery -ConnectionString "server=$server; database=$databa $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-mysql-tables.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-mysql-tables.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index c1aa11abb..cebcdcbc8 100644 --- a/docs/list-network-connections.md +++ b/docs/list-network-connections.md @@ -6,7 +6,7 @@ This PowerShell script lists all active network connections on the local compute Parameters ---------- ```powershell -PS> ./list-network-connections.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-network-connections.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-network-connections.ps1 as of 08/15/2024 09:50:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-network-connections.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index 70be7cfa0..6db62899e 100644 --- a/docs/list-network-neighbors.md +++ b/docs/list-network-neighbors.md @@ -6,7 +6,7 @@ This PowerShell script lists all network neighbors of the local computer (using Parameters ---------- ```powershell -PS> ./list-network-neighbors.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-network-neighbors.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-network-neighbors.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-network-neighbors.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index 2746660c8..ae5fce7d0 100644 --- a/docs/list-network-routes.md +++ b/docs/list-network-routes.md @@ -6,7 +6,7 @@ This PowerShell script lists the network routes on the local computer. Parameters ---------- ```powershell -PS> ./list-network-routes.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-network-routes.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-network-routes.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-network-routes.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index 830ddbcfa..ccebc9637 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -1,12 +1,12 @@ Script: *list-network-shares.ps1* ======================== -This PowerShell script lists all network shares of the local computer. +This PowerShell script lists all network shares (aka "shared folders") of the local computer. Parameters ---------- ```powershell -PS> ./list-network-shares.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-network-shares.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -17,12 +17,7 @@ Example ------- ```powershell PS> ./list-network-shares.ps1 - - - -Name Path Description ----- ---- ----------- -Public C:\Public Public folder for file transfer +✅ Network share \\LAPTOP\Public ("Public folder for file transfer") mapped to: 📂D:\Public ``` @@ -39,15 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Lists the local network shares + Lists the network shares .DESCRIPTION - This PowerShell script lists all network shares of the local computer. + This PowerShell script lists all network shares (aka "shared folders") of the local computer. .EXAMPLE PS> ./list-network-shares.ps1 - - Name Path Description - ---- ---- ----------- - Public C:\Public Public folder for file transfer + ✅ Network share \\LAPTOP\Public ("Public folder for file transfer") mapped to: 📂D:\Public .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -55,7 +47,14 @@ Script Content #> try { - Get-WmiObject win32_share | where {$_.name -NotLike "*$"} + if ($IsLinux) { + # TODO + } else { + $shares = Get-WmiObject win32_share | where {$_.name -NotLike "*$"} + foreach ($share in $shares) { + Write-Output "✅ Network share \\$(hostname)\$($share.Name) (`"$($share.Description)`") mapped to: 📂$($share.Path)" + } + } exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -63,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-network-shares.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-network-shares.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-news.md b/docs/list-news.md index 0a2471023..8e16a9d97 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -6,7 +6,7 @@ This PowerShell script lists the latest news by using a RSS (Really Simple Syndi Parameters ---------- ```powershell -PS> ./list-news.ps1 [[-RSS_URL] ] [[-maxLines] ] [[-speed] ] [] +/home/markus/Repos/PowerShell/scripts/list-news.ps1 [[-RSS_URL] ] [[-maxLines] ] [[-speed] ] [] -RSS_URL Specifies the URL to the RSS feed (Yahoo World News by default) @@ -112,4 +112,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-news.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-news.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-nic.md b/docs/list-nic.md index 1c959973a..4880d6407 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -6,7 +6,7 @@ This PowerShell script lists the details of the installed network interfaces. Parameters ---------- ```powershell -PS> ./list-nic.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-nic.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-nic.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-nic.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index 4840fdbc4..4f29aa25a 100644 --- a/docs/list-nina-warnings.md +++ b/docs/list-nina-warnings.md @@ -6,7 +6,7 @@ This PowerShell script queries the current NINA warnings and lists it. Parameters ---------- ```powershell -PS> ./list-nina-warnings.ps1 [[-ARS] ] [] +/home/markus/Repos/PowerShell/scripts/list-nina-warnings.ps1 [[-ARS] ] [] -ARS Specifies the official regional key in Germany ("Amtlicher Regionalschlüssel", e.g. 09777, none by default) @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-nina-warnings.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-nina-warnings.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md new file mode 100644 index 000000000..c4ee984f9 --- /dev/null +++ b/docs/list-old-branches.md @@ -0,0 +1,87 @@ +Script: *list-old-branches.ps1* +======================== + +This PowerShell script lists branches in a Git repository matching: (1) search pattern, (2) already merged, (3) older than 2024 + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/list-old-branches.ps1 [[-pathToRepo] ] [[-searchPattern] ] [] + +-pathToRepo + Specifies the path to the Git repository (current working directory by default) + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false + +-searchPattern + + Required? false + Position? 2 + Default value origin/dev/* + Accept pipeline input? false + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./list-old-branches.ps1 C:\Repos\UFA +q + +``` + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Lists old Git branches +.DESCRIPTION + This PowerShell script lists branches in a Git repository matching: (1) search pattern, (2) already merged, (3) older than 2024 +.PARAMETER pathToRepo + Specifies the path to the Git repository (current working directory by default) +.EXAMPLE + PS> ./list-old-branches.ps1 C:\Repos\UFA +q#> + +param([string]$pathToRepo = "$PWD", [string]$searchPattern = "origin/dev/*") + +try { + "(1/3) Searching for Git executable... " + & git --version + if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + + "(2/3) Checking local repository..." + if (!(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access repo folder: $pathToRepo" } + + "(3/3) Querying already merged branches with name '$searchPattern'..." + $branches = $(git -C "$pathToRepo" branch --list --remotes --no-color --no-column --merged HEAD "$searchPattern") + if ($lastExitCode -ne "0") { throw "'git branch --list' failed" } + + "" + "LAST COMMIT DATE BRANCH NAME" + "---------------- -----------" + foreach($branch in $branches) { + $branchName = $branch.Trim() # remove leading spaces + + $dateOfLastCommit = (git -C "$pathToRepo" log -1 --format=%cs $branchName) + if ($dateOfLastCommit -like "2024-*") { continue} # too young + + "$dateOfLastCommit $branchName" + } + exit 0 # success +} catch { + Write-Error "Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of list-old-branches.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index dcc66f730..3341f43e6 100644 --- a/docs/list-os-releases.md +++ b/docs/list-os-releases.md @@ -6,7 +6,7 @@ This PowerShell script lists OS releases and download URL. Parameters ---------- ```powershell -PS> ./list-os-releases.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-os-releases.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-os-releases.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-os-releases.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index e611a7e25..203aefbe1 100644 --- a/docs/list-os-updates.md +++ b/docs/list-os-updates.md @@ -6,7 +6,7 @@ This PowerShell script lists the latest updates for operating systems. Parameters ---------- ```powershell -PS> ./list-os-updates.ps1 [[-RSS_URL] ] [[-MaxCount] ] [] +/home/markus/Repos/PowerShell/scripts/list-os-updates.ps1 [[-RSS_URL] ] [[-MaxCount] ] [] -RSS_URL Specifies the URL to the RSS feed @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-os-updates.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-os-updates.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-os.md b/docs/list-os.md index 7227660b5..730c225a4 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -6,7 +6,7 @@ This PowerShell script lists the exact operating system version. Parameters ---------- ```powershell -PS> ./list-os.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-os.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-os.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-os.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index 4acfc051b..85eb78a08 100644 --- a/docs/list-outlook-inbox.md +++ b/docs/list-outlook-inbox.md @@ -6,7 +6,7 @@ This PowerShell script lists the emails in the inbox of Outlook. Parameters ---------- ```powershell -PS> ./list-outlook-inbox.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-outlook-inbox.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-outlook-inbox.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-outlook-inbox.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index c82ef9cf5..58fabc051 100644 --- a/docs/list-outlook-sent.md +++ b/docs/list-outlook-sent.md @@ -6,7 +6,7 @@ This PowerShell script lists the mails in the Sent Mail folder of Outlook. Parameters ---------- ```powershell -PS> ./list-outlook-sent.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-outlook-sent.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-outlook-sent.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-outlook-sent.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-passwords.md b/docs/list-passwords.md index b4b1f0d03..d4aad70a2 100644 --- a/docs/list-passwords.md +++ b/docs/list-passwords.md @@ -6,7 +6,7 @@ This PowerShell script lists random passwords. Parameters ---------- ```powershell -PS> ./list-passwords.ps1 [[-PasswordLength] ] [[-Columns] ] [[-Rows] ] [] +/home/markus/Repos/PowerShell/scripts/list-passwords.ps1 [[-PasswordLength] ] [[-Columns] ] [[-Rows] ] [] -PasswordLength Specifies the length of the password @@ -111,4 +111,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-passwords.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-passwords.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-pins.md b/docs/list-pins.md index 24cb6d59d..e3be02f76 100644 --- a/docs/list-pins.md +++ b/docs/list-pins.md @@ -6,7 +6,7 @@ This PowerShell script lists random PIN's. Parameters ---------- ```powershell -PS> ./list-pins.ps1 [[-PinLength] ] [[-Columns] ] [[-Rows] ] [] +/home/markus/Repos/PowerShell/scripts/list-pins.ps1 [[-PinLength] ] [[-Columns] ] [[-Rows] ] [] -PinLength Specifies the PIN length @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-pins.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-pins.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index f8322acd2..463c764cf 100644 --- a/docs/list-power-schemes.md +++ b/docs/list-power-schemes.md @@ -21,4 +21,4 @@ powercfg /list exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-power-schemes.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-power-schemes.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index f9a59e450..69f94553e 100644 --- a/docs/list-powershell-modules.md +++ b/docs/list-powershell-modules.md @@ -6,7 +6,7 @@ This PowerShell script lists the installed PowerShell modules. Parameters ---------- ```powershell -PS> ./list-powershell-modules.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-powershell-modules.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-powershell-modules.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-powershell-modules.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index 1459fe4f7..847a0d2e7 100644 --- a/docs/list-powershell-profiles.md +++ b/docs/list-powershell-profiles.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-powershell-profiles.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-powershell-profiles.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index b0be17fc0..361a960e1 100644 --- a/docs/list-powershell-verbs.md +++ b/docs/list-powershell-verbs.md @@ -6,7 +6,7 @@ This PowerShell script lists all allowed/recommended verbs in PowerShell. Parameters ---------- ```powershell -PS> ./list-powershell-verbs.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-powershell-verbs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-powershell-verbs.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-powershell-verbs.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index 78b2145f6..088c137df 100644 --- a/docs/list-print-jobs.md +++ b/docs/list-print-jobs.md @@ -6,7 +6,7 @@ This PowerShell script lists all print jobs of all printer devices. Parameters ---------- ```powershell -PS> ./list-print-jobs.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-print-jobs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-print-jobs.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-print-jobs.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 6c7aff1ce..3f67a17a2 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -6,7 +6,7 @@ This PowerShell script lists all printers known to the local computer. Parameters ---------- ```powershell -PS> ./list-printers.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-printers.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-printers.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-printers.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-processes.md b/docs/list-processes.md index 1a5fcfc87..86ea38882 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -6,7 +6,7 @@ This PowerShell script lists all local computer processes. Parameters ---------- ```powershell -PS> ./list-processes.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-processes.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-processes.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-processes.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index b5c2313b2..c6f681871 100644 --- a/docs/list-pull-requests.md +++ b/docs/list-pull-requests.md @@ -6,7 +6,7 @@ This PowerShell script lists all pull requests for a Git repository. Parameters ---------- ```powershell -PS> ./list-pull-requests.ps1 [[-RepoDir] ] [] +/home/markus/Repos/PowerShell/scripts/list-pull-requests.ps1 [[-RepoDir] ] [] -RepoDir Specifies the file path to the local Git repository (default is working directory). @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-pull-requests.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-pull-requests.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-ram.md b/docs/list-ram.md index 9293594c7..b5f0c3043 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -6,7 +6,7 @@ This PowerShell script lists the details of the installed RAM. Parameters ---------- ```powershell -PS> ./list-ram.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-ram.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-ram.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-ram.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index 7ca6599cf..51e79254d 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -6,7 +6,7 @@ This PowerShell script scans a directory tree and lists all read-only files. Parameters ---------- ```powershell -PS> ./list-read-only-files.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/list-read-only-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (current working dir by default) @@ -27,7 +27,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 50 sec ``` @@ -52,7 +52,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 50 sec .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -73,7 +73,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 sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-read-only-files.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-read-only-files.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index 83b7b903e..4a46522bc 100644 --- a/docs/list-recycle-bin.md +++ b/docs/list-recycle-bin.md @@ -6,7 +6,7 @@ This PowerShell script lists the content of the recycle bin folder. Parameters ---------- ```powershell -PS> ./list-recycle-bin.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-recycle-bin.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-recycle-bin.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-recycle-bin.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-repos.md b/docs/list-repos.md index d23b304e7..15d4bf22d 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -1,12 +1,12 @@ Script: *list-repos.ps1* ======================== -This PowerShell script lists all Git repositories in a folder with details such as latest tag/branch/status/URL. +This PowerShell script lists all Git repositories under a folder with details such as latest tag, branch, remote URL, and status. Parameters ---------- ```powershell -PS> ./list-repos.ps1 [[-parentDir] ] [] +/home/markus/Repos/PowerShell/scripts/list-repos.ps1 [[-parentDir] ] [] -parentDir Specifies the path to the parent directory (current working directory by default) @@ -25,13 +25,13 @@ PS> ./list-repos.ps1 [[-parentDir] ] [] Example ------- ```powershell -PS> ./list-repos.ps1 C:\Repos +PS> ./list-repos.ps1 C:\MyRepos -Local Repo Latest Tag Branch Status Remote Repo ----------- ---------- ------ ------ ----------- -📂cmake v3.23.0 main ✔️clean ↓0 git@github.com:Kitware/CMake +REPOSITORY LATEST TAG BRANCH REMOTE URL STATUS +---------- ---------- ------ ---------- ------ +📂cmake v3.30.2 master https://github.com/Kitware/CMake ✅clean ↓0 ... ``` @@ -51,15 +51,15 @@ Script Content .SYNOPSIS Lists Git repositories .DESCRIPTION - This PowerShell script lists all Git repositories in a folder with details such as latest tag/branch/status/URL. + This PowerShell script lists all Git repositories under a folder with details such as latest tag, branch, remote URL, and status. .PARAMETER parentDir Specifies the path to the parent directory (current working directory by default) .EXAMPLE - PS> ./list-repos.ps1 C:\Repos + PS> ./list-repos.ps1 C:\MyRepos - Local Repo Latest Tag Branch Status Remote Repo - ---------- ---------- ------ ------ ----------- - 📂cmake v3.23.0 main ✔️clean ↓0 git@github.com:Kitware/CMake + REPOSITORY LATEST TAG BRANCH REMOTE URL STATUS + ---------- ---------- ------ ---------- ------ + 📂cmake v3.30.2 master https://github.com/Kitware/CMake ✅clean ↓0 ... .LINK https://github.com/fleschutz/PowerShell @@ -70,32 +70,32 @@ Script Content param([string]$parentDir = "$PWD") function ListRepos { - $folders = (Get-ChildItem "$parentDir" -attributes Directory) - foreach($folder in $folders) { - $folderName = (Get-Item "$folder").Name - $latestTagCommitID = (git -C "$folder" rev-list --tags --max-count=1) - if ($latestTagCommitID -ne "") { - $latestTag = (git -C "$folder" describe --tags $latestTagCommitID) + $dirs = (Get-ChildItem "$parentDir" -attributes Directory) + foreach($dir in $dirs) { + $dirName = (Get-Item "$dir").Name + $latestTagCommitID = (git -C "$dir" rev-list --tags --max-count=1) + if ("$latestTagCommitID" -ne "") { + $latestTag = (git -C "$dir" describe --tags $latestTagCommitID) } else { $latestTag = "" } - $branch = (git -C "$folder" branch --show-current) - $remoteURL = (git -C "$folder" remote get-url origin) - $numCommits = (git -C "$folder" rev-list HEAD...origin/$branch --count) - $status = (git -C "$folder" status --short) - if ("$status" -eq "") { $status = "✔️clean" } + $branch = (git -C "$dir" branch --show-current) + $remoteURL = (git -C "$dir" remote get-url origin) + $numCommits = (git -C "$dir" rev-list HEAD...origin/$branch --count) + $status = (git -C "$dir" status --short) + if ("$status" -eq "") { $status = "✅clean" } elseif ("$status" -like " M *") { $status = "⚠️changed" } - New-Object PSObject -property @{'Local Repo'="📂$folderName";'Latest Tag'="$latestTag";'Branch'="$branch";'Status'="$status";'Remote Repo'="↓$numCommits $remoteURL"} + New-Object PSObject -property @{'REPOSITORY'="📂$dirName";'LATEST TAG'="$latestTag";'BRANCH'="$branch";'REMOTE URL'="$remoteURL";'STATUS'="$status ↓$numCommits"} } } try { - if (-not(Test-Path "$parentDir" -pathType container)) { throw "Can't access directory: $parentDir" } + if (-not(Test-Path "$parentDir" -pathType container)) { throw "Can't access parent directory at: $parentDir" } $null = (git --version) if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } - ListRepos | Format-Table -property @{e='Local Repo';width=19},@{e='Latest Tag';width=16},@{e='Branch';width=19},@{e='Status';width=10},'Remote Repo' + ListRepos | Format-Table -property @{e='REPOSITORY';width=19},@{e='LATEST TAG';width=16},@{e='BRANCH';width=19},@{e='REMOTE URL';width=47},@{e='STATUS';width=12} exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -103,4 +103,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-repos.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-repos.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index 4788948e7..8e633d511 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-scripts.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-scripts.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index 5de653a80..96a634219 100644 --- a/docs/list-scsi-devices.md +++ b/docs/list-scsi-devices.md @@ -6,7 +6,7 @@ This PowerShell script lists all SCSI devices connected to the local computer. Parameters ---------- ```powershell -PS> ./list-scsi-devices.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-scsi-devices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-scsi-devices.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-scsi-devices.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-services.md b/docs/list-services.md index 80ccec40b..7653ec75b 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -6,7 +6,7 @@ This PowerShell script lists all services installed on the local computer. Parameters ---------- ```powershell -PS> ./list-services.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-services.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-services.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-services.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index 8c5933265..4b8f17888 100644 --- a/docs/list-special-folders.md +++ b/docs/list-special-folders.md @@ -105,4 +105,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-special-folders.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-special-folders.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index fa49def60..28d31b20f 100644 --- a/docs/list-sql-tables.md +++ b/docs/list-sql-tables.md @@ -8,7 +8,7 @@ Run the above command if you do not have this module. Parameters ---------- ```powershell -PS> ./list-sql-tables.ps1 [-server] [-database] [-username] [-password] [] +/home/markus/Repos/PowerShell/scripts/list-sql-tables.ps1 [-server] [-database] [-username] [-password] [] -server @@ -93,4 +93,4 @@ $result = Invoke-SqlServerQuery -Credential $creds -ConnectionTimeout 10000 -Dat $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-sql-tables.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-sql-tables.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md new file mode 100644 index 000000000..32e97bfc9 --- /dev/null +++ b/docs/list-ssh-key.md @@ -0,0 +1,64 @@ +Script: *list-ssh-key.ps1* +======================== + +This PowerShell script lists the user's public SSH key. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/list-ssh-key.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./list-ssh-key.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Lists the public SSH key +.DESCRIPTION + This PowerShell script lists the user's public SSH key. +.EXAMPLE + PS> ./list-ssh-key.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + if (Test-Path "~/.ssh/id_ed25519.pub") { + $key = Get-Content "~/.ssh/id_ed25519.pub" + } elseif (Test-Path "~/.ssh/id_rsa.pub") { + $key = Get-Content "~/.ssh/id_rsa.pub" + } else { + "⚠️ No SSH key found - execute 'new-ssh-key.ps1' to create one" + exit 1 + } + "✅ Public SSH key: $key" + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of list-ssh-key.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index 5b0942d6b..0a0bad9b0 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -6,7 +6,7 @@ This PowerShell script lists the submodules in the given Git repository. Parameters ---------- ```powershell -PS> ./list-submodules.ps1 [[-RepoDir] ] [] +/home/markus/Repos/PowerShell/scripts/list-submodules.ps1 [[-RepoDir] ] [] -RepoDir Specifies the path to the repository (current working directory by default) @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-submodules.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-submodules.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index ee3283c24..08d27ac2f 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -6,7 +6,7 @@ This PowerShell script lists "Did you mean?" suggestions from Google. Parameters ---------- ```powershell -PS> ./list-suggestions.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/list-suggestions.ps1 [[-text] ] [] -text Specifies the word or sentence to get suggestions for. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-suggestions.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-suggestions.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index b1fa34811..82627c178 100644 --- a/docs/list-system-devices.md +++ b/docs/list-system-devices.md @@ -6,7 +6,7 @@ This PowerShell script lists all system devices connected to the local computer. Parameters ---------- ```powershell -PS> ./list-system-devices.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-system-devices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-system-devices.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-system-devices.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index f8a89c7f9..f4301718b 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -6,7 +6,7 @@ This PowerShell script scans a directory tree and lists all system files. Parameters ---------- ```powershell -PS> ./list-system-files.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/list-system-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (default is current working dir) @@ -27,7 +27,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 50 sec ``` @@ -52,7 +52,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 50 sec .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -73,7 +73,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 sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-system-files.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-system-files.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index aa04abb71..f0d555fed 100644 --- a/docs/list-system-info.md +++ b/docs/list-system-info.md @@ -6,7 +6,7 @@ This PowerShell script lists system information of the local computer. Parameters ---------- ```powershell -PS> ./list-system-info.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-system-info.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -141,4 +141,4 @@ $info exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-system-info.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-system-info.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-tags.md b/docs/list-tags.md index c72f8e3d2..9b26c832c 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -6,7 +6,7 @@ This PowerShell script fetches all tags in a local Git repository and lists it ( Parameters ---------- ```powershell -PS> ./list-tags.ps1 [[-repoDir] ] [[-searchPattern] ] [] +/home/markus/Repos/PowerShell/scripts/list-tags.ps1 [[-repoDir] ] [[-searchPattern] ] [] -repoDir Specifies the path to the Git repository (current working directory by default) @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-tags.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-tags.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index 771c2d65e..2edde02bf 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -25,18 +25,18 @@ Script Content .EXAMPLE PS> ./list-tasks.ps1 - TaskName State TaskPath - -------- ----- -------- - .NET Framework NGEN v4.0.30319 Ready \Microsoft\Windows\.NET Framework\ + TASKNAME TASKPATH STATE + -------- -------- ----- + .NET Framework NGEN v4.0.30319 \Microsoft\Windows\.NET Framework\ Ready ... .LINK - https://github.com/fleschutz/PowerShell + https://github.com/fleschutz/PowerShell0 .NOTES Author: Markus Fleschutz | License: CC0 #> try { - Get-ScheduledTask | Format-Table -property TaskName,State,TaskPath + Get-ScheduledTask | Format-Table -property @{e='TASKNAME';width=40},@{e='TASKPATH';width=55},@{e='STATE';width=10} exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -44,4 +44,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-tasks.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-tasks.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index 699433cb6..bdb4ab698 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -6,7 +6,7 @@ This PowerShell script lists the details of the current time zone. Parameters ---------- ```powershell -PS> ./list-timezone.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-timezone.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-timezone.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-timezone.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 456e14e22..7ea053bf8 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -6,7 +6,7 @@ This PowerShell script lists all available time zones. Parameters ---------- ```powershell -PS> ./list-timezones.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-timezones.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-timezones.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-timezones.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index 6df49d40a..143b63ae7 100644 --- a/docs/list-tiobe-index.md +++ b/docs/list-tiobe-index.md @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-tiobe-index.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-tiobe-index.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index e4318e465..2f33b4026 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -6,7 +6,7 @@ This PowerShell script scans a directory tree and lists unused files (no read/wr Parameters ---------- ```powershell -PS> ./list-unused-files.ps1 [[-path] ] [[-days] ] [] +/home/markus/Repos/PowerShell/scripts/list-unused-files.ps1 [[-path] ] [[-days] ] [] -path Specifies the path to the directory tree (current working dir by default) @@ -36,7 +36,7 @@ Example ```powershell PS> ./list-unused-files.ps1 C:\Windows ... -✔️ Found 43729 unused files (no access for 100 days) within 📂C:\Windows in 113 sec +✅ Found 43729 unused files (no access for 100 days) within 📂C:\Windows in 113 sec ``` @@ -63,7 +63,7 @@ Script Content .EXAMPLE PS> ./list-unused-files.ps1 C:\Windows ... - ✔️ Found 43729 unused files (no access for 100 days) within 📂C:\Windows in 113 sec + ✅ Found 43729 unused files (no access for 100 days) within 📂C:\Windows in 113 sec .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -87,7 +87,7 @@ try { Write-Progress -completed " " [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Found $count unused files (no access for $days days) within 📂$path in $elapsed sec" + "✅ Found $count unused files (no access for $days days) within 📂$path in $elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -95,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-unused-files.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-unused-files.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-updates.md b/docs/list-updates.md index d0440e927..c1f962513 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -8,7 +8,7 @@ NOTE: Use the script 'install-updates.ps1' to install the listed updates. Parameters ---------- ```powershell -PS> ./list-updates.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-updates.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -76,7 +76,7 @@ try { Write-Progress -completed "Done." } " " - "NOTE: Use the script 'install-updates.ps1' to install the listed updates." + "NOTE: Execute script 'install-updates.ps1' to install the listed updates." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-updates.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-updates.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index b48b48189..c016453dd 100644 --- a/docs/list-usb-devices.md +++ b/docs/list-usb-devices.md @@ -6,7 +6,7 @@ This PowerShell script lists all USB devices connected to the local computer. Parameters ---------- ```powershell -PS> ./list-usb-devices.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-usb-devices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-usb-devices.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-usb-devices.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 9e86408ae..0a7feab77 100644 --- a/docs/list-user-accounts.md +++ b/docs/list-user-accounts.md @@ -6,7 +6,7 @@ This PowerShell script lists the user accounts on the local computer. Parameters ---------- ```powershell -PS> ./list-user-accounts.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-user-accounts.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -45,7 +45,11 @@ Script Content #> try { - & net user + if ($IsLinux) { + & getent passwd + } else { + & net user + } exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -53,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-user-accounts.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-user-accounts.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index fc487dac7..fa9390513 100644 --- a/docs/list-user-groups.md +++ b/docs/list-user-groups.md @@ -6,7 +6,7 @@ This PowerShell script lists the user groups of the local computer. Parameters ---------- ```powershell -PS> ./list-user-groups.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-user-groups.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-user-groups.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-user-groups.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-voices.md b/docs/list-voices.md index 0ecbf0d82..13a672488 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -6,7 +6,7 @@ This PowerShell script queries the installed text-to-speech (TTS) voices and pri Parameters ---------- ```powershell -PS> ./list-voices.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-voices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-voices.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-voices.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-weather.md b/docs/list-weather.md index 255e73c86..5f3ecc5c0 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -6,7 +6,7 @@ This PowerShell script queries the 48h weather report from wttr.in and lists it Parameters ---------- ```powershell -PS> ./list-weather.ps1 [[-location] ] [] +/home/markus/Repos/PowerShell/scripts/list-weather.ps1 [[-location] ] [] -location Specifies the location to use (determined automatically by default) @@ -172,9 +172,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Sorry: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-weather.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-weather.ps1 as of 11/08/2024 12:34:51)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index 9dd4b8ea2..bc4e4d7e2 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -6,7 +6,7 @@ This PowerShell script lists the WIFI networks. Parameters ---------- ```powershell -PS> ./list-wifi.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-wifi.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-wifi.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-wifi.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index ca3421b00..57395b7da 100644 --- a/docs/list-window-titles.md +++ b/docs/list-window-titles.md @@ -6,7 +6,7 @@ This PowerShell script queries all main window titles and lists them as a table. Parameters ---------- ```powershell -PS> ./list-window-titles.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-window-titles.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-window-titles.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-window-titles.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index 97f982744..64cd0d620 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -6,7 +6,7 @@ This PowerShell script lists the path to current working directory (but not the Parameters ---------- ```powershell -PS> ./list-workdir.ps1 [] +/home/markus/Repos/PowerShell/scripts/list-workdir.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-workdir.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-workdir.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index 094b28567..ff7bb09bd 100644 --- a/docs/list-wsl-distros.md +++ b/docs/list-wsl-distros.md @@ -1,26 +1,68 @@ Script: *list-wsl-distros.ps1* ======================== -list-wsl-distros.ps1 - +This PowerShell script lists installed/available Linux distributions for Windows Subsystem for Linux (WSL). Parameters ---------- ```powershell - +/home/markus/Repos/PowerShell/scripts/list-wsl-distros.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS> ./list-wsl-distros.ps1 +NAME STATE VERSION +* Ubuntu-24.04 Stopped 2 +... + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell -& wsl.exe --list --online -" " -& wsl.exe --status -exit 0 # success +<# +.SYNOPSIS + Lists distros for Windows Subsystem for Linux +.DESCRIPTION + This PowerShell script lists installed/available Linux distributions for Windows Subsystem for Linux (WSL). +.EXAMPLE + PS> ./list-wsl-distros.ps1 + NAME STATE VERSION + * Ubuntu-24.04 Stopped 2 + ... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + if ($IsLinux -or $IsMacOS) { throw "Requires Windows Subsystem for Linux (WSL)" } + + & wsl.exe --list --verbose + " " + & wsl.exe --list --online + " " + & wsl.exe --status + exit 0 # success +} catch { + "⚠️ Error: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + exit 1 +} ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-wsl-distros.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-wsl-distros.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/locate-city.md b/docs/locate-city.md index 4c344e8d7..5c8cdf8a8 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -6,7 +6,7 @@ This PowerShell script prints the geographic location of the given city. Parameters ---------- ```powershell -PS> ./locate-city.ps1 [[-city] ] [] +/home/markus/Repos/PowerShell/scripts/locate-city.ps1 [[-city] ] [] -city Specifies the name of the city to look for @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of locate-city.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of locate-city.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index c200446a3..b7df28c79 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -46,4 +46,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of locate-ipaddress.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of locate-ipaddress.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index b4b71f4dd..818828025 100644 --- a/docs/locate-my-phone.md +++ b/docs/locate-my-phone.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Find My Device w Parameters ---------- ```powershell -PS> ./locate-my-phone.ps1 [] +/home/markus/Repos/PowerShell/scripts/locate-my-phone.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of locate-my-phone.ps1 as of 08/15/2024 09:50:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of locate-my-phone.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index c12df9d33..a13399af7 100644 --- a/docs/locate-zip-code.md +++ b/docs/locate-zip-code.md @@ -6,7 +6,7 @@ This PowerShell script prints the geographic location of the given zip-code. Parameters ---------- ```powershell -PS> ./locate-zip-code.ps1 [[-CountryCode] ] [[-ZipCode] ] [] +/home/markus/Repos/PowerShell/scripts/locate-zip-code.ps1 [[-CountryCode] ] [[-ZipCode] ] [] -CountryCode Specifies the country code @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of locate-zip-code.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of locate-zip-code.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index 9a63088a5..7b6929d6f 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -6,7 +6,7 @@ This PowerShell script locks the local computer desktop immediately. Parameters ---------- ```powershell -PS> ./lock-desktop.ps1 [] +/home/markus/Repos/PowerShell/scripts/lock-desktop.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of lock-desktop.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of lock-desktop.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/log-off.md b/docs/log-off.md index e7fe623b1..40b809134 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -6,7 +6,7 @@ This PowerShell script logs off the current Windows user. Parameters ---------- ```powershell -PS> ./log-off.ps1 [] +/home/markus/Repos/PowerShell/scripts/log-off.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of log-off.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of log-off.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/make-install.md b/docs/make-install.md index 1f455d4a7..e54ab3551 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -6,7 +6,7 @@ This PowerShell script copies newer EXE's + DLL's from the build directory to th Parameters ---------- ```powershell -PS> ./make-install.ps1 [] +/home/markus/Repos/PowerShell/scripts/make-install.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,7 +56,7 @@ try { echo ------------------------------------------------------------------------------ echo. - "✔️ synced to %DST_DIR%" + "✅ synced to %DST_DIR%" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of make-install.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of make-install.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index 072693ac9..f2a437d7f 100644 --- a/docs/measure-BubbleSort.md +++ b/docs/measure-BubbleSort.md @@ -10,7 +10,7 @@ comparison sort, is named for the way smaller or larger elements "bubble" to the Parameters ---------- ```powershell -PS> ./measure-BubbleSort.ps1 [[-numIntegers] ] [] +/home/markus/Repos/PowerShell/scripts/measure-BubbleSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -92,4 +92,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-BubbleSort.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-BubbleSort.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index f25377cc6..f4251c921 100644 --- a/docs/measure-BucketSort.md +++ b/docs/measure-BucketSort.md @@ -15,7 +15,7 @@ to use, and whether the input is uniformly distributed. Parameters ---------- ```powershell -PS> ./measure-BucketSort.ps1 [[-numIntegers] ] [] +/home/markus/Repos/PowerShell/scripts/measure-BucketSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -120,4 +120,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-BucketSort.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-BucketSort.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index 872f9fc52..238226c3a 100644 --- a/docs/measure-CountingSort.md +++ b/docs/measure-CountingSort.md @@ -15,7 +15,7 @@ can handle larger keys more efficiently. Parameters ---------- ```powershell -PS> ./measure-CountingSort.ps1 [[-numIntegers] ] [] +/home/markus/Repos/PowerShell/scripts/measure-CountingSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -111,4 +111,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-CountingSort.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-CountingSort.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index ce4c48709..fd35e1c04 100644 --- a/docs/measure-HeapSort.md +++ b/docs/measure-HeapSort.md @@ -13,7 +13,7 @@ find the largest element in each step. Parameters ---------- ```powershell -PS> ./measure-HeapSort.ps1 [[-numIntegers] ] [] +/home/markus/Repos/PowerShell/scripts/measure-HeapSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -126,4 +126,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-HeapSort.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-HeapSort.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index 4fbe3eab8..a655b410f 100644 --- a/docs/measure-InsertionSort.md +++ b/docs/measure-InsertionSort.md @@ -9,7 +9,7 @@ such as quicksort, heapsort, or merge sort. Parameters ---------- ```powershell -PS> ./measure-InsertionSort.ps1 [[-numIntegers] ] [] +/home/markus/Repos/PowerShell/scripts/measure-InsertionSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -53,14 +53,14 @@ Script Content one item at a time. It is much less efficient on large lists than more advanced algorithms such as quicksort, heapsort, or merge sort. .PARAMETER numIntegers - Specifies the number of integers to sort + Specifies the number of integers to sort .EXAMPLE - PS> ./measure-InsertionSort.ps1 + PS> ./measure-InsertionSort.ps1 🧭 0.423 sec to sort 1000 integers by InsertionSort .LINK - https://github.com/fleschutz/PowerShell + https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz | License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([int]$numIntegers = 1000) @@ -95,4 +95,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-InsertionSort.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-InsertionSort.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index 57f0717a0..63ba067cf 100644 --- a/docs/measure-MergeSort.md +++ b/docs/measure-MergeSort.md @@ -11,7 +11,7 @@ merge sort appeared in a report by Goldstine and von Neumann as early as 1948. Parameters ---------- ```powershell -PS> ./measure-MergeSort.ps1 [[-numIntegers] ] [] +/home/markus/Repos/PowerShell/scripts/measure-MergeSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -120,4 +120,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-MergeSort.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-MergeSort.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index 5f59d9e50..b6d668135 100644 --- a/docs/measure-QuickSort.md +++ b/docs/measure-QuickSort.md @@ -10,7 +10,7 @@ two or three times faster than heapsort. Parameters ---------- ```powershell -PS> ./measure-QuickSort.ps1 [[-numIntegers] ] [] +/home/markus/Repos/PowerShell/scripts/measure-QuickSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -101,4 +101,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-QuickSort.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-QuickSort.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index 7f1174d36..3c47b7a9c 100644 --- a/docs/measure-SelectionSort.md +++ b/docs/measure-SelectionSort.md @@ -11,7 +11,7 @@ is limited. Parameters ---------- ```powershell -PS> ./measure-SelectionSort.ps1 [[-numIntegers] ] [] +/home/markus/Repos/PowerShell/scripts/measure-SelectionSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -94,4 +94,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-SelectionSort.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-SelectionSort.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index acc6eeac1..19f268b53 100644 --- a/docs/measure-sorting-algorithms.md +++ b/docs/measure-sorting-algorithms.md @@ -6,7 +6,7 @@ This PowerShell script measures the speed of several sorting algorithms and prin Parameters ---------- ```powershell -PS> ./measure-sorting-algorithms.ps1 [[-numIntegers] ] [] +/home/markus/Repos/PowerShell/scripts/measure-sorting-algorithms.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort (3000 by default) @@ -73,4 +73,4 @@ param([int]$numIntegers = 3000) exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-sorting-algorithms.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-sorting-algorithms.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index 78d78af6a..bb2b5eaa8 100644 --- a/docs/merry-christmas.md +++ b/docs/merry-christmas.md @@ -6,7 +6,7 @@ This PowerShell script replies to 'Merry Christmas' by text-to-speech (TTS). Parameters ---------- ```powershell -PS> ./merry-christmas.ps1 [] +/home/markus/Repos/PowerShell/scripts/merry-christmas.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ $Reply = "Merry Christmas to you too!", "Happy Christmas to you too!" | Get-Rand exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of merry-christmas.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of merry-christmas.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index b17988341..1040ea2aa 100644 --- a/docs/minimize-all-windows.md +++ b/docs/minimize-all-windows.md @@ -6,7 +6,7 @@ This PowerShell script minimizes all open windows. Parameters ---------- ```powershell -PS> ./minimize-all-windows.ps1 [] +/home/markus/Repos/PowerShell/scripts/minimize-all-windows.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of minimize-all-windows.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of minimize-all-windows.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index 008e3fa5f..53fe5f8c2 100644 --- a/docs/move-mouse-pointer.md +++ b/docs/move-mouse-pointer.md @@ -6,7 +6,7 @@ This PowerShell script moves the mouse pointer either to the given x/y coordinat Parameters ---------- ```powershell -PS> ./move-mouse-pointer.ps1 [[-x] ] [[-y] ] [] +/home/markus/Repos/PowerShell/scripts/move-mouse-pointer.ps1 [[-x] ] [[-y] ] [] -x Specifies the x coordinate in pixels @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of move-mouse-pointer.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of move-mouse-pointer.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/move-vm.md b/docs/move-vm.md index 6c4a059ce..5a97566b5 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of move-vm.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of move-vm.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/my-profile.md b/docs/my-profile.md index 4f17f1976..1a0a9c1e0 100644 --- a/docs/my-profile.md +++ b/docs/my-profile.md @@ -17,25 +17,26 @@ Parameters Script Content -------------- ```powershell -# MY POWERSHELL PROFILE (defines the look & feel of PowerShell) +# MY POWERSHELL PROFILE - it defines the look & feel of PowerShell. # WINDOW TITLE if ($IsLinux) { $username = $(whoami) } else { $username = $env:USERNAME } $host.ui.RawUI.WindowTitle = "$username @ $(hostname)" # GREETING -Write-Host "👋 Welcome $username to $(hostname)'s PowerShell - type 'hlp' for help." -foregroundColor green +Write-Host "👋 Welcome $username to $(hostname)'s PowerShell - type 'hlp' if you need help." -foregroundColor green -# COMMAND PROMPT +# PROMPT function prompt { Write-Host "`n➤ " -noNewline -foregroundColor yellow; return " " } -# ALIAS NAMES -del alias:pwd -force -errorAction SilentlyContinue -set-alias -name hlp -value open-help.ps1 -set-alias -name pwd -value list-workdir.ps1 # pwd = print working directory -set-alias -name ll -value get-childitem # ll = list folder (long format) +# ALIASES +set-alias -name enter -value enter-host.ps1 +set-alias -name hlp -value write-help.ps1 +set-alias -name ll -value Get-ChildItem # ll = list folder (long format) del alias:ls -force -errorAction SilentlyContinue set-alias -name ls -value list-folder.ps1 # ls = list folder (short format) +del alias:pwd -force -errorAction SilentlyContinue +set-alias -name pwd -value list-workdir.ps1 # pwd = print working directory ``` -*(generated by convert-ps2md.ps1 using the comment-based help of my-profile.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of my-profile.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/new-branch.md b/docs/new-branch.md index 80c3424eb..c33f39dba 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -6,7 +6,7 @@ This PowerShell script creates a new branch in a local Git repository and switch Parameters ---------- ```powershell -PS> ./new-branch.ps1 [[-newBranch] ] [[-pathToRepo] ] [] +/home/markus/Repos/PowerShell/scripts/new-branch.ps1 [[-newBranch] ] [[-pathToRepo] ] [] -newBranch Specifies the new Git branch name @@ -41,7 +41,7 @@ PS> ./new-branch.ps1 test123 ⏳ (4/6) Creating new branch... ⏳ (5/6) Pushing updates... ⏳ (6/6) Updating submodules... -✔️ Created branch 'test123' based on 'main' in 📂rust repo in 18s. +✅ Created branch 'test123' based on 'main' in 📂rust repo in 18s. ``` @@ -73,7 +73,7 @@ Script Content ⏳ (4/6) Creating new branch... ⏳ (5/6) Pushing updates... ⏳ (6/6) Updating submodules... - ✔️ Created branch 'test123' based on 'main' in 📂rust repo in 18s. + ✅ Created branch 'test123' based on 'main' in 📂rust repo in 18s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -120,7 +120,7 @@ try { if ($lastExitCode -ne "0") { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Created branch '$newBranch' based on '$currentBranch' in 📂$repoName repo in $($elapsed)s." + "✅ Created branch '$newBranch' based on '$currentBranch' in 📂$repoName repo in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -128,4 +128,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-branch.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-branch.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 68d8c1e3a..91c0b03ef 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -6,7 +6,7 @@ This PowerShell script creates an empty new directory in the filesystem. Parameters ---------- ```powershell -PS> ./new-dir.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/new-dir.ps1 [[-path] ] [] -path Specifies the path and filename of the new directory @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./new-dir.ps1 MyCollection -✔️ New 📂C:\Temp\MyCollection created. +✅ New 📂C:\Temp\MyCollection created. ``` @@ -50,7 +50,7 @@ Script Content Specifies the path and filename of the new directory .EXAMPLE PS> ./new-dir.ps1 MyCollection - ✔️ New 📂C:\Temp\MyCollection created. + ✅ New 📂C:\Temp\MyCollection created. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -67,7 +67,7 @@ try { $null = (New-Item -itemType directory -path $path) $path = Resolve-Path $path - "✔️ New 📂$path created." + "✅ New 📂$path created." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-dir.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-dir.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/new-email.md b/docs/new-email.md index e1d40c426..0fc2764a7 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -6,7 +6,7 @@ This PowerShell script opens the default email client to write a new email. Parameters ---------- ```powershell -PS> ./new-email.ps1 [[-EmailAddress] ] [] +/home/markus/Repos/PowerShell/scripts/new-email.ps1 [[-EmailAddress] ] [] -EmailAddress Specifies the email address fill in @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-email.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-email.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index d044e10fa..4b1d1ef0e 100644 --- a/docs/new-linux-vm.md +++ b/docs/new-linux-vm.md @@ -38,4 +38,4 @@ $VMName = "linux" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-linux-vm.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-linux-vm.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 4d5bac20d..77eb1fecc 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -6,9 +6,9 @@ This PowerShell script generates a new QR code image file. Parameters ---------- ```powershell -PS> ./new-qrcode.ps1 [[-Text] ] [[-ImageSize] ] [] +/home/markus/Repos/PowerShell/scripts/new-qrcode.ps1 [[-text] ] [[-imageSize] ] [[-fileFormat] ] [] --Text +-text Specifies the text to use Required? false @@ -17,7 +17,7 @@ PS> ./new-qrcode.ps1 [[-Text] ] [[-ImageSize] ] [ +-imageSize Specifies the image size (width x height) Required? false @@ -26,6 +26,15 @@ PS> ./new-qrcode.ps1 [[-Text] ] [[-ImageSize] ] [ + Specifies the image file format + + Required? false + Position? 3 + Default value + Accept pipeline input? false + Accept wildcard characters? false + [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. @@ -34,7 +43,7 @@ PS> ./new-qrcode.ps1 [[-Text] ] [[-ImageSize] ] [ ./new-qrcode.ps1 "Fasten seatbelt" 500x500 +PS> ./new-qrcode.ps1 "Fasten seatbelt" 500x500 JPG ``` @@ -51,49 +60,49 @@ Script Content ```powershell <# .SYNOPSIS - Generates a QR code + Creates a QR code .DESCRIPTION This PowerShell script generates a new QR code image file. -.PARAMETER Text +.PARAMETER text Specifies the text to use -.PARAMETER ImageSize +.PARAMETER imageSize Specifies the image size (width x height) +.PARAMETER fileFormat + Specifies the image file format .EXAMPLE - PS> ./new-qrcode.ps1 "Fasten seatbelt" 500x500 + PS> ./new-qrcode.ps1 "Fasten seatbelt" 500x500 JPG .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$Text = "", [string]$ImageSize = "") +param([string]$text = "", [string]$imageSize = "", [string]$fileFormat = "") try { - if ($Text -eq "") { $Text = read-host "Enter text or URL" } - if ($ImageSize -eq "") { $ImageSize = read-host "Enter image size (e.g. 500x500)" } + if ($text -eq "") { $text = Read-Host "Enter text or URL" } + if ($imageSize -eq "") { $imageSize = Read-Host "Enter image size, e.g. 500x500" } + if ($fileFormat -eq "") { $fileFormat = Read-Host "Enter the image file format, e.g. JPG" } $ECC = "M" # can be L, M, Q, H $QuietZone = 1 $ForegroundColor = "000000" $BackgroundColor = "ffffff" - $FileFormat = "jpg" if ($IsLinux) { - $PathToPics = Resolve-Path "$HOME/Pictures" + $pathToPictures = Resolve-Path "$HOME/Pictures" } else { - $PathToPics = [Environment]::GetFolderPath('MyPictures') - } - if (-not(Test-Path "$PathToPics" -pathType container)) { - throw "Pictures folder at 📂$Path doesn't exist (yet)" + $pathToPictures = [Environment]::GetFolderPath('MyPictures') } - $NewFile = "$PathToPics/QR_code.jpg" + if (-not(Test-Path "$pathToPictures" -pathType container)) { throw "Pictures folder at 📂$Path doesn't exist (yet)" } + $newFile = "$pathToPictures/QR_code.$fileFormat" - $WebClient = new-object System.Net.WebClient - $WebClient.DownloadFile(("http://api.qrserver.com/v1/create-qr-code/?data=" + $Text + "&ecc=" + $ECC +` - "&size=" + $ImageSize + "&qzone=" + $QuietZone + ` + $WebClient = New-Object System.Net.WebClient + $WebClient.DownloadFile(("http://api.qrserver.com/v1/create-qr-code/?data=" + $text + "&ecc=" + $ECC +` + "&size=" + $imageSize + "&qzone=" + $QuietZone + ` "&color=" + $ForegroundColor + "&bgcolor=" + $BackgroundColor.Text + ` - "&format=" + $FileFormat), $NewFile) + "&format=" + $fileFormat), $newFile) - "✔️ saved new QR code image file to: $NewFile" + "✅ New QR code saved as: $newFile" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -101,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-qrcode.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-qrcode.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md new file mode 100644 index 000000000..eb2260d8b --- /dev/null +++ b/docs/new-reboot-task.md @@ -0,0 +1,137 @@ +Script: *new-reboot-task.ps1* +======================== + +new-reboot-task.ps1 + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Script Content +-------------- +```powershell +# Skript zum erstellen bzw. Anpassen eine Neustarttasks +# Stannek GmbH - Version 1.3 - 15.06.2023 ES + +# Diese Skript muss als Administrator ausgeführt werden, ansonsten wird es nicht gestartet +#Requires -RunAsAdministrator + +# Parameter +$TaskName = "einmaliger Neustart" + +# Assemblys laden +Add-Type -AssemblyName System.Windows.Forms + +## Abfrage Fenster ## + +# Erstellt das Hauptfenster +$font = New-Object System.Drawing.Font("Arial", 11) +$mainForm = New-Object System.Windows.Forms.Form +$mainForm.Text = "Neustart-Task planen" +$mainForm.Font = $font +$mainForm.ForeColor = "Black" +$mainForm.BackColor = "White" +$mainForm.Width = 300 +$mainForm.Height = 200 +$mainForm.StartPosition = "CenterScreen" +$mainForm.MaximizeBox = $False + +# Erzeugt das Description Label +$DescriptLabel = New-Object System.Windows.Forms.Label +$DescriptLabel.Text = "Wann soll der Computer neustarten?" +$DescriptLabel.Location = "15, 10" +$DescriptLabel.Height = 22 +$DescriptLabel.Width = 280 +# Fügt Label zum Hauptfenster hinzu +$mainForm.Controls.Add($DescriptLabel) + + +# Rezeugt das DatePicker Label +$datePickerLabel = New-Object System.Windows.Forms.Label +$datePickerLabel.Text = "Datum" +$datePickerLabel.Location = "15, 45" +$datePickerLabel.Height = 22 +$datePickerLabel.Width = 90 +# Fügt Label zum Hauptfenster hinzu +$mainForm.Controls.Add($datePickerLabel) + +# Erzeugt das TimePicker Label +$TimePickerLabel = New-Object System.Windows.Forms.Label +$TimePickerLabel.Text = "Uhrzeit" +$TimePickerLabel.Location = "15, 80" +$TimePickerLabel.Height = 22 +$TimePickerLabel.Width = 90 +# Fügt Label zum Hauptfenster hinzu +$mainForm.Controls.Add($TimePickerLabel) + +# Erzeugt das DatePicker-Feld +$datePicker = New-Object System.Windows.Forms.DateTimePicker +$datePicker.Location = "110, 42" +$datePicker.Width = "150" +$datePicker.Format = [windows.forms.datetimepickerFormat]::custom +$datePicker.CustomFormat = "dd/MM/yyyy" +# Fügt DatePicker-Feld zum Hauptfenster hinzu +$mainForm.Controls.Add($datePicker) + +# Erzeugt das TimePicker-Feld +$TimePicker = New-Object System.Windows.Forms.DateTimePicker +$TimePicker.Location = "110, 77" +$TimePicker.Width = "150" +$TimePicker.Format = [windows.forms.datetimepickerFormat]::custom +$TimePicker.CustomFormat = "HH:mm" +$TimePicker.ShowUpDown = $TRUE +# Fügt TimePicker-Feld zum Hauptfenster hinzu +$mainForm.Controls.Add($TimePicker) + +# Erzeugt den OK Button +$okButton = New-Object System.Windows.Forms.Button +$okButton.Location = "15, 130" +$okButton.ForeColor = "Black" +$okButton.BackColor = "White" +$okButton.Text = "OK" +# Legt die Button Aktion fest (DialogResult auf OK und Eingabefenster schließen +$okButton.add_Click({$mainForm.DialogResult = "OK";$mainForm.close()}) +# Fügt Button zum Hauptfenster hinzu +$mainForm.Controls.Add($okButton) + +# Fensterausgabe +[void] $mainForm.ShowDialog() + +## Ende Abfrage Fenster ## + +# Skript abbrechen, wenn Fenster geschlossen wird +If ($mainForm.DialogResult -eq "Cancel") {Break} + +# Datum und Uhrzeit aus Abfrage für Task aufbereiten +$TaskDatetrigger = Get-Date -Date $datePicker.Value.Date -Hour $TimePicker.Value.TimeOfDay.Hours -Minute $TimePicker.Value.TimeOfDay.Minutes + +# Erstelle Task oder passe vorhanden Task an + +# TaskTrigger Zeit setzen +$TaskTrigger = New-ScheduledTaskTrigger -At $TaskDatetrigger -Once + +If ((Get-ScheduledTask -TaskName $Taskname -ErrorAction SilentlyContinue).TaskName -eq $TaskName) + {# Setzt den neue Tasktrigger + Set-ScheduledTask -TaskName $Taskname -Trigger $TaskTrigger + } +Else + {# Erstellt Neustart Task, da keiner vorhanden ist + $TaskAction = New-ScheduledTaskAction -Execute "shutdown.exe" -Argument "/r /f /t 5" + $TaskSettings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries -StartWhenAvailable -ExecutionTimeLimit 00:15:00 + $TaskSettings.StartWhenAvailable = $false + $TaskPrincipal = New-ScheduledTaskPrincipal -UserId $(Get-WMIObject -class Win32_ComputerSystem | select UserName).username -RunLevel Highest -LogonType Interactive + Register-ScheduledTask -Action $TaskAction -Trigger $TaskTrigger -Settings $TaskSettings -Principal $TaskPrincipal -TaskName $TaskName -Description "Führt einen Neustart des Computers zu einer festgelegten Zeit aus" + } + +# Pruefe Task ob dieser deaktiviert ist +If ((Get-ScheduledTask -TaskName $Taskname).State -eq "Disabled") {Enable-ScheduledTask -TaskName $TaskName} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of new-reboot-task.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/new-script.md b/docs/new-script.md index 076616b58..44e7208d5 100644 --- a/docs/new-script.md +++ b/docs/new-script.md @@ -6,7 +6,7 @@ This PowerShell script creates a new PowerShell script file by using the templat Parameters ---------- ```powershell -PS> ./new-script.ps1 [[-filename] ] [] +/home/markus/Repos/PowerShell/scripts/new-script.ps1 [[-filename] ] [] -filename Specifies the path and filename to the new script @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./new-script myscript.ps1 -✔️ Created the new 'myscript.ps1' PowerShell script in 1 sec +✅ Created the new 'myscript.ps1' PowerShell script in 1 sec ``` @@ -50,7 +50,7 @@ Script Content Specifies the path and filename to the new script .EXAMPLE PS> ./new-script myscript.ps1 - ✔️ Created the new 'myscript.ps1' PowerShell script in 1 sec + ✅ Created the new 'myscript.ps1' PowerShell script in 1 sec .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -66,7 +66,7 @@ try { Copy-Item "$PSScriptRoot/../data/template.ps1" "$filename" [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Created the new '$filename' PowerShell script in $elapsed sec" + "✅ Created the new '$filename' PowerShell script in $elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-script.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-script.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index 572c75a1e..d9f28b5ff 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -6,7 +6,7 @@ This PowerShell script creates a new shortcut file. Parameters ---------- ```powershell -PS> ./new-shortcut.ps1 [[-shortcut] ] [[-target] ] [[-description] ] [] +/home/markus/Repos/PowerShell/scripts/new-shortcut.ps1 [[-shortcut] ] [[-target] ] [[-description] ] [] -shortcut Specifies the shortcut filename @@ -92,7 +92,7 @@ try { $sc.Description = "$description" $sc.save() - "✔️ created new shortcut $shortcut ⭢ $target" + "✅ created new shortcut $shortcut ⭢ $target" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-shortcut.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-shortcut.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md new file mode 100644 index 000000000..9db8bc05c --- /dev/null +++ b/docs/new-ssh-key.md @@ -0,0 +1,73 @@ +Script: *new-ssh-key.ps1* +======================== + +This PowerShell script creates a new SSH key for the user. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/new-ssh-key.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./new-ssh-key.ps1 +✅ New SSH key of Ed25519 type saved to ~/.ssh - your public key is: +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILb8s5zU9YDApGQ82H45fMKVPMr5cw9fzh3PEBjZZ+Rm markus@PI + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Creates a new SSH key +.DESCRIPTION + This PowerShell script creates a new SSH key for the user. +.EXAMPLE + PS> ./new-ssh-key.ps1 + ✅ New SSH key of Ed25519 type saved to ~/.ssh - your public key is: + ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILb8s5zU9YDApGQ82H45fMKVPMr5cw9fzh3PEBjZZ+Rm markus@PI +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + & ssh-keygen + if ($lastExitCode -ne "0") { throw "ssh-keygen failed" } + + if (Test-Path "~/.ssh/id_ed25519.pub") { + $publicKey = Get-Content "~/.ssh/id_ed25519.pub" + $enc = "Ed25519" + } elseif (Test-Path "~/.ssh/id_rsa.pub") { + $publicKey = Get-Content "~/.ssh/id_rsa.pub" + $enc = "RSA" + } else { + throw "No public key found." + } + "✅ New SSH key of $enc type saved to ~/.ssh - your public key is:" + " $publicKey" + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of new-ssh-key.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index 3ca292cbc..5492f248d 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -1,15 +1,15 @@ Script: *new-symlink.ps1* ======================== -This PowerShell script creates a new symbolic link file. +This PowerShell script creates a new symbolic link file, linking to a target. Parameters ---------- ```powershell -PS> ./new-symlink.ps1 [[-symlink] ] [[-target] ] [] +/home/markus/Repos/PowerShell/scripts/new-symlink.ps1 [[-symlink] ] [[-target] ] [] -symlink - Specifies the new symlink filename + Specifies the path to the new symlink file Required? false Position? 1 @@ -18,7 +18,7 @@ PS> ./new-symlink.ps1 [[-symlink] ] [[-target] ] [ - Specifies the path to target + Specifies the path to the target Required? false Position? 2 @@ -34,7 +34,8 @@ PS> ./new-symlink.ps1 [[-symlink] ] [[-target] ] [ ./new-symlink.ps1 C:\Temp\HDD C:\ +PS> ./new-symlink.ps1 C:\User\Markus\Windows C:\Windows +✅ New symlink file 'C:\User\Markus\Windows' created, linking to: C:\Windows ``` @@ -51,15 +52,16 @@ Script Content ```powershell <# .SYNOPSIS - Creates a new symbolic link file + Creates a new symlink .DESCRIPTION - This PowerShell script creates a new symbolic link file. + This PowerShell script creates a new symbolic link file, linking to a target. .PARAMETER symlink - Specifies the new symlink filename + Specifies the path to the new symlink file .PARAMETER target - Specifies the path to target + Specifies the path to the target .EXAMPLE - PS> ./new-symlink.ps1 C:\Temp\HDD C:\ + PS> ./new-symlink.ps1 C:\User\Markus\Windows C:\Windows + ✅ New symlink file 'C:\User\Markus\Windows' created, linking to: C:\Windows .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -69,12 +71,12 @@ Script Content param([string]$symlink = "", [string]$target = "") try { - if ($symlink -eq "" ) { $symlink = read-host "Enter new symlink filename" } - if ($target -eq "" ) { $target = read-host "Enter path to target" } + if ($symlink -eq "" ) { $symlink = Read-Host "Enter new symlink filename" } + if ($target -eq "" ) { $target = Read-Host "Enter path to target" } - new-item -path "$symlink" -itemType SymbolicLink -Value "$target" + New-Item -path "$symlink" -itemType SymbolicLink -value "$target" - "✔️ created new symlink $symlink ⭢ $target" + "✅ New symlink file '$symlink' created, linking to: $target" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -82,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-symlink.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-symlink.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/new-tag.md b/docs/new-tag.md index f1b5f0377..a4c75868d 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -6,7 +6,7 @@ This PowerShell script creates a new tag in a Git repository. Parameters ---------- ```powershell -PS> ./new-tag.ps1 [[-TagName] ] [[-RepoDir] ] [] +/home/markus/Repos/PowerShell/scripts/new-tag.ps1 [[-TagName] ] [[-RepoDir] ] [] -TagName Specifies the new tag name @@ -93,7 +93,7 @@ try { if ($lastExitCode -ne "0") { throw "Error: 'git push origin $TagName' failed!" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ created new tag '$TagName' in $Elapsed sec" + "✅ created new tag '$TagName' in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-tag.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-tag.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/new-user.md b/docs/new-user.md index d22c592ea..5bcc04dbd 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -6,7 +6,7 @@ This PowerShell script creates a new user account with an encrypted home directo Parameters ---------- ```powershell -PS> ./new-user.ps1 [[-username] ] [] +/home/markus/Repos/PowerShell/scripts/new-user.ps1 [[-username] ] [] -username @@ -25,7 +25,7 @@ Example ------- ```powershell PS> ./new-user.ps1 Joe -✔️ Created new user 'Joe' with encrypted home directory in 11s. +✅ Created user account 'Joe' with encrypted home directory in 11s. ``` @@ -42,12 +42,12 @@ Script Content ```powershell <# .SYNOPSIS - Creates a new user account + Create a new user .DESCRIPTION This PowerShell script creates a new user account with an encrypted home directory. .EXAMPLE PS> ./new-user.ps1 Joe - ✔️ Created new user 'Joe' with encrypted home directory in 11s. + ✅ Created user account 'Joe' with encrypted home directory in 11s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -61,13 +61,14 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() if ($IsLinux) { + & sudo apt install ecryptfs-utils & sudo adduser --encrypt-home $username } else { throw "Not supported yet" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Created new user '$username' with encrypted home directory in $($elapsed)s." + "✅ Created user account '$username' with encrypted home directory in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -75,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-user.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-user.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index 528a4e07e..9c2b9ab1f 100644 --- a/docs/new-windows-vm.md +++ b/docs/new-windows-vm.md @@ -37,4 +37,4 @@ $VMName = "windows" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-windows-vm.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-windows-vm.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index ae5d1f78a..092af180d 100644 --- a/docs/on-desktop-login.md +++ b/docs/on-desktop-login.md @@ -7,7 +7,7 @@ NOTE: for installation on Windows create and put a symbolic link to this script Parameters ---------- ```powershell -PS> ./on-desktop-login.ps1 [] +/home/markus/Repos/PowerShell/scripts/on-desktop-login.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of on-desktop-login.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of on-desktop-login.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-URL.md b/docs/open-URL.md index c5df4ab40..99be43625 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -6,7 +6,7 @@ This PowerShell script launches a new tab in the default Web browser with the gi Parameters ---------- ```powershell -PS> ./open-URL.ps1 [[-URL] ] [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/open-URL.ps1 [[-URL] ] [[-text] ] [] -URL Specifies the URL @@ -75,8 +75,10 @@ try { Write-Host $text -noNewline Write-Host $URL -foregroundColor blue } - Start-Process $URL - + if ($IsLinux) { + } else { + Start-Process $URL + } exit 0 # success } catch { "⚠️ Error: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" @@ -84,4 +86,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-URL.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-URL.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index aa615c782..2beca7794 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer showing the UWP apps folder. Parameters ---------- ```powershell -PS> ./open-apps-folder.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-apps-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -49,4 +49,4 @@ exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-apps-folder.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-apps-folder.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index 584bd4272..ae2726f05 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the user's autostart fold Parameters ---------- ```powershell -PS> ./open-auto-start-folder.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-auto-start-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-auto-start-folder.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-auto-start-folder.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index a3bd59046..70b01a0a3 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -6,7 +6,7 @@ This PowerShell script launches the Bing Maps application. Parameters ---------- ```powershell -PS> ./open-bing-maps.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-bing-maps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-bing-maps.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-bing-maps.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index d4094bdd6..d8741d328 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Booking.com website. Parameters ---------- ```powershell -PS> ./open-booking-com.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-booking-com.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-booking-com.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-booking-com.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index 5503e31b4..4e524fa66 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the C: drive folder. Parameters ---------- ```powershell -PS> ./open-c-drive.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-c-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-c-drive.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-c-drive.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index 835d8ba11..4d9fcadf4 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -6,7 +6,7 @@ This PowerShell script launches the calculator application. Parameters ---------- ```powershell -PS> ./open-calculator.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-calculator.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-calculator.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-calculator.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index 71e76b9d9..e7ecf3242 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -6,7 +6,7 @@ This PowerShell script launches the Google Chrome Web browser. Parameters ---------- ```powershell -PS> ./open-chrome.ps1 [[-URL] ] [] +/home/markus/Repos/PowerShell/scripts/open-chrome.ps1 [[-URL] ] [] -URL Specifies an optional URL @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-chrome.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-chrome.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-clock.md b/docs/open-clock.md index 047adb2bc..7cb94781d 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -6,7 +6,7 @@ This PowerShell script launches the Clock application. Parameters ---------- ```powershell -PS> ./open-clock.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-clock.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-clock.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-clock.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index 1ff8b1742..26053acbe 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -6,7 +6,7 @@ This PowerShell script launches the Cortana application. Parameters ---------- ```powershell -PS> ./open-cortana.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-cortana.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-cortana.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-cortana.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index 2698ed5b5..d9613690e 100644 --- a/docs/open-d-drive.md +++ b/docs/open-d-drive.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the D: drive folder. Parameters ---------- ```powershell -PS> ./open-d-drive.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-d-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -47,4 +47,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "D:" ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-d-drive.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-d-drive.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index f29f8eac8..940d36957 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -6,14 +6,14 @@ This PowerShell script launches the Web browser with 20 tabs of popular dashboar Parameters ---------- ```powershell -PS> ./open-dashboards.ps1 [[-timeInterval] ] [] +/home/markus/Repos/PowerShell/scripts/open-dashboards.ps1 [[-timeInterval] ] [] -timeInterval Specifies the time interval between each tab (110ms per default) Required? false Position? 1 - Default value 110 + Default value 120 Accept pipeline input? false Accept wildcard characters? false @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./open-dashboards.ps1 -✅ Launching Web browser with 20 tabs showing Toggl Track•Google Calendar•Google Mail, ... +✅ Launching Web browser with 20 tabs: Toggl Track•Google Calendar•Google Mail, ... NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically. ... @@ -45,14 +45,14 @@ Script Content ```powershell <# .SYNOPSIS - Open web dashboards + Open 20 web dashboards .DESCRIPTION This PowerShell script launches the Web browser with 20 tabs of popular dashboard websites. .PARAMETER timeInterval Specifies the time interval between each tab (110ms per default) .EXAMPLE PS> ./open-dashboards.ps1 - ✅ Launching Web browser with 20 tabs showing Toggl Track•Google Calendar•Google Mail, ... + ✅ Launching Web browser with 20 tabs: Toggl Track•Google Calendar•Google Mail, ... NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically. ... .LINK @@ -61,15 +61,14 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -param([int]$timeInterval = 110) # milliseconds +param([int]$timeInterval = 120) # milliseconds try { Write-Progress "Reading Data/popular-dashboards.csv..." $table = Import-CSV "$PSScriptRoot/../data/popular-dashboards.csv" Write-Progress -completed "Done." - Write-Host "✅ Launching Web browser with 20 tabs showing " -noNewline - $numRows = $table.Length + Write-Host "✅ Launching Web browser with 20 tabs: " -noNewline foreach($row in $table) { Write-Host "$($row.NAME)•" -noNewline & "$PSScriptRoot/open-default-browser.ps1" "$($row.URL)" @@ -84,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-dashboards.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-dashboards.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index efb982bf2..05f6f6f87 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the DeepL Translator websit Parameters ---------- ```powershell -PS> ./open-deep-l-translator.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-deep-l-translator.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-deep-l-translator.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-deep-l-translator.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index a5891ab4e..3996c945c 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -6,7 +6,7 @@ This PowerShell script launches the default Web browser, optional with a given U Parameters ---------- ```powershell -PS> ./open-default-browser.ps1 [[-URL] ] [] +/home/markus/Repos/PowerShell/scripts/open-default-browser.ps1 [[-URL] ] [] -URL Specifies the URL @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-default-browser.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-default-browser.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index 821774435..222d6612d 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the user's desktop folder Parameters ---------- ```powershell -PS> ./open-desktop-folder.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-desktop-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-desktop-folder.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-desktop-folder.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index 5a3721a3a..a9980ae31 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the user's documents fold Parameters ---------- ```powershell -PS> ./open-documents-folder.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-documents-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-documents-folder.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-documents-folder.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index 9723eda88..5a61e3a48 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer showing the user's downloads f Parameters ---------- ```powershell -PS> ./open-downloads-folder.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-downloads-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-downloads-folder.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-downloads-folder.ps1 as of 11/08/2024 12:34:52)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index 4ea8e9f70..e061e78d9 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the user's Dropbox folder Parameters ---------- ```powershell -PS> ./open-dropbox-folder.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-dropbox-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-dropbox-folder.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-dropbox-folder.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index fd7c1e709..ea355004f 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the DuckDuckGo website. Parameters ---------- ```powershell -PS> ./open-duck-duck-go.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-duck-duck-go.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-duck-duck-go.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-duck-duck-go.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index db7edb15f..d31ce880d 100644 --- a/docs/open-e-drive.md +++ b/docs/open-e-drive.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the E: drive folder. Parameters ---------- ```powershell -PS> ./open-e-drive.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-e-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -47,4 +47,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "E:" ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-e-drive.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-e-drive.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-edge.md b/docs/open-edge.md index d20e8fd28..11eb370c2 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -6,7 +6,7 @@ This PowerShell script launches the Microsoft Edge Web browser. Parameters ---------- ```powershell -PS> ./open-edge.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-edge.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process microsoft-edge:// exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-edge.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-edge.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index 603f37994..c360bb002 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the eggtimer website. Parameters ---------- ```powershell -PS> ./open-egg-timer.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-egg-timer.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-egg-timer.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-egg-timer.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index a8f243b3f..d37dca129 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -6,7 +6,7 @@ This PowerShell script launches the default email client. Parameters ---------- ```powershell -PS> ./open-email-client.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-email-client.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-email-client.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-email-client.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index eeb842570..997edec4d 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the F: drive folder. Parameters ---------- ```powershell -PS> ./open-f-drive.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-f-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-f-drive.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-f-drive.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index da606f0b0..cb4bb25cb 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer. Parameters ---------- ```powershell -PS> ./open-file-explorer.ps1 [[-Path] ] [] +/home/markus/Repos/PowerShell/scripts/open-file-explorer.ps1 [[-Path] ] [] -Path Specifies the path to the folder to display @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-file-explorer.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-file-explorer.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index 804225f21..0f429eb13 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with a fire place website. Parameters ---------- ```powershell -PS> ./open-fire-place.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-fire-place.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-fire-place.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-fire-place.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index 31107542c..b80bc69f6 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -6,7 +6,7 @@ This PowerShell script launches the Mozilla Firefox Web browser. Parameters ---------- ```powershell -PS> ./open-firefox.ps1 [[-URL] ] [] +/home/markus/Repos/PowerShell/scripts/open-firefox.ps1 [[-URL] ] [] -URL Specifies an URL @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-firefox.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-firefox.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index d6c3aee7f..8aa9b78b1 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the FlightRadar24 website. Parameters ---------- ```powershell -PS> ./open-flight-radar.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-flight-radar.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-flight-radar.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-flight-radar.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index 19e226706..e0ba2959f 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the G: drive folder. Parameters ---------- ```powershell -PS> ./open-g-drive.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-g-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-g-drive.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-g-drive.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index c8b454701..d6bbb305b 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -48,4 +48,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-git-extensions.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-git-extensions.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index bbcd43b6c..b6bcdc4d0 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Books website. Parameters ---------- ```powershell -PS> ./open-google-books.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-google-books.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-books.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-books.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index b61687101..e3fad45e7 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Calendar website Parameters ---------- ```powershell -PS> ./open-google-calendar.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-google-calendar.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-calendar.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-calendar.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index 1b07cf503..8f768b90f 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Contacts website Parameters ---------- ```powershell -PS> ./open-google-contacts.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-google-contacts.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-contacts.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-contacts.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index edba5426d..c841e94a4 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Docs website. Parameters ---------- ```powershell -PS> ./open-google-docs.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-google-docs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-docs.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-docs.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 4c757683c..a492125fe 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Earth website. Parameters ---------- ```powershell -PS> ./open-google-earth.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-google-earth.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-earth.ps1 as of 08/15/2024 09:50:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-earth.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index 35558b115..81e41cc0b 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Mail website. Parameters ---------- ```powershell -PS> ./open-google-mail.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-google-mail.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-mail.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-mail.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index a8b3e63a6..ef19ae673 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Maps website. Parameters ---------- ```powershell -PS> ./open-google-maps.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-google-maps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-maps.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-maps.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index d982bd022..665712a08 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google News website. Parameters ---------- ```powershell -PS> ./open-google-news.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-google-news.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-news.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-news.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index e6a4e9dbe..f2fc5e31c 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Photos website. Parameters ---------- ```powershell -PS> ./open-google-photos.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-google-photos.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-photos.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-photos.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index cbf9503d9..5184e7479 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Play website. Parameters ---------- ```powershell -PS> ./open-google-play.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-google-play.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-play.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-play.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index c7cbc79f0..5a6566bf8 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Search website. Parameters ---------- ```powershell -PS> ./open-google-search.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-google-search.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-search.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-search.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index 26ff5850a..617a719b8 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Stadia website. Parameters ---------- ```powershell -PS> ./open-google-stadia.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-google-stadia.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-stadia.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-stadia.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index 05f8142da..9d6034879 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Translate websit Parameters ---------- ```powershell -PS> ./open-google-translate.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-google-translate.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-translate.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-translate.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index 9582b3190..bcf1349b2 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the user's home folder. Parameters ---------- ```powershell -PS> ./open-home-folder.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-home-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-home-folder.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-home-folder.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 40250790d..5b2c89bb7 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -6,7 +6,7 @@ This script launches the Web browser with the Internet Archive website. Parameters ---------- ```powershell -PS> ./open-internet-archive.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-internet-archive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-internet-archive.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-internet-archive.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index 1c7e2f7bf..dc28fcb64 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -6,7 +6,7 @@ This script launches the Web browser with the Jitsi Meet website. Parameters ---------- ```powershell -PS> ./open-jitsi-meet.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-jitsi-meet.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-jitsi-meet.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-jitsi-meet.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index 45daad676..e33891205 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the M: drive folder. Parameters ---------- ```powershell -PS> ./open-m-drive.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-m-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-m-drive.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-m-drive.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index b1ab92cf3..66e07cc62 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -6,7 +6,7 @@ This script launches the Windows Screen Magnifier application. Parameters ---------- ```powershell -PS> ./open-magnifier.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-magnifier.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-magnifier.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-magnifier.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index 90001c7ac..ef8788920 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -6,7 +6,7 @@ This script launches the Microsoft Paint application. Parameters ---------- ```powershell -PS> ./open-microsoft-paint.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-microsoft-paint.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-paint.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-paint.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index 84e52fa05..43731defa 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -6,7 +6,7 @@ This script launches the Microsoft Solitaire application. Parameters ---------- ```powershell -PS> ./open-microsoft-solitaire.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-microsoft-solitaire.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-solitaire.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-solitaire.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index a1632aed9..41c8016da 100644 --- a/docs/open-microsoft-store.md +++ b/docs/open-microsoft-store.md @@ -6,7 +6,7 @@ This script launches the Microsoft Store application. Parameters ---------- ```powershell -PS> ./open-microsoft-store.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-microsoft-store.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process ms-windows-store: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-store.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-store.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index 10afa14d0..dfe977a06 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -6,7 +6,7 @@ This script launches the Microsoft Teams application. Parameters ---------- ```powershell -PS> ./open-microsoft-teams.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-microsoft-teams.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-teams.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-teams.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index 2c3b91f51..e348872b9 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the user's music folder. Parameters ---------- ```powershell -PS> ./open-music-folder.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-music-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-music-folder.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-music-folder.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index bf3d42b44..d0ffddc91 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -6,7 +6,7 @@ This script launches the Netflix application. Parameters ---------- ```powershell -PS> ./open-netflix.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-netflix.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process netflix: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-netflix.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-netflix.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index d9f58cdd2..70cb920ac 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -6,7 +6,7 @@ This PowerShell script launches the Notepad application. Parameters ---------- ```powershell -PS> ./open-notepad.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-notepad.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-notepad.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-notepad.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index ee3b422f4..035784a91 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -47,4 +47,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-obs-studio.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-obs-studio.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index cc09d8265..e16e55d61 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -6,7 +6,7 @@ This script launches the Web browser with the Microsoft Office 365 website. Parameters ---------- ```powershell -PS> ./open-office-365.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-office-365.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-office-365.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-office-365.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index ada73c924..3f7d5d4cc 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the user's OneDrive folder. Parameters ---------- ```powershell -PS> ./open-one-drive-folder.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-one-drive-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-one-drive-folder.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-one-drive-folder.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index bbc5bb0f2..5a787ac6c 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -47,4 +47,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-outlook.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-outlook.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index 1489d83e0..35dfdc9ca 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -6,7 +6,7 @@ This script launches the Paint 3D application. Parameters ---------- ```powershell -PS> ./open-paint-three-d.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-paint-three-d.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-paint-three-d.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-paint-three-d.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index 1980b62cd..7168b9cad 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the user's pictures folder. Parameters ---------- ```powershell -PS> ./open-pictures-folder.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-pictures-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-pictures-folder.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-pictures-folder.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index aa570350f..225adff28 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -7,7 +7,7 @@ NOTE: Documentation of mstsc at: https://learn.microsoft.com/en-us/windows-serve Parameters ---------- ```powershell -PS> ./open-rdp.ps1 [[-hostname] ] [] +/home/markus/Repos/PowerShell/scripts/open-rdp.ps1 [[-hostname] ] [] -hostname @@ -64,4 +64,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-rdp.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-rdp.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index f09e3ba57..ff41126fd 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the user's recycle bin folder. Parameters ---------- ```powershell -PS> ./open-recycle-bin-folder.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-recycle-bin-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-recycle-bin-folder.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-recycle-bin-folder.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index d20f63bfa..1c7518e5f 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -6,7 +6,7 @@ This script launches the Remote Desktop application. Parameters ---------- ```powershell -PS> ./open-remote-desktop.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-remote-desktop.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-remote-desktop.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-remote-desktop.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 6703f8714..91a91cef5 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the user's Git repositories folder. Parameters ---------- ```powershell -PS> ./open-repos-folder.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-repos-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-repos-folder.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-repos-folder.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index 98454c1bb..736470bc0 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -6,7 +6,7 @@ This script launches the Screen Clip application. Parameters ---------- ```powershell -PS> ./open-screen-clip.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-screen-clip.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-screen-clip.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-screen-clip.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index 20203789e..37b1683d5 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -6,7 +6,7 @@ This script launches the Screen Sketch application. Parameters ---------- ```powershell -PS> ./open-screen-sketch.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-screen-sketch.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-screen-sketch.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-screen-sketch.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-skype.md b/docs/open-skype.md index c3059d6a3..0291a46a1 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -6,7 +6,7 @@ This script launches the Skype application. Parameters ---------- ```powershell -PS> ./open-skype.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-skype.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-skype.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-skype.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index 7febb323f..de745537d 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -6,7 +6,7 @@ This script launches the Snipping Tool application. Parameters ---------- ```powershell -PS> ./open-snipping-tool.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-snipping-tool.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process SnippingTool.exe exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-snipping-tool.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-snipping-tool.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index 490ba5e5a..0bd5c9afe 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -6,7 +6,7 @@ This script launches the Web browser with Cloudflare's speed test website. Parameters ---------- ```powershell -PS> ./open-speed-test.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-speed-test.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-speed-test.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-speed-test.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index a6b3db225..395e1d279 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -6,7 +6,7 @@ This script launches the Spotify application. Parameters ---------- ```powershell -PS> ./open-spotify.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-spotify.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process spotify: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-spotify.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-spotify.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index cd43d25f4..27c4660fc 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -6,7 +6,7 @@ This script launches the Web browser with the Stack Overflow website. Parameters ---------- ```powershell -PS> ./open-stack-overflow.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-stack-overflow.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-stack-overflow.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-stack-overflow.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 2a356d7fc..00e7f56e6 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -6,7 +6,7 @@ This script launches the Web browser with the Startpage website. Parameters ---------- ```powershell -PS> ./open-start-page.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-start-page.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-start-page.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-start-page.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index f81f7ab74..832d1d1bb 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -6,7 +6,7 @@ This script launches the Web browser with the OpenStreetMap website. Parameters ---------- ```powershell -PS> ./open-street-map.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-street-map.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-street-map.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-street-map.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index cc2b82a9a..3a7faf455 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -6,7 +6,7 @@ This script launches the Windows Task Manager application. Parameters ---------- ```powershell -PS> ./open-task-manager.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-task-manager.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-task-manager.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-task-manager.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index 465cea1c1..0da3f9cda 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -50,4 +50,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-temporary-folder.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-temporary-folder.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index 5503e1cf1..922db8c7a 100644 --- a/docs/open-three-d-viewer.md +++ b/docs/open-three-d-viewer.md @@ -6,7 +6,7 @@ This script launches the 3D-Viewer application. Parameters ---------- ```powershell -PS> ./open-three-d-viewer.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-three-d-viewer.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process com.microsoft.3dviewer: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-three-d-viewer.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-three-d-viewer.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index 8db259542..82dcb71bb 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -45,4 +45,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-thunderbird.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-thunderbird.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index 5942190ff..2ad022be7 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the user's videos folder. Parameters ---------- ```powershell -PS> ./open-videos-folders.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-videos-folders.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-videos-folders.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-videos-folders.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index e52afd17d..2a3a527ed 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -47,4 +47,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-visual-studio.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-visual-studio.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index f5c688b20..9b08af5f1 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -6,7 +6,7 @@ This PowerShell script launches the Windows Voice Recorder application. Parameters ---------- ```powershell -PS> ./open-voice-recorder.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-voice-recorder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-voice-recorder.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-voice-recorder.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 65c85fb52..e9f9b0141 100644 --- a/docs/open-vpn-settings.md +++ b/docs/open-vpn-settings.md @@ -6,7 +6,7 @@ This PowerShell script launches the VPN settings of Windows. Parameters ---------- ```powershell -PS> ./open-vpn-settings.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-vpn-settings.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process ms-settings:network-vpn exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-vpn-settings.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-vpn-settings.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index 39ee62875..97345931e 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -6,7 +6,7 @@ This script launches the Windows Defender application. Parameters ---------- ```powershell -PS> ./open-windows-defender.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-windows-defender.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process windowsdefender: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-windows-defender.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-windows-defender.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index b7df90ee7..4363dfda3 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -6,7 +6,7 @@ This script launches the Windows Terminal application. Parameters ---------- ```powershell -PS> ./open-windows-terminal.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-windows-terminal.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process wt.exe exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-windows-terminal.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-windows-terminal.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/open-xing.md b/docs/open-xing.md index 1ba064abe..df7cc08fe 100644 --- a/docs/open-xing.md +++ b/docs/open-xing.md @@ -6,7 +6,7 @@ This script launches the XING application. Parameters ---------- ```powershell -PS> ./open-xing.ps1 [] +/home/markus/Repos/PowerShell/scripts/open-xing.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process xing: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-xing.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-xing.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index 89350be60..0e86da227 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -7,7 +7,7 @@ NOTE: in case of merge conflicts the script stops immediately! Parameters ---------- ```powershell -PS> ./pick-commit.ps1 [[-CommitID] ] [[-CommitMessage] ] [[-Branches] ] [[-RepoDir] ] [] +/home/markus/Repos/PowerShell/scripts/pick-commit.ps1 [[-CommitID] ] [[-CommitMessage] ] [[-Branches] ] [[-RepoDir] ] [] -CommitID Specifies the commit ID @@ -143,7 +143,7 @@ try { if ($lastExitCode -ne "0") { throw "'git push' failed" } } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ cherry picked $CommitID into $NumBranches branches in $Elapsed sec" + "✅ cherry picked $CommitID into $NumBranches branches in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -151,4 +151,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of pick-commit.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of pick-commit.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/ping-host.md b/docs/ping-host.md index 290ecbded..6059e4c9f 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -1,15 +1,15 @@ Script: *ping-host.ps1* ======================== -This PowerShell script pings the given host continously and shows the roundtrip times in a horizontal chart. +This PowerShell script pings the given host. Parameters ---------- ```powershell -PS> ./ping-host.ps1 [[-hostname] ] [[-timeInterval] ] [] +/home/markus/Repos/PowerShell/scripts/ping-host.ps1 [[-hostname] ] [] -hostname - Specifies the hostname or IP address of the host to ping (windows.com by default) + Specifies the hostname or IP address to ping (windows.com by default) Required? false Position? 1 @@ -17,15 +17,6 @@ PS> ./ping-host.ps1 [[-hostname] ] [[-timeInterval] ] [ - Specifies the time interval in milliseconds to repeat the ping (1000 by default) - - Required? false - Position? 2 - Default value 1000 - Accept pipeline input? false - Accept wildcard characters? false - [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. @@ -34,15 +25,8 @@ PS> ./ping-host.ps1 [[-hostname] ] [[-timeInterval] ] [ ./ping-host.ps1 - - - -Ping Roundtrip Times to Host: windows.com -██████████████ 136ms -████████████████ 154ms -█████████████████████████ 234ms -... +PS> ./ping-host.ps1 x.com +✅ x.com is up and running (11ms latency). ``` @@ -59,72 +43,37 @@ Script Content ```powershell <# .SYNOPSIS - Ping a host continuously + Pings a host .DESCRIPTION - This PowerShell script pings the given host continously and shows the roundtrip times in a horizontal chart. + This PowerShell script pings the given host. .PARAMETER hostname - Specifies the hostname or IP address of the host to ping (windows.com by default) -.PARAMETER timeInterval - Specifies the time interval in milliseconds to repeat the ping (1000 by default) + Specifies the hostname or IP address to ping (windows.com by default) .EXAMPLE - PS> ./ping-host.ps1 - - Ping Roundtrip Times to Host: windows.com - ██████████████ 136ms - ████████████████ 154ms - █████████████████████████ 234ms - ... + PS> ./ping-host.ps1 x.com + ✅ x.com is up and running (11ms latency). .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$hostname = "windows.com", [int]$timeInterval = 1000) +param([string]$hostname = "windows.com") function GetPingLatency([string]$hostname) { $hostsArray = $hostname.Split(",") - $tasks = $hostsArray | foreach { - (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,1000) - } + $tasks = $hostsArray | foreach { (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,1500) } [Threading.Tasks.Task]::WaitAll($tasks) - foreach($ping in $tasks.Result) { - if ($ping.Status -eq "Success") { return $ping.RoundtripTime } - } - return 1000 -} - -function WriteChartLine { param([float]$value, [float]$maxValue, [string]$text) - $num = ($value * 110.0) / $maxValue - while ($num -ge 1.0) { - Write-Host -noNewLine "█" - $num -= 1.0 - } - if ($num -ge 0.875) { - Write-Host -noNewLine "▉" - } elseif ($num -ge 0.75) { - Write-Host -noNewLine "▊" - } elseif ($num -ge 0.625) { - Write-Host -noNewLine "▋" - } elseif ($num -ge 0.5) { - Write-Host -noNewLine "▌" - } elseif ($num -ge 0.375) { - Write-Host -noNewLine "▍" - } elseif ($num -ge 0.25) { - Write-Host -noNewLine "▎" - } elseif ($num -ge 0.125) { - Write-Host -noNewLine "▏" - } - Write-Host " $text" + foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { return $ping.RoundtripTime } } + return 1500 } try { - Write-Host "`nPing Roundtrip Times to Host: $($hostname)" -foregroundColor green - do { - [float]$latency = GetPingLatency $hostname - WriteChartLine $latency 1000.0 "$($latency)ms" - Start-Sleep -Milliseconds $timeInterval - } while($true) + [int]$latency = GetPingLatency($hostname) + if ($latency -eq 1500) { + Write-Host "⚠️ Host '$hostname' doesn't respond - check the connection or maybe the host is down." + exit 1 + } + Write-Host "✅ $hostname is up and running ($($latency)ms latency)." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -132,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of ping-host.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of ping-host.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md new file mode 100644 index 000000000..1f3ca002b --- /dev/null +++ b/docs/ping-internet.md @@ -0,0 +1,99 @@ +Script: *ping-internet.ps1* +======================== + +This PowerShell script measures the ping roundtrip times from the local computer to remote ones (10 Internet servers by default). + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/ping-internet.ps1 [[-hosts] ] [] + +-hosts + Specifies the hosts to ping, seperated by commata (10 Internet servers by default) + + Required? false + Position? 1 + Default value bing.com,cnn.com,dropbox.com,github.com,google.com,ibm.com,live.com,meta.com,x.com,youtube.com + Accept pipeline input? false + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./ping-internet.ps1 +✅ Internet ping takes 12ms (9...18ms range) + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Pings remote hosts to measure the latency +.DESCRIPTION + This PowerShell script measures the ping roundtrip times from the local computer to remote ones (10 Internet servers by default). +.PARAMETER hosts + Specifies the hosts to ping, seperated by commata (10 Internet servers by default) +.EXAMPLE + PS> ./ping-internet.ps1 + ✅ Internet ping takes 12ms (9...18ms range) +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$hosts = "bing.com,cnn.com,dropbox.com,github.com,google.com,ibm.com,live.com,meta.com,x.com,youtube.com") + +try { + $hostsArray = $hosts.Split(",") + $tasks = $hostsArray | foreach { (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,1000) } + [int]$min = 9999999 + [int]$max = [int]$avg = [int]$success = 0 + [int]$total = $hostsArray.Count + [Threading.Tasks.Task]::WaitAll($tasks) + foreach($ping in $tasks.Result) { + if ($ping.Status -ne "Success") { continue } + $success++ + [int]$latency = $ping.RoundtripTime + $avg += $latency + if ($latency -lt $min) { $min = $latency } + if ($latency -gt $max) { $max = $latency } + } + [int]$loss = $total - $success + if ($success -eq 0) { + Write-Host "⚠️ Internet offline (100% ping loss)" + } elseif ($loss -gt 0) { + [float]$speed = [math]::round([float]$avg / [float]$success, 1) + Write-Host "✅ Online with $loss/$total ping loss and $($min)...$($max)ms latency - $($speed)ms average" + } else { + [float]$speed = [math]::round([float]$avg / [float]$success, 1) + if ($speed -lt 20.0) { $result = "excellent" + } elseif ($speed -lt 50.0) { $result = "good" + } elseif ($speed -lt 100.0) { $result = "average" + } elseif ($speed -lt 150.0) { $result = "okay" + } else { $result = "laggy" } + Write-Host "✅ Internet ping is $($result): $($speed)ms ($($min)-$($max)ms range)" + } + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of ping-internet.ps1 as of 11/08/2024 12:34:53)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md new file mode 100644 index 000000000..51d709d49 --- /dev/null +++ b/docs/ping-local-devices.md @@ -0,0 +1,84 @@ +Script: *ping-local-devices.ps1* +======================== + +This PowerShell script pings devices in the local network and lists which one are up. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/ping-local-devices.ps1 [[-timeout] ] [] + +-timeout + + Required? false + Position? 1 + Default value 600 + Accept pipeline input? false + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./ping-local-devices.ps1 +✅ Up: epson raspi tux + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Pings local devices +.DESCRIPTION + This PowerShell script pings devices in the local network and lists which one are up. +.EXAMPLE + PS> ./ping-local-devices.ps1 + ✅ Up: epson raspi tux +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([int]$timeout = 600) # ms ping timeout + + +try { + $names = @('accesspoint','AD','AP','amnesiac','archlinux','auriga','berlin','boston','brother','canon','castor','cisco','echodot','epson','epson2815','fedora','fireball','firewall','fritz.box','fritz.nas','fritz.powerline','fritz.repeater','gassensor','gateway','hippo','heizung','hodor','homemanager','io','iphone','jarvis','jenkins','LA','laptop','linux','jupiter','mars','mercury','miami','mobile','none','none-1','none-2','NY','o2.lte','octo','office','officepc','paris','PI','pixel-6a','PC','pluto','printer','proxy','R2D2','raspberry','raspi','rocket','rome','router','sentinel','server','shelly','shelly1','smartphone','smartwatch','soundbar','speedport.ip','sunnyboy','surface','switch','tablet','tau','tigercat','tolino','tux','TV','ubuntu','vega','venus','xrx','zeus') # sorted alphabetically + $queue = [System.Collections.Queue]::new() + foreach($name in $names) { $ping = [System.Net.Networkinformation.Ping]::new() + $queue.Enqueue( @{Host=$name;Ping=$ping;Async=$ping.SendPingAsync($name,$timeout)} ) + } + [string]$up = "" + Write-Host "✅ Local devices: " -noNewline + while($queue.Count -gt 0) { $obj = $queue.Dequeue() + try { if ($obj.Async.Wait($timeout)) { + if ($obj.Async.Result.Status -ne "TimedOut") { Write-Host "$($obj.Host) " -noNewline } + continue + } + } catch { continue } + $queue.Enqueue($obj) + } + Write-Host "" + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of ping-local-devices.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index 1a7a73583..1254fa548 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -6,7 +6,7 @@ This PowerShell script continuously shows the current weather conditions (simila Parameters ---------- ```powershell -PS> ./ping-weather.ps1 [[-Location] ] [[-UpdateInterval] ] [] +/home/markus/Repos/PowerShell/scripts/ping-weather.ps1 [[-Location] ] [[-UpdateInterval] ] [] -Location Specifies the location to use (determined automatically per default) @@ -99,4 +99,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of ping-weather.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of ping-weather.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index 4084a76a8..044707c89 100644 --- a/docs/play-bee-sound.md +++ b/docs/play-bee-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a bee sound. Parameters ---------- ```powershell -PS> ./play-bee-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-bee-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-bee-sound.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-bee-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index 2e066633e..36f1dae84 100644 --- a/docs/play-beep-sound.md +++ b/docs/play-beep-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a short beep sound at 500Hz for 300ms. Parameters ---------- ```powershell -PS> ./play-beep-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-beep-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-beep-sound.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-beep-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index b357a728d..dfe2060ed 100644 --- a/docs/play-big-ben.md +++ b/docs/play-big-ben.md @@ -6,7 +6,7 @@ This PowerShell script plays the sound of Big Ben. Parameters ---------- ```powershell -PS> ./play-big-ben.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-big-ben.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-big-ben.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-big-ben.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index b12a58b9e..36c51bbb7 100644 --- a/docs/play-cat-sound.md +++ b/docs/play-cat-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a cat sound. Parameters ---------- ```powershell -PS> ./play-cat-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-cat-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-cat-sound.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-cat-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-chess.md b/docs/play-chess.md new file mode 100644 index 000000000..4b4b241fc --- /dev/null +++ b/docs/play-chess.md @@ -0,0 +1,1263 @@ +Script: *play-chess.ps1* +======================== + +Started off of code from https://github.com/bhassen99/POSH-Chess, which was very +much incomplete. I kept the board shape, but have changed everything else. +The unicode chess pieces unfortunately do not render in the base PowerShell console, +they only appear when run in PowerShell ISE. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/play-chess.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Notes +----- +Name: Chess.ps1 +Version: 0.3.1 +Author: Michael Shen +Date: 10-19-2017 + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Local multiplayer chess game in PowerShell. + +.DESCRIPTION + Started off of code from https://github.com/bhassen99/POSH-Chess, which was very +much incomplete. I kept the board shape, but have changed everything else. +The unicode chess pieces unfortunately do not render in the base PowerShell console, +they only appear when run in PowerShell ISE. + +.NOTES + Name: Chess.ps1 + Version: 0.3.1 + Author: Michael Shen + Date: 10-19-2017 +#> + +#Update-Board must be run before Publish-Board +#Draws the board to the screen and displays all the icons +Function Publish-Board { + Clear + Write-Host "`n`n" + Write-Host ' A B C D E F G H' + Write-Host ' --------------------------------- ' + Write-Host ' 8 |'$board[0,7].Icon'|'$board[1,7].Icon'|'$board[2,7].Icon'|'$board[3,7].Icon'|'$board[4,7].Icon'|'$board[5,7].Icon'|'$board[6,7].Icon'|'$board[7,7].Icon'| 8' + Write-Host ' --------------------------------- ' + Write-Host ' 7 |'$board[0,6].Icon'|'$board[1,6].Icon'|'$board[2,6].Icon'|'$board[3,6].Icon'|'$board[4,6].Icon'|'$board[5,6].Icon'|'$board[6,6].Icon'|'$board[7,6].Icon'| 7' + Write-Host ' --------------------------------- ' + Write-Host ' 6 |'$board[0,5].Icon'|'$board[1,5].Icon'|'$board[2,5].Icon'|'$board[3,5].Icon'|'$board[4,5].Icon'|'$board[5,5].Icon'|'$board[6,5].Icon'|'$board[7,5].Icon'| 6' + Write-Host ' --------------------------------- ' + Write-Host ' 5 |'$board[0,4].Icon'|'$board[1,4].Icon'|'$board[2,4].Icon'|'$board[3,4].Icon'|'$board[4,4].Icon'|'$board[5,4].Icon'|'$board[6,4].Icon'|'$board[7,4].Icon'| 5' + Write-Host ' --------------------------------- ' + Write-Host ' 4 |'$board[0,3].Icon'|'$board[1,3].Icon'|'$board[2,3].Icon'|'$board[3,3].Icon'|'$board[4,3].Icon'|'$board[5,3].Icon'|'$board[6,3].Icon'|'$board[7,3].Icon'| 4' + Write-Host ' --------------------------------- ' + Write-Host ' 3 |'$board[0,2].Icon'|'$board[1,2].Icon'|'$board[2,2].Icon'|'$board[3,2].Icon'|'$board[4,2].Icon'|'$board[5,2].Icon'|'$board[6,2].Icon'|'$board[7,2].Icon'| 3' + Write-Host ' --------------------------------- ' + Write-Host ' 2 |'$board[0,1].Icon'|'$board[1,1].Icon'|'$board[2,1].Icon'|'$board[3,1].Icon'|'$board[4,1].Icon'|'$board[5,1].Icon'|'$board[6,1].Icon'|'$board[7,1].Icon'| 2' + Write-Host ' --------------------------------- ' + Write-Host ' 1 |'$board[0,0].Icon'|'$board[1,0].Icon'|'$board[2,0].Icon'|'$board[3,0].Icon'|'$board[4,0].Icon'|'$board[5,0].Icon'|'$board[6,0].Icon'|'$board[7,0].Icon'| 1' + Write-Host ' --------------------------------- ' + Write-Host ' A B C D E F G H' +} + +#Read and clean text input before calling New-Move +Function Read-Input { + Write-Host "" + if($Script:whiteTurn) { + try { + [ValidateScript({$_.Length -eq 2 -or $_ -like '*resign*'})]$src = Read-Host 'White piece source' + if ($src -eq 'resign') { + $Script:gameStatus = [gamestatus]::blackWin + Update-Log -resign $true + } else { + [Int]$cc = Get-Column $src[0] + [Int]$cr = Get-Row $src[1] + [ValidateScript({$_.Color -eq 'White'})]$pc = $board[$cc, $cr] + [ValidateScript({$_.Length -eq 2})]$dst = Read-Host 'White piece destination' + New-Move $src $dst + } + } catch { + Write-Error "Illegal input: Not a white piece or valid location" + Write-Error $src + Read-Input + } + } else { + try { + [ValidateScript({$_.Length -eq 2 -or $_.Value -eq 'resign'})]$src = Read-Host 'Black piece source' + if ($src -like '*resign*') { + $Script:gameStatus = [gamestatus]::whiteWin + Update-Log -resign $true + } + [Int]$cc = Get-Column $src[0] + [Int]$cr = Get-Row $src[1] + [ValidateScript({$_.Color -eq 'Black'})]$pc = $board[$cc, $cr] + [ValidateScript({$_.Length -eq 2})]$dst = Read-Host 'Black piece destination' + New-Move $src $dst + } catch { + Write-Error "Illegal input: Not a black piece or valid location" + Read-Input + } + } +} + +#Update the status of all the pieces and place them +Function Update-Board { + #Get arrays of all piece that are still alive + [Array]$CurrentWhite = $Script:WhitePieces | Where-Object {$_.Alive -eq $true} + [Array]$CurrentBlack = $Script:BlackPieces | Where-Object {$_.Alive -eq $true} + + #Place all the white pieces + foreach ($pc in $CurrentWhite) { + $board[($pc.CurrentColumn),($pc.CurrentRow)] = $pc + } + #Place all the black pieces + foreach ($pc in $CurrentBlack) { + $board[($pc.CurrentColumn),($pc.CurrentRow)] = $pc + } + + #Check for spaces without a piece in them, then fill it with the empty placeholder. + for ($i = 0; $i -le 7; $i++) { + for ($j = 0; $j -le 7; $j++) { + if ($board[$i, $j] -eq $null) { + $board[$i, $j] = $Empty + } + } + } +} + +#Used to move pieces on the board +Function New-Move { + param ([string]$src, [string]$dst) + + enum castleOptions { + none = 0 + kingside = 1 + queenside = 2 + } + + [bool]$attack = $false + [bool]$moveSuccess = $false + [int]$castle = [castleOptions]::none + [bool]$promote = $false + [bool]$ep = $false + [bool]$check = $false + + try { + [Int]$CurrentColumn = Get-Column $src[0] + [Int]$CurrentRow = Get-Row $src[1] + [Int]$DesiredColumn = Get-Column $dst[0] + [Int]$DesiredRow = Get-Row $dst[1] + + $pc = $board[$CurrentColumn, $CurrentRow] + } catch { + Write-Error "Out of bounds" + Read-Input + } + + #Moving nothing, nowhere, or trying to capture your own piece + if ($board[$CurrentColumn, $CurrentRow] -eq $Empty) { + Write-Error "There is nothing there." + Read-Input + } elseif (($CurrentRow -eq $DesiredRow) -and ($CurrentColumn -eq $DesiredColumn)) { + Write-Error "That wouldn't move anywhere." + Read-Input + } elseif ($board[$DesiredColumn, $DesiredRow] -ne $Empty -and ` + $pc.Color -eq $board[$DesiredColumn, $DesiredRow].Color) { + Write-Error "Collision with own team" + Read-Input + } else { + [int]$MoveX = $DesiredColumn - $CurrentColumn + [int]$MoveY = $DesiredRow - $CurrentRow + + #Move verification logic for each piece + switch ($pc.GetType().Name) { + 'Pawn' { + $MoveX = [math]::abs($MoveX) + + #Pawns can max move one to the side when capturing, two forward when moving + if (($MoveX -gt 1) -or ([math]::abs($MoveY) -gt 2)) { + Write-Error "Illegal Pawn Move: Too many spaces" + } else { + #Force pawns to only move "forward" + if ($pc.Color -eq 'Black') { + $MoveY *= -1 + } + + if ($MoveX -eq 0) { + if ($board[$DesiredColumn, $DesiredRow] -eq $Empty) { + if ($MoveY -eq 1) { + $moveSuccess = $true + $pc.firstmove = $false + } elseif ($MoveY -eq 2 -and $pc.firstmove -eq $true) { + if ($board[$DesiredColumn, ($DesiredRow + 1)] -eq $Empty) { + $moveSuccess = $true + $pc.firstmove = $false + $pc.inpassing = $Script:turnCounter + } else { + Write-Error "Illegal Pawn Move: Blocked Path" + } + } else { + Write-Error "Illegal Pawn Move: Cannot Move 2 Spaces" + } + } else { + Write-Error "Illegal Pawn Move: Blocked Path" + } + } elseif (($MoveX -eq 1) -and ($MoveY -eq 1)) { + if ($board[$DesiredColumn, $DesiredRow] -eq $Empty) { + $enpassant = $board[$DesiredColumn, $CurrentRow] + if (($enpassant.GetType().Name -eq 'Pawn') -and ` + ($pc.Color -ne $enpassant.Color) -and ` + ($enpassant.inpassing -eq ($Script:turnCounter - 1))) { + + $moveSuccess = $true + $attack = $true + $ep = $true + + $enpassant.Alive = $false + $enpassant.CurrentPosition = $null + $enpassant.CurrentRow = $null + $enpassant.CurrentColumn = $null + $board[$DesiredColumn, $CurrentRow] = $Empty + } else { + Write-Error 'Illegal Pawn Move: Cannot Capture en passant' + } + } else { + $attack = $true + $moveSuccess = $true + $pc.firstmove = $false + } + } else { + #Catch-all, should never get here + Write-Error "Illegal Pawn Move" + } + } + } + + 'Knight' { + $MoveX = [math]::abs($MoveX) + $MoveY = [math]::abs($MoveY) + + if ((($MoveX -eq 1) -and ($MoveY -eq 2)) -or (($MoveX -eq 2) -and ($MoveY -eq 1))) { + $moveSuccess = $true + if ($board[$DesiredColumn, $DesiredRow] -ne $Empty) { + $attack = $true + } + } else { + Write-Error "Illegal Knight Move" + } + } + + 'Bishop' { + if ([math]::abs($MoveX) -ne [math]::abs($MoveY)) { + Write-Error "Illegal Bishop Move: Not a Diagonal" + } else { + if ($MoveX -gt 0) { + if ($MoveY -gt 0) { + for ($i = 1; $i -lt $MoveX; $i++) { + if ($board[($CurrentColumn + $i) , ($CurrentRow + $i)] -ne $Empty) { + Write-Error "Illegal Bishop Move: Blocked Path" + Read-Input + break + } + } + } else { + for ($i = 1; $i -lt $MoveX; $i++) { + if ($board[($CurrentColumn + $i) , ($CurrentRow - $i)] -ne $Empty) { + Write-Error "Illegal Bishop Move: Blocked Path" + Read-Input + break + } + } + } + } else { + if ($MoveY -gt 0) { + for ($i = 1; $i -lt $MoveY; $i++) { + if ($board[($CurrentColumn - $i) , ($CurrentRow + $i)] -ne $Empty) { + Write-Error "Illegal Bishop Move: Blocked Path" + Publish-Board + break + } + } + } else { + for ($i = 1; $i -lt [math]::abs($MoveX); $i++) { + if ($board[($CurrentColumn - $i) , ($CurrentRow - $i)] -ne $Empty) { + Write-Error "Illegal Bishop Move: Blocked Path" + Publish-Board + break + } + } + } + } + $moveSuccess = $true + if ($board[$DesiredColumn, $DesiredRow] -ne $Empty) { + $attack = $true + } + } + } + + 'Rook' { + if (([math]::abs($MoveX) -gt 0) -and ([math]::abs($MoveY) -gt 0)) { + Write-Error "Illegal Rook Move" + } else { + if ($MoveX -gt 0) { + for ($i = 1; $i -lt $MoveX; $i++) { + if ($board[($CurrentColumn + $i), $CurrentRow] -ne $Empty) { + Write-Error "Illegal Rook Move: Blocked Path" + Publish-Board + break + } + } + } elseif ($MoveX -lt 0) { + for ($i = 1; $i -lt [math]::abs($MoveX); $i++) { + if ($board[($CurrentColumn - $i), $CurrentRow] -ne $Empty) { + Write-Error "Illegal Rook Move: Blocked Path" + Publish-Board + break + } + } + } elseif ($MoveY -gt 0) { + for ($i = 1; $i -lt $MoveY; $i++) { + if ($board[$CurrentColumn, ($CurrentRow + $i)] -ne $Empty) { + Write-Error "Illegal Rook Move: Blocked Path" + Publish-Board + break + } + } + } else { + for ($i = 1; $i -lt [math]::abs($MoveY); $i++) { + if ($board[$CurrentColumn, ($CurrentRow - $i)] -ne $Empty) { + Write-Error "Illegal Rook Move: Blocked Path" + Publish-Board + break + } + } + } + $moveSuccess = $true + $pc.firstmove = $false + if ($board[$DesiredColumn, $DesiredRow] -ne $Empty) { + $attack = $true + } + } + } + + 'King' { + $MoveX = [math]::abs($MoveX) + $MoveY = [math]::abs($MoveY) + + if (($MoveX -eq 1) -or ($MoveY -eq 1)) { + $moveSuccess = $true + if ($board[$DesiredColumn, $DesiredRow] -ne $Empty) { + $attack = $true + } + } elseif (($pc.firstmove -eq $true) -and ` + ($pc.color -eq 'White')) { + if (($dst -eq 'G1') -and ` + ($wHR.firstmove -eq $true)) { + + $Crk = $board[7, 0] + $board[7, 0] = $Empty + $Crk.CurrentPosition = 'F1' + $Crk.CurrentRow = 0 + $Crk.CurrentColumn = 5 + $Crk.firstmove = $false + + $moveSuccess = $true + $castle = [castleOptions]::kingside + $pc.firstmove = $false + } elseif (($dst -eq 'C1') -and ` + ($wAR.firstmove -eq $true)) { + + $Crk = $board[0, 0] + $board[0, 0] = $Empty + $Crk.CurrentPosition = 'D1' + $Crk.CurrentRow = 0 + $Crk.CurrentColumn = 3 + $Crk.firstmove = $false + + $moveSuccess = $true + $castle = [castleOptions]::queenside + $pc.firstmove = $false + } + } elseif (($pc.firstmove -eq $true) -and ` + ($pc.color -eq 'Black')) { + if (($dst -eq 'G8') -and ` + ($bHR.firstmove -eq $true)) { + + $Crk = $board[7, 7] + $board[7, 7] = $Empty + $Crk.CurrentPosition = 'F8' + $Crk.CurrentRow = 7 + $Crk.CurrentColumn = 5 + $Crk.firstmove = $false + + $moveSuccess = $true + $castle = [castleOptions]::kingside + $pc.firstmove = $false + } elseif (($dst -eq 'C8') -and ` + ($bAR.firstmove -eq $true)) { + + $Crk = $board[0, 7] + $board[0, 7] = $Empty + $Crk.CurrentPosition = 'D8' + $Crk.CurrentRow = 7 + $Crk.CurrentColumn = 3 + $Crk.firstmove = $false + + $moveSuccess = $true + $castle = [castleOptions]::queenside + $pc.firstmove = $false + } + } else { + Write-Error "Illegal King Move" + } + } + + 'Queen' { + if ([math]::abs($MoveX) -eq [math]::abs($MoveY)) { + if ($MoveX -gt 0) { + if ($MoveY -gt 0) { + for ($i = 1; $i -lt $MoveX; $i++) { + if ($board[($CurrentColumn + $i) , ($CurrentRow + $i)] -ne $Empty) { + Write-Error "Illegal Queen Move" + Publish-Board + break + } + } + } else { + for ($i = 1; $i -lt $MoveX; $i++) { + if ($board[($CurrentColumn + $i) , ($CurrentRow - $i)] -ne $Empty) { + Write-Error "Illegal Queen Move" + Publish-Board + break + } + } + } + } else { + if ($MoveY -gt 0) { + for ($i = 1; $i -lt $MoveY; $i++) { + if ($board[($CurrentColumn - $i), ($CurrentRow + $i)] -ne $Empty) { + Write-Error "Illegal Queen Move" + Publish-Board + break + } + } + } else { + for ($i = 1; $i -lt [math]::abs($MoveX); $i++) { + if ($board[($CurrentColumn - $i) , ($CurrentRow - $i)] -ne $Empty) { + Write-Error "Illegal Queen Move" + Publish-Board + break + } + } + } + } + $moveSuccess = $true + if ($board[$DesiredColumn, $DesiredRow] -ne $Empty) { + $attack = $true + } + } elseif (($MoveX -ne 0 -and $MoveY -eq 0) -or ` + ($MoveX -eq 0 -and $MoveY -ne 0)) { + if ($MoveX -gt 0) { + for ($i = 1; $i -lt $MoveX; $i++) { + if ($board[($CurrentColumn + $i), $CurrentRow] -ne $Empty) { + Write-Error "Illegal Queen Move" + Publish-Board + break + } + } + } elseif ($MoveX -lt 0) { + for ($i = 1; $i -lt [math]::abs($MoveX); $i++) { + if ($board[($CurrentColumn - $i), $CurrentRow] -ne $Empty) { + Write-Error "Illegal Queen Move" + Publish-Board + break + } + } + } elseif ($MoveY -gt 0) { + for ($i = 1; $i -lt $MoveY; $i++) { + if ($board[$CurrentColumn, ($CurrentRow + $i)] -ne $Empty) { + Write-Error "Illegal Queen Move" + Publish-Board + break + } + } + } else { + for ($i = 1; $i -lt [math]::abs($MoveY); $i++) { + if ($board[$CurrentColumn, ($CurrentRow - $i)] -ne $Empty) { + Write-Error "Illegal Queen Move" + Publish-Board + break + } + } + } + $moveSuccess = $true + if ($board[$DesiredColumn, $DesiredRow] -ne $Empty) { + $attack = $true + } + } else { + Write-Error "Illegal Queen Move" + } + } + } + + if ($moveSuccess -eq $true) { + if ($attack -eq $true -and $ep -eq $false) { + $board[$DesiredColumn, $DesiredRow].Alive = $false + $board[$DesiredColumn, $DesiredRow].CurrentPosition = $null + $board[$DesiredColumn, $DesiredRow].CurrentRow = $null + $board[$DesiredColumn, $DesiredRow].CurrentColumn = $null + } + + #Pawn Promotion logic + if (($pc.GetType().Name -eq 'Pawn') -and ($DesiredRow -eq 0)) { + [ValidateSet('Knight', 'Bishop', 'Rook', 'Queen')]$ptype = Read-Host 'Promote black pawn to' + + $promote = $true + $pc.Type = $ptype + + switch ($ptype) { + 'Knight' { + $pc.Icon = '♞' + $pc.Symbol = 'N' + } + 'Bishop' { + $pc.Icon = '♝' + $pc.Symbol = 'B' + } + 'Rook' { + $pc.Icon = '♜' + $pc.Symbol = 'R' + } + 'Queen' { + $pc.Icon = '♛' + $pc.Symbol = 'Q' + } + } + } elseif (($pc.GetType().Name -eq 'Pawn') -and ($DesiredRow -eq 7)) { + [ValidateSet('Knight', 'Bishop', 'Rook', 'Queen')]$ptype = Read-Host 'Promote white pawn to' + + $promote = $true + $pc.Type = $ptype + + switch ($ptype) { + 'Knight' { + $pc.Icon = '♘' + $pc.Symbol = 'N' + } + 'Bishop' { + $pc.Icon = '♗' + $pc.Symbol = 'B' + } + 'Rook' { + $pc.Icon = '♖' + $pc.Symbol = 'R' + } + 'Queen' { + $pc.Icon = '♕' + $pc.Symbol = 'Q' + } + } + } + + $board[$CurrentColumn, $CurrentRow] = $Empty + $pc.CurrentPosition = $dst.ToUpper() + $pc.CurrentRow = $DesiredRow + $pc.CurrentColumn = $DesiredColumn + + Update-Board + + #Check logic + #TODO: Shouldn't check when king is captured Issue 25 + Test-Gamestatus + if ($Script:gameStatus -eq [gamestatus]::ongoing) { + [Array]$curWhite = $Script:WhitePieces | Where-Object {$_.Alive -eq $true} + [Array]$curBlack = $Script:BlackPieces | Where-Object {$_.Alive -eq $true} + + if ($Script:whiteTurn -eq $true) { + foreach ($whitePiece in $curWhite) { + if ($(Test-Move $whitePiece.CurrentPosition $Script:bK.CurrentPosition)[0] -eq $true) { + $check = $true + } + } + } else { + foreach ($blackPiece in $curBlack) { + if ($(Test-Move $blackPiece.CurrentPosition $Script:wK.CurrentPosition)[0] -eq $true) { + $check = $true + } + } + } + } + + #Update the log, advance turn + Update-Log $src $dst $pc.Symbol $attack $castle $promote $ep $check + $Script:turnCounter += 1 + $Script:whiteTurn = !($Script:whiteTurn) + } else { + Read-Input + } + } +} + +#Log logic will go here +Function Update-Log { + param([string]$src, [string]$dst, [string]$piece, [bool]$attack, + [int]$castle, [bool]$promote, [bool]$ep, [bool]$check, [bool]$resign) + + [string]$logentry = '' + + enum castleOptions { + none = 0 + kingside = 1 + queenside = 2 + } + + if ($castle -eq [castleOptions]::kingside) { + $logentry = '0-0' + } elseif ($castle -eq [castleOptions]::queenside) { + $logentry = '0-0-0' + } elseif ($promote -eq $true) { + if ($attack) { + $logentry += 'x' + } + $logentry += $dst + '=' + $piece + } else { + $logentry = $piece + if ($attack) { + $logentry += 'x' + } + $logentry += $dst + } + + if ($ep -eq $true) { + $logentry += ' ep' + } + + if ($check -eq $true) { + $logentry += '+' + } + + if ($Script:gameStatus -ne 0) { + $logentry += '#' + } + + if ($resign -eq $true) { + $logentry = 'resigned' + } + + $Script:log += $logentry + + #Equivalent of touch command to ensure a log exists + Write-Output $null >> $Script:logpath + + #Clear and rewrite the log each time + Clear-Content $Script:logpath + $line = "White`t`tBlack`r`n--------------------" + + #Header + Add-Content -Encoding Unicode $Script:logpath $line + + if ($log.Length -eq 1) { + Add-Content -Encoding Unicode $Script:logpath $log[0] + } else { + for ($i = 0; $i -lt $log.Length - 1; $i += 2) { + $line = $Script:log[$i] + $line += " `t`t" + $line += $Script:log[$i + 1] + Add-Content -Encoding Unicode $Script:logpath $line + } + + #If game ended in white move, print out the "half-line" + if ($log.Length % 2 -eq 1) { + Add-Content -Encoding Unicode $Script:logpath $Script:log[$Script:log.Length - 1] + } + } +} + +#Try a move, used for check and castling logic +Function Test-Move { + param ([string]$src, [string]$dst) + + [bool]$attack = $false + [bool]$moveSuccess = $false + [bool[]]$status = @($moveSuccess, $attack) + + try { + [Int]$CurrentColumn = Get-Column $src[0] + [Int]$CurrentRow = Get-Row $src[1] + [Int]$DesiredColumn = Get-Column $dst[0] + [Int]$DesiredRow = Get-Row $dst[1] + + $pc = $board[$CurrentColumn, $CurrentRow] + } catch { + Write-Error "Out of bounds" + return $status + } + + #Moving nothing, nowhere, or trying to capture your own piece + if ($board[$CurrentColumn, $CurrentRow] -eq $Empty) { + Write-Error "There is nothing there." + return $status + } elseif (($CurrentRow -eq $DesiredRow) -and ($CurrentColumn -eq $DesiredColumn)) { + Write-Error "That wouldn't move anywhere." + return $status + } elseif ($board[$DesiredColumn, $DesiredRow] -ne $Empty -and ` + $pc.Color -eq $board[$DesiredColumn, $DesiredRow].Color) { + Write-Error "Collision with own team" + return $status + } else { + [int]$MoveX = $DesiredColumn - $CurrentColumn + [int]$MoveY = $DesiredRow - $CurrentRow + + #Pieces playable + switch ($pc.Type) { + 'Pawn' { + $MoveX = [math]::abs($MoveX) + if (($MoveX -gt 1) -or ([math]::abs($MoveY) -gt 2)) { + return $status + } else { + #Force pawns to only move "forward" + if ($pc.Color -eq 'Black') { + $MoveY *= -1 + } + if (($MoveX -eq 0) -and ($MoveY -eq 1)) { + if ($board[$DesiredColumn,$DesiredRow] -ne $Empty) { + return $status + } else { + $status[0] = $true + $pc.firstmove = $false + } + } elseif (($MoveX -eq 0) -and ($MoveY -eq 2)) { + if (($pc.firstmove = $true) -and ` + (($board[$DesiredColumn, $DesiredRow] -eq $Empty) -and ` + ($board[($DesiredColumn + 1), $DesiredRow] -eq $Empty))) { + + $status[0] = $true + $pc.firstmove = $false + $pc.inpassing = $Script:turnCounter + } else { + return $status + } + } elseif (($MoveX -eq 1) -and ($MoveY -eq 1)) { + if ($board[$DesiredColumn,$DesiredRow] -eq $Empty) { + $enpassant = $board[$DesiredColumn, $CurrentRow] + if (($enpassant.GetType().Name -eq 'Pawn') -and ` + ($pc.Color -ne $enpassant.Color) -and ` + ($enpassant.inpassing -eq ($Script:turnCounter - 1))) { + + $status[0] = $true + + $enpassant.Alive = $false + $enpassant.CurrentPosition = $null + $enpassant.CurrentRow = $null + $enpassant.CurrentColumn = $null + $board[$DesiredColumn, $CurrentRow] = $Empty + } else { + return $status + } + } else { + $status[1] = $true + $status[0] = $true + $pc.firstmove = $false + } + } else { + return $status + } + } + } + + 'Knight' { + $MoveX = [math]::abs($MoveX) + $MoveY = [math]::abs($MoveY) + + if ((($MoveX -eq 1) -and ($MoveY -eq 2)) -or (($MoveX -eq 2) -and ($MoveY -eq 1))) { + $status[0] = $true + if ($board[$DesiredColumn, $DesiredRow] -ne $Empty) { + $status[1] = $true + } + } else { + return $status + } + } + + 'Bishop' { + if ([math]::abs($MoveX) -ne [math]::abs($MoveY)) { + return $status + } else { + if ($MoveX -gt 0) { + if ($MoveY -gt 0) { + for ($i = 1; $i -lt $MoveX; $i++) { + if ($board[($CurrentColumn + $i) , ($CurrentRow + $i)] -ne $Empty) { + return $status + } + } + } else { + for ($i = 1; $i -lt $MoveX; $i++) { + if ($board[($CurrentColumn + $i) , ($CurrentRow - $i)] -ne $Empty) { + return $status + } + } + } + } else { + if ($MoveY -gt 0) { + for ($i = 1; $i -lt $MoveY; $i++) { + if ($board[($CurrentColumn - $i) , ($CurrentRow + $i)] -ne $Empty) { + return $status + } + } + } else { + for ($i = 1; $i -lt [math]::abs($MoveX); $i++) { + if ($board[($CurrentColumn - $i) , ($CurrentRow - $i)] -ne $Empty) { + return $status + } + } + } + } + $status[0] = $true + if ($board[$DesiredColumn, $DesiredRow] -ne $Empty) { + $status[1] = $true + } + } + } + + 'Rook' { + if (([math]::abs($MoveX) -gt 0) -and ([math]::abs($MoveY) -gt 0)) { + return $status + } else { + if ($MoveX -gt 0) { + for ($i = 1; $i -lt $MoveX; $i++) { + if ($board[($CurrentColumn + $i), $CurrentRow] -ne $Empty) { + return $status + } + } + } elseif ($MoveX -lt 0) { + for ($i = 1; $i -lt [math]::abs($MoveX); $i++) { + if ($board[($CurrentColumn - $i), $CurrentRow] -ne $Empty) { + return $status + } + } + } elseif ($MoveY -gt 0) { + for ($i = 1; $i -lt $MoveY; $i++) { + if ($board[$CurrentColumn, ($CurrentRow + $i)] -ne $Empty) { + return $status + } + } + } else { + for ($i = 1; $i -lt [math]::abs($MoveY); $i++) { + if ($board[$CurrentColumn, ($CurrentRow - $i)] -ne $Empty) { + return $status + } + } + } + $status[0] = $true + $pc.firstmove = $false + if ($board[$DesiredColumn, $DesiredRow] -ne $Empty) { + $status[1] = $true + } + } + } + + 'Queen' { + if ([math]::abs($MoveX) -eq [math]::abs($MoveY)) { + if ($MoveX -gt 0) { + if ($MoveY -gt 0) { + for ($i = 1; $i -lt $MoveX; $i++) { + if ($board[($CurrentColumn + $i) , ($CurrentRow + $i)] -ne $Empty) { + return $status + } + } + } else { + for ($i = 1; $i -lt $MoveX; $i++) { + if ($board[($CurrentColumn + $i) , ($CurrentRow - $i)] -ne $Empty) { + return $status + } + } + } + } else { + if ($MoveY -gt 0) { + for ($i = 1; $i -lt $MoveY; $i++) { + if ($board[($CurrentColumn - $i), ($CurrentRow + $i)] -ne $Empty) { + return $status + } + } + } else { + for ($i = 1; $i -lt [math]::abs($MoveX); $i++) { + if ($board[($CurrentColumn - $i) , ($CurrentRow - $i)] -ne $Empty) { + return $status + } + } + } + } + $status[0] = $true + if ($board[$DesiredColumn, $DesiredRow] -ne $Empty) { + $status[1] = $true + } + } elseif (($MoveX -ne 0 -and $MoveY -eq 0) -or ` + ($MoveX -eq 0 -and $MoveY -ne 0)) { + if ($MoveX -gt 0) { + for ($i = 1; $i -lt $MoveX; $i++) { + if ($board[($CurrentColumn + $i), $CurrentRow] -ne $Empty) { + return $status + } + } + } elseif ($MoveX -lt 0) { + for ($i = 1; $i -lt [math]::abs($MoveX); $i++) { + if ($board[($CurrentColumn - $i), $CurrentRow] -ne $Empty) { + return $status + } + } + } elseif ($MoveY -gt 0) { + for ($i = 1; $i -lt $MoveY; $i++) { + if ($board[$CurrentColumn, ($CurrentRow + $i)] -ne $Empty) { + return $status + } + } + } else { + for ($i = 1; $i -lt [math]::abs($MoveY); $i++) { + if ($board[$CurrentColumn, ($CurrentRow - $i)] -ne $Empty) { + return $status + } + } + } + $status[0] = $true + if ($board[$DesiredColumn, $DesiredRow] -ne $Empty) { + $status[1] = $true + } + } else { + return $status + } + } + + 'King' { + $MoveX = [math]::abs($MoveX) + $MoveY = [math]::abs($MoveY) + + if (($MoveX -le 1) -and ($MoveY -le 1)) { + $status[0] = $true + if ($board[$DesiredColumn, $DesiredRow] -ne $Empty) { + $status[1] = $true + } + } elseif (($pc.firstmove -eq $true) -and ` + ($pc.color -eq 'White')) { + if (($dst -eq 'G1') -and ` + ($wHR.firstmove -eq $true)) { + + $Crk = $board[7, 0] + $board[7, 0] = $Empty + $Crk.CurrentPosition = 'F1' + $Crk.CurrentRow = 0 + $Crk.CurrentColumn = 5 + $Crk.firstmove = $false + + $status[0] = $true + $pc.firstmove = $false + } elseif (($dst -eq 'C1') -and ` + ($wAR.firstmove -eq $true)) { + + $Crk = $board[0, 0] + $board[0, 0] = $Empty + $Crk.CurrentPosition = 'D1' + $Crk.CurrentRow = 0 + $Crk.CurrentColumn = 3 + $Crk.firstmove = $false + + $status[0] = $true + $pc.firstmove = $false + } + } elseif (($pc.firstmove -eq $true) -and ` + ($pc.color -eq 'Black')) { + if (($dst -eq 'G8') -and ` + ($bHR.firstmove -eq $true)) { + + $Crk = $board[7, 7] + $board[7, 7] = $Empty + $Crk.CurrentPosition = 'F8' + $Crk.CurrentRow = 7 + $Crk.CurrentColumn = 5 + $Crk.firstmove = $false + + $status[0] = $true + $pc.firstmove = $false + } elseif (($dst -eq 'C8') -and ` + ($bAR.firstmove -eq $true)) { + + $Crk = $board[0, 7] + $board[0, 7] = $Empty + $Crk.CurrentPosition = 'D8' + $Crk.CurrentRow = 7 + $Crk.CurrentColumn = 3 + $Crk.firstmove = $false + + $status[0] = $true + $pc.firstmove = $false + } + } else { + return $status + } + } + } + + return $status + } +} + +#Figure out if the game is over or still ongoing +Function Test-Gamestatus { + if ($wK.Alive -eq $false) { + $Script:gameStatus = [gamestatus]::blackWin + } elseif ($bK.Alive -eq $false) { + $Script:gameStatus = [gamestatus]::whiteWin + } +} + +Function Get-Column { + param ([ValidatePattern('[A-H]')][string]$Col) + switch ($Col) { + "A" {Return "0"} + "B" {Return "1"} + "C" {Return "2"} + "D" {Return "3"} + "E" {Return "4"} + "F" {Return "5"} + "G" {Return "6"} + "H" {Return "7"} + } +} + +Function Get-Row { + param ([ValidateRange(1,8)][string]$row) + + return ($row - 1) +} + +########################### +#endregion: Functions +#################################################### + + +#################################################### +#region: Classes +########################### + +#Gives all classes that inherit(:) this class the base properties +Class ChessPiece { + [bool]$Alive=$true + [string]$Type + [string]$Icon + [string]$Symbol + [ValidateSet('White', 'Black')][String]$Color + [String]$CurrentPosition + [ValidateRange(0,7)][Int]$CurrentRow + [ValidateRange(0,7)][Int]$CurrentColumn +} + +Class Pawn : ChessPiece { + [bool]$firstmove = $true + [int]$inpassing = 0 + [string]$Type = $this.GetType().Name + [string]$Symbol = " " + Pawn([string]$Position, [string]$color) { + $this.Color = $color + $this.CurrentPosition = $Position + $this.CurrentRow = Get-Row $Position[1] + $this.CurrentColumn = Get-Column $Position[0] + + if ($color -eq 'White') { + $this.Icon = '♙' + } elseif ($color -eq 'Black') { + $this.Icon = '♟' + } + } +} + +Class Rook : ChessPiece { + [bool]$firstmove = $true + [string]$Type = $this.GetType().Name + [string]$Symbol = "R" + Rook([string]$Position, [string]$color) { + $this.Color = $color + $this.CurrentPosition = $Position + $this.CurrentRow = Get-Row $Position[1] + $this.CurrentColumn = Get-Column $Position[0] + + if ($color -eq 'White') { + $this.Icon = '♖' + } elseif ($color -eq 'Black') { + $this.Icon = '♜' + } + } +} + +Class Knight : ChessPiece { + [string]$Type = $this.GetType().Name + [string]$Symbol = "N" + Knight([string]$Position, [string]$color) { + $this.Color = $color + $this.CurrentPosition = $Position + $this.CurrentRow = Get-Row $Position[1] + $this.CurrentColumn = Get-Column $Position[0] + + if ($color -eq 'White') { + $this.Icon = '♘' + } elseif ($color -eq 'Black') { + $this.Icon = '♞' + } + } +} + +Class Bishop : ChessPiece { + [string]$Type = $this.GetType().Name + [string]$Symbol = "B" + Bishop([String]$Position, [string]$color) { + $this.Color = $color + $this.CurrentPosition = $Position + $this.CurrentRow = Get-Row $Position[1] + $this.CurrentColumn = Get-Column $Position[0] + + if ($color -eq 'White') { + $this.Icon = '♗' + } elseif ($color -eq 'Black') { + $this.Icon = '♝' + } + } +} + +Class Queen : ChessPiece { + [string]$Type = $this.GetType().Name + [string]$Symbol = "Q" + Queen([String]$Position, [string]$color) { + $this.Color = $color + $this.CurrentPosition = $Position + $this.CurrentRow = Get-Row $Position[1] + $this.CurrentColumn = Get-Column $Position[0] + + if ($color -eq 'White') { + $this.Icon = '♕' + } elseif ($color -eq 'Black') { + $this.Icon = '♛' + } + } +} + +Class King : ChessPiece { + [bool]$firstmove = $true + [string]$Type = $this.GetType().Name + [string]$Symbol = "K" + King([String]$Position, [string]$color) { + $this.Color = $color + $this.CurrentPosition = $Position + $this.CurrentRow = Get-Row $Position[1] + $this.CurrentColumn = Get-Column $Position[0] + + if ($color -eq 'White') { + $this.Icon = '♔' + } elseif ($color -eq 'Black') { + $this.Icon = '♚' + } + } +} + +Class Blank { + [String]$Icon=' ' +} + +########################### +#endregion: Classes +#################################################### + +#Creates the game board +[Object]$Script:board = New-Object 'object[,]' 8,8 + +#Creates a turn status +[bool]$Script:whiteTurn = $true + +#SAN log.txt path, currently on desktop +$DesktopPath = [Environment]::GetFolderPath("Desktop") +[string]$Script:logpath = $DesktopPath + '\log.txt' +[string[]]$Script:log = @() + +$Script:wAP = [Pawn]::New('A2', 'White') +$Script:wBP = [Pawn]::New('B2', 'White') +$Script:wCP = [Pawn]::New('C2', 'White') +$Script:wDP = [Pawn]::New('D2', 'White') +$Script:wEP = [Pawn]::New('E2', 'White') +$Script:wFP = [Pawn]::New('F2', 'White') +$Script:wGP = [Pawn]::New('G2', 'White') +$Script:wHP = [Pawn]::New('H2', 'White') +$Script:wAR = [Rook]::New('A1', 'White') +$Script:wBN = [Knight]::New('B1', 'White') +$Script:wCB = [Bishop]::New('C1', 'White') +$Script:wQ = [Queen]::New('D1', 'White') +$Script:wK = [King]::New('E1', 'White') +$Script:wFB = [Bishop]::New('F1', 'White') +$Script:wGN = [Knight]::New('G1', 'White') +$Script:wHR = [Rook]::New('H1', 'White') + +$Script:bAP = [Pawn]::New('A7', 'Black') +$Script:bBP = [Pawn]::New('B7', 'Black') +$Script:bCP = [Pawn]::New('C7', 'Black') +$Script:bDP = [Pawn]::New('D7', 'Black') +$Script:bEP = [Pawn]::New('E7', 'Black') +$Script:bFP = [Pawn]::New('F7', 'Black') +$Script:bGP = [Pawn]::New('G7', 'Black') +$Script:bHP = [Pawn]::New('H7', 'Black') +$Script:bAR = [Rook]::New('A8', 'Black') +$Script:bBN = [Knight]::New('B8', 'Black') +$Script:bCB = [Bishop]::New('C8', 'Black') +$Script:bQ = [Queen]::New('D8', 'Black') +$Script:bK = [King]::New('E8', 'Black') +$Script:bFB = [Bishop]::New('F8', 'Black') +$Script:bGN = [Knight]::New('G8', 'Black') +$Script:bHR = [Rook]::New('H8', 'Black') + +$Script:Empty = [Blank]::New() + +[Array] $Script:WhitePieces = @( + $Script:wAP,$Script:wBP,$Script:wCP,$Script:wDP, + $Script:wEP,$Script:wFP,$Script:wGP,$Script:wHP, + $Script:wAR,$Script:wHR,$Script:wBN,$Script:wGN, + $Script:wCB,$Script:wFB,$Script:wQ,$Script:wK +) + +[Array] $Script:BlackPieces = @( + $Script:bAP,$Script:bBP,$Script:bCP,$Script:bDP, + $Script:bEP,$Script:bFP,$Script:bGP,$Script:bHP, + $Script:bAR,$Script:bHR,$Script:bBN,$Script:bGN, + $Script:bCB,$Script:bFB,$Script:bQ,$Script:bK +) + +enum gamestatus { + ongoing = 0 + whiteWin = 1 + blackWin = 2 + quit = 3 +} + +#Set global variables to keep track of turn and game status +[int]$Script:turnCounter = 0 +$Script:gameStatus = [gamestatus]::ongoing + +while ($Script:gameStatus -eq [gamestatus]::ongoing) { + Update-Board + Publish-Board + Read-Input + + if ($Script:gameStatus -eq [gamestatus]::blackWin) { + Write-Output "Black Wins!" + } elseif ($Script:gameStatus -eq [gamestatus]::whiteWin) { + Write-Output "White Wins!" + } elseif ($Script:gameStatus -eq [gamestatus]::quit) { + Write-Output "Game ended by request." + } +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of play-chess.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index cbcfde666..9156bb8b4 100644 --- a/docs/play-cow-sound.md +++ b/docs/play-cow-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a cow sound. Parameters ---------- ```powershell -PS> ./play-cow-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-cow-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-cow-sound.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-cow-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index 1c8bf93b1..d6e6423d6 100644 --- a/docs/play-dog-sound.md +++ b/docs/play-dog-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a dog sound. Parameters ---------- ```powershell -PS> ./play-dog-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-dog-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-dog-sound.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-dog-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index c1a8b9cd9..773d5a50c 100644 --- a/docs/play-donkey-sound.md +++ b/docs/play-donkey-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a donkey sound. Parameters ---------- ```powershell -PS> ./play-donkey-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-donkey-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-donkey-sound.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-donkey-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index c704cfaad..ccf0ee22f 100644 --- a/docs/play-elephant-sound.md +++ b/docs/play-elephant-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays an elephant sound. Parameters ---------- ```powershell -PS> ./play-elephant-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-elephant-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-elephant-sound.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-elephant-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index 6b53eb067..75bf63630 100644 --- a/docs/play-elk-sound.md +++ b/docs/play-elk-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays an elk sound. Parameters ---------- ```powershell -PS> ./play-elk-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-elk-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-elk-sound.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-elk-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-files.md b/docs/play-files.md index 8a591ffe4..15a9cd968 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -6,7 +6,7 @@ This PowerShell script plays the given audio files (supporting MP3 and WAV forma Parameters ---------- ```powershell -PS> ./play-files.ps1 [[-FilePattern] ] [] +/home/markus/Repos/PowerShell/scripts/play-files.ps1 [[-FilePattern] ] [] -FilePattern Specifies the file pattern @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-files.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-files.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index 96e9c53ab..1d088f8a7 100644 --- a/docs/play-frog-sound.md +++ b/docs/play-frog-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a frog sound. Parameters ---------- ```powershell -PS> ./play-frog-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-frog-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-frog-sound.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-frog-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index 9d2440b82..a40f1ff4a 100644 --- a/docs/play-goat-sound.md +++ b/docs/play-goat-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a goat sound. Parameters ---------- ```powershell -PS> ./play-goat-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-goat-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-goat-sound.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-goat-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index b0038f3b5..62d895b62 100644 --- a/docs/play-gorilla-sound.md +++ b/docs/play-gorilla-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a gorilla sound. Parameters ---------- ```powershell -PS> ./play-gorilla-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-gorilla-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-gorilla-sound.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-gorilla-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index 816dd5678..f19be4695 100644 --- a/docs/play-happy-birthday.md +++ b/docs/play-happy-birthday.md @@ -6,7 +6,7 @@ This PowerShell script plays the famous Happy Birthday song. Parameters ---------- ```powershell -PS> ./play-happy-birthday.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-happy-birthday.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -79,4 +79,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-happy-birthday.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-happy-birthday.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 317f09839..077360e98 100644 --- a/docs/play-horse-sound.md +++ b/docs/play-horse-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a horse sound. Parameters ---------- ```powershell -PS> ./play-horse-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-horse-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-horse-sound.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-horse-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index d4fedaa78..1543db40d 100644 --- a/docs/play-imperial-march.md +++ b/docs/play-imperial-march.md @@ -6,7 +6,7 @@ This PowerShell script plays the Imperial March used in the Star Wars film serie Parameters ---------- ```powershell -PS> ./play-imperial-march.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-imperial-march.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-imperial-march.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-imperial-march.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index 02c187edf..f0220dcc1 100644 --- a/docs/play-jingle-bells.md +++ b/docs/play-jingle-bells.md @@ -6,7 +6,7 @@ This PowerShell script plays the famous Jingle Bells song. Parameters ---------- ```powershell -PS> ./play-jingle-bells.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-jingle-bells.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -201,4 +201,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-jingle-bells.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-jingle-bells.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index 958e94a1a..dc0a4fee4 100644 --- a/docs/play-lion-sound.md +++ b/docs/play-lion-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a lion sound. Parameters ---------- ```powershell -PS> ./play-lion-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-lion-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-lion-sound.ps1 as of 08/15/2024 09:50:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-lion-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index e8c0c1a7e..5cfb4f865 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -6,7 +6,7 @@ This PowerShell script plays the given playlist (in .M3U file format) Parameters ---------- ```powershell -PS> ./play-m3u.ps1 [[-filename] ] [] +/home/markus/Repos/PowerShell/scripts/play-m3u.ps1 [[-filename] ] [] -filename Specifies the path to the playlist @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-m3u.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-m3u.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index e9316013d..ede80e1d4 100644 --- a/docs/play-mission-impossible.md +++ b/docs/play-mission-impossible.md @@ -6,7 +6,7 @@ This PowerShell script plays the Mission Impossible theme. Parameters ---------- ```powershell -PS> ./play-mission-impossible.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-mission-impossible.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-mission-impossible.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-mission-impossible.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index f23b024bf..b111e6853 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -6,7 +6,7 @@ This PowerShell script plays the given sound file (MPEG-1 audio layer-3 file for Parameters ---------- ```powershell -PS> ./play-mp3.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/play-mp3.ps1 [[-path] ] [] -path Specifies the file path to the .MP3 file @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-mp3.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-mp3.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index eb608fd29..8d0f0e7c6 100644 --- a/docs/play-parrot-sound.md +++ b/docs/play-parrot-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a parrot sound. Parameters ---------- ```powershell -PS> ./play-parrot-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-parrot-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-parrot-sound.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-parrot-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index 5de1f69db..2bf3ebf3e 100644 --- a/docs/play-pig-sound.md +++ b/docs/play-pig-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a pig sound. Parameters ---------- ```powershell -PS> ./play-pig-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-pig-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-pig-sound.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-pig-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-pong.md b/docs/play-pong.md index cbf70b2e3..5fd160b5b 100644 --- a/docs/play-pong.md +++ b/docs/play-pong.md @@ -176,4 +176,4 @@ while ($true) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-pong.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-pong.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index c4f59e913..f9710f356 100644 --- a/docs/play-rattlesnake-sound.md +++ b/docs/play-rattlesnake-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a rattlesnake sound. Parameters ---------- ```powershell -PS> ./play-rattlesnake-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-rattlesnake-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-rattlesnake-sound.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-rattlesnake-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 885e0b4b5..1058c8799 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with YouTube playing Rick Astley Parameters ---------- ```powershell -PS> ./play-rick.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-rick.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -49,4 +49,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-rick.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-rick.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-snake.md b/docs/play-snake.md index 1e3ac0303..786df1b6a 100644 --- a/docs/play-snake.md +++ b/docs/play-snake.md @@ -7,7 +7,7 @@ NOTE: use the arrow keys to control the snake Parameters ---------- ```powershell -PS> ./play-snake.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-snake.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -86,4 +86,4 @@ Start-Sleep -milliseconds 300 exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-snake.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-snake.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index 80bf5737c..0ef5d1e99 100644 --- a/docs/play-super-mario.md +++ b/docs/play-super-mario.md @@ -6,7 +6,7 @@ This PowerShell script plays the Super Mario intro. Parameters ---------- ```powershell -PS> ./play-super-mario.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-super-mario.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-super-mario.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-super-mario.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index 36eb1ab80..5e4cf2257 100644 --- a/docs/play-system-sounds.md +++ b/docs/play-system-sounds.md @@ -55,4 +55,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-system-sounds.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-system-sounds.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index 8276ec776..5b8e1009b 100644 --- a/docs/play-tetris-melody.md +++ b/docs/play-tetris-melody.md @@ -6,7 +6,7 @@ This PowerShell script plays the Tetris melody. Parameters ---------- ```powershell -PS> ./play-tetris-melody.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-tetris-melody.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -161,4 +161,4 @@ Start-Sleep -milliseconds 500 exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-tetris-melody.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-tetris-melody.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index c89114abc..07afede22 100644 --- a/docs/play-vulture-sound.md +++ b/docs/play-vulture-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a vulture sound. Parameters ---------- ```powershell -PS> ./play-vulture-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-vulture-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-vulture-sound.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-vulture-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index bf4ba165a..e2f879366 100644 --- a/docs/play-wolf-sound.md +++ b/docs/play-wolf-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a wolf sound. Parameters ---------- ```powershell -PS> ./play-wolf-sound.ps1 [] +/home/markus/Repos/PowerShell/scripts/play-wolf-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-wolf-sound.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-wolf-sound.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/poweroff.md b/docs/poweroff.md index 6eae73bd5..ff80d1a46 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -6,7 +6,7 @@ This script halts the local computer immediately (needs admin rights). Parameters ---------- ```powershell -PS> ./poweroff.ps1 [] +/home/markus/Repos/PowerShell/scripts/poweroff.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of poweroff.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of poweroff.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/print-image.md b/docs/print-image.md index 546df36b3..cb782f199 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -6,7 +6,7 @@ This PowerShell script shows the printer dialogue to print the given image file. Parameters ---------- ```powershell -PS> ./print-image.ps1 [[-Path] ] [] +/home/markus/Repos/PowerShell/scripts/print-image.ps1 [[-Path] ] [] -Path Specifies the path to the image file @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of print-image.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of print-image.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index cbd6dd6e3..923b027cb 100644 --- a/docs/publish-to-ipfs.md +++ b/docs/publish-to-ipfs.md @@ -6,7 +6,7 @@ This script publishes the given files and folders to IPFS. Parameters ---------- ```powershell -PS> ./publish-to-ipfs.ps1 [[-FilePattern] ] [[-HashList] ] [[-DF_Hashes] ] [] +/home/markus/Repos/PowerShell/scripts/publish-to-ipfs.ps1 [[-FilePattern] ] [[-HashList] ] [[-DF_Hashes] ] [] -FilePattern Specifies the file pattern @@ -110,7 +110,7 @@ try { } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ published $Count file(s)/folder(s) to IPFS in $Elapsed sec" + "✅ published $Count file(s)/folder(s) to IPFS in $Elapsed sec" " NOTE: to publish it to IPNS execute: ipfs name publish " exit 0 # success } catch { @@ -119,4 +119,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of publish-to-ipfs.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of publish-to-ipfs.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index 4ada390ec..a9a86a59b 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -6,7 +6,7 @@ This PowerShell script pulls remote updates into a local Git repository (includi Parameters ---------- ```powershell -PS> ./pull-repo.ps1 [[-pathToRepo] ] [] +/home/markus/Repos/PowerShell/scripts/pull-repo.ps1 [[-pathToRepo] ] [] -pathToRepo Specifies the file path to the local Git repository (default is working directory) @@ -30,7 +30,7 @@ PS> ./pull-repo.ps1 ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Pulling remote updates... ⏳ (4/4) Updating submodules... -✔️ Updates pulled into 📂rust repo in 14s. +✅ Updates pulled into 📂rust repo in 14s. ``` @@ -58,7 +58,7 @@ Script Content ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Pulling remote updates... ⏳ (4/4) Updating submodules... - ✔️ Updates pulled into 📂rust repo in 14s. + ✅ Updates pulled into 📂rust repo in 14s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -92,7 +92,7 @@ try { if ($lastExitCode -ne "0") { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Updates pulled into 📂$pathToRepoName repo in $($elapsed)s." + "✅ Updates pulled into 📂$pathToRepoName repo in $($elapsed)s." exit 0 # success } catch { "⚠️ Error: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of pull-repo.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of pull-repo.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index 3a0e01f97..648dc6a10 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -6,7 +6,7 @@ This PowerShell script pulls updates into all Git repositories in a folder (incl Parameters ---------- ```powershell -PS> ./pull-repos.ps1 [[-parentDir] ] [] +/home/markus/Repos/PowerShell/scripts/pull-repos.ps1 [[-parentDir] ] [] -parentDir Specifies the path to the parent folder @@ -94,10 +94,10 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($failed -eq 0) { - "✔️ Updated $numFolders repositories under 📂$parentDirName in $($elapsed)s." + "✅ Pulled updates into $numFolders repos at 📂$parentDir in $($elapsed)s." exit 0 # success } else { - "⚠️ Updated $numFolders repositories under 📂$parentDirName in $($elapsed)s but $failed failed!" + "⚠️ Updated $numFolders repos at 📂$parentDir in $($elapsed)s but $failed failed!" exit 1 } } catch { @@ -106,4 +106,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of pull-repos.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of pull-repos.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index 4895b2374..dfd64d217 100644 --- a/docs/query-smart-data.md +++ b/docs/query-smart-data.md @@ -8,7 +8,7 @@ Queries the S.M.A.R.T. data of your HDD/SSD's and saves it to the current/given Parameters ---------- ```powershell -PS> ./query-smart-data.ps1 [[-Directory] ] [] +/home/markus/Repos/PowerShell/scripts/query-smart-data.ps1 [[-Directory] ] [] -Directory Specifies the path to the target directory @@ -98,7 +98,7 @@ try { $DevNo++ } - "✔️ Done." + "✅ Done." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -106,4 +106,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of query-smart-data.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of query-smart-data.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index 868c39911..ecfb36487 100644 --- a/docs/reboot-fritzbox.md +++ b/docs/reboot-fritzbox.md @@ -6,7 +6,7 @@ This PowerShell script reboots the FRITZ!Box device Parameters ---------- ```powershell -PS> ./reboot-fritzbox.ps1 [[-Username] ] [[-Password] ] [] +/home/markus/Repos/PowerShell/scripts/reboot-fritzbox.ps1 [[-Username] ] [[-Password] ] [] -Username Specifies the user name @@ -152,4 +152,4 @@ echo $Result exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of reboot-fritzbox.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of reboot-fritzbox.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/reboot.md b/docs/reboot.md index b2892a713..8c131e755 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -6,7 +6,7 @@ This PowerShell script reboots the local computer immediately (needs admin right Parameters ---------- ```powershell -PS> ./reboot.ps1 [] +/home/markus/Repos/PowerShell/scripts/reboot.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of reboot.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of reboot.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/remember.md b/docs/remember.md index c515bed8c..ac32e6d8c 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -6,7 +6,7 @@ This PowerShell script saves the given text to 'Remember.csv' in your home folde Parameters ---------- ```powershell -PS> ./remember.ps1 [[-text1] ] [[-text2] ] [[-text3] ] [] +/home/markus/Repos/PowerShell/scripts/remember.ps1 [[-text1] ] [[-text2] ] [[-text3] ] [] -text1 Specifies the text to memorize @@ -42,7 +42,7 @@ Example ------- ```powershell PS> ./remember.ps1 "Buy apples" -✔️ Saved to /home/Markus/Remember.csv in 0s. +✅ Saved to /home/Markus/Remember.csv in 0s. ``` @@ -66,7 +66,7 @@ Script Content Specifies the text to memorize .EXAMPLE PS> ./remember.ps1 "Buy apples" - ✔️ Saved to /home/Markus/Remember.csv in 0s. + ✅ Saved to /home/Markus/Remember.csv in 0s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -93,7 +93,7 @@ try { $path = Resolve-Path $path [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Saved to $path in $($elapsed)s." + "✅ Saved to $path in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remember.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of remember.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/remind-me.md b/docs/remind-me.md index e1bef389f..07f5d2b8a 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -6,7 +6,7 @@ This PowerShell script creates a scheduled task that will display a popup messag Parameters ---------- ```powershell -PS> ./remind-me.ps1 [[-Message] ] [[-Time] ] [] +/home/markus/Repos/PowerShell/scripts/remind-me.ps1 [[-Message] ] [[-Time] ] [] -Message @@ -88,4 +88,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remind-me.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of remind-me.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/remove-dir-tree.md b/docs/remove-dir-tree.md index 40392cc6c..9e2019917 100644 --- a/docs/remove-dir-tree.md +++ b/docs/remove-dir-tree.md @@ -6,7 +6,7 @@ This PowerShell script silently removes a directory tree recursively. Use it wit Parameters ---------- ```powershell -PS> ./remove-dir-tree.ps1 [[-pathToDirTree] ] [] +/home/markus/Repos/PowerShell/scripts/remove-dir-tree.ps1 [[-pathToDirTree] ] [] -pathToDirTree Specifies the file path to the directory tree @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-dir-tree.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of remove-dir-tree.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index 844486e06..3fe8b44c3 100644 --- a/docs/remove-empty-dirs.md +++ b/docs/remove-empty-dirs.md @@ -6,7 +6,7 @@ This PowerShell script removes all empty subfolders within a directory tree. Parameters ---------- ```powershell -PS> ./remove-empty-dirs.ps1 [[-DirTree] ] [] +/home/markus/Repos/PowerShell/scripts/remove-empty-dirs.ps1 [[-DirTree] ] [] -DirTree Specifies the path to the directory tree @@ -83,7 +83,7 @@ try { Remove-Item -Path $Folder.Object.FullName -Force } } - "✔️ Done." + "✅ Done." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-empty-dirs.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of remove-empty-dirs.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index 192ae5d58..71d7a1d68 100644 --- a/docs/remove-old-dirs.md +++ b/docs/remove-old-dirs.md @@ -6,7 +6,7 @@ This PowerShell script removes any subfolder in a parent folder older than ./remove-old-dirs.ps1 [[-path] ] [[-numDays] ] [] +/home/markus/Repos/PowerShell/scripts/remove-old-dirs.ps1 [[-path] ] [[-numDays] ] [] -path Specifies the file path to the parent folder @@ -84,7 +84,7 @@ try { } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Removed $numRemoved of $count subfolders older than $numDays days in $elapsed sec" + "✅ Removed $numRemoved of $count subfolders older than $numDays days in $elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-old-dirs.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of remove-old-dirs.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 1e4e74148..1c0bfa0e4 100644 --- a/docs/remove-print-jobs.md +++ b/docs/remove-print-jobs.md @@ -6,7 +6,7 @@ This PowerShell script removes all print jobs from all printer devices. Parameters ---------- ```powershell -PS> ./remove-print-jobs.ps1 [] +/home/markus/Repos/PowerShell/scripts/remove-print-jobs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,7 +57,7 @@ try { } } - "✔️ all print jobs removed" + "✅ all print jobs removed" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-print-jobs.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of remove-print-jobs.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index bb740b36b..a51e5f1f4 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -6,7 +6,7 @@ This PowerShell script removes a Git tag, either locally, remote, or both. Parameters ---------- ```powershell -PS> ./remove-tag.ps1 [[-TagName] ] [[-Mode] ] [[-RepoDir] ] [] +/home/markus/Repos/PowerShell/scripts/remove-tag.ps1 [[-TagName] ] [[-Mode] ] [[-RepoDir] ] [] -TagName Specifies the Git tag name @@ -103,7 +103,7 @@ try { } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ removed tag '$TagName' in $Elapsed sec" + "✅ removed tag '$TagName' in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -111,4 +111,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-tag.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of remove-tag.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/remove-user.md b/docs/remove-user.md index 390bfe76b..fea1370b0 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -6,7 +6,7 @@ This PowerShell script removes an existing user account including the home direc Parameters ---------- ```powershell -PS> ./remove-user.ps1 [[-username] ] [] +/home/markus/Repos/PowerShell/scripts/remove-user.ps1 [[-username] ] [] -username @@ -25,7 +25,7 @@ Example ------- ```powershell PS> ./remove-user.ps1 Joe -✔️ Removed user 'Joe' including home directory in 11s. +✅ Removed user 'Joe' including home directory in 11s. ``` @@ -47,7 +47,7 @@ Script Content This PowerShell script removes an existing user account including the home directory. .EXAMPLE PS> ./remove-user.ps1 Joe - ✔️ Removed user 'Joe' including home directory in 11s. + ✅ Removed user 'Joe' including home directory in 11s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -67,7 +67,7 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Removed user '$username' including home directory in $($elapsed)s." + "✅ Removed user '$username' including home directory in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-user.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of remove-user.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index eca85fa3d..82a58570b 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-vm.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of remove-vm.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index aeb408aff..296b1e308 100644 --- a/docs/replace-in-files.md +++ b/docs/replace-in-files.md @@ -6,10 +6,10 @@ This PowerShell script searches and replaces a pattern in the given files by the Parameters ---------- ```powershell -PS> ./replace-in-files.ps1 [[-pattern] ] [[-replacement] ] [[-filePattern] ] [] +/home/markus/Repos/PowerShell/scripts/replace-in-files.ps1 [[-pattern] ] [[-replacement] ] [[-filePattern] ] [] -pattern - Specifies the text pattern to look for + Specifies the text pattern to search for (ask user by default) Required? false Position? 1 @@ -18,7 +18,7 @@ PS> ./replace-in-files.ps1 [[-pattern] ] [[-replacement] ] [[-fi Accept wildcard characters? false -replacement - Specifies the text replacement + Specifies the text replacement (ask user by default) Required? false Position? 2 @@ -27,7 +27,7 @@ PS> ./replace-in-files.ps1 [[-pattern] ] [[-replacement] ] [[-fi Accept wildcard characters? false -filePattern - Specifies the file to scan + Specifies the file search pattern (ask user by default) Required? false Position? 3 @@ -64,11 +64,11 @@ Script Content .DESCRIPTION This PowerShell script searches and replaces a pattern in the given files by the replacement. .PARAMETER pattern - Specifies the text pattern to look for + Specifies the text pattern to search for (ask user by default) .PARAMETER replacement - Specifies the text replacement + Specifies the text replacement (ask user by default) .PARAMETER filePattern - Specifies the file to scan + Specifies the file search pattern (ask user by default) .EXAMPLE PS> ./replace-in-files NSA "No Such Agency" C:\Temp\*.txt .LINK @@ -79,17 +79,16 @@ Script Content param([string]$pattern = "", [string]$replacement = "", [string]$filePattern = "") -function ReplaceInFile { param([string]$path, [string]$pattern, [string]$replacement) - +function ReplaceInFile([string]$path, [string]$pattern, [string]$replacement) { [System.IO.File]::WriteAllText($path, ([System.IO.File]::ReadAllText($path) -replace $pattern, $replacement) ) } try { - if ($pattern -eq "" ) { $pattern = Read-Host "Enter the text pattern to look for" } - if ($replacement -eq "" ) { $replacement = Read-Host "Enter the text replacement" } - if ($filePattern -eq "" ) { $filePattern = Read-Host "Enter the file pattern" } + if ($pattern -eq "" ) { $pattern = Read-Host "Enter the text to search for, e.g. 'Joe' " } + if ($replacement -eq "" ) { $replacement = Read-Host "Enter the text to replace with, e.g. 'J' " } + if ($filePattern -eq "" ) { $filePattern = Read-Host "Enter the file search pattern, e.g. '*.c'" } $stopWatch = [system.diagnostics.stopwatch]::startNew() $files = (Get-ChildItem -path "$filePattern" -attributes !Directory) @@ -97,7 +96,7 @@ try { ReplaceInFile $file $pattern $replacement } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Replaced '$pattern' by '$replacement' in $($files.Count) files in $elapsed sec" + "✅ Replaced '$pattern' by '$replacement' in $($files.Count) files in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -105,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of replace-in-files.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of replace-in-files.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index 7b895b9ef..25e468b79 100644 --- a/docs/restart-network-adapters.md +++ b/docs/restart-network-adapters.md @@ -6,7 +6,7 @@ This PowerShell script restarts all local network adapters (needs admin rights). Parameters ---------- ```powershell -PS> ./restart-network-adapters.ps1 [] +/home/markus/Repos/PowerShell/scripts/restart-network-adapters.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,7 +52,7 @@ try { Get-NetAdapter | Restart-NetAdapter [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ restarted all local network adapters in $Elapsed sec" + "✅ restarted all local network adapters in $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of restart-network-adapters.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of restart-network-adapters.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index c81c97140..f5e5ef906 100644 --- a/docs/roll-a-dice.md +++ b/docs/roll-a-dice.md @@ -6,7 +6,7 @@ This PowerShell script rolls a dice and returns the number by text-to-speech (TT Parameters ---------- ```powershell -PS> ./roll-a-dice.ps1 [] +/home/markus/Repos/PowerShell/scripts/roll-a-dice.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -51,4 +51,4 @@ $Number = "1", "2", "3", "4", "5", "6" | Get-Random exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of roll-a-dice.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of roll-a-dice.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index 1f9134f59..0c1941e3f 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -1,19 +1,19 @@ Script: *save-credentials.ps1* ======================== -This PowerShell script asks for credentials and saves them encrypted into a target file ("$HOME\my.credentials" by default). +This PowerShell script asks for credentials and saves them encrypted into a target file. Parameters ---------- ```powershell -PS> ./save-credentials.ps1 [[-TargetFile] ] [] +/home/markus/Repos/PowerShell/scripts/save-credentials.ps1 [[-targetFile] ] [] --TargetFile - Specifies the target file ("$HOME\my.credentials" by default) +-targetFile + Specifies the target file ("~\my.credentials" by default) Required? false Position? 1 - Default value "$HOME\my.credentials" + Default value ~\my.credentials Accept pipeline input? false Accept wildcard characters? false @@ -27,7 +27,7 @@ Example ```powershell PS> ./save-credentials.ps1 Enter username and password, please. - ✔️ Your credentials have been saved encrypted into C:\Users\Markus\my.credentials + ✅ Your credentials have been saved to C:\Users\Markus\my.credentials (encrypted). ``` @@ -46,26 +46,26 @@ Script Content .SYNOPSIS Saves credentials encrypted .DESCRIPTION - This PowerShell script asks for credentials and saves them encrypted into a target file ("$HOME\my.credentials" by default). -.PARAMETER TargetFile - Specifies the target file ("$HOME\my.credentials" by default) + This PowerShell script asks for credentials and saves them encrypted into a target file. +.PARAMETER targetFile + Specifies the target file ("~\my.credentials" by default) .EXAMPLE PS> ./save-credentials.ps1 Enter username and password, please. - ✔️ Your credentials have been saved encrypted into C:\Users\Markus\my.credentials + ✅ Your credentials have been saved to C:\Users\Markus\my.credentials (encrypted). .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$TargetFile = "$HOME\my.credentials") +param([string]$targetFile = "~\my.credentials") try { Write-Host "Enter username and password, please." -foreground red $cred = Get-Credential - $cred.Password | ConvertFrom-SecureString | Set-Content "$TargetFile" - "✔️ Your credentials have been saved encrypted into $TargetFile" + $cred.Password | ConvertFrom-SecureString | Set-Content "$targetFile" + "✅ Your credentials have been saved to $targetFile (encrypted)." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of save-credentials.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of save-credentials.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 05abe23a3..0671ef991 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -6,7 +6,7 @@ This PowerShell script takes a single screenshot and saves it into a target fold Parameters ---------- ```powershell -PS> ./save-screenshot.ps1 [[-TargetFolder] ] [] +/home/markus/Repos/PowerShell/scripts/save-screenshot.ps1 [[-TargetFolder] ] [] -TargetFolder Specifies the target folder (the user's screenshots folder by default) @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./save-screenshot - ✔️ screenshot saved to C:\Users\Markus\Pictures\Screenshots\2021-10-10T14-33-22.png + ✅ screenshot saved to C:\Users\Markus\Pictures\Screenshots\2021-10-10T14-33-22.png ``` @@ -50,7 +50,7 @@ Script Content Specifies the target folder (the user's screenshots folder by default) .EXAMPLE PS> ./save-screenshot - ✔️ screenshot saved to C:\Users\Markus\Pictures\Screenshots\2021-10-10T14-33-22.png + ✅ screenshot saved to C:\Users\Markus\Pictures\Screenshots\2021-10-10T14-33-22.png .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -90,7 +90,7 @@ try { $FilePath = (Join-Path $TargetFolder $Filename) TakeScreenshot $FilePath - "✔️ screenshot saved to $FilePath" + "✅ screenshot saved to $FilePath" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of save-screenshot.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of save-screenshot.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md new file mode 100644 index 000000000..e0c975eed --- /dev/null +++ b/docs/scan-folder.md @@ -0,0 +1,94 @@ +Script: *scan-folder.ps1* +======================== + +This PowerShell script scans a directory tree for malware. Requires the installation of ESET or Windows Defender. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/scan-folder.ps1 [[-path] ] [] + +-path + Specifies the file path to the folder (default is working directory). + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./scan-folder.ps1 C:\Windows +⏳ Scanning 📂C:\Windows with ESET Antivirus... +... + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Scans a directory tree for malware +.DESCRIPTION + This PowerShell script scans a directory tree for malware. Requires the installation of ESET or Windows Defender. +.PARAMETER path + Specifies the file path to the folder (default is working directory). +.EXAMPLE + PS> ./scan-folder.ps1 C:\Windows + ⏳ Scanning 📂C:\Windows with ESET Antivirus... + ... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$path = "$PWD") + +try { + $stopWatch = [system.diagnostics.stopwatch]::startNew() + + if (-not(Test-Path $path -pathType container)) { throw "Invalid file path: $path" } + $path = Resolve-Path $path + + if (Test-Path "C:\Program Files\ESET\ESET Security\ecls.exe" -pathType leaf) { + + "⏳ Scanning 📂$path with ESET Antivirus..." + & "C:\Program Files\ESET\ESET Security\ecls.exe" $path + if ($lastExitCode -ne 0) { throw "ESET Antivirus failed with exit code $lastExitCode - POTENTIAL DANGER!!!" } + + } elseif (Test-Path "C:\Program Files\Windows Defender\MpCmdRun.exe" -pathType leaf) { + + "⏳ Scanning 📂$path with Windows Defender..." + & "C:\Program Files\Windows Defender\MpCmdRun.exe" -Scan -ScanType 2 -File $path + if ($lastExitCode -ne 0) { throw "Windows Defender failed with exit code $lastExitCode - POTENTIAL DANGER !!!" } + + } else { + throw "Found no ESET or Windows Defender - please install one." + } + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Scanned 📂$path in $($elapsed)s: No malware found." + exit 0 # success +} catch { + "⚠️ Error: $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of scan-folder.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/scan-network.md b/docs/scan-network.md index 14ec9e6f5..6be765355 100644 --- a/docs/scan-network.md +++ b/docs/scan-network.md @@ -32,4 +32,4 @@ $arguments = $arguments + " " + $targets Start-Process $location -ArgumentList $arguments -Wait ``` -*(generated by convert-ps2md.ps1 using the comment-based help of scan-network.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of scan-network.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index 60c994107..d073d5053 100644 --- a/docs/scan-ports.md +++ b/docs/scan-ports.md @@ -6,7 +6,7 @@ This PowerShell script scans the network for open or closed ports. Parameters ---------- ```powershell -PS> ./scan-ports.ps1 [] +/home/markus/Repos/PowerShell/scripts/scan-ports.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ foreach($add in $range) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of scan-ports.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of scan-ports.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/search-filename.md b/docs/search-filename.md index 9e3e26df8..f6d649d06 100644 --- a/docs/search-filename.md +++ b/docs/search-filename.md @@ -7,7 +7,7 @@ After you pass in a root folder and a search term, the script will list all file Parameters ---------- ```powershell -PS> ./search-filename.ps1 [-path] [-term] [] +/home/markus/Repos/PowerShell/scripts/search-filename.ps1 [-path] [-term] [] -path Specifies the path @@ -96,4 +96,4 @@ Search-Folder -FilePath $path -SearchTerm $term exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of search-filename.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of search-filename.ps1 as of 11/08/2024 12:34:54)* diff --git a/docs/search-files.md b/docs/search-files.md index a72d87721..834612428 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -6,7 +6,7 @@ This PowerShell script searches for the given text pattern in the given files. Parameters ---------- ```powershell -PS> ./search-files.ps1 [[-textPattern] ] [[-filePattern] ] [] +/home/markus/Repos/PowerShell/scripts/search-files.ps1 [[-textPattern] ] [[-filePattern] ] [] -textPattern Specifies the text pattern to search for @@ -83,7 +83,7 @@ param([string]$textPattern = "", [string]$filePattern = "") function ListLocations { param([string]$textPattern, [string]$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 containing '$textPattern' in $filePattern." } try { @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of search-files.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of search-files.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/search-repo.md b/docs/search-repo.md new file mode 100644 index 000000000..5faee150b --- /dev/null +++ b/docs/search-repo.md @@ -0,0 +1,94 @@ +Script: *search-repo.ps1* +======================== + +This PowerShell script searches for the given text pattern in a Git repository. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/search-repo.ps1 [[-textPattern] ] [[-path] ] [] + +-textPattern + Specifies the text pattern to search for + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false + +-path + Specifies the file path to the local Git repository + + Required? false + Position? 2 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./search-repo.ps1 UFO +list-calendar.ps1: Write-Host (" " * 4 * [int](Get-Date $day -uformat %u)) -NoNewLine +list-calendar.ps1: $dayOffset = [int](Get-Date -day 1 -month ($month + $i) -year $year -uformat %u) + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Searches for text in a repo +.DESCRIPTION + This PowerShell script searches for the given text pattern in a Git repository. +.PARAMETER textPattern + Specifies the text pattern to search for +.PARAMETER path + Specifies the file path to the local Git repository +.EXAMPLE + PS> ./search-repo.ps1 UFO + list-calendar.ps1: Write-Host (" " * 4 * [int](Get-Date $day -uformat %u)) -NoNewLine + list-calendar.ps1: $dayOffset = [int](Get-Date -day 1 -month ($month + $i) -year $year -uformat %u) +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$textPattern = "", [string]$path = "$PWD") + + +try { + if ($textPattern -eq "" ) { $textPattern = Read-Host "Enter the text pattern, e.g. 'UFO'" } + + if (-not(Test-Path "$path" -pathType container)) { throw "Can't access Git repository at: $path" } + + $null = (git --version) + if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + + & git -C "$path" grep $textPattern + if ($lastExitCode -ne "0") { throw "'git grep' failed with exit code $lastExitCode" } + + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of search-repo.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/send-email.md b/docs/send-email.md index 698fd43a6..223b78134 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -6,7 +6,7 @@ This PowerShell script sends an email message. Parameters ---------- ```powershell -PS> ./send-email.ps1 [[-From] ] [[-To] ] [[-Subject] ] [[-Body] ] [[-SMTPServer] ] [] +/home/markus/Repos/PowerShell/scripts/send-email.ps1 [[-From] ] [[-To] ] [[-Subject] ] [[-Body] ] [[-SMTPServer] ] [] -From Specifies the sender email address @@ -113,7 +113,7 @@ try { $msg.subject = $Subject $msg.body = $Body $smtp.Send($msg) - "✔️ Message sent." + "✅ Message sent." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -121,4 +121,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of send-email.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of send-email.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index b74661221..da3cbd798 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -6,7 +6,7 @@ This PowerShell script sends a TCP message to the given IP address and port. Parameters ---------- ```powershell -PS> ./send-tcp.ps1 [[-TargetIP] ] [[-TargetPort] ] [[-Message] ] [] +/home/markus/Repos/PowerShell/scripts/send-tcp.ps1 [[-TargetIP] ] [[-TargetPort] ] [[-Message] ] [] -TargetIP Specifies the target IP address @@ -96,7 +96,7 @@ try { $Stream.Close() $Socket.Close() - "✔️ Done." + "✅ Done." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of send-tcp.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of send-tcp.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/send-udp.md b/docs/send-udp.md index ff98e1464..d45cd968e 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -6,7 +6,7 @@ This PowerShell script sends a UDP datagram message to an IP address and port. Parameters ---------- ```powershell -PS> ./send-udp.ps1 [[-TargetIP] ] [[-TargetPort] ] [[-Message] ] [] +/home/markus/Repos/PowerShell/scripts/send-udp.ps1 [[-TargetIP] ] [[-TargetPort] ] [[-Message] ] [] -TargetIP Specifies the target IP address @@ -44,7 +44,7 @@ Example ------- ```powershell PS> ./send-udp 192.168.100.100 8080 "TEST" -✔️ Done. +✅ Done. ``` @@ -72,7 +72,7 @@ Script Content Specifies the message text to send .EXAMPLE PS> ./send-udp 192.168.100.100 8080 "TEST" - ✔️ Done. + ✅ Done. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -94,7 +94,7 @@ try { $SendMessage = $Socket.Send($EncodedText, $EncodedText.Length, $EndPoints) $Socket.Close() - "✔️ Done." + "✅ Done." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -102,4 +102,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of send-udp.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of send-udp.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/set-timer.md b/docs/set-timer.md index 8f35daba2..5d9bce0f9 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -6,7 +6,7 @@ This PowerShell script sets a timer for a countdown. Parameters ---------- ```powershell -PS> ./set-timer.ps1 [[-Seconds] ] [] +/home/markus/Repos/PowerShell/scripts/set-timer.ps1 [[-Seconds] ] [] -Seconds Specifies the number of seconds @@ -66,7 +66,7 @@ try { Start-Sleep -seconds 1 } - "✔️ $Seconds seconds countdown finished" + "✅ $Seconds seconds countdown finished" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of set-timer.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of set-timer.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/set-volume.md b/docs/set-volume.md index 7a80a4f74..067f3e777 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -6,7 +6,7 @@ This PowerShell script sets the audio volume to the given value in percent (0..1 Parameters ---------- ```powershell -PS> ./set-volume.ps1 [-percent] [] +/home/markus/Repos/PowerShell/scripts/set-volume.ps1 [-percent] [] -percent Specifies the volume in percent (0..100) @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of set-volume.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of set-volume.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index a7488a84e..b0747d515 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -6,7 +6,7 @@ This PowerShell script sets the given image file as desktop wallpaper (.JPG or . Parameters ---------- ```powershell -PS> ./set-wallpaper.ps1 [[-ImageFile] ] [[-Style] ] [] +/home/markus/Repos/PowerShell/scripts/set-wallpaper.ps1 [[-ImageFile] ] [[-Style] ] [] -ImageFile Specifies the path to the image file @@ -114,7 +114,7 @@ try { if ($ImageFile -eq "" ) { $ImageFile = read-host "Enter path to image file" } SetWallPaper -Image $ImageFile -Style $Style - "✔️ Done." + "✅ Done." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -122,4 +122,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of set-wallpaper.ps1 as of 08/15/2024 09:50:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of set-wallpaper.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index 024e42466..6b5281880 100644 --- a/docs/show-lightnings.md +++ b/docs/show-lightnings.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser and shows lightnings in OpenStre Parameters ---------- ```powershell -PS> ./show-lightnings.ps1 [] +/home/markus/Repos/PowerShell/scripts/show-lightnings.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of show-lightnings.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of show-lightnings.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index ee389f91a..527b56e53 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of show-notification-motivation-quote.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of show-notification-motivation-quote.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/show-notification.md b/docs/show-notification.md index 0403f7877..da91e6aba 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -1,12 +1,12 @@ Script: *show-notification.ps1* ======================== -This PowerShell script shows a toast-message notification for the Windows 10 Notification Center. +This PowerShell script shows a toast-message notification for the Windows Notification Center. Parameters ---------- ```powershell -PS> ./show-notification.ps1 [[-text] ] [[-title] ] [[-Duration] ] [] +/home/markus/Repos/PowerShell/scripts/show-notification.ps1 [[-text] ] [[-title] ] [[-duration] ] [] -text Specifies the text to show ('Hello World' by default) @@ -26,7 +26,7 @@ PS> ./show-notification.ps1 [[-text] ] [[-title] ] [[-Duration] Accept pipeline input? false Accept wildcard characters? false --Duration +-duration Specifies the view duration in milliseconds (5000 by default) Required? false @@ -43,7 +43,7 @@ PS> ./show-notification.ps1 [[-text] ] [[-title] ] [[-Duration] Example ------- ```powershell -PS> ./show-notification +PS> ./show-notification.ps1 ``` @@ -62,7 +62,7 @@ Script Content .SYNOPSIS Shows a notification .DESCRIPTION - This PowerShell script shows a toast-message notification for the Windows 10 Notification Center. + This PowerShell script shows a toast-message notification for the Windows Notification Center. .PARAMETER text Specifies the text to show ('Hello World' by default) .PARAMETER title @@ -70,14 +70,14 @@ Script Content .PARAMETER duration Specifies the view duration in milliseconds (5000 by default) .EXAMPLE - PS> ./show-notification + PS> ./show-notification.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$text = "Hello World", [string]$title = "NOTE", [int]$Duration = 5000) +param([string]$text = "Hello World", [string]$title = "NOTE", [int]$duration = 5000) try { Add-Type -AssemblyName System.Windows.Forms @@ -88,7 +88,7 @@ try { $balloon.BalloonTipText = $text $balloon.BalloonTipTitle = $title $balloon.Visible = $true - $balloon.ShowBalloonTip($Duration) + $balloon.ShowBalloonTip($duration) exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -96,4 +96,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of show-notification.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of show-notification.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index 11445b401..080e8f2d1 100644 --- a/docs/show-traffic.md +++ b/docs/show-traffic.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with MSN showing the current tra Parameters ---------- ```powershell -PS> ./show-traffic.ps1 [] +/home/markus/Repos/PowerShell/scripts/show-traffic.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of show-traffic.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of show-traffic.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index 0d20485bf..a43d421dd 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -6,7 +6,7 @@ This PowerShell script simulates the human presence against burglars. It switche Parameters ---------- ```powershell -PS> ./simulate-presence.ps1 [[-IPaddress] ] [] +/home/markus/Repos/PowerShell/scripts/simulate-presence.ps1 [[-IPaddress] ] [] -IPaddress Specifies the IP address of the Shelly1 device @@ -66,7 +66,7 @@ try { & "$PSScriptRoot/switch-shelly1.ps1" $IPaddress off 0 Start-Sleep -seconds 60 # off for 60 seconds } - "✔️ Done." + "✅ Done." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of simulate-presence.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of simulate-presence.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index 1aa5f2174..422ed6ed6 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -7,7 +7,7 @@ to a CSV table for analysis (use query-smart-data.ps1 to generate those JSON fil Parameters ---------- ```powershell -PS> ./smart-data2csv.ps1 [[-Directory] ] [] +/home/markus/Repos/PowerShell/scripts/smart-data2csv.ps1 [[-Directory] ] [] -Directory Specifies the path to the directory @@ -141,4 +141,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of smart-data2csv.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of smart-data2csv.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index e9eb563e4..1a8aac791 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with an Arabic text-to-speech (TTS) Parameters ---------- ```powershell -PS> ./speak-arabic.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-arabic.ps1 [[-text] ] [] -text Specifies the Arabic text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-arabic.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-arabic.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index 91ef9f6eb..5345005c4 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given checklist by text-to-speech (TTS). Parameters ---------- ```powershell -PS> ./speak-checklist.ps1 [[-Name] ] [] +/home/markus/Repos/PowerShell/scripts/speak-checklist.ps1 [[-Name] ] [] -Name Specifies the name of the checklist @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-checklist.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-checklist.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index 82bc08dd2..095c27c16 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -6,7 +6,7 @@ This PowerShell script speaks a countdown by text-to-speech (TTS) starting from Parameters ---------- ```powershell -PS> ./speak-countdown.ps1 [[-StartNumber] ] [] +/home/markus/Repos/PowerShell/scripts/speak-countdown.ps1 [[-StartNumber] ] [] -StartNumber Specifies the number to start from (10 by default) @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-countdown.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-countdown.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index 5045e4e48..2f60482ed 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Croatian text-to-speech (TTS Parameters ---------- ```powershell -PS> ./speak-croatian.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-croatian.ps1 [[-text] ] [] -text Specifies the Croatian text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-croatian.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-croatian.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index 77b81ce68..46d99631e 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Danish text-to-speech (TTS) Parameters ---------- ```powershell -PS> ./speak-danish.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-danish.ps1 [[-text] ] [] -text Specifies the Danish text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-danish.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-danish.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index 0241fe146..758de3e39 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Dutch text-to-speech (TTS) v Parameters ---------- ```powershell -PS> ./speak-dutch.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-dutch.ps1 [[-text] ] [] -text Specifies the Dutch text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-dutch.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-dutch.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-english.md b/docs/speak-english.md index 7358137f0..22a29a254 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with an English text-to-speech (TTS Parameters ---------- ```powershell -PS> ./speak-english.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-english.ps1 [[-text] ] [] -text Specifies the English text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-english.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-english.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index 44978ba05..83e783a7e 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -6,7 +6,7 @@ This PowerShell script speaks the content of the given Epub file by text-to-spee Parameters ---------- ```powershell -PS> ./speak-epub.ps1 [[-Filename] ] [] +/home/markus/Repos/PowerShell/scripts/speak-epub.ps1 [[-Filename] ] [] -Filename Specifies the path to the Epub file @@ -139,4 +139,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-epub.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-epub.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index 02ffc3225..881e4bbe0 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with an Esperanto text-to-speech (T Parameters ---------- ```powershell -PS> ./speak-esperanto.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-esperanto.ps1 [[-text] ] [] -text Specifies the Esperanto text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-esperanto.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-esperanto.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-file.md b/docs/speak-file.md index a9e415491..691e4916b 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -6,7 +6,7 @@ This PowerShell script speaks the content of the given text file by text-to-spee Parameters ---------- ```powershell -PS> ./speak-file.ps1 [[-File] ] [] +/home/markus/Repos/PowerShell/scripts/speak-file.ps1 [[-File] ] [] -File Specifies the path to the text file @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-file.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-file.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index 52e94f997..8e9f794e7 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Finnish text-to-speech (TTS) Parameters ---------- ```powershell -PS> ./speak-finnish.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-finnish.ps1 [[-text] ] [] -text Specifies the Finnish text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-finnish.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-finnish.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-french.md b/docs/speak-french.md index 801899e51..a28c4f725 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a French text-to-speech (TTS) Parameters ---------- ```powershell -PS> ./speak-french.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-french.ps1 [[-text] ] [] -text Specifies the French text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-french.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-french.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-german.md b/docs/speak-german.md index 20ae4ebfd..ec0c1bed8 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a German text-to-speech (TTS) Parameters ---------- ```powershell -PS> ./speak-german.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-german.ps1 [[-text] ] [] -text Specifies the German text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-german.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-german.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index dcc991c59..5f005a4f1 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Greek text-to-speech (TTS) v Parameters ---------- ```powershell -PS> ./speak-greek.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-greek.ps1 [[-text] ] [] -text Specifies the Greek text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-greek.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-greek.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index 1f90e0fc2..51c5e2d54 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Hebrew text-to-speech (TTS) Parameters ---------- ```powershell -PS> ./speak-hebrew.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-hebrew.ps1 [[-text] ] [] -text Specifies the Hebrew text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-hebrew.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-hebrew.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index e658b9610..b774a2620 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Hindi text-to-speech (TTS) v Parameters ---------- ```powershell -PS> ./speak-hindi.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-hindi.ps1 [[-text] ] [] -text Specifies the Hindi text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-hindi.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-hindi.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index 6cf39db64..ee0597a75 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with an Italian text-to-speech (TTS Parameters ---------- ```powershell -PS> ./speak-italian.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-italian.ps1 [[-text] ] [] -text Specifies the Italian text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-italian.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-italian.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index 87841d17f..806ba813e 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Japanese text-to-speech (TTS Parameters ---------- ```powershell -PS> ./speak-japanese.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-japanese.ps1 [[-text] ] [] -text Specifies the Japanese text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-japanese.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-japanese.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index 9a1ebc49d..48937b0b6 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Korean text-to-speech (TTS) Parameters ---------- ```powershell -PS> ./speak-korean.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-korean.ps1 [[-text] ] [] -text Specifies the Korean text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-korean.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-korean.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index a55b73c5a..9f2682dbd 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Latin text-to-speech (TTS) v Parameters ---------- ```powershell -PS> ./speak-latin.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-latin.ps1 [[-text] ] [] -text Specifies the Latin text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-latin.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-latin.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index bd6ec98e6..f5f38c934 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Mandarin text-to-speech (TTS Parameters ---------- ```powershell -PS> ./speak-mandarin.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-mandarin.ps1 [[-text] ] [] -text Specifies the Mandarin text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-mandarin.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-mandarin.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 6ccd4f925..be9548cc7 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Norwegian text-to-speech (TT Parameters ---------- ```powershell -PS> ./speak-norwegian.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-norwegian.ps1 [[-text] ] [] -text Specifies the Norwegian text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-norwegian.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-norwegian.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index 2ad0c5469..8f4133785 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Polish text-to-speech (TTS) Parameters ---------- ```powershell -PS> ./speak-polish.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-polish.ps1 [[-text] ] [] -text Specifies the Polish text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-polish.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-polish.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index 81e9d590c..a05f11d47 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Portuguese text-to-speech (T Parameters ---------- ```powershell -PS> ./speak-portuguese.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-portuguese.ps1 [[-text] ] [] -text Specifies the Portuguese text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-portuguese.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-portuguese.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index 651afbc30..deb658746 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -6,7 +6,7 @@ This PowerShell script speaks the text with a Russian text-to-speech (TTS) voice Parameters ---------- ```powershell -PS> ./speak-russian.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-russian.ps1 [[-text] ] [] -text Specifies the Russian text @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-russian.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-russian.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index 6a9683afe..08b60f141 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Spanish text-to-speech (TTS) Parameters ---------- ```powershell -PS> ./speak-spanish.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-spanish.ps1 [[-text] ] [] -text Specifies the Spanish text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-spanish.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-spanish.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index d21abf298..37f84bd1c 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Swedish text-to-speech (TTS) Parameters ---------- ```powershell -PS> ./speak-swedish.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-swedish.ps1 [[-text] ] [] -text Specifies the Swedish text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-swedish.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-swedish.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-test.md b/docs/speak-test.md index 698759d09..2e63b47ba 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-test.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-test.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-text.md b/docs/speak-text.md index 0009faacf..26d56a519 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text by the default text-to-speech (TTS) Parameters ---------- ```powershell -PS> ./speak-text.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-text.ps1 [[-text] ] [] -text Specifies the text to read @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-text.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-text.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index c33297d90..380ea1624 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Thai text-to-speech (TTS) vo Parameters ---------- ```powershell -PS> ./speak-thai.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-thai.ps1 [[-text] ] [] -text Specifies the Thai text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-thai.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-thai.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index 3ea3a3e30..fc18102c8 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Turkish text-to-speech (TTS) Parameters ---------- ```powershell -PS> ./speak-turkish.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-turkish.ps1 [[-text] ] [] -text Specifies the Turkish text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-turkish.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-turkish.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index fee7ff385..76a6720c0 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Ukrainian text-to-speech (TT Parameters ---------- ```powershell -PS> ./speak-ukrainian.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/speak-ukrainian.ps1 [[-text] ] [] -text Specifies the Ukranian text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-ukrainian.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-ukrainian.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/spell-word.md b/docs/spell-word.md index 6a3ae9cc3..10589c9d4 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -6,7 +6,7 @@ This PowerShell script spells the given word by text-to-speech (TTS). Parameters ---------- ```powershell -PS> ./spell-word.ps1 [[-word] ] [] +/home/markus/Repos/PowerShell/scripts/spell-word.ps1 [[-word] ] [] -word Specifies the word to spell @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of spell-word.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of spell-word.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index ec4d89a4b..f4ccade98 100644 --- a/docs/start-ipfs-server.md +++ b/docs/start-ipfs-server.md @@ -6,7 +6,7 @@ This PowerShell script starts a local IPFS server as a daemon process. Parameters ---------- ```powershell -PS> ./start-ipfs-server.ps1 [] +/home/markus/Repos/PowerShell/scripts/start-ipfs-server.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -81,7 +81,7 @@ try { Start-Process nohup -ArgumentList 'ipfs','daemon' -RedirectStandardOutput "$HOME/console.out" -RedirectStandardError "$HOME/console.err" [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ started IPFS server in $Elapsed sec" + "✅ started IPFS server in $Elapsed sec" "⚠️ NOTE: make sure your router does not block TCP/UDP port 4001 for IPv4 and IPv6" exit 0 # success } catch { @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of start-ipfs-server.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of start-ipfs-server.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/suspend.md b/docs/suspend.md index dc379507a..49c35627d 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -6,7 +6,7 @@ This PowerShell script suspends the local computer immediately. Parameters ---------- ```powershell -PS> ./suspend.ps1 [] +/home/markus/Repos/PowerShell/scripts/suspend.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of suspend.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of suspend.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index da7413750..e96caa22f 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -6,7 +6,7 @@ This PowerShell script switches to the given branch in a Git repository and also Parameters ---------- ```powershell -PS> ./switch-branch.ps1 [[-branchName] ] [[-pathToRepo] ] [] +/home/markus/Repos/PowerShell/scripts/switch-branch.ps1 [[-branchName] ] [[-pathToRepo] ] [] -branchName Specifies the Git branch name to switch to @@ -41,7 +41,7 @@ PS> ./switch-branch main ⏳ (4/6) Switching to branch 'main'... ⏳ (5/6) Pulling remote updates... ⏳ (6/6) Updating submodules... -✔️ Switched 📂rust repo to 'main' branch in 22s. +✅ Switched 📂rust repo to 'main' branch in 22s. ``` @@ -73,7 +73,7 @@ Script Content ⏳ (4/6) Switching to branch 'main'... ⏳ (5/6) Pulling remote updates... ⏳ (6/6) Updating submodules... - ✔️ Switched 📂rust repo to 'main' branch in 22s. + ✅ Switched 📂rust repo to 'main' branch in 22s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -118,7 +118,7 @@ try { if ($lastExitCode -ne "0") { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Switched 📂$repoDirName repo to '$branchName' branch in $($elapsed)s." + "✅ Switched 📂$repoDirName repo to '$branchName' branch in $($elapsed)s." exit 0 # success } catch { "⚠️ Error: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" @@ -126,4 +126,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of switch-branch.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of switch-branch.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index 28d77cea8..0ffe016ce 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -6,9 +6,9 @@ This PowerShell script switches a Shelly1 device in the local network. Parameters ---------- ```powershell -PS> ./switch-shelly1.ps1 [[-Host] ] [[-TurnMode] ] [[-Timer] ] [] +/home/markus/Repos/PowerShell/scripts/switch-shelly1.ps1 [[-host] ] [[-turnMode] ] [[-timer] ] [] --Host +-host Specifies either the hostname or IP address of the Shelly1 device Required? false @@ -17,7 +17,7 @@ PS> ./switch-shelly1.ps1 [[-Host] ] [[-TurnMode] ] [[-Timer] +-turnMode Specifies either 'on', 'off', or 'toggle' Required? false @@ -26,7 +26,7 @@ PS> ./switch-shelly1.ps1 [[-Host] ] [[-TurnMode] ] [[-Timer] +-timer Specifies the timer in seconds (0 = infinite) Required? false @@ -63,11 +63,11 @@ Script Content Switches a Shelly1 device .DESCRIPTION This PowerShell script switches a Shelly1 device in the local network. -.PARAMETER Host +.PARAMETER host Specifies either the hostname or IP address of the Shelly1 device -.PARAMETER TurnMode +.PARAMETER turnMode Specifies either 'on', 'off', or 'toggle' -.PARAMETER Timer +.PARAMETER timer Specifies the timer in seconds (0 = infinite) .EXAMPLE PS> ./switch-shelly1 192.168.100.100 toggle 10 @@ -77,16 +77,16 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -param([string]$Host = "", [string]$TurnMode = "", [int]$Timer = -999) +param([string]$host = "", [string]$turnMode = "", [int]$timer = -999) try { - if ($Host -eq "") { $Host = read-host "Enter hostname or IP address of the Shelly1 device" } - if ($TurnMode -eq "") { $TurnMode = read-host "Enter turn mode (on/off/toggle)" } - if ($Timer -eq -999) { [int]$Timer = read-host "Enter timer in seconds (0=endless)" } + if ($host -eq "") { $host = Read-Host "Enter the hostname or IP address of the Shelly1 device" } + if ($turnMode -eq "") { $turnMode = Read-Host "Enter the turn mode (on/off/toggle)" } + if ($timer -eq -999) { [int]$timer = Read-Host "Enter the timer in seconds (0=endless)" } - $Result = Invoke-RestMethod "http://$($Host)/relay/0?turn=$($TurnMode)&timer=$($Timer)" + $result = Invoke-RestMethod "http://$($host)/relay/0?turn=$($turnMode)&timer=$($timer)" - "✔️ switched Shelly1 device at $Host to $TurnMode for $Timer sec" + "✅ Switched Shelly1 device at $host to $turnMode for $timer sec." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -94,4 +94,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of switch-shelly1.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of switch-shelly1.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index 6dc216a72..c7dcd1151 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -6,7 +6,7 @@ This PowerShell script switches automatically from tab to tab every seconds Parameters ---------- ```powershell -PS> ./switch-tabs.ps1 [[-timeInterval] ] [] +/home/markus/Repos/PowerShell/scripts/switch-tabs.ps1 [[-timeInterval] ] [] -timeInterval Specifies the time interval in seconds (10sec per default) @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of switch-tabs.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of switch-tabs.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/sync-folder.md b/docs/sync-folder.md index 6c91c5670..510d4bfee 100644 --- a/docs/sync-folder.md +++ b/docs/sync-folder.md @@ -8,7 +8,7 @@ IMPORTANT NOTE: Make sure the target path is correct because the content gets re Parameters ---------- ```powershell -PS> ./sync-folder.ps1 [[-sourcePath] ] [[-targetPath] ] [] +/home/markus/Repos/PowerShell/scripts/sync-folder.ps1 [[-sourcePath] ] [[-targetPath] ] [] -sourcePath Specifies the path to the source folder @@ -88,7 +88,7 @@ try { if ($lastExitCode -gt 3) { throw 'Robocopy failed.' } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Synced 📂$sourcePath to 📂$targetPath in $elapsed sec" + "✅ Synced 📂$sourcePath to 📂$targetPath in $elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -96,4 +96,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of sync-folder.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of sync-folder.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index e4b9f1745..17839d28f 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -6,10 +6,10 @@ This PowerShell script synchronizes a local Git repository by pull and push (inc Parameters ---------- ```powershell -PS> ./sync-repo.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/sync-repo.ps1 [[-path] ] [] -path - Specifies the path to the Git repository + Specifies the path to the Git repository (current working directory by default) Required? false Position? 1 @@ -25,12 +25,12 @@ PS> ./sync-repo.ps1 [[-path] ] [] Example ------- ```powershell -PS> ./sync-repo.ps1 C:\MyRepo +PS> ./sync-repo.ps1 C:\Repos\curl ⏳ (1/4) Searching for Git executable... git version 2.42.0.windows.1 -⏳ (2/4) Checking local repository... 📂C:\MyRepo +⏳ (2/4) Checking local repository... C:\Repos\curl ⏳ (3/4) Pulling remote updates... Already up to date. ⏳ (4/4) Pushing local updates... Everything up-to-date -✔️ Synced repo 📂MyRepo in 5 sec +✅ Synced the 📂curl repo in 5s. ``` @@ -51,14 +51,14 @@ Script Content .DESCRIPTION This PowerShell script synchronizes a local Git repository by pull and push (including submodules). .PARAMETER path - Specifies the path to the Git repository + Specifies the path to the Git repository (current working directory by default) .EXAMPLE - PS> ./sync-repo.ps1 C:\MyRepo + PS> ./sync-repo.ps1 C:\Repos\curl ⏳ (1/4) Searching for Git executable... git version 2.42.0.windows.1 - ⏳ (2/4) Checking local repository... 📂C:\MyRepo + ⏳ (2/4) Checking local repository... C:\Repos\curl ⏳ (3/4) Pulling remote updates... Already up to date. ⏳ (4/4) Pushing local updates... Everything up-to-date - ✔️ Synced repo 📂MyRepo in 5 sec + ✅ Synced the 📂curl repo in 5s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -68,26 +68,26 @@ Script Content param([string]$path = "$PWD") try { - $StopWatch = [system.diagnostics.stopwatch]::startNew() + $stopWatch = [system.diagnostics.stopwatch]::startNew() Write-Host "⏳ (1/4) Searching for Git executable... " -noNewline & git --version if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } - Write-Host "⏳ (2/4) Checking local repository... 📂$path" + Write-Host "⏳ (2/4) Checking local repository... $path" if (!(Test-Path "$path" -pathType container)) { throw "Can't access folder: $path" } - $pathName = (Get-Item "$path").Name Write-Host "⏳ (3/4) Pulling remote updates... " -noNewline - & git -C "$Path" pull --all --recurse-submodules + & git -C "$path" pull --all --recurse-submodules if ($lastExitCode -ne "0") { throw "'git pull --all --recurse-submodes' failed" } Write-Host "⏳ (4/4) Pushing local updates... " -noNewline - & git -C "$Path" push + & git -C "$path" push if ($lastExitCode -ne "0") { throw "'git push' failed" } - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ Synced repo 📂$pathName in $Elapsed sec" + $pathName = (Get-Item "$path").Name + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Synced the 📂$pathName repo in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -95,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of sync-repo.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of sync-repo.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index 8da7aceba..3f89b49aa 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -6,7 +6,7 @@ This PowerShell script selects a random Chuck Norris joke in Data/jokes.csv and Parameters ---------- ```powershell -PS> ./tell-joke.ps1 [] +/home/markus/Repos/PowerShell/scripts/tell-joke.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of tell-joke.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of tell-joke.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index deca451e2..52ce87c30 100644 --- a/docs/tell-new-year.md +++ b/docs/tell-new-year.md @@ -6,7 +6,7 @@ This PowerShell script calculates the time until New Year and replies by text-to Parameters ---------- ```powershell -PS> ./tell-new-year.ps1 [] +/home/markus/Repos/PowerShell/scripts/tell-new-year.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of tell-new-year.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of tell-new-year.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index 133c8aef4..e01264024 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -6,7 +6,7 @@ This PowerShell script selects a random quote from Data/quotes.csv and speaks it Parameters ---------- ```powershell -PS> ./tell-quote.ps1 [] +/home/markus/Repos/PowerShell/scripts/tell-quote.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of tell-quote.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of tell-quote.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index 95d3f3147..f557e4c42 100644 --- a/docs/toggle-caps-lock.md +++ b/docs/toggle-caps-lock.md @@ -6,7 +6,7 @@ This PowerShell script toggles the Caps Lock key state. Parameters ---------- ```powershell -PS> ./toggle-caps-lock.ps1 [] +/home/markus/Repos/PowerShell/scripts/toggle-caps-lock.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of toggle-caps-lock.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of toggle-caps-lock.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index 0b44f86c7..3fd5f39a3 100644 --- a/docs/toggle-num-lock.md +++ b/docs/toggle-num-lock.md @@ -6,7 +6,7 @@ This PowerShell script toggles the Num Lock key state. Parameters ---------- ```powershell -PS> ./toggle-num-lock.ps1 [] +/home/markus/Repos/PowerShell/scripts/toggle-num-lock.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of toggle-num-lock.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of toggle-num-lock.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index 3fc4b0821..0a7e70f01 100644 --- a/docs/toggle-scroll-lock.md +++ b/docs/toggle-scroll-lock.md @@ -6,7 +6,7 @@ This PowerShell script toggles the Scroll Lock key state. Parameters ---------- ```powershell -PS> ./toggle-scroll-lock.ps1 [] +/home/markus/Repos/PowerShell/scripts/toggle-scroll-lock.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of toggle-scroll-lock.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of toggle-scroll-lock.ps1 as of 11/08/2024 12:34:55)* diff --git a/docs/translate-file.md b/docs/translate-file.md index ec849daa6..fb868919e 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -6,7 +6,7 @@ This PowerShell script translates the given text file into another language and Parameters ---------- ```powershell -PS> ./translate-file.ps1 [[-File] ] [[-SourceLang] ] [[-TargetLang] ] [] +/home/markus/Repos/PowerShell/scripts/translate-file.ps1 [[-File] ] [[-SourceLang] ] [[-TargetLang] ] [] -File Specifies the path to the file to be translated @@ -108,4 +108,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of translate-file.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of translate-file.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/translate-files.md b/docs/translate-files.md index fcb3eea1a..d59480583 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -6,7 +6,7 @@ This PowerShell script translates text files into multiple languages. Parameters ---------- ```powershell -PS> ./translate-files.ps1 [[-filePattern] ] [] +/home/markus/Repos/PowerShell/scripts/translate-files.ps1 [[-filePattern] ] [] -filePattern Specifies the file pattern of the text file(s) to be translated @@ -105,4 +105,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of translate-files.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of translate-files.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/translate-text.md b/docs/translate-text.md index 217df4cc0..d335c4d6e 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -6,7 +6,7 @@ This PowerShell script translates text into other languages. Parameters ---------- ```powershell -PS> ./translate-text.ps1 [[-Text] ] [[-SourceLangCode] ] [[-TargetLangCode] ] [] +/home/markus/Repos/PowerShell/scripts/translate-text.ps1 [[-Text] ] [[-SourceLangCode] ] [[-TargetLangCode] ] [] -Text Specifies the text to translate @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of translate-text.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of translate-text.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index a8b178637..52ff9c037 100644 --- a/docs/turn-volume-down.md +++ b/docs/turn-volume-down.md @@ -6,7 +6,7 @@ This PowerShell script turns the audio volume down (-10% by default). Parameters ---------- ```powershell -PS> ./turn-volume-down.ps1 [[-percent] ] [] +/home/markus/Repos/PowerShell/scripts/turn-volume-down.ps1 [[-percent] ] [] -percent Specifies the percent number @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-down.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-down.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index d51f419cf..5e61d1b7c 100644 --- a/docs/turn-volume-fully-up.md +++ b/docs/turn-volume-fully-up.md @@ -6,7 +6,7 @@ This PowerShell script turns the audio volume fully up to 100%. Parameters ---------- ```powershell -PS> ./turn-volume-fully-up.ps1 [] +/home/markus/Repos/PowerShell/scripts/turn-volume-fully-up.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-fully-up.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-fully-up.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index 89075efae..772459a95 100644 --- a/docs/turn-volume-off.md +++ b/docs/turn-volume-off.md @@ -6,7 +6,7 @@ This PowerShell script mutes the default audio device immediately. Parameters ---------- ```powershell -PS> ./turn-volume-off.ps1 [] +/home/markus/Repos/PowerShell/scripts/turn-volume-off.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-off.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-off.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index b8ba3629e..8fa0d7889 100644 --- a/docs/turn-volume-on.md +++ b/docs/turn-volume-on.md @@ -6,7 +6,7 @@ This PowerShell script immediately unmutes the audio output. Parameters ---------- ```powershell -PS> ./turn-volume-on.ps1 [] +/home/markus/Repos/PowerShell/scripts/turn-volume-on.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-on.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-on.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index 5bbd97753..7c97748c7 100644 --- a/docs/turn-volume-up.md +++ b/docs/turn-volume-up.md @@ -6,7 +6,7 @@ This PowerShell script turns the audio volume up (+10% by default). Parameters ---------- ```powershell -PS> ./turn-volume-up.ps1 [[-percent] ] [] +/home/markus/Repos/PowerShell/scripts/turn-volume-up.ps1 [[-percent] ] [] -percent Specifies the percent number @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-up.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-up.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index ad7712c85..16a791eb5 100644 --- a/docs/uninstall-all-apps.md +++ b/docs/uninstall-all-apps.md @@ -6,7 +6,7 @@ This PowerShell script uninstalls all applications from the local computer. Usef Parameters ---------- ```powershell -PS> ./uninstall-all-apps.ps1 [] +/home/markus/Repos/PowerShell/scripts/uninstall-all-apps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of uninstall-all-apps.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of uninstall-all-apps.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index a35b2d623..b3f9e0186 100644 --- a/docs/uninstall-bloatware.md +++ b/docs/uninstall-bloatware.md @@ -6,7 +6,7 @@ This PowerShell script uninstalls unnecessary software and applications. Parameters ---------- ```powershell -PS> ./uninstall-bloatware.ps1 [] +/home/markus/Repos/PowerShell/scripts/uninstall-bloatware.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -94,8 +94,8 @@ winget uninstall 'Netflix' winget uninstall 'LinkedIn' winget uninstall 'Prime Video for Windows' -"✔️ Finished" +"✅ Finished" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of uninstall-bloatware.ps1 as of 08/15/2024 09:50:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of uninstall-bloatware.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index 69efa4c65..747a281f6 100644 --- a/docs/update-powershell-profile.md +++ b/docs/update-powershell-profile.md @@ -6,7 +6,7 @@ This PowerShell script write/overwrites the PowerShell profile of the current us Parameters ---------- ```powershell -PS> ./update-powershell-profile.ps1 [[-path] ] [] +/home/markus/Repos/PowerShell/scripts/update-powershell-profile.ps1 [[-path] ] [] -path Specifies the path to the new profile ($PSScriptRoot/my-profile.ps1 by default) @@ -28,7 +28,7 @@ Example PS> ./update-powershell-profile.ps1 ⏳ (1/2) Querying path to PowerShell profile 'CurrentUserCurrentHost'... ⏳ (2/2) Copying my-profile.ps1 to /home/Markus/.config/powershell/Microsoft.PowerShell_profile.ps1... -✔️ PowerShell profile updated - it get's active on next login. +✅ Updated your PowerShell profile, it get's active on next login. ``` @@ -54,7 +54,7 @@ Script Content PS> ./update-powershell-profile.ps1 ⏳ (1/2) Querying path to PowerShell profile 'CurrentUserCurrentHost'... ⏳ (2/2) Copying my-profile.ps1 to /home/Markus/.config/powershell/Microsoft.PowerShell_profile.ps1... - ✔️ PowerShell profile updated - it get's active on next login. + ✅ Updated your PowerShell profile, it get's active on next login. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -72,7 +72,7 @@ try { $null = New-Item -Path $pathToProfile -ItemType "file" -Force Copy-Item "$path" "$pathToProfile" -force - "✔️ PowerShell profile updated - it get's active on next login." + "✅ Updated your PowerShell profile, it get's active on next login." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -80,4 +80,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of update-powershell-profile.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of update-powershell-profile.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index ee0e36875..1ebee3993 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -6,7 +6,7 @@ This PowerShell script upgrades Ubuntu Linux to the latest (LTS) release. Parameters ---------- ```powershell -PS> ./upgrade-ubuntu.ps1 [] +/home/markus/Repos/PowerShell/scripts/upgrade-ubuntu.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -79,7 +79,7 @@ try { sudo reboot } - "✔️ Done." + "✅ Done." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of upgrade-ubuntu.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of upgrade-ubuntu.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/upload-file.md b/docs/upload-file.md index b315334b3..9eaf48b15 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -6,7 +6,7 @@ This PowerShell script uploads a local file to a FTP server. Parameters ---------- ```powershell -PS> ./upload-file.ps1 [[-File] ] [[-URL] ] [[-Username] ] [[-Password] ] [] +/home/markus/Repos/PowerShell/scripts/upload-file.ps1 [[-File] ] [[-URL] ] [[-Username] ] [[-Password] ] [] -File Specifies the path to the local file @@ -136,7 +136,7 @@ try { $fileStream.Dispose() [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ uploaded 📄$Filename to $URL in $Elapsed sec" + "✅ uploaded 📄$Filename to $URL in $Elapsed sec" exit 0 # success } catch { [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds @@ -145,4 +145,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of upload-file.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of upload-file.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index 527706b81..b48f18b53 100644 --- a/docs/upload-to-dropbox.md +++ b/docs/upload-to-dropbox.md @@ -6,7 +6,7 @@ This PowerShell script uploads a local file to Dropbox. Parameters ---------- ```powershell -PS> ./upload-to-dropbox.ps1 [-SourceFilePath] [] +/home/markus/Repos/PowerShell/scripts/upload-to-dropbox.ps1 [-SourceFilePath] [] -SourceFilePath @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of upload-to-dropbox.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of upload-to-dropbox.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md new file mode 100644 index 000000000..ca8388260 --- /dev/null +++ b/docs/wake-up-host.md @@ -0,0 +1,123 @@ +Script: *wake-up-host.ps1* +======================== + +This PowerShell script sends a magic UDP packet to a computer to wake him up (requires the target computer to have Wake-on-LAN activated). + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/wake-up-host.ps1 [[-macAddr] ] [[-ipAddr] ] [[-udpPort] ] [[-numTimes] ] [] + +-macAddr + Specifies the host's MAC address (e.g. 11:22:33:44:55:66) + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false + +-ipAddr + Specifies the host's IP address or subnet address (e.g. 192.168.0.255) + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false + +-udpPort + Specifies the UDP port (9 by default) + + Required? false + Position? 3 + Default value 9 + Accept pipeline input? false + Accept wildcard characters? false + +-numTimes + Specifies # of times to send the packet (3 by default) + + Required? false + Position? 4 + Default value 3 + Accept pipeline input? false + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./wake-up-host.ps1 11:22:33:44:55:66 192.168.100.100 +✅ Magic packet sent to IP 192.168.100.100, UDP port 9, 3x - wait a minute until the computer fully boots up. + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Wakes up a computer using Wake-on-LAN +.DESCRIPTION + This PowerShell script sends a magic UDP packet to a computer to wake him up (requires the target computer to have Wake-on-LAN activated). +.PARAMETER macAddr + Specifies the host's MAC address (e.g. 11:22:33:44:55:66) +.PARAMETER ipAddr + Specifies the host's IP address or subnet address (e.g. 192.168.0.255) +.PARAMETER udpPort + Specifies the UDP port (9 by default) +.PARAMETER numTimes + Specifies # of times to send the packet (3 by default) +.EXAMPLE + PS> ./wake-up-host.ps1 11:22:33:44:55:66 192.168.100.100 + ✅ Magic packet sent to IP 192.168.100.100, UDP port 9, 3x - wait a minute until the computer fully boots up. +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$macAddr = "", [string]$ipAddr = "", [int]$udpPort = 9, [int]$numTimes = 3) + +function Send-WOL { param([string]$macAddr, [string]$ipAddr, [int]$udpPort) + $broadcastAddr = [Net.IPAddress]::Parse($ipAddr) + + $macAddr = (($macAddr.replace(":","")).replace("-","")).replace(".","") + $target = 0,2,4,6,8,10 | % {[convert]::ToByte($macAddr.substring($_,2),16)} + $packet = (,[byte]255 * 6) + ($target * 16) + + $UDPclient = New-Object System.Net.Sockets.UdpClient + $UDPclient.Connect($broadcastAddr, $udpPort) + [void]$UDPclient.Send($packet, 102) +} + +try { + if ($macAddr -eq "" ) { $macAddr = Read-Host "Enter the host's MAC address, e.g. 11:22:33:44:55:66" } + if ($ipAddr -eq "" ) { $ipAddr = Read-Host "Enter the host's IP or subnet address, e.g. 192.168.0.255" } + + for ($i = 0; $i -lt $numTimes; $i++) { + Send-WOL $macAddr.Trim() $ipAddr.Trim() $udpPort + Start-Sleep -milliseconds 100 + } + "✅ Magic packet sent to IP $ipAddr, UDP port $udpPort, $($numTimes)x - wait a minute until the computer fully boots up." + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of wake-up-host.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index 76ff6e3d5..751e6da14 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -6,7 +6,7 @@ This PowerShell script permanently lists the latest commit in a Git repository i Parameters ---------- ```powershell -PS> ./watch-commits.ps1 [[-pathToRepo] ] [[-updateInterval] ] [[-speed] ] [] +/home/markus/Repos/PowerShell/scripts/watch-commits.ps1 [[-pathToRepo] ] [[-updateInterval] ] [[-speed] ] [] -pathToRepo Specifies the file path to the local Git repository. @@ -115,4 +115,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of watch-commits.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of watch-commits.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/watch-file.md b/docs/watch-file.md index 04c7572ed..c680dc55f 100644 --- a/docs/watch-file.md +++ b/docs/watch-file.md @@ -64,4 +64,4 @@ function Watch-File { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of watch-file.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of watch-file.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/watch-news.md b/docs/watch-news.md index ea3930014..0b7db5b88 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -1,14 +1,14 @@ Script: *watch-news.ps1* ======================== -This PowerShell script lists the latest headlines by using a RSS (Really Simple Syndication) feed. +This PowerShell script continuously lists the latest headlines by using a RSS (Really Simple Syndication) feed. Parameters ---------- ```powershell -PS> ./watch-news.ps1 [[-RSS_URL] ] [[-lines] ] [[-timeInterval] ] [] +/home/markus/Repos/PowerShell/scripts/watch-news.ps1 [[-URL] ] [[-timeInterval] ] [] --RSS_URL +-URL Specifies the URL to the RSS feed (Yahoo World News by default) Required? false @@ -17,20 +17,11 @@ PS> ./watch-news.ps1 [[-RSS_URL] ] [[-lines] ] [[-timeInterval] < Accept pipeline input? false Accept wildcard characters? false --lines - Specifies the initial number of headlines - - Required? false - Position? 2 - Default value 10 - Accept pipeline input? false - Accept wildcard characters? false - -timeInterval - Specifies the time interval in seconds between the Web requests + Specifies the time interval in seconds between two Web requests (30 seconds by default) Required? false - Position? 3 + Position? 2 Default value 30 Accept pipeline input? false Accept wildcard characters? false @@ -44,7 +35,13 @@ Example ------- ```powershell PS> ./watch-news.ps1 -❇️ Niger coup: Ecowas deadline sparks anxiety in northern Nigeria ❇️ + + + +UTC Yahoo News - Latest News & Headlines - https://www.yahoo.com/news/world + --- ----------------------------------------------------------------------- +❇️ 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria +... ``` @@ -61,48 +58,56 @@ Script Content ```powershell <# .SYNOPSIS - Watch the latest headlines + Watch the news .DESCRIPTION - This PowerShell script lists the latest headlines by using a RSS (Really Simple Syndication) feed. -.PARAMETER RSS_URL + This PowerShell script continuously lists the latest headlines by using a RSS (Really Simple Syndication) feed. +.PARAMETER URL Specifies the URL to the RSS feed (Yahoo World News by default) .PARAMETER lines Specifies the initial number of headlines .PARAMETER timeInterval - Specifies the time interval in seconds between the Web requests + Specifies the time interval in seconds between two Web requests (30 seconds by default) .EXAMPLE PS> ./watch-news.ps1 - ❇️ Niger coup: Ecowas deadline sparks anxiety in northern Nigeria ❇️ + + UTC Yahoo News - Latest News & Headlines - https://www.yahoo.com/news/world + --- ----------------------------------------------------------------------- + ❇️ 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria + ... .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$RSS_URL = "https://news.yahoo.com/rss/world", [int]$lines = 10, [int]$timeInterval = 30) # in seconds - -function PrintLatestHeadlines([string]$previous, [int]$maxLines) { - [xml]$content = (Invoke-WebRequest -URI $RSS_URL -useBasicParsing).Content - [string]$latest = "" - - foreach ($item in $content.rss.channel.item) { - $itemTitle = "$($item.title)" - if ($latest -eq "") { $latest = $itemTitle } - if ($itemTitle -eq $previous) { break } - - & "$PSScriptRoot/write-animated.ps1" "❇️ $itemTitle ❇️" - $maxLines-- - if ($maxLines -eq 0) { break } +param([string]$URL = "https://news.yahoo.com/rss/world", [int]$timeInterval = 30) # in seconds + +function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp) { + $items = $content.rss.channel.item + [array]::Reverse($items) + foreach($item in $items) { + if ($($item.pubDate) -le $latestTimestamp) { continue } + $title = $item.title + $time = $item.pubDate.Substring(11, 5) + & "$PSScriptRoot/write-typewriter.ps1" "❇️ $time $title" 2 + $latestTimestamp = $item.pubDate } - return $latest + return $latestTimestamp } try { - $latest = "" - while ($true) { - $latest = PrintLatestHeadlines $latest $lines + [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content + $title = $content.rss.channel.title + $link = $content.rss.channel.link + " " + " UTC $title - $link" + " --- -----------------------------------------------------------------------" + $latestTimestamp = "2000-01-01" + do { + $latestTimestamp = PrintLatestHeadlines $content $latestTimestamp Start-Sleep -seconds $timeInterval - } + [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content + } while ($true) exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -110,4 +115,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of watch-news.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of watch-news.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md new file mode 100644 index 000000000..1290af1b8 --- /dev/null +++ b/docs/watch-ping.md @@ -0,0 +1,138 @@ +Script: *watch-ping.ps1* +======================== + +This PowerShell script pings the given host continously and shows the roundtrip times in a horizontal chart. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/watch-ping.ps1 [[-hostname] ] [[-timeInterval] ] [] + +-hostname + Specifies the hostname or IP address to ping (windows.com by default) + + Required? false + Position? 1 + Default value windows.com + Accept pipeline input? false + Accept wildcard characters? false + +-timeInterval + Specifies the time interval in milliseconds between two pings (1000 by default) + + Required? false + Position? 2 + Default value 1000 + Accept pipeline input? false + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./watch-ping.ps1 + + + +PING ROUNDTRIP TIMES TO: windows.com +#1 ██████████████ 136ms +#2 ████████████████ 154ms +#3 █████████████████████████ 234ms +... + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Watch pinging a host +.DESCRIPTION + This PowerShell script pings the given host continously and shows the roundtrip times in a horizontal chart. +.PARAMETER hostname + Specifies the hostname or IP address to ping (windows.com by default) +.PARAMETER timeInterval + Specifies the time interval in milliseconds between two pings (1000 by default) +.EXAMPLE + PS> ./watch-ping.ps1 + + PING ROUNDTRIP TIMES TO: windows.com + #1 ██████████████ 136ms + #2 ████████████████ 154ms + #3 █████████████████████████ 234ms + ... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$hostname = "windows.com", [int]$timeInterval = 1000) + +function GetPingLatency([string]$hostname) { + $hostsArray = $hostname.Split(",") + $tasks = $hostsArray | foreach { + (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,1000) + } + [Threading.Tasks.Task]::WaitAll($tasks) + foreach($ping in $tasks.Result) { + if ($ping.Status -eq "Success") { return $ping.RoundtripTime } + } + return 1000 +} + +function WriteChartLine { param([float]$value, [float]$maxValue, [string]$text) + $num = ($value * 108.0) / $maxValue + while ($num -ge 1.0) { + Write-Host -noNewLine "█" + $num -= 1.0 + } + if ($num -ge 0.875) { + Write-Host -noNewLine "▉" + } elseif ($num -ge 0.75) { + Write-Host -noNewLine "▊" + } elseif ($num -ge 0.625) { + Write-Host -noNewLine "▋" + } elseif ($num -ge 0.5) { + Write-Host -noNewLine "▌" + } elseif ($num -ge 0.375) { + Write-Host -noNewLine "▍" + } elseif ($num -ge 0.25) { + Write-Host -noNewLine "▎" + } elseif ($num -ge 0.125) { + Write-Host -noNewLine "▏" + } + Write-Host " $text" +} + +try { + Write-Host "`n PING ROUNDTRIP TIMES TO: $hostname" -foregroundColor green + [int]$count = 1 + do { + Write-Host "#$count " -noNewline + [float]$latency = GetPingLatency $hostname + WriteChartLine $latency 1000.0 "$($latency)ms" + Start-Sleep -Milliseconds $timeInterval + $count++ + } while($true) + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of watch-ping.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/weather-report.md b/docs/weather-report.md index 2a7a30ef3..47b816cc3 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -6,7 +6,7 @@ This PowerShell script lists the local weather report. Parameters ---------- ```powershell -PS> ./weather-report.ps1 [[-GeoLocation] ] [] +/home/markus/Repos/PowerShell/scripts/weather-report.ps1 [[-GeoLocation] ] [] -GeoLocation Specifies the geographic location to use (determine automatically by default) @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of weather-report.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of weather-report.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/weather.md b/docs/weather.md index d3493b3b1..c1e3c7de0 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -6,7 +6,7 @@ This PowerShell script lists the current weather forecast. Parameters ---------- ```powershell -PS> ./weather.ps1 [[-GeoLocation] ] [] +/home/markus/Repos/PowerShell/scripts/weather.ps1 [[-GeoLocation] ] [] -GeoLocation Specifies the geographic location to use @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of weather.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of weather.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/what-is.md b/docs/what-is.md index 87e243244..c0d7b57e6 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -6,7 +6,7 @@ This PowerShell script queries the meaning of the given term/abbreviation/etc. a Parameters ---------- ```powershell -PS> ./what-is.ps1 [[-term] ] [] +/home/markus/Repos/PowerShell/scripts/what-is.ps1 [[-term] ] [] -term Specifies the term to query @@ -60,9 +60,9 @@ Script Content param([string]$term = "") try { - if ($term -eq "" ) { $term = Read-Host "Enter the term/abbreviation/etc. to query" } + if ($term -eq "" ) { $term = Read-Host "Enter the term to query" } - $files = (Get-ChildItem "$PSScriptRoot/../data/dicts/*.csv") + $files = Get-ChildItem "$PSScriptRoot/../data/dicts/*.csv" $basename = "" foreach($file in $files) { $table = Import-CSV "$file" @@ -73,7 +73,8 @@ try { } } if ($basename -eq "") { - & "$PSScriptRoot/open-URL.ps1" "https://www.google.com/search?q=what+is+$term" "🤷‍ Sorry, no '$term' entry found. Let's google it at: " + Write-Host "🤷‍ Sorry, '$term' is unknown to me. Ctrl + click here to google it: " -noNewline + Write-Host "https://www.google.com/search?q=what+is+$term" -foregroundColor blue } exit 0 # success } catch { @@ -82,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of what-is.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of what-is.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/windefender.md b/docs/windefender.md index f89fb3d79..dd147c058 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -6,7 +6,7 @@ This script can enable / disable and show Windows defender real time monitoring! Parameters ---------- ```powershell -PS> ./windefender.ps1 [] +/home/markus/Repos/PowerShell/scripts/windefender.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -82,4 +82,4 @@ break } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of windefender.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of windefender.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-animated.md b/docs/write-animated.md index e933795b9..1fd115188 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -6,7 +6,7 @@ This PowerShell script writes text centered and animated to the console. Parameters ---------- ```powershell -PS> ./write-animated.ps1 [[-text] ] [[-speed] ] [] +/home/markus/Repos/PowerShell/scripts/write-animated.ps1 [[-text] ] [[-speed] ] [] -text Specifies the text line to write ("Welcome to PowerShell" by default) @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-animated.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-animated.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index 4ecb5efdb..45fa4bbd6 100644 --- a/docs/write-ascii-image.md +++ b/docs/write-ascii-image.md @@ -61,4 +61,4 @@ WriteLine " '`--._,dd###pp='''" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-ascii-image.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-ascii-image.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-big.md b/docs/write-big.md index ea168aee8..c342ae873 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -6,7 +6,7 @@ This PowerShell script writes the given text in big letters. Parameters ---------- ```powershell -PS> ./write-big.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/write-big.ps1 [[-text] ] [] -text Specifies the text to write ("Hello World" by default) @@ -471,4 +471,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-big.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-big.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-blue.md b/docs/write-blue.md index 76037f4fc..219d08c33 100644 --- a/docs/write-blue.md +++ b/docs/write-blue.md @@ -6,7 +6,7 @@ This PowerShell script writes text in a blue foreground color. Parameters ---------- ```powershell -PS> ./write-blue.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/write-blue.ps1 [[-text] ] [] -text Specifies the text to write @@ -64,4 +64,4 @@ write-host -foregroundColor blue "$text" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-blue.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-blue.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-braille.md b/docs/write-braille.md index 3023d0bb0..c127a3541 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -6,7 +6,7 @@ This PowerShell script writes text in Braille. Parameters ---------- ```powershell -PS> ./write-braille.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/write-braille.ps1 [[-text] ] [] -text Specifies the text to write @@ -408,4 +408,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-braille.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-braille.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-centered.md b/docs/write-centered.md index 81d048036..2cd992889 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -6,7 +6,7 @@ This PowerShell script writes the given text centered to the console. Parameters ---------- ```powershell -PS> ./write-centered.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/write-centered.ps1 [[-text] ] [] -text Specifies the text to write @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-centered.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-centered.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index b6963dcda..e88ed93a2 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -7,7 +7,7 @@ NOTE: For proper sorting the Git commits should start with verbs such as 'Add', Parameters ---------- ```powershell -PS> ./write-changelog.ps1 [[-RepoDir] ] [] +/home/markus/Repos/PowerShell/scripts/write-changelog.ps1 [[-RepoDir] ] [] -RepoDir Specifies the path to the local Git repository (default is current working dir) @@ -155,4 +155,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-changelog.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-changelog.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-chart.md b/docs/write-chart.md index e3ddcdd33..113fc8db7 100644 --- a/docs/write-chart.md +++ b/docs/write-chart.md @@ -68,4 +68,4 @@ WriteChartLine "Tom" 30.9 100.0 exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-chart.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-chart.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-clock.md b/docs/write-clock.md index eae4c51e8..b219e8bc4 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -6,7 +6,7 @@ This PowerShell script writes the current time as ASCII clock. Parameters ---------- ```powershell -PS> ./write-clock.ps1 [] +/home/markus/Repos/PowerShell/scripts/write-clock.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-clock.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-clock.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-code.md b/docs/write-code.md index d2d571991..3fd14e0a1 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -6,7 +6,7 @@ This PowerShell script generates and writes PowerShell code on the console (no A Parameters ---------- ```powershell -PS> ./write-code.ps1 [[-color] ] [[-speed] ] [] +/home/markus/Repos/PowerShell/scripts/write-code.ps1 [[-color] ] [[-speed] ] [] -color Specifies the text color to use ("green" by default) @@ -118,4 +118,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-code.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-code.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-credits.md b/docs/write-credits.md new file mode 100644 index 000000000..dbd7a25ef --- /dev/null +++ b/docs/write-credits.md @@ -0,0 +1,79 @@ +Script: *write-credits.ps1* +======================== + +This PowerShell script writes the credits for the PowerShell script collection. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/write-credits.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./write-credits.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Writes the credits +.DESCRIPTION + This PowerShell script writes the credits for the PowerShell script collection. +.EXAMPLE + PS> ./write-credits.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + Clear-Host + " ______ ______ ______ _____ __ ______ ______ " + " /\ ___\ /\ == \ /\ ___\ /\ __-. /\ \ /\__ _\ /\ ___\ " + " \ \ \____ \ \ __< \ \ __\ \ \ \/\ \ \ \ \ \/_/\ \/ \ \___ \ " + " \ \_____\ \ \_\ \_\ \ \_____\ \ \____- \ \_\ \ \_\ \/\_____\ " + " \/_____/ \/_/ /_/ \/_____/ \/____/ \/_/ \/_/ \/_____/ " + "" + & "$PSScriptRoot/write-animated.ps1" "Typos: Markus Fleschutz" + & "$PSScriptRoot/write-animated.ps1" "Keyboard: Rapoo 12335 E9270P WL Ultra-Slim Touch" + & "$PSScriptRoot/write-animated.ps1" "Operating Systems: Windows 11 24H2 & Ubuntu Server 24.04 LTS" + & "$PSScriptRoot/write-animated.ps1" "Console: Windows Terminal 1.20.11271.0" + & "$PSScriptRoot/write-animated.ps1" "Shell: PowerShell 5.1.22621.2506 & PowerShell 7.4.3" + & "$PSScriptRoot/write-animated.ps1" "Scripts: PowerShell Scripts 1.2" + & "$PSScriptRoot/write-animated.ps1" "GitHub: github.com/fleschutz/PowerShell" + & "$PSScriptRoot/write-animated.ps1" "Git: version 2.45.0" + & "$PSScriptRoot/write-animated.ps1" "SSH: OpenSSH version 7.7p1" + & "$PSScriptRoot/write-animated.ps1" "Unicode: version 13.0" + & "$PSScriptRoot/write-animated.ps1" "Song #1: Epic Song by BoxCat Games from Free Music Archive" + & "$PSScriptRoot/write-animated.ps1" "Song #2: Siesta by Jahzzar from Free Music Archive" + & "$PSScriptRoot/write-animated.ps1" "Executive Producer: Markus Fleschutz" + & "$PSScriptRoot/write-animated.ps1" "Special Thanks: Andrea Fleschutz" + & "$PSScriptRoot/write-animated.ps1" "Copyright: (c) 2024. All Rights Reserved" + & "$PSScriptRoot/write-animated.ps1" "* No Animals Were Harmed in the Making of This Film *" + & "$PSScriptRoot/write-big.ps1" " Thanx 4 watching" + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of write-credits.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-date.md b/docs/write-date.md index 625aaa8ed..88d24deb1 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -1,12 +1,12 @@ Script: *write-date.ps1* ======================== -This PowerShell script determines and writes the current date. +This PowerShell script determines and writes the current date in US format. Parameters ---------- ```powershell -PS> ./write-date.ps1 [] +/home/markus/Repos/PowerShell/scripts/write-date.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -36,7 +36,7 @@ Script Content .SYNOPSIS Writes the current date .DESCRIPTION - This PowerShell script determines and writes the current date. + This PowerShell script determines and writes the current date in US format. .EXAMPLE PS> ./write-date 📅12/25/2022 @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-date.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-date.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index 32b006c3b..3d0367e8e 100644 --- a/docs/write-fractal.md +++ b/docs/write-fractal.md @@ -79,4 +79,4 @@ while ($true) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-fractal.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-fractal.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-green.md b/docs/write-green.md index 59bd57335..b5f2e6d42 100644 --- a/docs/write-green.md +++ b/docs/write-green.md @@ -6,7 +6,7 @@ This PowerShell script writes text in a green foreground color. Parameters ---------- ```powershell -PS> ./write-green.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/write-green.ps1 [[-text] ] [] -text Specifies the text to write @@ -63,4 +63,4 @@ write-host -foregroundColor green "$text" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-green.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-green.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md new file mode 100644 index 000000000..19bbdcfd9 --- /dev/null +++ b/docs/write-hands-off.md @@ -0,0 +1,70 @@ +Script: *write-hands-off.ps1* +======================== + +This PowerShell script writes 'Hands Off' in BIG letters. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/write-hands-off.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./write-hands-off.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Writes 'Hands Off' +.DESCRIPTION + This PowerShell script writes 'Hands Off' in BIG letters. +.EXAMPLE + PS> ./write-hands-off.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + $randomNumberGenerator = New-Object System.Random + while ($true) { + Clear-Host + Write-Host "`n`n" + & "$PSScriptRoot/write-big.ps1" " HANDS OFF" + Write-Host "`n`n" + & "$PSScriptRoot/write-big.ps1" " DO NOT TOUCH" + Write-Host "`n`n" + & "$PSScriptRoot/write-big.ps1" " MY PC" + [int]$x = $randomNumberGenerator.next(1, 90) + [int]$y = $randomNumberGenerator.next(1, 22) + [System.Console]::SetCursorPosition($x, $y) + Write-Host "🔥🔥🔥 LAST WARNING 🔥🔥🔥" -foregroundColor red + Start-Sleep -milliseconds 900 + } + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of write-hands-off.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-headline.md b/docs/write-headline.md index e99ef8a80..efcf0181b 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -6,7 +6,7 @@ This PowerShell script writes the given text as a headline. Parameters ---------- ```powershell -PS> ./write-headline.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/write-headline.ps1 [[-text] ] [] -text Specifies the text to write @@ -26,11 +26,9 @@ Example ------- ```powershell PS> ./write-headline.ps1 "Hello World" - - - -* Hello World * ---------------- +----------------- + Hello World +----------------- ``` @@ -54,9 +52,9 @@ Script Content Specifies the text to write .EXAMPLE PS> ./write-headline.ps1 "Hello World" - - * Hello World * - --------------- + ----------------- + Hello World + ----------------- .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -68,11 +66,10 @@ param([string]$text = "") try { if ($text -eq "") { $text = Read-Host "Enter the text to write" } - Write-Host "`n* $text *" -foregroundColor green [int]$len = $text.Length - [string]$line = "----" + [string]$line = "------" for ([int]$i = 0; $i -lt $len; $i++) { $line += "-" } - Write-Host "$line" -foregroundColor green + Write-Host "`n$line`n $text`n$line" -foregroundColor green exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -80,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-headline.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-headline.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-help.md b/docs/write-help.md new file mode 100644 index 000000000..7ac6dce32 --- /dev/null +++ b/docs/write-help.md @@ -0,0 +1,67 @@ +Script: *write-help.ps1* +======================== + +write-help.ps1 + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Writes a help page +.DESCRIPTION + This PowerShell script writes a PowerShell help page. +.EXAMPLE + PS> ./write-help.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +function White([string]$line) { + Write-Host $line -foregroundColor white -backgroundColor black -noNewline +} +function Blue([string]$line) { + Write-Host $line -foregroundColor blue -backgroundColor black -noNewline +} + +try { + White "█████████████████████████████████████`n" + White "█████████████████████████████████████ 👋 Welcome to POWERSHELL $($PSVersionTable.PSVersion) $($PSVersionTable.PSEdition) edition`n" + White "████ ▄▄▄▄▄ █▀ █▀▀█▀▀ ▄▄██ ▄▄▄▄▄ ████`n" + White "████ █ █ █▀ ▄ █▀ ▀ ▀▄█ █ █ █ ████ Documentation: "; Blue "https://docs.microsoft.com/en-us/powershell`n" + White "████ █▄▄▄█ █▀█ █▄▀▄▀ ▀ ▄▄█ █▄▄▄█ ████`n" + White "████▄▄▄▄▄▄▄█▄█▄█ █▄█ █▄▀ █▄▄▄▄▄▄▄████ Tutorial: "; Blue "https://www.guru99.com/powershell-tutorial.html`n" + White "████▄▄ ▄█▄▄ ▄█▄▄ █▀ ▀▀▀ ▀▄▀▄█▄▀████`n" + White "████▀▄▄█▀█▄██ ▀ ▄▄▀ █▄█▀ ▀ ▄▀▀█▀█████ Video tutorials: "; Blue "https://www.youtube.com/results?search_query=PowerShell`n" + White "█████ ▄▄█▄▄▀▄ ▀▄▀ ▄▄ ▀ ▀▀▀ ▀▄▄█▀████`n" + White "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████ Execute: 'Get-Help ' to display information about `n" + White "████ ████▄▄ ▄█▄▄▄██ ▀ ▀▀▀▀▄ █▀████`n" + White "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████ FAQ's: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md`n" + White "████▄█▄███▄▄▀▄▄▄▀ ▄▄ ▄▀▄ ▄▄▄ ▀ ████`n" + White "████ ▄▄▄▄▄ █▄▄▄█▀█▄ ██ █▄█ ▄▄█▀████ 500+ sample scripts: "; Blue "https://github.com/fleschutz/PowerShell`n" + White "████ █ █ █ ▀▄█▄ ▄▄ ▀█ ▄▄▄▄▀ ████`n" + White "████ █▄▄▄█ █ ██ ▄█▄ ▄▀▀▀ ▄▄ ▄ █████ Cheat sheet: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md`n" + White "████▄▄▄▄▄▄▄█▄▄█▄▄████▄▄▄██▄▄▄█▄██████`n" + White "█████████████████████████████████████ NOTE: use + to open the links in your browser.`n" + White "█████████████████████████████████████`n" + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptWhiteNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of write-help.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index 49485e85b..0a7f4dc06 100644 --- a/docs/write-in-emojis.md +++ b/docs/write-in-emojis.md @@ -6,7 +6,7 @@ This PowerShell script replaces certain words in the given text by Emojis and wr Parameters ---------- ```powershell -PS> ./write-in-emojis.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/write-in-emojis.ps1 [[-text] ] [] -text Specifies the text @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-in-emojis.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-in-emojis.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 088d70ba5..332ca4a6a 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -6,7 +6,7 @@ This PowerShell script selects a random joke from Data/jokes.csv and writes it t Parameters ---------- ```powershell -PS> ./write-joke.ps1 [] +/home/markus/Repos/PowerShell/scripts/write-joke.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-joke.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-joke.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-location.md b/docs/write-location.md new file mode 100644 index 000000000..9fa095571 --- /dev/null +++ b/docs/write-location.md @@ -0,0 +1,65 @@ +Script: *write-location.ps1* +======================== + +This PowerShell script determines the location and writes it to the console. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/write-location.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./write-location.ps1 +📍47.7278°,10.3192° near 87435 Kempten in Bavaria, Germany. + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Writes the current location +.DESCRIPTION + This PowerShell script determines the location and writes it to the console. +.EXAMPLE + PS> ./write-location.ps1 + 📍47.7278°,10.3192° near 87435 Kempten in Bavaria, Germany. +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + $location = (Invoke-WebRequest -URI http://ifconfig.co/json -userAgent "curl" -useBasicParsing).Content | ConvertFrom-Json + $lat = $location.latitude + $long = $location.longitude + $city = $location.city + $zip = $location.zip_code + $region = $location.region_name + $country = $location.country + Write-Output "📍$lat°,$long° near $zip $city in $region, $country." + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of write-location.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index 2ef8d8fa9..3eabc847d 100644 --- a/docs/write-lowercase.md +++ b/docs/write-lowercase.md @@ -6,7 +6,7 @@ This PowerShell script writes the given text in lowercase letters. Parameters ---------- ```powershell -PS> ./write-lowercase.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/write-lowercase.ps1 [[-text] ] [] -text Specifies the text to write @@ -65,4 +65,4 @@ Write-Output $text.ToLower() exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-lowercase.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-lowercase.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index 492266eb0..d0cc04830 100644 --- a/docs/write-marquee.md +++ b/docs/write-marquee.md @@ -6,7 +6,7 @@ This PowerShell script writes the given text as marquee. Parameters ---------- ```powershell -PS> ./write-marquee.ps1 [[-Text] ] [[-Speed] ] [] +/home/markus/Repos/PowerShell/scripts/write-marquee.ps1 [[-Text] ] [[-Speed] ] [] -Text Specifies the text to write @@ -89,4 +89,4 @@ StartMarquee " exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-marquee.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-marquee.ps1 as of 11/08/2024 12:34:56)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index 3bde95f2c..25edfceff 100644 --- a/docs/write-matrix.md +++ b/docs/write-matrix.md @@ -81,4 +81,4 @@ exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-matrix.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-matrix.ps1 as of 11/08/2024 12:34:57)* diff --git a/docs/write-moon.md b/docs/write-moon.md index bcdba187f..559dcda2f 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -6,7 +6,7 @@ This PowerShell script writes the current moon phase to the console. Parameters ---------- ```powershell -PS> ./write-moon.ps1 [] +/home/markus/Repos/PowerShell/scripts/write-moon.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-moon.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-moon.ps1 as of 11/08/2024 12:34:57)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index 337bc6ab6..303015981 100644 --- a/docs/write-morse-code.md +++ b/docs/write-morse-code.md @@ -6,7 +6,7 @@ This PowerShell script writes the given text in Morse code. Parameters ---------- ```powershell -PS> ./write-morse-code.ps1 [[-text] ] [[-speed] ] [] +/home/markus/Repos/PowerShell/scripts/write-morse-code.ps1 [[-text] ] [[-speed] ] [] -text Specifies the text to write @@ -153,4 +153,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-morse-code.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-morse-code.ps1 as of 11/08/2024 12:34:57)* diff --git a/docs/write-motd.md b/docs/write-motd.md index 0f5bf134a..5498fda06 100644 --- a/docs/write-motd.md +++ b/docs/write-motd.md @@ -6,7 +6,7 @@ This PowerShell script writes the message of the day (MOTD). Parameters ---------- ```powershell -PS> ./write-motd.ps1 [] +/home/markus/Repos/PowerShell/scripts/write-motd.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -140,4 +140,4 @@ Write-Host " 'VEzjt:;;z>*`` " -ForegroundColor Yellow exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-motd.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-motd.ps1 as of 11/08/2024 12:34:57)* diff --git a/docs/write-pi.md b/docs/write-pi.md new file mode 100644 index 000000000..6db823fa9 --- /dev/null +++ b/docs/write-pi.md @@ -0,0 +1,120 @@ +Script: *write-pi.ps1* +======================== + +This PowerShell script calculates and writes the digits of the mathematical constant PI. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/write-pi.ps1 [[-digits] ] [] + +-digits + Specifies the number of digits to list (1000 by default) + + Required? false + Position? 1 + Default value 1000 + Accept pipeline input? false + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./write-pi.ps1 +3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342... + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Writes PI +.DESCRIPTION + This PowerShell script calculates and writes the digits of the mathematical constant PI. +.PARAMETER digits + Specifies the number of digits to list (1000 by default) +.EXAMPLE + PS> ./write-pi.ps1 + 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([int]$digits = 1000) + +function Write-Pi ( $digits ) { + $Big = [bigint[]](0..10) + + $ndigits = 0 + + $q = $t = $k = $Big[1] + $r = $Big[0] + $l = $n = $Big[3] + + # calculate first digit + $nr = ( $Big[2] * $q + $r ) * $l + $nn = ( $q * ( $Big[7] * $k + $Big[2] ) + $r * $l ) / ( $t * $l ) + $q *= $k + $t *= $l + $l += $Big[2] + $k = $k + $Big[1] + $n = $nn + $r = $nr + + Write-Host "$($n)." -noNewline + $ndigits++ + + $nr = $Big[10] * ( $r - $n * $t ) + $n = ( ( $Big[10] * ( 3 * $q + $r ) ) / $t ) - 10 * $n + $q *= $Big[10] + $r = $nr + + while ($ndigits -lt $digits) { + if ($Big[4] * $q + $r - $t -lt $n * $t) { + Write-Host "$n" -noNewline + $ndigits++ + $nr = $Big[10] * ( $r - $n * $t ) + $n = ( ( $Big[10] * ( 3 * $q + $r ) ) / $t ) - 10 * $n + $q *= $Big[10] + $r = $nr + } else { + $nr = ( $Big[2] * $q + $r ) * $l + $nn = ( $q * ( $Big[7] * $k + $Big[2] ) + $r * $l ) / ( $t * $l ) + $q *= $k + $t *= $l + $l += $Big[2] + $k = $k + $Big[1] + $n = $nn + $r = $nr + } + } + Write-Host "... ($digits digits)" +} + +try { + Write-Pi $digits + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(generated by convert-ps2md.ps1 using the comment-based help of write-pi.ps1 as of 11/08/2024 12:34:57)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index 5e5f836ad..a189ca33e 100644 --- a/docs/write-qr-code.md +++ b/docs/write-qr-code.md @@ -6,7 +6,7 @@ This PowerShell script writes "Hello World" as QR code to the console output. Parameters ---------- ```powershell -PS> ./write-qr-code.ps1 [] +/home/markus/Repos/PowerShell/scripts/write-qr-code.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ Write-Host " " -foregroundColor black -backgroundCol exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-qr-code.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-qr-code.ps1 as of 11/08/2024 12:34:57)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 7c058723e..58a6b60c8 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -6,7 +6,7 @@ This PowerShell script selects a random quote from .../data/quotes.csv and write Parameters ---------- ```powershell -PS> ./write-quote.ps1 [] +/home/markus/Repos/PowerShell/scripts/write-quote.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-quote.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-quote.ps1 as of 11/08/2024 12:34:57)* diff --git a/docs/write-red.md b/docs/write-red.md index c9aa73a29..50494142d 100644 --- a/docs/write-red.md +++ b/docs/write-red.md @@ -6,7 +6,7 @@ This PowerShell script writes text in a red foreground color. Parameters ---------- ```powershell -PS> ./write-red.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/write-red.ps1 [[-text] ] [] -text Specifies the text to write @@ -63,4 +63,4 @@ write-host -foregroundcolor red "$text" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-red.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-red.ps1 as of 11/08/2024 12:34:57)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index a082d4855..61620093b 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -6,7 +6,7 @@ This PowerShell script writes text encoded or decoded with ROT13. Parameters ---------- ```powershell -PS> ./write-rot13.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/write-rot13.ps1 [[-text] ] [] -text Specifies the text to write @@ -82,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-rot13.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-rot13.ps1 as of 11/08/2024 12:34:57)* diff --git a/docs/write-shit.md b/docs/write-shit.md index 5106cce99..edd5b6459 100644 --- a/docs/write-shit.md +++ b/docs/write-shit.md @@ -6,7 +6,7 @@ This PowerShell script writes shit to the console (fun). Parameters ---------- ```powershell -PS> ./write-shit.ps1 [] +/home/markus/Repos/PowerShell/scripts/write-shit.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Write-Output "💩" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-shit.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-shit.ps1 as of 11/08/2024 12:34:57)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index 427b5a308..efa46e631 100644 --- a/docs/write-sine-curves.md +++ b/docs/write-sine-curves.md @@ -6,7 +6,7 @@ This PowerShell script writes sine curves. Parameters ---------- ```powershell -PS> ./write-sine-curves.ps1 [] +/home/markus/Repos/PowerShell/scripts/write-sine-curves.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ Script Content } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-sine-curves.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-sine-curves.ps1 as of 11/08/2024 12:34:57)* diff --git a/docs/write-time.md b/docs/write-time.md index dc3a3f0b5..3b9639aac 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -1,12 +1,12 @@ Script: *write-time.ps1* ======================== -This PowerShell script queries the current time and writes it to the console. +This PowerShell script queries the current time and writes it in US format to the console. Parameters ---------- ```powershell -PS> ./write-time.ps1 [] +/home/markus/Repos/PowerShell/scripts/write-time.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -36,7 +36,7 @@ Script Content .SYNOPSIS Writes the current time .DESCRIPTION - This PowerShell script queries the current time and writes it to the console. + This PowerShell script queries the current time and writes it in US format to the console. .EXAMPLE PS> ./write-time.ps1 🕒7:20 PM @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-time.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-time.ps1 as of 11/08/2024 12:34:57)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index 6e23e170f..b7f27b944 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -6,7 +6,7 @@ This PowerShell script writes the given text with the typewriter effect. Parameters ---------- ```powershell -PS> ./write-typewriter.ps1 [[-text] ] [[-speed] ] [] +/home/markus/Repos/PowerShell/scripts/write-typewriter.ps1 [[-text] ] [[-speed] ] [] -text Specifies the text to write @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-typewriter.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-typewriter.ps1 as of 11/08/2024 12:34:57)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index 749a11a55..52521f42c 100644 --- a/docs/write-uppercase.md +++ b/docs/write-uppercase.md @@ -6,10 +6,10 @@ This PowerShell script writes the given text in uppercase letters. Parameters ---------- ```powershell -PS> ./write-uppercase.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/write-uppercase.ps1 [[-text] ] [] -text - Specifies the text to write + Specifies the text to write (ask user by default) Required? false Position? 1 @@ -25,7 +25,7 @@ PS> ./write-uppercase.ps1 [[-text] ] [] Example ------- ```powershell -PS> ./write-uppercase "Hello World" +PS> ./write-uppercase.ps1 "Hello World" HELLO WORLD ``` @@ -47,9 +47,9 @@ Script Content .DESCRIPTION This PowerShell script writes the given text in uppercase letters. .PARAMETER text - Specifies the text to write + Specifies the text to write (ask user by default) .EXAMPLE - PS> ./write-uppercase "Hello World" + PS> ./write-uppercase.ps1 "Hello World" HELLO WORLD .LINK https://github.com/fleschutz/PowerShell @@ -65,4 +65,4 @@ Write-Output $text.ToUpper() exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-uppercase.ps1 as of 08/15/2024 09:50:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-uppercase.ps1 as of 11/08/2024 12:34:57)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index c6637f3ab..e9c7ed98c 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -6,7 +6,7 @@ This PowerShell script writes text in vertical direction. Parameters ---------- ```powershell -PS> ./write-vertical.ps1 [[-text] ] [] +/home/markus/Repos/PowerShell/scripts/write-vertical.ps1 [[-text] ] [] -text Specifies the text to write @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-vertical.ps1 as of 08/15/2024 09:50:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-vertical.ps1 as of 11/08/2024 12:34:57)* diff --git a/scripts/cd-nextcloud.ps1 b/scripts/cd-nextcloud.ps1 old mode 100644 new mode 100755 diff --git a/scripts/install-gitlab.ps1 b/scripts/install-gitlab.ps1 old mode 100644 new mode 100755 diff --git a/scripts/install-powershell.ps1 b/scripts/install-powershell.ps1 index cd7495dce..fc5326749 100755 --- a/scripts/install-powershell.ps1 +++ b/scripts/install-powershell.ps1 @@ -430,8 +430,13 @@ try { } if (-not $UseMSI) { - Write-Host "Removing current installation at: $Destination ..." - Remove-Destination $Destination + Write-Host "⏳ (4/5) Removing current installation at: $Destination ..." + if ($IsLinuxEnv) { + & sudo rm -rf "$Destination" + } else { + Remove-Destination "$Destination" + } + if (Test-Path $Destination) { Write-Host "⏳ (4/4) Copying files to $Destination... " # only copy files as folders will already exist at $Destination diff --git a/scripts/list-local-ip.ps1 b/scripts/list-local-ip.ps1 old mode 100644 new mode 100755 diff --git a/scripts/list-old-branches.ps1 b/scripts/list-old-branches.ps1 old mode 100644 new mode 100755 diff --git a/scripts/new-reboot-task.ps1 b/scripts/new-reboot-task.ps1 old mode 100644 new mode 100755 diff --git a/scripts/play-chess.ps1 b/scripts/play-chess.ps1 old mode 100644 new mode 100755 diff --git a/scripts/scan-folder.ps1 b/scripts/scan-folder.ps1 old mode 100644 new mode 100755 diff --git a/scripts/watch-ping.ps1 b/scripts/watch-ping.ps1 old mode 100644 new mode 100755 diff --git a/scripts/write-hands-off.ps1 b/scripts/write-hands-off.ps1 old mode 100644 new mode 100755 diff --git a/scripts/write-location.ps1 b/scripts/write-location.ps1 old mode 100644 new mode 100755 From 73d250a18269cee72051283ac667d55dda8b5476 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 8 Nov 2024 12:38:20 +0100 Subject: [PATCH 020/737] Updated the manuals --- docs/add-firewall-rules.md | 6 +++--- docs/alert.md | 6 +++--- docs/build-repo.md | 6 +++--- docs/build-repos.md | 6 +++--- docs/cd-autostart.md | 6 +++--- docs/cd-crashdumps.md | 6 +++--- docs/cd-desktop.md | 6 +++--- docs/cd-docs.md | 6 +++--- docs/cd-downloads.md | 6 +++--- docs/cd-dropbox.md | 6 +++--- docs/cd-etc.md | 6 +++--- docs/cd-fonts.md | 6 +++--- docs/cd-home.md | 6 +++--- docs/cd-jenkins.md | 6 +++--- docs/cd-logs.md | 6 +++--- docs/cd-music.md | 6 +++--- docs/cd-nextcloud.md | 6 +++--- docs/cd-onedrive.md | 6 +++--- docs/cd-pics.md | 6 +++--- docs/cd-public.md | 6 +++--- docs/cd-recent.md | 6 +++--- docs/cd-recycle-bin.md | 6 +++--- docs/cd-repo.md | 6 +++--- docs/cd-repos.md | 6 +++--- docs/cd-root.md | 6 +++--- docs/cd-screenshots.md | 6 +++--- docs/cd-scripts.md | 6 +++--- docs/cd-ssh.md | 6 +++--- docs/cd-temp.md | 6 +++--- docs/cd-templates.md | 6 +++--- docs/cd-trash.md | 6 +++--- docs/cd-up.md | 6 +++--- docs/cd-up2.md | 6 +++--- docs/cd-up3.md | 6 +++--- docs/cd-up4.md | 6 +++--- docs/cd-users.md | 6 +++--- docs/cd-videos.md | 6 +++--- docs/cd-windows.md | 6 +++--- docs/change-wallpaper.md | 6 +++--- docs/check-admin.md | 6 +++--- docs/check-apps.md | 6 +++--- docs/check-bios.md | 6 +++--- docs/check-cpu.md | 6 +++--- docs/check-credentials.md | 6 +++--- docs/check-day.md | 6 +++--- docs/check-dns.md | 6 +++--- docs/check-drive-space.md | 6 +++--- docs/check-drives.md | 6 +++--- docs/check-dusk.md | 6 +++--- docs/check-easter-sunday.md | 6 +++--- docs/check-file-system.md | 6 +++--- docs/check-file.md | 6 +++--- docs/check-firewall.md | 6 +++--- docs/check-gpu.md | 6 +++--- docs/check-hardware.md | 6 +++--- docs/check-health.md | 6 +++--- docs/check-independence-day.md | 6 +++--- docs/check-ipv4-address.md | 6 +++--- docs/check-ipv6-address.md | 6 +++--- docs/check-iss-position.md | 6 +++--- docs/check-mac-address.md | 6 +++--- docs/check-midnight.md | 6 +++--- docs/check-month.md | 6 +++--- docs/check-moon-phase.md | 6 +++--- docs/check-motherboard.md | 6 +++--- docs/check-network.md | 6 +++--- docs/check-noon.md | 6 +++--- docs/check-os.md | 6 +++--- docs/check-outlook.md | 6 +++--- docs/check-password.md | 6 +++--- docs/check-pending-reboot.md | 6 +++--- docs/check-pnp-devices.md | 6 +++--- docs/check-power.md | 6 +++--- docs/check-powershell.md | 6 +++--- docs/check-ps1-file.md | 6 +++--- docs/check-ram.md | 6 +++--- docs/check-repo.md | 6 +++--- docs/check-repos.md | 6 +++--- docs/check-santa.md | 6 +++--- docs/check-smart-devices.md | 6 +++--- docs/check-software.md | 6 +++--- docs/check-subnet-mask.md | 6 +++--- docs/check-swap-space.md | 6 +++--- docs/check-symlinks.md | 6 +++--- docs/check-time-zone.md | 6 +++--- docs/check-uptime.md | 6 +++--- docs/check-vpn.md | 6 +++--- docs/check-weather.md | 6 +++--- docs/check-week.md | 6 +++--- docs/check-wind.md | 6 +++--- docs/check-windows-system-files.md | 6 +++--- docs/check-xml-file.md | 6 +++--- docs/check-xml-files.md | 6 +++--- docs/clean-repo.md | 6 +++--- docs/clean-repos.md | 6 +++--- docs/clear-dns-cache.md | 6 +++--- docs/clear-recycle-bin.md | 6 +++--- docs/clone-repos.md | 6 +++--- docs/clone-shallow.md | 6 +++--- docs/close-calculator.md | 6 +++--- docs/close-chrome.md | 6 +++--- docs/close-cortana.md | 6 +++--- docs/close-edge.md | 6 +++--- docs/close-file-explorer.md | 6 +++--- docs/close-firefox.md | 6 +++--- docs/close-git-extensions.md | 6 +++--- docs/close-magnifier.md | 6 +++--- docs/close-microsoft-paint.md | 6 +++--- docs/close-microsoft-store.md | 6 +++--- docs/close-netflix.md | 6 +++--- docs/close-notepad.md | 6 +++--- docs/close-obs-studio.md | 6 +++--- docs/close-one-calendar.md | 6 +++--- docs/close-outlook.md | 6 +++--- docs/close-paint-three-d.md | 6 +++--- docs/close-program.md | 6 +++--- docs/close-serenade.md | 6 +++--- docs/close-snipping-tool.md | 6 +++--- docs/close-spotify.md | 6 +++--- docs/close-task-manager.md | 6 +++--- docs/close-three-d-viewer.md | 6 +++--- docs/close-thunderbird.md | 6 +++--- docs/close-visual-studio.md | 6 +++--- docs/close-vlc.md | 6 +++--- docs/close-windows-terminal.md | 6 +++--- docs/configure-git.md | 6 +++--- docs/connect-vpn.md | 6 +++--- docs/convert-csv2txt.md | 6 +++--- docs/convert-dir2zip.md | 6 +++--- docs/convert-docx2md.md | 6 +++--- docs/convert-frames2mp4.md | 6 +++--- docs/convert-image2ascii.md | 6 +++--- docs/convert-image2blurred-frames.md | 6 +++--- docs/convert-image2pixelated-frames.md | 6 +++--- docs/convert-md2docx.md | 6 +++--- docs/convert-md2html.md | 6 +++--- docs/convert-md2pdf.md | 6 +++--- docs/convert-mysql2csv.md | 6 +++--- docs/convert-ps2bat.md | 6 +++--- docs/convert-ps2md.md | 10 +++++----- docs/convert-sql2csv.md | 6 +++--- docs/convert-txt2wav.md | 6 +++--- docs/copy-photos-sorted.md | 6 +++--- docs/count-characters.md | 6 +++--- docs/count-lines.md | 6 +++--- docs/decrypt-file.md | 6 +++--- docs/disable-ipv6.md | 6 +++--- docs/disconnect-vpn.md | 6 +++--- docs/download-dir.md | 6 +++--- docs/download-file.md | 6 +++--- docs/edit.md | 6 +++--- docs/enable-crash-dumps.md | 6 +++--- docs/enable-god-mode.md | 6 +++--- docs/enable-ipv6.md | 6 +++--- docs/encrypt-file.md | 6 +++--- docs/enter-chat.md | 6 +++--- docs/enter-host.md | 6 +++--- docs/export-to-manuals.md | 6 +++--- docs/fetch-repo.md | 6 +++--- docs/fetch-repos.md | 6 +++--- docs/firefox-installer.md | 6 +++--- docs/get-md5.md | 6 +++--- docs/get-sha1.md | 6 +++--- docs/get-sha256.md | 6 +++--- docs/hello-world.md | 6 +++--- docs/hibernate.md | 6 +++--- docs/import-vm.md | 6 +++--- docs/inspect-exe.md | 6 +++--- docs/install-audacity.md | 6 +++--- docs/install-basic-apps.md | 6 +++--- docs/install-basic-snaps.md | 6 +++--- docs/install-calibre-server.md | 6 +++--- docs/install-chocolatey.md | 6 +++--- docs/install-chrome.md | 6 +++--- docs/install-crystal-disk-info.md | 6 +++--- docs/install-crystal-disk-mark.md | 6 +++--- docs/install-discord.md | 6 +++--- docs/install-edge.md | 6 +++--- docs/install-evcc.md | 6 +++--- docs/install-firefox.md | 6 +++--- docs/install-git-extensions.md | 6 +++--- docs/install-git-for-windows.md | 6 +++--- docs/install-github-cli.md | 6 +++--- docs/install-gitlab.md | 6 +++--- docs/install-irfanview.md | 6 +++--- docs/install-knot-resolver.md | 6 +++--- docs/install-microsoft-teams.md | 6 +++--- docs/install-netflix.md | 6 +++--- docs/install-obs-studio.md | 6 +++--- docs/install-octoprint.md | 6 +++--- docs/install-one-calendar.md | 6 +++--- docs/install-opera-browser.md | 6 +++--- docs/install-opera-gx.md | 6 +++--- docs/install-paint-3d.md | 6 +++--- docs/install-power-toys.md | 6 +++--- docs/install-powershell.md | 6 +++--- docs/install-rufus.md | 6 +++--- docs/install-salesforce-cli.md | 6 +++--- docs/install-signal-cli.md | 6 +++--- docs/install-skype.md | 6 +++--- docs/install-spotify.md | 6 +++--- docs/install-ssh-client.md | 6 +++--- docs/install-ssh-server.md | 6 +++--- docs/install-thunderbird.md | 6 +++--- docs/install-twitter.md | 6 +++--- docs/install-unbound-server.md | 6 +++--- docs/install-updates.md | 6 +++--- docs/install-visual-studio-code.md | 6 +++--- docs/install-vivaldi.md | 6 +++--- docs/install-vlc.md | 6 +++--- docs/install-windows-terminal.md | 6 +++--- docs/install-wsl.md | 6 +++--- docs/install-zoom.md | 6 +++--- docs/introduce-powershell.md | 6 +++--- docs/list-aliases.md | 6 +++--- docs/list-anagrams.md | 6 +++--- docs/list-apps.md | 6 +++--- docs/list-ascii-table.md | 6 +++--- docs/list-automatic-variables.md | 6 +++--- docs/list-battery-status.md | 6 +++--- docs/list-bios.md | 6 +++--- docs/list-bluetooth-devices.md | 6 +++--- docs/list-branches.md | 6 +++--- docs/list-calendar.md | 6 +++--- docs/list-cheat-sheet.md | 6 +++--- docs/list-city-weather.md | 6 +++--- docs/list-cli-tools.md | 6 +++--- docs/list-clipboard.md | 6 +++--- docs/list-cmdlets.md | 6 +++--- docs/list-coffee-prices.md | 6 +++--- docs/list-commit-stats.md | 6 +++--- docs/list-commits.md | 6 +++--- docs/list-console-colors.md | 6 +++--- docs/list-countries.md | 6 +++--- docs/list-cpu.md | 6 +++--- docs/list-crypto-rates.md | 6 +++--- docs/list-defender-settings.md | 6 +++--- docs/list-dir-tree.md | 6 +++--- docs/list-dns-servers.md | 6 +++--- docs/list-drives.md | 6 +++--- docs/list-earthquakes.md | 6 +++--- docs/list-emojis.md | 6 +++--- docs/list-empty-dirs.md | 6 +++--- docs/list-empty-files.md | 6 +++--- docs/list-encrypted-files.md | 6 +++--- docs/list-environment-variables.md | 6 +++--- docs/list-error-types.md | 6 +++--- docs/list-exchange-rates.md | 6 +++--- docs/list-executables.md | 6 +++--- docs/list-fibonacci.md | 6 +++--- docs/list-files.md | 6 +++--- docs/list-folder.md | 6 +++--- docs/list-fritzbox-calls.md | 6 +++--- docs/list-fritzbox-devices.md | 6 +++--- docs/list-headlines.md | 6 +++--- docs/list-hidden-files.md | 6 +++--- docs/list-installed-languages.md | 6 +++--- docs/list-installed-scripts.md | 6 +++--- docs/list-installed-software.md | 6 +++--- docs/list-internet-ip.md | 6 +++--- docs/list-ipv6.md | 6 +++--- docs/list-latest-tag.md | 6 +++--- docs/list-latest-tags.md | 6 +++--- docs/list-local-ip.md | 6 +++--- docs/list-mDNS.md | 6 +++--- docs/list-memos.md | 6 +++--- docs/list-mysql-tables.md | 6 +++--- docs/list-network-connections.md | 6 +++--- docs/list-network-neighbors.md | 6 +++--- docs/list-network-routes.md | 6 +++--- docs/list-network-shares.md | 6 +++--- docs/list-news.md | 6 +++--- docs/list-nic.md | 6 +++--- docs/list-nina-warnings.md | 6 +++--- docs/list-old-branches.md | 6 +++--- docs/list-os-releases.md | 6 +++--- docs/list-os-updates.md | 6 +++--- docs/list-os.md | 6 +++--- docs/list-outlook-inbox.md | 6 +++--- docs/list-outlook-sent.md | 6 +++--- docs/list-passwords.md | 6 +++--- docs/list-pins.md | 6 +++--- docs/list-power-schemes.md | 6 +++--- docs/list-powershell-modules.md | 6 +++--- docs/list-powershell-profiles.md | 6 +++--- docs/list-powershell-verbs.md | 6 +++--- docs/list-print-jobs.md | 6 +++--- docs/list-printers.md | 6 +++--- docs/list-processes.md | 6 +++--- docs/list-pull-requests.md | 6 +++--- docs/list-ram.md | 6 +++--- docs/list-read-only-files.md | 6 +++--- docs/list-recycle-bin.md | 6 +++--- docs/list-repos.md | 6 +++--- docs/list-scripts.md | 6 +++--- docs/list-scsi-devices.md | 6 +++--- docs/list-services.md | 6 +++--- docs/list-special-folders.md | 6 +++--- docs/list-sql-tables.md | 6 +++--- docs/list-ssh-key.md | 6 +++--- docs/list-submodules.md | 6 +++--- docs/list-suggestions.md | 6 +++--- docs/list-system-devices.md | 6 +++--- docs/list-system-files.md | 6 +++--- docs/list-system-info.md | 6 +++--- docs/list-tags.md | 6 +++--- docs/list-tasks.md | 6 +++--- docs/list-timezone.md | 6 +++--- docs/list-timezones.md | 6 +++--- docs/list-tiobe-index.md | 6 +++--- docs/list-unused-files.md | 6 +++--- docs/list-updates.md | 6 +++--- docs/list-usb-devices.md | 6 +++--- docs/list-user-accounts.md | 6 +++--- docs/list-user-groups.md | 6 +++--- docs/list-voices.md | 6 +++--- docs/list-weather.md | 6 +++--- docs/list-wifi.md | 6 +++--- docs/list-window-titles.md | 6 +++--- docs/list-workdir.md | 6 +++--- docs/list-wsl-distros.md | 6 +++--- docs/locate-city.md | 6 +++--- docs/locate-ipaddress.md | 6 +++--- docs/locate-my-phone.md | 6 +++--- docs/locate-zip-code.md | 6 +++--- docs/lock-desktop.md | 6 +++--- docs/log-off.md | 6 +++--- docs/make-install.md | 6 +++--- docs/measure-BubbleSort.md | 6 +++--- docs/measure-BucketSort.md | 6 +++--- docs/measure-CountingSort.md | 6 +++--- docs/measure-HeapSort.md | 6 +++--- docs/measure-InsertionSort.md | 6 +++--- docs/measure-MergeSort.md | 6 +++--- docs/measure-QuickSort.md | 6 +++--- docs/measure-SelectionSort.md | 6 +++--- docs/measure-sorting-algorithms.md | 6 +++--- docs/merry-christmas.md | 6 +++--- docs/minimize-all-windows.md | 6 +++--- docs/move-mouse-pointer.md | 6 +++--- docs/move-vm.md | 6 +++--- docs/my-profile.md | 6 +++--- docs/new-branch.md | 6 +++--- docs/new-dir.md | 6 +++--- docs/new-email.md | 6 +++--- docs/new-linux-vm.md | 6 +++--- docs/new-qrcode.md | 6 +++--- docs/new-reboot-task.md | 6 +++--- docs/new-script.md | 6 +++--- docs/new-shortcut.md | 6 +++--- docs/new-ssh-key.md | 6 +++--- docs/new-symlink.md | 6 +++--- docs/new-tag.md | 6 +++--- docs/new-user.md | 6 +++--- docs/new-windows-vm.md | 6 +++--- docs/on-desktop-login.md | 6 +++--- docs/open-URL.md | 6 +++--- docs/open-apps-folder.md | 6 +++--- docs/open-auto-start-folder.md | 6 +++--- docs/open-bing-maps.md | 6 +++--- docs/open-booking-com.md | 6 +++--- docs/open-c-drive.md | 6 +++--- docs/open-calculator.md | 6 +++--- docs/open-chrome.md | 6 +++--- docs/open-clock.md | 6 +++--- docs/open-cortana.md | 6 +++--- docs/open-d-drive.md | 6 +++--- docs/open-dashboards.md | 6 +++--- docs/open-deep-l-translator.md | 6 +++--- docs/open-default-browser.md | 6 +++--- docs/open-desktop-folder.md | 6 +++--- docs/open-documents-folder.md | 6 +++--- docs/open-downloads-folder.md | 6 +++--- docs/open-dropbox-folder.md | 6 +++--- docs/open-duck-duck-go.md | 6 +++--- docs/open-e-drive.md | 6 +++--- docs/open-edge.md | 6 +++--- docs/open-egg-timer.md | 6 +++--- docs/open-email-client.md | 6 +++--- docs/open-f-drive.md | 6 +++--- docs/open-file-explorer.md | 6 +++--- docs/open-fire-place.md | 6 +++--- docs/open-firefox.md | 6 +++--- docs/open-flight-radar.md | 6 +++--- docs/open-g-drive.md | 6 +++--- docs/open-git-extensions.md | 6 +++--- docs/open-google-books.md | 6 +++--- docs/open-google-calendar.md | 6 +++--- docs/open-google-contacts.md | 6 +++--- docs/open-google-docs.md | 6 +++--- docs/open-google-earth.md | 6 +++--- docs/open-google-mail.md | 6 +++--- docs/open-google-maps.md | 6 +++--- docs/open-google-news.md | 6 +++--- docs/open-google-photos.md | 6 +++--- docs/open-google-play.md | 6 +++--- docs/open-google-search.md | 6 +++--- docs/open-google-stadia.md | 6 +++--- docs/open-google-translate.md | 6 +++--- docs/open-home-folder.md | 6 +++--- docs/open-internet-archive.md | 6 +++--- docs/open-jitsi-meet.md | 6 +++--- docs/open-m-drive.md | 6 +++--- docs/open-magnifier.md | 6 +++--- docs/open-microsoft-paint.md | 6 +++--- docs/open-microsoft-solitaire.md | 6 +++--- docs/open-microsoft-store.md | 6 +++--- docs/open-microsoft-teams.md | 6 +++--- docs/open-music-folder.md | 6 +++--- docs/open-netflix.md | 6 +++--- docs/open-notepad.md | 6 +++--- docs/open-obs-studio.md | 6 +++--- docs/open-office-365.md | 6 +++--- docs/open-one-drive-folder.md | 6 +++--- docs/open-outlook.md | 6 +++--- docs/open-paint-three-d.md | 6 +++--- docs/open-pictures-folder.md | 6 +++--- docs/open-rdp.md | 6 +++--- docs/open-recycle-bin-folder.md | 6 +++--- docs/open-remote-desktop.md | 6 +++--- docs/open-repos-folder.md | 6 +++--- docs/open-screen-clip.md | 6 +++--- docs/open-screen-sketch.md | 6 +++--- docs/open-skype.md | 6 +++--- docs/open-snipping-tool.md | 6 +++--- docs/open-speed-test.md | 6 +++--- docs/open-spotify.md | 6 +++--- docs/open-stack-overflow.md | 6 +++--- docs/open-start-page.md | 6 +++--- docs/open-street-map.md | 6 +++--- docs/open-task-manager.md | 6 +++--- docs/open-temporary-folder.md | 6 +++--- docs/open-three-d-viewer.md | 6 +++--- docs/open-thunderbird.md | 6 +++--- docs/open-videos-folders.md | 6 +++--- docs/open-visual-studio.md | 6 +++--- docs/open-voice-recorder.md | 6 +++--- docs/open-vpn-settings.md | 6 +++--- docs/open-windows-defender.md | 6 +++--- docs/open-windows-terminal.md | 6 +++--- docs/open-xing.md | 6 +++--- docs/pick-commit.md | 6 +++--- docs/ping-host.md | 6 +++--- docs/ping-internet.md | 6 +++--- docs/ping-local-devices.md | 6 +++--- docs/ping-weather.md | 6 +++--- docs/play-bee-sound.md | 6 +++--- docs/play-beep-sound.md | 6 +++--- docs/play-big-ben.md | 6 +++--- docs/play-cat-sound.md | 6 +++--- docs/play-chess.md | 6 +++--- docs/play-cow-sound.md | 6 +++--- docs/play-dog-sound.md | 6 +++--- docs/play-donkey-sound.md | 6 +++--- docs/play-elephant-sound.md | 6 +++--- docs/play-elk-sound.md | 6 +++--- docs/play-files.md | 6 +++--- docs/play-frog-sound.md | 6 +++--- docs/play-goat-sound.md | 6 +++--- docs/play-gorilla-sound.md | 6 +++--- docs/play-happy-birthday.md | 6 +++--- docs/play-horse-sound.md | 6 +++--- docs/play-imperial-march.md | 6 +++--- docs/play-jingle-bells.md | 6 +++--- docs/play-lion-sound.md | 6 +++--- docs/play-m3u.md | 6 +++--- docs/play-mission-impossible.md | 6 +++--- docs/play-mp3.md | 6 +++--- docs/play-parrot-sound.md | 6 +++--- docs/play-pig-sound.md | 6 +++--- docs/play-pong.md | 6 +++--- docs/play-rattlesnake-sound.md | 6 +++--- docs/play-rick.md | 6 +++--- docs/play-snake.md | 6 +++--- docs/play-super-mario.md | 6 +++--- docs/play-system-sounds.md | 6 +++--- docs/play-tetris-melody.md | 6 +++--- docs/play-vulture-sound.md | 6 +++--- docs/play-wolf-sound.md | 6 +++--- docs/poweroff.md | 6 +++--- docs/print-image.md | 6 +++--- docs/publish-to-ipfs.md | 6 +++--- docs/pull-repo.md | 6 +++--- docs/pull-repos.md | 6 +++--- docs/query-smart-data.md | 6 +++--- docs/reboot-fritzbox.md | 6 +++--- docs/reboot.md | 6 +++--- docs/remember.md | 6 +++--- docs/remind-me.md | 6 +++--- docs/remove-dir-tree.md | 6 +++--- docs/remove-empty-dirs.md | 6 +++--- docs/remove-old-dirs.md | 6 +++--- docs/remove-print-jobs.md | 6 +++--- docs/remove-tag.md | 6 +++--- docs/remove-user.md | 6 +++--- docs/remove-vm.md | 6 +++--- docs/replace-in-files.md | 6 +++--- docs/restart-network-adapters.md | 6 +++--- docs/roll-a-dice.md | 6 +++--- docs/save-credentials.md | 6 +++--- docs/save-screenshot.md | 6 +++--- docs/scan-folder.md | 6 +++--- docs/scan-network.md | 6 +++--- docs/scan-ports.md | 6 +++--- docs/search-filename.md | 6 +++--- docs/search-files.md | 6 +++--- docs/search-repo.md | 6 +++--- docs/send-email.md | 6 +++--- docs/send-tcp.md | 6 +++--- docs/send-udp.md | 6 +++--- docs/set-timer.md | 6 +++--- docs/set-volume.md | 6 +++--- docs/set-wallpaper.md | 6 +++--- docs/show-lightnings.md | 6 +++--- docs/show-notification-motivation-quote.md | 6 +++--- docs/show-notification.md | 6 +++--- docs/show-traffic.md | 6 +++--- docs/simulate-presence.md | 6 +++--- docs/smart-data2csv.md | 6 +++--- docs/speak-arabic.md | 6 +++--- docs/speak-checklist.md | 6 +++--- docs/speak-countdown.md | 6 +++--- docs/speak-croatian.md | 6 +++--- docs/speak-danish.md | 6 +++--- docs/speak-dutch.md | 6 +++--- docs/speak-english.md | 6 +++--- docs/speak-epub.md | 6 +++--- docs/speak-esperanto.md | 6 +++--- docs/speak-file.md | 6 +++--- docs/speak-finnish.md | 6 +++--- docs/speak-french.md | 6 +++--- docs/speak-german.md | 6 +++--- docs/speak-greek.md | 6 +++--- docs/speak-hebrew.md | 6 +++--- docs/speak-hindi.md | 6 +++--- docs/speak-italian.md | 6 +++--- docs/speak-japanese.md | 6 +++--- docs/speak-korean.md | 6 +++--- docs/speak-latin.md | 6 +++--- docs/speak-mandarin.md | 6 +++--- docs/speak-norwegian.md | 6 +++--- docs/speak-polish.md | 6 +++--- docs/speak-portuguese.md | 6 +++--- docs/speak-russian.md | 6 +++--- docs/speak-spanish.md | 6 +++--- docs/speak-swedish.md | 6 +++--- docs/speak-test.md | 6 +++--- docs/speak-text.md | 6 +++--- docs/speak-thai.md | 6 +++--- docs/speak-turkish.md | 6 +++--- docs/speak-ukrainian.md | 6 +++--- docs/spell-word.md | 6 +++--- docs/start-ipfs-server.md | 6 +++--- docs/suspend.md | 6 +++--- docs/switch-branch.md | 6 +++--- docs/switch-shelly1.md | 6 +++--- docs/switch-tabs.md | 6 +++--- docs/sync-folder.md | 6 +++--- docs/sync-repo.md | 6 +++--- docs/tell-joke.md | 6 +++--- docs/tell-new-year.md | 6 +++--- docs/tell-quote.md | 6 +++--- docs/toggle-caps-lock.md | 6 +++--- docs/toggle-num-lock.md | 6 +++--- docs/toggle-scroll-lock.md | 6 +++--- docs/translate-file.md | 6 +++--- docs/translate-files.md | 6 +++--- docs/translate-text.md | 6 +++--- docs/turn-volume-down.md | 6 +++--- docs/turn-volume-fully-up.md | 6 +++--- docs/turn-volume-off.md | 6 +++--- docs/turn-volume-on.md | 6 +++--- docs/turn-volume-up.md | 6 +++--- docs/uninstall-all-apps.md | 6 +++--- docs/uninstall-bloatware.md | 6 +++--- docs/update-powershell-profile.md | 6 +++--- docs/upgrade-ubuntu.md | 6 +++--- docs/upload-file.md | 6 +++--- docs/upload-to-dropbox.md | 6 +++--- docs/wake-up-host.md | 6 +++--- docs/watch-commits.md | 6 +++--- docs/watch-file.md | 6 +++--- docs/watch-news.md | 6 +++--- docs/watch-ping.md | 6 +++--- docs/weather-report.md | 6 +++--- docs/weather.md | 6 +++--- docs/what-is.md | 6 +++--- docs/windefender.md | 6 +++--- docs/write-animated.md | 6 +++--- docs/write-ascii-image.md | 6 +++--- docs/write-big.md | 6 +++--- docs/write-blue.md | 6 +++--- docs/write-braille.md | 6 +++--- docs/write-centered.md | 6 +++--- docs/write-changelog.md | 6 +++--- docs/write-chart.md | 6 +++--- docs/write-clock.md | 6 +++--- docs/write-code.md | 6 +++--- docs/write-credits.md | 6 +++--- docs/write-date.md | 6 +++--- docs/write-fractal.md | 6 +++--- docs/write-green.md | 6 +++--- docs/write-hands-off.md | 6 +++--- docs/write-headline.md | 6 +++--- docs/write-help.md | 6 +++--- docs/write-in-emojis.md | 6 +++--- docs/write-joke.md | 6 +++--- docs/write-location.md | 6 +++--- docs/write-lowercase.md | 6 +++--- docs/write-marquee.md | 6 +++--- docs/write-matrix.md | 6 +++--- docs/write-moon.md | 6 +++--- docs/write-morse-code.md | 6 +++--- docs/write-motd.md | 6 +++--- docs/write-pi.md | 6 +++--- docs/write-qr-code.md | 6 +++--- docs/write-quote.md | 6 +++--- docs/write-red.md | 6 +++--- docs/write-rot13.md | 6 +++--- docs/write-shit.md | 6 +++--- docs/write-sine-curves.md | 6 +++--- docs/write-time.md | 6 +++--- docs/write-typewriter.md | 6 +++--- docs/write-uppercase.md | 6 +++--- docs/write-vertical.md | 6 +++--- scripts/convert-ps2md.ps1 | 4 ++-- 626 files changed, 1879 insertions(+), 1879 deletions(-) diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index e6542459c..f09ed8b23 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -1,5 +1,5 @@ -Script: *add-firewall-rules.ps1* -======================== +The *add-firewall-rules.ps1* Script +=========================== This PowerShell script adds firewall rules for the given executable. Administrator rights are required. @@ -113,4 +113,4 @@ try { ``` -*(generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/alert.md b/docs/alert.md index 7dac26b67..35ed03595 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -1,5 +1,5 @@ -Script: *alert.ps1* -======================== +The *alert.ps1* Script +=========================== This PowerShell script handles and escalates the given alert message. @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of alert.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of alert.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/build-repo.md b/docs/build-repo.md index b92f567d2..01b26a9f4 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -1,5 +1,5 @@ -Script: *build-repo.ps1* -======================== +The *build-repo.ps1* Script +=========================== This PowerShell script builds a Git repository by supporting build systems such as: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson. @@ -196,4 +196,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/build-repos.md b/docs/build-repos.md index 235a37b5a..464d9ec25 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -1,5 +1,5 @@ -Script: *build-repos.ps1* -======================== +The *build-repos.ps1* Script +=========================== This PowerShell script builds all Git repositories in a folder. @@ -82,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index c205fa8f3..28fb58d16 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -1,5 +1,5 @@ -Script: *cd-autostart.ps1* -======================== +The *cd-autostart.ps1* Script +=========================== This PowerShell script changes the working directory to the user's autostart folder. @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index e07dd95b0..23d6e47da 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -1,5 +1,5 @@ -Script: *cd-crashdumps.ps1* -======================== +The *cd-crashdumps.ps1* Script +=========================== This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash. @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-crashdumps.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-crashdumps.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index f0d129655..2dad3bd69 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -1,5 +1,5 @@ -Script: *cd-desktop.ps1* -======================== +The *cd-desktop.ps1* Script +=========================== This PowerShell script changes the working directory to the user's desktop folder. @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index 77a653775..3cfbafb3a 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -1,5 +1,5 @@ -Script: *cd-docs.ps1* -======================== +The *cd-docs.ps1* Script +=========================== This PowerShell script changes the working directory to the documents folder. @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index 4b3ccbcd1..73b9a0d6b 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -1,5 +1,5 @@ -Script: *cd-downloads.ps1* -======================== +The *cd-downloads.ps1* Script +=========================== This PowerShell script changes the working directory to the user's downloads folder. @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index 4183498c0..08fde1832 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -1,5 +1,5 @@ -Script: *cd-dropbox.ps1* -======================== +The *cd-dropbox.ps1* Script +=========================== This PowerShell script changes the working directory to the user's Dropbox folder. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index 660c0588f..4c7e41af6 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -1,5 +1,5 @@ -Script: *cd-etc.ps1* -======================== +The *cd-etc.ps1* Script +=========================== This PowerShell script changes the working directory to the /etc directory. @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-etc.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-etc.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index 6bd45a567..ee4f6d8b1 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -1,5 +1,5 @@ -Script: *cd-fonts.ps1* -======================== +The *cd-fonts.ps1* Script +=========================== This PowerShell script changes the working directory to the fonts folder. @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-fonts.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-fonts.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-home.md b/docs/cd-home.md index e9a3abad5..389e714b1 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -1,5 +1,5 @@ -Script: *cd-home.ps1* -======================== +The *cd-home.ps1* Script +=========================== This PowerShell script changes the working directory to the user's home directory. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index 9d53170ff..5c9205464 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -1,5 +1,5 @@ -Script: *cd-jenkins.ps1* -======================== +The *cd-jenkins.ps1* Script +=========================== This PowerShell script changes the working directory to the Jenkins home directory. @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-jenkins.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-jenkins.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index f11a4d821..5fc291e5f 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -1,5 +1,5 @@ -Script: *cd-logs.ps1* -======================== +The *cd-logs.ps1* Script +=========================== cd-logs.ps1 @@ -48,4 +48,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-logs.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-logs.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-music.md b/docs/cd-music.md index 60f626d55..7dbc099a4 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -1,5 +1,5 @@ -Script: *cd-music.ps1* -======================== +The *cd-music.ps1* Script +=========================== This PowerShell script changes the working directory to the user's music folder. @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index 6d81e83d3..ed1fa0404 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -1,5 +1,5 @@ -Script: *cd-nextcloud.ps1* -======================== +The *cd-nextcloud.ps1* Script +=========================== This PowerShell script changes the working directory to the user's NextCloud folder. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-nextcloud.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-nextcloud.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index 67439f997..b88c238bd 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -1,5 +1,5 @@ -Script: *cd-onedrive.ps1* -======================== +The *cd-onedrive.ps1* Script +=========================== This PowerShell script changes the working directory to the user's OneDrive folder. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index 52ddd83b9..d0b8ac406 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -1,5 +1,5 @@ -Script: *cd-pics.ps1* -======================== +The *cd-pics.ps1* Script +=========================== This PowerShell script changes the working directory to the user's pictures folder. @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-public.md b/docs/cd-public.md index 375a96d29..51f00f269 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -1,5 +1,5 @@ -Script: *cd-public.ps1* -======================== +The *cd-public.ps1* Script +=========================== This PowerShell script changes the working directory to the Public folder. @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-public.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-public.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index 12fe07cb7..de000c79a 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -1,5 +1,5 @@ -Script: *cd-recent.ps1* -======================== +The *cd-recent.ps1* Script +=========================== This PowerShell script changes the working directory to the 'recent' folder. @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-recent.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-recent.ps1 as of 11/08/2024 12:37:48)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index 7e3483132..98cc6b14b 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -1,5 +1,5 @@ -Script: *cd-recycle-bin.ps1* -======================== +The *cd-recycle-bin.ps1* Script +=========================== cd-recycle-bin.ps1 @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index 3bd9fd93b..1c267e614 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -1,5 +1,5 @@ -Script: *cd-repo.ps1* -======================== +The *cd-repo.ps1* Script +=========================== This PowerShell script changes the working directory to the given local Git repository. @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-repo.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-repo.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index 39c430047..73ca83062 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -1,5 +1,5 @@ -Script: *cd-repos.ps1* -======================== +The *cd-repos.ps1* Script +=========================== This PowerShell script changes the working directory to the user's Git repositories folder. @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-root.md b/docs/cd-root.md index 1036db876..f369ab9c0 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -1,5 +1,5 @@ -Script: *cd-root.ps1* -======================== +The *cd-root.ps1* Script +=========================== This PowerShell script changes the current working directory to the root directory (C:\ on Windows). @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1 as of 11/08/2024 12:34:45)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index acba7e746..3057c3620 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -1,5 +1,5 @@ -Script: *cd-screenshots.ps1* -======================== +The *cd-screenshots.ps1* Script +=========================== cd-screenshots.ps1 @@ -55,4 +55,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-screenshots.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-screenshots.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index 01032d4e7..bdab7a1a5 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -1,5 +1,5 @@ -Script: *cd-scripts.ps1* -======================== +The *cd-scripts.ps1* Script +=========================== This PowerShell script changes the working directory to the PowerShell scripts folder. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index 98d6d8616..cf88d15f7 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -1,5 +1,5 @@ -Script: *cd-ssh.ps1* -======================== +The *cd-ssh.ps1* Script +=========================== This PowerShell script changes the working directory to the user's secure shell (SSH) folder. @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index 96ed4c958..927faa748 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -1,5 +1,5 @@ -Script: *cd-temp.ps1* -======================== +The *cd-temp.ps1* Script +=========================== cd-temp.ps1 @@ -50,4 +50,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-temp.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-temp.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index cf2c26737..3aa07a56d 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -1,5 +1,5 @@ -Script: *cd-templates.ps1* -======================== +The *cd-templates.ps1* Script +=========================== This PowerShell script changes the working directory to the templates folder. @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-templates.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-templates.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index 5eb1dafc4..eb01b71af 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -1,5 +1,5 @@ -Script: *cd-trash.ps1* -======================== +The *cd-trash.ps1* Script +=========================== cd-trash.ps1 @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-trash.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-trash.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-up.md b/docs/cd-up.md index 5d16455e3..58179f9fe 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -1,5 +1,5 @@ -Script: *cd-up.ps1* -======================== +The *cd-up.ps1* Script +=========================== This PowerShell script changes the working directory to one directory level up. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index 70045c9b2..7a7343f82 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -1,5 +1,5 @@ -Script: *cd-up2.ps1* -======================== +The *cd-up2.ps1* Script +=========================== This PowerShell script changes the working directory to two directory level up. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index 318ebdb55..6249b1e63 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -1,5 +1,5 @@ -Script: *cd-up3.ps1* -======================== +The *cd-up3.ps1* Script +=========================== This PowerShell script changes the working directory to three directory levels up. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index 7772d9ab7..3fbf736e7 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -1,5 +1,5 @@ -Script: *cd-up4.ps1* -======================== +The *cd-up4.ps1* Script +=========================== This PowerShell script changes the working directory to four directory levels up. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-users.md b/docs/cd-users.md index 4d00347b6..5bead2ecc 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -1,5 +1,5 @@ -Script: *cd-users.ps1* -======================== +The *cd-users.ps1* Script +=========================== This PowerShell script changes the working directory to the users directory. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-users.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-users.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index 16fe17e7e..d12e38080 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -1,5 +1,5 @@ -Script: *cd-videos.ps1* -======================== +The *cd-videos.ps1* Script +=========================== This PowerShell script changes the working directory to the user's videos folder. @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index 93a372a8e..4437c08d5 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -1,5 +1,5 @@ -Script: *cd-windows.ps1* -======================== +The *cd-windows.ps1* Script +=========================== This PowerShell script changes the working directory to the Windows directory. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-windows.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of cd-windows.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index ba5ed93dc..979b7fd34 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -1,5 +1,5 @@ -Script: *change-wallpaper.ps1* -======================== +The *change-wallpaper.ps1* Script +=========================== This PowerShell script downloads a random photo from Unsplash and sets it as desktop background. @@ -79,4 +79,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of change-wallpaper.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of change-wallpaper.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-admin.md b/docs/check-admin.md index f308c7d7e..47cd45e42 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -1,5 +1,5 @@ -Script: *check-admin.ps1* -======================== +The *check-admin.ps1* Script +=========================== This PowerShell script checks if the user has administrator rights. @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-admin.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-admin.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-apps.md b/docs/check-apps.md index bd9dfdf63..ae3e9522e 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -1,5 +1,5 @@ -Script: *check-apps.ps1* -======================== +The *check-apps.ps1* Script +=========================== check-apps.ps1 @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-apps.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-apps.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-bios.md b/docs/check-bios.md index 568bb1f04..57101ab1d 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -1,5 +1,5 @@ -Script: *check-bios.ps1* -======================== +The *check-bios.ps1* Script +=========================== This PowerShell script queries the BIOS status and prints it. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-bios.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-bios.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index 2ff1b6ac7..198a6ad83 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -1,5 +1,5 @@ -Script: *check-cpu.ps1* -======================== +The *check-cpu.ps1* Script +=========================== check-cpu.ps1 @@ -106,4 +106,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-cpu.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-cpu.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index f28068449..6f2d6c2cf 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -1,5 +1,5 @@ -Script: *check-credentials.ps1* -======================== +The *check-credentials.ps1* Script +=========================== This PowerShell script asks for credentials and checks them against saved ones ("$HOME\my.credentials" by default). @@ -82,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-credentials.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-credentials.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-day.md b/docs/check-day.md index 70e9fe461..f75bf48f3 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -1,5 +1,5 @@ -Script: *check-day.ps1* -======================== +The *check-day.ps1* Script +=========================== This PowerShell script determines and speaks the current day by text-to-speech (TTS). @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-day.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-day.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-dns.md b/docs/check-dns.md index b3f8e2ed2..75ec3def3 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -1,5 +1,5 @@ -Script: *check-dns.ps1* -======================== +The *check-dns.ps1* Script +=========================== This PowerShell script measures the DNS resolution speed using 100 internet domains and prints it. @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-dns.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-dns.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index 7d18083d1..8f88dea17 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -1,5 +1,5 @@ -Script: *check-drive-space.ps1* -======================== +The *check-drive-space.ps1* Script +=========================== This PowerShell script checks the given drive for free space left (10 GB by default). @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-drives.md b/docs/check-drives.md index b56f75d4b..4c1cb7a79 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -1,5 +1,5 @@ -Script: *check-drives.ps1* -======================== +The *check-drives.ps1* Script +=========================== This PowerShell script queries the free space of all drives and prints it. @@ -102,4 +102,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index f0af1d084..0e478957e 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -1,5 +1,5 @@ -Script: *check-dusk.ps1* -======================== +The *check-dusk.ps1* Script +=========================== check-dusk.ps1 @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-dusk.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-dusk.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index 89d2c74cc..090bd356c 100644 --- a/docs/check-easter-sunday.md +++ b/docs/check-easter-sunday.md @@ -1,5 +1,5 @@ -Script: *check-easter-sunday.ps1* -======================== +The *check-easter-sunday.ps1* Script +=========================== This PowerShell script checks the time until Easter Sunday and replies by text-to-speech (TTS). @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-easter-sunday.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-easter-sunday.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index 8591f5518..7312c4605 100644 --- a/docs/check-file-system.md +++ b/docs/check-file-system.md @@ -1,5 +1,5 @@ -Script: *check-file-system.ps1* -======================== +The *check-file-system.ps1* Script +=========================== This PowerShell script checks the file system of a drive. It needs admin rights. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-file.md b/docs/check-file.md index b1510fe3a..15e341746 100644 --- a/docs/check-file.md +++ b/docs/check-file.md @@ -1,5 +1,5 @@ -Script: *check-file.ps1* -======================== +The *check-file.ps1* Script +=========================== This PowerShell script determines and prints the file type of the given file. @@ -170,4 +170,4 @@ function Check-Header { param( $path ) Check-Header $Path ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-file.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-file.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index 7c82f71b5..4ab8a7e5b 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -1,5 +1,5 @@ -Script: *check-firewall.ps1* -======================== +The *check-firewall.ps1* Script +=========================== This PowerShell script queries the status of the firewall and prints it. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-firewall.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-firewall.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index 17f71e61f..fdf1e2fee 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -1,5 +1,5 @@ -Script: *check-gpu.ps1* -======================== +The *check-gpu.ps1* Script +=========================== check-gpu.ps1 @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-gpu.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-gpu.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index 804a9c4ad..02e32612f 100644 --- a/docs/check-hardware.md +++ b/docs/check-hardware.md @@ -1,5 +1,5 @@ -Script: *check-hardware.ps1* -======================== +The *check-hardware.ps1* Script +=========================== This PowerShell script queries the hardware details of the local computer and prints it. @@ -64,4 +64,4 @@ Write-Host "`n H A R D W A R E" -foregroundColor green exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-hardware.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-hardware.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-health.md b/docs/check-health.md index cfbcc72f4..9d2bbe0a1 100644 --- a/docs/check-health.md +++ b/docs/check-health.md @@ -1,5 +1,5 @@ -Script: *check-health.ps1* -======================== +The *check-health.ps1* Script +=========================== This PowerShell script queries the system health of the local computer (hardware, software, and network) and prints it. @@ -58,4 +58,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index 8d604bc70..c6ce9a481 100644 --- a/docs/check-independence-day.md +++ b/docs/check-independence-day.md @@ -1,5 +1,5 @@ -Script: *check-independence-day.ps1* -======================== +The *check-independence-day.ps1* Script +=========================== This PowerShell script checks the time until Indepence Day and replies by text-to-speech (TTS). @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-independence-day.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-independence-day.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index 3c09f599f..6037ea290 100644 --- a/docs/check-ipv4-address.md +++ b/docs/check-ipv4-address.md @@ -1,5 +1,5 @@ -Script: *check-ipv4-address.ps1* -======================== +The *check-ipv4-address.ps1* Script +=========================== This PowerShell script checks the given IPv4 address for validity. @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index 0a2ce7637..01f63c491 100644 --- a/docs/check-ipv6-address.md +++ b/docs/check-ipv6-address.md @@ -1,5 +1,5 @@ -Script: *check-ipv6-address.ps1* -======================== +The *check-ipv6-address.ps1* Script +=========================== This PowerShell script checks the given IPv6 address for validity @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index 4770fa46f..93f78c05f 100644 --- a/docs/check-iss-position.md +++ b/docs/check-iss-position.md @@ -1,5 +1,5 @@ -Script: *check-iss-position.ps1* -======================== +The *check-iss-position.ps1* Script +=========================== This PowerShell script queries the position of the International Space Station (ISS) and replies by text-to-speech (TTS). @@ -55,4 +55,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-iss-position.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-iss-position.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index feb5c9aec..612c38e2c 100644 --- a/docs/check-mac-address.md +++ b/docs/check-mac-address.md @@ -1,5 +1,5 @@ -Script: *check-mac-address.ps1* -======================== +The *check-mac-address.ps1* Script +=========================== This PowerShell script checks the given MAC address for validity Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000. @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index ec772b0db..4dda7ec1a 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -1,5 +1,5 @@ -Script: *check-midnight.ps1* -======================== +The *check-midnight.ps1* Script +=========================== check-midnight.ps1 @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-midnight.ps1 as of 11/08/2024 12:34:46)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-midnight.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-month.md b/docs/check-month.md index 761fe9164..88d0e89d8 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -1,5 +1,5 @@ -Script: *check-month.ps1* -======================== +The *check-month.ps1* Script +=========================== This PowerShell script determines and speaks the current month name by text-to-speech (TTS). @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-month.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-month.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index abf6609fd..60bfd2e60 100644 --- a/docs/check-moon-phase.md +++ b/docs/check-moon-phase.md @@ -1,5 +1,5 @@ -Script: *check-moon-phase.ps1* -======================== +The *check-moon-phase.ps1* Script +=========================== This PowerShell script determines the Moon phase and answers by text-to-speech (TTS). @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-moon-phase.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-moon-phase.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index 5ac5bb7e0..cd0416961 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -1,5 +1,5 @@ -Script: *check-motherboard.ps1* -======================== +The *check-motherboard.ps1* Script +=========================== This PowerShell script lists the motherboard details. @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-motherboard.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-motherboard.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-network.md b/docs/check-network.md index 481b09ef4..2bb44d1f7 100644 --- a/docs/check-network.md +++ b/docs/check-network.md @@ -1,5 +1,5 @@ -Script: *check-network.ps1* -======================== +The *check-network.ps1* Script +=========================== This PowerShell script queries the network details of the local computer and prints it. @@ -67,4 +67,4 @@ Write-Host "`n N E T W O R K" -foregroundColor green exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-network.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-network.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-noon.md b/docs/check-noon.md index ee25536c2..eb0299a0b 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -1,5 +1,5 @@ -Script: *check-noon.ps1* -======================== +The *check-noon.ps1* Script +=========================== check-noon.ps1 @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-noon.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-noon.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-os.md b/docs/check-os.md index 41f65f8db..db8d28515 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -1,5 +1,5 @@ -Script: *check-os.ps1* -======================== +The *check-os.ps1* Script +=========================== This PowerShell script queries the operating system status and prints it. @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-os.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-os.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index 815d5a5b2..2d6730de5 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -1,5 +1,5 @@ -Script: *check-outlook.ps1* -======================== +The *check-outlook.ps1* Script +=========================== This PowerShell script checks the inbox of Outlook for new/unread mails. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-outlook.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-outlook.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-password.md b/docs/check-password.md index 6939e0177..b63fc5a14 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -1,5 +1,5 @@ -Script: *check-password.ps1* -======================== +The *check-password.ps1* Script +=========================== This PowerShell script checks the security status of the given password by haveibeenpwned.com @@ -94,4 +94,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-password.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-password.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index 9d340714d..b9036ede2 100644 --- a/docs/check-pending-reboot.md +++ b/docs/check-pending-reboot.md @@ -1,5 +1,5 @@ -Script: *check-pending-reboot.ps1* -======================== +The *check-pending-reboot.ps1* Script +=========================== check-pending-reboot.ps1 @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-pending-reboot.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-pending-reboot.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index 7dd694422..f335753e3 100644 --- a/docs/check-pnp-devices.md +++ b/docs/check-pnp-devices.md @@ -1,5 +1,5 @@ -Script: *check-pnp-devices.ps1* -======================== +The *check-pnp-devices.ps1* Script +=========================== This PowerShell script checks all Plug'n'PLay devices connected to the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-pnp-devices.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-pnp-devices.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-power.md b/docs/check-power.md index fa28787dc..32497b362 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -1,5 +1,5 @@ -Script: *check-power.ps1* -======================== +The *check-power.ps1* Script +=========================== This PowerShell script queries the power status and prints it. @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-power.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-power.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index 2029e8eb6..f1d59a978 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -1,5 +1,5 @@ -Script: *check-powershell.ps1* -======================== +The *check-powershell.ps1* Script +=========================== check-powershell.ps1 @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-powershell.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-powershell.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 67df3d97c..9a1b5b2a3 100644 --- a/docs/check-ps1-file.md +++ b/docs/check-ps1-file.md @@ -1,5 +1,5 @@ -Script: *check-ps1-file.ps1* -======================== +The *check-ps1-file.ps1* Script +=========================== This PowerShell script checks the given PowerShell script file(s) for validity. @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-ps1-file.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-ps1-file.ps1 as of 11/08/2024 12:37:49)* diff --git a/docs/check-ram.md b/docs/check-ram.md index 17873cd80..1db34dd7a 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -1,5 +1,5 @@ -Script: *check-ram.ps1* -======================== +The *check-ram.ps1* Script +=========================== check-ram.ps1 @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-ram.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-ram.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-repo.md b/docs/check-repo.md index 38cc1e574..207f7cb53 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -1,5 +1,5 @@ -Script: *check-repo.ps1* -======================== +The *check-repo.ps1* Script +=========================== This PowerShell script verifies the integrity of a local Git repository and performs maintenance tasks. @@ -129,4 +129,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-repo.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-repo.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-repos.md b/docs/check-repos.md index aede6e661..ceb0d60bf 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -1,5 +1,5 @@ -Script: *check-repos.ps1* -======================== +The *check-repos.ps1* Script +=========================== This PowerShell script verifies the data integrity of all Git repositories in a folder. @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-repos.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-repos.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-santa.md b/docs/check-santa.md index 1b74cb9d8..a9c3fe59c 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -1,5 +1,5 @@ -Script: *check-santa.ps1* -======================== +The *check-santa.ps1* Script +=========================== This PowerShell script checks the time until Saint Nicholas Day and replies by text-to-speech (TTS). @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-santa.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-santa.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index c61bcc4d9..172849cdf 100644 --- a/docs/check-smart-devices.md +++ b/docs/check-smart-devices.md @@ -1,5 +1,5 @@ -Script: *check-smart-devices.ps1* -======================== +The *check-smart-devices.ps1* Script +=========================== check-smart-devices.ps1 @@ -119,4 +119,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-smart-devices.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-smart-devices.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-software.md b/docs/check-software.md index 9cf68faab..f564a9194 100644 --- a/docs/check-software.md +++ b/docs/check-software.md @@ -1,5 +1,5 @@ -Script: *check-software.ps1* -======================== +The *check-software.ps1* Script +=========================== This PowerShell script queries the software status of the local computer and prints it. @@ -64,4 +64,4 @@ Write-Host "`n S O F T W A R E" -foregroundColor green exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-software.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-software.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index c4e7288be..5fe71898d 100644 --- a/docs/check-subnet-mask.md +++ b/docs/check-subnet-mask.md @@ -1,5 +1,5 @@ -Script: *check-subnet-mask.ps1* -======================== +The *check-subnet-mask.ps1* Script +=========================== This PowerShell script checks the given subnet mask for validity. @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-subnet-mask.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-subnet-mask.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index fb0bc7af3..320b4db68 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -1,5 +1,5 @@ -Script: *check-swap-space.ps1* -======================== +The *check-swap-space.ps1* Script +=========================== This PowerShell script queries the current status of the swap space and prints it. @@ -107,4 +107,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-swap-space.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-swap-space.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index b40f87999..0495d95ca 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -1,5 +1,5 @@ -Script: *check-symlinks.ps1* -======================== +The *check-symlinks.ps1* Script +=========================== This PowerShell script checks every symbolic link in a folder (including subfolders). It returns the number of broken symlinks as exit value. @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-symlinks.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-symlinks.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index 3faede13c..581e67e14 100644 --- a/docs/check-time-zone.md +++ b/docs/check-time-zone.md @@ -1,5 +1,5 @@ -Script: *check-time-zone.ps1* -======================== +The *check-time-zone.ps1* Script +=========================== This PowerShell script queries the local time zone and prints it. @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-time-zone.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-time-zone.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index cc26c59f3..f41ed947f 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -1,5 +1,5 @@ -Script: *check-uptime.ps1* -======================== +The *check-uptime.ps1* Script +=========================== check-uptime.ps1 @@ -114,4 +114,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-uptime.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-uptime.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index f151b20c7..0597b257b 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -1,5 +1,5 @@ -Script: *check-vpn.ps1* -======================== +The *check-vpn.ps1* Script +=========================== This PowerShell script queries the status of the VPN connection(s) and prints it. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-vpn.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-vpn.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-weather.md b/docs/check-weather.md index 010b9d51e..693d59afc 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -1,5 +1,5 @@ -Script: *check-weather.ps1* -======================== +The *check-weather.ps1* Script +=========================== This PowerShell script checks the current weather report. @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-weather.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-weather.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-week.md b/docs/check-week.md index df1880216..f87190b2f 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -1,5 +1,5 @@ -Script: *check-week.ps1* -======================== +The *check-week.ps1* Script +=========================== This PowerShell script determines and speaks the current week number by text-to-speech (TTS). @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-week.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-week.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-wind.md b/docs/check-wind.md index 939b73ee8..98df787fa 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -1,5 +1,5 @@ -Script: *check-wind.ps1* -======================== +The *check-wind.ps1* Script +=========================== This PowerShell script determines the current wind conditions and replies by text-to-speech (TTS). @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-wind.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-wind.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index 3f7fb906c..ee286f096 100644 --- a/docs/check-windows-system-files.md +++ b/docs/check-windows-system-files.md @@ -1,5 +1,5 @@ -Script: *check-windows-system-files.ps1* -======================== +The *check-windows-system-files.ps1* Script +=========================== This PowerShell script checks the validity of the Windows system files. It requires admin rights. @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-windows-system-files.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-windows-system-files.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index ddafc73e0..082bef693 100644 --- a/docs/check-xml-file.md +++ b/docs/check-xml-file.md @@ -1,5 +1,5 @@ -Script: *check-xml-file.ps1* -======================== +The *check-xml-file.ps1* Script +=========================== This PowerShell script checks the given XML file for validity. @@ -85,4 +85,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-xml-file.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-xml-file.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index 1094b4651..9645c2855 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -1,5 +1,5 @@ -Script: *check-xml-files.ps1* -======================== +The *check-xml-files.ps1* Script +=========================== This PowerShell script verifies any XML file (with suffix .xml) in the given directory tree for validity. @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-xml-files.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of check-xml-files.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index 82b53f3ab..82f9b5301 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -1,5 +1,5 @@ -Script: *clean-repo.ps1* -======================== +The *clean-repo.ps1* Script +=========================== This PowerShell script deletes all untracked files and folders in a local Git repository (including submodules). NOTE: To be used with care! This cannot be undone! @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clean-repo.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of clean-repo.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index 25b789e5b..4fc3b10c9 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -1,5 +1,5 @@ -Script: *clean-repos.ps1* -======================== +The *clean-repos.ps1* Script +=========================== This PowerShell script cleans all Git repositories in a folder from untracked files (including submodules). @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clean-repos.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of clean-repos.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index ad9073056..d069fdc42 100644 --- a/docs/clear-dns-cache.md +++ b/docs/clear-dns-cache.md @@ -1,5 +1,5 @@ -Script: *clear-dns-cache.ps1* -======================== +The *clear-dns-cache.ps1* Script +=========================== This PowerShell script clears the DNS client cache of the local computer. @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clear-dns-cache.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of clear-dns-cache.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index b4bffa6c0..c5fca41ea 100644 --- a/docs/clear-recycle-bin.md +++ b/docs/clear-recycle-bin.md @@ -1,5 +1,5 @@ -Script: *clear-recycle-bin.ps1* -======================== +The *clear-recycle-bin.ps1* Script +=========================== This PowerShell script removes the content of the recycle bin folder permanently. IMPORTANT NOTE: this cannot be undo! @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clear-recycle-bin.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of clear-recycle-bin.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index ef085b3c9..412f33359 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -1,5 +1,5 @@ -Script: *clone-repos.ps1* -======================== +The *clone-repos.ps1* Script +=========================== This PowerShell script clones popular Git repositories into a common target directory. @@ -118,4 +118,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clone-repos.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of clone-repos.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index 00bc0753e..544352593 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -1,5 +1,5 @@ -Script: *clone-shallow.ps1* -======================== +The *clone-shallow.ps1* Script +=========================== This PowerShell script clones popular Git repositories into a common target directory. @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clone-shallow.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of clone-shallow.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index bd00a0b61..a668032e8 100644 --- a/docs/close-calculator.md +++ b/docs/close-calculator.md @@ -1,5 +1,5 @@ -Script: *close-calculator.ps1* -======================== +The *close-calculator.ps1* Script +=========================== This PowerShell script closes the calculator application gracefully. @@ -48,4 +48,4 @@ Stop-Process -name "CalculatorApp" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-calculator.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-calculator.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index a51457392..a8d9a6558 100644 --- a/docs/close-chrome.md +++ b/docs/close-chrome.md @@ -1,5 +1,5 @@ -Script: *close-chrome.ps1* -======================== +The *close-chrome.ps1* Script +=========================== This PowerShell script closes the Google Chrome Web browser gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-chrome.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-chrome.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index d252e9db7..b77f70531 100644 --- a/docs/close-cortana.md +++ b/docs/close-cortana.md @@ -1,5 +1,5 @@ -Script: *close-cortana.ps1* -======================== +The *close-cortana.ps1* Script +=========================== This PowerShell script closes Microsoft's Cortana application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-cortana.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-cortana.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-edge.md b/docs/close-edge.md index 0254d4e65..21a7459cd 100644 --- a/docs/close-edge.md +++ b/docs/close-edge.md @@ -1,5 +1,5 @@ -Script: *close-edge.ps1* -======================== +The *close-edge.ps1* Script +=========================== This PowerShell script closes the Microsoft Edge Web browser gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-edge.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-edge.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index cae75725b..f665e4b17 100644 --- a/docs/close-file-explorer.md +++ b/docs/close-file-explorer.md @@ -1,5 +1,5 @@ -Script: *close-file-explorer.ps1* -======================== +The *close-file-explorer.ps1* Script +=========================== This PowerShell script closes the Microsoft File Explorer application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-file-explorer.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-file-explorer.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index cd3799f2f..fe96fb66e 100644 --- a/docs/close-firefox.md +++ b/docs/close-firefox.md @@ -1,5 +1,5 @@ -Script: *close-firefox.ps1* -======================== +The *close-firefox.ps1* Script +=========================== This PowerShell script closes the Mozilla Firefox Web browser gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-firefox.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-firefox.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index 07560c9ed..c1d45c070 100644 --- a/docs/close-git-extensions.md +++ b/docs/close-git-extensions.md @@ -1,5 +1,5 @@ -Script: *close-git-extensions.ps1* -======================== +The *close-git-extensions.ps1* Script +=========================== This PowerShell script closes the Git Extensions application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-git-extensions.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-git-extensions.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index f10b831ab..6b714daee 100644 --- a/docs/close-magnifier.md +++ b/docs/close-magnifier.md @@ -1,5 +1,5 @@ -Script: *close-magnifier.ps1* -======================== +The *close-magnifier.ps1* Script +=========================== This PowerShell script closes the Windows Screen Magnifier application gracefully. @@ -48,4 +48,4 @@ tskill magnify exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-magnifier.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-magnifier.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 174dc827e..149aa8a95 100644 --- a/docs/close-microsoft-paint.md +++ b/docs/close-microsoft-paint.md @@ -1,5 +1,5 @@ -Script: *close-microsoft-paint.ps1* -======================== +The *close-microsoft-paint.ps1* Script +=========================== This PowerShell script closes the Microsoft Paint application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-microsoft-paint.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-microsoft-paint.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index 93c79a6de..9077449bf 100644 --- a/docs/close-microsoft-store.md +++ b/docs/close-microsoft-store.md @@ -1,5 +1,5 @@ -Script: *close-microsoft-store.ps1* -======================== +The *close-microsoft-store.ps1* Script +=========================== This PowerShell script closes the Microsoft Store application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-microsoft-store.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-microsoft-store.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index de6309c3e..a9d2af558 100644 --- a/docs/close-netflix.md +++ b/docs/close-netflix.md @@ -1,5 +1,5 @@ -Script: *close-netflix.ps1* -======================== +The *close-netflix.ps1* Script +=========================== This PowerShell script closes the Netflix application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-netflix.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-netflix.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index 607059899..03568344e 100644 --- a/docs/close-notepad.md +++ b/docs/close-notepad.md @@ -1,5 +1,5 @@ -Script: *close-notepad.ps1* -======================== +The *close-notepad.ps1* Script +=========================== This PowerShell script closes the Notepad application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-notepad.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-notepad.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index aa047860c..9fe1fad9e 100644 --- a/docs/close-obs-studio.md +++ b/docs/close-obs-studio.md @@ -1,5 +1,5 @@ -Script: *close-obs-studio.ps1* -======================== +The *close-obs-studio.ps1* Script +=========================== This PowerShell script closes the OBS Studio application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-obs-studio.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-obs-studio.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index 2ecfb838a..da14bef2d 100644 --- a/docs/close-one-calendar.md +++ b/docs/close-one-calendar.md @@ -1,5 +1,5 @@ -Script: *close-one-calendar.ps1* -======================== +The *close-one-calendar.ps1* Script +=========================== This PowerShell script closes the OneCalendar application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-one-calendar.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-one-calendar.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index 97156ac31..c7ae28c25 100644 --- a/docs/close-outlook.md +++ b/docs/close-outlook.md @@ -1,5 +1,5 @@ -Script: *close-outlook.ps1* -======================== +The *close-outlook.ps1* Script +=========================== This PowerShell script closes the Microsoft Outlook email application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-outlook.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-outlook.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index 7c92694bb..007d94360 100644 --- a/docs/close-paint-three-d.md +++ b/docs/close-paint-three-d.md @@ -1,5 +1,5 @@ -Script: *close-paint-three-d.ps1* -======================== +The *close-paint-three-d.ps1* Script +=========================== This PowerShell script closes the Paint 3D application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-paint-three-d.ps1 as of 11/08/2024 12:34:47)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-paint-three-d.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-program.md b/docs/close-program.md index 23efd75f0..9ce03cdc8 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -1,5 +1,5 @@ -Script: *close-program.ps1* -======================== +The *close-program.ps1* Script +=========================== This PowerShell script closes a program's processes gracefully. @@ -118,4 +118,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-program.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-program.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index 390376a4a..729bf28c7 100644 --- a/docs/close-serenade.md +++ b/docs/close-serenade.md @@ -1,5 +1,5 @@ -Script: *close-serenade.ps1* -======================== +The *close-serenade.ps1* Script +=========================== This PowerShell script closes the Serenade.ai application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-serenade.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-serenade.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index 4ea254446..e91a72740 100644 --- a/docs/close-snipping-tool.md +++ b/docs/close-snipping-tool.md @@ -1,5 +1,5 @@ -Script: *close-snipping-tool.ps1* -======================== +The *close-snipping-tool.ps1* Script +=========================== This PowerShell script closes the Snipping Tool application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-snipping-tool.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-snipping-tool.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index 9fa587f82..12c4466ed 100644 --- a/docs/close-spotify.md +++ b/docs/close-spotify.md @@ -1,5 +1,5 @@ -Script: *close-spotify.ps1* -======================== +The *close-spotify.ps1* Script +=========================== This PowerShell script closes the Spotify application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-spotify.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-spotify.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 637a0c83d..2d0daad69 100644 --- a/docs/close-task-manager.md +++ b/docs/close-task-manager.md @@ -1,5 +1,5 @@ -Script: *close-task-manager.ps1* -======================== +The *close-task-manager.ps1* Script +=========================== This PowerShell script closes the Task Manager application gracefully. @@ -48,4 +48,4 @@ tskill taskmgr exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-task-manager.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-task-manager.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index 20f611992..cfe5a15ac 100644 --- a/docs/close-three-d-viewer.md +++ b/docs/close-three-d-viewer.md @@ -1,5 +1,5 @@ -Script: *close-three-d-viewer.ps1* -======================== +The *close-three-d-viewer.ps1* Script +=========================== This PowerShell script closes the 3D-Viewer application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-three-d-viewer.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-three-d-viewer.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index 823ab876b..eaa4904a6 100644 --- a/docs/close-thunderbird.md +++ b/docs/close-thunderbird.md @@ -1,5 +1,5 @@ -Script: *close-thunderbird.ps1* -======================== +The *close-thunderbird.ps1* Script +=========================== This PowerShell script closes the Mozilla Thunderbird email application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-thunderbird.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-thunderbird.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index 5ecfd1fa3..ecb9abb88 100644 --- a/docs/close-visual-studio.md +++ b/docs/close-visual-studio.md @@ -1,5 +1,5 @@ -Script: *close-visual-studio.ps1* -======================== +The *close-visual-studio.ps1* Script +=========================== This PowerShell script closes the Microsoft Visual Studio application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-visual-studio.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-visual-studio.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index 2994687b0..91bc81565 100644 --- a/docs/close-vlc.md +++ b/docs/close-vlc.md @@ -1,5 +1,5 @@ -Script: *close-vlc.ps1* -======================== +The *close-vlc.ps1* Script +=========================== This PowerShell script closes the VLC media player application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-vlc.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-vlc.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index 17f004387..33bfafa70 100644 --- a/docs/close-windows-terminal.md +++ b/docs/close-windows-terminal.md @@ -1,5 +1,5 @@ -Script: *close-windows-terminal.ps1* -======================== +The *close-windows-terminal.ps1* Script +=========================== This PowerShell script closes the Windows Terminal application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-windows-terminal.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of close-windows-terminal.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/configure-git.md b/docs/configure-git.md index 4d6423c8e..2d042215c 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -1,5 +1,5 @@ -Script: *configure-git.ps1* -======================== +The *configure-git.ps1* Script +=========================== This PowerShell script configures your Git user settings. @@ -141,4 +141,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of configure-git.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of configure-git.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index dc0ae28ae..5466dd782 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -1,5 +1,5 @@ -Script: *connect-vpn.ps1* -======================== +The *connect-vpn.ps1* Script +=========================== This PowerShell script tries to connect to the VPN. @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of connect-vpn.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of connect-vpn.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index 3bd10ae95..59dc689b1 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -1,5 +1,5 @@ -Script: *convert-csv2txt.ps1* -======================== +The *convert-csv2txt.ps1* Script +=========================== This PowerShell script converts a .CSV file into a text file and prints it. @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-csv2txt.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-csv2txt.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index 717d6869a..7707e7706 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -1,5 +1,5 @@ -Script: *convert-dir2zip.ps1* -======================== +The *convert-dir2zip.ps1* Script +=========================== This PowerShell script creates a new compressed .ZIP file from a directory (including subfolders). @@ -88,4 +88,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-dir2zip.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-dir2zip.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index 77ff10425..d393f837d 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -1,5 +1,5 @@ -Script: *convert-docx2md.ps1* -======================== +The *convert-docx2md.ps1* Script +=========================== This PowerShell script converts .DOCX file(s) into Markdown. @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-docx2md.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-docx2md.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index 4ed76d55b..5dee0374a 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -1,5 +1,5 @@ -Script: *convert-frames2mp4.ps1* -======================== +The *convert-frames2mp4.ps1* Script +=========================== convert-frames2mp4.ps1 [[-SourcePattern] ] [[-TargetFile] ] @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-frames2mp4.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-frames2mp4.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index 14263cde4..68aee3662 100644 --- a/docs/convert-image2ascii.md +++ b/docs/convert-image2ascii.md @@ -1,5 +1,5 @@ -Script: *convert-image2ascii.ps1* -======================== +The *convert-image2ascii.ps1* Script +=========================== convert-image2ascii.ps1 @@ -114,4 +114,4 @@ Script Content } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-image2ascii.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-image2ascii.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index 59f577a42..d8bd31df6 100644 --- a/docs/convert-image2blurred-frames.md +++ b/docs/convert-image2blurred-frames.md @@ -1,5 +1,5 @@ -Script: *convert-image2blurred-frames.ps1* -======================== +The *convert-image2blurred-frames.ps1* Script +=========================== convert-image2blurred-frames.ps1 [[-ImageFile] ] [[-TargetDir] ] [[-ImageWidth] ] [[-ImageHeight] ] [[-Frames] ] @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-image2blurred-frames.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-image2blurred-frames.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index 9ad1ef330..90a2efdb7 100644 --- a/docs/convert-image2pixelated-frames.md +++ b/docs/convert-image2pixelated-frames.md @@ -1,5 +1,5 @@ -Script: *convert-image2pixelated-frames.ps1* -======================== +The *convert-image2pixelated-frames.ps1* Script +=========================== convert-image2pixelated-frames.ps1 [[-SourceFile] ] [[-TargetDir] ] [[-Frames] ] @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-image2pixelated-frames.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-image2pixelated-frames.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index 790aa32f7..85b78e389 100644 --- a/docs/convert-md2docx.md +++ b/docs/convert-md2docx.md @@ -1,5 +1,5 @@ -Script: *convert-md2docx.ps1* -======================== +The *convert-md2docx.ps1* Script +=========================== convert-md2docx.ps1 @@ -22,4 +22,4 @@ Script Content gci -r -i *.md |foreach{$docx=$_.directoryname+"\"+$_.basename+".docx";pandoc -f markdown -s --citeproc $_.name -o $docx} ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2docx.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2docx.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index 6e62aea24..8eba34375 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -1,5 +1,5 @@ -Script: *convert-md2html.ps1* -======================== +The *convert-md2html.ps1* Script +=========================== This PowerShell script converts Markdown file(s) into HTML. @@ -80,4 +80,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2html.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2html.ps1 as of 11/08/2024 12:37:50)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index e283c736a..e6a920cea 100644 --- a/docs/convert-md2pdf.md +++ b/docs/convert-md2pdf.md @@ -1,5 +1,5 @@ -Script: *convert-md2pdf.ps1* -======================== +The *convert-md2pdf.ps1* Script +=========================== convert-md2pdf.ps1 @@ -20,4 +20,4 @@ Script Content gci -r -i *.md |foreach{$pdf=$_.directoryname+"\"+$_.basename+".pdf";pandoc -f markdown -s --citeproc $_.name -o $pdf} ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2pdf.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2pdf.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index 4b4ed0a58..7d32b47a2 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -1,5 +1,5 @@ -Script: *convert-mysql2csv.ps1* -======================== +The *convert-mysql2csv.ps1* Script +=========================== This PowerShell script converts a MySQL database table to a .CSV file. @@ -119,4 +119,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-mysql2csv.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-mysql2csv.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index 8e27813e3..19a519582 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -1,5 +1,5 @@ -Script: *convert-ps2bat.ps1* -======================== +The *convert-ps2bat.ps1* Script +=========================== This PowerShell script converts one or more PowerShell scripts to .bat batch files. @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-ps2bat.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-ps2bat.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index c37c16e67..5dd5d462e 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -1,5 +1,5 @@ -Script: *convert-ps2md.ps1* -======================== +The *convert-ps2md.ps1* Script +=========================== This PowerShell script converts the comment-based help of a PowerShell script to Markdown. @@ -98,8 +98,8 @@ try { $ScriptName = (Get-Item "$filename").Name $full = Get-Help $filename -Full - "Script: *$($ScriptName)*" - "========================" + "The *$($ScriptName)* Script" + "===========================" $Description = ($full.description | Out-String).Trim() if ($Description -ne "") { @@ -185,4 +185,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-ps2md.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-ps2md.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index fcd96a085..e8f730ac1 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -1,5 +1,5 @@ -Script: *convert-sql2csv.ps1* -======================== +The *convert-sql2csv.ps1* Script +=========================== This PowerShell script converts a SQL database table to a .CSV file. @@ -120,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-sql2csv.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-sql2csv.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index e436f20e8..0542d89eb 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -1,5 +1,5 @@ -Script: *convert-txt2wav.ps1* -======================== +The *convert-txt2wav.ps1* Script +=========================== This PowerShell script converts text to a .WAV audio file. @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-txt2wav.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of convert-txt2wav.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index 6aeb51743..7d634c7b6 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -1,5 +1,5 @@ -Script: *copy-photos-sorted.ps1* -======================== +The *copy-photos-sorted.ps1* Script +=========================== copy-photos-sorted.ps1 [[-sourceDir] ] [[-targetDir] ] @@ -115,4 +115,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of copy-photos-sorted.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of copy-photos-sorted.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/count-characters.md b/docs/count-characters.md index f58d434f9..37600a30a 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -1,5 +1,5 @@ -Script: *count-characters.ps1* -======================== +The *count-characters.ps1* Script +=========================== This PowerShell script counts the number of characters in the given string. @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of count-characters.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of count-characters.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/count-lines.md b/docs/count-lines.md index a7b83797a..8b3b7336d 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -1,5 +1,5 @@ -Script: *count-lines.ps1* -======================== +The *count-lines.ps1* Script +=========================== This PowerShell script counts the number of lines in text files (.txt/.md/.c/.h/.cpp/.hpp/.java/.py/.ps1/.bat) within a directory tree. @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of count-lines.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of count-lines.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index 492e2dbe7..e39a57a79 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -1,5 +1,5 @@ -Script: *decrypt-file.ps1* -======================== +The *decrypt-file.ps1* Script +=========================== This PowerShell script decrypts a file using the given password and AES encryption. @@ -197,4 +197,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of decrypt-file.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of decrypt-file.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index 7ff73f49e..af231653b 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -1,5 +1,5 @@ -Script: *disable-ipv6.ps1* -======================== +The *disable-ipv6.ps1* Script +=========================== This PowerShell script disables IPv6 on all network interfaces of the local computer (requires administrator rights). @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of disable-ipv6.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of disable-ipv6.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index 511137907..dc1c65bd8 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -1,5 +1,5 @@ -Script: *disconnect-vpn.ps1* -======================== +The *disconnect-vpn.ps1* Script +=========================== This PowerShell script disconnects the active VPN connection. @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of disconnect-vpn.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of disconnect-vpn.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/download-dir.md b/docs/download-dir.md index f34ce4d39..39c7a8db0 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -1,5 +1,5 @@ -Script: *download-dir.ps1* -======================== +The *download-dir.ps1* Script +=========================== This PowerShell script downloads a folder (including subfolders) from the given URL. @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of download-dir.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of download-dir.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/download-file.md b/docs/download-file.md index dff4397a5..e0a71cbf6 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -1,5 +1,5 @@ -Script: *download-file.ps1* -======================== +The *download-file.ps1* Script +=========================== This PowerShell script downloads a file from the given URL @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of download-file.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of download-file.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/edit.md b/docs/edit.md index 580c736a1..a4c10555c 100644 --- a/docs/edit.md +++ b/docs/edit.md @@ -1,5 +1,5 @@ -Script: *edit.ps1* -======================== +The *edit.ps1* Script +=========================== This PowerShell script opens a text editor with the given text file. @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of edit.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of edit.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 24d1d798f..4646933e9 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -1,5 +1,5 @@ -Script: *enable-crash-dumps.ps1* -======================== +The *enable-crash-dumps.ps1* Script +=========================== This PowerShell script enables the writing of crash dumps. @@ -330,4 +330,4 @@ Else exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of enable-crash-dumps.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of enable-crash-dumps.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index cc114bc1b..0920ff237 100644 --- a/docs/enable-god-mode.md +++ b/docs/enable-god-mode.md @@ -1,5 +1,5 @@ -Script: *enable-god-mode.ps1* -======================== +The *enable-god-mode.ps1* Script +=========================== This PowerShell script enables the god mode in Windows. It adds a new icon to the desktop. @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of enable-god-mode.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of enable-god-mode.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index f1bd2ba06..5d4369278 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -1,5 +1,5 @@ -Script: *enable-ipv6.ps1* -======================== +The *enable-ipv6.ps1* Script +=========================== This PowerShell script enables IPv6 on all network interfaces of the local computer. @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of enable-ipv6.ps1 as of 11/08/2024 12:34:48)* +*(generated by convert-ps2md.ps1 using the comment-based help of enable-ipv6.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index 65430c5c7..73d92fe47 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -1,5 +1,5 @@ -Script: *encrypt-file.ps1* -======================== +The *encrypt-file.ps1* Script +=========================== This PowerShell script encrypts a file using the given password and AES encryption. @@ -182,4 +182,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of encrypt-file.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of encrypt-file.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index fb4be83fd..bcf242dd0 100644 --- a/docs/enter-chat.md +++ b/docs/enter-chat.md @@ -1,5 +1,5 @@ -Script: *enter-chat.ps1* -======================== +The *enter-chat.ps1* Script +=========================== This PowerShell script enters a chat using a common network shared file. @@ -125,4 +125,4 @@ function Get-ChatChannel } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of enter-chat.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of enter-chat.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/enter-host.md b/docs/enter-host.md index 5b5f2c6ee..f3fef1080 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -1,5 +1,5 @@ -Script: *enter-host.ps1* -======================== +The *enter-host.ps1* Script +=========================== This PowerShell script logs into a remote host via secure shell (SSH). @@ -94,4 +94,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of enter-host.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of enter-host.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index c3d4491f0..93edfb75c 100644 --- a/docs/export-to-manuals.md +++ b/docs/export-to-manuals.md @@ -1,5 +1,5 @@ -Script: *export-to-manuals.ps1* -======================== +The *export-to-manuals.ps1* Script +=========================== This PowerShell script exports the comment-based help of all PowerShell scripts as manuals. @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of export-to-manuals.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of export-to-manuals.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index 42e859ca6..811781d75 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -1,5 +1,5 @@ -Script: *fetch-repo.ps1* -======================== +The *fetch-repo.ps1* Script +=========================== This PowerShell script fetches remote updates into a local Git repository (including submodules). @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of fetch-repo.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of fetch-repo.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 5dd708795..83b9f1a7b 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -1,5 +1,5 @@ -Script: *fetch-repos.ps1* -======================== +The *fetch-repos.ps1* Script +=========================== This PowerShell script fetches updates into all Git repositories in a folder (including submodules). @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of fetch-repos.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of fetch-repos.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index 54d7a06c5..2234094c1 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -1,5 +1,5 @@ -Script: *firefox-installer.ps1* -======================== +The *firefox-installer.ps1* Script +=========================== Download and install latest firefox @@ -64,4 +64,4 @@ try { ``` -*(generated by convert-ps2md.ps1 using the comment-based help of firefox-installer.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of firefox-installer.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 2bc966cef..aa9e1c2c0 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -1,5 +1,5 @@ -Script: *get-md5.ps1* -======================== +The *get-md5.ps1* Script +=========================== This PowerShell script calculates and prints the MD5 checksum of the given file. @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of get-md5.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of get-md5.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index 6fab40c37..04b3fc4b6 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -1,5 +1,5 @@ -Script: *get-sha1.ps1* -======================== +The *get-sha1.ps1* Script +=========================== This PowerShell script calculates and prints the SHA1 checksum of the given file. @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of get-sha1.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of get-sha1.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index 58e534aff..fb6c5390e 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -1,5 +1,5 @@ -Script: *get-sha256.ps1* -======================== +The *get-sha256.ps1* Script +=========================== This PowerShell script calculates and prints the SHA256 checksum of the given file. @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of get-sha256.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of get-sha256.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/hello-world.md b/docs/hello-world.md index 491a04c8f..0eb0db845 100644 --- a/docs/hello-world.md +++ b/docs/hello-world.md @@ -1,5 +1,5 @@ -Script: *hello-world.ps1* -======================== +The *hello-world.ps1* Script +=========================== This PowerShell script is a sample script writing "Hello World" to the console. @@ -50,4 +50,4 @@ Write-Output "Hello World" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of hello-world.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of hello-world.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 17971a9c8..558d93860 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -1,5 +1,5 @@ -Script: *hibernate.ps1* -======================== +The *hibernate.ps1* Script +=========================== This PowerShell script hibernates the local computer immediately. @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of hibernate.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of hibernate.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/import-vm.md b/docs/import-vm.md index f3baa35ff..d24b9e2ba 100644 --- a/docs/import-vm.md +++ b/docs/import-vm.md @@ -1,5 +1,5 @@ -Script: *import-vm.ps1* -======================== +The *import-vm.ps1* Script +=========================== import-vm.ps1 @@ -23,4 +23,4 @@ Start-VM $VMName exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of import-vm.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of import-vm.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index 9f5ec9a3c..dc4abe12a 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -1,5 +1,5 @@ -Script: *inspect-exe.ps1* -======================== +The *inspect-exe.ps1* Script +=========================== This PowerShell script prints basic information of an executable file. @@ -68,4 +68,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of inspect-exe.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of inspect-exe.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index 95c728fbe..677edf1c8 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -1,5 +1,5 @@ -Script: *install-audacity.ps1* -======================== +The *install-audacity.ps1* Script +=========================== This PowerShell script installs Audacity. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-audacity.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-audacity.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index 547e47e0b..f5fb422d6 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -1,5 +1,5 @@ -Script: *install-basic-apps.ps1* -======================== +The *install-basic-apps.ps1* Script +=========================== This PowerShell script installs basic Windows apps such as browser, e-mail client, etc. NOTE: Apps from Microsoft Store are preferred (due to security and automatic updates). @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-basic-apps.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-basic-apps.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 05fb23b78..3a4ca4696 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -1,5 +1,5 @@ -Script: *install-basic-snaps.ps1* -======================== +The *install-basic-snaps.ps1* Script +=========================== This PowerShell script installs 18 basic Linux snaps. @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-basic-snaps.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-basic-snaps.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index 44434b17e..bc3b8ae3a 100644 --- a/docs/install-calibre-server.md +++ b/docs/install-calibre-server.md @@ -1,5 +1,5 @@ -Script: *install-calibre-server.ps1* -======================== +The *install-calibre-server.ps1* Script +=========================== This PowerShell script installs and starts a local Calibre server as background process. @@ -119,4 +119,4 @@ exit 1 } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-calibre-server.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-calibre-server.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index 5cb1286d1..79a18ab00 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -1,5 +1,5 @@ -Script: *install-chocolatey.ps1* -======================== +The *install-chocolatey.ps1* Script +=========================== This PowerShell script installs Chocolatey onto the local computer (needs admin rights). @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-chocolatey.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-chocolatey.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index fa176bd93..c3b1be062 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -1,5 +1,5 @@ -Script: *install-chrome.ps1* -======================== +The *install-chrome.ps1* Script +=========================== This PowerShell script installs the Google Chrome browser. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-chrome.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-chrome.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index b2e9f8cbc..ca8cd6d2c 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -1,5 +1,5 @@ -Script: *install-crystal-disk-info.ps1* -======================== +The *install-crystal-disk-info.ps1* Script +=========================== This PowerShell script installs CrystalDiskInfo from the Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-crystal-disk-info.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-crystal-disk-info.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index 751b5fc06..bf60454b7 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -1,5 +1,5 @@ -Script: *install-crystal-disk-mark.ps1* -======================== +The *install-crystal-disk-mark.ps1* Script +=========================== This PowerShell script installs CrystalDiskMark from the Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-crystal-disk-mark.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-crystal-disk-mark.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-discord.md b/docs/install-discord.md index f0d501066..5ce2ccb40 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -1,5 +1,5 @@ -Script: *install-discord.ps1* -======================== +The *install-discord.ps1* Script +=========================== This PowerShell script installs Discord from the Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-discord.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-discord.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-edge.md b/docs/install-edge.md index 78c57c723..c2a459c41 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -1,5 +1,5 @@ -Script: *install-edge.ps1* -======================== +The *install-edge.ps1* Script +=========================== This PowerShell script installs the Microsoft Edge Browser from the Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-edge.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-edge.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index 0729d9834..28e78c64c 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -1,5 +1,5 @@ -Script: *install-evcc.ps1* -======================== +The *install-evcc.ps1* Script +=========================== This PowerShell script installs evcc. Sevcc is an extensible EV Charge Controller with PV integration implemented in Go. See https://evcc.io for details. @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-evcc.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-evcc.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index 3bddf51a4..c17fdcdea 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -1,5 +1,5 @@ -Script: *install-firefox.ps1* -======================== +The *install-firefox.ps1* Script +=========================== This PowerShell script installs Mozilla Firefox from the Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-firefox.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-firefox.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index 957109393..5bd55e914 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -1,5 +1,5 @@ -Script: *install-git-extensions.ps1* -======================== +The *install-git-extensions.ps1* Script +=========================== This PowerShell script installs Git Extensions. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-git-extensions.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-git-extensions.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index 07a6a1bcf..4d4be7500 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -1,5 +1,5 @@ -Script: *install-git-for-windows.ps1* -======================== +The *install-git-for-windows.ps1* Script +=========================== This PowerShell script installs Git for Windows. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-git-for-windows.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-git-for-windows.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index 67a480dac..9bc45e78b 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -1,5 +1,5 @@ -Script: *install-github-cli.ps1* -======================== +The *install-github-cli.ps1* Script +=========================== This PowerShell script installs the GitHub command-line interface (CLI). @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-github-cli.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-github-cli.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index a9d042c34..efb531edf 100644 --- a/docs/install-gitlab.md +++ b/docs/install-gitlab.md @@ -1,5 +1,5 @@ -Script: *install-gitlab.ps1* -======================== +The *install-gitlab.ps1* Script +=========================== install-gitlab.ps1 @@ -31,4 +31,4 @@ Script Content ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-gitlab.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-gitlab.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index bbf747e77..b0e5052fc 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -1,5 +1,5 @@ -Script: *install-irfanview.ps1* -======================== +The *install-irfanview.ps1* Script +=========================== This PowerShell script installs IrfanView from the Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-irfanview.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-irfanview.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index b89d5cf4a..519c73914 100644 --- a/docs/install-knot-resolver.md +++ b/docs/install-knot-resolver.md @@ -1,5 +1,5 @@ -Script: *install-knot-resolver.ps1* -======================== +The *install-knot-resolver.ps1* Script +=========================== This PowerShell script installs Knot Resolver. Knot Resolver is a DNS resolver daemon. It needs admin rights. @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-knot-resolver.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-knot-resolver.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index 80da02d2d..b31f1213e 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -1,5 +1,5 @@ -Script: *install-microsoft-teams.ps1* -======================== +The *install-microsoft-teams.ps1* Script +=========================== This PowerShell script installs Microsoft Teams from the Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-microsoft-teams.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-microsoft-teams.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index 41dbd146f..328c8a3b1 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -1,5 +1,5 @@ -Script: *install-netflix.ps1* -======================== +The *install-netflix.ps1* Script +=========================== This PowerShell script installs Netflix from the Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-netflix.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-netflix.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index 0f7f0c069..c97c9ea96 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -1,5 +1,5 @@ -Script: *install-obs-studio.ps1* -======================== +The *install-obs-studio.ps1* Script +=========================== This PowerShell script installs OBS Studio (admin rights are needed). @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-obs-studio.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-obs-studio.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index 28ca4f1ca..c01dac15e 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -1,5 +1,5 @@ -Script: *install-octoprint.ps1* -======================== +The *install-octoprint.ps1* Script +=========================== install-octoprint.ps1 @@ -32,4 +32,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-octoprint.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-octoprint.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index f69551ed1..b93c7e125 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -1,5 +1,5 @@ -Script: *install-one-calendar.ps1* -======================== +The *install-one-calendar.ps1* Script +=========================== This PowerShell script installs One Calendar from the Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-one-calendar.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-one-calendar.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index 8a29a4f90..37f01b27a 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -1,5 +1,5 @@ -Script: *install-opera-browser.ps1* -======================== +The *install-opera-browser.ps1* Script +=========================== This PowerShell script installs Opera Browser from Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-opera-browser.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-opera-browser.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index abf3046a4..78254f5cf 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -1,5 +1,5 @@ -Script: *install-opera-gx.ps1* -======================== +The *install-opera-gx.ps1* Script +=========================== This PowerShell script installs Opera GX from Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-opera-gx.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-opera-gx.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index 925500d9d..1913f2301 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -1,5 +1,5 @@ -Script: *install-paint-3d.ps1* -======================== +The *install-paint-3d.ps1* Script +=========================== This PowerShell script installs Paint 3D from the Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-paint-3d.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-paint-3d.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index eb1555240..e9f7e53bb 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -1,5 +1,5 @@ -Script: *install-power-toys.ps1* -======================== +The *install-power-toys.ps1* Script +=========================== This PowerShell script installs the Microsoft Powertoys. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-power-toys.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-power-toys.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index 72ab11c21..88b9fb8cb 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -1,5 +1,5 @@ -Script: *install-powershell.ps1* -======================== +The *install-powershell.ps1* Script +=========================== By default, the latest PowerShell release package will be installed. If '-Daily' is specified, then the latest PowerShell daily package will be installed. @@ -651,4 +651,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-powershell.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-powershell.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index 2244888f3..b1cf443e9 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -1,5 +1,5 @@ -Script: *install-rufus.ps1* -======================== +The *install-rufus.ps1* Script +=========================== This PowerShell script installs Rufus from the Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-rufus.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-rufus.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index ed6bf34d8..01fdd04da 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -1,5 +1,5 @@ -Script: *install-salesforce-cli.ps1* -======================== +The *install-salesforce-cli.ps1* Script +=========================== This PowerShell script downloads and installs the Salesforce CLI on Windows. @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-salesforce-cli.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-salesforce-cli.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index a2cac615c..40ee39db8 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -1,5 +1,5 @@ -Script: *install-signal-cli.ps1* -======================== +The *install-signal-cli.ps1* Script +=========================== This PowerShell script installs signal-cli from github.com/AsamK/signal-cli. See the Web page for the correct version number. @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-signal-cli.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-signal-cli.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-skype.md b/docs/install-skype.md index 585b0c3ec..c3dbb2445 100644 --- a/docs/install-skype.md +++ b/docs/install-skype.md @@ -1,5 +1,5 @@ -Script: *install-skype.ps1* -======================== +The *install-skype.ps1* Script +=========================== This PowerShell script installs Skype from the Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-skype.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-skype.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index f0ef0455c..1c135fba4 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -1,5 +1,5 @@ -Script: *install-spotify.ps1* -======================== +The *install-spotify.ps1* Script +=========================== This PowerShell script installs Spotify from the Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-spotify.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-spotify.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index ae8b2bc8c..257c6f2ee 100644 --- a/docs/install-ssh-client.md +++ b/docs/install-ssh-client.md @@ -1,5 +1,5 @@ -Script: *install-ssh-client.ps1* -======================== +The *install-ssh-client.ps1* Script +=========================== This PowerShell script installs a SSH client (needs admin rights). @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-ssh-client.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-ssh-client.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index deb01b536..5dd4013cc 100644 --- a/docs/install-ssh-server.md +++ b/docs/install-ssh-server.md @@ -1,5 +1,5 @@ -Script: *install-ssh-server.ps1* -======================== +The *install-ssh-server.ps1* Script +=========================== This PowerShell script installs a SSH server (needs admin rights). @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-ssh-server.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-ssh-server.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index 176f8ac67..889dead43 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -1,5 +1,5 @@ -Script: *install-thunderbird.ps1* -======================== +The *install-thunderbird.ps1* Script +=========================== This PowerShell script installs Mozilla Thunderbird. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-thunderbird.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-thunderbird.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-twitter.md b/docs/install-twitter.md index 2cfa18eba..5fadef1f1 100644 --- a/docs/install-twitter.md +++ b/docs/install-twitter.md @@ -1,5 +1,5 @@ -Script: *install-twitter.ps1* -======================== +The *install-twitter.ps1* Script +=========================== This PowerShell script installs Twitter from the Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-twitter.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-twitter.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index 57bb22800..7a9e6b814 100644 --- a/docs/install-unbound-server.md +++ b/docs/install-unbound-server.md @@ -1,5 +1,5 @@ -Script: *install-unbound-server.ps1* -======================== +The *install-unbound-server.ps1* Script +=========================== This PowerShell script installs Unbound, a validating, recursive, caching DNS resolver. It needs admin rights. @@ -99,4 +99,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-unbound-server.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-unbound-server.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-updates.md b/docs/install-updates.md index b1f8cb64b..78f11dbff 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -1,5 +1,5 @@ -Script: *install-updates.ps1* -======================== +The *install-updates.ps1* Script +=========================== This PowerShell script installs software updates for the local machine (might need admin rights). NOTE: Use the script 'list-updates.ps1' to list the latest software updates before. @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-updates.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-updates.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index 7af8820a5..3b79f5ed4 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -1,5 +1,5 @@ -Script: *install-visual-studio-code.ps1* -======================== +The *install-visual-studio-code.ps1* Script +=========================== This PowerShell script installs Visual Studio Code. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-visual-studio-code.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-visual-studio-code.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index c4c85858e..69c307c90 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -1,5 +1,5 @@ -Script: *install-vivaldi.ps1* -======================== +The *install-vivaldi.ps1* Script +=========================== This PowerShell script installs the Vivaldi browser. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-vivaldi.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-vivaldi.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index e2832ca40..2f9c8ed98 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -1,5 +1,5 @@ -Script: *install-vlc.ps1* -======================== +The *install-vlc.ps1* Script +=========================== This PowerShell script installs the VLC media player. @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-vlc.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-vlc.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index 9496aa92e..c5a7ccb08 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -1,5 +1,5 @@ -Script: *install-windows-terminal.ps1* -======================== +The *install-windows-terminal.ps1* Script +=========================== This PowerShell script installs Windows Terminal from the Microsoft Store. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-windows-terminal.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-windows-terminal.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index 615bc8f0b..dca20587c 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -1,5 +1,5 @@ -Script: *install-wsl.ps1* -======================== +The *install-wsl.ps1* Script +=========================== This PowerShell script installs Windows Subsystem for Linux. It needs admin rights. @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-wsl.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-wsl.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index b2da8b243..527e079df 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -1,5 +1,5 @@ -Script: *install-zoom.ps1* -======================== +The *install-zoom.ps1* Script +=========================== This PowerShell script installs Zoom. @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-zoom.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of install-zoom.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index a2263bcfa..c52f6c9a9 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -1,5 +1,5 @@ -Script: *introduce-powershell.ps1* -======================== +The *introduce-powershell.ps1* Script +=========================== This PowerShell script introduces PowerShell to new users and gives an overview of it. @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of introduce-powershell.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of introduce-powershell.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index 32781bc3b..3102682c0 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -1,5 +1,5 @@ -Script: *list-aliases.ps1* -======================== +The *list-aliases.ps1* Script +=========================== This PowerShell scripts lists all PowerShell aliases. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-aliases.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-aliases.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index 94000a090..8112843ad 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -1,5 +1,5 @@ -Script: *list-anagrams.ps1* -======================== +The *list-anagrams.ps1* Script +=========================== This PowerShell script lists all anagrams of the given word. @@ -120,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-anagrams.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-anagrams.ps1 as of 11/08/2024 12:37:51)* diff --git a/docs/list-apps.md b/docs/list-apps.md index 4f96cd397..4cbcc32c3 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -1,5 +1,5 @@ -Script: *list-apps.ps1* -======================== +The *list-apps.ps1* Script +=========================== This PowerShell script lists the installed applications (from Windows Store, or Snap Store). @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-apps.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-apps.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index e8298c041..4a7e3c182 100644 --- a/docs/list-ascii-table.md +++ b/docs/list-ascii-table.md @@ -1,5 +1,5 @@ -Script: *list-ascii-table.ps1* -======================== +The *list-ascii-table.ps1* Script +=========================== This PowerShell script lists the ASCII table on the console. @@ -120,4 +120,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-ascii-table.ps1 as of 11/08/2024 12:34:49)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-ascii-table.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index 3a75e08a5..feb9b5f21 100644 --- a/docs/list-automatic-variables.md +++ b/docs/list-automatic-variables.md @@ -1,5 +1,5 @@ -Script: *list-automatic-variables.ps1* -======================== +The *list-automatic-variables.ps1* Script +=========================== list-automatic-variables.ps1 @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-automatic-variables.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-automatic-variables.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index 237ae8cde..d4cbcb440 100644 --- a/docs/list-battery-status.md +++ b/docs/list-battery-status.md @@ -1,5 +1,5 @@ -Script: *list-battery-status.ps1* -======================== +The *list-battery-status.ps1* Script +=========================== This PowerShell script lists the battery status. @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-battery-status.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-battery-status.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-bios.md b/docs/list-bios.md index 93ba6a7f1..1e3111c8f 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -1,5 +1,5 @@ -Script: *list-bios.ps1* -======================== +The *list-bios.ps1* Script +=========================== This PowerShell script lists the BIOS details. @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-bios.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-bios.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 1587fa922..0d2204722 100644 --- a/docs/list-bluetooth-devices.md +++ b/docs/list-bluetooth-devices.md @@ -1,5 +1,5 @@ -Script: *list-bluetooth-devices.ps1* -======================== +The *list-bluetooth-devices.ps1* Script +=========================== This PowerShell script lists all Bluetooth devices connected to the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-bluetooth-devices.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-bluetooth-devices.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-branches.md b/docs/list-branches.md index bf9290c03..657a70b4c 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -1,5 +1,5 @@ -Script: *list-branches.ps1* -======================== +The *list-branches.ps1* Script +=========================== This PowerShell script lists branches in a Git repository - either all (default) or by a search pattern. @@ -107,4 +107,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-branches.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-branches.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index 08c7001dd..5196218d6 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -1,5 +1,5 @@ -Script: *list-calendar.ps1* -======================== +The *list-calendar.ps1* Script +=========================== Lists calendar elements, either a single month or an entire year. @@ -245,4 +245,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-calendar.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-calendar.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index c47bde5fd..b9935385f 100644 --- a/docs/list-cheat-sheet.md +++ b/docs/list-cheat-sheet.md @@ -1,5 +1,5 @@ -Script: *list-cheat-sheet.ps1* -======================== +The *list-cheat-sheet.ps1* Script +=========================== This PowerShell script lists the PowerShell cheat sheet. @@ -75,4 +75,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-cheat-sheet.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-cheat-sheet.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index 4efbf10c5..1a87caca4 100644 --- a/docs/list-city-weather.md +++ b/docs/list-city-weather.md @@ -1,5 +1,5 @@ -Script: *list-city-weather.ps1* -======================== +The *list-city-weather.ps1* Script +=========================== list-city-weather.ps1 @@ -51,4 +51,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-city-weather.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-city-weather.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index 5f0d16567..fca3cc1da 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -1,5 +1,5 @@ -Script: *list-cli-tools.ps1* -======================== +The *list-cli-tools.ps1* Script +=========================== list-cli-tools.ps1 @@ -358,4 +358,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-cli-tools.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-cli-tools.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index 4e45a9667..d375d827d 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -1,5 +1,5 @@ -Script: *list-clipboard.ps1* -======================== +The *list-clipboard.ps1* Script +=========================== This PowerShell script lists the contents of the clipboard. @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-clipboard.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-clipboard.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index 69ab77523..b568a08d5 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -1,5 +1,5 @@ -Script: *list-cmdlets.ps1* -======================== +The *list-cmdlets.ps1* Script +=========================== This PowerShell script lists all PowerShell cmdlets. @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-cmdlets.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-cmdlets.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index 1d6206121..3f428f766 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -1,5 +1,5 @@ -Script: *list-coffee-prices.ps1* -======================== +The *list-coffee-prices.ps1* Script +=========================== list-coffee-prices.ps1 @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-coffee-prices.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-coffee-prices.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index 8b1b5f555..483db1685 100644 --- a/docs/list-commit-stats.md +++ b/docs/list-commit-stats.md @@ -1,5 +1,5 @@ -Script: *list-commit-stats.ps1* -======================== +The *list-commit-stats.ps1* Script +=========================== This PowerShell script lists the commit statistics of a Git repository. @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-commit-stats.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-commit-stats.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-commits.md b/docs/list-commits.md index d3158865d..1cc5b9550 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -1,5 +1,5 @@ -Script: *list-commits.ps1* -======================== +The *list-commits.ps1* Script +=========================== This PowerShell script lists all commits in a Git repository. Supported output formats are: pretty, list, compact, normal or JSON. @@ -121,4 +121,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-commits.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-commits.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 0538240a9..08610af46 100644 --- a/docs/list-console-colors.md +++ b/docs/list-console-colors.md @@ -1,5 +1,5 @@ -Script: *list-console-colors.ps1* -======================== +The *list-console-colors.ps1* Script +=========================== This PowerShell script lists all available console colors. @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-console-colors.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-console-colors.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-countries.md b/docs/list-countries.md index 5343b0593..d55b4cff6 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -1,5 +1,5 @@ -Script: *list-countries.ps1* -======================== +The *list-countries.ps1* Script +=========================== list-countries.ps1 @@ -52,4 +52,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-countries.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-countries.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index 68910dfd7..55b28e116 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -1,5 +1,5 @@ -Script: *list-cpu.ps1* -======================== +The *list-cpu.ps1* Script +=========================== This PowerShell script lists the CPU details. @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-cpu.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-cpu.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index 7a1b5e89a..6689b03cf 100644 --- a/docs/list-crypto-rates.md +++ b/docs/list-crypto-rates.md @@ -1,5 +1,5 @@ -Script: *list-crypto-rates.ps1* -======================== +The *list-crypto-rates.ps1* Script +=========================== list-crypto-rates.ps1 @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-crypto-rates.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-crypto-rates.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index 41c873c6b..76b7152f0 100644 --- a/docs/list-defender-settings.md +++ b/docs/list-defender-settings.md @@ -1,5 +1,5 @@ -Script: *list-defender-settings.ps1* -======================== +The *list-defender-settings.ps1* Script +=========================== This PowerShell script lists the current settings of Windows Defender Antivirus. NOTE: use 'Set-MpPreference' to change settings (e.g. DisableScanningNetworkFiles) @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-defender-settings.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-defender-settings.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index 974afafdb..d62792406 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -1,5 +1,5 @@ -Script: *list-dir-tree.ps1* -======================== +The *list-dir-tree.ps1* Script +=========================== This PowerShell script lists all files and folders in a neat directory tree (including icon and size). @@ -125,4 +125,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-dir-tree.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-dir-tree.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index 3e0455f77..ddc1770ce 100644 --- a/docs/list-dns-servers.md +++ b/docs/list-dns-servers.md @@ -1,5 +1,5 @@ -Script: *list-dns-servers.ps1* -======================== +The *list-dns-servers.ps1* Script +=========================== list-dns-servers.ps1 @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-dns-servers.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-dns-servers.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-drives.md b/docs/list-drives.md index 40af9b8bc..e3c0db945 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -1,5 +1,5 @@ -Script: *list-drives.ps1* -======================== +The *list-drives.ps1* Script +=========================== This PowerShell script lists all local drives as a table. @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-drives.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-drives.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index d823c30eb..df8992b05 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -1,5 +1,5 @@ -Script: *list-earthquakes.ps1* -======================== +The *list-earthquakes.ps1* Script +=========================== This PowerShell script lists major earthquakes for the last 30 days. @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-earthquakes.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-earthquakes.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index 393bfe21d..bec0eca5b 100644 --- a/docs/list-emojis.md +++ b/docs/list-emojis.md @@ -1,5 +1,5 @@ -Script: *list-emojis.ps1* -======================== +The *list-emojis.ps1* Script +=========================== This PowerShell script lists the emojis of Unicode 13.0 sorted by category. @@ -72,4 +72,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-emojis.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-emojis.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index a8049fbbb..22aa223c8 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -1,5 +1,5 @@ -Script: *list-empty-dirs.ps1* -======================== +The *list-empty-dirs.ps1* Script +=========================== This PowerShell script scans a directory tree and lists all empty directories. @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-empty-dirs.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-empty-dirs.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index be0013002..ab50e5fdc 100644 --- a/docs/list-empty-files.md +++ b/docs/list-empty-files.md @@ -1,5 +1,5 @@ -Script: *list-empty-files.ps1* -======================== +The *list-empty-files.ps1* Script +=========================== This PowerShell script scans a directory tree and lists all empty files. @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-empty-files.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-empty-files.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index a6e3ae5f5..f0feec5b7 100644 --- a/docs/list-encrypted-files.md +++ b/docs/list-encrypted-files.md @@ -1,5 +1,5 @@ -Script: *list-encrypted-files.ps1* -======================== +The *list-encrypted-files.ps1* Script +=========================== This PowerShell script scans a directory tree and lists all encrypted files. @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-encrypted-files.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-encrypted-files.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index 67fe8cb10..cbce5dc2c 100644 --- a/docs/list-environment-variables.md +++ b/docs/list-environment-variables.md @@ -1,5 +1,5 @@ -Script: *list-environment-variables.ps1* -======================== +The *list-environment-variables.ps1* Script +=========================== This PowerShell script lists all environment variables. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-environment-variables.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-environment-variables.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index e1a4d53cd..c9676a839 100644 --- a/docs/list-error-types.md +++ b/docs/list-error-types.md @@ -1,5 +1,5 @@ -Script: *list-error-types.ps1* -======================== +The *list-error-types.ps1* Script +=========================== list-error-types.ps1 @@ -26,4 +26,4 @@ Script Content } | Select BaseType,Name,FullName ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-error-types.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-error-types.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index 250dbc33f..66d89ac78 100644 --- a/docs/list-exchange-rates.md +++ b/docs/list-exchange-rates.md @@ -1,5 +1,5 @@ -Script: *list-exchange-rates.ps1* -======================== +The *list-exchange-rates.ps1* Script +=========================== This PowerShell script lists the current exchange rates for the given currency (USD per default). @@ -95,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-exchange-rates.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-exchange-rates.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-executables.md b/docs/list-executables.md index 4a5d3623a..375eb961e 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -1,5 +1,5 @@ -Script: *list-executables.ps1* -======================== +The *list-executables.ps1* Script +=========================== This PowerShell script scans a given directory tree and lists all executables with suffix .EXE. @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-executables.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-executables.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index 9a5bbcb51..f57e12da6 100644 --- a/docs/list-fibonacci.md +++ b/docs/list-fibonacci.md @@ -1,5 +1,5 @@ -Script: *list-fibonacci.ps1* -======================== +The *list-fibonacci.ps1* Script +=========================== list-fibonacci.ps1 @@ -43,4 +43,4 @@ foreach ($i in 0..100) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-fibonacci.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-fibonacci.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-files.md b/docs/list-files.md index 5a32d280c..ba97a5bf3 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -1,5 +1,5 @@ -Script: *list-files.ps1* -======================== +The *list-files.ps1* Script +=========================== This PowerShell script lists all files within the given directory tree. @@ -68,4 +68,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-files.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-files.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-folder.md b/docs/list-folder.md index 4d194c770..bf5d0f327 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -1,5 +1,5 @@ -Script: *list-folder.ps1* -======================== +The *list-folder.ps1* Script +=========================== This PowerShell script lists the content of a directory (alphabetically formatted in columns). @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-folder.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-folder.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index 8879e485e..82285c1e3 100644 --- a/docs/list-fritzbox-calls.md +++ b/docs/list-fritzbox-calls.md @@ -1,5 +1,5 @@ -Script: *list-fritzbox-calls.ps1* -======================== +The *list-fritzbox-calls.ps1* Script +=========================== This PowerShell script lists the phone calls of the FRITZ!Box device. @@ -153,4 +153,4 @@ echo $Result exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-fritzbox-calls.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-fritzbox-calls.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index ae47e310b..eae453978 100644 --- a/docs/list-fritzbox-devices.md +++ b/docs/list-fritzbox-devices.md @@ -1,5 +1,5 @@ -Script: *list-fritzbox-devices.ps1* -======================== +The *list-fritzbox-devices.ps1* Script +=========================== This PowerShell script lists FRITZ!Box's known devices. @@ -105,4 +105,4 @@ $HostTable | format-table -property Active,IPAddress,MACAddress,HostName,Interfa exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-fritzbox-devices.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-fritzbox-devices.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index e449b9cf7..85b913ac0 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -1,5 +1,5 @@ -Script: *list-headlines.ps1* -======================== +The *list-headlines.ps1* Script +=========================== This PowerShell script lists the latest headlines by using a RSS (Really Simple Syndication) feed. @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-headlines.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-headlines.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index 43eeff747..6431a2125 100644 --- a/docs/list-hidden-files.md +++ b/docs/list-hidden-files.md @@ -1,5 +1,5 @@ -Script: *list-hidden-files.ps1* -======================== +The *list-hidden-files.ps1* Script +=========================== This PowerShell script scans a directory tree and lists all hidden files. @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-hidden-files.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-hidden-files.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index eb882bbd7..1503383e6 100644 --- a/docs/list-installed-languages.md +++ b/docs/list-installed-languages.md @@ -1,5 +1,5 @@ -Script: *list-installed-languages.ps1* -======================== +The *list-installed-languages.ps1* Script +=========================== list-installed-languages.ps1 @@ -50,4 +50,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-installed-languages.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-installed-languages.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index 5c8841a7a..6e846cd8a 100644 --- a/docs/list-installed-scripts.md +++ b/docs/list-installed-scripts.md @@ -1,5 +1,5 @@ -Script: *list-installed-scripts.ps1* -======================== +The *list-installed-scripts.ps1* Script +=========================== This PowerShell script lists all installed PowerShell scripts. @@ -48,4 +48,4 @@ Get-InstalledScript exit # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-installed-scripts.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-installed-scripts.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index a8ec4ab1f..1ac576344 100644 --- a/docs/list-installed-software.md +++ b/docs/list-installed-software.md @@ -1,5 +1,5 @@ -Script: *list-installed-software.ps1* -======================== +The *list-installed-software.ps1* Script +=========================== This PowerShell script lists the installed software (except Windows Store apps). @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-installed-software.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-installed-software.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index e230e9411..ee41f0be8 100644 --- a/docs/list-internet-ip.md +++ b/docs/list-internet-ip.md @@ -1,5 +1,5 @@ -Script: *list-internet-ip.ps1* -======================== +The *list-internet-ip.ps1* Script +=========================== This PowerShell script queries all public IP address information and prints it. @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-internet-ip.ps1 as of 11/08/2024 12:34:50)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-internet-ip.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index 2f5168181..cd11116e6 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -1,5 +1,5 @@ -Script: *list-ipv6.ps1* -======================== +The *list-ipv6.ps1* Script +=========================== This PowerShell script lists the state of IPv6 on all network interfaces of the local computer. @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-ipv6.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-ipv6.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index 2fb6d24b7..f9a2396f4 100644 --- a/docs/list-latest-tag.md +++ b/docs/list-latest-tag.md @@ -1,5 +1,5 @@ -Script: *list-latest-tag.ps1* -======================== +The *list-latest-tag.ps1* Script +=========================== This PowerShell script lists the latest tag in a local Git repository. @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-latest-tag.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-latest-tag.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index fcd53b8f9..de34c781e 100644 --- a/docs/list-latest-tags.md +++ b/docs/list-latest-tags.md @@ -1,5 +1,5 @@ -Script: *list-latest-tags.ps1* -======================== +The *list-latest-tags.ps1* Script +=========================== This PowerShell script lists the latest tags in all Git repositories in the specified folder. @@ -85,4 +85,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-latest-tags.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-latest-tags.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index e6aa2c631..f84101159 100644 --- a/docs/list-local-ip.md +++ b/docs/list-local-ip.md @@ -1,5 +1,5 @@ -Script: *list-local-ip.ps1* -======================== +The *list-local-ip.ps1* Script +=========================== list-local-ip.ps1 @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-local-ip.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-local-ip.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index a3763e362..f3f0a986d 100644 --- a/docs/list-mDNS.md +++ b/docs/list-mDNS.md @@ -1,5 +1,5 @@ -Script: *list-mDNS.ps1* -======================== +The *list-mDNS.ps1* Script +=========================== list-mDNS.ps1 @@ -21,4 +21,4 @@ Get-NetUDPEndpoint -localPort 5353 | Select-Object LocalAddress,LocalPort,Owning exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-mDNS.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-mDNS.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-memos.md b/docs/list-memos.md index 5831b7dda..6842996e7 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -1,5 +1,5 @@ -Script: *list-memos.ps1* -======================== +The *list-memos.ps1* Script +=========================== This PowerShell script lists all entries in 'Remember.csv' in your home folder. @@ -68,4 +68,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-memos.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-memos.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index 788e85403..e5d48f402 100644 --- a/docs/list-mysql-tables.md +++ b/docs/list-mysql-tables.md @@ -1,5 +1,5 @@ -Script: *list-mysql-tables.ps1* -======================== +The *list-mysql-tables.ps1* Script +=========================== This PowerShell script lists all tables of the given MySQL database. @@ -90,4 +90,4 @@ $result = Invoke-MySqlQuery -ConnectionString "server=$server; database=$databa $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-mysql-tables.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-mysql-tables.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index cebcdcbc8..969147b3d 100644 --- a/docs/list-network-connections.md +++ b/docs/list-network-connections.md @@ -1,5 +1,5 @@ -Script: *list-network-connections.ps1* -======================== +The *list-network-connections.ps1* Script +=========================== This PowerShell script lists all active network connections on the local computer. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-network-connections.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-network-connections.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index 6db62899e..be3ef42f9 100644 --- a/docs/list-network-neighbors.md +++ b/docs/list-network-neighbors.md @@ -1,5 +1,5 @@ -Script: *list-network-neighbors.ps1* -======================== +The *list-network-neighbors.ps1* Script +=========================== This PowerShell script lists all network neighbors of the local computer (using the ARP cache). @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-network-neighbors.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-network-neighbors.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index ae5fce7d0..50827b440 100644 --- a/docs/list-network-routes.md +++ b/docs/list-network-routes.md @@ -1,5 +1,5 @@ -Script: *list-network-routes.ps1* -======================== +The *list-network-routes.ps1* Script +=========================== This PowerShell script lists the network routes on the local computer. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-network-routes.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-network-routes.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index ccebc9637..553640f04 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -1,5 +1,5 @@ -Script: *list-network-shares.ps1* -======================== +The *list-network-shares.ps1* Script +=========================== This PowerShell script lists all network shares (aka "shared folders") of the local computer. @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-network-shares.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-network-shares.ps1 as of 11/08/2024 12:37:52)* diff --git a/docs/list-news.md b/docs/list-news.md index 8e16a9d97..b50afbd23 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -1,5 +1,5 @@ -Script: *list-news.ps1* -======================== +The *list-news.ps1* Script +=========================== This PowerShell script lists the latest news by using a RSS (Really Simple Syndication) feed. @@ -112,4 +112,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-news.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-news.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-nic.md b/docs/list-nic.md index 4880d6407..37d83dffb 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -1,5 +1,5 @@ -Script: *list-nic.ps1* -======================== +The *list-nic.ps1* Script +=========================== This PowerShell script lists the details of the installed network interfaces. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-nic.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-nic.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index 4f29aa25a..effa2dbea 100644 --- a/docs/list-nina-warnings.md +++ b/docs/list-nina-warnings.md @@ -1,5 +1,5 @@ -Script: *list-nina-warnings.ps1* -======================== +The *list-nina-warnings.ps1* Script +=========================== This PowerShell script queries the current NINA warnings and lists it. @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-nina-warnings.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-nina-warnings.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index c4ee984f9..548294538 100644 --- a/docs/list-old-branches.md +++ b/docs/list-old-branches.md @@ -1,5 +1,5 @@ -Script: *list-old-branches.ps1* -======================== +The *list-old-branches.ps1* Script +=========================== This PowerShell script lists branches in a Git repository matching: (1) search pattern, (2) already merged, (3) older than 2024 @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-old-branches.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-old-branches.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index 3341f43e6..39f08765a 100644 --- a/docs/list-os-releases.md +++ b/docs/list-os-releases.md @@ -1,5 +1,5 @@ -Script: *list-os-releases.ps1* -======================== +The *list-os-releases.ps1* Script +=========================== This PowerShell script lists OS releases and download URL. @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-os-releases.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-os-releases.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index 203aefbe1..e27e4773e 100644 --- a/docs/list-os-updates.md +++ b/docs/list-os-updates.md @@ -1,5 +1,5 @@ -Script: *list-os-updates.ps1* -======================== +The *list-os-updates.ps1* Script +=========================== This PowerShell script lists the latest updates for operating systems. @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-os-updates.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-os-updates.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-os.md b/docs/list-os.md index 730c225a4..4a7f2cf8d 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -1,5 +1,5 @@ -Script: *list-os.ps1* -======================== +The *list-os.ps1* Script +=========================== This PowerShell script lists the exact operating system version. @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-os.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-os.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index 85eb78a08..c9dba7699 100644 --- a/docs/list-outlook-inbox.md +++ b/docs/list-outlook-inbox.md @@ -1,5 +1,5 @@ -Script: *list-outlook-inbox.ps1* -======================== +The *list-outlook-inbox.ps1* Script +=========================== This PowerShell script lists the emails in the inbox of Outlook. @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-outlook-inbox.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-outlook-inbox.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index 58fabc051..dac178712 100644 --- a/docs/list-outlook-sent.md +++ b/docs/list-outlook-sent.md @@ -1,5 +1,5 @@ -Script: *list-outlook-sent.ps1* -======================== +The *list-outlook-sent.ps1* Script +=========================== This PowerShell script lists the mails in the Sent Mail folder of Outlook. @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-outlook-sent.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-outlook-sent.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-passwords.md b/docs/list-passwords.md index d4aad70a2..2cd70ea49 100644 --- a/docs/list-passwords.md +++ b/docs/list-passwords.md @@ -1,5 +1,5 @@ -Script: *list-passwords.ps1* -======================== +The *list-passwords.ps1* Script +=========================== This PowerShell script lists random passwords. @@ -111,4 +111,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-passwords.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-passwords.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-pins.md b/docs/list-pins.md index e3be02f76..c261af46e 100644 --- a/docs/list-pins.md +++ b/docs/list-pins.md @@ -1,5 +1,5 @@ -Script: *list-pins.ps1* -======================== +The *list-pins.ps1* Script +=========================== This PowerShell script lists random PIN's. @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-pins.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-pins.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index 463c764cf..990e7ee94 100644 --- a/docs/list-power-schemes.md +++ b/docs/list-power-schemes.md @@ -1,5 +1,5 @@ -Script: *list-power-schemes.ps1* -======================== +The *list-power-schemes.ps1* Script +=========================== list-power-schemes.ps1 @@ -21,4 +21,4 @@ powercfg /list exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-power-schemes.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-power-schemes.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index 69f94553e..c270dd3c5 100644 --- a/docs/list-powershell-modules.md +++ b/docs/list-powershell-modules.md @@ -1,5 +1,5 @@ -Script: *list-powershell-modules.ps1* -======================== +The *list-powershell-modules.ps1* Script +=========================== This PowerShell script lists the installed PowerShell modules. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-powershell-modules.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-powershell-modules.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index 847a0d2e7..7da3f3a7d 100644 --- a/docs/list-powershell-profiles.md +++ b/docs/list-powershell-profiles.md @@ -1,5 +1,5 @@ -Script: *list-powershell-profiles.ps1* -======================== +The *list-powershell-profiles.ps1* Script +=========================== list-powershell-profiles.ps1 @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-powershell-profiles.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-powershell-profiles.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index 361a960e1..a764d1ee7 100644 --- a/docs/list-powershell-verbs.md +++ b/docs/list-powershell-verbs.md @@ -1,5 +1,5 @@ -Script: *list-powershell-verbs.ps1* -======================== +The *list-powershell-verbs.ps1* Script +=========================== This PowerShell script lists all allowed/recommended verbs in PowerShell. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-powershell-verbs.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-powershell-verbs.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index 088c137df..569297492 100644 --- a/docs/list-print-jobs.md +++ b/docs/list-print-jobs.md @@ -1,5 +1,5 @@ -Script: *list-print-jobs.ps1* -======================== +The *list-print-jobs.ps1* Script +=========================== This PowerShell script lists all print jobs of all printer devices. @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-print-jobs.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-print-jobs.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 3f67a17a2..e0d705c0e 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -1,5 +1,5 @@ -Script: *list-printers.ps1* -======================== +The *list-printers.ps1* Script +=========================== This PowerShell script lists all printers known to the local computer. @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-printers.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-printers.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-processes.md b/docs/list-processes.md index 86ea38882..e830d317f 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -1,5 +1,5 @@ -Script: *list-processes.ps1* -======================== +The *list-processes.ps1* Script +=========================== This PowerShell script lists all local computer processes. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-processes.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-processes.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index c6f681871..762dd3b14 100644 --- a/docs/list-pull-requests.md +++ b/docs/list-pull-requests.md @@ -1,5 +1,5 @@ -Script: *list-pull-requests.ps1* -======================== +The *list-pull-requests.ps1* Script +=========================== This PowerShell script lists all pull requests for a Git repository. @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-pull-requests.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-pull-requests.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-ram.md b/docs/list-ram.md index b5f0c3043..626334be4 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -1,5 +1,5 @@ -Script: *list-ram.ps1* -======================== +The *list-ram.ps1* Script +=========================== This PowerShell script lists the details of the installed RAM. @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-ram.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-ram.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index 51e79254d..b52dd9022 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -1,5 +1,5 @@ -Script: *list-read-only-files.ps1* -======================== +The *list-read-only-files.ps1* Script +=========================== This PowerShell script scans a directory tree and lists all read-only files. @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-read-only-files.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-read-only-files.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index 4a46522bc..faee7845d 100644 --- a/docs/list-recycle-bin.md +++ b/docs/list-recycle-bin.md @@ -1,5 +1,5 @@ -Script: *list-recycle-bin.ps1* -======================== +The *list-recycle-bin.ps1* Script +=========================== This PowerShell script lists the content of the recycle bin folder. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-recycle-bin.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-recycle-bin.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-repos.md b/docs/list-repos.md index 15d4bf22d..0b4c71d38 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -1,5 +1,5 @@ -Script: *list-repos.ps1* -======================== +The *list-repos.ps1* Script +=========================== This PowerShell script lists all Git repositories under a folder with details such as latest tag, branch, remote URL, and status. @@ -103,4 +103,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-repos.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-repos.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index 8e633d511..a27965a79 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -1,5 +1,5 @@ -Script: *list-scripts.ps1* -======================== +The *list-scripts.ps1* Script +=========================== list-scripts.ps1 [[-category] ] @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-scripts.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-scripts.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index 96a634219..afbc9cf5c 100644 --- a/docs/list-scsi-devices.md +++ b/docs/list-scsi-devices.md @@ -1,5 +1,5 @@ -Script: *list-scsi-devices.ps1* -======================== +The *list-scsi-devices.ps1* Script +=========================== This PowerShell script lists all SCSI devices connected to the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-scsi-devices.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-scsi-devices.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-services.md b/docs/list-services.md index 7653ec75b..e69e59ebb 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -1,5 +1,5 @@ -Script: *list-services.ps1* -======================== +The *list-services.ps1* Script +=========================== This PowerShell script lists all services installed on the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-services.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-services.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index 4b8f17888..32c11a628 100644 --- a/docs/list-special-folders.md +++ b/docs/list-special-folders.md @@ -1,5 +1,5 @@ -Script: *list-special-folders.ps1* -======================== +The *list-special-folders.ps1* Script +=========================== list-special-folders.ps1 @@ -105,4 +105,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-special-folders.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-special-folders.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index 28d31b20f..d433b6722 100644 --- a/docs/list-sql-tables.md +++ b/docs/list-sql-tables.md @@ -1,5 +1,5 @@ -Script: *list-sql-tables.ps1* -======================== +The *list-sql-tables.ps1* Script +=========================== This PowerShell script lists all tables in a SQL server database and exports the list as CSV. Install-Module InvokeQuery @@ -93,4 +93,4 @@ $result = Invoke-SqlServerQuery -Credential $creds -ConnectionTimeout 10000 -Dat $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-sql-tables.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-sql-tables.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index 32e97bfc9..09665fca3 100644 --- a/docs/list-ssh-key.md +++ b/docs/list-ssh-key.md @@ -1,5 +1,5 @@ -Script: *list-ssh-key.ps1* -======================== +The *list-ssh-key.ps1* Script +=========================== This PowerShell script lists the user's public SSH key. @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-ssh-key.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-ssh-key.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index 0a0bad9b0..0f8753a6a 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -1,5 +1,5 @@ -Script: *list-submodules.ps1* -======================== +The *list-submodules.ps1* Script +=========================== This PowerShell script lists the submodules in the given Git repository. @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-submodules.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-submodules.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index 08d27ac2f..8c1e68620 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -1,5 +1,5 @@ -Script: *list-suggestions.ps1* -======================== +The *list-suggestions.ps1* Script +=========================== This PowerShell script lists "Did you mean?" suggestions from Google. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-suggestions.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-suggestions.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index 82627c178..f2470eca4 100644 --- a/docs/list-system-devices.md +++ b/docs/list-system-devices.md @@ -1,5 +1,5 @@ -Script: *list-system-devices.ps1* -======================== +The *list-system-devices.ps1* Script +=========================== This PowerShell script lists all system devices connected to the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-system-devices.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-system-devices.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index f4301718b..cb116efaa 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -1,5 +1,5 @@ -Script: *list-system-files.ps1* -======================== +The *list-system-files.ps1* Script +=========================== This PowerShell script scans a directory tree and lists all system files. @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-system-files.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-system-files.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index f0d555fed..f3a179b2e 100644 --- a/docs/list-system-info.md +++ b/docs/list-system-info.md @@ -1,5 +1,5 @@ -Script: *list-system-info.ps1* -======================== +The *list-system-info.ps1* Script +=========================== This PowerShell script lists system information of the local computer. @@ -141,4 +141,4 @@ $info exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-system-info.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-system-info.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-tags.md b/docs/list-tags.md index 9b26c832c..0dddb528f 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -1,5 +1,5 @@ -Script: *list-tags.ps1* -======================== +The *list-tags.ps1* Script +=========================== This PowerShell script fetches all tags in a local Git repository and lists it (oldest tag first). @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-tags.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-tags.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index 2edde02bf..522858ee0 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -1,5 +1,5 @@ -Script: *list-tasks.ps1* -======================== +The *list-tasks.ps1* Script +=========================== list-tasks.ps1 @@ -44,4 +44,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-tasks.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-tasks.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index bdb4ab698..cab8b517c 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -1,5 +1,5 @@ -Script: *list-timezone.ps1* -======================== +The *list-timezone.ps1* Script +=========================== This PowerShell script lists the details of the current time zone. @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-timezone.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-timezone.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 7ea053bf8..29ac877ba 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -1,5 +1,5 @@ -Script: *list-timezones.ps1* -======================== +The *list-timezones.ps1* Script +=========================== This PowerShell script lists all available time zones. @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-timezones.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-timezones.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index 143b63ae7..30cc931a9 100644 --- a/docs/list-tiobe-index.md +++ b/docs/list-tiobe-index.md @@ -1,5 +1,5 @@ -Script: *list-tiobe-index.ps1* -======================== +The *list-tiobe-index.ps1* Script +=========================== list-tiobe-index.ps1 @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-tiobe-index.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-tiobe-index.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index 2f33b4026..97e498774 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -1,5 +1,5 @@ -Script: *list-unused-files.ps1* -======================== +The *list-unused-files.ps1* Script +=========================== This PowerShell script scans a directory tree and lists unused files (no read/write access since a number of days). @@ -95,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-unused-files.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-unused-files.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-updates.md b/docs/list-updates.md index c1f962513..111b5a687 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -1,5 +1,5 @@ -Script: *list-updates.ps1* -======================== +The *list-updates.ps1* Script +=========================== This PowerShell script queries the latest available software updates for the local machine and lists it. @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-updates.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-updates.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index c016453dd..dbf397bfb 100644 --- a/docs/list-usb-devices.md +++ b/docs/list-usb-devices.md @@ -1,5 +1,5 @@ -Script: *list-usb-devices.ps1* -======================== +The *list-usb-devices.ps1* Script +=========================== This PowerShell script lists all USB devices connected to the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-usb-devices.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-usb-devices.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 0a7feab77..418d57819 100644 --- a/docs/list-user-accounts.md +++ b/docs/list-user-accounts.md @@ -1,5 +1,5 @@ -Script: *list-user-accounts.ps1* -======================== +The *list-user-accounts.ps1* Script +=========================== This PowerShell script lists the user accounts on the local computer. @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-user-accounts.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-user-accounts.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index fa9390513..d545b9e79 100644 --- a/docs/list-user-groups.md +++ b/docs/list-user-groups.md @@ -1,5 +1,5 @@ -Script: *list-user-groups.ps1* -======================== +The *list-user-groups.ps1* Script +=========================== This PowerShell script lists the user groups of the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-user-groups.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-user-groups.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-voices.md b/docs/list-voices.md index 13a672488..c4dca5f68 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -1,5 +1,5 @@ -Script: *list-voices.ps1* -======================== +The *list-voices.ps1* Script +=========================== This PowerShell script queries the installed text-to-speech (TTS) voices and prints them to the console. @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-voices.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-voices.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-weather.md b/docs/list-weather.md index 5f3ecc5c0..25ec6288e 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -1,5 +1,5 @@ -Script: *list-weather.ps1* -======================== +The *list-weather.ps1* Script +=========================== This PowerShell script queries the 48h weather report from wttr.in and lists it in a nice table. @@ -177,4 +177,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-weather.ps1 as of 11/08/2024 12:34:51)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-weather.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index bc4e4d7e2..46af4a270 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -1,5 +1,5 @@ -Script: *list-wifi.ps1* -======================== +The *list-wifi.ps1* Script +=========================== This PowerShell script lists the WIFI networks. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-wifi.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-wifi.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index 57395b7da..34d807f51 100644 --- a/docs/list-window-titles.md +++ b/docs/list-window-titles.md @@ -1,5 +1,5 @@ -Script: *list-window-titles.ps1* -======================== +The *list-window-titles.ps1* Script +=========================== This PowerShell script queries all main window titles and lists them as a table. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-window-titles.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-window-titles.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index 64cd0d620..c218bcaff 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -1,5 +1,5 @@ -Script: *list-workdir.ps1* -======================== +The *list-workdir.ps1* Script +=========================== This PowerShell script lists the path to current working directory (but not the content itself). @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-workdir.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-workdir.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index ff7bb09bd..3092a7eb4 100644 --- a/docs/list-wsl-distros.md +++ b/docs/list-wsl-distros.md @@ -1,5 +1,5 @@ -Script: *list-wsl-distros.ps1* -======================== +The *list-wsl-distros.ps1* Script +=========================== This PowerShell script lists installed/available Linux distributions for Windows Subsystem for Linux (WSL). @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-wsl-distros.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of list-wsl-distros.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/locate-city.md b/docs/locate-city.md index 5c8cdf8a8..211e28af1 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -1,5 +1,5 @@ -Script: *locate-city.ps1* -======================== +The *locate-city.ps1* Script +=========================== This PowerShell script prints the geographic location of the given city. @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of locate-city.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of locate-city.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index b7df28c79..b304b6931 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -1,5 +1,5 @@ -Script: *locate-ipaddress.ps1* -======================== +The *locate-ipaddress.ps1* Script +=========================== locate-ipaddress.ps1 [[-IPaddress] ] @@ -46,4 +46,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of locate-ipaddress.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of locate-ipaddress.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index 818828025..037adc59d 100644 --- a/docs/locate-my-phone.md +++ b/docs/locate-my-phone.md @@ -1,5 +1,5 @@ -Script: *locate-my-phone.ps1* -======================== +The *locate-my-phone.ps1* Script +=========================== This PowerShell script launches the Web browser with the Google Find My Device website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of locate-my-phone.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of locate-my-phone.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index a13399af7..e2e7c3f3a 100644 --- a/docs/locate-zip-code.md +++ b/docs/locate-zip-code.md @@ -1,5 +1,5 @@ -Script: *locate-zip-code.ps1* -======================== +The *locate-zip-code.ps1* Script +=========================== This PowerShell script prints the geographic location of the given zip-code. @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of locate-zip-code.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of locate-zip-code.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index 7b6929d6f..fc718619d 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -1,5 +1,5 @@ -Script: *lock-desktop.ps1* -======================== +The *lock-desktop.ps1* Script +=========================== This PowerShell script locks the local computer desktop immediately. @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of lock-desktop.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of lock-desktop.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/log-off.md b/docs/log-off.md index 40b809134..ecc7a6426 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -1,5 +1,5 @@ -Script: *log-off.ps1* -======================== +The *log-off.ps1* Script +=========================== This PowerShell script logs off the current Windows user. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of log-off.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of log-off.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/make-install.md b/docs/make-install.md index e54ab3551..5520936a7 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -1,5 +1,5 @@ -Script: *make-install.ps1* -======================== +The *make-install.ps1* Script +=========================== This PowerShell script copies newer EXE's + DLL's from the build directory to the installation directory. @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of make-install.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of make-install.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index f2a437d7f..137c89c31 100644 --- a/docs/measure-BubbleSort.md +++ b/docs/measure-BubbleSort.md @@ -1,5 +1,5 @@ -Script: *measure-BubbleSort.ps1* -======================== +The *measure-BubbleSort.ps1* Script +=========================== This PowerShell script measures the speed of the BubbleSort algorithm. BubbleSort is a simple sorting algorithm that repeatedly steps through the list, @@ -92,4 +92,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-BubbleSort.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-BubbleSort.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index f4251c921..d567aaaa6 100644 --- a/docs/measure-BucketSort.md +++ b/docs/measure-BucketSort.md @@ -1,5 +1,5 @@ -Script: *measure-BucketSort.ps1* -======================== +The *measure-BucketSort.ps1* Script +=========================== This PowerShell script measures the speed of the BucketSort algorithm. BucketSort is a sorting algorithm that works by distributing the elements @@ -120,4 +120,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-BucketSort.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-BucketSort.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index 238226c3a..68bf98846 100644 --- a/docs/measure-CountingSort.md +++ b/docs/measure-CountingSort.md @@ -1,5 +1,5 @@ -Script: *measure-CountingSort.ps1* -======================== +The *measure-CountingSort.ps1* Script +=========================== This PowerShell script measures the speed of the CountingSort algorithm. CountingSort is an algorithm for sorting a collection of objects according to keys @@ -111,4 +111,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-CountingSort.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-CountingSort.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index fd35e1c04..44b1493ad 100644 --- a/docs/measure-HeapSort.md +++ b/docs/measure-HeapSort.md @@ -1,5 +1,5 @@ -Script: *measure-HeapSort.ps1* -======================== +The *measure-HeapSort.ps1* Script +=========================== This PowerShell script measures the speed of the HeapSort algorithm. HeapSort is a comparison-based sorting algorithm. Heapsort can be thought of as an @@ -126,4 +126,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-HeapSort.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-HeapSort.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index a655b410f..541581466 100644 --- a/docs/measure-InsertionSort.md +++ b/docs/measure-InsertionSort.md @@ -1,5 +1,5 @@ -Script: *measure-InsertionSort.ps1* -======================== +The *measure-InsertionSort.ps1* Script +=========================== This PowerShell script measures the speed of the InsertionSort algorithm. InsertionSort is a simple sorting algorithm that builds the final sorted array (or list) @@ -95,4 +95,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-InsertionSort.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-InsertionSort.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index 63ba067cf..1f1868083 100644 --- a/docs/measure-MergeSort.md +++ b/docs/measure-MergeSort.md @@ -1,5 +1,5 @@ -Script: *measure-MergeSort.ps1* -======================== +The *measure-MergeSort.ps1* Script +=========================== This PowerShell script measures the speed of the MergeSort algorithm. MergeSort is an efficient, general-purpose, and comparison-based sorting algorithm. @@ -120,4 +120,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-MergeSort.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-MergeSort.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index b6d668135..cf4cf672b 100644 --- a/docs/measure-QuickSort.md +++ b/docs/measure-QuickSort.md @@ -1,5 +1,5 @@ -Script: *measure-QuickSort.ps1* -======================== +The *measure-QuickSort.ps1* Script +=========================== This PowerShell script measures the speed of the QuickSort algorithm. QuickSort is an in-place sorting algorithm. Developed by British computer scientist @@ -101,4 +101,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-QuickSort.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-QuickSort.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index 3c47b7a9c..2b1beab38 100644 --- a/docs/measure-SelectionSort.md +++ b/docs/measure-SelectionSort.md @@ -1,5 +1,5 @@ -Script: *measure-SelectionSort.ps1* -======================== +The *measure-SelectionSort.ps1* Script +=========================== This PowerShell script measures the speed of the SelectionSort algorithm. SelectionSort is an in-place comparison sorting algorithm. It has an O(n2) time complexity, @@ -94,4 +94,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-SelectionSort.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-SelectionSort.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index 19f268b53..3a0d7b8f1 100644 --- a/docs/measure-sorting-algorithms.md +++ b/docs/measure-sorting-algorithms.md @@ -1,5 +1,5 @@ -Script: *measure-sorting-algorithms.ps1* -======================== +The *measure-sorting-algorithms.ps1* Script +=========================== This PowerShell script measures the speed of several sorting algorithms and prints it. @@ -73,4 +73,4 @@ param([int]$numIntegers = 3000) exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-sorting-algorithms.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of measure-sorting-algorithms.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index bb2b5eaa8..d8d87dada 100644 --- a/docs/merry-christmas.md +++ b/docs/merry-christmas.md @@ -1,5 +1,5 @@ -Script: *merry-christmas.ps1* -======================== +The *merry-christmas.ps1* Script +=========================== This PowerShell script replies to 'Merry Christmas' by text-to-speech (TTS). @@ -50,4 +50,4 @@ $Reply = "Merry Christmas to you too!", "Happy Christmas to you too!" | Get-Rand exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of merry-christmas.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of merry-christmas.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index 1040ea2aa..6bb73f47e 100644 --- a/docs/minimize-all-windows.md +++ b/docs/minimize-all-windows.md @@ -1,5 +1,5 @@ -Script: *minimize-all-windows.ps1* -======================== +The *minimize-all-windows.ps1* Script +=========================== This PowerShell script minimizes all open windows. @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of minimize-all-windows.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of minimize-all-windows.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index 53fe5f8c2..81750ef96 100644 --- a/docs/move-mouse-pointer.md +++ b/docs/move-mouse-pointer.md @@ -1,5 +1,5 @@ -Script: *move-mouse-pointer.ps1* -======================== +The *move-mouse-pointer.ps1* Script +=========================== This PowerShell script moves the mouse pointer either to the given x/y coordinate or just slightly. @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of move-mouse-pointer.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of move-mouse-pointer.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/move-vm.md b/docs/move-vm.md index 5a97566b5..d5bac3c97 100644 --- a/docs/move-vm.md +++ b/docs/move-vm.md @@ -1,5 +1,5 @@ -Script: *move-vm.ps1* -======================== +The *move-vm.ps1* Script +=========================== move-vm.ps1 @@ -22,4 +22,4 @@ Move-VM $VMName HOST2 -IncludeStorage -DestinationStoragePath "D:\VirtualMachine exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of move-vm.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of move-vm.ps1 as of 11/08/2024 12:37:53)* diff --git a/docs/my-profile.md b/docs/my-profile.md index 1a0a9c1e0..21935b91b 100644 --- a/docs/my-profile.md +++ b/docs/my-profile.md @@ -1,5 +1,5 @@ -Script: *my-profile.ps1* -======================== +The *my-profile.ps1* Script +=========================== my-profile.ps1 @@ -39,4 +39,4 @@ del alias:pwd -force -errorAction SilentlyContinue set-alias -name pwd -value list-workdir.ps1 # pwd = print working directory ``` -*(generated by convert-ps2md.ps1 using the comment-based help of my-profile.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of my-profile.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/new-branch.md b/docs/new-branch.md index c33f39dba..5ee1801f3 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -1,5 +1,5 @@ -Script: *new-branch.ps1* -======================== +The *new-branch.ps1* Script +=========================== This PowerShell script creates a new branch in a local Git repository and switches to it. @@ -128,4 +128,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-branch.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-branch.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 91c0b03ef..730eb8ed8 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -1,5 +1,5 @@ -Script: *new-dir.ps1* -======================== +The *new-dir.ps1* Script +=========================== This PowerShell script creates an empty new directory in the filesystem. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-dir.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-dir.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/new-email.md b/docs/new-email.md index 0fc2764a7..191890408 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -1,5 +1,5 @@ -Script: *new-email.ps1* -======================== +The *new-email.ps1* Script +=========================== This PowerShell script opens the default email client to write a new email. @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-email.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-email.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index 4b1d1ef0e..67b9d3e9c 100644 --- a/docs/new-linux-vm.md +++ b/docs/new-linux-vm.md @@ -1,5 +1,5 @@ -Script: *new-linux-vm.ps1* -======================== +The *new-linux-vm.ps1* Script +=========================== new-linux-vm.ps1 @@ -38,4 +38,4 @@ $VMName = "linux" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-linux-vm.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-linux-vm.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 77eb1fecc..cc8f3dcda 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -1,5 +1,5 @@ -Script: *new-qrcode.ps1* -======================== +The *new-qrcode.ps1* Script +=========================== This PowerShell script generates a new QR code image file. @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-qrcode.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-qrcode.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index eb2260d8b..643e5db6d 100644 --- a/docs/new-reboot-task.md +++ b/docs/new-reboot-task.md @@ -1,5 +1,5 @@ -Script: *new-reboot-task.ps1* -======================== +The *new-reboot-task.ps1* Script +=========================== new-reboot-task.ps1 @@ -134,4 +134,4 @@ Else If ((Get-ScheduledTask -TaskName $Taskname).State -eq "Disabled") {Enable-ScheduledTask -TaskName $TaskName} ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-reboot-task.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-reboot-task.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/new-script.md b/docs/new-script.md index 44e7208d5..2cc4cec45 100644 --- a/docs/new-script.md +++ b/docs/new-script.md @@ -1,5 +1,5 @@ -Script: *new-script.ps1* -======================== +The *new-script.ps1* Script +=========================== This PowerShell script creates a new PowerShell script file by using the template file ../data/template.ps1. @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-script.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-script.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index d9f28b5ff..b6e83039f 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -1,5 +1,5 @@ -Script: *new-shortcut.ps1* -======================== +The *new-shortcut.ps1* Script +=========================== This PowerShell script creates a new shortcut file. @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-shortcut.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-shortcut.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index 9db8bc05c..8edaa00d7 100644 --- a/docs/new-ssh-key.md +++ b/docs/new-ssh-key.md @@ -1,5 +1,5 @@ -Script: *new-ssh-key.ps1* -======================== +The *new-ssh-key.ps1* Script +=========================== This PowerShell script creates a new SSH key for the user. @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-ssh-key.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-ssh-key.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index 5492f248d..82d2e440e 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -1,5 +1,5 @@ -Script: *new-symlink.ps1* -======================== +The *new-symlink.ps1* Script +=========================== This PowerShell script creates a new symbolic link file, linking to a target. @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-symlink.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-symlink.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/new-tag.md b/docs/new-tag.md index a4c75868d..2189835e9 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -1,5 +1,5 @@ -Script: *new-tag.ps1* -======================== +The *new-tag.ps1* Script +=========================== This PowerShell script creates a new tag in a Git repository. @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-tag.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-tag.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/new-user.md b/docs/new-user.md index 5bcc04dbd..3d162ee73 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -1,5 +1,5 @@ -Script: *new-user.ps1* -======================== +The *new-user.ps1* Script +=========================== This PowerShell script creates a new user account with an encrypted home directory. @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-user.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-user.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index 9c2b9ab1f..283c8f7ef 100644 --- a/docs/new-windows-vm.md +++ b/docs/new-windows-vm.md @@ -1,5 +1,5 @@ -Script: *new-windows-vm.ps1* -======================== +The *new-windows-vm.ps1* Script +=========================== new-windows-vm.ps1 @@ -37,4 +37,4 @@ $VMName = "windows" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-windows-vm.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of new-windows-vm.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index 092af180d..6f24532ab 100644 --- a/docs/on-desktop-login.md +++ b/docs/on-desktop-login.md @@ -1,5 +1,5 @@ -Script: *on-desktop-login.ps1* -======================== +The *on-desktop-login.ps1* Script +=========================== This PowerShell script executes some 'welcome' tasks on every desktop login by the user. NOTE: for installation on Windows create and put a symbolic link to this script into the Autostart folder (usually at: C:\Users\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup). @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of on-desktop-login.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of on-desktop-login.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-URL.md b/docs/open-URL.md index 99be43625..ecd03b308 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -1,5 +1,5 @@ -Script: *open-URL.ps1* -======================== +The *open-URL.ps1* Script +=========================== This PowerShell script launches a new tab in the default Web browser with the given URL. @@ -86,4 +86,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-URL.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-URL.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index 2beca7794..27d060d38 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -1,5 +1,5 @@ -Script: *open-apps-folder.ps1* -======================== +The *open-apps-folder.ps1* Script +=========================== This PowerShell script launches the File Explorer showing the UWP apps folder. @@ -49,4 +49,4 @@ exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-apps-folder.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-apps-folder.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index ae2726f05..3e8e2c00f 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -1,5 +1,5 @@ -Script: *open-auto-start-folder.ps1* -======================== +The *open-auto-start-folder.ps1* Script +=========================== This PowerShell script launches the File Explorer with the user's autostart folder. @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-auto-start-folder.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-auto-start-folder.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index 70b01a0a3..84cee47da 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -1,5 +1,5 @@ -Script: *open-bing-maps.ps1* -======================== +The *open-bing-maps.ps1* Script +=========================== This PowerShell script launches the Bing Maps application. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-bing-maps.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-bing-maps.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index d8741d328..ac6f30882 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -1,5 +1,5 @@ -Script: *open-booking-com.ps1* -======================== +The *open-booking-com.ps1* Script +=========================== This PowerShell script launches the Web browser with the Booking.com website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-booking-com.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-booking-com.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index 4e524fa66..9876bec33 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -1,5 +1,5 @@ -Script: *open-c-drive.ps1* -======================== +The *open-c-drive.ps1* Script +=========================== This PowerShell script launches the File Explorer with the C: drive folder. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-c-drive.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-c-drive.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index 4d9fcadf4..16b8de86c 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -1,5 +1,5 @@ -Script: *open-calculator.ps1* -======================== +The *open-calculator.ps1* Script +=========================== This PowerShell script launches the calculator application. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-calculator.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-calculator.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index e7ecf3242..3eea66db4 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -1,5 +1,5 @@ -Script: *open-chrome.ps1* -======================== +The *open-chrome.ps1* Script +=========================== This PowerShell script launches the Google Chrome Web browser. @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-chrome.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-chrome.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-clock.md b/docs/open-clock.md index 7cb94781d..3b04763df 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -1,5 +1,5 @@ -Script: *open-clock.ps1* -======================== +The *open-clock.ps1* Script +=========================== This PowerShell script launches the Clock application. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-clock.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-clock.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index 26053acbe..b916eb548 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -1,5 +1,5 @@ -Script: *open-cortana.ps1* -======================== +The *open-cortana.ps1* Script +=========================== This PowerShell script launches the Cortana application. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-cortana.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-cortana.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index d9613690e..448b6c10d 100644 --- a/docs/open-d-drive.md +++ b/docs/open-d-drive.md @@ -1,5 +1,5 @@ -Script: *open-d-drive.ps1* -======================== +The *open-d-drive.ps1* Script +=========================== This PowerShell script launches the File Explorer with the D: drive folder. @@ -47,4 +47,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "D:" ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-d-drive.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-d-drive.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 940d36957..74c5c6664 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -1,5 +1,5 @@ -Script: *open-dashboards.ps1* -======================== +The *open-dashboards.ps1* Script +=========================== This PowerShell script launches the Web browser with 20 tabs of popular dashboard websites. @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-dashboards.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-dashboards.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index 05f6f6f87..ef1511560 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -1,5 +1,5 @@ -Script: *open-deep-l-translator.ps1* -======================== +The *open-deep-l-translator.ps1* Script +=========================== This PowerShell script launches the Web browser with the DeepL Translator website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-deep-l-translator.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-deep-l-translator.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index 3996c945c..1b7852292 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -1,5 +1,5 @@ -Script: *open-default-browser.ps1* -======================== +The *open-default-browser.ps1* Script +=========================== This PowerShell script launches the default Web browser, optional with a given URL. @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-default-browser.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-default-browser.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index 222d6612d..6edd7ec1f 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -1,5 +1,5 @@ -Script: *open-desktop-folder.ps1* -======================== +The *open-desktop-folder.ps1* Script +=========================== This PowerShell script launches the File Explorer with the user's desktop folder. @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-desktop-folder.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-desktop-folder.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index a9980ae31..6c909c87a 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -1,5 +1,5 @@ -Script: *open-documents-folder.ps1* -======================== +The *open-documents-folder.ps1* Script +=========================== This PowerShell script launches the File Explorer with the user's documents folder. @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-documents-folder.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-documents-folder.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index 5a61e3a48..7266c7cde 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -1,5 +1,5 @@ -Script: *open-downloads-folder.ps1* -======================== +The *open-downloads-folder.ps1* Script +=========================== This PowerShell script launches the File Explorer showing the user's downloads folder. @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-downloads-folder.ps1 as of 11/08/2024 12:34:52)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-downloads-folder.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index e061e78d9..bc2266ca7 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -1,5 +1,5 @@ -Script: *open-dropbox-folder.ps1* -======================== +The *open-dropbox-folder.ps1* Script +=========================== This PowerShell script launches the File Explorer with the user's Dropbox folder. @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-dropbox-folder.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-dropbox-folder.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index ea355004f..da82c797e 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -1,5 +1,5 @@ -Script: *open-duck-duck-go.ps1* -======================== +The *open-duck-duck-go.ps1* Script +=========================== This PowerShell script launches the Web browser with the DuckDuckGo website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-duck-duck-go.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-duck-duck-go.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index d31ce880d..f61fba6a1 100644 --- a/docs/open-e-drive.md +++ b/docs/open-e-drive.md @@ -1,5 +1,5 @@ -Script: *open-e-drive.ps1* -======================== +The *open-e-drive.ps1* Script +=========================== This PowerShell script launches the File Explorer with the E: drive folder. @@ -47,4 +47,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "E:" ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-e-drive.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-e-drive.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-edge.md b/docs/open-edge.md index 11eb370c2..6dc0a723d 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -1,5 +1,5 @@ -Script: *open-edge.ps1* -======================== +The *open-edge.ps1* Script +=========================== This PowerShell script launches the Microsoft Edge Web browser. @@ -48,4 +48,4 @@ Start-Process microsoft-edge:// exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-edge.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-edge.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index c360bb002..8a9c15011 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -1,5 +1,5 @@ -Script: *open-egg-timer.ps1* -======================== +The *open-egg-timer.ps1* Script +=========================== This PowerShell script launches the Web browser with the eggtimer website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-egg-timer.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-egg-timer.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index d37dca129..a0f7de071 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -1,5 +1,5 @@ -Script: *open-email-client.ps1* -======================== +The *open-email-client.ps1* Script +=========================== This PowerShell script launches the default email client. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-email-client.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-email-client.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index 997edec4d..84f69bb3c 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -1,5 +1,5 @@ -Script: *open-f-drive.ps1* -======================== +The *open-f-drive.ps1* Script +=========================== This PowerShell script launches the File Explorer with the F: drive folder. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-f-drive.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-f-drive.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index cb4bb25cb..f3b9cc82b 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -1,5 +1,5 @@ -Script: *open-file-explorer.ps1* -======================== +The *open-file-explorer.ps1* Script +=========================== This PowerShell script launches the File Explorer. @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-file-explorer.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-file-explorer.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index 0f429eb13..516f2cdd0 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -1,5 +1,5 @@ -Script: *open-fire-place.ps1* -======================== +The *open-fire-place.ps1* Script +=========================== This PowerShell script launches the Web browser with a fire place website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-fire-place.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-fire-place.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index b80bc69f6..4c02769d8 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -1,5 +1,5 @@ -Script: *open-firefox.ps1* -======================== +The *open-firefox.ps1* Script +=========================== This PowerShell script launches the Mozilla Firefox Web browser. @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-firefox.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-firefox.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index 8aa9b78b1..ea02df4b1 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -1,5 +1,5 @@ -Script: *open-flight-radar.ps1* -======================== +The *open-flight-radar.ps1* Script +=========================== This PowerShell script launches the Web browser with the FlightRadar24 website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-flight-radar.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-flight-radar.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index e0ba2959f..8f0721778 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -1,5 +1,5 @@ -Script: *open-g-drive.ps1* -======================== +The *open-g-drive.ps1* Script +=========================== This PowerShell script launches the File Explorer with the G: drive folder. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-g-drive.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-g-drive.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index d6bbb305b..bd6cb47ac 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -1,5 +1,5 @@ -Script: *open-git-extensions.ps1* -======================== +The *open-git-extensions.ps1* Script +=========================== open-git-extensions.ps1 @@ -48,4 +48,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-git-extensions.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-git-extensions.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index b6bcdc4d0..68ad0d821 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -1,5 +1,5 @@ -Script: *open-google-books.ps1* -======================== +The *open-google-books.ps1* Script +=========================== This PowerShell script launches the Web browser with the Google Books website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-books.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-books.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index e3fad45e7..9650b23dd 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -1,5 +1,5 @@ -Script: *open-google-calendar.ps1* -======================== +The *open-google-calendar.ps1* Script +=========================== This PowerShell script launches the Web browser with the Google Calendar website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-calendar.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-calendar.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index 8f768b90f..df2a022f5 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -1,5 +1,5 @@ -Script: *open-google-contacts.ps1* -======================== +The *open-google-contacts.ps1* Script +=========================== This PowerShell script launches the Web browser with the Google Contacts website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-contacts.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-contacts.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index c841e94a4..6690d15e7 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -1,5 +1,5 @@ -Script: *open-google-docs.ps1* -======================== +The *open-google-docs.ps1* Script +=========================== This PowerShell script launches the Web browser with the Google Docs website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-docs.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-docs.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index a492125fe..6fcd0dbfd 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -1,5 +1,5 @@ -Script: *open-google-earth.ps1* -======================== +The *open-google-earth.ps1* Script +=========================== This PowerShell script launches the Web browser with the Google Earth website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-earth.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-earth.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index 81e41cc0b..40eac31cb 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -1,5 +1,5 @@ -Script: *open-google-mail.ps1* -======================== +The *open-google-mail.ps1* Script +=========================== This PowerShell script launches the Web browser with the Google Mail website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-mail.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-mail.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index ef19ae673..966754a77 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -1,5 +1,5 @@ -Script: *open-google-maps.ps1* -======================== +The *open-google-maps.ps1* Script +=========================== This PowerShell script launches the Web browser with the Google Maps website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-maps.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-maps.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index 665712a08..3f19a43f0 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -1,5 +1,5 @@ -Script: *open-google-news.ps1* -======================== +The *open-google-news.ps1* Script +=========================== This PowerShell script launches the Web browser with the Google News website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-news.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-news.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index f2fc5e31c..bb20738e0 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -1,5 +1,5 @@ -Script: *open-google-photos.ps1* -======================== +The *open-google-photos.ps1* Script +=========================== This PowerShell script launches the Web browser with the Google Photos website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-photos.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-photos.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index 5184e7479..720444188 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -1,5 +1,5 @@ -Script: *open-google-play.ps1* -======================== +The *open-google-play.ps1* Script +=========================== This PowerShell script launches the Web browser with the Google Play website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-play.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-play.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index 5a6566bf8..e349c2a2a 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -1,5 +1,5 @@ -Script: *open-google-search.ps1* -======================== +The *open-google-search.ps1* Script +=========================== This PowerShell script launches the Web browser with the Google Search website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-search.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-search.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index 617a719b8..6d783eaef 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -1,5 +1,5 @@ -Script: *open-google-stadia.ps1* -======================== +The *open-google-stadia.ps1* Script +=========================== This PowerShell script launches the Web browser with the Google Stadia website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-stadia.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-stadia.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index 9d6034879..f576e7e1f 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -1,5 +1,5 @@ -Script: *open-google-translate.ps1* -======================== +The *open-google-translate.ps1* Script +=========================== This PowerShell script launches the Web browser with the Google Translate website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-translate.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-google-translate.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index bcf1349b2..c305faff2 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -1,5 +1,5 @@ -Script: *open-home-folder.ps1* -======================== +The *open-home-folder.ps1* Script +=========================== This script launches the File Explorer with the user's home folder. @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-home-folder.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-home-folder.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 5b2c89bb7..6f4c56879 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -1,5 +1,5 @@ -Script: *open-internet-archive.ps1* -======================== +The *open-internet-archive.ps1* Script +=========================== This script launches the Web browser with the Internet Archive website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-internet-archive.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-internet-archive.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index dc28fcb64..2e3fc0b0b 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -1,5 +1,5 @@ -Script: *open-jitsi-meet.ps1* -======================== +The *open-jitsi-meet.ps1* Script +=========================== This script launches the Web browser with the Jitsi Meet website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-jitsi-meet.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-jitsi-meet.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index e33891205..051ce8e04 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -1,5 +1,5 @@ -Script: *open-m-drive.ps1* -======================== +The *open-m-drive.ps1* Script +=========================== This script launches the File Explorer with the M: drive folder. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-m-drive.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-m-drive.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index 66e07cc62..810faaac2 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -1,5 +1,5 @@ -Script: *open-magnifier.ps1* -======================== +The *open-magnifier.ps1* Script +=========================== This script launches the Windows Screen Magnifier application. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-magnifier.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-magnifier.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index ef8788920..48b6a3ef7 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -1,5 +1,5 @@ -Script: *open-microsoft-paint.ps1* -======================== +The *open-microsoft-paint.ps1* Script +=========================== This script launches the Microsoft Paint application. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-paint.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-paint.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index 43731defa..03ebf9cba 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -1,5 +1,5 @@ -Script: *open-microsoft-solitaire.ps1* -======================== +The *open-microsoft-solitaire.ps1* Script +=========================== This script launches the Microsoft Solitaire application. @@ -48,4 +48,4 @@ Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-solitaire.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-solitaire.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index 41c8016da..60d6b9ba4 100644 --- a/docs/open-microsoft-store.md +++ b/docs/open-microsoft-store.md @@ -1,5 +1,5 @@ -Script: *open-microsoft-store.ps1* -======================== +The *open-microsoft-store.ps1* Script +=========================== This script launches the Microsoft Store application. @@ -48,4 +48,4 @@ Start-Process ms-windows-store: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-store.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-store.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index dfe977a06..269479726 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -1,5 +1,5 @@ -Script: *open-microsoft-teams.ps1* -======================== +The *open-microsoft-teams.ps1* Script +=========================== This script launches the Microsoft Teams application. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-teams.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-teams.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index e348872b9..3517935cb 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -1,5 +1,5 @@ -Script: *open-music-folder.ps1* -======================== +The *open-music-folder.ps1* Script +=========================== This script launches the File Explorer with the user's music folder. @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-music-folder.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-music-folder.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index d0ffddc91..8588bf168 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -1,5 +1,5 @@ -Script: *open-netflix.ps1* -======================== +The *open-netflix.ps1* Script +=========================== This script launches the Netflix application. @@ -48,4 +48,4 @@ Start-Process netflix: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-netflix.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-netflix.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index 70cb920ac..8b157dbde 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -1,5 +1,5 @@ -Script: *open-notepad.ps1* -======================== +The *open-notepad.ps1* Script +=========================== This PowerShell script launches the Notepad application. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-notepad.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-notepad.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index 035784a91..d068a9e1a 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -1,5 +1,5 @@ -Script: *open-obs-studio.ps1* -======================== +The *open-obs-studio.ps1* Script +=========================== open-obs-studio.ps1 @@ -47,4 +47,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-obs-studio.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-obs-studio.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index e16e55d61..98dc9fc86 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -1,5 +1,5 @@ -Script: *open-office-365.ps1* -======================== +The *open-office-365.ps1* Script +=========================== This script launches the Web browser with the Microsoft Office 365 website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-office-365.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-office-365.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index 3f7d5d4cc..cc7712542 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -1,5 +1,5 @@ -Script: *open-one-drive-folder.ps1* -======================== +The *open-one-drive-folder.ps1* Script +=========================== This script launches the File Explorer with the user's OneDrive folder. @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-one-drive-folder.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-one-drive-folder.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index 5a787ac6c..a58f723a2 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -1,5 +1,5 @@ -Script: *open-outlook.ps1* -======================== +The *open-outlook.ps1* Script +=========================== open-outlook.ps1 @@ -47,4 +47,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-outlook.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-outlook.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index 35dfdc9ca..9e2cd6cae 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -1,5 +1,5 @@ -Script: *open-paint-three-d.ps1* -======================== +The *open-paint-three-d.ps1* Script +=========================== This script launches the Paint 3D application. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-paint-three-d.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-paint-three-d.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index 7168b9cad..8f38528a4 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -1,5 +1,5 @@ -Script: *open-pictures-folder.ps1* -======================== +The *open-pictures-folder.ps1* Script +=========================== This script launches the File Explorer with the user's pictures folder. @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-pictures-folder.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-pictures-folder.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index 225adff28..a9ee7635d 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -1,5 +1,5 @@ -Script: *open-rdp.ps1* -======================== +The *open-rdp.ps1* Script +=========================== This script launches the Remote Desktop Protocol (RDP) application. NOTE: Documentation of mstsc at: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/mstsc @@ -64,4 +64,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-rdp.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-rdp.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index ff41126fd..64fb13aa4 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -1,5 +1,5 @@ -Script: *open-recycle-bin-folder.ps1* -======================== +The *open-recycle-bin-folder.ps1* Script +=========================== This script launches the File Explorer with the user's recycle bin folder. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-recycle-bin-folder.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-recycle-bin-folder.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index 1c7518e5f..ed9e769d0 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -1,5 +1,5 @@ -Script: *open-remote-desktop.ps1* -======================== +The *open-remote-desktop.ps1* Script +=========================== This script launches the Remote Desktop application. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-remote-desktop.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-remote-desktop.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 91a91cef5..7caac2f62 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -1,5 +1,5 @@ -Script: *open-repos-folder.ps1* -======================== +The *open-repos-folder.ps1* Script +=========================== This script launches the File Explorer with the user's Git repositories folder. @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-repos-folder.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-repos-folder.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index 736470bc0..b636bca42 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -1,5 +1,5 @@ -Script: *open-screen-clip.ps1* -======================== +The *open-screen-clip.ps1* Script +=========================== This script launches the Screen Clip application. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-screen-clip.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-screen-clip.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index 37b1683d5..de2eb32e2 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -1,5 +1,5 @@ -Script: *open-screen-sketch.ps1* -======================== +The *open-screen-sketch.ps1* Script +=========================== This script launches the Screen Sketch application. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-screen-sketch.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-screen-sketch.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-skype.md b/docs/open-skype.md index 0291a46a1..d4ee7364a 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -1,5 +1,5 @@ -Script: *open-skype.ps1* -======================== +The *open-skype.ps1* Script +=========================== This script launches the Skype application. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-skype.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-skype.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index de745537d..76646f5a0 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -1,5 +1,5 @@ -Script: *open-snipping-tool.ps1* -======================== +The *open-snipping-tool.ps1* Script +=========================== This script launches the Snipping Tool application. @@ -48,4 +48,4 @@ Start-Process SnippingTool.exe exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-snipping-tool.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-snipping-tool.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index 0bd5c9afe..81f8e9e46 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -1,5 +1,5 @@ -Script: *open-speed-test.ps1* -======================== +The *open-speed-test.ps1* Script +=========================== This script launches the Web browser with Cloudflare's speed test website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-speed-test.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-speed-test.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index 395e1d279..89dd3bea4 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -1,5 +1,5 @@ -Script: *open-spotify.ps1* -======================== +The *open-spotify.ps1* Script +=========================== This script launches the Spotify application. @@ -48,4 +48,4 @@ Start-Process spotify: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-spotify.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-spotify.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index 27c4660fc..8c1ad914a 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -1,5 +1,5 @@ -Script: *open-stack-overflow.ps1* -======================== +The *open-stack-overflow.ps1* Script +=========================== This script launches the Web browser with the Stack Overflow website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-stack-overflow.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-stack-overflow.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 00e7f56e6..3c42464ca 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -1,5 +1,5 @@ -Script: *open-start-page.ps1* -======================== +The *open-start-page.ps1* Script +=========================== This script launches the Web browser with the Startpage website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-start-page.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-start-page.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index 832d1d1bb..5ffc029d4 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -1,5 +1,5 @@ -Script: *open-street-map.ps1* -======================== +The *open-street-map.ps1* Script +=========================== This script launches the Web browser with the OpenStreetMap website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-street-map.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-street-map.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index 3a7faf455..00b3a8502 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -1,5 +1,5 @@ -Script: *open-task-manager.ps1* -======================== +The *open-task-manager.ps1* Script +=========================== This script launches the Windows Task Manager application. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-task-manager.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-task-manager.ps1 as of 11/08/2024 12:37:54)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index 0da3f9cda..b3434a714 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -1,5 +1,5 @@ -Script: *open-temporary-folder.ps1* -======================== +The *open-temporary-folder.ps1* Script +=========================== open-temporary-folder.ps1 @@ -50,4 +50,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-temporary-folder.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-temporary-folder.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index 922db8c7a..f89ebf891 100644 --- a/docs/open-three-d-viewer.md +++ b/docs/open-three-d-viewer.md @@ -1,5 +1,5 @@ -Script: *open-three-d-viewer.ps1* -======================== +The *open-three-d-viewer.ps1* Script +=========================== This script launches the 3D-Viewer application. @@ -48,4 +48,4 @@ Start-Process com.microsoft.3dviewer: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-three-d-viewer.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-three-d-viewer.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index 82dcb71bb..85e09d285 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -1,5 +1,5 @@ -Script: *open-thunderbird.ps1* -======================== +The *open-thunderbird.ps1* Script +=========================== open-thunderbird.ps1 @@ -45,4 +45,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-thunderbird.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-thunderbird.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index 2ad022be7..60b101cff 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -1,5 +1,5 @@ -Script: *open-videos-folders.ps1* -======================== +The *open-videos-folders.ps1* Script +=========================== This script launches the File Explorer with the user's videos folder. @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-videos-folders.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-videos-folders.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index 2a3a527ed..246d55d4b 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -1,5 +1,5 @@ -Script: *open-visual-studio.ps1* -======================== +The *open-visual-studio.ps1* Script +=========================== open-visual-studio.ps1 @@ -47,4 +47,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-visual-studio.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-visual-studio.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index 9b08af5f1..b62da015f 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -1,5 +1,5 @@ -Script: *open-voice-recorder.ps1* -======================== +The *open-voice-recorder.ps1* Script +=========================== This PowerShell script launches the Windows Voice Recorder application. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-voice-recorder.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-voice-recorder.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index e9f9b0141..57553569c 100644 --- a/docs/open-vpn-settings.md +++ b/docs/open-vpn-settings.md @@ -1,5 +1,5 @@ -Script: *open-vpn-settings.ps1* -======================== +The *open-vpn-settings.ps1* Script +=========================== This PowerShell script launches the VPN settings of Windows. @@ -48,4 +48,4 @@ Start-Process ms-settings:network-vpn exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-vpn-settings.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-vpn-settings.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index 97345931e..519d1741b 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -1,5 +1,5 @@ -Script: *open-windows-defender.ps1* -======================== +The *open-windows-defender.ps1* Script +=========================== This script launches the Windows Defender application. @@ -48,4 +48,4 @@ Start-Process windowsdefender: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-windows-defender.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-windows-defender.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index 4363dfda3..1d075e6f2 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -1,5 +1,5 @@ -Script: *open-windows-terminal.ps1* -======================== +The *open-windows-terminal.ps1* Script +=========================== This script launches the Windows Terminal application. @@ -48,4 +48,4 @@ Start-Process wt.exe exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-windows-terminal.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-windows-terminal.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/open-xing.md b/docs/open-xing.md index df7cc08fe..5c2b356c1 100644 --- a/docs/open-xing.md +++ b/docs/open-xing.md @@ -1,5 +1,5 @@ -Script: *open-xing.ps1* -======================== +The *open-xing.ps1* Script +=========================== This script launches the XING application. @@ -48,4 +48,4 @@ Start-Process xing: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-xing.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of open-xing.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index 0e86da227..709ea6bdc 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -1,5 +1,5 @@ -Script: *pick-commit.ps1* -======================== +The *pick-commit.ps1* Script +=========================== Cherry-picks a Git commit into one or more branches (branch names need to be separated by spaces) NOTE: in case of merge conflicts the script stops immediately! @@ -151,4 +151,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of pick-commit.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of pick-commit.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/ping-host.md b/docs/ping-host.md index 6059e4c9f..654cfb0f1 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -1,5 +1,5 @@ -Script: *ping-host.ps1* -======================== +The *ping-host.ps1* Script +=========================== This PowerShell script pings the given host. @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of ping-host.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of ping-host.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index 1f3ca002b..e385f92b6 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -1,5 +1,5 @@ -Script: *ping-internet.ps1* -======================== +The *ping-internet.ps1* Script +=========================== This PowerShell script measures the ping roundtrip times from the local computer to remote ones (10 Internet servers by default). @@ -96,4 +96,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of ping-internet.ps1 as of 11/08/2024 12:34:53)* +*(generated by convert-ps2md.ps1 using the comment-based help of ping-internet.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index 51d709d49..25f23b84f 100644 --- a/docs/ping-local-devices.md +++ b/docs/ping-local-devices.md @@ -1,5 +1,5 @@ -Script: *ping-local-devices.ps1* -======================== +The *ping-local-devices.ps1* Script +=========================== This PowerShell script pings devices in the local network and lists which one are up. @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of ping-local-devices.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of ping-local-devices.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index 1254fa548..3a8de8bc6 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -1,5 +1,5 @@ -Script: *ping-weather.ps1* -======================== +The *ping-weather.ps1* Script +=========================== This PowerShell script continuously shows the current weather conditions (similar to htop, 10 min update interval by default). @@ -99,4 +99,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of ping-weather.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of ping-weather.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index 044707c89..c204bb528 100644 --- a/docs/play-bee-sound.md +++ b/docs/play-bee-sound.md @@ -1,5 +1,5 @@ -Script: *play-bee-sound.ps1* -======================== +The *play-bee-sound.ps1* Script +=========================== This PowerShell script plays a bee sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-bee-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-bee-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index 36f1dae84..09e64dad8 100644 --- a/docs/play-beep-sound.md +++ b/docs/play-beep-sound.md @@ -1,5 +1,5 @@ -Script: *play-beep-sound.ps1* -======================== +The *play-beep-sound.ps1* Script +=========================== This PowerShell script plays a short beep sound at 500Hz for 300ms. @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-beep-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-beep-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index dfe2060ed..96dfa91fe 100644 --- a/docs/play-big-ben.md +++ b/docs/play-big-ben.md @@ -1,5 +1,5 @@ -Script: *play-big-ben.ps1* -======================== +The *play-big-ben.ps1* Script +=========================== This PowerShell script plays the sound of Big Ben. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-big-ben.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-big-ben.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index 36c51bbb7..c35485629 100644 --- a/docs/play-cat-sound.md +++ b/docs/play-cat-sound.md @@ -1,5 +1,5 @@ -Script: *play-cat-sound.ps1* -======================== +The *play-cat-sound.ps1* Script +=========================== This PowerShell script plays a cat sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-cat-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-cat-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-chess.md b/docs/play-chess.md index 4b4b241fc..65f799af4 100644 --- a/docs/play-chess.md +++ b/docs/play-chess.md @@ -1,5 +1,5 @@ -Script: *play-chess.ps1* -======================== +The *play-chess.ps1* Script +=========================== Started off of code from https://github.com/bhassen99/POSH-Chess, which was very much incomplete. I kept the board shape, but have changed everything else. @@ -1260,4 +1260,4 @@ while ($Script:gameStatus -eq [gamestatus]::ongoing) { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-chess.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-chess.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index 9156bb8b4..bd5d69be0 100644 --- a/docs/play-cow-sound.md +++ b/docs/play-cow-sound.md @@ -1,5 +1,5 @@ -Script: *play-cow-sound.ps1* -======================== +The *play-cow-sound.ps1* Script +=========================== This PowerShell script plays a cow sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-cow-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-cow-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index d6e6423d6..5ee42de10 100644 --- a/docs/play-dog-sound.md +++ b/docs/play-dog-sound.md @@ -1,5 +1,5 @@ -Script: *play-dog-sound.ps1* -======================== +The *play-dog-sound.ps1* Script +=========================== This PowerShell script plays a dog sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-dog-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-dog-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index 773d5a50c..fa0f77ae0 100644 --- a/docs/play-donkey-sound.md +++ b/docs/play-donkey-sound.md @@ -1,5 +1,5 @@ -Script: *play-donkey-sound.ps1* -======================== +The *play-donkey-sound.ps1* Script +=========================== This PowerShell script plays a donkey sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-donkey-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-donkey-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index ccf0ee22f..9e6157752 100644 --- a/docs/play-elephant-sound.md +++ b/docs/play-elephant-sound.md @@ -1,5 +1,5 @@ -Script: *play-elephant-sound.ps1* -======================== +The *play-elephant-sound.ps1* Script +=========================== This PowerShell script plays an elephant sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-elephant-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-elephant-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index 75bf63630..a7ee108fd 100644 --- a/docs/play-elk-sound.md +++ b/docs/play-elk-sound.md @@ -1,5 +1,5 @@ -Script: *play-elk-sound.ps1* -======================== +The *play-elk-sound.ps1* Script +=========================== This PowerShell script plays an elk sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-elk-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-elk-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-files.md b/docs/play-files.md index 15a9cd968..3f62ce91e 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -1,5 +1,5 @@ -Script: *play-files.ps1* -======================== +The *play-files.ps1* Script +=========================== This PowerShell script plays the given audio files (supporting MP3 and WAV format). @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-files.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-files.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index 1d088f8a7..71170730f 100644 --- a/docs/play-frog-sound.md +++ b/docs/play-frog-sound.md @@ -1,5 +1,5 @@ -Script: *play-frog-sound.ps1* -======================== +The *play-frog-sound.ps1* Script +=========================== This PowerShell script plays a frog sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-frog-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-frog-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index a40f1ff4a..ff6f4e885 100644 --- a/docs/play-goat-sound.md +++ b/docs/play-goat-sound.md @@ -1,5 +1,5 @@ -Script: *play-goat-sound.ps1* -======================== +The *play-goat-sound.ps1* Script +=========================== This PowerShell script plays a goat sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-goat-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-goat-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index 62d895b62..7d00c4e95 100644 --- a/docs/play-gorilla-sound.md +++ b/docs/play-gorilla-sound.md @@ -1,5 +1,5 @@ -Script: *play-gorilla-sound.ps1* -======================== +The *play-gorilla-sound.ps1* Script +=========================== This PowerShell script plays a gorilla sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-gorilla-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-gorilla-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index f19be4695..53c2cb070 100644 --- a/docs/play-happy-birthday.md +++ b/docs/play-happy-birthday.md @@ -1,5 +1,5 @@ -Script: *play-happy-birthday.ps1* -======================== +The *play-happy-birthday.ps1* Script +=========================== This PowerShell script plays the famous Happy Birthday song. @@ -79,4 +79,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-happy-birthday.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-happy-birthday.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 077360e98..5e9c0c240 100644 --- a/docs/play-horse-sound.md +++ b/docs/play-horse-sound.md @@ -1,5 +1,5 @@ -Script: *play-horse-sound.ps1* -======================== +The *play-horse-sound.ps1* Script +=========================== This PowerShell script plays a horse sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-horse-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-horse-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index 1543db40d..eab364f86 100644 --- a/docs/play-imperial-march.md +++ b/docs/play-imperial-march.md @@ -1,5 +1,5 @@ -Script: *play-imperial-march.ps1* -======================== +The *play-imperial-march.ps1* Script +=========================== This PowerShell script plays the Imperial March used in the Star Wars film series. @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-imperial-march.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-imperial-march.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index f0220dcc1..0ba96ab4d 100644 --- a/docs/play-jingle-bells.md +++ b/docs/play-jingle-bells.md @@ -1,5 +1,5 @@ -Script: *play-jingle-bells.ps1* -======================== +The *play-jingle-bells.ps1* Script +=========================== This PowerShell script plays the famous Jingle Bells song. @@ -201,4 +201,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-jingle-bells.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-jingle-bells.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index dc0a4fee4..35c745bce 100644 --- a/docs/play-lion-sound.md +++ b/docs/play-lion-sound.md @@ -1,5 +1,5 @@ -Script: *play-lion-sound.ps1* -======================== +The *play-lion-sound.ps1* Script +=========================== This PowerShell script plays a lion sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-lion-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-lion-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index 5cfb4f865..0e3b309bd 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -1,5 +1,5 @@ -Script: *play-m3u.ps1* -======================== +The *play-m3u.ps1* Script +=========================== This PowerShell script plays the given playlist (in .M3U file format) @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-m3u.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-m3u.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index ede80e1d4..42d62c663 100644 --- a/docs/play-mission-impossible.md +++ b/docs/play-mission-impossible.md @@ -1,5 +1,5 @@ -Script: *play-mission-impossible.ps1* -======================== +The *play-mission-impossible.ps1* Script +=========================== This PowerShell script plays the Mission Impossible theme. @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-mission-impossible.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-mission-impossible.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index b111e6853..c780c0410 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -1,5 +1,5 @@ -Script: *play-mp3.ps1* -======================== +The *play-mp3.ps1* Script +=========================== This PowerShell script plays the given sound file (MPEG-1 audio layer-3 file format). @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-mp3.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-mp3.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index 8d0f0e7c6..66b0f0c04 100644 --- a/docs/play-parrot-sound.md +++ b/docs/play-parrot-sound.md @@ -1,5 +1,5 @@ -Script: *play-parrot-sound.ps1* -======================== +The *play-parrot-sound.ps1* Script +=========================== This PowerShell script plays a parrot sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-parrot-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-parrot-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index 2bf3ebf3e..cca13603a 100644 --- a/docs/play-pig-sound.md +++ b/docs/play-pig-sound.md @@ -1,5 +1,5 @@ -Script: *play-pig-sound.ps1* -======================== +The *play-pig-sound.ps1* Script +=========================== This PowerShell script plays a pig sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-pig-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-pig-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-pong.md b/docs/play-pong.md index 5fd160b5b..b2a017875 100644 --- a/docs/play-pong.md +++ b/docs/play-pong.md @@ -1,5 +1,5 @@ -Script: *play-pong.ps1* -======================== +The *play-pong.ps1* Script +=========================== play-pong.ps1 @@ -176,4 +176,4 @@ while ($true) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-pong.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-pong.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index f9710f356..57cd7e01f 100644 --- a/docs/play-rattlesnake-sound.md +++ b/docs/play-rattlesnake-sound.md @@ -1,5 +1,5 @@ -Script: *play-rattlesnake-sound.ps1* -======================== +The *play-rattlesnake-sound.ps1* Script +=========================== This PowerShell script plays a rattlesnake sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-rattlesnake-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-rattlesnake-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 1058c8799..389e1c1e8 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -1,5 +1,5 @@ -Script: *play-rick.ps1* -======================== +The *play-rick.ps1* Script +=========================== This PowerShell script launches the Web browser with YouTube playing Rick Astley. @@ -49,4 +49,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-rick.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-rick.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-snake.md b/docs/play-snake.md index 786df1b6a..b20d1bfb1 100644 --- a/docs/play-snake.md +++ b/docs/play-snake.md @@ -1,5 +1,5 @@ -Script: *play-snake.ps1* -======================== +The *play-snake.ps1* Script +=========================== This PowerShell script lets you play the famous Snake game. NOTE: use the arrow keys to control the snake @@ -86,4 +86,4 @@ Start-Sleep -milliseconds 300 exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-snake.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-snake.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index 0ef5d1e99..98dfc5a00 100644 --- a/docs/play-super-mario.md +++ b/docs/play-super-mario.md @@ -1,5 +1,5 @@ -Script: *play-super-mario.ps1* -======================== +The *play-super-mario.ps1* Script +=========================== This PowerShell script plays the Super Mario intro. @@ -71,4 +71,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-super-mario.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-super-mario.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index 5e4cf2257..943b57241 100644 --- a/docs/play-system-sounds.md +++ b/docs/play-system-sounds.md @@ -1,5 +1,5 @@ -Script: *play-system-sounds.ps1* -======================== +The *play-system-sounds.ps1* Script +=========================== play-system-sounds.ps1 @@ -55,4 +55,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-system-sounds.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-system-sounds.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index 5b8e1009b..53c1d5e9f 100644 --- a/docs/play-tetris-melody.md +++ b/docs/play-tetris-melody.md @@ -1,5 +1,5 @@ -Script: *play-tetris-melody.ps1* -======================== +The *play-tetris-melody.ps1* Script +=========================== This PowerShell script plays the Tetris melody. @@ -161,4 +161,4 @@ Start-Sleep -milliseconds 500 exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-tetris-melody.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-tetris-melody.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index 07afede22..e50432de2 100644 --- a/docs/play-vulture-sound.md +++ b/docs/play-vulture-sound.md @@ -1,5 +1,5 @@ -Script: *play-vulture-sound.ps1* -======================== +The *play-vulture-sound.ps1* Script +=========================== This PowerShell script plays a vulture sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-vulture-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-vulture-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index e2f879366..4fa51dbdb 100644 --- a/docs/play-wolf-sound.md +++ b/docs/play-wolf-sound.md @@ -1,5 +1,5 @@ -Script: *play-wolf-sound.ps1* -======================== +The *play-wolf-sound.ps1* Script +=========================== This PowerShell script plays a wolf sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-wolf-sound.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of play-wolf-sound.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/poweroff.md b/docs/poweroff.md index ff80d1a46..3b65c5cc2 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -1,5 +1,5 @@ -Script: *poweroff.ps1* -======================== +The *poweroff.ps1* Script +=========================== This script halts the local computer immediately (needs admin rights). @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of poweroff.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of poweroff.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/print-image.md b/docs/print-image.md index cb782f199..728f6c18e 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -1,5 +1,5 @@ -Script: *print-image.ps1* -======================== +The *print-image.ps1* Script +=========================== This PowerShell script shows the printer dialogue to print the given image file. @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of print-image.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of print-image.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index 923b027cb..1b18ae898 100644 --- a/docs/publish-to-ipfs.md +++ b/docs/publish-to-ipfs.md @@ -1,5 +1,5 @@ -Script: *publish-to-ipfs.ps1* -======================== +The *publish-to-ipfs.ps1* Script +=========================== This script publishes the given files and folders to IPFS. @@ -119,4 +119,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of publish-to-ipfs.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of publish-to-ipfs.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index a9a86a59b..3e906b760 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -1,5 +1,5 @@ -Script: *pull-repo.ps1* -======================== +The *pull-repo.ps1* Script +=========================== This PowerShell script pulls remote updates into a local Git repository (including submodules). @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of pull-repo.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of pull-repo.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index 648dc6a10..8394ac15c 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -1,5 +1,5 @@ -Script: *pull-repos.ps1* -======================== +The *pull-repos.ps1* Script +=========================== This PowerShell script pulls updates into all Git repositories in a folder (including submodules). @@ -106,4 +106,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of pull-repos.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of pull-repos.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index dfd64d217..baa788541 100644 --- a/docs/query-smart-data.md +++ b/docs/query-smart-data.md @@ -1,5 +1,5 @@ -Script: *query-smart-data.ps1* -======================== +The *query-smart-data.ps1* Script +=========================== Queries the S.M.A.R.T. data of your HDD/SSD's and saves it to the current/given directory. (use smart-data2csv.ps1 to generate a CSV table for analysis). @@ -106,4 +106,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of query-smart-data.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of query-smart-data.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index ecfb36487..c70d6854a 100644 --- a/docs/reboot-fritzbox.md +++ b/docs/reboot-fritzbox.md @@ -1,5 +1,5 @@ -Script: *reboot-fritzbox.ps1* -======================== +The *reboot-fritzbox.ps1* Script +=========================== This PowerShell script reboots the FRITZ!Box device @@ -152,4 +152,4 @@ echo $Result exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of reboot-fritzbox.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of reboot-fritzbox.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/reboot.md b/docs/reboot.md index 8c131e755..300c5d0d7 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -1,5 +1,5 @@ -Script: *reboot.ps1* -======================== +The *reboot.ps1* Script +=========================== This PowerShell script reboots the local computer immediately (needs admin rights). @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of reboot.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of reboot.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/remember.md b/docs/remember.md index ac32e6d8c..d6f47c399 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -1,5 +1,5 @@ -Script: *remember.ps1* -======================== +The *remember.ps1* Script +=========================== This PowerShell script saves the given text to 'Remember.csv' in your home folder. @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remember.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of remember.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/remind-me.md b/docs/remind-me.md index 07f5d2b8a..5d3625184 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -1,5 +1,5 @@ -Script: *remind-me.ps1* -======================== +The *remind-me.ps1* Script +=========================== This PowerShell script creates a scheduled task that will display a popup message. @@ -88,4 +88,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remind-me.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of remind-me.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/remove-dir-tree.md b/docs/remove-dir-tree.md index 9e2019917..165c9c870 100644 --- a/docs/remove-dir-tree.md +++ b/docs/remove-dir-tree.md @@ -1,5 +1,5 @@ -Script: *remove-dir-tree.ps1* -======================== +The *remove-dir-tree.ps1* Script +=========================== This PowerShell script silently removes a directory tree recursively. Use it with care! @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-dir-tree.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of remove-dir-tree.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index 3fe8b44c3..32bd2d4b9 100644 --- a/docs/remove-empty-dirs.md +++ b/docs/remove-empty-dirs.md @@ -1,5 +1,5 @@ -Script: *remove-empty-dirs.ps1* -======================== +The *remove-empty-dirs.ps1* Script +=========================== This PowerShell script removes all empty subfolders within a directory tree. @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-empty-dirs.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of remove-empty-dirs.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index 71d7a1d68..26b0573ff 100644 --- a/docs/remove-old-dirs.md +++ b/docs/remove-old-dirs.md @@ -1,5 +1,5 @@ -Script: *remove-old-dirs.ps1* -======================== +The *remove-old-dirs.ps1* Script +=========================== This PowerShell script removes any subfolder in a parent folder older than (using last write time). @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-old-dirs.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of remove-old-dirs.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 1c0bfa0e4..836875b92 100644 --- a/docs/remove-print-jobs.md +++ b/docs/remove-print-jobs.md @@ -1,5 +1,5 @@ -Script: *remove-print-jobs.ps1* -======================== +The *remove-print-jobs.ps1* Script +=========================== This PowerShell script removes all print jobs from all printer devices. @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-print-jobs.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of remove-print-jobs.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index a51e5f1f4..a67bff332 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -1,5 +1,5 @@ -Script: *remove-tag.ps1* -======================== +The *remove-tag.ps1* Script +=========================== This PowerShell script removes a Git tag, either locally, remote, or both. @@ -111,4 +111,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-tag.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of remove-tag.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/remove-user.md b/docs/remove-user.md index fea1370b0..ceae43594 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -1,5 +1,5 @@ -Script: *remove-user.ps1* -======================== +The *remove-user.ps1* Script +=========================== This PowerShell script removes an existing user account including the home directory. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-user.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of remove-user.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index 82a58570b..7c95fbb18 100644 --- a/docs/remove-vm.md +++ b/docs/remove-vm.md @@ -1,5 +1,5 @@ -Script: *remove-vm.ps1* -======================== +The *remove-vm.ps1* Script +=========================== remove-vm.ps1 @@ -25,4 +25,4 @@ Remove-Item -Path "C:\VirtualMachines\$VMName" -Recurse exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-vm.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of remove-vm.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index 296b1e308..8a88e8f77 100644 --- a/docs/replace-in-files.md +++ b/docs/replace-in-files.md @@ -1,5 +1,5 @@ -Script: *replace-in-files.ps1* -======================== +The *replace-in-files.ps1* Script +=========================== This PowerShell script searches and replaces a pattern in the given files by the replacement. @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of replace-in-files.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of replace-in-files.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index 25e468b79..189dcbd37 100644 --- a/docs/restart-network-adapters.md +++ b/docs/restart-network-adapters.md @@ -1,5 +1,5 @@ -Script: *restart-network-adapters.ps1* -======================== +The *restart-network-adapters.ps1* Script +=========================== This PowerShell script restarts all local network adapters (needs admin rights). @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of restart-network-adapters.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of restart-network-adapters.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index f5e5ef906..4d28d5513 100644 --- a/docs/roll-a-dice.md +++ b/docs/roll-a-dice.md @@ -1,5 +1,5 @@ -Script: *roll-a-dice.ps1* -======================== +The *roll-a-dice.ps1* Script +=========================== This PowerShell script rolls a dice and returns the number by text-to-speech (TTS). @@ -51,4 +51,4 @@ $Number = "1", "2", "3", "4", "5", "6" | Get-Random exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of roll-a-dice.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of roll-a-dice.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index 0c1941e3f..f9359e4d8 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -1,5 +1,5 @@ -Script: *save-credentials.ps1* -======================== +The *save-credentials.ps1* Script +=========================== This PowerShell script asks for credentials and saves them encrypted into a target file. @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of save-credentials.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of save-credentials.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 0671ef991..4a277baa4 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -1,5 +1,5 @@ -Script: *save-screenshot.ps1* -======================== +The *save-screenshot.ps1* Script +=========================== This PowerShell script takes a single screenshot and saves it into a target folder (default is the user's screenshots folder). @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of save-screenshot.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of save-screenshot.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index e0c975eed..8ccf35314 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -1,5 +1,5 @@ -Script: *scan-folder.ps1* -======================== +The *scan-folder.ps1* Script +=========================== This PowerShell script scans a directory tree for malware. Requires the installation of ESET or Windows Defender. @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of scan-folder.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of scan-folder.ps1 as of 11/08/2024 12:37:55)* diff --git a/docs/scan-network.md b/docs/scan-network.md index 6be765355..5a035a611 100644 --- a/docs/scan-network.md +++ b/docs/scan-network.md @@ -1,5 +1,5 @@ -Script: *scan-network.ps1* -======================== +The *scan-network.ps1* Script +=========================== scan-network.ps1 @@ -32,4 +32,4 @@ $arguments = $arguments + " " + $targets Start-Process $location -ArgumentList $arguments -Wait ``` -*(generated by convert-ps2md.ps1 using the comment-based help of scan-network.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of scan-network.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index d073d5053..f17199f70 100644 --- a/docs/scan-ports.md +++ b/docs/scan-ports.md @@ -1,5 +1,5 @@ -Script: *scan-ports.ps1* -======================== +The *scan-ports.ps1* Script +=========================== This PowerShell script scans the network for open or closed ports. @@ -65,4 +65,4 @@ foreach($add in $range) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of scan-ports.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of scan-ports.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/search-filename.md b/docs/search-filename.md index f6d649d06..766043e62 100644 --- a/docs/search-filename.md +++ b/docs/search-filename.md @@ -1,5 +1,5 @@ -Script: *search-filename.ps1* -======================== +The *search-filename.ps1* Script +=========================== This PowerShell script serves as a quick Powershell replacement to the search functionality in Windows After you pass in a root folder and a search term, the script will list all files and folders matching that phrase. @@ -96,4 +96,4 @@ Search-Folder -FilePath $path -SearchTerm $term exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of search-filename.ps1 as of 11/08/2024 12:34:54)* +*(generated by convert-ps2md.ps1 using the comment-based help of search-filename.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/search-files.md b/docs/search-files.md index 834612428..bf9a762c6 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -1,5 +1,5 @@ -Script: *search-files.ps1* -======================== +The *search-files.ps1* Script +=========================== This PowerShell script searches for the given text pattern in the given files. @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of search-files.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of search-files.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/search-repo.md b/docs/search-repo.md index 5faee150b..2718852e6 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -1,5 +1,5 @@ -Script: *search-repo.ps1* -======================== +The *search-repo.ps1* Script +=========================== This PowerShell script searches for the given text pattern in a Git repository. @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of search-repo.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of search-repo.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/send-email.md b/docs/send-email.md index 223b78134..4f3fb3704 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -1,5 +1,5 @@ -Script: *send-email.ps1* -======================== +The *send-email.ps1* Script +=========================== This PowerShell script sends an email message. @@ -121,4 +121,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of send-email.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of send-email.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index da3cbd798..1e804f107 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -1,5 +1,5 @@ -Script: *send-tcp.ps1* -======================== +The *send-tcp.ps1* Script +=========================== This PowerShell script sends a TCP message to the given IP address and port. @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of send-tcp.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of send-tcp.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/send-udp.md b/docs/send-udp.md index d45cd968e..8ce170747 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -1,5 +1,5 @@ -Script: *send-udp.ps1* -======================== +The *send-udp.ps1* Script +=========================== This PowerShell script sends a UDP datagram message to an IP address and port. @@ -102,4 +102,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of send-udp.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of send-udp.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/set-timer.md b/docs/set-timer.md index 5d9bce0f9..78f139952 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -1,5 +1,5 @@ -Script: *set-timer.ps1* -======================== +The *set-timer.ps1* Script +=========================== This PowerShell script sets a timer for a countdown. @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of set-timer.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of set-timer.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/set-volume.md b/docs/set-volume.md index 067f3e777..881c21123 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -1,5 +1,5 @@ -Script: *set-volume.ps1* -======================== +The *set-volume.ps1* Script +=========================== This PowerShell script sets the audio volume to the given value in percent (0..100). @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of set-volume.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of set-volume.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index b0747d515..b4232cccb 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -1,5 +1,5 @@ -Script: *set-wallpaper.ps1* -======================== +The *set-wallpaper.ps1* Script +=========================== This PowerShell script sets the given image file as desktop wallpaper (.JPG or .PNG supported) @@ -122,4 +122,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of set-wallpaper.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of set-wallpaper.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index 6b5281880..14cb7520a 100644 --- a/docs/show-lightnings.md +++ b/docs/show-lightnings.md @@ -1,5 +1,5 @@ -Script: *show-lightnings.ps1* -======================== +The *show-lightnings.ps1* Script +=========================== This PowerShell script launches the Web browser and shows lightnings in OpenStreetMap. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of show-lightnings.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of show-lightnings.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index 527b56e53..06e113368 100644 --- a/docs/show-notification-motivation-quote.md +++ b/docs/show-notification-motivation-quote.md @@ -1,5 +1,5 @@ -Script: *show-notification-motivation-quote.ps1* -======================== +The *show-notification-motivation-quote.ps1* Script +=========================== show-notification-motivation-quote.ps1 @@ -69,4 +69,4 @@ $AppId = '{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\WindowsPowerShell\v1.0\powershe ``` -*(generated by convert-ps2md.ps1 using the comment-based help of show-notification-motivation-quote.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of show-notification-motivation-quote.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/show-notification.md b/docs/show-notification.md index da91e6aba..84bc48da0 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -1,5 +1,5 @@ -Script: *show-notification.ps1* -======================== +The *show-notification.ps1* Script +=========================== This PowerShell script shows a toast-message notification for the Windows Notification Center. @@ -96,4 +96,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of show-notification.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of show-notification.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index 080e8f2d1..b4fa94292 100644 --- a/docs/show-traffic.md +++ b/docs/show-traffic.md @@ -1,5 +1,5 @@ -Script: *show-traffic.ps1* -======================== +The *show-traffic.ps1* Script +=========================== This PowerShell script launches the Web browser with MSN showing the current traffic. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of show-traffic.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of show-traffic.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index a43d421dd..e87e14990 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -1,5 +1,5 @@ -Script: *simulate-presence.ps1* -======================== +The *simulate-presence.ps1* Script +=========================== This PowerShell script simulates the human presence against burglars. It switches a Shelly1 device on and off. @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of simulate-presence.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of simulate-presence.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index 422ed6ed6..7cc2df339 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -1,5 +1,5 @@ -Script: *smart-data2csv.ps1* -======================== +The *smart-data2csv.ps1* Script +=========================== This PowerShell script converts the S.M.A.R.T. JSON files in the current/given directory to a CSV table for analysis (use query-smart-data.ps1 to generate those JSON files). @@ -141,4 +141,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of smart-data2csv.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of smart-data2csv.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 1a8aac791..685abf31c 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -1,5 +1,5 @@ -Script: *speak-arabic.ps1* -======================== +The *speak-arabic.ps1* Script +=========================== This PowerShell script speaks the given text with an Arabic text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-arabic.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-arabic.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index 5345005c4..bfd269a9f 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -1,5 +1,5 @@ -Script: *speak-checklist.ps1* -======================== +The *speak-checklist.ps1* Script +=========================== This PowerShell script speaks the given checklist by text-to-speech (TTS). @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-checklist.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-checklist.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index 095c27c16..39dec1966 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -1,5 +1,5 @@ -Script: *speak-countdown.ps1* -======================== +The *speak-countdown.ps1* Script +=========================== This PowerShell script speaks a countdown by text-to-speech (TTS) starting from a given number. @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-countdown.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-countdown.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index 2f60482ed..0e81cf9a6 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -1,5 +1,5 @@ -Script: *speak-croatian.ps1* -======================== +The *speak-croatian.ps1* Script +=========================== This PowerShell script speaks the given text with a Croatian text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-croatian.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-croatian.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index 46d99631e..bbe3058d5 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -1,5 +1,5 @@ -Script: *speak-danish.ps1* -======================== +The *speak-danish.ps1* Script +=========================== This PowerShell script speaks the given text with a Danish text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-danish.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-danish.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index 758de3e39..5ce3b17d1 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -1,5 +1,5 @@ -Script: *speak-dutch.ps1* -======================== +The *speak-dutch.ps1* Script +=========================== This PowerShell script speaks the given text with a Dutch text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-dutch.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-dutch.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-english.md b/docs/speak-english.md index 22a29a254..503b3a6cf 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -1,5 +1,5 @@ -Script: *speak-english.ps1* -======================== +The *speak-english.ps1* Script +=========================== This PowerShell script speaks the given text with an English text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-english.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-english.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index 83e783a7e..9d15b4ba8 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -1,5 +1,5 @@ -Script: *speak-epub.ps1* -======================== +The *speak-epub.ps1* Script +=========================== This PowerShell script speaks the content of the given Epub file by text-to-speech (TTS). @@ -139,4 +139,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-epub.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-epub.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index 881e4bbe0..446386d76 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -1,5 +1,5 @@ -Script: *speak-esperanto.ps1* -======================== +The *speak-esperanto.ps1* Script +=========================== This PowerShell script speaks the given text with an Esperanto text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-esperanto.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-esperanto.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-file.md b/docs/speak-file.md index 691e4916b..59bc3fd08 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -1,5 +1,5 @@ -Script: *speak-file.ps1* -======================== +The *speak-file.ps1* Script +=========================== This PowerShell script speaks the content of the given text file by text-to-speech (TTS). @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-file.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-file.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index 8e9f794e7..cd199b0f6 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -1,5 +1,5 @@ -Script: *speak-finnish.ps1* -======================== +The *speak-finnish.ps1* Script +=========================== This PowerShell script speaks the given text with a Finnish text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-finnish.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-finnish.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-french.md b/docs/speak-french.md index a28c4f725..701d6136d 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -1,5 +1,5 @@ -Script: *speak-french.ps1* -======================== +The *speak-french.ps1* Script +=========================== This PowerShell script speaks the given text with a French text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-french.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-french.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-german.md b/docs/speak-german.md index ec0c1bed8..a2ea967fb 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -1,5 +1,5 @@ -Script: *speak-german.ps1* -======================== +The *speak-german.ps1* Script +=========================== This PowerShell script speaks the given text with a German text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-german.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-german.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index 5f005a4f1..daff5cc42 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -1,5 +1,5 @@ -Script: *speak-greek.ps1* -======================== +The *speak-greek.ps1* Script +=========================== This PowerShell script speaks the given text with a Greek text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-greek.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-greek.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index 51c5e2d54..de1ed8778 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -1,5 +1,5 @@ -Script: *speak-hebrew.ps1* -======================== +The *speak-hebrew.ps1* Script +=========================== This PowerShell script speaks the given text with a Hebrew text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-hebrew.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-hebrew.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index b774a2620..6208819e4 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -1,5 +1,5 @@ -Script: *speak-hindi.ps1* -======================== +The *speak-hindi.ps1* Script +=========================== This PowerShell script speaks the given text with a Hindi text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-hindi.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-hindi.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index ee0597a75..6a5aa28fc 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -1,5 +1,5 @@ -Script: *speak-italian.ps1* -======================== +The *speak-italian.ps1* Script +=========================== This PowerShell script speaks the given text with an Italian text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-italian.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-italian.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index 806ba813e..24999cd7f 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -1,5 +1,5 @@ -Script: *speak-japanese.ps1* -======================== +The *speak-japanese.ps1* Script +=========================== This PowerShell script speaks the given text with a Japanese text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-japanese.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-japanese.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index 48937b0b6..37df9eed1 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -1,5 +1,5 @@ -Script: *speak-korean.ps1* -======================== +The *speak-korean.ps1* Script +=========================== This PowerShell script speaks the given text with a Korean text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-korean.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-korean.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index 9f2682dbd..7e3e42c48 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -1,5 +1,5 @@ -Script: *speak-latin.ps1* -======================== +The *speak-latin.ps1* Script +=========================== This PowerShell script speaks the given text with a Latin text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-latin.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-latin.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index f5f38c934..3827b514e 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -1,5 +1,5 @@ -Script: *speak-mandarin.ps1* -======================== +The *speak-mandarin.ps1* Script +=========================== This PowerShell script speaks the given text with a Mandarin text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-mandarin.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-mandarin.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index be9548cc7..6ef1af3b7 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -1,5 +1,5 @@ -Script: *speak-norwegian.ps1* -======================== +The *speak-norwegian.ps1* Script +=========================== This PowerShell script speaks the given text with a Norwegian text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-norwegian.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-norwegian.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index 8f4133785..5ed9fc833 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -1,5 +1,5 @@ -Script: *speak-polish.ps1* -======================== +The *speak-polish.ps1* Script +=========================== This PowerShell script speaks the given text with a Polish text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-polish.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-polish.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index a05f11d47..b54c170dd 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -1,5 +1,5 @@ -Script: *speak-portuguese.ps1* -======================== +The *speak-portuguese.ps1* Script +=========================== This PowerShell script speaks the given text with a Portuguese text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-portuguese.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-portuguese.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index deb658746..635567e73 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -1,5 +1,5 @@ -Script: *speak-russian.ps1* -======================== +The *speak-russian.ps1* Script +=========================== This PowerShell script speaks the text with a Russian text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-russian.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-russian.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index 08b60f141..6ffaa16fd 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -1,5 +1,5 @@ -Script: *speak-spanish.ps1* -======================== +The *speak-spanish.ps1* Script +=========================== This PowerShell script speaks the given text with a Spanish text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-spanish.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-spanish.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index 37f84bd1c..d8d42b48a 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -1,5 +1,5 @@ -Script: *speak-swedish.ps1* -======================== +The *speak-swedish.ps1* Script +=========================== This PowerShell script speaks the given text with a Swedish text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-swedish.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-swedish.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-test.md b/docs/speak-test.md index 2e63b47ba..f17087348 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -1,5 +1,5 @@ -Script: *speak-test.ps1* -======================== +The *speak-test.ps1* Script +=========================== speak-test.ps1 @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-test.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-test.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-text.md b/docs/speak-text.md index 26d56a519..b8b207a91 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -1,5 +1,5 @@ -Script: *speak-text.ps1* -======================== +The *speak-text.ps1* Script +=========================== This PowerShell script speaks the given text by the default text-to-speech (TTS) voice. @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-text.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-text.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index 380ea1624..6d2c67dbe 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -1,5 +1,5 @@ -Script: *speak-thai.ps1* -======================== +The *speak-thai.ps1* Script +=========================== This PowerShell script speaks the given text with a Thai text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-thai.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-thai.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index fc18102c8..6b891776b 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -1,5 +1,5 @@ -Script: *speak-turkish.ps1* -======================== +The *speak-turkish.ps1* Script +=========================== This PowerShell script speaks the given text with a Turkish text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-turkish.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-turkish.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index 76a6720c0..af27882fd 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -1,5 +1,5 @@ -Script: *speak-ukrainian.ps1* -======================== +The *speak-ukrainian.ps1* Script +=========================== This PowerShell script speaks the given text with a Ukrainian text-to-speech (TTS) voice. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-ukrainian.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of speak-ukrainian.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/spell-word.md b/docs/spell-word.md index 10589c9d4..555d0c8e7 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -1,5 +1,5 @@ -Script: *spell-word.ps1* -======================== +The *spell-word.ps1* Script +=========================== This PowerShell script spells the given word by text-to-speech (TTS). @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of spell-word.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of spell-word.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index f4ccade98..08dd36ea4 100644 --- a/docs/start-ipfs-server.md +++ b/docs/start-ipfs-server.md @@ -1,5 +1,5 @@ -Script: *start-ipfs-server.ps1* -======================== +The *start-ipfs-server.ps1* Script +=========================== This PowerShell script starts a local IPFS server as a daemon process. @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of start-ipfs-server.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of start-ipfs-server.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/suspend.md b/docs/suspend.md index 49c35627d..c69c699c7 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -1,5 +1,5 @@ -Script: *suspend.ps1* -======================== +The *suspend.ps1* Script +=========================== This PowerShell script suspends the local computer immediately. @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of suspend.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of suspend.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index e96caa22f..59ad0acc8 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -1,5 +1,5 @@ -Script: *switch-branch.ps1* -======================== +The *switch-branch.ps1* Script +=========================== This PowerShell script switches to the given branch in a Git repository and also updates the submodules. @@ -126,4 +126,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of switch-branch.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of switch-branch.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index 0ffe016ce..c2357153f 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -1,5 +1,5 @@ -Script: *switch-shelly1.ps1* -======================== +The *switch-shelly1.ps1* Script +=========================== This PowerShell script switches a Shelly1 device in the local network. @@ -94,4 +94,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of switch-shelly1.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of switch-shelly1.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index c7dcd1151..f974f6910 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -1,5 +1,5 @@ -Script: *switch-tabs.ps1* -======================== +The *switch-tabs.ps1* Script +=========================== This PowerShell script switches automatically from tab to tab every seconds (by pressing Ctrl + PageDown). @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of switch-tabs.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of switch-tabs.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/sync-folder.md b/docs/sync-folder.md index 510d4bfee..609a7848d 100644 --- a/docs/sync-folder.md +++ b/docs/sync-folder.md @@ -1,5 +1,5 @@ -Script: *sync-folder.ps1* -======================== +The *sync-folder.ps1* Script +=========================== This PowerShell script synchronizes (mirrors) the content of 2 directory trees by using Robocopy. Typical use cases are backups: at first everything is copied (full backup), afterward only changes are copied (incremental backup). @@ -96,4 +96,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of sync-folder.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of sync-folder.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index 17839d28f..caec43c9a 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -1,5 +1,5 @@ -Script: *sync-repo.ps1* -======================== +The *sync-repo.ps1* Script +=========================== This PowerShell script synchronizes a local Git repository by pull and push (including submodules). @@ -95,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of sync-repo.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of sync-repo.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index 3f89b49aa..8a290b1f9 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -1,5 +1,5 @@ -Script: *tell-joke.ps1* -======================== +The *tell-joke.ps1* Script +=========================== This PowerShell script selects a random Chuck Norris joke in Data/jokes.csv and speaks it by text-to-speech (TTS). @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of tell-joke.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of tell-joke.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index 52ce87c30..5d7ea151b 100644 --- a/docs/tell-new-year.md +++ b/docs/tell-new-year.md @@ -1,5 +1,5 @@ -Script: *tell-new-year.ps1* -======================== +The *tell-new-year.ps1* Script +=========================== This PowerShell script calculates the time until New Year and replies by text-to-speech (TTS). @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of tell-new-year.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of tell-new-year.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index e01264024..46247b75a 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -1,5 +1,5 @@ -Script: *tell-quote.ps1* -======================== +The *tell-quote.ps1* Script +=========================== This PowerShell script selects a random quote from Data/quotes.csv and speaks it by text-to-speech (TTS). @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of tell-quote.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of tell-quote.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index f557e4c42..c458681b5 100644 --- a/docs/toggle-caps-lock.md +++ b/docs/toggle-caps-lock.md @@ -1,5 +1,5 @@ -Script: *toggle-caps-lock.ps1* -======================== +The *toggle-caps-lock.ps1* Script +=========================== This PowerShell script toggles the Caps Lock key state. @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of toggle-caps-lock.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of toggle-caps-lock.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index 3fd5f39a3..dd708fbe3 100644 --- a/docs/toggle-num-lock.md +++ b/docs/toggle-num-lock.md @@ -1,5 +1,5 @@ -Script: *toggle-num-lock.ps1* -======================== +The *toggle-num-lock.ps1* Script +=========================== This PowerShell script toggles the Num Lock key state. @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of toggle-num-lock.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of toggle-num-lock.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index 0a7e70f01..51d594170 100644 --- a/docs/toggle-scroll-lock.md +++ b/docs/toggle-scroll-lock.md @@ -1,5 +1,5 @@ -Script: *toggle-scroll-lock.ps1* -======================== +The *toggle-scroll-lock.ps1* Script +=========================== This PowerShell script toggles the Scroll Lock key state. @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of toggle-scroll-lock.ps1 as of 11/08/2024 12:34:55)* +*(generated by convert-ps2md.ps1 using the comment-based help of toggle-scroll-lock.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/translate-file.md b/docs/translate-file.md index fb868919e..6e2a2d778 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -1,5 +1,5 @@ -Script: *translate-file.ps1* -======================== +The *translate-file.ps1* Script +=========================== This PowerShell script translates the given text file into another language and writes the output on the console. @@ -108,4 +108,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of translate-file.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of translate-file.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/translate-files.md b/docs/translate-files.md index d59480583..e6bd016d5 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -1,5 +1,5 @@ -Script: *translate-files.ps1* -======================== +The *translate-files.ps1* Script +=========================== This PowerShell script translates text files into multiple languages. @@ -105,4 +105,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of translate-files.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of translate-files.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/translate-text.md b/docs/translate-text.md index d335c4d6e..84e17f751 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -1,5 +1,5 @@ -Script: *translate-text.ps1* -======================== +The *translate-text.ps1* Script +=========================== This PowerShell script translates text into other languages. @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of translate-text.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of translate-text.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index 52ff9c037..4d90baae6 100644 --- a/docs/turn-volume-down.md +++ b/docs/turn-volume-down.md @@ -1,5 +1,5 @@ -Script: *turn-volume-down.ps1* -======================== +The *turn-volume-down.ps1* Script +=========================== This PowerShell script turns the audio volume down (-10% by default). @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-down.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-down.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index 5e61d1b7c..de421ea75 100644 --- a/docs/turn-volume-fully-up.md +++ b/docs/turn-volume-fully-up.md @@ -1,5 +1,5 @@ -Script: *turn-volume-fully-up.ps1* -======================== +The *turn-volume-fully-up.ps1* Script +=========================== This PowerShell script turns the audio volume fully up to 100%. @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-fully-up.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-fully-up.ps1 as of 11/08/2024 12:37:56)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index 772459a95..11d10454e 100644 --- a/docs/turn-volume-off.md +++ b/docs/turn-volume-off.md @@ -1,5 +1,5 @@ -Script: *turn-volume-off.ps1* -======================== +The *turn-volume-off.ps1* Script +=========================== This PowerShell script mutes the default audio device immediately. @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-off.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-off.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index 8fa0d7889..99ec18db3 100644 --- a/docs/turn-volume-on.md +++ b/docs/turn-volume-on.md @@ -1,5 +1,5 @@ -Script: *turn-volume-on.ps1* -======================== +The *turn-volume-on.ps1* Script +=========================== This PowerShell script immediately unmutes the audio output. @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-on.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-on.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index 7c97748c7..208c0afce 100644 --- a/docs/turn-volume-up.md +++ b/docs/turn-volume-up.md @@ -1,5 +1,5 @@ -Script: *turn-volume-up.ps1* -======================== +The *turn-volume-up.ps1* Script +=========================== This PowerShell script turns the audio volume up (+10% by default). @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-up.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-up.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index 16a791eb5..d4cd5672d 100644 --- a/docs/uninstall-all-apps.md +++ b/docs/uninstall-all-apps.md @@ -1,5 +1,5 @@ -Script: *uninstall-all-apps.ps1* -======================== +The *uninstall-all-apps.ps1* Script +=========================== This PowerShell script uninstalls all applications from the local computer. Useful for de-bloating Windows to clean up a PC quickly for an industrial use case without any security risks. @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of uninstall-all-apps.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of uninstall-all-apps.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index b3f9e0186..a41f57c06 100644 --- a/docs/uninstall-bloatware.md +++ b/docs/uninstall-bloatware.md @@ -1,5 +1,5 @@ -Script: *uninstall-bloatware.ps1* -======================== +The *uninstall-bloatware.ps1* Script +=========================== This PowerShell script uninstalls unnecessary software and applications. @@ -98,4 +98,4 @@ winget uninstall 'Prime Video for Windows' exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of uninstall-bloatware.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of uninstall-bloatware.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index 747a281f6..2cd71e9e0 100644 --- a/docs/update-powershell-profile.md +++ b/docs/update-powershell-profile.md @@ -1,5 +1,5 @@ -Script: *update-powershell-profile.ps1* -======================== +The *update-powershell-profile.ps1* Script +=========================== This PowerShell script write/overwrites the PowerShell profile of the current user. @@ -80,4 +80,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of update-powershell-profile.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of update-powershell-profile.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index 1ebee3993..99a8d0a18 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -1,5 +1,5 @@ -Script: *upgrade-ubuntu.ps1* -======================== +The *upgrade-ubuntu.ps1* Script +=========================== This PowerShell script upgrades Ubuntu Linux to the latest (LTS) release. @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of upgrade-ubuntu.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of upgrade-ubuntu.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/upload-file.md b/docs/upload-file.md index 9eaf48b15..900bb22d9 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -1,5 +1,5 @@ -Script: *upload-file.ps1* -======================== +The *upload-file.ps1* Script +=========================== This PowerShell script uploads a local file to a FTP server. @@ -145,4 +145,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of upload-file.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of upload-file.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index b48f18b53..59dc43a7e 100644 --- a/docs/upload-to-dropbox.md +++ b/docs/upload-to-dropbox.md @@ -1,5 +1,5 @@ -Script: *upload-to-dropbox.ps1* -======================== +The *upload-to-dropbox.ps1* Script +=========================== This PowerShell script uploads a local file to Dropbox. @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of upload-to-dropbox.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of upload-to-dropbox.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index ca8388260..dde2b6452 100644 --- a/docs/wake-up-host.md +++ b/docs/wake-up-host.md @@ -1,5 +1,5 @@ -Script: *wake-up-host.ps1* -======================== +The *wake-up-host.ps1* Script +=========================== This PowerShell script sends a magic UDP packet to a computer to wake him up (requires the target computer to have Wake-on-LAN activated). @@ -120,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of wake-up-host.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of wake-up-host.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index 751e6da14..98732175f 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -1,5 +1,5 @@ -Script: *watch-commits.ps1* -======================== +The *watch-commits.ps1* Script +=========================== This PowerShell script permanently lists the latest commit in a Git repository in real-time. @@ -115,4 +115,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of watch-commits.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of watch-commits.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/watch-file.md b/docs/watch-file.md index c680dc55f..c413612b0 100644 --- a/docs/watch-file.md +++ b/docs/watch-file.md @@ -1,5 +1,5 @@ -Script: *watch-file.ps1* -======================== +The *watch-file.ps1* Script +=========================== watch-file.ps1 @@ -64,4 +64,4 @@ function Watch-File { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of watch-file.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of watch-file.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/watch-news.md b/docs/watch-news.md index 0b7db5b88..95dea5ef3 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -1,5 +1,5 @@ -Script: *watch-news.ps1* -======================== +The *watch-news.ps1* Script +=========================== This PowerShell script continuously lists the latest headlines by using a RSS (Really Simple Syndication) feed. @@ -115,4 +115,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of watch-news.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of watch-news.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index 1290af1b8..8d2cd90f1 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -1,5 +1,5 @@ -Script: *watch-ping.ps1* -======================== +The *watch-ping.ps1* Script +=========================== This PowerShell script pings the given host continously and shows the roundtrip times in a horizontal chart. @@ -135,4 +135,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of watch-ping.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of watch-ping.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/weather-report.md b/docs/weather-report.md index 47b816cc3..ba222c28d 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -1,5 +1,5 @@ -Script: *weather-report.ps1* -======================== +The *weather-report.ps1* Script +=========================== This PowerShell script lists the local weather report. @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of weather-report.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of weather-report.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/weather.md b/docs/weather.md index c1e3c7de0..332a5fb23 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -1,5 +1,5 @@ -Script: *weather.ps1* -======================== +The *weather.ps1* Script +=========================== This PowerShell script lists the current weather forecast. @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of weather.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of weather.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/what-is.md b/docs/what-is.md index c0d7b57e6..b5893291f 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -1,5 +1,5 @@ -Script: *what-is.ps1* -======================== +The *what-is.ps1* Script +=========================== This PowerShell script queries the meaning of the given term/abbreviation/etc. and prints it. @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of what-is.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of what-is.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/windefender.md b/docs/windefender.md index dd147c058..afd0c69b1 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -1,5 +1,5 @@ -Script: *windefender.ps1* -======================== +The *windefender.ps1* Script +=========================== This script can enable / disable and show Windows defender real time monitoring! @@ -82,4 +82,4 @@ break } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of windefender.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of windefender.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-animated.md b/docs/write-animated.md index 1fd115188..9e72d246f 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -1,5 +1,5 @@ -Script: *write-animated.ps1* -======================== +The *write-animated.ps1* Script +=========================== This PowerShell script writes text centered and animated to the console. @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-animated.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-animated.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index 45fa4bbd6..a847721f9 100644 --- a/docs/write-ascii-image.md +++ b/docs/write-ascii-image.md @@ -1,5 +1,5 @@ -Script: *write-ascii-image.ps1* -======================== +The *write-ascii-image.ps1* Script +=========================== write-ascii-image.ps1 @@ -61,4 +61,4 @@ WriteLine " '`--._,dd###pp='''" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-ascii-image.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-ascii-image.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-big.md b/docs/write-big.md index c342ae873..83e6d9858 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -1,5 +1,5 @@ -Script: *write-big.ps1* -======================== +The *write-big.ps1* Script +=========================== This PowerShell script writes the given text in big letters. @@ -471,4 +471,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-big.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-big.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-blue.md b/docs/write-blue.md index 219d08c33..9025cd6fa 100644 --- a/docs/write-blue.md +++ b/docs/write-blue.md @@ -1,5 +1,5 @@ -Script: *write-blue.ps1* -======================== +The *write-blue.ps1* Script +=========================== This PowerShell script writes text in a blue foreground color. @@ -64,4 +64,4 @@ write-host -foregroundColor blue "$text" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-blue.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-blue.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-braille.md b/docs/write-braille.md index c127a3541..0e73af182 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -1,5 +1,5 @@ -Script: *write-braille.ps1* -======================== +The *write-braille.ps1* Script +=========================== This PowerShell script writes text in Braille. @@ -408,4 +408,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-braille.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-braille.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-centered.md b/docs/write-centered.md index 2cd992889..77b35c74b 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -1,5 +1,5 @@ -Script: *write-centered.ps1* -======================== +The *write-centered.ps1* Script +=========================== This PowerShell script writes the given text centered to the console. @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-centered.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-centered.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index e88ed93a2..7d82d3475 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -1,5 +1,5 @@ -Script: *write-changelog.ps1* -======================== +The *write-changelog.ps1* Script +=========================== This PowerShell script writes an automated changelog in Markdown format to the console by using the Git commits only. NOTE: For proper sorting the Git commits should start with verbs such as 'Add', 'Fix', 'Update', etc. You may also redirect the output into a file for later use. @@ -155,4 +155,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-changelog.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-changelog.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-chart.md b/docs/write-chart.md index 113fc8db7..18af57bf7 100644 --- a/docs/write-chart.md +++ b/docs/write-chart.md @@ -1,5 +1,5 @@ -Script: *write-chart.ps1* -======================== +The *write-chart.ps1* Script +=========================== write-chart.ps1 @@ -68,4 +68,4 @@ WriteChartLine "Tom" 30.9 100.0 exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-chart.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-chart.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-clock.md b/docs/write-clock.md index b219e8bc4..e6abd0bd1 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -1,5 +1,5 @@ -Script: *write-clock.ps1* -======================== +The *write-clock.ps1* Script +=========================== This PowerShell script writes the current time as ASCII clock. @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-clock.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-clock.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-code.md b/docs/write-code.md index 3fd14e0a1..41743aa94 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -1,5 +1,5 @@ -Script: *write-code.ps1* -======================== +The *write-code.ps1* Script +=========================== This PowerShell script generates and writes PowerShell code on the console (no AI, just for fun). @@ -118,4 +118,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-code.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-code.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-credits.md b/docs/write-credits.md index dbd7a25ef..c0e869e41 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -1,5 +1,5 @@ -Script: *write-credits.ps1* -======================== +The *write-credits.ps1* Script +=========================== This PowerShell script writes the credits for the PowerShell script collection. @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-credits.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-credits.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-date.md b/docs/write-date.md index 88d24deb1..e2ccc24b7 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -1,5 +1,5 @@ -Script: *write-date.ps1* -======================== +The *write-date.ps1* Script +=========================== This PowerShell script determines and writes the current date in US format. @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-date.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-date.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index 3d0367e8e..520753cb9 100644 --- a/docs/write-fractal.md +++ b/docs/write-fractal.md @@ -1,5 +1,5 @@ -Script: *write-fractal.ps1* -======================== +The *write-fractal.ps1* Script +=========================== write-fractal.ps1 @@ -79,4 +79,4 @@ while ($true) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-fractal.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-fractal.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-green.md b/docs/write-green.md index b5f2e6d42..f0cb70387 100644 --- a/docs/write-green.md +++ b/docs/write-green.md @@ -1,5 +1,5 @@ -Script: *write-green.ps1* -======================== +The *write-green.ps1* Script +=========================== This PowerShell script writes text in a green foreground color. @@ -63,4 +63,4 @@ write-host -foregroundColor green "$text" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-green.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-green.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index 19bbdcfd9..e3ba8ab28 100644 --- a/docs/write-hands-off.md +++ b/docs/write-hands-off.md @@ -1,5 +1,5 @@ -Script: *write-hands-off.ps1* -======================== +The *write-hands-off.ps1* Script +=========================== This PowerShell script writes 'Hands Off' in BIG letters. @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-hands-off.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-hands-off.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-headline.md b/docs/write-headline.md index efcf0181b..49cadba9f 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -1,5 +1,5 @@ -Script: *write-headline.ps1* -======================== +The *write-headline.ps1* Script +=========================== This PowerShell script writes the given text as a headline. @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-headline.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-headline.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-help.md b/docs/write-help.md index 7ac6dce32..bd23f83a6 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -1,5 +1,5 @@ -Script: *write-help.ps1* -======================== +The *write-help.ps1* Script +=========================== write-help.ps1 @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-help.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-help.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index 0a7f4dc06..90c589cb4 100644 --- a/docs/write-in-emojis.md +++ b/docs/write-in-emojis.md @@ -1,5 +1,5 @@ -Script: *write-in-emojis.ps1* -======================== +The *write-in-emojis.ps1* Script +=========================== This PowerShell script replaces certain words in the given text by Emojis and writes it to the console. @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-in-emojis.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-in-emojis.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 332ca4a6a..efd662488 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -1,5 +1,5 @@ -Script: *write-joke.ps1* -======================== +The *write-joke.ps1* Script +=========================== This PowerShell script selects a random joke from Data/jokes.csv and writes it to the console. @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-joke.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-joke.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-location.md b/docs/write-location.md index 9fa095571..a9fcd2959 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -1,5 +1,5 @@ -Script: *write-location.ps1* -======================== +The *write-location.ps1* Script +=========================== This PowerShell script determines the location and writes it to the console. @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-location.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-location.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index 3eabc847d..36c6ca0e4 100644 --- a/docs/write-lowercase.md +++ b/docs/write-lowercase.md @@ -1,5 +1,5 @@ -Script: *write-lowercase.ps1* -======================== +The *write-lowercase.ps1* Script +=========================== This PowerShell script writes the given text in lowercase letters. @@ -65,4 +65,4 @@ Write-Output $text.ToLower() exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-lowercase.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-lowercase.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index d0cc04830..b601ac860 100644 --- a/docs/write-marquee.md +++ b/docs/write-marquee.md @@ -1,5 +1,5 @@ -Script: *write-marquee.ps1* -======================== +The *write-marquee.ps1* Script +=========================== This PowerShell script writes the given text as marquee. @@ -89,4 +89,4 @@ StartMarquee " exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-marquee.ps1 as of 11/08/2024 12:34:56)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-marquee.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index 25edfceff..884a82861 100644 --- a/docs/write-matrix.md +++ b/docs/write-matrix.md @@ -1,5 +1,5 @@ -Script: *write-matrix.ps1* -======================== +The *write-matrix.ps1* Script +=========================== write-matrix.ps1 @@ -81,4 +81,4 @@ exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-matrix.ps1 as of 11/08/2024 12:34:57)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-matrix.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-moon.md b/docs/write-moon.md index 559dcda2f..308be6156 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -1,5 +1,5 @@ -Script: *write-moon.ps1* -======================== +The *write-moon.ps1* Script +=========================== This PowerShell script writes the current moon phase to the console. @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-moon.ps1 as of 11/08/2024 12:34:57)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-moon.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index 303015981..b9b41dd75 100644 --- a/docs/write-morse-code.md +++ b/docs/write-morse-code.md @@ -1,5 +1,5 @@ -Script: *write-morse-code.ps1* -======================== +The *write-morse-code.ps1* Script +=========================== This PowerShell script writes the given text in Morse code. @@ -153,4 +153,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-morse-code.ps1 as of 11/08/2024 12:34:57)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-morse-code.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-motd.md b/docs/write-motd.md index 5498fda06..2461a7c16 100644 --- a/docs/write-motd.md +++ b/docs/write-motd.md @@ -1,5 +1,5 @@ -Script: *write-motd.ps1* -======================== +The *write-motd.ps1* Script +=========================== This PowerShell script writes the message of the day (MOTD). @@ -140,4 +140,4 @@ Write-Host " 'VEzjt:;;z>*`` " -ForegroundColor Yellow exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-motd.ps1 as of 11/08/2024 12:34:57)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-motd.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-pi.md b/docs/write-pi.md index 6db823fa9..69438733e 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -1,5 +1,5 @@ -Script: *write-pi.ps1* -======================== +The *write-pi.ps1* Script +=========================== This PowerShell script calculates and writes the digits of the mathematical constant PI. @@ -117,4 +117,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-pi.ps1 as of 11/08/2024 12:34:57)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-pi.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index a189ca33e..60a3013c5 100644 --- a/docs/write-qr-code.md +++ b/docs/write-qr-code.md @@ -1,5 +1,5 @@ -Script: *write-qr-code.ps1* -======================== +The *write-qr-code.ps1* Script +=========================== This PowerShell script writes "Hello World" as QR code to the console output. @@ -65,4 +65,4 @@ Write-Host " " -foregroundColor black -backgroundCol exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-qr-code.ps1 as of 11/08/2024 12:34:57)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-qr-code.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 58a6b60c8..d300bfcd2 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -1,5 +1,5 @@ -Script: *write-quote.ps1* -======================== +The *write-quote.ps1* Script +=========================== This PowerShell script selects a random quote from .../data/quotes.csv and writes it to the console. @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-quote.ps1 as of 11/08/2024 12:34:57)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-quote.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-red.md b/docs/write-red.md index 50494142d..a2a4793da 100644 --- a/docs/write-red.md +++ b/docs/write-red.md @@ -1,5 +1,5 @@ -Script: *write-red.ps1* -======================== +The *write-red.ps1* Script +=========================== This PowerShell script writes text in a red foreground color. @@ -63,4 +63,4 @@ write-host -foregroundcolor red "$text" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-red.ps1 as of 11/08/2024 12:34:57)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-red.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index 61620093b..907aeff7c 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -1,5 +1,5 @@ -Script: *write-rot13.ps1* -======================== +The *write-rot13.ps1* Script +=========================== This PowerShell script writes text encoded or decoded with ROT13. @@ -82,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-rot13.ps1 as of 11/08/2024 12:34:57)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-rot13.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-shit.md b/docs/write-shit.md index edd5b6459..1332e52cc 100644 --- a/docs/write-shit.md +++ b/docs/write-shit.md @@ -1,5 +1,5 @@ -Script: *write-shit.ps1* -======================== +The *write-shit.ps1* Script +=========================== This PowerShell script writes shit to the console (fun). @@ -50,4 +50,4 @@ Write-Output "💩" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-shit.ps1 as of 11/08/2024 12:34:57)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-shit.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index efa46e631..a1d3fe81a 100644 --- a/docs/write-sine-curves.md +++ b/docs/write-sine-curves.md @@ -1,5 +1,5 @@ -Script: *write-sine-curves.ps1* -======================== +The *write-sine-curves.ps1* Script +=========================== This PowerShell script writes sine curves. @@ -56,4 +56,4 @@ Script Content } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-sine-curves.ps1 as of 11/08/2024 12:34:57)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-sine-curves.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-time.md b/docs/write-time.md index 3b9639aac..74b57b9b7 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -1,5 +1,5 @@ -Script: *write-time.ps1* -======================== +The *write-time.ps1* Script +=========================== This PowerShell script queries the current time and writes it in US format to the console. @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-time.ps1 as of 11/08/2024 12:34:57)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-time.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index b7f27b944..6b566d77e 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -1,5 +1,5 @@ -Script: *write-typewriter.ps1* -======================== +The *write-typewriter.ps1* Script +=========================== This PowerShell script writes the given text with the typewriter effect. @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-typewriter.ps1 as of 11/08/2024 12:34:57)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-typewriter.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index 52521f42c..fc4248512 100644 --- a/docs/write-uppercase.md +++ b/docs/write-uppercase.md @@ -1,5 +1,5 @@ -Script: *write-uppercase.ps1* -======================== +The *write-uppercase.ps1* Script +=========================== This PowerShell script writes the given text in uppercase letters. @@ -65,4 +65,4 @@ Write-Output $text.ToUpper() exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-uppercase.ps1 as of 11/08/2024 12:34:57)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-uppercase.ps1 as of 11/08/2024 12:37:57)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index e9c7ed98c..aea085555 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -1,5 +1,5 @@ -Script: *write-vertical.ps1* -======================== +The *write-vertical.ps1* Script +=========================== This PowerShell script writes text in vertical direction. @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-vertical.ps1 as of 11/08/2024 12:34:57)* +*(generated by convert-ps2md.ps1 using the comment-based help of write-vertical.ps1 as of 11/08/2024 12:37:57)* diff --git a/scripts/convert-ps2md.ps1 b/scripts/convert-ps2md.ps1 index 969ce4c17..c32fa0d61 100755 --- a/scripts/convert-ps2md.ps1 +++ b/scripts/convert-ps2md.ps1 @@ -56,8 +56,8 @@ try { $ScriptName = (Get-Item "$filename").Name $full = Get-Help $filename -Full - "Script: *$($ScriptName)*" - "========================" + "The *$($ScriptName)* Script" + "===========================" $Description = ($full.description | Out-String).Trim() if ($Description -ne "") { From 25ff52876c507a73f34a8188e4a88f0991b56d23 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 8 Nov 2024 12:40:31 +0100 Subject: [PATCH 021/737] Updated the manuals --- docs/add-firewall-rules.md | 2 +- docs/alert.md | 2 +- docs/build-repo.md | 2 +- docs/build-repos.md | 2 +- docs/cd-autostart.md | 2 +- docs/cd-crashdumps.md | 2 +- docs/cd-desktop.md | 2 +- docs/cd-docs.md | 2 +- docs/cd-downloads.md | 2 +- docs/cd-dropbox.md | 2 +- docs/cd-etc.md | 2 +- docs/cd-fonts.md | 2 +- docs/cd-home.md | 2 +- docs/cd-jenkins.md | 2 +- docs/cd-logs.md | 2 +- docs/cd-music.md | 2 +- docs/cd-nextcloud.md | 2 +- docs/cd-onedrive.md | 2 +- docs/cd-pics.md | 2 +- docs/cd-public.md | 2 +- docs/cd-recent.md | 2 +- docs/cd-recycle-bin.md | 2 +- docs/cd-repo.md | 2 +- docs/cd-repos.md | 2 +- docs/cd-root.md | 2 +- docs/cd-screenshots.md | 2 +- docs/cd-scripts.md | 2 +- docs/cd-ssh.md | 2 +- docs/cd-temp.md | 2 +- docs/cd-templates.md | 2 +- 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 | 2 +- docs/cd-videos.md | 2 +- docs/cd-windows.md | 2 +- 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 | 2 +- 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 | 2 +- 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 | 2 +- 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-dir2zip.md | 2 +- docs/convert-docx2md.md | 2 +- docs/convert-frames2mp4.md | 2 +- docs/convert-image2ascii.md | 2 +- docs/convert-image2blurred-frames.md | 2 +- docs/convert-image2pixelated-frames.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 | 4 ++-- docs/convert-sql2csv.md | 2 +- docs/convert-txt2wav.md | 2 +- docs/copy-photos-sorted.md | 2 +- 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/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 | 2 +- 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-git-extensions.md | 2 +- docs/install-git-for-windows.md | 2 +- docs/install-github-cli.md | 2 +- docs/install-gitlab.md | 2 +- docs/install-irfanview.md | 2 +- docs/install-knot-resolver.md | 2 +- docs/install-microsoft-teams.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-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-thunderbird.md | 2 +- docs/install-twitter.md | 2 +- docs/install-unbound-server.md | 2 +- docs/install-updates.md | 2 +- 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/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 | 2 +- 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 | 2 +- docs/list-earthquakes.md | 2 +- docs/list-emojis.md | 2 +- docs/list-empty-dirs.md | 2 +- 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-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 | 2 +- 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 | 2 +- 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-linux-vm.md | 2 +- docs/new-qrcode.md | 2 +- docs/new-reboot-task.md | 2 +- docs/new-script.md | 2 +- docs/new-shortcut.md | 2 +- docs/new-ssh-key.md | 2 +- docs/new-symlink.md | 2 +- docs/new-tag.md | 2 +- 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-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 | 2 +- docs/query-smart-data.md | 2 +- docs/reboot-fritzbox.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 | 2 +- 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-folder.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/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/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/watch-commits.md | 2 +- docs/watch-file.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 | 2 +- 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 | 2 +- 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-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-time.md | 2 +- docs/write-typewriter.md | 2 +- docs/write-uppercase.md | 2 +- docs/write-vertical.md | 2 +- scripts/convert-ps2md.ps1 | 2 +- 626 files changed, 627 insertions(+), 627 deletions(-) diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index f09ed8b23..e237c250a 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -113,4 +113,4 @@ try { ``` -*(generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/alert.md b/docs/alert.md index 35ed03595..781e4428c 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of alert.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/build-repo.md b/docs/build-repo.md index 01b26a9f4..9c12b6e45 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -196,4 +196,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/build-repos.md b/docs/build-repos.md index 464d9ec25..218020a3b 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -82,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index 28fb58d16..c7722143d 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index 23d6e47da..2dc6348a7 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-crashdumps.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index 2dad3bd69..d91d18989 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index 3cfbafb3a..1bdd6cdb1 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index 73b9a0d6b..d16ca8512 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index 08fde1832..4fbe43dd5 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index 4c7e41af6..fe0ab0eab 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-etc.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index ee4f6d8b1..879b3a28d 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-fonts.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-home.md b/docs/cd-home.md index 389e714b1..1b9e8fdbe 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index 5c9205464..d70cd3eab 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-jenkins.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index 5fc291e5f..39703ab32 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -48,4 +48,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-logs.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-music.md b/docs/cd-music.md index 7dbc099a4..1bbbddb71 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index ed1fa0404..8681664a1 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-nextcloud.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index b88c238bd..54f216d68 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index d0b8ac406..dbdf06156 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-public.md b/docs/cd-public.md index 51f00f269..168ab5e72 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-public.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index de000c79a..f4ded2bbb 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-recent.ps1 as of 11/08/2024 12:37:48)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index 98cc6b14b..3723f3e8f 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index 1c267e614..088fbd877 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-repo.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index 73ca83062..a36c46110 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-root.md b/docs/cd-root.md index f369ab9c0..faee610cc 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index 3057c3620..150726307 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -55,4 +55,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-screenshots.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index bdab7a1a5..3b5fa95d9 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index cf88d15f7..4af5df28a 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index 927faa748..8bf929c58 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -50,4 +50,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-temp.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index 3aa07a56d..0c82dd614 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-templates.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index eb01b71af..bc2ae83a5 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-trash.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/cd-up.md b/docs/cd-up.md index 58179f9fe..2731e3d6d 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index 7a7343f82..6ab814cc3 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index 6249b1e63..089234632 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index 3fbf736e7..24962859a 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/cd-users.md b/docs/cd-users.md index 5bead2ecc..05be3fef0 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-users.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index d12e38080..dbddab2bf 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index 4437c08d5..f085ebda3 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of cd-windows.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index 979b7fd34..37d852f49 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -79,4 +79,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of change-wallpaper.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-admin.md b/docs/check-admin.md index 47cd45e42..1c2bb237f 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-admin.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-apps.md b/docs/check-apps.md index ae3e9522e..a68bffd55 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-apps.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-bios.md b/docs/check-bios.md index 57101ab1d..60ee99b3d 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-bios.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index 198a6ad83..35c8f2995 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -106,4 +106,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-cpu.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index 6f2d6c2cf..f0326a4e1 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -82,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-credentials.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-day.md b/docs/check-day.md index f75bf48f3..8d24234a3 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-day.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-dns.md b/docs/check-dns.md index 75ec3def3..93484f4b5 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-dns.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index 8f88dea17..b3d2ef716 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-drives.md b/docs/check-drives.md index 4c1cb7a79..fdf2af120 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -102,4 +102,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index 0e478957e..deac2f65f 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-dusk.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index 090bd356c..9eecc4548 100644 --- a/docs/check-easter-sunday.md +++ b/docs/check-easter-sunday.md @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-easter-sunday.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index 7312c4605..1108db4ad 100644 --- a/docs/check-file-system.md +++ b/docs/check-file-system.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-file.md b/docs/check-file.md index 15e341746..82a09db36 100644 --- a/docs/check-file.md +++ b/docs/check-file.md @@ -170,4 +170,4 @@ function Check-Header { param( $path ) Check-Header $Path ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-file.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index 4ab8a7e5b..6e0c20d3a 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-firewall.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index fdf1e2fee..163eed79f 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-gpu.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index 02e32612f..64c471d12 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-hardware.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-health.md b/docs/check-health.md index 9d2bbe0a1..70d86b6d2 100644 --- a/docs/check-health.md +++ b/docs/check-health.md @@ -58,4 +58,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index c6ce9a481..7c037aa8a 100644 --- a/docs/check-independence-day.md +++ b/docs/check-independence-day.md @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-independence-day.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index 6037ea290..ed7e2eded 100644 --- a/docs/check-ipv4-address.md +++ b/docs/check-ipv4-address.md @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index 01f63c491..d0f7a0eaa 100644 --- a/docs/check-ipv6-address.md +++ b/docs/check-ipv6-address.md @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index 93f78c05f..d50385f1e 100644 --- a/docs/check-iss-position.md +++ b/docs/check-iss-position.md @@ -55,4 +55,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-iss-position.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index 612c38e2c..e11b10721 100644 --- a/docs/check-mac-address.md +++ b/docs/check-mac-address.md @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index 4dda7ec1a..897a55eaf 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-midnight.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-month.md b/docs/check-month.md index 88d0e89d8..f4c020739 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-month.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index 60bfd2e60..6ecf568d1 100644 --- a/docs/check-moon-phase.md +++ b/docs/check-moon-phase.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-moon-phase.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index cd0416961..0ae8926e1 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-motherboard.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-network.md b/docs/check-network.md index 2bb44d1f7..dd490fdbc 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-network.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-noon.md b/docs/check-noon.md index eb0299a0b..876c3014b 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-noon.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-os.md b/docs/check-os.md index db8d28515..9dac47bce 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-os.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index 2d6730de5..378f97d9c 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-outlook.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-password.md b/docs/check-password.md index b63fc5a14..0d6d01287 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -94,4 +94,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-password.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index b9036ede2..572243212 100644 --- a/docs/check-pending-reboot.md +++ b/docs/check-pending-reboot.md @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-pending-reboot.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index f335753e3..2da923ce3 100644 --- a/docs/check-pnp-devices.md +++ b/docs/check-pnp-devices.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-pnp-devices.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-power.md b/docs/check-power.md index 32497b362..57986ab39 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-power.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index f1d59a978..67e0f815f 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-powershell.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 9a1b5b2a3..5e7985f3c 100644 --- a/docs/check-ps1-file.md +++ b/docs/check-ps1-file.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-ps1-file.ps1 as of 11/08/2024 12:37:49)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-ram.md b/docs/check-ram.md index 1db34dd7a..8f485a588 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-ram.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-repo.md b/docs/check-repo.md index 207f7cb53..725f782e3 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -129,4 +129,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-repo.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-repos.md b/docs/check-repos.md index ceb0d60bf..a6571c766 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-repos.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-santa.md b/docs/check-santa.md index a9c3fe59c..0cdf5264c 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-santa.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index 172849cdf..ec95b1906 100644 --- a/docs/check-smart-devices.md +++ b/docs/check-smart-devices.md @@ -119,4 +119,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-smart-devices.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/check-software.md b/docs/check-software.md index f564a9194..999f76c85 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-software.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index 5fe71898d..7af1f5141 100644 --- a/docs/check-subnet-mask.md +++ b/docs/check-subnet-mask.md @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-subnet-mask.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index 320b4db68..2e5c13ac1 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -107,4 +107,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-swap-space.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index 0495d95ca..aefdb7118 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-symlinks.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index 581e67e14..bbcbad877 100644 --- a/docs/check-time-zone.md +++ b/docs/check-time-zone.md @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-time-zone.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index f41ed947f..2adee19cd 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -114,4 +114,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-uptime.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index 0597b257b..5b8a92e78 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-vpn.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/check-weather.md b/docs/check-weather.md index 693d59afc..b9d1b7dac 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-weather.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/check-week.md b/docs/check-week.md index f87190b2f..2632e3cdf 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-week.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/check-wind.md b/docs/check-wind.md index 98df787fa..e8f1eea70 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-wind.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index ee286f096..2305e8292 100644 --- a/docs/check-windows-system-files.md +++ b/docs/check-windows-system-files.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-windows-system-files.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index 082bef693..3391208f9 100644 --- a/docs/check-xml-file.md +++ b/docs/check-xml-file.md @@ -85,4 +85,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-xml-file.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index 9645c2855..80f21b87c 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of check-xml-files.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index 82f9b5301..7bc347153 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clean-repo.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index 4fc3b10c9..e900eb16f 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clean-repos.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index d069fdc42..c5e6c584a 100644 --- a/docs/clear-dns-cache.md +++ b/docs/clear-dns-cache.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clear-dns-cache.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index c5fca41ea..8b37237bb 100644 --- a/docs/clear-recycle-bin.md +++ b/docs/clear-recycle-bin.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clear-recycle-bin.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index 412f33359..61aa483e4 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -118,4 +118,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clone-repos.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index 544352593..138217dfc 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of clone-shallow.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index a668032e8..a550141ea 100644 --- a/docs/close-calculator.md +++ b/docs/close-calculator.md @@ -48,4 +48,4 @@ Stop-Process -name "CalculatorApp" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-calculator.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index a8d9a6558..35b8627f7 100644 --- a/docs/close-chrome.md +++ b/docs/close-chrome.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-chrome.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index b77f70531..e2a523c87 100644 --- a/docs/close-cortana.md +++ b/docs/close-cortana.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-cortana.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-edge.md b/docs/close-edge.md index 21a7459cd..56a5600dc 100644 --- a/docs/close-edge.md +++ b/docs/close-edge.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-edge.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index f665e4b17..606038ad2 100644 --- a/docs/close-file-explorer.md +++ b/docs/close-file-explorer.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-file-explorer.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index fe96fb66e..769caf528 100644 --- a/docs/close-firefox.md +++ b/docs/close-firefox.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-firefox.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index c1d45c070..d1a4413ad 100644 --- a/docs/close-git-extensions.md +++ b/docs/close-git-extensions.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-git-extensions.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index 6b714daee..31105d248 100644 --- a/docs/close-magnifier.md +++ b/docs/close-magnifier.md @@ -48,4 +48,4 @@ tskill magnify exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-magnifier.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 149aa8a95..27cf91819 100644 --- a/docs/close-microsoft-paint.md +++ b/docs/close-microsoft-paint.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-microsoft-paint.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index 9077449bf..43e351b2c 100644 --- a/docs/close-microsoft-store.md +++ b/docs/close-microsoft-store.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-microsoft-store.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index a9d2af558..67c297bae 100644 --- a/docs/close-netflix.md +++ b/docs/close-netflix.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-netflix.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index 03568344e..28e9a501f 100644 --- a/docs/close-notepad.md +++ b/docs/close-notepad.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-notepad.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index 9fe1fad9e..05ab8d8ff 100644 --- a/docs/close-obs-studio.md +++ b/docs/close-obs-studio.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-obs-studio.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index da14bef2d..26fdf0589 100644 --- a/docs/close-one-calendar.md +++ b/docs/close-one-calendar.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-one-calendar.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index c7ae28c25..8c5b0cb28 100644 --- a/docs/close-outlook.md +++ b/docs/close-outlook.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-outlook.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index 007d94360..8a87572c9 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-paint-three-d.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-program.md b/docs/close-program.md index 9ce03cdc8..a53f75657 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -118,4 +118,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-program.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index 729bf28c7..1e3061ba5 100644 --- a/docs/close-serenade.md +++ b/docs/close-serenade.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-serenade.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index e91a72740..27ba67b31 100644 --- a/docs/close-snipping-tool.md +++ b/docs/close-snipping-tool.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-snipping-tool.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index 12c4466ed..2d43c2445 100644 --- a/docs/close-spotify.md +++ b/docs/close-spotify.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-spotify.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 2d0daad69..e9cc0ddc3 100644 --- a/docs/close-task-manager.md +++ b/docs/close-task-manager.md @@ -48,4 +48,4 @@ tskill taskmgr exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-task-manager.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index cfe5a15ac..a92fd2f35 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-three-d-viewer.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index eaa4904a6..b1aabd998 100644 --- a/docs/close-thunderbird.md +++ b/docs/close-thunderbird.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-thunderbird.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index ecb9abb88..ae39d6299 100644 --- a/docs/close-visual-studio.md +++ b/docs/close-visual-studio.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-visual-studio.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index 91bc81565..a25d4f83e 100644 --- a/docs/close-vlc.md +++ b/docs/close-vlc.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-vlc.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index 33bfafa70..fe322db7c 100644 --- a/docs/close-windows-terminal.md +++ b/docs/close-windows-terminal.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of close-windows-terminal.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/configure-git.md b/docs/configure-git.md index 2d042215c..03c1b9985 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -141,4 +141,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of configure-git.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index 5466dd782..c4ae5a4c6 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of connect-vpn.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index 59dc689b1..28351fc8c 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-csv2txt.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index 7707e7706..985ae5206 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -88,4 +88,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-dir2zip.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index d393f837d..7b8d17fd9 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-docx2md.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index 5dee0374a..bda204f8b 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-frames2mp4.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index 68aee3662..16e987627 100644 --- a/docs/convert-image2ascii.md +++ b/docs/convert-image2ascii.md @@ -114,4 +114,4 @@ Script Content } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-image2ascii.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index d8bd31df6..8276694d6 100644 --- a/docs/convert-image2blurred-frames.md +++ b/docs/convert-image2blurred-frames.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-image2blurred-frames.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index 90a2efdb7..39188f059 100644 --- a/docs/convert-image2pixelated-frames.md +++ b/docs/convert-image2pixelated-frames.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-image2pixelated-frames.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index 85b78e389..360583844 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} ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2docx.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index 8eba34375..659dc42dc 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -80,4 +80,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2html.ps1 as of 11/08/2024 12:37:50)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index e6a920cea..f91760526 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} ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2pdf.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index 7d32b47a2..c69d69107 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -119,4 +119,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-mysql2csv.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index 19a519582..e92c0fb42 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-ps2bat.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index 5dd5d462e..c491b9ef0 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -178,11 +178,11 @@ try { "``````" "" $now = [datetime]::Now - "*(generated by convert-ps2md.ps1 using the comment-based help of $ScriptName as of $now)*" + "*(generated by convert-ps2md.ps1 as of $now)*" } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-ps2md.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index e8f730ac1..e67b37bb7 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -120,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-sql2csv.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index 0542d89eb..473a7416b 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of convert-txt2wav.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index 7d634c7b6..ec981809d 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -115,4 +115,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of copy-photos-sorted.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/count-characters.md b/docs/count-characters.md index 37600a30a..d2e5a02f2 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of count-characters.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/count-lines.md b/docs/count-lines.md index 8b3b7336d..4adc0393d 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of count-lines.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index e39a57a79..4a497a607 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -197,4 +197,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of decrypt-file.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index af231653b..813e93a1c 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of disable-ipv6.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index dc1c65bd8..87ebf2cf9 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of disconnect-vpn.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/download-dir.md b/docs/download-dir.md index 39c7a8db0..5f37efe97 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of download-dir.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/download-file.md b/docs/download-file.md index e0a71cbf6..40d66a8f0 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of download-file.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/edit.md b/docs/edit.md index a4c10555c..7df8ff191 100644 --- a/docs/edit.md +++ b/docs/edit.md @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of edit.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 4646933e9..56671c180 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -330,4 +330,4 @@ Else exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of enable-crash-dumps.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index 0920ff237..ffdffd12f 100644 --- a/docs/enable-god-mode.md +++ b/docs/enable-god-mode.md @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of enable-god-mode.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index 5d4369278..61a06d123 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of enable-ipv6.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index 73d92fe47..fb8e11102 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -182,4 +182,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of encrypt-file.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index bcf242dd0..9ea75c59a 100644 --- a/docs/enter-chat.md +++ b/docs/enter-chat.md @@ -125,4 +125,4 @@ function Get-ChatChannel } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of enter-chat.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/enter-host.md b/docs/enter-host.md index f3fef1080..ee2f0ae80 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -94,4 +94,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of enter-host.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index 93edfb75c..224bde9e5 100644 --- a/docs/export-to-manuals.md +++ b/docs/export-to-manuals.md @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of export-to-manuals.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index 811781d75..f452309c7 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of fetch-repo.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 83b9f1a7b..e07652ca4 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of fetch-repos.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index 2234094c1..cc87ca44e 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -64,4 +64,4 @@ try { ``` -*(generated by convert-ps2md.ps1 using the comment-based help of firefox-installer.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/get-md5.md b/docs/get-md5.md index aa9e1c2c0..8cb468ce9 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of get-md5.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index 04b3fc4b6..578119727 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of get-sha1.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index fb6c5390e..fd6f6e808 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of get-sha256.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/hello-world.md b/docs/hello-world.md index 0eb0db845..cdad26620 100644 --- a/docs/hello-world.md +++ b/docs/hello-world.md @@ -50,4 +50,4 @@ Write-Output "Hello World" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of hello-world.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 558d93860..db011911f 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of hibernate.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/import-vm.md b/docs/import-vm.md index d24b9e2ba..830e35402 100644 --- a/docs/import-vm.md +++ b/docs/import-vm.md @@ -23,4 +23,4 @@ Start-VM $VMName exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of import-vm.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index dc4abe12a..f8abdd390 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -68,4 +68,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of inspect-exe.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index 677edf1c8..0c75cb8f0 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-audacity.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index f5fb422d6..3545033c3 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-basic-apps.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 3a4ca4696..5a7d1823f 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-basic-snaps.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index bc3b8ae3a..ff1287d91 100644 --- a/docs/install-calibre-server.md +++ b/docs/install-calibre-server.md @@ -119,4 +119,4 @@ exit 1 } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-calibre-server.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index 79a18ab00..f865cf6d5 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-chocolatey.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index c3b1be062..2be7a0d65 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-chrome.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index ca8cd6d2c..702d0f64e 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-crystal-disk-info.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index bf60454b7..fa5d4b66e 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-crystal-disk-mark.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-discord.md b/docs/install-discord.md index 5ce2ccb40..9f91bb93d 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-discord.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-edge.md b/docs/install-edge.md index c2a459c41..6e4a76cae 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-edge.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index 28e78c64c..bdc21cc49 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-evcc.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index c17fdcdea..9a93ebb78 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-firefox.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index 5bd55e914..e38cad4df 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-git-extensions.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index 4d4be7500..1e0ff1a02 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-git-for-windows.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index 9bc45e78b..3aef0264f 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-github-cli.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index efb531edf..8064d16c8 100644 --- a/docs/install-gitlab.md +++ b/docs/install-gitlab.md @@ -31,4 +31,4 @@ Script Content ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-gitlab.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index b0e5052fc..32ebb28d7 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-irfanview.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index 519c73914..7b43c61d8 100644 --- a/docs/install-knot-resolver.md +++ b/docs/install-knot-resolver.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-knot-resolver.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index b31f1213e..6b4081c18 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-microsoft-teams.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index 328c8a3b1..0dc3ae3fe 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-netflix.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index c97c9ea96..7ee00dbf4 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-obs-studio.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index c01dac15e..9cdc62174 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -32,4 +32,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-octoprint.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index b93c7e125..a71864e36 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-one-calendar.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index 37f01b27a..4dfc374bd 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-opera-browser.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index 78254f5cf..0ba0c0ae2 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-opera-gx.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index 1913f2301..a1946f7d5 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-paint-3d.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index e9f7e53bb..f832370ac 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-power-toys.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index 88b9fb8cb..7d49ff6cd 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -651,4 +651,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-powershell.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index b1cf443e9..bc60a252e 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-rufus.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index 01fdd04da..bdd7a5226 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-salesforce-cli.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index 40ee39db8..ef19504b1 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-signal-cli.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-skype.md b/docs/install-skype.md index c3dbb2445..e4cd5bc0e 100644 --- a/docs/install-skype.md +++ b/docs/install-skype.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-skype.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index 1c135fba4..d45c01993 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-spotify.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index 257c6f2ee..0a228e2a6 100644 --- a/docs/install-ssh-client.md +++ b/docs/install-ssh-client.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-ssh-client.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index 5dd4013cc..145c2d5f3 100644 --- a/docs/install-ssh-server.md +++ b/docs/install-ssh-server.md @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-ssh-server.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index 889dead43..df66cfcc6 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-thunderbird.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-twitter.md b/docs/install-twitter.md index 5fadef1f1..b98c02d8e 100644 --- a/docs/install-twitter.md +++ b/docs/install-twitter.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-twitter.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index 7a9e6b814..5cd47066f 100644 --- a/docs/install-unbound-server.md +++ b/docs/install-unbound-server.md @@ -99,4 +99,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-unbound-server.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-updates.md b/docs/install-updates.md index 78f11dbff..3141033b7 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-updates.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index 3b79f5ed4..f3d9f414c 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-visual-studio-code.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index 69c307c90..c731fc347 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-vivaldi.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index 2f9c8ed98..47f7f23c4 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-vlc.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index c5a7ccb08..fdcc3d80c 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-windows-terminal.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index dca20587c..6f515f5b4 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-wsl.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index 527e079df..19d120c6d 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of install-zoom.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index c52f6c9a9..e201bf6f1 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of introduce-powershell.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index 3102682c0..64b9e9d8e 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-aliases.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index 8112843ad..36e8a0c9f 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -120,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-anagrams.ps1 as of 11/08/2024 12:37:51)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/list-apps.md b/docs/list-apps.md index 4cbcc32c3..f54534965 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-apps.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index 4a7e3c182..ac318de8d 100644 --- a/docs/list-ascii-table.md +++ b/docs/list-ascii-table.md @@ -120,4 +120,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-ascii-table.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index feb9b5f21..af6094d7c 100644 --- a/docs/list-automatic-variables.md +++ b/docs/list-automatic-variables.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-automatic-variables.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index d4cbcb440..07f96e0d4 100644 --- a/docs/list-battery-status.md +++ b/docs/list-battery-status.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-battery-status.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/list-bios.md b/docs/list-bios.md index 1e3111c8f..12209e287 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-bios.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 0d2204722..4c67b793d 100644 --- a/docs/list-bluetooth-devices.md +++ b/docs/list-bluetooth-devices.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-bluetooth-devices.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/list-branches.md b/docs/list-branches.md index 657a70b4c..cc9f2f976 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -107,4 +107,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-branches.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index 5196218d6..d4e4fc65b 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -245,4 +245,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-calendar.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index b9935385f..ff574f0db 100644 --- a/docs/list-cheat-sheet.md +++ b/docs/list-cheat-sheet.md @@ -75,4 +75,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-cheat-sheet.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index 1a87caca4..fcbcd34e8 100644 --- a/docs/list-city-weather.md +++ b/docs/list-city-weather.md @@ -51,4 +51,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-city-weather.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index fca3cc1da..99345b867 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -358,4 +358,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-cli-tools.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index d375d827d..8ef792ce2 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-clipboard.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index b568a08d5..0165d3974 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-cmdlets.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index 3f428f766..d6573f940 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-coffee-prices.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index 483db1685..5a1dee2ae 100644 --- a/docs/list-commit-stats.md +++ b/docs/list-commit-stats.md @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-commit-stats.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-commits.md b/docs/list-commits.md index 1cc5b9550..bbc49783e 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -121,4 +121,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-commits.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 08610af46..75b5b1471 100644 --- a/docs/list-console-colors.md +++ b/docs/list-console-colors.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-console-colors.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-countries.md b/docs/list-countries.md index d55b4cff6..23fde7db0 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -52,4 +52,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-countries.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index 55b28e116..cae666c22 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-cpu.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index 6689b03cf..4afb3a178 100644 --- a/docs/list-crypto-rates.md +++ b/docs/list-crypto-rates.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-crypto-rates.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index 76b7152f0..893b92188 100644 --- a/docs/list-defender-settings.md +++ b/docs/list-defender-settings.md @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-defender-settings.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index d62792406..d56738ba2 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -125,4 +125,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-dir-tree.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index ddc1770ce..f34cdf225 100644 --- a/docs/list-dns-servers.md +++ b/docs/list-dns-servers.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-dns-servers.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-drives.md b/docs/list-drives.md index e3c0db945..53c3e3e54 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-drives.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index df8992b05..358284896 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-earthquakes.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index bec0eca5b..a678770b0 100644 --- a/docs/list-emojis.md +++ b/docs/list-emojis.md @@ -72,4 +72,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-emojis.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 22aa223c8..ff5f141bc 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-empty-dirs.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index ab50e5fdc..f6eb30be2 100644 --- a/docs/list-empty-files.md +++ b/docs/list-empty-files.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-empty-files.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index f0feec5b7..6a574d500 100644 --- a/docs/list-encrypted-files.md +++ b/docs/list-encrypted-files.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-encrypted-files.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index cbce5dc2c..f92c34cbc 100644 --- a/docs/list-environment-variables.md +++ b/docs/list-environment-variables.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-environment-variables.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index c9676a839..fce084f5c 100644 --- a/docs/list-error-types.md +++ b/docs/list-error-types.md @@ -26,4 +26,4 @@ Script Content } | Select BaseType,Name,FullName ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-error-types.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index 66d89ac78..5707389da 100644 --- a/docs/list-exchange-rates.md +++ b/docs/list-exchange-rates.md @@ -95,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-exchange-rates.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-executables.md b/docs/list-executables.md index 375eb961e..0cce47d00 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-executables.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index f57e12da6..853644746 100644 --- a/docs/list-fibonacci.md +++ b/docs/list-fibonacci.md @@ -43,4 +43,4 @@ foreach ($i in 0..100) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-fibonacci.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-files.md b/docs/list-files.md index ba97a5bf3..41ad8c45a 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -68,4 +68,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-files.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-folder.md b/docs/list-folder.md index bf5d0f327..89d3c2b63 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-folder.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index 82285c1e3..032bb2204 100644 --- a/docs/list-fritzbox-calls.md +++ b/docs/list-fritzbox-calls.md @@ -153,4 +153,4 @@ echo $Result exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-fritzbox-calls.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index eae453978..e745e175d 100644 --- a/docs/list-fritzbox-devices.md +++ b/docs/list-fritzbox-devices.md @@ -105,4 +105,4 @@ $HostTable | format-table -property Active,IPAddress,MACAddress,HostName,Interfa exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-fritzbox-devices.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index 85b913ac0..62a4f044d 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-headlines.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index 6431a2125..40ea3b914 100644 --- a/docs/list-hidden-files.md +++ b/docs/list-hidden-files.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-hidden-files.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index 1503383e6..661151af2 100644 --- a/docs/list-installed-languages.md +++ b/docs/list-installed-languages.md @@ -50,4 +50,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-installed-languages.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index 6e846cd8a..362535346 100644 --- a/docs/list-installed-scripts.md +++ b/docs/list-installed-scripts.md @@ -48,4 +48,4 @@ Get-InstalledScript exit # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-installed-scripts.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index 1ac576344..38fa8daf7 100644 --- a/docs/list-installed-software.md +++ b/docs/list-installed-software.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-installed-software.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index ee41f0be8..35cc9b0d5 100644 --- a/docs/list-internet-ip.md +++ b/docs/list-internet-ip.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-internet-ip.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index cd11116e6..6ec4d6437 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-ipv6.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index f9a2396f4..6696739c3 100644 --- a/docs/list-latest-tag.md +++ b/docs/list-latest-tag.md @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-latest-tag.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index de34c781e..39962f4ed 100644 --- a/docs/list-latest-tags.md +++ b/docs/list-latest-tags.md @@ -85,4 +85,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-latest-tags.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index f84101159..390eeac3b 100644 --- a/docs/list-local-ip.md +++ b/docs/list-local-ip.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-local-ip.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index f3f0a986d..c1b80ba6f 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-mDNS.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-memos.md b/docs/list-memos.md index 6842996e7..e90113ee7 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -68,4 +68,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-memos.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index e5d48f402..04bb640c9 100644 --- a/docs/list-mysql-tables.md +++ b/docs/list-mysql-tables.md @@ -90,4 +90,4 @@ $result = Invoke-MySqlQuery -ConnectionString "server=$server; database=$databa $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-mysql-tables.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index 969147b3d..e5aed72c9 100644 --- a/docs/list-network-connections.md +++ b/docs/list-network-connections.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-network-connections.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index be3ef42f9..0a4e30ae5 100644 --- a/docs/list-network-neighbors.md +++ b/docs/list-network-neighbors.md @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-network-neighbors.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index 50827b440..5cf9218b1 100644 --- a/docs/list-network-routes.md +++ b/docs/list-network-routes.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-network-routes.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index 553640f04..7fa40a976 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-network-shares.ps1 as of 11/08/2024 12:37:52)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-news.md b/docs/list-news.md index b50afbd23..076a9679d 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -112,4 +112,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-news.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-nic.md b/docs/list-nic.md index 37d83dffb..6eab291c4 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-nic.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index effa2dbea..a3069c4fb 100644 --- a/docs/list-nina-warnings.md +++ b/docs/list-nina-warnings.md @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-nina-warnings.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index 548294538..823fd466d 100644 --- a/docs/list-old-branches.md +++ b/docs/list-old-branches.md @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-old-branches.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index 39f08765a..2fbe61eb5 100644 --- a/docs/list-os-releases.md +++ b/docs/list-os-releases.md @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-os-releases.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index e27e4773e..bd44df98d 100644 --- a/docs/list-os-updates.md +++ b/docs/list-os-updates.md @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-os-updates.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-os.md b/docs/list-os.md index 4a7f2cf8d..15ebd119b 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-os.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index c9dba7699..4dbc42987 100644 --- a/docs/list-outlook-inbox.md +++ b/docs/list-outlook-inbox.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-outlook-inbox.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index dac178712..5dd81c408 100644 --- a/docs/list-outlook-sent.md +++ b/docs/list-outlook-sent.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-outlook-sent.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* diff --git a/docs/list-passwords.md b/docs/list-passwords.md index 2cd70ea49..f18a8e216 100644 --- a/docs/list-passwords.md +++ b/docs/list-passwords.md @@ -111,4 +111,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-passwords.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-pins.md b/docs/list-pins.md index c261af46e..138719293 100644 --- a/docs/list-pins.md +++ b/docs/list-pins.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-pins.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index 990e7ee94..90a1870c4 100644 --- a/docs/list-power-schemes.md +++ b/docs/list-power-schemes.md @@ -21,4 +21,4 @@ powercfg /list exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-power-schemes.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index c270dd3c5..8bb452cc2 100644 --- a/docs/list-powershell-modules.md +++ b/docs/list-powershell-modules.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-powershell-modules.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index 7da3f3a7d..5e319fb47 100644 --- a/docs/list-powershell-profiles.md +++ b/docs/list-powershell-profiles.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-powershell-profiles.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index a764d1ee7..c30f13b18 100644 --- a/docs/list-powershell-verbs.md +++ b/docs/list-powershell-verbs.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-powershell-verbs.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index 569297492..a452ab01d 100644 --- a/docs/list-print-jobs.md +++ b/docs/list-print-jobs.md @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-print-jobs.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-printers.md b/docs/list-printers.md index e0d705c0e..6404f6c93 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-printers.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-processes.md b/docs/list-processes.md index e830d317f..eb69b2e04 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-processes.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index 762dd3b14..43766f29e 100644 --- a/docs/list-pull-requests.md +++ b/docs/list-pull-requests.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-pull-requests.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-ram.md b/docs/list-ram.md index 626334be4..664b12274 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-ram.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index b52dd9022..54d6a553e 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-read-only-files.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index faee7845d..1adbeb1b5 100644 --- a/docs/list-recycle-bin.md +++ b/docs/list-recycle-bin.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-recycle-bin.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-repos.md b/docs/list-repos.md index 0b4c71d38..fd38f9458 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -103,4 +103,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-repos.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index a27965a79..c18e6d95d 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-scripts.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index afbc9cf5c..50161b550 100644 --- a/docs/list-scsi-devices.md +++ b/docs/list-scsi-devices.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-scsi-devices.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-services.md b/docs/list-services.md index e69e59ebb..37eb9a130 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-services.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index 32c11a628..0641a2bef 100644 --- a/docs/list-special-folders.md +++ b/docs/list-special-folders.md @@ -105,4 +105,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-special-folders.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index d433b6722..eb1ca4292 100644 --- a/docs/list-sql-tables.md +++ b/docs/list-sql-tables.md @@ -93,4 +93,4 @@ $result = Invoke-SqlServerQuery -Credential $creds -ConnectionTimeout 10000 -Dat $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-sql-tables.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index 09665fca3..a2221cc70 100644 --- a/docs/list-ssh-key.md +++ b/docs/list-ssh-key.md @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-ssh-key.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index 0f8753a6a..f439cfdb2 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-submodules.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index 8c1e68620..307d8077a 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-suggestions.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index f2470eca4..24a5fd87e 100644 --- a/docs/list-system-devices.md +++ b/docs/list-system-devices.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-system-devices.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index cb116efaa..5f7ae8dbb 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-system-files.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index f3a179b2e..36c778cd5 100644 --- a/docs/list-system-info.md +++ b/docs/list-system-info.md @@ -141,4 +141,4 @@ $info exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-system-info.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-tags.md b/docs/list-tags.md index 0dddb528f..7993955ed 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-tags.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index 522858ee0..665c6d84b 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -44,4 +44,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-tasks.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index cab8b517c..83b29ff19 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-timezone.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 29ac877ba..663cb42bb 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-timezones.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index 30cc931a9..a7fba5ab1 100644 --- a/docs/list-tiobe-index.md +++ b/docs/list-tiobe-index.md @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-tiobe-index.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index 97e498774..7d4746152 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -95,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-unused-files.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-updates.md b/docs/list-updates.md index 111b5a687..dcdabe966 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-updates.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index dbf397bfb..441dff14e 100644 --- a/docs/list-usb-devices.md +++ b/docs/list-usb-devices.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-usb-devices.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 418d57819..2646d8cc7 100644 --- a/docs/list-user-accounts.md +++ b/docs/list-user-accounts.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-user-accounts.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index d545b9e79..de59edc56 100644 --- a/docs/list-user-groups.md +++ b/docs/list-user-groups.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-user-groups.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-voices.md b/docs/list-voices.md index c4dca5f68..784329b55 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-voices.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-weather.md b/docs/list-weather.md index 25ec6288e..321533d9e 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -177,4 +177,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-weather.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index 46af4a270..f64cc9477 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-wifi.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index 34d807f51..9734b5c49 100644 --- a/docs/list-window-titles.md +++ b/docs/list-window-titles.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-window-titles.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index c218bcaff..2643a898f 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-workdir.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index 3092a7eb4..b98eff280 100644 --- a/docs/list-wsl-distros.md +++ b/docs/list-wsl-distros.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of list-wsl-distros.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/locate-city.md b/docs/locate-city.md index 211e28af1..0a447c977 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of locate-city.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index b304b6931..23bb56e03 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -46,4 +46,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of locate-ipaddress.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index 037adc59d..e1e1b36ec 100644 --- a/docs/locate-my-phone.md +++ b/docs/locate-my-phone.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of locate-my-phone.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index e2e7c3f3a..98cc602de 100644 --- a/docs/locate-zip-code.md +++ b/docs/locate-zip-code.md @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of locate-zip-code.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index fc718619d..7187e2a56 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of lock-desktop.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/log-off.md b/docs/log-off.md index ecc7a6426..d959d9199 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of log-off.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/make-install.md b/docs/make-install.md index 5520936a7..c30dc3549 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of make-install.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index 137c89c31..725f114cc 100644 --- a/docs/measure-BubbleSort.md +++ b/docs/measure-BubbleSort.md @@ -92,4 +92,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-BubbleSort.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index d567aaaa6..aff9d066a 100644 --- a/docs/measure-BucketSort.md +++ b/docs/measure-BucketSort.md @@ -120,4 +120,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-BucketSort.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index 68bf98846..417c6329c 100644 --- a/docs/measure-CountingSort.md +++ b/docs/measure-CountingSort.md @@ -111,4 +111,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-CountingSort.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index 44b1493ad..a4f794b7e 100644 --- a/docs/measure-HeapSort.md +++ b/docs/measure-HeapSort.md @@ -126,4 +126,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-HeapSort.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index 541581466..174d25d13 100644 --- a/docs/measure-InsertionSort.md +++ b/docs/measure-InsertionSort.md @@ -95,4 +95,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-InsertionSort.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index 1f1868083..663d303dd 100644 --- a/docs/measure-MergeSort.md +++ b/docs/measure-MergeSort.md @@ -120,4 +120,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-MergeSort.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index cf4cf672b..4d5d9c03a 100644 --- a/docs/measure-QuickSort.md +++ b/docs/measure-QuickSort.md @@ -101,4 +101,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-QuickSort.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index 2b1beab38..696473bfa 100644 --- a/docs/measure-SelectionSort.md +++ b/docs/measure-SelectionSort.md @@ -94,4 +94,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-SelectionSort.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index 3a0d7b8f1..47f0a9604 100644 --- a/docs/measure-sorting-algorithms.md +++ b/docs/measure-sorting-algorithms.md @@ -73,4 +73,4 @@ param([int]$numIntegers = 3000) exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of measure-sorting-algorithms.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index d8d87dada..ffca173fe 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of merry-christmas.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index 6bb73f47e..9ecd22673 100644 --- a/docs/minimize-all-windows.md +++ b/docs/minimize-all-windows.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of minimize-all-windows.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index 81750ef96..87f1f3d3b 100644 --- a/docs/move-mouse-pointer.md +++ b/docs/move-mouse-pointer.md @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of move-mouse-pointer.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/move-vm.md b/docs/move-vm.md index d5bac3c97..2a175f655 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of move-vm.ps1 as of 11/08/2024 12:37:53)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/my-profile.md b/docs/my-profile.md index 21935b91b..0101a2f7c 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of my-profile.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/new-branch.md b/docs/new-branch.md index 5ee1801f3..ecbc90845 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -128,4 +128,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-branch.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 730eb8ed8..245e5abd1 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-dir.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/new-email.md b/docs/new-email.md index 191890408..f41b49a6f 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-email.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index 67b9d3e9c..733d041a3 100644 --- a/docs/new-linux-vm.md +++ b/docs/new-linux-vm.md @@ -38,4 +38,4 @@ $VMName = "linux" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-linux-vm.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index cc8f3dcda..5c2c55785 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-qrcode.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index 643e5db6d..c48e50781 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} ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-reboot-task.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/new-script.md b/docs/new-script.md index 2cc4cec45..7c3d89d89 100644 --- a/docs/new-script.md +++ b/docs/new-script.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-script.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index b6e83039f..b24e27934 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-shortcut.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index 8edaa00d7..7dbbe6add 100644 --- a/docs/new-ssh-key.md +++ b/docs/new-ssh-key.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-ssh-key.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index 82d2e440e..1b25e82ba 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-symlink.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/new-tag.md b/docs/new-tag.md index 2189835e9..72cba5d9d 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-tag.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/new-user.md b/docs/new-user.md index 3d162ee73..77131b30b 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-user.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index 283c8f7ef..ba480fb95 100644 --- a/docs/new-windows-vm.md +++ b/docs/new-windows-vm.md @@ -37,4 +37,4 @@ $VMName = "windows" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of new-windows-vm.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index 6f24532ab..48968ff29 100644 --- a/docs/on-desktop-login.md +++ b/docs/on-desktop-login.md @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of on-desktop-login.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-URL.md b/docs/open-URL.md index ecd03b308..3e45d6435 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -86,4 +86,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-URL.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index 27d060d38..a44ce454e 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -49,4 +49,4 @@ exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-apps-folder.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index 3e8e2c00f..172c6cd26 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-auto-start-folder.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index 84cee47da..2c4d80c9f 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-bing-maps.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index ac6f30882..9a1d2098e 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-booking-com.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index 9876bec33..36aed508b 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-c-drive.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index 16b8de86c..ad3b31a4a 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-calculator.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index 3eea66db4..56087ab85 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-chrome.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-clock.md b/docs/open-clock.md index 3b04763df..34f0c1cdc 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-clock.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index b916eb548..f59698c21 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-cortana.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index 448b6c10d..abd4645b7 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:" ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-d-drive.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 74c5c6664..1b50a12af 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-dashboards.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index ef1511560..646cf7e16 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-deep-l-translator.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index 1b7852292..598704e8c 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-default-browser.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index 6edd7ec1f..b701c38f8 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-desktop-folder.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index 6c909c87a..308258a67 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-documents-folder.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index 7266c7cde..8cb103737 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-downloads-folder.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index bc2266ca7..be835cb3a 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-dropbox-folder.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index da82c797e..807522377 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-duck-duck-go.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index f61fba6a1..5cd232176 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:" ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-e-drive.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-edge.md b/docs/open-edge.md index 6dc0a723d..7ddbac51e 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -48,4 +48,4 @@ Start-Process microsoft-edge:// exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-edge.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index 8a9c15011..09b1a4ba8 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-egg-timer.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index a0f7de071..00c77deee 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-email-client.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index 84f69bb3c..0e15ffd3e 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-f-drive.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index f3b9cc82b..692313933 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-file-explorer.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index 516f2cdd0..71315a3cd 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-fire-place.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index 4c02769d8..45474ba58 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-firefox.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index ea02df4b1..259379bd9 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-flight-radar.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index 8f0721778..1e8c6245e 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-g-drive.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index bd6cb47ac..92b21b824 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -48,4 +48,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-git-extensions.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index 68ad0d821..48cd8e34d 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-books.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index 9650b23dd..c9490f470 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-calendar.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index df2a022f5..7b4e01659 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-contacts.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index 6690d15e7..6e6d55da2 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-docs.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 6fcd0dbfd..ca499e898 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-earth.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index 40eac31cb..8c610e562 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-mail.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index 966754a77..9e4b5d0d0 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-maps.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index 3f19a43f0..b3e9565ec 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-news.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index bb20738e0..240136102 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-photos.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index 720444188..dbc48bfe0 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-play.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index e349c2a2a..bb9b6a149 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-search.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index 6d783eaef..4d7ec3bac 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-stadia.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index f576e7e1f..105f6c544 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-google-translate.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index c305faff2..f8590a9ab 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-home-folder.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 6f4c56879..5bfd1b518 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-internet-archive.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index 2e3fc0b0b..f023f48f3 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-jitsi-meet.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index 051ce8e04..e8834a44b 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-m-drive.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index 810faaac2..3d51662fd 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-magnifier.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index 48b6a3ef7..8b5c3d15c 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-paint.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index 03ebf9cba..b5895eed1 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -48,4 +48,4 @@ Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-solitaire.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index 60d6b9ba4..d7fc50a31 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-store.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index 269479726..f6e6d3ac4 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-microsoft-teams.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index 3517935cb..06b7ce79f 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-music-folder.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index 8588bf168..6a073ff55 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -48,4 +48,4 @@ Start-Process netflix: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-netflix.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index 8b157dbde..2159d8e68 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-notepad.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index d068a9e1a..e28c5fbf3 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -47,4 +47,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-obs-studio.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index 98dc9fc86..003dbcfaf 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-office-365.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index cc7712542..d6f59eea1 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-one-drive-folder.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index a58f723a2..b45e11eff 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -47,4 +47,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-outlook.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index 9e2cd6cae..08122f3a6 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-paint-three-d.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index 8f38528a4..15ad9959d 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-pictures-folder.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index a9ee7635d..8eabe25b4 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -64,4 +64,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-rdp.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index 64fb13aa4..69e35dbbc 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-recycle-bin-folder.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index ed9e769d0..3ac6a43f5 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-remote-desktop.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 7caac2f62..1278b7528 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-repos-folder.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index b636bca42..a10a4cc64 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-screen-clip.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index de2eb32e2..213471078 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-screen-sketch.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-skype.md b/docs/open-skype.md index d4ee7364a..14cf1a52c 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-skype.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index 76646f5a0..8e4542b0c 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -48,4 +48,4 @@ Start-Process SnippingTool.exe exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-snipping-tool.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index 81f8e9e46..92d58376a 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-speed-test.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index 89dd3bea4..f91ebc0fe 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -48,4 +48,4 @@ Start-Process spotify: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-spotify.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index 8c1ad914a..fa3c220e5 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-stack-overflow.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 3c42464ca..993c96626 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-start-page.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index 5ffc029d4..b01d56110 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-street-map.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index 00b3a8502..9a466f7d4 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-task-manager.ps1 as of 11/08/2024 12:37:54)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index b3434a714..bea485ea4 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -50,4 +50,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-temporary-folder.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index f89ebf891..05fc1a5b9 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-three-d-viewer.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index 85e09d285..da7b39781 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -45,4 +45,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-thunderbird.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index 60b101cff..f1a7035e2 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-videos-folders.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index 246d55d4b..325809b97 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -47,4 +47,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-visual-studio.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index b62da015f..dfb9b2e05 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-voice-recorder.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 57553569c..1acd9ffd2 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-vpn-settings.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index 519d1741b..93303de1e 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -48,4 +48,4 @@ Start-Process windowsdefender: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-windows-defender.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index 1d075e6f2..b1d0b6f43 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -48,4 +48,4 @@ Start-Process wt.exe exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-windows-terminal.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/open-xing.md b/docs/open-xing.md index 5c2b356c1..0f23919c3 100644 --- a/docs/open-xing.md +++ b/docs/open-xing.md @@ -48,4 +48,4 @@ Start-Process xing: exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of open-xing.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index 709ea6bdc..e31926634 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -151,4 +151,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of pick-commit.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/ping-host.md b/docs/ping-host.md index 654cfb0f1..3fb950f8f 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of ping-host.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index e385f92b6..52ea992e3 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -96,4 +96,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of ping-internet.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index 25f23b84f..acf7a96d4 100644 --- a/docs/ping-local-devices.md +++ b/docs/ping-local-devices.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of ping-local-devices.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index 3a8de8bc6..41dadd9b7 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -99,4 +99,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of ping-weather.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index c204bb528..ab30f9972 100644 --- a/docs/play-bee-sound.md +++ b/docs/play-bee-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-bee-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index 09e64dad8..1e9bc189f 100644 --- a/docs/play-beep-sound.md +++ b/docs/play-beep-sound.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-beep-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index 96dfa91fe..26ff8a3ca 100644 --- a/docs/play-big-ben.md +++ b/docs/play-big-ben.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-big-ben.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index c35485629..56174c1bc 100644 --- a/docs/play-cat-sound.md +++ b/docs/play-cat-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-cat-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-chess.md b/docs/play-chess.md index 65f799af4..52b93527d 100644 --- a/docs/play-chess.md +++ b/docs/play-chess.md @@ -1260,4 +1260,4 @@ while ($Script:gameStatus -eq [gamestatus]::ongoing) { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-chess.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index bd5d69be0..043a42456 100644 --- a/docs/play-cow-sound.md +++ b/docs/play-cow-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-cow-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index 5ee42de10..acaf9aaa4 100644 --- a/docs/play-dog-sound.md +++ b/docs/play-dog-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-dog-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index fa0f77ae0..fc85c797d 100644 --- a/docs/play-donkey-sound.md +++ b/docs/play-donkey-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-donkey-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index 9e6157752..bcadcfd5d 100644 --- a/docs/play-elephant-sound.md +++ b/docs/play-elephant-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-elephant-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index a7ee108fd..e7e9e0529 100644 --- a/docs/play-elk-sound.md +++ b/docs/play-elk-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-elk-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-files.md b/docs/play-files.md index 3f62ce91e..9662513e6 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-files.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index 71170730f..e45f8635e 100644 --- a/docs/play-frog-sound.md +++ b/docs/play-frog-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-frog-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index ff6f4e885..7a0644964 100644 --- a/docs/play-goat-sound.md +++ b/docs/play-goat-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-goat-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index 7d00c4e95..40e087871 100644 --- a/docs/play-gorilla-sound.md +++ b/docs/play-gorilla-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-gorilla-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index 53c2cb070..d57719058 100644 --- a/docs/play-happy-birthday.md +++ b/docs/play-happy-birthday.md @@ -79,4 +79,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-happy-birthday.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 5e9c0c240..d8fdc39c7 100644 --- a/docs/play-horse-sound.md +++ b/docs/play-horse-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-horse-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index eab364f86..396cec1d4 100644 --- a/docs/play-imperial-march.md +++ b/docs/play-imperial-march.md @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-imperial-march.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index 0ba96ab4d..1c10d933e 100644 --- a/docs/play-jingle-bells.md +++ b/docs/play-jingle-bells.md @@ -201,4 +201,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-jingle-bells.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index 35c745bce..b0f65a9f1 100644 --- a/docs/play-lion-sound.md +++ b/docs/play-lion-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-lion-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index 0e3b309bd..7f3a46afa 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-m3u.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index 42d62c663..2b894f5d8 100644 --- a/docs/play-mission-impossible.md +++ b/docs/play-mission-impossible.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-mission-impossible.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index c780c0410..80a98a805 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-mp3.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index 66b0f0c04..febc9cf08 100644 --- a/docs/play-parrot-sound.md +++ b/docs/play-parrot-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-parrot-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index cca13603a..34da6ab43 100644 --- a/docs/play-pig-sound.md +++ b/docs/play-pig-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-pig-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-pong.md b/docs/play-pong.md index b2a017875..a1b77289e 100644 --- a/docs/play-pong.md +++ b/docs/play-pong.md @@ -176,4 +176,4 @@ while ($true) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-pong.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index 57cd7e01f..6d91f7ff9 100644 --- a/docs/play-rattlesnake-sound.md +++ b/docs/play-rattlesnake-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-rattlesnake-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 389e1c1e8..294bccecb 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -49,4 +49,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-rick.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-snake.md b/docs/play-snake.md index b20d1bfb1..1225545d3 100644 --- a/docs/play-snake.md +++ b/docs/play-snake.md @@ -86,4 +86,4 @@ Start-Sleep -milliseconds 300 exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-snake.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index 98dfc5a00..8c67f366f 100644 --- a/docs/play-super-mario.md +++ b/docs/play-super-mario.md @@ -71,4 +71,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-super-mario.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index 943b57241..f86528936 100644 --- a/docs/play-system-sounds.md +++ b/docs/play-system-sounds.md @@ -55,4 +55,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-system-sounds.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index 53c1d5e9f..41b12aa94 100644 --- a/docs/play-tetris-melody.md +++ b/docs/play-tetris-melody.md @@ -161,4 +161,4 @@ Start-Sleep -milliseconds 500 exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-tetris-melody.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index e50432de2..f12897324 100644 --- a/docs/play-vulture-sound.md +++ b/docs/play-vulture-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-vulture-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index 4fa51dbdb..ec3103ffa 100644 --- a/docs/play-wolf-sound.md +++ b/docs/play-wolf-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of play-wolf-sound.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/poweroff.md b/docs/poweroff.md index 3b65c5cc2..284cbe67e 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of poweroff.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/print-image.md b/docs/print-image.md index 728f6c18e..7c8b207ab 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of print-image.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index 1b18ae898..fab099dee 100644 --- a/docs/publish-to-ipfs.md +++ b/docs/publish-to-ipfs.md @@ -119,4 +119,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of publish-to-ipfs.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index 3e906b760..ce6f66a27 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of pull-repo.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index 8394ac15c..08180546d 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -106,4 +106,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of pull-repos.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index baa788541..8b4f93e6c 100644 --- a/docs/query-smart-data.md +++ b/docs/query-smart-data.md @@ -106,4 +106,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of query-smart-data.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index c70d6854a..11dd59606 100644 --- a/docs/reboot-fritzbox.md +++ b/docs/reboot-fritzbox.md @@ -152,4 +152,4 @@ echo $Result exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of reboot-fritzbox.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/reboot.md b/docs/reboot.md index 300c5d0d7..e64334dfa 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of reboot.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/remember.md b/docs/remember.md index d6f47c399..86d0a6f71 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remember.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/remind-me.md b/docs/remind-me.md index 5d3625184..df80f368b 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -88,4 +88,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remind-me.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/remove-dir-tree.md b/docs/remove-dir-tree.md index 165c9c870..5036fb84c 100644 --- a/docs/remove-dir-tree.md +++ b/docs/remove-dir-tree.md @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-dir-tree.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index 32bd2d4b9..50a6ecf40 100644 --- a/docs/remove-empty-dirs.md +++ b/docs/remove-empty-dirs.md @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-empty-dirs.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index 26b0573ff..37bafa01f 100644 --- a/docs/remove-old-dirs.md +++ b/docs/remove-old-dirs.md @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-old-dirs.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 836875b92..d7bf2d891 100644 --- a/docs/remove-print-jobs.md +++ b/docs/remove-print-jobs.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-print-jobs.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index a67bff332..d031bce97 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -111,4 +111,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-tag.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/remove-user.md b/docs/remove-user.md index ceae43594..261324aff 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-user.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index 7c95fbb18..650ae98a9 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of remove-vm.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index 8a88e8f77..88ed40957 100644 --- a/docs/replace-in-files.md +++ b/docs/replace-in-files.md @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of replace-in-files.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index 189dcbd37..89a8983ba 100644 --- a/docs/restart-network-adapters.md +++ b/docs/restart-network-adapters.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of restart-network-adapters.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index 4d28d5513..d2f01a3db 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of roll-a-dice.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index f9359e4d8..f28af0c41 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of save-credentials.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 4a277baa4..614b05402 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of save-screenshot.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index 8ccf35314..7bf3fdbc7 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of scan-folder.ps1 as of 11/08/2024 12:37:55)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/scan-network.md b/docs/scan-network.md index 5a035a611..309cb0268 100644 --- a/docs/scan-network.md +++ b/docs/scan-network.md @@ -32,4 +32,4 @@ $arguments = $arguments + " " + $targets Start-Process $location -ArgumentList $arguments -Wait ``` -*(generated by convert-ps2md.ps1 using the comment-based help of scan-network.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index f17199f70..1e4c4800a 100644 --- a/docs/scan-ports.md +++ b/docs/scan-ports.md @@ -65,4 +65,4 @@ foreach($add in $range) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of scan-ports.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/search-filename.md b/docs/search-filename.md index 766043e62..1ab51fb00 100644 --- a/docs/search-filename.md +++ b/docs/search-filename.md @@ -96,4 +96,4 @@ Search-Folder -FilePath $path -SearchTerm $term exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of search-filename.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/search-files.md b/docs/search-files.md index bf9a762c6..054f3e279 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of search-files.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/search-repo.md b/docs/search-repo.md index 2718852e6..f7a262007 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of search-repo.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/send-email.md b/docs/send-email.md index 4f3fb3704..8f31e6e3e 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -121,4 +121,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of send-email.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index 1e804f107..dbcc23b1f 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of send-tcp.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/send-udp.md b/docs/send-udp.md index 8ce170747..190116af4 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -102,4 +102,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of send-udp.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/set-timer.md b/docs/set-timer.md index 78f139952..569d844df 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of set-timer.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/set-volume.md b/docs/set-volume.md index 881c21123..659151335 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of set-volume.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index b4232cccb..1f7d19429 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -122,4 +122,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of set-wallpaper.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index 14cb7520a..b0f85cff9 100644 --- a/docs/show-lightnings.md +++ b/docs/show-lightnings.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of show-lightnings.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index 06e113368..db234fb1e 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of show-notification-motivation-quote.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/show-notification.md b/docs/show-notification.md index 84bc48da0..e161356da 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -96,4 +96,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of show-notification.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index b4fa94292..d3cf3238a 100644 --- a/docs/show-traffic.md +++ b/docs/show-traffic.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of show-traffic.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index e87e14990..b7b668b89 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of simulate-presence.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index 7cc2df339..b9f000826 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -141,4 +141,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of smart-data2csv.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 685abf31c..4fad466cb 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-arabic.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index bfd269a9f..54f8ccd3e 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-checklist.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index 39dec1966..2a4e281ab 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-countdown.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index 0e81cf9a6..9a9093fda 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-croatian.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index bbe3058d5..a454f6724 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-danish.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index 5ce3b17d1..193742a64 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-dutch.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-english.md b/docs/speak-english.md index 503b3a6cf..600231e9f 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-english.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index 9d15b4ba8..2a3ed7278 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -139,4 +139,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-epub.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index 446386d76..c3eab6e31 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-esperanto.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-file.md b/docs/speak-file.md index 59bc3fd08..8b928ac8f 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-file.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index cd199b0f6..0d1ed8abf 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-finnish.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-french.md b/docs/speak-french.md index 701d6136d..957f2c639 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-french.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-german.md b/docs/speak-german.md index a2ea967fb..bb31a59f4 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-german.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index daff5cc42..6fd23504c 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-greek.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index de1ed8778..9872363b8 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-hebrew.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index 6208819e4..ca17c4e3f 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-hindi.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index 6a5aa28fc..948b27d03 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-italian.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index 24999cd7f..149775dfa 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-japanese.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index 37df9eed1..5122aa90a 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-korean.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index 7e3e42c48..e3e290a45 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-latin.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index 3827b514e..1a1dd167d 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-mandarin.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 6ef1af3b7..4db60d192 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-norwegian.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index 5ed9fc833..9bb75c90b 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-polish.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index b54c170dd..83f97b217 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-portuguese.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index 635567e73..9f39014c3 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-russian.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index 6ffaa16fd..73df0ecc7 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-spanish.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index d8d42b48a..828690718 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-swedish.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-test.md b/docs/speak-test.md index f17087348..755a26fc1 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-test.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-text.md b/docs/speak-text.md index b8b207a91..2770bb750 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-text.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index 6d2c67dbe..3bee75863 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-thai.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index 6b891776b..36a91d76c 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-turkish.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index af27882fd..9cbbed7b4 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of speak-ukrainian.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/spell-word.md b/docs/spell-word.md index 555d0c8e7..d17b6c4a5 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of spell-word.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index 08dd36ea4..92f60706a 100644 --- a/docs/start-ipfs-server.md +++ b/docs/start-ipfs-server.md @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of start-ipfs-server.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/suspend.md b/docs/suspend.md index c69c699c7..5c12040fa 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of suspend.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index 59ad0acc8..27aa1c4a7 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -126,4 +126,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of switch-branch.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index c2357153f..9b240cf40 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -94,4 +94,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of switch-shelly1.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index f974f6910..a04468b4f 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of switch-tabs.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/sync-folder.md b/docs/sync-folder.md index 609a7848d..936c696e4 100644 --- a/docs/sync-folder.md +++ b/docs/sync-folder.md @@ -96,4 +96,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of sync-folder.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index caec43c9a..f50bc6001 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -95,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of sync-repo.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index 8a290b1f9..959b7048e 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of tell-joke.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index 5d7ea151b..bdabb61fb 100644 --- a/docs/tell-new-year.md +++ b/docs/tell-new-year.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of tell-new-year.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index 46247b75a..46949bff7 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of tell-quote.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index c458681b5..1453fbfc1 100644 --- a/docs/toggle-caps-lock.md +++ b/docs/toggle-caps-lock.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of toggle-caps-lock.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index dd708fbe3..a0d43908b 100644 --- a/docs/toggle-num-lock.md +++ b/docs/toggle-num-lock.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of toggle-num-lock.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index 51d594170..8473e67d5 100644 --- a/docs/toggle-scroll-lock.md +++ b/docs/toggle-scroll-lock.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of toggle-scroll-lock.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/translate-file.md b/docs/translate-file.md index 6e2a2d778..e6203a4ac 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -108,4 +108,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of translate-file.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/translate-files.md b/docs/translate-files.md index e6bd016d5..13ce82883 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -105,4 +105,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of translate-files.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/translate-text.md b/docs/translate-text.md index 84e17f751..20d40451f 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of translate-text.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index 4d90baae6..b8574b9c6 100644 --- a/docs/turn-volume-down.md +++ b/docs/turn-volume-down.md @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-down.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index de421ea75..f2ed32ebb 100644 --- a/docs/turn-volume-fully-up.md +++ b/docs/turn-volume-fully-up.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-fully-up.ps1 as of 11/08/2024 12:37:56)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index 11d10454e..3b50cf004 100644 --- a/docs/turn-volume-off.md +++ b/docs/turn-volume-off.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-off.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index 99ec18db3..d43d1d1ff 100644 --- a/docs/turn-volume-on.md +++ b/docs/turn-volume-on.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-on.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index 208c0afce..c14faed2f 100644 --- a/docs/turn-volume-up.md +++ b/docs/turn-volume-up.md @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of turn-volume-up.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index d4cd5672d..da068ce4d 100644 --- a/docs/uninstall-all-apps.md +++ b/docs/uninstall-all-apps.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of uninstall-all-apps.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index a41f57c06..b4fd8d8c7 100644 --- a/docs/uninstall-bloatware.md +++ b/docs/uninstall-bloatware.md @@ -98,4 +98,4 @@ winget uninstall 'Prime Video for Windows' exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of uninstall-bloatware.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index 2cd71e9e0..0435d7fbf 100644 --- a/docs/update-powershell-profile.md +++ b/docs/update-powershell-profile.md @@ -80,4 +80,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of update-powershell-profile.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index 99a8d0a18..4547a21b1 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of upgrade-ubuntu.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/upload-file.md b/docs/upload-file.md index 900bb22d9..3e886e7d9 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -145,4 +145,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of upload-file.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index 59dc43a7e..20685aa14 100644 --- a/docs/upload-to-dropbox.md +++ b/docs/upload-to-dropbox.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of upload-to-dropbox.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index dde2b6452..b2952b326 100644 --- a/docs/wake-up-host.md +++ b/docs/wake-up-host.md @@ -120,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of wake-up-host.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index 98732175f..d3b932ade 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -115,4 +115,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of watch-commits.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/watch-file.md b/docs/watch-file.md index c413612b0..ab1b58afb 100644 --- a/docs/watch-file.md +++ b/docs/watch-file.md @@ -64,4 +64,4 @@ function Watch-File { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of watch-file.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/watch-news.md b/docs/watch-news.md index 95dea5ef3..0b370e87d 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -115,4 +115,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of watch-news.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index 8d2cd90f1..e8ccfb155 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -135,4 +135,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of watch-ping.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/weather-report.md b/docs/weather-report.md index ba222c28d..33fafd8e2 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of weather-report.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/weather.md b/docs/weather.md index 332a5fb23..9508b4aa9 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of weather.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/what-is.md b/docs/what-is.md index b5893291f..0e6053bf9 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of what-is.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/windefender.md b/docs/windefender.md index afd0c69b1..9082bcc28 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -82,4 +82,4 @@ break } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of windefender.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-animated.md b/docs/write-animated.md index 9e72d246f..146080b9a 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-animated.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index a847721f9..3d9df28f4 100644 --- a/docs/write-ascii-image.md +++ b/docs/write-ascii-image.md @@ -61,4 +61,4 @@ WriteLine " '`--._,dd###pp='''" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-ascii-image.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-big.md b/docs/write-big.md index 83e6d9858..60200bf38 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -471,4 +471,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-big.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-blue.md b/docs/write-blue.md index 9025cd6fa..d0727af43 100644 --- a/docs/write-blue.md +++ b/docs/write-blue.md @@ -64,4 +64,4 @@ write-host -foregroundColor blue "$text" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-blue.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-braille.md b/docs/write-braille.md index 0e73af182..92ca44f03 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -408,4 +408,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-braille.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-centered.md b/docs/write-centered.md index 77b35c74b..a54e4164d 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-centered.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index 7d82d3475..8b1e3ffea 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -155,4 +155,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-changelog.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-chart.md b/docs/write-chart.md index 18af57bf7..b0cb3f3ed 100644 --- a/docs/write-chart.md +++ b/docs/write-chart.md @@ -68,4 +68,4 @@ WriteChartLine "Tom" 30.9 100.0 exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-chart.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-clock.md b/docs/write-clock.md index e6abd0bd1..7c73fd705 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-clock.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-code.md b/docs/write-code.md index 41743aa94..86ac42cd3 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -118,4 +118,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-code.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-credits.md b/docs/write-credits.md index c0e869e41..5672a5738 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-credits.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-date.md b/docs/write-date.md index e2ccc24b7..b87c3c622 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-date.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index 520753cb9..ecfd5a656 100644 --- a/docs/write-fractal.md +++ b/docs/write-fractal.md @@ -79,4 +79,4 @@ while ($true) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-fractal.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-green.md b/docs/write-green.md index f0cb70387..97a59be1b 100644 --- a/docs/write-green.md +++ b/docs/write-green.md @@ -63,4 +63,4 @@ write-host -foregroundColor green "$text" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-green.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index e3ba8ab28..96647d18e 100644 --- a/docs/write-hands-off.md +++ b/docs/write-hands-off.md @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-hands-off.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-headline.md b/docs/write-headline.md index 49cadba9f..a7adfa59c 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-headline.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-help.md b/docs/write-help.md index bd23f83a6..2c4b7654a 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-help.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index 90c589cb4..348b724f2 100644 --- a/docs/write-in-emojis.md +++ b/docs/write-in-emojis.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-in-emojis.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-joke.md b/docs/write-joke.md index efd662488..0718c3b86 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-joke.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-location.md b/docs/write-location.md index a9fcd2959..e1ba712db 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-location.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index 36c6ca0e4..ed76078cd 100644 --- a/docs/write-lowercase.md +++ b/docs/write-lowercase.md @@ -65,4 +65,4 @@ Write-Output $text.ToLower() exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-lowercase.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index b601ac860..a1f7787af 100644 --- a/docs/write-marquee.md +++ b/docs/write-marquee.md @@ -89,4 +89,4 @@ StartMarquee " exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-marquee.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index 884a82861..db5c8d73c 100644 --- a/docs/write-matrix.md +++ b/docs/write-matrix.md @@ -81,4 +81,4 @@ exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-matrix.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-moon.md b/docs/write-moon.md index 308be6156..7f9647e86 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-moon.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index b9b41dd75..0975ed1fc 100644 --- a/docs/write-morse-code.md +++ b/docs/write-morse-code.md @@ -153,4 +153,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-morse-code.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-motd.md b/docs/write-motd.md index 2461a7c16..b375d5a6b 100644 --- a/docs/write-motd.md +++ b/docs/write-motd.md @@ -140,4 +140,4 @@ Write-Host " 'VEzjt:;;z>*`` " -ForegroundColor Yellow exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-motd.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-pi.md b/docs/write-pi.md index 69438733e..1451dd87b 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -117,4 +117,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-pi.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index 60a3013c5..8684ffc21 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 ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-qr-code.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-quote.md b/docs/write-quote.md index d300bfcd2..6ddfdafa9 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-quote.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-red.md b/docs/write-red.md index a2a4793da..0a59ab019 100644 --- a/docs/write-red.md +++ b/docs/write-red.md @@ -63,4 +63,4 @@ write-host -foregroundcolor red "$text" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-red.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index 907aeff7c..c8bd006f0 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -82,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-rot13.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-shit.md b/docs/write-shit.md index 1332e52cc..3aaf049f0 100644 --- a/docs/write-shit.md +++ b/docs/write-shit.md @@ -50,4 +50,4 @@ Write-Output "💩" exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-shit.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index a1d3fe81a..8871ebe1e 100644 --- a/docs/write-sine-curves.md +++ b/docs/write-sine-curves.md @@ -56,4 +56,4 @@ Script Content } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-sine-curves.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-time.md b/docs/write-time.md index 74b57b9b7..5862623b0 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-time.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index 6b566d77e..26c53c524 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-typewriter.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index fc4248512..a5a725035 100644 --- a/docs/write-uppercase.md +++ b/docs/write-uppercase.md @@ -65,4 +65,4 @@ Write-Output $text.ToUpper() exit 0 # success ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-uppercase.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index aea085555..6bbf7dc36 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 using the comment-based help of write-vertical.ps1 as of 11/08/2024 12:37:57)* +*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* diff --git a/scripts/convert-ps2md.ps1 b/scripts/convert-ps2md.ps1 index c32fa0d61..308be3e38 100755 --- a/scripts/convert-ps2md.ps1 +++ b/scripts/convert-ps2md.ps1 @@ -136,7 +136,7 @@ try { "``````" "" $now = [datetime]::Now - "*(generated by convert-ps2md.ps1 using the comment-based help of $ScriptName as of $now)*" + "*(generated by convert-ps2md.ps1 as of $now)*" } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 From 430074a98233fb4d693e16c66c5f237eac02d1c5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 11 Nov 2024 11:10:49 +0100 Subject: [PATCH 022/737] Updated computing.csv --- data/dicts/computing.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/dicts/computing.csv b/data/dicts/computing.csv index bb2fbb4b0..4198dc669 100644 --- a/data/dicts/computing.csv +++ b/data/dicts/computing.csv @@ -1008,6 +1008,7 @@ EOL,"End of Life, End of Line" EOM,End of Message EOP,Microsoft Exchange Online Protection EOQ,Economic Order Quantity +EOT,End of Transmission EPA,Microsoft Exchange Server Profile Analyzer EPC,Evolved Packet Core EPD,electronic paper display From 186e209d095a2585973b8a0268d78b46a6c2dae5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 13 Nov 2024 09:53:29 +0100 Subject: [PATCH 023/737] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6750a55a2..f40c2cf1e 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ Mega Collection of PowerShell Scripts | [remove-print-jobs.ps1](scripts/remove-print-jobs.ps1) | Removes all jobs from all printers. [Read more »](docs/remove-print-jobs.md) | | [restart-network-adapters.ps1](scripts/restart-network-adapters.ps1) | Restarts all local network adapters. [Read more »](docs/restart-network-adapters.md)| | [upgrade-ubuntu.ps1](scripts/upgrade-ubuntu.ps1) | Upgrades Ubuntu Linux to the latest (LTS) release. [Read more »](docs/upgrade-ubuntu.md) | -| [wake-up.ps1](scripts/wake-up.ps1) | Wakes up a remote computer using Wake-on-LAN. [Read more »](docs/wakeup.md) | +| [wake-up-host.ps1](scripts/wake-up-host.ps1) | Wakes up a computer using Wake-on-LAN. [Read more »](docs/wake-up-host.md) | | [windefender.ps1](scripts/windefender.ps1) | Turn Windows Defender on/off/check real time monitoring. [Read more »](docs/windefender.md) | From 6e27c12b46842caf78aa223f16cb2fe04cab6be9 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 13 Nov 2024 11:47:48 +0100 Subject: [PATCH 024/737] Updated watch-news.ps1 --- scripts/watch-news.ps1 | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/scripts/watch-news.ps1 b/scripts/watch-news.ps1 index 2e4f240e2..fe6c43ba7 100755 --- a/scripts/watch-news.ps1 +++ b/scripts/watch-news.ps1 @@ -8,13 +8,13 @@ .PARAMETER lines Specifies the initial number of headlines .PARAMETER timeInterval - Specifies the time interval in seconds between two Web requests (30 seconds by default) + Specifies the time interval in seconds between two Web requests (60 seconds by default) .EXAMPLE PS> ./watch-news.ps1 - UTC Yahoo News - Latest News & Headlines - https://www.yahoo.com/news/world - --- ----------------------------------------------------------------------- - ❇️ 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria + UTC Yahoo News - Latest News & Headlines - https://www.yahoo.com/news/world + --- ----------------------------------------------------------------------- + 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria ... .LINK https://github.com/fleschutz/PowerShell @@ -22,31 +22,36 @@ Author: Markus Fleschutz | License: CC0 #> -param([string]$URL = "https://news.yahoo.com/rss/world", [int]$timeInterval = 30) # in seconds +param([string]$URL = "https://news.yahoo.com/rss/world", [int]$timeInterval = 60) # in seconds -function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp) { +function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp, [string]$icon) { $items = $content.rss.channel.item [array]::Reverse($items) + $newLatest = $latestTimestamp foreach($item in $items) { - if ($($item.pubDate) -le $latestTimestamp) { continue } + $pubDate = $item.pubDate + if ($pubDate -le $latestTimestamp) { continue } $title = $item.title - $time = $item.pubDate.Substring(11, 5) - & "$PSScriptRoot/write-typewriter.ps1" "❇️ $time $title" 2 - $latestTimestamp = $item.pubDate + $time = $pubDate.Substring(11, 5) + Write-Host "$time $title$icon" + Start-Sleep -milliseconds 500 + if ($pubDate -gt $newLatest) { $newLatest = $pubDate } } - return $latestTimestamp + return $newLatest } try { [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content $title = $content.rss.channel.title $link = $content.rss.channel.link - " " - " UTC $title - $link" - " --- -----------------------------------------------------------------------" + Write-Host "`n UTC $title - " -noNewline + Write-Host $link -foregroundColor blue + Write-Host " --- -----------------------------------------------------------------------" $latestTimestamp = "2000-01-01" + $icon = "" do { - $latestTimestamp = PrintLatestHeadlines $content $latestTimestamp + $latestTimestamp = PrintLatestHeadlines $content $latestTimestamp $icon + $icon = "🆕" Start-Sleep -seconds $timeInterval [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content } while ($true) From e52d80980cc115495195bd369bfed03c066767f3 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 13 Nov 2024 15:10:12 +0100 Subject: [PATCH 025/737] Updated watch-news.ps1 --- scripts/watch-news.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/watch-news.ps1 b/scripts/watch-news.ps1 index fe6c43ba7..01003728c 100755 --- a/scripts/watch-news.ps1 +++ b/scripts/watch-news.ps1 @@ -42,7 +42,7 @@ function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp, [string]$ try { [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content - $title = $content.rss.channel.title + $title = $content.rss.channel.title.toUpper() $link = $content.rss.channel.link Write-Host "`n UTC $title - " -noNewline Write-Host $link -foregroundColor blue From f3166553586e3ae1db77b4cee562ac8f573d80da Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 13 Nov 2024 15:16:35 +0100 Subject: [PATCH 026/737] Updated watch-news.ps1 --- scripts/watch-news.ps1 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/watch-news.ps1 b/scripts/watch-news.ps1 index 01003728c..40b3962c8 100755 --- a/scripts/watch-news.ps1 +++ b/scripts/watch-news.ps1 @@ -12,8 +12,8 @@ .EXAMPLE PS> ./watch-news.ps1 - UTC Yahoo News - Latest News & Headlines - https://www.yahoo.com/news/world - --- ----------------------------------------------------------------------- + UTC HEADLINES (by: https://www.yahoo.com/news/world) + --- ------------------------------------------------ 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria ... .LINK @@ -44,9 +44,10 @@ try { [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content $title = $content.rss.channel.title.toUpper() $link = $content.rss.channel.link - Write-Host "`n UTC $title - " -noNewline - Write-Host $link -foregroundColor blue - Write-Host " --- -----------------------------------------------------------------------" + Write-Host "`n UTC HEADLINES (by: " -noNewline + Write-Host $link -foregroundColor blue -noNewline + Write-Host ")" + Write-Host " --- ------------------------------------------------" $latestTimestamp = "2000-01-01" $icon = "" do { From cc0fb6207b2f6bb618783320625881a40e876048 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 14 Nov 2024 09:01:18 +0100 Subject: [PATCH 027/737] Updated computing.csv --- data/dicts/computing.csv | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/data/dicts/computing.csv b/data/dicts/computing.csv index 4198dc669..32c0c75b5 100644 --- a/data/dicts/computing.csv +++ b/data/dicts/computing.csv @@ -538,9 +538,7 @@ CKO,chief knowledge officer CL,cluster log CLASS,Capacity Loading and Operation Sequence Scheduling CLEC,competitive local exchange carrier -CLI,command line interface -CLI,Command Line Interpreter -CLI,Common Language Infrastructure +CLI,"Command Line Interface, Command Line Interpreter, Common Language Infrastructure" CLM,Council For Logistics Management CLO,chief learning officer CLOB,Character Large OBject @@ -549,7 +547,8 @@ CLR,Common Language Runtime CM,configuration management CM,content management CM,Contract Manufacturer -CMA,content management application +CMA,Content Management Application +CMD,Command Prompt CMDB,configuration management database CMDM,Collaborative Master Data Management CMIO,Chief Medical Information Officer From d47027e56158ec25835fdf8e3a8c07d82b7009eb Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 14 Nov 2024 13:15:37 +0100 Subject: [PATCH 028/737] Updated write-motd.ps1 --- scripts/write-motd.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/write-motd.ps1 b/scripts/write-motd.ps1 index 92005341e..b04fae73e 100755 --- a/scripts/write-motd.ps1 +++ b/scripts/write-motd.ps1 @@ -60,7 +60,7 @@ Write-Host " User: " -NoNewline -ForegroundColor DarkGray Write-Host "$UserName" -ForegroundColor Cyan Write-Host " it::::tt333EEF" -NoNewline -ForegroundColor Red Write-Host " @EEEEEEttttt33F " -NoNewline -ForegroundColor Green -Write-Host " Hostname: " -NoNewline -ForegroundColor DarkGray +Write-Host " Host: " -NoNewline -ForegroundColor DarkGray Write-Host "$ComputerName" -ForegroundColor Cyan Write-Host " ;3=*^``````'*4EEV" -NoNewline -ForegroundColor Red Write-Host " :EEEEEEttttt33@. " -NoNewline -ForegroundColor Green From 28ee2a5a44354b607a76d1ff2eca86b43672a900 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 18 Nov 2024 07:42:17 +0100 Subject: [PATCH 029/737] Added write-xmas-tree.ps1 --- scripts/write-xmas-tree.ps1 | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 scripts/write-xmas-tree.ps1 diff --git a/scripts/write-xmas-tree.ps1 b/scripts/write-xmas-tree.ps1 new file mode 100644 index 000000000..0935ea124 --- /dev/null +++ b/scripts/write-xmas-tree.ps1 @@ -0,0 +1,45 @@ +# Prints a christmas tree to terminal +# Variable $Size = (tree_height, trunk_width, trunk_height) +# Variable $XPos = The starting x position on the terminal line +# Variables $Colors = List of colors to use +# Random color pattern each execution + +# Examples: +#PSXmasTree.ps1 #default +#PSXmasTree.ps1 -Size 20,8,4 -Count 20 -Duration 800 #big tree +#PSXmasTree.ps1 -Size 3,2,1 -XPos 20 #totes adorbs baby tree + +param ( + [array]$Size=@(10,2,2), + [int]$XPos=50, + [array]$Colors = @("blue", "green", "cyan", "red", "yellow", "magenta"), + [int]$Idx = (Get-Random -Min 0 -Max ($Colors.Length-1)), + [int]$Count = 10, + [int]$Duration = 500 +) + +while ( $Count -gt 0 ) { + + Clear-Host + + Write-Host "`n`n`n" + + for ( $i=1; $i -le $Size[0]; $i++ ) { + $Line = " " * ($XPos - $i) + "*" * ($i * 2) + $Idx = $Idx % $Colors.Length + Write-Host $Line -ForegroundColor $Colors[$Idx] + $Idx++ + } + + for ( $j=1; $j -le $Size[2]; $j++ ){ + $Line = " " * ( $XPos - ( $Size[1] / 2 ) ) + "#" * $Size[1] + Write-Host $Line -ForegroundColor White + } + + Start-Sleep -Milliseconds $Duration + + $Count-- + +} + +Write-Host "Merry Christmas!" -ForegroundColor Green \ No newline at end of file From fd1cf4ea6c4fa6b6924f7b51a9c4fa9989eb75c2 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 18 Nov 2024 08:05:06 +0100 Subject: [PATCH 030/737] Updated write-xmas-tree.ps1 --- scripts/write-xmas-tree.ps1 | 46 +++++++++++++++---------------------- 1 file changed, 19 insertions(+), 27 deletions(-) diff --git a/scripts/write-xmas-tree.ps1 b/scripts/write-xmas-tree.ps1 index 0935ea124..9a1d15d70 100644 --- a/scripts/write-xmas-tree.ps1 +++ b/scripts/write-xmas-tree.ps1 @@ -1,45 +1,37 @@ -# Prints a christmas tree to terminal +# Writes a christmas tree to terminal # Variable $Size = (tree_height, trunk_width, trunk_height) # Variable $XPos = The starting x position on the terminal line -# Variables $Colors = List of colors to use +# Variables $colors = List of colors to use # Random color pattern each execution -# Examples: -#PSXmasTree.ps1 #default -#PSXmasTree.ps1 -Size 20,8,4 -Count 20 -Duration 800 #big tree -#PSXmasTree.ps1 -Size 3,2,1 -XPos 20 #totes adorbs baby tree - param ( - [array]$Size=@(10,2,2), + [array]$Size=@(20,8,4), [int]$XPos=50, - [array]$Colors = @("blue", "green", "cyan", "red", "yellow", "magenta"), - [int]$Idx = (Get-Random -Min 0 -Max ($Colors.Length-1)), - [int]$Count = 10, - [int]$Duration = 500 + [array]$colors = @("blue", "green", "cyan", "red", "yellow", "magenta"), + [int]$Idx = (Get-Random -Min 0 -Max ($colors.Length-1)), + [int]$count = 100, + [int]$duration = 250 # ms ) -while ( $Count -gt 0 ) { - - Clear-Host - - Write-Host "`n`n`n" +Clear-Host +do { + [console]::SetCursorPosition(0,0) + Write-Host "`n`tMerry Christmas and a Happy New Year!`n`n" -foregroundColor Yellow for ( $i=1; $i -le $Size[0]; $i++ ) { - $Line = " " * ($XPos - $i) + "*" * ($i * 2) - $Idx = $Idx % $Colors.Length - Write-Host $Line -ForegroundColor $Colors[$Idx] + $line = " " * ($XPos - $i) + "*" * ($i * 2) + $Idx = $Idx % $colors.Length + Write-Host $line -foregroundColor $colors[$Idx] $Idx++ } for ( $j=1; $j -le $Size[2]; $j++ ){ - $Line = " " * ( $XPos - ( $Size[1] / 2 ) ) + "#" * $Size[1] - Write-Host $Line -ForegroundColor White + $line = " " * ( $XPos - ( $Size[1] / 2 ) ) + "#" * $Size[1] + Write-Host $line -foregroundColor DarkGreen } - Start-Sleep -Milliseconds $Duration - - $Count-- + Start-Sleep -milliseconds $duration -} + $count-- +} while ($count -gt 0) -Write-Host "Merry Christmas!" -ForegroundColor Green \ No newline at end of file From 7c5a3c735364362a5c377762261045e8a03de5c2 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 18 Nov 2024 11:37:08 +0100 Subject: [PATCH 031/737] Updated aviation.csv --- data/dicts/aviation.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index 8503d17b2..c2f66f0d7 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -385,6 +385,7 @@ ORCAM,Originating Region Code Assignment Method OSC,On Scene Commander PA,Pressure Altitude PADS,Parallax Aircraft Docking System +PANSA,Polish Air Navigation Services Agency PAPA,"Parallax Aircraft Parking Aid (docking system)" PAPI,Precision Approach Path Indicator PAR,Precision Approach Radar From 62eef6a209ccf1b36d6cc9802a42373ea9e9b979 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 18 Nov 2024 13:16:59 +0100 Subject: [PATCH 032/737] Updated write-xmas-tree.ps1 --- scripts/write-xmas-tree.ps1 | 56 ++++++++++++++++++++----------------- 1 file changed, 31 insertions(+), 25 deletions(-) diff --git a/scripts/write-xmas-tree.ps1 b/scripts/write-xmas-tree.ps1 index 9a1d15d70..4d793f7bf 100644 --- a/scripts/write-xmas-tree.ps1 +++ b/scripts/write-xmas-tree.ps1 @@ -1,37 +1,43 @@ -# Writes a christmas tree to terminal -# Variable $Size = (tree_height, trunk_width, trunk_height) -# Variable $XPos = The starting x position on the terminal line -# Variables $colors = List of colors to use -# Random color pattern each execution +<# +.SYNOPSIS + Writes a Xmas tree +.DESCRIPTION + This PowerShell script writes a christmas tree to the terminal. +.EXAMPLE + PS> ./write-xmas-tree.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> -param ( - [array]$Size=@(20,8,4), - [int]$XPos=50, - [array]$colors = @("blue", "green", "cyan", "red", "yellow", "magenta"), - [int]$Idx = (Get-Random -Min 0 -Max ($colors.Length-1)), - [int]$count = 100, - [int]$duration = 250 # ms -) +param( [array]$Size=@(21,8,4), # tree height, trunk width, trunk height + [int]$XPos=50, # starting x position + [array]$colors = @("blue", "green", "cyan", "red", "yellow", "magenta"), + [int]$Idx = (Get-Random -Min 0 -Max ($colors.Length-1)), + [int]$count = 100, + [int]$duration = 250) # ms Clear-Host do { [console]::SetCursorPosition(0,0) - Write-Host "`n`tMerry Christmas and a Happy New Year!`n`n" -foregroundColor Yellow + Write-Host "`n`t`t`tMerry Christmas" -foregroundColor yellow + Write-Host "`t`t`t &" -foregroundColor yellow + Write-Host "`t`t`t Happy New Year" -foregroundColor yellow + for ( $i=1; $i -le $Size[0]; $i++ ) { + $line = " " * ($XPos - $i) + "*" * ($i * 2) + $Idx = $Idx % $colors.Length + Write-Host $line -foregroundColor $colors[$Idx] + $Idx++ + } - for ( $i=1; $i -le $Size[0]; $i++ ) { - $line = " " * ($XPos - $i) + "*" * ($i * 2) - $Idx = $Idx % $colors.Length - Write-Host $line -foregroundColor $colors[$Idx] - $Idx++ - } + for ( $j=1; $j -le $Size[2]; $j++ ){ + $line = " " * ( $XPos - ( $Size[1] / 2 ) ) + "#" * $Size[1] + Write-Host $line -foregroundColor DarkGreen + } - for ( $j=1; $j -le $Size[2]; $j++ ){ - $line = " " * ( $XPos - ( $Size[1] / 2 ) ) + "#" * $Size[1] - Write-Host $line -foregroundColor DarkGreen - } Start-Sleep -milliseconds $duration - $count-- } while ($count -gt 0) From fab7a776feea4c96c5cdd320a13b8b740c976b71 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 18 Nov 2024 14:37:02 +0100 Subject: [PATCH 033/737] Updated watch-commits.ps1 --- scripts/watch-commits.ps1 | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/scripts/watch-commits.ps1 b/scripts/watch-commits.ps1 index e0a0b0234..116c1f099 100755 --- a/scripts/watch-commits.ps1 +++ b/scripts/watch-commits.ps1 @@ -1,12 +1,12 @@ <# .SYNOPSIS - Show commits live in real-time. + Watch commits live. .DESCRIPTION - This PowerShell script permanently lists the latest commit in a Git repository in real-time. + This PowerShell script continuously lists the latest commit in a Git repository in real-time. .PARAMETER pathToRepo Specifies the file path to the local Git repository. .EXAMPLE - PS> ./commit-ticker.ps1 + PS> ./watch-commits.ps1 ❇️ Updated general.csv by Markus Fleschutz (HEAD -> main, origin/main, origin/HEAD) ... .LINK @@ -22,31 +22,31 @@ try { $null = (git --version) if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } - Write-Progress "Checking file patch to Git repository..." + Write-Progress "Checking local Git repository..." if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access directory: $pathToRepo" } - - Write-Progress "Fetching updates..." - & git -C "$pathToRepo" fetch --all --recurse-submodules=no --jobs=1 --quiet - if ($lastExitCode -ne "0") { throw "'git fetch' failed" } Write-Progress -completed "Done." + Write-Host "" + Write-Host "TIME COMMIT" + Write-Host "---- ------" $prevLine = "" $tzOffset = (Get-Timezone).BaseUtcOffset.TotalSeconds for (;;) { + & git -C "$pathToRepo" fetch --all --recurse-submodules=no --jobs=1 --quiet + if ($lastExitCode -ne "0") { throw "'git fetch' failed" } + $line = (git -C "$pathToRepo" log origin --format=format:'%at %s by %an%d' --max-count=1) - if ($line -ne $prevLine) { - $unixTimestamp = [int64]$line.Substring(0,10) - $time = (Get-Date -day 1 -month 1 -year 1970 -hour 0 -minute 0 -second 0).AddSeconds($unixTimestamp) - $time = $time.AddSeconds($tzOffset) - $timeString = $time.ToString("HH:mm") - $message = $line.Substring(11) - & "$PSScriptRoot/write-typewriter.ps1" "❇️ $timeString $message" $speed - $prevLine = $line - } else { + if ($line -eq $prevLine) { Start-Sleep -seconds $updateInterval + continue } - & git -C "$pathToRepo" fetch --all --recurse-submodules=no --jobs=1 --quiet - if ($lastExitCode -ne "0") { throw "'git fetch' failed" } + $unixTimestamp = [int64]$line.Substring(0,10) + $time = (Get-Date -day 1 -month 1 -year 1970 -hour 0 -minute 0 -second 0).AddSeconds($unixTimestamp) + $time = $time.AddSeconds($tzOffset) + $timeString = $time.ToString("HH:mm") + $message = $line.Substring(11) + & "$PSScriptRoot/write-typewriter.ps1" "$timeString $message" $speed + $prevLine = $line } exit 0 # success } catch { From 7252e2a4c5c0042f57f113908a2ac02a327b4cee Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 19 Nov 2024 11:31:31 +0100 Subject: [PATCH 034/737] Updated list-network-shares.ps1 --- scripts/list-network-shares.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/list-network-shares.ps1 b/scripts/list-network-shares.ps1 index adf4f7883..4945d4911 100755 --- a/scripts/list-network-shares.ps1 +++ b/scripts/list-network-shares.ps1 @@ -5,7 +5,7 @@ This PowerShell script lists all network shares (aka "shared folders") of the local computer. .EXAMPLE PS> ./list-network-shares.ps1 - ✅ Network share \\LAPTOP\Public ("Public folder for file transfer") mapped to: 📂D:\Public + ✅ Network share \\LAPTOP\Public -> D:\Public ("Public folder for file transfer") .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,7 +18,7 @@ try { } else { $shares = Get-WmiObject win32_share | where {$_.name -NotLike "*$"} foreach ($share in $shares) { - Write-Output "✅ Network share \\$(hostname)\$($share.Name) (`"$($share.Description)`") mapped to: 📂$($share.Path)" + Write-Output "✅ Network share \\$(hostname)\$($share.Name) -> $($share.Path) (`"$($share.Description)`")" } } exit 0 # success From 5d625316a52d8937402d22715c89e723e9dbc2e0 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 10:08:32 +0100 Subject: [PATCH 035/737] Updated pull-repos.ps1 --- scripts/pull-repos.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pull-repos.ps1 b/scripts/pull-repos.ps1 index 76656f9bd..d5e84b48a 100755 --- a/scripts/pull-repos.ps1 +++ b/scripts/pull-repos.ps1 @@ -48,7 +48,7 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($failed -eq 0) { - "✅ Pulled updates into $numFolders repos at 📂$parentDir in $($elapsed)s." + "✅ Updated $numFolders repos at 📂$parentDir in $($elapsed)s." exit 0 # success } else { "⚠️ Updated $numFolders repos at 📂$parentDir in $($elapsed)s but $failed failed!" From 2a0e6abb6fe83f637d2a06833425ce87cf652133 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 10:24:13 +0100 Subject: [PATCH 036/737] Update README.md --- README.md | 60 +++++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index f40c2cf1e..f3e266eab 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line, for remote control via SSH, for automation (e.g. [AutoHotkey](https://www.autohotkey.com/) or [Jenkins](https://www.jenkins.io/)), for context menus, for voice commands (e.g. [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder.** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line, for remote control via SSH, for automation (e.g. [AutoHotkey](https://www.autohotkey.com/) or [Jenkins](https://www.jenkins.io/)), for context menus, for voice commands (e.g. [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console is recommended (e.g. *Windows Terminal*).** -**[Download](https://github.com/fleschutz/PowerShell/releases) | [FAQ](docs/FAQ.md)** | **Note:** the scripts support Unicode - a modern console is recommended (e.g. *Windows Terminal*) +**[Download](https://github.com/fleschutz/PowerShell/releases) | [FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheatsheet.md) 🔊 Scripts for Audio & Voice ----------------------------- @@ -11,34 +11,34 @@ Mega Collection of PowerShell Scripts | Script | Description | | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------- | | [list-voices.ps1](scripts/list-voices.ps1) | Lists the installed text-to-speech voices. [Read more »](docs/list-voices.md) | -| [play-beep-sound.ps1](scripts/play-beep-sound.ps1) | Plays a short beep sound. [Read more »](docs/play-beep-sound.md) | -| [play-files.ps1](scripts/play-files.ps1) | Plays the given audio files. [Read more »](docs/play-files.md) | -| [play-happy-birthday.ps1](scripts/play-happy-birthday.ps1) | Plays the Happy Birthday song. [Read more »](docs/play-happy-birthday.md) | -| [play-imperial-march.ps1](scripts/play-imperial-march.ps1) | Plays the Imperial March (Star Wars). [Read more »](docs/play-imperial-march.md) | -| [play-jingle-bells.ps1](scripts/play-jingle-bells.ps1) | Plays Jingle Bells. [Read more »](docs/play-jingle-bells.md) | -| [play-mission-impossible.ps1](scripts/play-mission-impossible.ps1) | Plays the Mission Impossible theme. [Read more »](docs/play-mission-impossible.md)| -| [play-m3u.ps1](scripts/play-m3u.ps1) | Plays the given M3U playlist. [Read more »](docs/play-m3u.md) | -| [play-mp3.ps1](scripts/play-mp3.ps1) | Plays the given MP3 sound file. [Read more »](docs/play-mp3.md) | -| [play-super-mario.ps1](scripts/play-super-mario.ps1) | Plays the Super Mario intro. [Read more »](docs/play-super-mario.md) | -| [play-tetris-melody.ps1](scripts/play-tetris-melody.ps1) | Plays the Tetris melody. [Read more »](docs/play-tetris-melody.md) | -| [speak-checklist.ps1](scripts/speak-checklist.ps1) | Speaks the given checklist by text-to-speech. [Read more »](docs/speak-checklist.md) | -| [speak-countdown.ps1](scripts/speak-countdown.ps1) | Speaks a countdown by text-to-speech. [Read more »](docs/speak-countdown.md) | -| [speak-english.ps1](scripts/speak-english.ps1) | Speaks text with an English text-to-speech voice. [Read more »](docs/speak-english.md) | -| [speak-epub.ps1](scripts/speak-epub.ps1) | Speaks the content of the given Epub file by text-to-speech. [Read more »](docs/speak-epub.md) | -| [speak-file.ps1](scripts/speak-file.ps1) | Speaks the content of the given text file by text-to-speech. [Read more »](docs/speak-file.md) | -| [speak-french.ps1](scripts/speak-french.ps1) | Speaks text with a French text-to-speech voice. [Read more »](docs/speak-french.md) | -| [speak-german.ps1](scripts/speak-german.ps1) | Speaks text with a German text-to-speech voice. [Read more »](docs/speak-german.md) | -| [speak-italian.ps1](scripts/speak-italian.ps1) | Speaks text with an Italian text-to-speech voice. [Read more »](docs/speak-italian.md) | -| [speak-spanish.ps1](scripts/speak-spanish.ps1) | Speaks text with a Spanish text-to-speech voice. [Read more »](docs/speak-spanish.md) | -| [speak-test.ps1](scripts/speak-test.ps1) | Performs a speak test by text-to-speech. [Read more »](docs/speak-test.md) | -| [speak-text.ps1](scripts/speak-text.ps1) | Speaks the given text by text-to-speech. [Read more »](docs/speak-text.md) | -| [tell-joke.ps1](scripts/tell-joke.ps1) | Tells a random joke by text-to-speech. [Read more »](docs/tell-joke.md) | -| [tell-quote.ps1](scripts/tell-quote.ps1) | Tells a random quote by text-to-speech. [Read more »](docs/tell-quote.md) | -| [turn-volume-down.ps1](scripts/turn-volume-down.ps1) | Turns the audio volume down. [Read more »](docs/turn-volume-down.md) | -| [turn-volume-fully-up.ps1](scripts/turn-volume-fully-up.ps1) | Turns the audio fully up. [Read more »](docs/turn-volume-fully-up.md) | -| [turn-volume-off.ps1](scripts/turn-volume-off.ps1) | Turns audio off. [Read more »](docs/turn-volume-off-audio.md) | -| [turn-volume-on.ps1](scripts/turn-volume-on.ps1) | Turns audio on. [Read more »](docs/turn-volume-on.md) | -| [turn-volume-up.ps1](scripts/turn-volume-up.ps1) | Turns the audio volume up. [Read more »](docs/turn-volume-up.md) | +| [play-beep-sound.ps1](scripts/play-beep-sound.ps1) | Plays a short beep sound. [More »](docs/play-beep-sound.md) | +| [play-files.ps1](scripts/play-files.ps1) | Plays the given audio files. [More »](docs/play-files.md) | +| [play-happy-birthday.ps1](scripts/play-happy-birthday.ps1) | Plays the Happy Birthday song. [More »](docs/play-happy-birthday.md) | +| [play-imperial-march.ps1](scripts/play-imperial-march.ps1) | Plays the Imperial March (Star Wars). [More »](docs/play-imperial-march.md) | +| [play-jingle-bells.ps1](scripts/play-jingle-bells.ps1) | Plays Jingle Bells. [More »](docs/play-jingle-bells.md) | +| [play-mission-impossible.ps1](scripts/play-mission-impossible.ps1) | Plays the Mission Impossible theme. [More »](docs/play-mission-impossible.md)| +| [play-m3u.ps1](scripts/play-m3u.ps1) | Plays the given M3U playlist. [More »](docs/play-m3u.md) | +| [play-mp3.ps1](scripts/play-mp3.ps1) | Plays the given MP3 sound file. [More »](docs/play-mp3.md) | +| [play-super-mario.ps1](scripts/play-super-mario.ps1) | Plays the Super Mario intro. [More »](docs/play-super-mario.md) | +| [play-tetris-melody.ps1](scripts/play-tetris-melody.ps1) | Plays the Tetris melody. [More »](docs/play-tetris-melody.md) | +| [speak-checklist.ps1](scripts/speak-checklist.ps1) | Speaks the given checklist by text-to-speech. [More »](docs/speak-checklist.md) | +| [speak-countdown.ps1](scripts/speak-countdown.ps1) | Speaks a countdown by text-to-speech. [More »](docs/speak-countdown.md) | +| [speak-english.ps1](scripts/speak-english.ps1) | Speaks text with an English text-to-speech voice. [More »](docs/speak-english.md) | +| [speak-epub.ps1](scripts/speak-epub.ps1) | Speaks the content of the given Epub file by text-to-speech. [More »](docs/speak-epub.md) | +| [speak-file.ps1](scripts/speak-file.ps1) | Speaks the content of the given text file by text-to-speech. [More »](docs/speak-file.md) | +| [speak-french.ps1](scripts/speak-french.ps1) | Speaks text with a French text-to-speech voice. [More »](docs/speak-french.md) | +| [speak-german.ps1](scripts/speak-german.ps1) | Speaks text with a German text-to-speech voice. [More »](docs/speak-german.md) | +| [speak-italian.ps1](scripts/speak-italian.ps1) | Speaks text with an Italian text-to-speech voice. [More »](docs/speak-italian.md) | +| [speak-spanish.ps1](scripts/speak-spanish.ps1) | Speaks text with a Spanish text-to-speech voice. [More »](docs/speak-spanish.md) | +| [speak-test.ps1](scripts/speak-test.ps1) | Performs a speak test by text-to-speech. [More »](docs/speak-test.md) | +| [speak-text.ps1](scripts/speak-text.ps1) | Speaks the given text by text-to-speech. [More »](docs/speak-text.md) | +| [tell-joke.ps1](scripts/tell-joke.ps1) | Tells a random joke by text-to-speech. [More »](docs/tell-joke.md) | +| [tell-quote.ps1](scripts/tell-quote.ps1) | Tells a random quote by text-to-speech. [More »](docs/tell-quote.md) | +| [turn-volume-down.ps1](scripts/turn-volume-down.ps1) | Turns the audio volume down. [More »](docs/turn-volume-down.md) | +| [turn-volume-fully-up.ps1](scripts/turn-volume-fully-up.ps1) | Turns the audio fully up. [More »](docs/turn-volume-fully-up.md) | +| [turn-volume-off.ps1](scripts/turn-volume-off.ps1) | Turns audio off. [More »](docs/turn-volume-off-audio.md) | +| [turn-volume-on.ps1](scripts/turn-volume-on.ps1) | Turns audio on. [More »](docs/turn-volume-on.md) | +| [turn-volume-up.ps1](scripts/turn-volume-up.ps1) | Turns the audio volume up. [More »](docs/turn-volume-up.md) | ⚙️ Scripts to Manage Computers From df28fd7105d0c9e8b6fa049d118b482738a5a635 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 10:25:00 +0100 Subject: [PATCH 037/737] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f3e266eab..38f9dd198 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Mega Collection of PowerShell Scripts **Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line, for remote control via SSH, for automation (e.g. [AutoHotkey](https://www.autohotkey.com/) or [Jenkins](https://www.jenkins.io/)), for context menus, for voice commands (e.g. [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console is recommended (e.g. *Windows Terminal*).** -**[Download](https://github.com/fleschutz/PowerShell/releases) | [FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheatsheet.md) +**[Download](https://github.com/fleschutz/PowerShell/releases) | [FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheatsheet.md)** 🔊 Scripts for Audio & Voice ----------------------------- From 703dc74368ec9252833f17aee950150038b4d2ff Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 10:32:21 +0100 Subject: [PATCH 038/737] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 38f9dd198..f72dc62ed 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line, for remote control via SSH, for automation (e.g. [AutoHotkey](https://www.autohotkey.com/) or [Jenkins](https://www.jenkins.io/)), for context menus, for voice commands (e.g. [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console is recommended (e.g. *Windows Terminal*).** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (see AutoHotkey or Jenkins), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console is recommended (e.g. *Windows Terminal*).** -**[Download](https://github.com/fleschutz/PowerShell/releases) | [FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheatsheet.md)** +**[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheats-heet.md)** 🔊 Scripts for Audio & Voice ----------------------------- From f957853a675c057a21c2fcf18728296a0e0d870f Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 10:34:01 +0100 Subject: [PATCH 039/737] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f72dc62ed..d1271f31d 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Mega Collection of PowerShell Scripts **Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (see AutoHotkey or Jenkins), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console is recommended (e.g. *Windows Terminal*).** -**[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheats-heet.md)** +**[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md)** 🔊 Scripts for Audio & Voice ----------------------------- From e6e15387aa45e8ed633957d9f511e15356b84380 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 10:38:55 +0100 Subject: [PATCH 040/737] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d1271f31d..bd2f78d59 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (see AutoHotkey or Jenkins), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console is recommended (e.g. *Windows Terminal*).** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation by AutoHotkey/Jenkins/etc., for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console is recommended (e.g. *Windows Terminal*).** **[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md)** From 9682acba8652941d7b0e0a89e923a5f5193731be Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 11:02:17 +0100 Subject: [PATCH 041/737] Update FAQ.md --- docs/FAQ.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 967a05eb8..cc8402d99 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -94,13 +94,13 @@ 4. **More recommendations by NSA and cyber security centers in the U.S. (CISA), New Zealand (NZ NCSC), and the U.K. (NCSC-UK) can be found here:** https://media.defense.gov/2022/Jun/22/2003021689/-1/-1/1/CSI_KEEPING_POWERSHELL_SECURITY_MEASURES_TO_USE_AND_EMBRACE_20220622.PDF -
How to get the best PowerShell experience? +
How to get the ultimate PowerShell experience? -1. **Install *PowerShell* on all your Linux/Mac OS/Windows machines and configure it as default shell.** -2. **For remote control install *SSH client & server* on all your Linux/Mac OS/Windows machines.** -3. **Install the free *Windows Terminal* on Windows with 50% transparency, font 'Fira Code' and no PowerShell banner message.** -4. **To edit PowerShell scripts install the free *Visual Studio Code* with plugin 'PowerShell'.** -5. **Install the *Mega Collection of PowerShell scripts* and set the PATH environment variable to it.** +1. **Install *PowerShell* (free) on all your Linux/Mac OS/Windows machines and configure it as your default shell.** +2. **Install an *SSH client & server* (free) on all your Linux/Mac OS/Windows machines for remote control via SSH.** +3. **Install *Windows Terminal* (free) on Windows with 50% transparency, font 'Fira Code' and no PowerShell banner message.** +4. **Install *Visual Studio Code* (free) with plugin 'PowerShell' to edit PowerShell scripts.** +5. **Install this *Mega Collection of PowerShell scripts* and set the PATH environment variable to it.** 6. **Use an own PowerShell profile, e.g. execute: './update-powershell-profile.ps1'**
From d29e7e566d53ec8c3679540bf6260a8aa097957f Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 11:04:56 +0100 Subject: [PATCH 042/737] Update FAQ.md --- docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index cc8402d99..29bd4abdd 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -82,7 +82,7 @@
How to execute PowerShell scripts in Jenkins? -1. **Install the Jenkins plugin:** `PowerShell plugin` (it uses PowerShell.exe on Windows and pwsh on Linux). +1. **Install the Jenkins plugin** *PowerShell plugin* from https://plugins.jenkins.io/ (the plugin uses PowerShell.exe on Windows and pwsh on Linux). 2. **Add or reference your PowerShell scripts in the Jenkins jobs or in your Jenkinsfiles.**
From 1773df817cb70e512f99d8d443307cd198bce169 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 11:05:37 +0100 Subject: [PATCH 043/737] Update FAQ.md --- docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 29bd4abdd..e6f3fb2cf 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -82,7 +82,7 @@
How to execute PowerShell scripts in Jenkins? -1. **Install the Jenkins plugin** *PowerShell plugin* from https://plugins.jenkins.io/ (the plugin uses PowerShell.exe on Windows and pwsh on Linux). +1. **Install the Jenkins plugin** *"PowerShell plugin"* from https://plugins.jenkins.io/ (the plugin uses PowerShell.exe on Windows and pwsh on Linux). 2. **Add or reference your PowerShell scripts in the Jenkins jobs or in your Jenkinsfiles.**
From b59180604f9d5e42808b3684ee24605e9b29be6c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 11:12:33 +0100 Subject: [PATCH 044/737] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bd2f78d59..d1271f31d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation by AutoHotkey/Jenkins/etc., for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console is recommended (e.g. *Windows Terminal*).** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (see AutoHotkey or Jenkins), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console is recommended (e.g. *Windows Terminal*).** **[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md)** From e35144cc6b752d31d7dbc38cbb5f4ea21d299d21 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 11:17:58 +0100 Subject: [PATCH 045/737] Update README.md --- README.md | 84 +++++++++++++++++++++++++++---------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/README.md b/README.md index d1271f31d..d1451bd38 100644 --- a/README.md +++ b/README.md @@ -47,48 +47,48 @@ Mega Collection of PowerShell Scripts | Script | Description | | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------- | | [add-firewall-rules.ps1](scripts/add-firewall-rules.ps1) | Adds firewall rules for executables, needs admin rights. [Read more »](docs/add-firewall-rules.md) | -| [check-cpu.ps1](scripts/check-cpu.ps1)| Checks the CPU temperature. [Read more »](docs/check-cpu.md) | -| [check-dns.ps1](scripts/check-dns.ps1) | Checks the DNS resolution. [Read more »](docs/check-dns.md) | -| [check-drive-space.ps1](scripts/check-drive-space.ps1) | Checks a drive for free space left. [Read more »](docs/check-drive-space.md) | -| [check-file-system.ps1](scripts/check-file-system.ps1) | Checks the file system of a drive (needs admin rights). [Read more »](docs/check-file-system.md)| -| [check-health.ps1](scripts/check-health.ps1) | Checks the system health. [Read more »](docs/check-health.md) | -| [check-ping.ps1](scripts/check-ping.ps1) | Checks the ping latency to the internet. [Read more »](docs/check-ping.md) | -| [check-swap-space.ps1](scripts/check-swap-space.ps1) | Checks the swap space for free space left. [Read more »](docs/check-swap-space.md) | -| [check-windows-system-files.ps1](scripts/check-windows-system-files.ps1) | Checks Windows system files (needs admin rights). [Read more »](docs/check-windows-system-files.md) | -| [enable-crash-dumps.ps1](scripts/enable-crash-dumps.ps1) | Enables the writing of crash dumps. [Read more »](docs/enable-crash-dumps.md) | -| [hibernate.ps1](scripts/hibernate.ps1) | Hibernates the local computer immediately. [Read more »](docs/hibernate.md) | -| [install-github-cli.ps1](scripts/install-github-cli.ps1) | Installs GitHub CLI. [Read more »](docs/install-github-cli.md) | -| [install-chrome-browser.ps1](scripts/install-chrome-browser.ps1) | Installs the Google Chrome browser. [Read more »](docs/install-chrome-browser.md) | -| [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read more »](docs/install-firefox.md) | -| [install-knot-resolver.ps1](scripts/install-knot-resolver.ps1) | Installs the Knot Resolver (needs admin rights). [Read more »](docs/install-knot-resolver.md)| -| [install-ssh-client.ps1](scripts/install-ssh-client.ps1) | Installs a SSH client (needs admin rights). [Read more »](docs/install-ssh-client.md) | -| [install-ssh-server.ps1](scripts/install-ssh-server.ps1) | Installs a SSH server (needs admin rights). [Read more »](docs/install-ssh-server.md) | -| [install-signal-cli.ps1](scripts/install-signal-cli.ps1) | Installs the CLI edition of the Signal messenger. [Read more »](docs/install-signal-cli.md)| -| [install-updates.ps1](scripts/install-updates.ps1) | Installs updates (need admin rights). [Read more »](docs/install-updates.md) | -| [install-wsl.ps1](scripts/install-wsl.ps1) | Installs Windows Subsystem for Linux (WSL), needs admin rights. [Read more »](docs/install-wsl.md)| -| [list-apps.ps1](scripts/list-apps.ps1) | Lists the installed applications. [Read more »](docs/list-installed-apps.md) | -| [list-cli-tools.ps1](scripts/list-cli-tools.ps1) | Lists installed command-line interface (CLI) tools. [Read more »](docs/list-cli-tools.md) | -| [list-dns-servers.ps1](scripts/list-dns-servers.ps1) | Lists public DNS servers. [Read more »](docs/list-dns-servers.md) | -| [list-drives.ps1](scripts/list-drives.ps1) | Lists all drives. [Read more »](docs/list-drives.md) | -| [list-network-shares.ps1](scripts/list-network-shares.ps1) | Lists all network shares of the local computer. [Read more »](docs/list-network-shares.md) | -| [list-installed-software.ps1](scripts/list-installed-software.ps1) | Lists the installed software. [Read more »](docs/list-installed-software.md) | -| [list-printers.ps1](scripts/list-printers.ps1) | Lists all printer known to the computer. [Read more »](docs/list-printers.md) | -| [list-print-jobs.ps1](scripts/list-print-jobs.ps1) | Lists all jobs of all printers. [Read more »](docs/list-print-jobs.md) | -| [list-processes.ps1](scripts/list-processes.ps1) | Lists the local computer processes. [Read more »](docs/list-processes.md) | -| [list-services.ps1](scripts/list-services.ps1) | Lists the services on the local computer. [Read more »](docs/list-services.md) | -| [list-system-info.ps1](scripts/list-system-info.ps1) | Lists system information on the local computer. [Read more »](docs/list-system-info.md) | -| [list-tasks.ps1](scripts/list-tasks.ps1) | Lists all Windows scheduler tasks. [Read more »](docs/list-tasks.md) | -| [list-timezone.ps1](scripts/list-timezone.ps1) | Lists the current time zone details. [Read more »](docs/list-timezone.md) | -| [list-timezones.ps1](scripts/list-timezones.ps1) | Lists all time zones available. [Read more »](docs/list-timezones.md) | -| [list-user-groups.ps1](scripts/list-user-groups.ps1) | Lists the user groups on the local computer. [Read more »](docs/list-user-groups.md) | -| [poweroff.ps1](scripts/poweroff.ps1) | Halts the local computer (needs admin rights). [Read more »](docs/poweroff.md) | -| [query-smart-data.ps1](scripts/query-smart-data.ps1) | Queries the S.M.A.R.T. data of your HDD/SSD's. [Read more »](docs/query-smart-data.md) | -| [reboot.ps1](scripts/reboot.ps1) | Reboots the local computer (needs admin rights). [Read more »](docs/reboot.md) | -| [remove-print-jobs.ps1](scripts/remove-print-jobs.ps1) | Removes all jobs from all printers. [Read more »](docs/remove-print-jobs.md) | -| [restart-network-adapters.ps1](scripts/restart-network-adapters.ps1) | Restarts all local network adapters. [Read more »](docs/restart-network-adapters.md)| -| [upgrade-ubuntu.ps1](scripts/upgrade-ubuntu.ps1) | Upgrades Ubuntu Linux to the latest (LTS) release. [Read more »](docs/upgrade-ubuntu.md) | -| [wake-up-host.ps1](scripts/wake-up-host.ps1) | Wakes up a computer using Wake-on-LAN. [Read more »](docs/wake-up-host.md) | -| [windefender.ps1](scripts/windefender.ps1) | Turn Windows Defender on/off/check real time monitoring. [Read more »](docs/windefender.md) | +| [check-cpu.ps1](scripts/check-cpu.ps1)| Checks the CPU temperature. [More »](docs/check-cpu.md) | +| [check-dns.ps1](scripts/check-dns.ps1) | Checks the DNS resolution. [More »](docs/check-dns.md) | +| [check-drive-space.ps1](scripts/check-drive-space.ps1) | Checks a drive for free space left. [More »](docs/check-drive-space.md) | +| [check-file-system.ps1](scripts/check-file-system.ps1) | Checks the file system of a drive (needs admin rights). [More »](docs/check-file-system.md)| +| [check-health.ps1](scripts/check-health.ps1) | Checks the system health. [More »](docs/check-health.md) | +| [check-ping.ps1](scripts/check-ping.ps1) | Checks the ping latency to the internet. [More »](docs/check-ping.md) | +| [check-swap-space.ps1](scripts/check-swap-space.ps1) | Checks the swap space for free space left. [More »](docs/check-swap-space.md) | +| [check-windows-system-files.ps1](scripts/check-windows-system-files.ps1) | Checks Windows system files (needs admin rights). [More »](docs/check-windows-system-files.md) | +| [enable-crash-dumps.ps1](scripts/enable-crash-dumps.ps1) | Enables the writing of crash dumps. [More »](docs/enable-crash-dumps.md) | +| [hibernate.ps1](scripts/hibernate.ps1) | Hibernates the local computer immediately. [More »](docs/hibernate.md) | +| [install-github-cli.ps1](scripts/install-github-cli.ps1) | Installs GitHub CLI. [More »](docs/install-github-cli.md) | +| [install-chrome-browser.ps1](scripts/install-chrome-browser.ps1) | Installs the Google Chrome browser. [More »](docs/install-chrome-browser.md) | +| [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [More »](docs/install-firefox.md) | +| [install-knot-resolver.ps1](scripts/install-knot-resolver.ps1) | Installs the Knot Resolver (needs admin rights). [More »](docs/install-knot-resolver.md)| +| [install-ssh-client.ps1](scripts/install-ssh-client.ps1) | Installs a SSH client (needs admin rights). [More »](docs/install-ssh-client.md) | +| [install-ssh-server.ps1](scripts/install-ssh-server.ps1) | Installs a SSH server (needs admin rights). [More »](docs/install-ssh-server.md) | +| [install-signal-cli.ps1](scripts/install-signal-cli.ps1) | Installs the CLI edition of the Signal messenger. [More »](docs/install-signal-cli.md)| +| [install-updates.ps1](scripts/install-updates.ps1) | Installs updates (need admin rights). [More »](docs/install-updates.md) | +| [install-wsl.ps1](scripts/install-wsl.ps1) | Installs Windows Subsystem for Linux (WSL), needs admin rights. [More »](docs/install-wsl.md)| +| [list-apps.ps1](scripts/list-apps.ps1) | Lists the installed applications. [More »](docs/list-installed-apps.md) | +| [list-cli-tools.ps1](scripts/list-cli-tools.ps1) | Lists installed command-line interface (CLI) tools. [More »](docs/list-cli-tools.md) | +| [list-dns-servers.ps1](scripts/list-dns-servers.ps1) | Lists public DNS servers. [More »](docs/list-dns-servers.md) | +| [list-drives.ps1](scripts/list-drives.ps1) | Lists all drives. [More »](docs/list-drives.md) | +| [list-network-shares.ps1](scripts/list-network-shares.ps1) | Lists all network shares of the local computer. [More »](docs/list-network-shares.md) | +| [list-installed-software.ps1](scripts/list-installed-software.ps1) | Lists the installed software. [More »](docs/list-installed-software.md) | +| [list-printers.ps1](scripts/list-printers.ps1) | Lists all printer known to the computer. [More »](docs/list-printers.md) | +| [list-print-jobs.ps1](scripts/list-print-jobs.ps1) | Lists all jobs of all printers. [More »](docs/list-print-jobs.md) | +| [list-processes.ps1](scripts/list-processes.ps1) | Lists the local computer processes. [More »](docs/list-processes.md) | +| [list-services.ps1](scripts/list-services.ps1) | Lists the services on the local computer. [More »](docs/list-services.md) | +| [list-system-info.ps1](scripts/list-system-info.ps1) | Lists system information on the local computer. [More »](docs/list-system-info.md) | +| [list-tasks.ps1](scripts/list-tasks.ps1) | Lists all Windows scheduler tasks. [More »](docs/list-tasks.md) | +| [list-timezone.ps1](scripts/list-timezone.ps1) | Lists the current time zone details. [More »](docs/list-timezone.md) | +| [list-timezones.ps1](scripts/list-timezones.ps1) | Lists all time zones available. [More »](docs/list-timezones.md) | +| [list-user-groups.ps1](scripts/list-user-groups.ps1) | Lists the user groups on the local computer. [More »](docs/list-user-groups.md) | +| [poweroff.ps1](scripts/poweroff.ps1) | Halts the local computer (needs admin rights). [More »](docs/poweroff.md) | +| [query-smart-data.ps1](scripts/query-smart-data.ps1) | Queries the S.M.A.R.T. data of your HDD/SSD's. [More »](docs/query-smart-data.md) | +| [reboot.ps1](scripts/reboot.ps1) | Reboots the local computer (needs admin rights). [More »](docs/reboot.md) | +| [remove-print-jobs.ps1](scripts/remove-print-jobs.ps1) | Removes all jobs from all printers. [More »](docs/remove-print-jobs.md) | +| [restart-network-adapters.ps1](scripts/restart-network-adapters.ps1) | Restarts all local network adapters. [More »](docs/restart-network-adapters.md)| +| [upgrade-ubuntu.ps1](scripts/upgrade-ubuntu.ps1) | Upgrades Ubuntu Linux to the latest (LTS) release. [More »](docs/upgrade-ubuntu.md) | +| [wake-up-host.ps1](scripts/wake-up-host.ps1) | Wakes up a computer using Wake-on-LAN. [More »](docs/wake-up-host.md) | +| [windefender.ps1](scripts/windefender.ps1) | Turn Windows Defender on/off/check real time monitoring. [More »](docs/windefender.md) | 💻 Scripts for the Desktop From a32ea8de6bbaa12f43e9507042dff2caa905777b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 11:38:59 +0100 Subject: [PATCH 046/737] Update README.md --- README.md | 106 +++++++++++++++++++++++++++--------------------------- 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/README.md b/README.md index d1451bd38..15d3b4cfc 100644 --- a/README.md +++ b/README.md @@ -96,25 +96,25 @@ Mega Collection of PowerShell Scripts | Script | Description | | ---------------------------------------------------- | ------------------------------------------------------------------------------------------- | -| [close-calculator.ps1](scripts/close-calculator.ps1) | Closes the calculator application. [Read more...](docs/close-calculator.md) | -| [close-cortana.ps1](scripts/close-cortana.ps1) | Closes Cortana. [Read more...](docs/close-cortana.md) | -| [close-chrome.ps1](scripts/close-chrome.ps1) | Closes the Google Chrome browser. [Read more...](docs/close-chrome.md) | -| [close-program.ps1](scripts/close-program.ps1) | Closes the given program gracefully. [Read more...](docs/close-program.md) | -| [close-edge.ps1](scripts/close-edge.ps1) | Closes the Edge browser. [Read more...](docs/close-edge.md) | -| [close-file-explorer.ps1](scripts/close-file-explorer.ps1)| Closes Microsoft File Explorer. [Read more...](docs/close-file-explorer.md) | -| [close-firefox.ps1](scripts/close-firefox.ps1) | Closes the Firefox browser. [Read more...](docs/close-edge.md) | -| [close-microsoft-store.ps1](scripts/close-microsoft-store.ps1)| Closes the Microsoft Store app. [Read more...](docs/close-microsoft-store.md) | -| [close-netflix.ps1](scripts/close-netflix.ps1) | Closes the Netflix app. [Read more...](docs/close-netflix.md) | -| [close-onedrive.ps1](scripts/close-onedrive.ps1) | Closes Microsoft OneDrive. [Read more...](docs/close-onedrive.md) | -| [close-serenade.ps1](scripts/close-serenade.ps1) | Closes the Serenade application. [Read more...](docs/close-serenade.md) | -| [close-snipping-tool.ps1](scripts/close-snipping-tool.ps1)| Closes the Snipping Tool application. [Read more...](docs/close-snipping-tool.md) | -| [close-spotify.ps1](scripts/close-spotify.ps1) | Closes Spotify. [Read more...](docs/close-spotify.md) | -| [close-system-settings.ps1](scripts/close-system-settings.ps1) | Closes the System Settings window. [Read more...](docs/close-system-settings.md) | -| [close-task-manager.ps1](scripts/close-task-manager.ps1) | Closes the Task Manager. [Read more...](docs/close-task-manager.md) | -| [close-thunderbird.ps1](scripts/close-thunderbird.ps1) | Closes Mozilla Thunderbird. [Read more...](docs/close-thunderbird.md) | -| [close-vlc.ps1](scripts/close-vlc.ps1) | Closes the VLC media player application. [Read more...](docs/close-vlc.md) | -| [close-windows-terminal.ps1](scripts/close-windows-terminal.ps1) | Closes the Windows Terminal application. [Read more...](docs/close-windows-terminal.md) | -| [enable-god-mode.ps1](scripts/enable-god-mode.ps1) | Enables the god mode (adds a new icon to the desktop). [Read more...](docs/enable-god-mode.md) | +| [close-calculator.ps1](scripts/close-calculator.ps1) | Closes the calculator application. [Read more »](docs/close-calculator.md) | +| [close-cortana.ps1](scripts/close-cortana.ps1) | Closes Cortana. [More »](docs/close-cortana.md) | +| [close-chrome.ps1](scripts/close-chrome.ps1) | Closes the Google Chrome browser. [More »](docs/close-chrome.md) | +| [close-program.ps1](scripts/close-program.ps1) | Closes the given program gracefully. [More »](docs/close-program.md) | +| [close-edge.ps1](scripts/close-edge.ps1) | Closes the Edge browser. [More »](docs/close-edge.md) | +| [close-file-explorer.ps1](scripts/close-file-explorer.ps1)| Closes Microsoft File Explorer. [More »](docs/close-file-explorer.md) | +| [close-firefox.ps1](scripts/close-firefox.ps1) | Closes the Firefox browser. [More »](docs/close-edge.md) | +| [close-microsoft-store.ps1](scripts/close-microsoft-store.ps1)| Closes the Microsoft Store app. [More »](docs/close-microsoft-store.md) | +| [close-netflix.ps1](scripts/close-netflix.ps1) | Closes the Netflix app. [More »](docs/close-netflix.md) | +| [close-onedrive.ps1](scripts/close-onedrive.ps1) | Closes Microsoft OneDrive. [More »](docs/close-onedrive.md) | +| [close-serenade.ps1](scripts/close-serenade.ps1) | Closes the Serenade application. [More »](docs/close-serenade.md) | +| [close-snipping-tool.ps1](scripts/close-snipping-tool.ps1)| Closes the Snipping Tool application. [More »](docs/close-snipping-tool.md) | +| [close-spotify.ps1](scripts/close-spotify.ps1) | Closes Spotify. [More »](docs/close-spotify.md) | +| [close-system-settings.ps1](scripts/close-system-settings.ps1) | Closes the System Settings window. [More »](docs/close-system-settings.md) | +| [close-task-manager.ps1](scripts/close-task-manager.ps1) | Closes the Task Manager. [More »](docs/close-task-manager.md) | +| [close-thunderbird.ps1](scripts/close-thunderbird.ps1) | Closes Mozilla Thunderbird. [More »](docs/close-thunderbird.md) | +| [close-vlc.ps1](scripts/close-vlc.ps1) | Closes the VLC media player application. [More »](docs/close-vlc.md) | +| [close-windows-terminal.ps1](scripts/close-windows-terminal.ps1) | Closes the Windows Terminal application. [More »](docs/close-windows-terminal.md) | +| [enable-god-mode.ps1](scripts/enable-god-mode.ps1) | Enables the god mode (adds a new icon to the desktop). [More »](docs/enable-god-mode.md) | | [install-chrome.ps1](scripts/install-chrome.ps1) | Installs the Google Chrome browser. [Read more...](docs/install-chrome-browser.md) | | [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read more...](docs/install-firefox.md) | | [list-clipboard.ps1](scripts/list-clipboard.ps1) | Lists the contents of the clipboard. [Read more...](docs/list-clipboard.md) | @@ -167,12 +167,12 @@ Mega Collection of PowerShell Scripts | Script | Description | | ---------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| [cd-autostart.ps1](scripts/cd-autostart.ps1) | Set the working directory to the user's autostart folder. [Read more...](docs/cd-autostart.md) | -| [cd-desktop.ps1](scripts/cd-desktop.ps1) | Set the working directory to the user's desktop folder. [Read more...](docs/cd-desktop.md) | -| [cd-docs.ps1](scripts/cd-docs.ps1) | Set the working directory to the user's documents folder. [Read more...](docs/cd-docs.md) | -| [cd-downloads.ps1](scripts/cd-downloads.ps1) | Set the working directory to the user's downloads folder. [Read more...](docs/cd-downloads.md) | -| [cd-dropbox.ps1](scripts/cd-dropbox.ps1) | Set the working directory to the user's Dropbox folder. [Read more...](docs/cd-dropbox.md) | -| [cd-home.ps1](scripts/cd-home.ps1) | Set the working directory to the user's home folder. [Read more...](docs/cd-home.md) | +| [cd-autostart.ps1](scripts/cd-autostart.ps1) | Set the working directory to the user's autostart folder. [Read more »](docs/cd-autostart.md) | +| [cd-desktop.ps1](scripts/cd-desktop.ps1) | Set the working directory to the user's desktop folder. [More »](docs/cd-desktop.md) | +| [cd-docs.ps1](scripts/cd-docs.ps1) | Set the working directory to the user's documents folder. [More »](docs/cd-docs.md) | +| [cd-downloads.ps1](scripts/cd-downloads.ps1) | Set the working directory to the user's downloads folder. [More »](docs/cd-downloads.md) | +| [cd-dropbox.ps1](scripts/cd-dropbox.ps1) | Set the working directory to the user's Dropbox folder. [More »](docs/cd-dropbox.md) | +| [cd-home.ps1](scripts/cd-home.ps1) | Set the working directory to the user's home folder. [More »](docs/cd-home.md) | | [cd-music.ps1](scripts/cd-music.ps1) | Set the working directory to the user's music folder. [Read more...](docs/cd-music.md) | | [cd-onedrive.ps1](scripts/cd-onedrive.ps1) | Set the working directory to the user's OneDrive folder. [Read more...](docs/cd-onedrive.md) | | [cd-pics.ps1](scripts/cd-pics.ps1) | Set the working directory to the user's pictures folder. [Read more...](docs/cd-pics.md) | @@ -226,12 +226,12 @@ Mega Collection of PowerShell Scripts | Script | Description | | ------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- | | [convert-csv2txt.ps1](scripts/convert-csv2txt.ps1) | Converts a .CSV file to a text file. [Read more »](docs/convert-csv2txt.md) | -| [convert-mysql2csv.ps1](scripts/convert-mysql2csv.ps1) | Converts a MySQL database table to a .CSV file. [Read more »](docs/convert-mysql2csv.md) | -| [convert-ps2bat.ps1](scripts/convert-ps2bat.ps1) | Converts a PowerShell script to a Batch script. [Read more »](docs/convert-ps2bat.md) | -| [convert-ps2md.ps1](scripts/convert-ps2md.ps1) | Converts the comment-based help of a PowerShell script to Markdown. [Read more »](docs/convert-ps2md.md) | -| [convert-sql2csv.ps1](scripts/convert-sql2csv.ps1) | Converts a SQL database table to a .CSV file. [Read more »](docs/convert-sql2csv.md) | -| [convert-txt2wav.ps1](scripts/convert-txt2wav.ps1) | Converts text to a .WAV audio file. [Read more »](docs/convert-txt2wav.md) | -| [export-to-manuals.ps1](scripts/export-to-manuals.ps1) | Exports all scripts as manuals. [Read more »](docs/export-to-manuals.md) | +| [convert-mysql2csv.ps1](scripts/convert-mysql2csv.ps1) | Converts a MySQL database table to a .CSV file. [More »](docs/convert-mysql2csv.md) | +| [convert-ps2bat.ps1](scripts/convert-ps2bat.ps1) | Converts a PowerShell script to a Batch script. [More »](docs/convert-ps2bat.md) | +| [convert-ps2md.ps1](scripts/convert-ps2md.ps1) | Converts the comment-based help of a PowerShell script to Markdown. [More »](docs/convert-ps2md.md) | +| [convert-sql2csv.ps1](scripts/convert-sql2csv.ps1) | Converts a SQL database table to a .CSV file. [More »](docs/convert-sql2csv.md) | +| [convert-txt2wav.ps1](scripts/convert-txt2wav.ps1) | Converts text to a .WAV audio file. [More »](docs/convert-txt2wav.md) | +| [export-to-manuals.ps1](scripts/export-to-manuals.ps1) | Exports all scripts as manuals. [More »](docs/export-to-manuals.md) | 📝 Scripts for Git @@ -271,30 +271,30 @@ Mega Collection of PowerShell Scripts | Script | Description | | ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| [daily-tasks.sh](scripts/daily-tasks.sh) | Execute PowerShell scripts automatically as daily tasks (Linux only). [Read more...](docs/daily-tasks.sh.md) | -| [introduce-powershell.ps1](scripts/introduce-powershell.ps1) | Introduces PowerShell to new users. [Read more...](docs/introduce-powershell.md) | -| [list-aliases.ps1](scripts/list-aliases.ps1) | Lists all PowerShell aliases. [Read more...](docs/list-aliases.md) | -| [list-automatic-variables.ps1](scripts/list-automatic-variables.ps1) | Lists the automatic variables of PowerShell. [Read more...](docs/list-automatic-variables.md)| -| [list-cheat-sheet.ps1](scripts/list-cheat-sheet.ps1) | Lists the PowerShell cheat sheet. [Read more...](docs/list-cheat-sheet.md) | -| [list-cmdlets.ps1](scripts/list-cmdlets.ps1) | Lists the PowerShell cmdlets. [Read more...](docs/list-cmdlets.md) | -| [list-console-colors.ps1](scripts/list-console-colors.ps1) | Lists all console colors. [Read more...](docs/list-console-colors.md) | -| [list-modules.ps1](scripts/list-modules.ps1) | Lists the PowerShell modules. [Read more...](docs/list-modules.md) | -| [list-profiles.ps1](scripts/list-profiles.ps1) | Lists your PowerShell profiles. [Read more...](docs/list-profiles.md) | -| [list-scripts.ps1](scripts/list-scripts.ps1) | Lists all PowerShell scripts in this repository. [Read more...](docs/list-scripts.md) | -| [new-script.ps1](scripts/new-script.ps1) | Creates a new PowerShell script. [Read more...](docs/new-script.md) | -| [set-profile.ps1](scripts/set-profile.ps1) | Updates your PowerShell user profile. [Read more...](docs/set-profile.md) | +| [daily-tasks.sh](scripts/daily-tasks.sh) | Execute PowerShell scripts automatically as daily tasks (Linux only). [Read more »](docs/daily-tasks.sh.md) | +| [introduce-powershell.ps1](scripts/introduce-powershell.ps1) | Introduces PowerShell to new users. [More »](docs/introduce-powershell.md) | +| [list-aliases.ps1](scripts/list-aliases.ps1) | Lists all PowerShell aliases. [More »](docs/list-aliases.md) | +| [list-automatic-variables.ps1](scripts/list-automatic-variables.ps1) | Lists the automatic variables of PowerShell. [More »](docs/list-automatic-variables.md)| +| [list-cheat-sheet.ps1](scripts/list-cheat-sheet.ps1) | Lists the PowerShell cheat sheet. [More »](docs/list-cheat-sheet.md) | +| [list-cmdlets.ps1](scripts/list-cmdlets.ps1) | Lists the PowerShell cmdlets. [More »](docs/list-cmdlets.md) | +| [list-console-colors.ps1](scripts/list-console-colors.ps1) | Lists all console colors. [More »](docs/list-console-colors.md) | +| [list-modules.ps1](scripts/list-modules.ps1) | Lists the PowerShell modules. [More »](docs/list-modules.md) | +| [list-profiles.ps1](scripts/list-profiles.ps1) | Lists your PowerShell profiles. [More »](docs/list-profiles.md) | +| [list-scripts.ps1](scripts/list-scripts.ps1) | Lists all PowerShell scripts in this repository. [More »](docs/list-scripts.md) | +| [new-script.ps1](scripts/new-script.ps1) | Creates a new PowerShell script. [More »](docs/new-script.md) | +| [set-profile.ps1](scripts/set-profile.ps1) | Updates your PowerShell user profile. [More »](docs/set-profile.md) | 🛒 Various PowerShell Scripts ------------------------------ | Script | Description | |-------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------| -| [add-memo.ps1](scripts/add-memo.ps1) | Adds the given memo text to $HOME/Memos.csv. [Read more...](docs/add-memo.md) | -| [check-ipv4-address.ps1](scripts/check-ipv4-address.ps1) | Checks the given IPv4 address for validity. [Read more...](docs/check-ipv4-address.md) | -| [check-ipv6-address.ps1](scripts/check-ipv6-address.ps1) | Checks the given IPv6 address for validity. [Read more...](docs/check-ipv6-address.md) | -| [check-mac-address.ps1](scripts/check-mac-address.ps1) | Checks the given MAC address for validity. [Read more...](docs/check-mac-address.md) | -| [check-subnet-mask.ps1](scripts/check-subnet-mask.ps1) | Checks the given subnet mask for validity. [Read more...](docs/check-subnet-mask.md) | -| [check-weather.ps1](scripts/check-weather.ps1) | Checks the current weather for critical values. [Read more...](docs/check-weather.md) | +| [add-memo.ps1](scripts/add-memo.ps1) | Adds the given memo text to $HOME/Memos.csv. [Read more »](docs/add-memo.md) | +| [check-ipv4-address.ps1](scripts/check-ipv4-address.ps1) | Checks the given IPv4 address for validity. [More »](docs/check-ipv4-address.md) | +| [check-ipv6-address.ps1](scripts/check-ipv6-address.ps1) | Checks the given IPv6 address for validity. [More »](docs/check-ipv6-address.md) | +| [check-mac-address.ps1](scripts/check-mac-address.ps1) | Checks the given MAC address for validity. [More »](docs/check-mac-address.md) | +| [check-subnet-mask.ps1](scripts/check-subnet-mask.ps1) | Checks the given subnet mask for validity. [More »](docs/check-subnet-mask.md) | +| [check-weather.ps1](scripts/check-weather.ps1) | Checks the current weather for critical values. [More »](docs/check-weather.md) | | [display-time.ps1](scripts/display-time.ps1) | Displays the current time for 10 seconds by default. [Read more...](docs/display-time.md) | | [list-anagrams.ps1](scripts/list-anagrams.ps1) | Lists all anagrams of the given word. [Read more...](docs/list-anagrams.md) | | [list-city-weather.ps1](scripts/list-city-weather.ps1) | Lists the current weather of cities worldwide (west to east). [Read more...](docs/list-city-weather.md) | @@ -352,10 +352,10 @@ Mega Collection of PowerShell Scripts | [write-quote.ps1](scripts/write-quote.ps1) | Writes a random quote. [Read more...](docs/write-quote.md) | | [write-red.ps1](scripts/write-red.ps1) | Writes the given text in a red foreground color. [Read more...](docs/write-red.md) | | [write-rot13.ps1](scripts/write-rot13.ps1) | Encodes or decodes the given text with ROT13. [Read more...](docs/write-rot13.md) | -| [write-typewriter.ps1](scripts/write-typewriter.ps1) | Writes the given text with the typewriter effect. [Read more...](docs/write-typewriter.md) | -| [write-uppercase.ps1](scripts/write-uppercase.ps1) | Writes the given text in uppercase letters. [Read more...](docs/write-uppercase.md) | -| [write-vertical.ps1](scripts/write-vertical.ps1) | Writes the given text in vertical direction. [Read more...](docs/write-vertical.md) | -| [show-notification-motivation-quote.ps1](scripts/show-notification-motivation-quote.ps1) | Show notification with random cat picture and motivation quote. [Read more...](docs/show-notification-motivation-quote.md) | +| [write-typewriter.ps1](scripts/write-typewriter.ps1) | Writes the given text with the typewriter effect. [More »](docs/write-typewriter.md) | +| [write-uppercase.ps1](scripts/write-uppercase.ps1) | Writes the given text in uppercase letters. [More »](docs/write-uppercase.md) | +| [write-vertical.ps1](scripts/write-vertical.ps1) | Writes the given text in vertical direction. [More »](docs/write-vertical.md) | +| [show-notification-motivation-quote.ps1](scripts/show-notification-motivation-quote.ps1) | Show notification with random cat picture and motivation quote. [More »](docs/show-notification-motivation-quote.md) | 📧 Feedback ------------ From 5fb74da19755f5d3b9169bc41dd6712c04a07205 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 11:42:24 +0100 Subject: [PATCH 047/737] Update README.md --- README.md | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 15d3b4cfc..2f2032b3c 100644 --- a/README.md +++ b/README.md @@ -240,31 +240,31 @@ Mega Collection of PowerShell Scripts | Script | Description | | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------ | | [build-repo.ps1](scripts/build-repo.ps1) | Builds a Git repository. [Read more »](docs/build-repo.md) | -| [build-repos.ps1](scripts/build-repos.ps1) | Builds all Git repositories in a folder. [Read more »](docs/build-repos.md) | -| [check-repo.ps1](scripts/check-repo.ps1) | Checks a Git repository. [Read more »](docs/check-repo.md) | -| [clean-repo.ps1](scripts/clean-repo.ps1) | Cleans a Git repository from untracked files. [Read more »](docs/clean-repo.md) | -| [clean-repos.ps1](scripts/clean-repos.ps1) | Cleans all Git repositories in a folder from untracked files. [Read more »](docs/clean-repos.md) | -| [clone-repos.ps1](scripts/clone-repos.ps1) | Clones well-known Git repositories. [Read more »](docs/clone-repos.md) | -| [configure-git.ps1](scripts/configure-git.ps1) | Sets up the Git user configuration. [Read more »](docs/configure-git.md) | -| [fetch-repo.ps1](scripts/fetch-repo.ps1) | Fetches updates for a Git repository. [Read more »](docs/fetch-repo.md) | -| [fetch-repos.ps1](scripts/fetch-repos.ps1) | Fetches updates for all Git repositories in a folder. [Read more »](docs/fetch-repos.md) | -| [list-branches.ps1](scripts/list-branches.ps1) | Lists all branches in a Git repository. [Read more »](docs/list-branches.md) | -| [list-commit-stats.ps1](scripts/list-commit-stats.ps1) | Lists a Git commit statistics. [Read more »](docs/list-commit-stats.md) | -| [list-commits.ps1](scripts/list-commits.ps1) | Lists all commits in a Git repository. [Read more »](docs/list-commits.md) | -| [list-latest-tag.ps1](scripts/list-latest-tag.ps1) | Lists the latest tag on the current branch in a Git repository. [Read more »](docs/list-latest-tag.md) | -| [list-latest-tags.ps1](scripts/list-latest-tags.ps1) | Lists the latests tags in all Git repositories under a directory. [Read more »](docs/list-latest-tags.md) | -| [list-repos.ps1](scripts/list-repos.ps1) | Lists all Git repositories in a folder. [Read more »](docs/list-repos.md) | -| [list-submodules.ps1](scripts/list-submodules.ps1) | Lists all submodules in a Git repository. [Read more »](docs/list-submodules.md) | -| [list-tags.ps1](scripts/list-tags.ps1) | Lists all tags in a Git repository. [Read more »](docs/list-tags.md) | -| [new-branch.ps1](scripts/new-branch.ps1) | Creates a new branch in a Git repository. [Read more »](docs/new-branch.md) | -| [new-tag.ps1](scripts/new-tag.ps1) | Creates a new tag in a Git repository. [Read more »](docs/new-tag.md) | -| [pick-commit.ps1](scripts/pick-commit.ps1) | Cherry-picks a Git commit into multiple branches. [Read more »](docs/pick-commit.md) | -| [pull-repo.ps1](scripts/pull-repo.ps1) | Pulls updates for a Git repository. [Read more »](docs/pull-repo.md) | -| [pull-repos.ps1](scripts/pull-repos.ps1) | Pulls updates for all Git repositories in a folder. [Read more »](docs/pull-repos.md) | -| [remove-tag.ps1](scripts/remove-tag.ps1) | Removes a tag in a Git repository. [Read more »](docs/remove-tag.md) | -| [switch-branch.ps1](scripts/switch-branch.ps1) | Switches the branch in a Git repository. [Read more »](docs/switch-branch.md) | -| [sync-repo.ps1](scripts/sync-repo.ps1) | Synchronizes a Git repository by pull & push. [Read more »](docs/sync-repo.md) | -| [write-changelog.ps1](scripts/write-changelog.ps1) | Writes a changelog from Git commits. [Read more »](docs/write-changelog.md) | +| [build-repos.ps1](scripts/build-repos.ps1) | Builds all Git repositories in a folder. [More »](docs/build-repos.md) | +| [check-repo.ps1](scripts/check-repo.ps1) | Checks a Git repository. [More »](docs/check-repo.md) | +| [clean-repo.ps1](scripts/clean-repo.ps1) | Cleans a Git repository from untracked files. [More »](docs/clean-repo.md) | +| [clean-repos.ps1](scripts/clean-repos.ps1) | Cleans all Git repositories in a folder from untracked files. [More »](docs/clean-repos.md) | +| [clone-repos.ps1](scripts/clone-repos.ps1) | Clones well-known Git repositories. [More »](docs/clone-repos.md) | +| [configure-git.ps1](scripts/configure-git.ps1) | Sets up the Git user configuration. [More »](docs/configure-git.md) | +| [fetch-repo.ps1](scripts/fetch-repo.ps1) | Fetches updates for a Git repository. [More »](docs/fetch-repo.md) | +| [fetch-repos.ps1](scripts/fetch-repos.ps1) | Fetches updates for all Git repositories in a folder. [More »](docs/fetch-repos.md) | +| [list-branches.ps1](scripts/list-branches.ps1) | Lists all branches in a Git repository. [More »](docs/list-branches.md) | +| [list-commit-stats.ps1](scripts/list-commit-stats.ps1) | Lists a Git commit statistics. [More »](docs/list-commit-stats.md) | +| [list-commits.ps1](scripts/list-commits.ps1) | Lists all commits in a Git repository. [More »](docs/list-commits.md) | +| [list-latest-tag.ps1](scripts/list-latest-tag.ps1) | Lists the latest tag on the current branch in a Git repository. [More »](docs/list-latest-tag.md) | +| [list-latest-tags.ps1](scripts/list-latest-tags.ps1) | Lists the latests tags in all Git repositories under a directory. [More »](docs/list-latest-tags.md) | +| [list-repos.ps1](scripts/list-repos.ps1) | Lists all Git repositories in a folder. [More »](docs/list-repos.md) | +| [list-submodules.ps1](scripts/list-submodules.ps1) | Lists all submodules in a Git repository. [More »](docs/list-submodules.md) | +| [list-tags.ps1](scripts/list-tags.ps1) | Lists all tags in a Git repository. [More »](docs/list-tags.md) | +| [new-branch.ps1](scripts/new-branch.ps1) | Creates a new branch in a Git repository. [More »](docs/new-branch.md) | +| [new-tag.ps1](scripts/new-tag.ps1) | Creates a new tag in a Git repository. [More »](docs/new-tag.md) | +| [pick-commit.ps1](scripts/pick-commit.ps1) | Cherry-picks a Git commit into multiple branches. [More »](docs/pick-commit.md) | +| [pull-repo.ps1](scripts/pull-repo.ps1) | Pulls updates into a Git repository. [More »](docs/pull-repo.md) | +| [pull-repos.ps1](scripts/pull-repos.ps1) | Pulls updates into all Git repositories in a folder. [More »](docs/pull-repos.md) | +| [remove-tag.ps1](scripts/remove-tag.ps1) | Removes a tag in a Git repository. [More »](docs/remove-tag.md) | +| [switch-branch.ps1](scripts/switch-branch.ps1) | Switches the branch in a Git repository. [More »](docs/switch-branch.md) | +| [sync-repo.ps1](scripts/sync-repo.ps1) | Synchronizes a Git repository by pull & push. [More »](docs/sync-repo.md) | +| [write-changelog.ps1](scripts/write-changelog.ps1) | Writes a changelog from Git commits. [More »](docs/write-changelog.md) | 🔎 Scripts for PowerShell ------------------------ From 2301e9a22600fb72dd271c7b4c22d3b3d0f282e6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 11:50:21 +0100 Subject: [PATCH 048/737] Updated speak-countdown.ps1 and speak-english.ps1 --- scripts/speak-countdown.ps1 | 9 +++++---- scripts/speak-english.ps1 | 5 ++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/speak-countdown.ps1 b/scripts/speak-countdown.ps1 index a37de4763..06fb67d62 100755 --- a/scripts/speak-countdown.ps1 +++ b/scripts/speak-countdown.ps1 @@ -3,24 +3,25 @@ Speaks a countdown by text-to-speech .DESCRIPTION This PowerShell script speaks a countdown by text-to-speech (TTS) starting from a given number. -.PARAMETER StartNumber +.PARAMETER startNumber Specifies the number to start from (10 by default) .EXAMPLE PS> ./speak-countdown.ps1 60 + (listen and enjoy) .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([int]$StartNumber = 10) +param([int]$startNumber = 10) try { - for ([int]$i = $StartNumber; $i -gt 0; $i--) { + for ([int]$i = $startNumber; $i -gt 0; $i--) { & "$PSScriptRoot/speak-english.ps1" $i Start-Sleep -milliseconds 200 } - & "$PSScriptRoot/speak-english.ps1" "zero" + & "$PSScriptRoot/speak-english.ps1" "Zero and lift-off!" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/speak-english.ps1 b/scripts/speak-english.ps1 index fc8be0fd9..59b8df87f 100755 --- a/scripts/speak-english.ps1 +++ b/scripts/speak-english.ps1 @@ -22,11 +22,10 @@ try { foreach ($voice in $TTS.GetVoices()) { if ($voice.GetDescription() -like "*- English*") { $TTS.Voice = $voice - [void]$TTS.Speak($text) - exit 0 # success } } - throw "No English text-to-speech voice found - please install one." + [void]$TTS.Speak($text) + exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 From f93ff94b3beb5c0cb752e5ff1a44ffdcdf2fca1a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 11:52:20 +0100 Subject: [PATCH 049/737] Updated the manuals --- docs/add-firewall-rules.md | 2 +- docs/alert.md | 2 +- docs/build-repo.md | 2 +- docs/build-repos.md | 2 +- docs/cd-autostart.md | 2 +- docs/cd-crashdumps.md | 2 +- docs/cd-desktop.md | 2 +- docs/cd-docs.md | 2 +- docs/cd-downloads.md | 2 +- docs/cd-dropbox.md | 2 +- docs/cd-etc.md | 2 +- docs/cd-fonts.md | 2 +- docs/cd-home.md | 2 +- docs/cd-jenkins.md | 2 +- docs/cd-logs.md | 2 +- docs/cd-music.md | 2 +- docs/cd-nextcloud.md | 2 +- docs/cd-onedrive.md | 2 +- docs/cd-pics.md | 2 +- docs/cd-public.md | 2 +- docs/cd-recent.md | 2 +- docs/cd-recycle-bin.md | 2 +- docs/cd-repo.md | 2 +- docs/cd-repos.md | 2 +- docs/cd-root.md | 2 +- docs/cd-screenshots.md | 2 +- docs/cd-scripts.md | 2 +- docs/cd-ssh.md | 2 +- docs/cd-temp.md | 2 +- docs/cd-templates.md | 2 +- 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 | 2 +- docs/cd-videos.md | 2 +- docs/cd-windows.md | 2 +- 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 | 2 +- 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 | 2 +- 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 | 2 +- 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-dir2zip.md | 2 +- docs/convert-docx2md.md | 2 +- docs/convert-frames2mp4.md | 2 +- docs/convert-image2ascii.md | 2 +- docs/convert-image2blurred-frames.md | 2 +- docs/convert-image2pixelated-frames.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 | 2 +- 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/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 | 2 +- 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-git-extensions.md | 2 +- docs/install-git-for-windows.md | 2 +- docs/install-github-cli.md | 2 +- docs/install-gitlab.md | 2 +- docs/install-irfanview.md | 2 +- docs/install-knot-resolver.md | 2 +- docs/install-microsoft-teams.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-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-thunderbird.md | 2 +- docs/install-twitter.md | 2 +- docs/install-unbound-server.md | 2 +- docs/install-updates.md | 2 +- 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/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 | 2 +- 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 | 2 +- docs/list-earthquakes.md | 2 +- docs/list-emojis.md | 2 +- docs/list-empty-dirs.md | 2 +- 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-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 | 8 +- 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 | 2 +- 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 | 2 +- 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-linux-vm.md | 2 +- docs/new-qrcode.md | 2 +- docs/new-reboot-task.md | 2 +- docs/new-script.md | 2 +- docs/new-shortcut.md | 2 +- docs/new-ssh-key.md | 2 +- docs/new-symlink.md | 2 +- docs/new-tag.md | 2 +- 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-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 | 4 +- docs/query-smart-data.md | 2 +- docs/reboot-fritzbox.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 | 2 +- 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 | 16 +-- docs/speak-croatian.md | 2 +- docs/speak-danish.md | 2 +- docs/speak-dutch.md | 2 +- docs/speak-english.md | 7 +- 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-folder.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/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/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/watch-commits.md | 44 +++---- docs/watch-file.md | 2 +- docs/watch-news.md | 50 ++++---- 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 | 2 +- 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 | 2 +- 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 | 4 +- docs/write-pi.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-time.md | 2 +- docs/write-typewriter.md | 2 +- docs/write-uppercase.md | 2 +- docs/write-vertical.md | 2 +- docs/write-xmas-tree.md | 129 +++++++++++++++++++++ scripts/write-xmas-tree.ps1 | 0 627 files changed, 817 insertions(+), 681 deletions(-) create mode 100644 docs/write-xmas-tree.md mode change 100644 => 100755 scripts/write-xmas-tree.ps1 diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index e237c250a..4eefc0fa2 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -113,4 +113,4 @@ try { ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:49)* diff --git a/docs/alert.md b/docs/alert.md index 781e4428c..48f4c2b9d 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:49)* diff --git a/docs/build-repo.md b/docs/build-repo.md index 9c12b6e45..6a24fac33 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -196,4 +196,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/build-repos.md b/docs/build-repos.md index 218020a3b..55aff31cd 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -82,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index c7722143d..75c3c6111 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index 2dc6348a7..39a7c2f4f 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index d91d18989..5f631eade 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index 1bdd6cdb1..c2a078579 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index d16ca8512..1c5bde5bb 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index 4fbe43dd5..5583c3712 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index fe0ab0eab..f97890d31 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index 879b3a28d..ecac70ba1 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-home.md b/docs/cd-home.md index 1b9e8fdbe..86feed7f6 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index d70cd3eab..55e11c174 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index 39703ab32..adce66f93 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -48,4 +48,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-music.md b/docs/cd-music.md index 1bbbddb71..1595bccdd 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index 8681664a1..dbc6a527b 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index 54f216d68..1cf40e814 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index dbdf06156..f48e9729a 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-public.md b/docs/cd-public.md index 168ab5e72..39ddb9287 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index f4ded2bbb..b86dea864 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index 3723f3e8f..141e207b3 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index 088fbd877..7ded4d76c 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index a36c46110..6d2652c86 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-root.md b/docs/cd-root.md index faee610cc..b665dcc0c 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index 150726307..ccd168a1b 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -55,4 +55,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index 3b5fa95d9..d3f62a9ad 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index 4af5df28a..058475423 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index 8bf929c58..a6484e8fb 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -50,4 +50,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index 0c82dd614..0b37c2f83 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:14)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index bc2ae83a5..246356efd 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-up.md b/docs/cd-up.md index 2731e3d6d..298b59667 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index 6ab814cc3..976c52ae3 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index 089234632..274610090 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index 24962859a..a638acc5f 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-users.md b/docs/cd-users.md index 05be3fef0..f2274394e 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index dbddab2bf..cf215c5d5 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index f085ebda3..eafecce57 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index 37d852f49..8fb9ae340 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -79,4 +79,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/check-admin.md b/docs/check-admin.md index 1c2bb237f..4b830cd6f 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/check-apps.md b/docs/check-apps.md index a68bffd55..b57e357cc 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/check-bios.md b/docs/check-bios.md index 60ee99b3d..c50738d25 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index 35c8f2995..c95bc38b4 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -106,4 +106,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index f0326a4e1..903ebf70a 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -82,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-day.md b/docs/check-day.md index 8d24234a3..0b983845a 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-dns.md b/docs/check-dns.md index 93484f4b5..1039541c3 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index b3d2ef716..1534d2028 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-drives.md b/docs/check-drives.md index fdf2af120..2df4e59b2 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -102,4 +102,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index deac2f65f..19861d61c 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index 9eecc4548..10a28ac39 100644 --- a/docs/check-easter-sunday.md +++ b/docs/check-easter-sunday.md @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index 1108db4ad..eecb41590 100644 --- a/docs/check-file-system.md +++ b/docs/check-file-system.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-file.md b/docs/check-file.md index 82a09db36..fd2962044 100644 --- a/docs/check-file.md +++ b/docs/check-file.md @@ -170,4 +170,4 @@ function Check-Header { param( $path ) Check-Header $Path ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index 6e0c20d3a..cacba536c 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index 163eed79f..1a7fc2db0 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index 64c471d12..653cc8852 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-health.md b/docs/check-health.md index 70d86b6d2..1dc2f00fd 100644 --- a/docs/check-health.md +++ b/docs/check-health.md @@ -58,4 +58,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index 7c037aa8a..40c78173b 100644 --- a/docs/check-independence-day.md +++ b/docs/check-independence-day.md @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index ed7e2eded..fd1f0a29a 100644 --- a/docs/check-ipv4-address.md +++ b/docs/check-ipv4-address.md @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index d0f7a0eaa..d626f61cb 100644 --- a/docs/check-ipv6-address.md +++ b/docs/check-ipv6-address.md @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index d50385f1e..9e367e18c 100644 --- a/docs/check-iss-position.md +++ b/docs/check-iss-position.md @@ -55,4 +55,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index e11b10721..9ec05551e 100644 --- a/docs/check-mac-address.md +++ b/docs/check-mac-address.md @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index 897a55eaf..7b3aa713f 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-month.md b/docs/check-month.md index f4c020739..df6c1c22e 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index 6ecf568d1..46f548771 100644 --- a/docs/check-moon-phase.md +++ b/docs/check-moon-phase.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index 0ae8926e1..d13f2acfb 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-network.md b/docs/check-network.md index dd490fdbc..9f6104a94 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-noon.md b/docs/check-noon.md index 876c3014b..d8aa5b0a7 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-os.md b/docs/check-os.md index 9dac47bce..7c3949d86 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index 378f97d9c..c35299e51 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-password.md b/docs/check-password.md index 0d6d01287..540a18d68 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -94,4 +94,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index 572243212..5b5090d55 100644 --- a/docs/check-pending-reboot.md +++ b/docs/check-pending-reboot.md @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index 2da923ce3..3f955c0aa 100644 --- a/docs/check-pnp-devices.md +++ b/docs/check-pnp-devices.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-power.md b/docs/check-power.md index 57986ab39..e3042017e 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index 67e0f815f..3fef34071 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 5e7985f3c..0c9d4781c 100644 --- a/docs/check-ps1-file.md +++ b/docs/check-ps1-file.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-ram.md b/docs/check-ram.md index 8f485a588..ed463c42c 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-repo.md b/docs/check-repo.md index 725f782e3..382c09d0e 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -129,4 +129,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-repos.md b/docs/check-repos.md index a6571c766..7e31e6ae6 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-santa.md b/docs/check-santa.md index 0cdf5264c..7fd736784 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:15)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index ec95b1906..d05d2b061 100644 --- a/docs/check-smart-devices.md +++ b/docs/check-smart-devices.md @@ -119,4 +119,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/check-software.md b/docs/check-software.md index 999f76c85..18eef9354 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index 7af1f5141..e27fad9a0 100644 --- a/docs/check-subnet-mask.md +++ b/docs/check-subnet-mask.md @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index 2e5c13ac1..91597a796 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -107,4 +107,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index aefdb7118..644c1cd94 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index bbcbad877..11bc658b9 100644 --- a/docs/check-time-zone.md +++ b/docs/check-time-zone.md @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index 2adee19cd..d505ab80c 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -114,4 +114,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index 5b8a92e78..0924a0e6f 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/check-weather.md b/docs/check-weather.md index b9d1b7dac..f84a083e2 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/check-week.md b/docs/check-week.md index 2632e3cdf..cb2e1045e 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/check-wind.md b/docs/check-wind.md index e8f1eea70..b23df69c7 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index 2305e8292..ed8d71c91 100644 --- a/docs/check-windows-system-files.md +++ b/docs/check-windows-system-files.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index 3391208f9..a9efd69ca 100644 --- a/docs/check-xml-file.md +++ b/docs/check-xml-file.md @@ -85,4 +85,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index 80f21b87c..d91e9efa0 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index 7bc347153..0cfc294bb 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index e900eb16f..fb6bd96bb 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index c5e6c584a..76d4b656c 100644 --- a/docs/clear-dns-cache.md +++ b/docs/clear-dns-cache.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index 8b37237bb..46b33343d 100644 --- a/docs/clear-recycle-bin.md +++ b/docs/clear-recycle-bin.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index 61aa483e4..d1a0a09a6 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -118,4 +118,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index 138217dfc..a1cfd1e4b 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index a550141ea..76d2f89fe 100644 --- a/docs/close-calculator.md +++ b/docs/close-calculator.md @@ -48,4 +48,4 @@ Stop-Process -name "CalculatorApp" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index 35b8627f7..0f14815e6 100644 --- a/docs/close-chrome.md +++ b/docs/close-chrome.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index e2a523c87..eed330205 100644 --- a/docs/close-cortana.md +++ b/docs/close-cortana.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-edge.md b/docs/close-edge.md index 56a5600dc..425819532 100644 --- a/docs/close-edge.md +++ b/docs/close-edge.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index 606038ad2..f4af1e8e9 100644 --- a/docs/close-file-explorer.md +++ b/docs/close-file-explorer.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index 769caf528..53319a568 100644 --- a/docs/close-firefox.md +++ b/docs/close-firefox.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index d1a4413ad..2e983a987 100644 --- a/docs/close-git-extensions.md +++ b/docs/close-git-extensions.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index 31105d248..8b5adbd7a 100644 --- a/docs/close-magnifier.md +++ b/docs/close-magnifier.md @@ -48,4 +48,4 @@ tskill magnify exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 27cf91819..72718137a 100644 --- a/docs/close-microsoft-paint.md +++ b/docs/close-microsoft-paint.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index 43e351b2c..db0743b58 100644 --- a/docs/close-microsoft-store.md +++ b/docs/close-microsoft-store.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index 67c297bae..a2583b18e 100644 --- a/docs/close-netflix.md +++ b/docs/close-netflix.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index 28e9a501f..bffd21797 100644 --- a/docs/close-notepad.md +++ b/docs/close-notepad.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index 05ab8d8ff..c5837f185 100644 --- a/docs/close-obs-studio.md +++ b/docs/close-obs-studio.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index 26fdf0589..b7bdc3f6f 100644 --- a/docs/close-one-calendar.md +++ b/docs/close-one-calendar.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index 8c5b0cb28..0ec1c9843 100644 --- a/docs/close-outlook.md +++ b/docs/close-outlook.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index 8a87572c9..43f6df0b9 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-program.md b/docs/close-program.md index a53f75657..8f79211c0 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -118,4 +118,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index 1e3061ba5..7e5a6dacd 100644 --- a/docs/close-serenade.md +++ b/docs/close-serenade.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index 27ba67b31..50ce5fe68 100644 --- a/docs/close-snipping-tool.md +++ b/docs/close-snipping-tool.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index 2d43c2445..551014feb 100644 --- a/docs/close-spotify.md +++ b/docs/close-spotify.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index e9cc0ddc3..205ac26df 100644 --- a/docs/close-task-manager.md +++ b/docs/close-task-manager.md @@ -48,4 +48,4 @@ tskill taskmgr exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index a92fd2f35..b53a0e540 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index b1aabd998..f9e03741c 100644 --- a/docs/close-thunderbird.md +++ b/docs/close-thunderbird.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index ae39d6299..343cd297e 100644 --- a/docs/close-visual-studio.md +++ b/docs/close-visual-studio.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index a25d4f83e..e69c2d314 100644 --- a/docs/close-vlc.md +++ b/docs/close-vlc.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index fe322db7c..d1e477771 100644 --- a/docs/close-windows-terminal.md +++ b/docs/close-windows-terminal.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/configure-git.md b/docs/configure-git.md index 03c1b9985..0f0307b5b 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -141,4 +141,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index c4ae5a4c6..dedc0ca8c 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index 28351fc8c..371c2cf7d 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index 985ae5206..d87dee16e 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -88,4 +88,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index 7b8d17fd9..179084c04 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index bda204f8b..38ffb0ee9 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index 16e987627..9ac123322 100644 --- a/docs/convert-image2ascii.md +++ b/docs/convert-image2ascii.md @@ -114,4 +114,4 @@ Script Content } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index 8276694d6..1858ac400 100644 --- a/docs/convert-image2blurred-frames.md +++ b/docs/convert-image2blurred-frames.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index 39188f059..aaa13a79b 100644 --- a/docs/convert-image2pixelated-frames.md +++ b/docs/convert-image2pixelated-frames.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index 360583844..279edd308 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} ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index 659dc42dc..2a08ec685 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -80,4 +80,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index f91760526..d75b293b1 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} ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index c69d69107..e858703b5 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -119,4 +119,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index e92c0fb42..65473ed67 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index c491b9ef0..e114b6b9f 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -185,4 +185,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index e67b37bb7..928c0d625 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -120,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index 473a7416b..cae30c3af 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:16)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index ec981809d..125033dfb 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -115,4 +115,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/count-characters.md b/docs/count-characters.md index d2e5a02f2..cde176dcb 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/count-lines.md b/docs/count-lines.md index 4adc0393d..5780f331a 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index 4a497a607..84f49f1fc 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -197,4 +197,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index 813e93a1c..0b8a0b0ba 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index 87ebf2cf9..dddce2f55 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/download-dir.md b/docs/download-dir.md index 5f37efe97..29cafa309 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/download-file.md b/docs/download-file.md index 40d66a8f0..c0be539d7 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/edit.md b/docs/edit.md index 7df8ff191..05dc9f0b1 100644 --- a/docs/edit.md +++ b/docs/edit.md @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 56671c180..0c0394d8a 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -330,4 +330,4 @@ Else exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index ffdffd12f..b2f84485a 100644 --- a/docs/enable-god-mode.md +++ b/docs/enable-god-mode.md @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index 61a06d123..95a6ded56 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index fb8e11102..a64e868eb 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -182,4 +182,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index 9ea75c59a..acf4fdb1a 100644 --- a/docs/enter-chat.md +++ b/docs/enter-chat.md @@ -125,4 +125,4 @@ function Get-ChatChannel } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/enter-host.md b/docs/enter-host.md index ee2f0ae80..2df615080 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -94,4 +94,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index 224bde9e5..affeb9a19 100644 --- a/docs/export-to-manuals.md +++ b/docs/export-to-manuals.md @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index f452309c7..4b6302a0a 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index e07652ca4..b974a7d1c 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index cc87ca44e..d16ceb1ca 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -64,4 +64,4 @@ try { ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 8cb468ce9..9863538c2 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index 578119727..5f3484de7 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index fd6f6e808..2dd93bff4 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/hello-world.md b/docs/hello-world.md index cdad26620..b55008116 100644 --- a/docs/hello-world.md +++ b/docs/hello-world.md @@ -50,4 +50,4 @@ Write-Output "Hello World" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/hibernate.md b/docs/hibernate.md index db011911f..9f9256321 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* diff --git a/docs/import-vm.md b/docs/import-vm.md index 830e35402..c8680b71d 100644 --- a/docs/import-vm.md +++ b/docs/import-vm.md @@ -23,4 +23,4 @@ Start-VM $VMName exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index f8abdd390..23fe5d6d1 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -68,4 +68,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index 0c75cb8f0..ff46d96fe 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index 3545033c3..662f00cb3 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 5a7d1823f..2c2c9fef6 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index ff1287d91..4dfe812df 100644 --- a/docs/install-calibre-server.md +++ b/docs/install-calibre-server.md @@ -119,4 +119,4 @@ exit 1 } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index f865cf6d5..fc797d151 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index 2be7a0d65..ebc28e3d9 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index 702d0f64e..8438ea42e 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index fa5d4b66e..67ab8e00b 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-discord.md b/docs/install-discord.md index 9f91bb93d..07bc7eb1e 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-edge.md b/docs/install-edge.md index 6e4a76cae..3b1cfe55d 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index bdc21cc49..cf07a940b 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index 9a93ebb78..704c9a0ac 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index e38cad4df..37919abcb 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index 1e0ff1a02..a74579e73 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index 3aef0264f..e031fc839 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index 8064d16c8..b649cd144 100644 --- a/docs/install-gitlab.md +++ b/docs/install-gitlab.md @@ -31,4 +31,4 @@ Script Content ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index 32ebb28d7..698c95c56 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index 7b43c61d8..a04554bac 100644 --- a/docs/install-knot-resolver.md +++ b/docs/install-knot-resolver.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index 6b4081c18..e1f04b503 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index 0dc3ae3fe..32c08a43e 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index 7ee00dbf4..a6f7afa70 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index 9cdc62174..82faa6dd9 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -32,4 +32,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index a71864e36..e6bfc601b 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index 4dfc374bd..468adc8c1 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index 0ba0c0ae2..959434fe8 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index a1946f7d5..e1786bb80 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index f832370ac..87e4ceb3a 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index 7d49ff6cd..c7b9a53d8 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -651,4 +651,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index bc60a252e..c119e5f81 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index bdd7a5226..7611fb7bc 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index ef19504b1..182069000 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-skype.md b/docs/install-skype.md index e4cd5bc0e..4c41ccfd4 100644 --- a/docs/install-skype.md +++ b/docs/install-skype.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index d45c01993..fe577d642 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index 0a228e2a6..53cb0bd16 100644 --- a/docs/install-ssh-client.md +++ b/docs/install-ssh-client.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index 145c2d5f3..d4244c9d0 100644 --- a/docs/install-ssh-server.md +++ b/docs/install-ssh-server.md @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index df66cfcc6..a70ad5df5 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-twitter.md b/docs/install-twitter.md index b98c02d8e..0da78ceb0 100644 --- a/docs/install-twitter.md +++ b/docs/install-twitter.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index 5cd47066f..7117d205a 100644 --- a/docs/install-unbound-server.md +++ b/docs/install-unbound-server.md @@ -99,4 +99,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-updates.md b/docs/install-updates.md index 3141033b7..317b75ae4 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index f3d9f414c..c0abdb400 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index c731fc347..f5a74a0ff 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index 47f7f23c4..73e689f10 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index fdcc3d80c..a364622dc 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index 6f515f5b4..34f43dfe5 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index 19d120c6d..cc24995bc 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index e201bf6f1..f5987c680 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index 64b9e9d8e..28db595d8 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index 36e8a0c9f..c2283e306 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -120,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/list-apps.md b/docs/list-apps.md index f54534965..18d00b9de 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index ac318de8d..5986de04e 100644 --- a/docs/list-ascii-table.md +++ b/docs/list-ascii-table.md @@ -120,4 +120,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index af6094d7c..2b0cf98ec 100644 --- a/docs/list-automatic-variables.md +++ b/docs/list-automatic-variables.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index 07f96e0d4..071634b0d 100644 --- a/docs/list-battery-status.md +++ b/docs/list-battery-status.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/list-bios.md b/docs/list-bios.md index 12209e287..d89d04a7b 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 4c67b793d..18b227540 100644 --- a/docs/list-bluetooth-devices.md +++ b/docs/list-bluetooth-devices.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/list-branches.md b/docs/list-branches.md index cc9f2f976..e7afa0ccb 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -107,4 +107,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:17)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index d4e4fc65b..be26cc28c 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -245,4 +245,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index ff574f0db..50e3afdc7 100644 --- a/docs/list-cheat-sheet.md +++ b/docs/list-cheat-sheet.md @@ -75,4 +75,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index fcbcd34e8..d370835ff 100644 --- a/docs/list-city-weather.md +++ b/docs/list-city-weather.md @@ -51,4 +51,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index 99345b867..955a01ef1 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -358,4 +358,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index 8ef792ce2..b894113e5 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index 0165d3974..8a171488c 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index d6573f940..081279056 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index 5a1dee2ae..9f3eef76d 100644 --- a/docs/list-commit-stats.md +++ b/docs/list-commit-stats.md @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-commits.md b/docs/list-commits.md index bbc49783e..394693e81 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -121,4 +121,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 75b5b1471..b38228140 100644 --- a/docs/list-console-colors.md +++ b/docs/list-console-colors.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-countries.md b/docs/list-countries.md index 23fde7db0..2f75411a2 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -52,4 +52,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index cae666c22..247858cca 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index 4afb3a178..238784ed6 100644 --- a/docs/list-crypto-rates.md +++ b/docs/list-crypto-rates.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index 893b92188..e234c0cd7 100644 --- a/docs/list-defender-settings.md +++ b/docs/list-defender-settings.md @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index d56738ba2..1bf4a30df 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -125,4 +125,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index f34cdf225..198b86776 100644 --- a/docs/list-dns-servers.md +++ b/docs/list-dns-servers.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-drives.md b/docs/list-drives.md index 53c3e3e54..7d2cdb056 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index 358284896..2bd743989 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index a678770b0..1e5997064 100644 --- a/docs/list-emojis.md +++ b/docs/list-emojis.md @@ -72,4 +72,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index ff5f141bc..617444ab7 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index f6eb30be2..f08c53e48 100644 --- a/docs/list-empty-files.md +++ b/docs/list-empty-files.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index 6a574d500..71d5a30f5 100644 --- a/docs/list-encrypted-files.md +++ b/docs/list-encrypted-files.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index f92c34cbc..66c60cfbb 100644 --- a/docs/list-environment-variables.md +++ b/docs/list-environment-variables.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index fce084f5c..7a453a46d 100644 --- a/docs/list-error-types.md +++ b/docs/list-error-types.md @@ -26,4 +26,4 @@ Script Content } | Select BaseType,Name,FullName ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index 5707389da..74e85d80d 100644 --- a/docs/list-exchange-rates.md +++ b/docs/list-exchange-rates.md @@ -95,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-executables.md b/docs/list-executables.md index 0cce47d00..a6e368aa8 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index 853644746..b8eafa78f 100644 --- a/docs/list-fibonacci.md +++ b/docs/list-fibonacci.md @@ -43,4 +43,4 @@ foreach ($i in 0..100) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-files.md b/docs/list-files.md index 41ad8c45a..d7687ae78 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -68,4 +68,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-folder.md b/docs/list-folder.md index 89d3c2b63..898834051 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index 032bb2204..1376c481c 100644 --- a/docs/list-fritzbox-calls.md +++ b/docs/list-fritzbox-calls.md @@ -153,4 +153,4 @@ echo $Result exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index e745e175d..85b5aac07 100644 --- a/docs/list-fritzbox-devices.md +++ b/docs/list-fritzbox-devices.md @@ -105,4 +105,4 @@ $HostTable | format-table -property Active,IPAddress,MACAddress,HostName,Interfa exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index 62a4f044d..c4be0c7c1 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index 40ea3b914..0a5c00ce8 100644 --- a/docs/list-hidden-files.md +++ b/docs/list-hidden-files.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index 661151af2..203b5d79a 100644 --- a/docs/list-installed-languages.md +++ b/docs/list-installed-languages.md @@ -50,4 +50,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index 362535346..921a75641 100644 --- a/docs/list-installed-scripts.md +++ b/docs/list-installed-scripts.md @@ -48,4 +48,4 @@ Get-InstalledScript exit # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index 38fa8daf7..8e10a1331 100644 --- a/docs/list-installed-software.md +++ b/docs/list-installed-software.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index 35cc9b0d5..2f8ff39e3 100644 --- a/docs/list-internet-ip.md +++ b/docs/list-internet-ip.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index 6ec4d6437..53f0c7b9d 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index 6696739c3..9d243ea1e 100644 --- a/docs/list-latest-tag.md +++ b/docs/list-latest-tag.md @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index 39962f4ed..4b49996b3 100644 --- a/docs/list-latest-tags.md +++ b/docs/list-latest-tags.md @@ -85,4 +85,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index 390eeac3b..8d24ff7c6 100644 --- a/docs/list-local-ip.md +++ b/docs/list-local-ip.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index c1b80ba6f..d1d79d0af 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-memos.md b/docs/list-memos.md index e90113ee7..8456033f6 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -68,4 +68,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index 04bb640c9..09d0fbba2 100644 --- a/docs/list-mysql-tables.md +++ b/docs/list-mysql-tables.md @@ -90,4 +90,4 @@ $result = Invoke-MySqlQuery -ConnectionString "server=$server; database=$databa $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index e5aed72c9..e53cd9353 100644 --- a/docs/list-network-connections.md +++ b/docs/list-network-connections.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index 0a4e30ae5..7039e6cfc 100644 --- a/docs/list-network-neighbors.md +++ b/docs/list-network-neighbors.md @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index 5cf9218b1..75e7ff499 100644 --- a/docs/list-network-routes.md +++ b/docs/list-network-routes.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index 7fa40a976..06b33f8a0 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./list-network-shares.ps1 -✅ Network share \\LAPTOP\Public ("Public folder for file transfer") mapped to: 📂D:\Public +✅ Network share \\LAPTOP\Public -> D:\Public ("Public folder for file transfer") ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script lists all network shares (aka "shared folders") of the local computer. .EXAMPLE PS> ./list-network-shares.ps1 - ✅ Network share \\LAPTOP\Public ("Public folder for file transfer") mapped to: 📂D:\Public + ✅ Network share \\LAPTOP\Public -> D:\Public ("Public folder for file transfer") .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -52,7 +52,7 @@ try { } else { $shares = Get-WmiObject win32_share | where {$_.name -NotLike "*$"} foreach ($share in $shares) { - Write-Output "✅ Network share \\$(hostname)\$($share.Name) (`"$($share.Description)`") mapped to: 📂$($share.Path)" + Write-Output "✅ Network share \\$(hostname)\$($share.Name) -> $($share.Path) (`"$($share.Description)`")" } } exit 0 # success @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-news.md b/docs/list-news.md index 076a9679d..d8d031604 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -112,4 +112,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-nic.md b/docs/list-nic.md index 6eab291c4..e5da95e92 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index a3069c4fb..e872d2c5c 100644 --- a/docs/list-nina-warnings.md +++ b/docs/list-nina-warnings.md @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index 823fd466d..962f0a68a 100644 --- a/docs/list-old-branches.md +++ b/docs/list-old-branches.md @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index 2fbe61eb5..0d646b2ed 100644 --- a/docs/list-os-releases.md +++ b/docs/list-os-releases.md @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index bd44df98d..1f3087819 100644 --- a/docs/list-os-updates.md +++ b/docs/list-os-updates.md @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-os.md b/docs/list-os.md index 15ebd119b..90f3c3839 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index 4dbc42987..19e6b683f 100644 --- a/docs/list-outlook-inbox.md +++ b/docs/list-outlook-inbox.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index 5dd81c408..dca7f88b3 100644 --- a/docs/list-outlook-sent.md +++ b/docs/list-outlook-sent.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-passwords.md b/docs/list-passwords.md index f18a8e216..0f9e6cb3a 100644 --- a/docs/list-passwords.md +++ b/docs/list-passwords.md @@ -111,4 +111,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-pins.md b/docs/list-pins.md index 138719293..9e9264460 100644 --- a/docs/list-pins.md +++ b/docs/list-pins.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index 90a1870c4..80a1a2afd 100644 --- a/docs/list-power-schemes.md +++ b/docs/list-power-schemes.md @@ -21,4 +21,4 @@ powercfg /list exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index 8bb452cc2..7624cfc09 100644 --- a/docs/list-powershell-modules.md +++ b/docs/list-powershell-modules.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index 5e319fb47..503251d22 100644 --- a/docs/list-powershell-profiles.md +++ b/docs/list-powershell-profiles.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index c30f13b18..94043ab96 100644 --- a/docs/list-powershell-verbs.md +++ b/docs/list-powershell-verbs.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index a452ab01d..07a03fe23 100644 --- a/docs/list-print-jobs.md +++ b/docs/list-print-jobs.md @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 6404f6c93..07d3f32cc 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-processes.md b/docs/list-processes.md index eb69b2e04..811579689 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index 43766f29e..fb85c6817 100644 --- a/docs/list-pull-requests.md +++ b/docs/list-pull-requests.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-ram.md b/docs/list-ram.md index 664b12274..34161b3fe 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index 54d6a553e..209c92c81 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index 1adbeb1b5..798db727c 100644 --- a/docs/list-recycle-bin.md +++ b/docs/list-recycle-bin.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-repos.md b/docs/list-repos.md index fd38f9458..70cc859d2 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -103,4 +103,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index c18e6d95d..d87e6c04a 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index 50161b550..1b715ef40 100644 --- a/docs/list-scsi-devices.md +++ b/docs/list-scsi-devices.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-services.md b/docs/list-services.md index 37eb9a130..f5e431228 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index 0641a2bef..bfab1af0e 100644 --- a/docs/list-special-folders.md +++ b/docs/list-special-folders.md @@ -105,4 +105,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index eb1ca4292..1a7ca1843 100644 --- a/docs/list-sql-tables.md +++ b/docs/list-sql-tables.md @@ -93,4 +93,4 @@ $result = Invoke-SqlServerQuery -Credential $creds -ConnectionTimeout 10000 -Dat $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index a2221cc70..0b566c2d0 100644 --- a/docs/list-ssh-key.md +++ b/docs/list-ssh-key.md @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index f439cfdb2..81ef288ee 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index 307d8077a..857f80fcf 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index 24a5fd87e..c27b41517 100644 --- a/docs/list-system-devices.md +++ b/docs/list-system-devices.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index 5f7ae8dbb..c13e55572 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index 36c778cd5..5201cee36 100644 --- a/docs/list-system-info.md +++ b/docs/list-system-info.md @@ -141,4 +141,4 @@ $info exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-tags.md b/docs/list-tags.md index 7993955ed..88daea080 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index 665c6d84b..652d7150e 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -44,4 +44,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index 83b29ff19..a633f463f 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 663cb42bb..4f741394b 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index a7fba5ab1..5b6138f5e 100644 --- a/docs/list-tiobe-index.md +++ b/docs/list-tiobe-index.md @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index 7d4746152..04c3871a9 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -95,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/list-updates.md b/docs/list-updates.md index dcdabe966..92d1c475d 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index 441dff14e..3e48584b4 100644 --- a/docs/list-usb-devices.md +++ b/docs/list-usb-devices.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 2646d8cc7..53e862016 100644 --- a/docs/list-user-accounts.md +++ b/docs/list-user-accounts.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index de59edc56..6dc25ffe0 100644 --- a/docs/list-user-groups.md +++ b/docs/list-user-groups.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/list-voices.md b/docs/list-voices.md index 784329b55..3e04dc1f6 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/list-weather.md b/docs/list-weather.md index 321533d9e..fcc944da2 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -177,4 +177,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index f64cc9477..39ecd11ba 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index 9734b5c49..fdcf82c0e 100644 --- a/docs/list-window-titles.md +++ b/docs/list-window-titles.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index 2643a898f..a50c776ce 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index b98eff280..2b918cc08 100644 --- a/docs/list-wsl-distros.md +++ b/docs/list-wsl-distros.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/locate-city.md b/docs/locate-city.md index 0a447c977..e31ae3b9e 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index 23bb56e03..3b8f9f191 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -46,4 +46,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index e1e1b36ec..c3ab64be3 100644 --- a/docs/locate-my-phone.md +++ b/docs/locate-my-phone.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index 98cc602de..b86a79424 100644 --- a/docs/locate-zip-code.md +++ b/docs/locate-zip-code.md @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index 7187e2a56..e3e1a3a5d 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/log-off.md b/docs/log-off.md index d959d9199..5c7e6085e 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/make-install.md b/docs/make-install.md index c30dc3549..39e88f010 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index 725f114cc..31af468a4 100644 --- a/docs/measure-BubbleSort.md +++ b/docs/measure-BubbleSort.md @@ -92,4 +92,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index aff9d066a..bd0656c89 100644 --- a/docs/measure-BucketSort.md +++ b/docs/measure-BucketSort.md @@ -120,4 +120,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index 417c6329c..b44409e4c 100644 --- a/docs/measure-CountingSort.md +++ b/docs/measure-CountingSort.md @@ -111,4 +111,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index a4f794b7e..a3513daaf 100644 --- a/docs/measure-HeapSort.md +++ b/docs/measure-HeapSort.md @@ -126,4 +126,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index 174d25d13..c51868013 100644 --- a/docs/measure-InsertionSort.md +++ b/docs/measure-InsertionSort.md @@ -95,4 +95,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index 663d303dd..db4321a19 100644 --- a/docs/measure-MergeSort.md +++ b/docs/measure-MergeSort.md @@ -120,4 +120,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index 4d5d9c03a..def5ed175 100644 --- a/docs/measure-QuickSort.md +++ b/docs/measure-QuickSort.md @@ -101,4 +101,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index 696473bfa..8f331e580 100644 --- a/docs/measure-SelectionSort.md +++ b/docs/measure-SelectionSort.md @@ -94,4 +94,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index 47f0a9604..5de3abb57 100644 --- a/docs/measure-sorting-algorithms.md +++ b/docs/measure-sorting-algorithms.md @@ -73,4 +73,4 @@ param([int]$numIntegers = 3000) exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index ffca173fe..258bdb5c4 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index 9ecd22673..09dee838a 100644 --- a/docs/minimize-all-windows.md +++ b/docs/minimize-all-windows.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index 87f1f3d3b..cf35fe243 100644 --- a/docs/move-mouse-pointer.md +++ b/docs/move-mouse-pointer.md @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/move-vm.md b/docs/move-vm.md index 2a175f655..48b5fca41 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/my-profile.md b/docs/my-profile.md index 0101a2f7c..ed375eca1 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/new-branch.md b/docs/new-branch.md index ecbc90845..076668342 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -128,4 +128,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:19)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 245e5abd1..5d28d97e0 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/new-email.md b/docs/new-email.md index f41b49a6f..745727bd1 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index 733d041a3..c8902abd6 100644 --- a/docs/new-linux-vm.md +++ b/docs/new-linux-vm.md @@ -38,4 +38,4 @@ $VMName = "linux" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 5c2c55785..7d0dbca08 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index c48e50781..9d1656dea 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} ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/new-script.md b/docs/new-script.md index 7c3d89d89..2fcd60e09 100644 --- a/docs/new-script.md +++ b/docs/new-script.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index b24e27934..fde2488d3 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index 7dbbe6add..9610955b5 100644 --- a/docs/new-ssh-key.md +++ b/docs/new-ssh-key.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index 1b25e82ba..9cd04c7ac 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/new-tag.md b/docs/new-tag.md index 72cba5d9d..9fe5ef582 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/new-user.md b/docs/new-user.md index 77131b30b..ec64455d6 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index ba480fb95..20408a056 100644 --- a/docs/new-windows-vm.md +++ b/docs/new-windows-vm.md @@ -37,4 +37,4 @@ $VMName = "windows" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index 48968ff29..0d183bb59 100644 --- a/docs/on-desktop-login.md +++ b/docs/on-desktop-login.md @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-URL.md b/docs/open-URL.md index 3e45d6435..460c10876 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -86,4 +86,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index a44ce454e..7cfaea625 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -49,4 +49,4 @@ exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index 172c6cd26..74c80a117 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index 2c4d80c9f..f675625d7 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index 9a1d2098e..f7efd9be4 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index 36aed508b..0e83d4da8 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index ad3b31a4a..c8ec0f68e 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index 56087ab85..0885db1a3 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-clock.md b/docs/open-clock.md index 34f0c1cdc..499303926 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index f59698c21..254ee0a59 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index abd4645b7..e834a903b 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:" ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 1b50a12af..0567c221f 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index 646cf7e16..b667d2932 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index 598704e8c..880b700bc 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index b701c38f8..08647058e 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index 308258a67..26ad6734c 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index 8cb103737..632293f0d 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index be835cb3a..ca98f1b77 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index 807522377..b60d3011a 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index 5cd232176..d90ad6f8c 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:" ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-edge.md b/docs/open-edge.md index 7ddbac51e..216218542 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -48,4 +48,4 @@ Start-Process microsoft-edge:// exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index 09b1a4ba8..919dce6ed 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index 00c77deee..6b29d2557 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index 0e15ffd3e..7b1ca697c 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index 692313933..273ea1af5 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index 71315a3cd..646c97b73 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index 45474ba58..7e567f3a4 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index 259379bd9..b673d1b90 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index 1e8c6245e..7ccee4f7c 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index 92b21b824..1c51dcc40 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -48,4 +48,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index 48cd8e34d..0282c83be 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index c9490f470..70bbab83b 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index 7b4e01659..2b439b726 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index 6e6d55da2..87620c7c4 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index ca499e898..4b2248830 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index 8c610e562..cb46d3526 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index 9e4b5d0d0..8265cd320 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index b3e9565ec..5a1b139a5 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index 240136102..76f46b032 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index dbc48bfe0..e20af2c5b 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index bb9b6a149..98618f6e5 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index 4d7ec3bac..70928fa4b 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index 105f6c544..b78686242 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index f8590a9ab..7afb4ecec 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 5bfd1b518..635c60dfc 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index f023f48f3..f8c9cfa76 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index e8834a44b..e265fd5fc 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index 3d51662fd..eb382b060 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index 8b5c3d15c..ea5358b1e 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index b5895eed1..c81feaaf5 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -48,4 +48,4 @@ Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index d7fc50a31..f43392663 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index f6e6d3ac4..e7d8ea5c4 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index 06b7ce79f..9d84dec3f 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index 6a073ff55..d08a38c9b 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -48,4 +48,4 @@ Start-Process netflix: exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index 2159d8e68..9cdf17d12 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index e28c5fbf3..07a90eb8b 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -47,4 +47,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index 003dbcfaf..7d67aac0b 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index d6f59eea1..32b0c747f 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index b45e11eff..616b44d16 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -47,4 +47,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index 08122f3a6..ff136926c 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index 15ad9959d..662d1a78f 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index 8eabe25b4..a86b00e55 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -64,4 +64,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index 69e35dbbc..93fbfdd41 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index 3ac6a43f5..0e65413b3 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 1278b7528..349da3b9f 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index a10a4cc64..5de68cc71 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index 213471078..af6d70001 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-skype.md b/docs/open-skype.md index 14cf1a52c..46b69331f 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index 8e4542b0c..97f0b2b29 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -48,4 +48,4 @@ Start-Process SnippingTool.exe exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index 92d58376a..d143fbba1 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index f91ebc0fe..230b0ec04 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -48,4 +48,4 @@ Start-Process spotify: exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index fa3c220e5..4df086183 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 993c96626..3d68827f1 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index b01d56110..5eef5f91e 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index 9a466f7d4..0d5e9025e 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index bea485ea4..229eb6712 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -50,4 +50,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:20)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index 05fc1a5b9..d1e7f79d1 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index da7b39781..6333bbafa 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -45,4 +45,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index f1a7035e2..62bb5fac4 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index 325809b97..9603e6d1c 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -47,4 +47,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index dfb9b2e05..e20b5d6e4 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 1acd9ffd2..48f8de504 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index 93303de1e..f0aa6eae1 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -48,4 +48,4 @@ Start-Process windowsdefender: exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index b1d0b6f43..347614f0e 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -48,4 +48,4 @@ Start-Process wt.exe exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/open-xing.md b/docs/open-xing.md index 0f23919c3..4e4a365e9 100644 --- a/docs/open-xing.md +++ b/docs/open-xing.md @@ -48,4 +48,4 @@ Start-Process xing: exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index e31926634..64d853b1f 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -151,4 +151,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/ping-host.md b/docs/ping-host.md index 3fb950f8f..47149bf9b 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index 52ea992e3..e1809f7f4 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -96,4 +96,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index acf7a96d4..bf4aff748 100644 --- a/docs/ping-local-devices.md +++ b/docs/ping-local-devices.md @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index 41dadd9b7..ca73cd78f 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -99,4 +99,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index ab30f9972..7369091ed 100644 --- a/docs/play-bee-sound.md +++ b/docs/play-bee-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index 1e9bc189f..7aa5f338e 100644 --- a/docs/play-beep-sound.md +++ b/docs/play-beep-sound.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index 26ff8a3ca..c23b1d060 100644 --- a/docs/play-big-ben.md +++ b/docs/play-big-ben.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index 56174c1bc..00d6dd5f6 100644 --- a/docs/play-cat-sound.md +++ b/docs/play-cat-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-chess.md b/docs/play-chess.md index 52b93527d..445616d98 100644 --- a/docs/play-chess.md +++ b/docs/play-chess.md @@ -1260,4 +1260,4 @@ while ($Script:gameStatus -eq [gamestatus]::ongoing) { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index 043a42456..f638df90a 100644 --- a/docs/play-cow-sound.md +++ b/docs/play-cow-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index acaf9aaa4..8e48205a0 100644 --- a/docs/play-dog-sound.md +++ b/docs/play-dog-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index fc85c797d..bf9e7d5d0 100644 --- a/docs/play-donkey-sound.md +++ b/docs/play-donkey-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index bcadcfd5d..77dea4441 100644 --- a/docs/play-elephant-sound.md +++ b/docs/play-elephant-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index e7e9e0529..59a105586 100644 --- a/docs/play-elk-sound.md +++ b/docs/play-elk-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-files.md b/docs/play-files.md index 9662513e6..fc8d4bf96 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index e45f8635e..a40576ec9 100644 --- a/docs/play-frog-sound.md +++ b/docs/play-frog-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index 7a0644964..fe0393cb8 100644 --- a/docs/play-goat-sound.md +++ b/docs/play-goat-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index 40e087871..5ec3c3744 100644 --- a/docs/play-gorilla-sound.md +++ b/docs/play-gorilla-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index d57719058..ebdd1619d 100644 --- a/docs/play-happy-birthday.md +++ b/docs/play-happy-birthday.md @@ -79,4 +79,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index d8fdc39c7..ed6f64881 100644 --- a/docs/play-horse-sound.md +++ b/docs/play-horse-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index 396cec1d4..598ea627c 100644 --- a/docs/play-imperial-march.md +++ b/docs/play-imperial-march.md @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index 1c10d933e..ab7955557 100644 --- a/docs/play-jingle-bells.md +++ b/docs/play-jingle-bells.md @@ -201,4 +201,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index b0f65a9f1..b038a3d92 100644 --- a/docs/play-lion-sound.md +++ b/docs/play-lion-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index 7f3a46afa..5188daace 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index 2b894f5d8..abd34ac85 100644 --- a/docs/play-mission-impossible.md +++ b/docs/play-mission-impossible.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index 80a98a805..436e0cd25 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index febc9cf08..38b771585 100644 --- a/docs/play-parrot-sound.md +++ b/docs/play-parrot-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index 34da6ab43..85b00de27 100644 --- a/docs/play-pig-sound.md +++ b/docs/play-pig-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-pong.md b/docs/play-pong.md index a1b77289e..08488fdbe 100644 --- a/docs/play-pong.md +++ b/docs/play-pong.md @@ -176,4 +176,4 @@ while ($true) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index 6d91f7ff9..d613ebf33 100644 --- a/docs/play-rattlesnake-sound.md +++ b/docs/play-rattlesnake-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 294bccecb..993c40766 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -49,4 +49,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-snake.md b/docs/play-snake.md index 1225545d3..ff8766761 100644 --- a/docs/play-snake.md +++ b/docs/play-snake.md @@ -86,4 +86,4 @@ Start-Sleep -milliseconds 300 exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index 8c67f366f..8af8063cc 100644 --- a/docs/play-super-mario.md +++ b/docs/play-super-mario.md @@ -71,4 +71,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index f86528936..600a54f2c 100644 --- a/docs/play-system-sounds.md +++ b/docs/play-system-sounds.md @@ -55,4 +55,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index 41b12aa94..4c957db92 100644 --- a/docs/play-tetris-melody.md +++ b/docs/play-tetris-melody.md @@ -161,4 +161,4 @@ Start-Sleep -milliseconds 500 exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index f12897324..bdd61118e 100644 --- a/docs/play-vulture-sound.md +++ b/docs/play-vulture-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index ec3103ffa..a748419e2 100644 --- a/docs/play-wolf-sound.md +++ b/docs/play-wolf-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/poweroff.md b/docs/poweroff.md index 284cbe67e..dd9056902 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/print-image.md b/docs/print-image.md index 7c8b207ab..92a302527 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index fab099dee..0565836d1 100644 --- a/docs/publish-to-ipfs.md +++ b/docs/publish-to-ipfs.md @@ -119,4 +119,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index ce6f66a27..16746e80d 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index 08180546d..933e59856 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -94,7 +94,7 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($failed -eq 0) { - "✅ Pulled updates into $numFolders repos at 📂$parentDir in $($elapsed)s." + "✅ Updated $numFolders repos at 📂$parentDir in $($elapsed)s." exit 0 # success } else { "⚠️ Updated $numFolders repos at 📂$parentDir in $($elapsed)s but $failed failed!" @@ -106,4 +106,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index 8b4f93e6c..1a029a039 100644 --- a/docs/query-smart-data.md +++ b/docs/query-smart-data.md @@ -106,4 +106,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index 11dd59606..06269bef6 100644 --- a/docs/reboot-fritzbox.md +++ b/docs/reboot-fritzbox.md @@ -152,4 +152,4 @@ echo $Result exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/reboot.md b/docs/reboot.md index e64334dfa..e9daf65c6 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/remember.md b/docs/remember.md index 86d0a6f71..98c681a1e 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/remind-me.md b/docs/remind-me.md index df80f368b..1ef5f0ed9 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -88,4 +88,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/remove-dir-tree.md b/docs/remove-dir-tree.md index 5036fb84c..5581e445c 100644 --- a/docs/remove-dir-tree.md +++ b/docs/remove-dir-tree.md @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index 50a6ecf40..db29c28f6 100644 --- a/docs/remove-empty-dirs.md +++ b/docs/remove-empty-dirs.md @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index 37bafa01f..1eb7f1e2d 100644 --- a/docs/remove-old-dirs.md +++ b/docs/remove-old-dirs.md @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index d7bf2d891..007eec7ab 100644 --- a/docs/remove-print-jobs.md +++ b/docs/remove-print-jobs.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index d031bce97..bdefa892b 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -111,4 +111,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/remove-user.md b/docs/remove-user.md index 261324aff..76b988b96 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index 650ae98a9..1cee76b7c 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index 88ed40957..3fb1c29f2 100644 --- a/docs/replace-in-files.md +++ b/docs/replace-in-files.md @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index 89a8983ba..e1d249c1f 100644 --- a/docs/restart-network-adapters.md +++ b/docs/restart-network-adapters.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index d2f01a3db..99b39e400 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index f28af0c41..39f3b86ac 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:21)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 614b05402..6536041d0 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index 7bf3fdbc7..be723e844 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/scan-network.md b/docs/scan-network.md index 309cb0268..f10438ecc 100644 --- a/docs/scan-network.md +++ b/docs/scan-network.md @@ -32,4 +32,4 @@ $arguments = $arguments + " " + $targets Start-Process $location -ArgumentList $arguments -Wait ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index 1e4c4800a..d61d02560 100644 --- a/docs/scan-ports.md +++ b/docs/scan-ports.md @@ -65,4 +65,4 @@ foreach($add in $range) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/search-filename.md b/docs/search-filename.md index 1ab51fb00..104c7ab9b 100644 --- a/docs/search-filename.md +++ b/docs/search-filename.md @@ -96,4 +96,4 @@ Search-Folder -FilePath $path -SearchTerm $term exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/search-files.md b/docs/search-files.md index 054f3e279..fdf77fe71 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/search-repo.md b/docs/search-repo.md index f7a262007..61d214cf6 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/send-email.md b/docs/send-email.md index 8f31e6e3e..5967b446e 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -121,4 +121,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index dbcc23b1f..77dc69d10 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/send-udp.md b/docs/send-udp.md index 190116af4..7bf7f31e1 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -102,4 +102,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/set-timer.md b/docs/set-timer.md index 569d844df..d56bcec1a 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/set-volume.md b/docs/set-volume.md index 659151335..33faa72dd 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index 1f7d19429..2149b763e 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -122,4 +122,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index b0f85cff9..eb8a68c4e 100644 --- a/docs/show-lightnings.md +++ b/docs/show-lightnings.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index db234fb1e..464900060 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/show-notification.md b/docs/show-notification.md index e161356da..f758d9f33 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -96,4 +96,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index d3cf3238a..b63f78044 100644 --- a/docs/show-traffic.md +++ b/docs/show-traffic.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index b7b668b89..94e3d48d6 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index b9f000826..e5f161077 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -141,4 +141,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 4fad466cb..8a6460ddb 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index 54f8ccd3e..2c677c056 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index 2a4e281ab..6c8143757 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -6,9 +6,9 @@ This PowerShell script speaks a countdown by text-to-speech (TTS) starting from Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-countdown.ps1 [[-StartNumber] ] [] +/home/markus/Repos/PowerShell/scripts/speak-countdown.ps1 [[-startNumber] ] [] --StartNumber +-startNumber Specifies the number to start from (10 by default) Required? false @@ -26,6 +26,7 @@ Example ------- ```powershell PS> ./speak-countdown.ps1 60 +(listen and enjoy) ``` @@ -45,24 +46,25 @@ Script Content Speaks a countdown by text-to-speech .DESCRIPTION This PowerShell script speaks a countdown by text-to-speech (TTS) starting from a given number. -.PARAMETER StartNumber +.PARAMETER startNumber Specifies the number to start from (10 by default) .EXAMPLE PS> ./speak-countdown.ps1 60 + (listen and enjoy) .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([int]$StartNumber = 10) +param([int]$startNumber = 10) try { - for ([int]$i = $StartNumber; $i -gt 0; $i--) { + for ([int]$i = $startNumber; $i -gt 0; $i--) { & "$PSScriptRoot/speak-english.ps1" $i Start-Sleep -milliseconds 200 } - & "$PSScriptRoot/speak-english.ps1" "zero" + & "$PSScriptRoot/speak-english.ps1" "Zero and lift-off!" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -70,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index 9a9093fda..5750f5b4f 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index a454f6724..a07e214ca 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index 193742a64..595b40ff8 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-english.md b/docs/speak-english.md index 600231e9f..a81a2b7a6 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -64,15 +64,14 @@ try { foreach ($voice in $TTS.GetVoices()) { if ($voice.GetDescription() -like "*- English*") { $TTS.Voice = $voice - [void]$TTS.Speak($text) - exit 0 # success } } - throw "No English text-to-speech voice found - please install one." + [void]$TTS.Speak($text) + exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index 2a3ed7278..e270d9dc4 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -139,4 +139,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index c3eab6e31..7cef62b54 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-file.md b/docs/speak-file.md index 8b928ac8f..f0d354450 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index 0d1ed8abf..5807757af 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-french.md b/docs/speak-french.md index 957f2c639..2382d177e 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-german.md b/docs/speak-german.md index bb31a59f4..f096f41ff 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index 6fd23504c..5fc315404 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index 9872363b8..e5971a633 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index ca17c4e3f..4569e3ed7 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index 948b27d03..fbe2aace0 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index 149775dfa..fdf13bc01 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index 5122aa90a..1d3d5ba43 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index e3e290a45..78c9f00bd 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index 1a1dd167d..1bd593dde 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 4db60d192..e69a54034 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index 9bb75c90b..b04ade6fc 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index 83f97b217..aff7ce3ee 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index 9f39014c3..a8e67e141 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index 73df0ecc7..5ce8567a9 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index 828690718..823ce2cb5 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/speak-test.md b/docs/speak-test.md index 755a26fc1..b35ce4837 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/speak-text.md b/docs/speak-text.md index 2770bb750..d3bafda2d 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index 3bee75863..9c7a65b34 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index 36a91d76c..c9396be54 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index 9cbbed7b4..204438a4c 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/spell-word.md b/docs/spell-word.md index d17b6c4a5..918e1196a 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index 92f60706a..5258c6da1 100644 --- a/docs/start-ipfs-server.md +++ b/docs/start-ipfs-server.md @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/suspend.md b/docs/suspend.md index 5c12040fa..95e1a444c 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index 27aa1c4a7..cb636e786 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -126,4 +126,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index 9b240cf40..532d88ea8 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -94,4 +94,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index a04468b4f..519fde148 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/sync-folder.md b/docs/sync-folder.md index 936c696e4..b8bc9e53a 100644 --- a/docs/sync-folder.md +++ b/docs/sync-folder.md @@ -96,4 +96,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index f50bc6001..dbe7790bc 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -95,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index 959b7048e..a2b00a8e3 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index bdabb61fb..c720f1310 100644 --- a/docs/tell-new-year.md +++ b/docs/tell-new-year.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index 46949bff7..27ea07a2b 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index 1453fbfc1..ce79cf76e 100644 --- a/docs/toggle-caps-lock.md +++ b/docs/toggle-caps-lock.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:22)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index a0d43908b..956db842e 100644 --- a/docs/toggle-num-lock.md +++ b/docs/toggle-num-lock.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index 8473e67d5..3f5712a83 100644 --- a/docs/toggle-scroll-lock.md +++ b/docs/toggle-scroll-lock.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/translate-file.md b/docs/translate-file.md index e6203a4ac..153cf81c1 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -108,4 +108,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/translate-files.md b/docs/translate-files.md index 13ce82883..711e6a318 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -105,4 +105,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/translate-text.md b/docs/translate-text.md index 20d40451f..991073fa0 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index b8574b9c6..bc2112961 100644 --- a/docs/turn-volume-down.md +++ b/docs/turn-volume-down.md @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index f2ed32ebb..37100902d 100644 --- a/docs/turn-volume-fully-up.md +++ b/docs/turn-volume-fully-up.md @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index 3b50cf004..1524ebd08 100644 --- a/docs/turn-volume-off.md +++ b/docs/turn-volume-off.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index d43d1d1ff..2ef811bb2 100644 --- a/docs/turn-volume-on.md +++ b/docs/turn-volume-on.md @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index c14faed2f..e60569926 100644 --- a/docs/turn-volume-up.md +++ b/docs/turn-volume-up.md @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index da068ce4d..6f21dfd89 100644 --- a/docs/uninstall-all-apps.md +++ b/docs/uninstall-all-apps.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index b4fd8d8c7..07a606bc4 100644 --- a/docs/uninstall-bloatware.md +++ b/docs/uninstall-bloatware.md @@ -98,4 +98,4 @@ winget uninstall 'Prime Video for Windows' exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index 0435d7fbf..c738dde39 100644 --- a/docs/update-powershell-profile.md +++ b/docs/update-powershell-profile.md @@ -80,4 +80,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index 4547a21b1..f29c1bf95 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/upload-file.md b/docs/upload-file.md index 3e886e7d9..41aa207f1 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -145,4 +145,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index 20685aa14..21d1d8bcf 100644 --- a/docs/upload-to-dropbox.md +++ b/docs/upload-to-dropbox.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index b2952b326..5955cd814 100644 --- a/docs/wake-up-host.md +++ b/docs/wake-up-host.md @@ -120,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index d3b932ade..d911715ae 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -1,7 +1,7 @@ The *watch-commits.ps1* Script =========================== -This PowerShell script permanently lists the latest commit in a Git repository in real-time. +This PowerShell script continuously lists the latest commit in a Git repository in real-time. Parameters ---------- @@ -41,7 +41,7 @@ Parameters Example ------- ```powershell -PS> ./commit-ticker.ps1 +PS> ./watch-commits.ps1 ❇️ Updated general.csv by Markus Fleschutz (HEAD -> main, origin/main, origin/HEAD) ... @@ -60,13 +60,13 @@ Script Content ```powershell <# .SYNOPSIS - Show commits live in real-time. + Watch commits live. .DESCRIPTION - This PowerShell script permanently lists the latest commit in a Git repository in real-time. + This PowerShell script continuously lists the latest commit in a Git repository in real-time. .PARAMETER pathToRepo Specifies the file path to the local Git repository. .EXAMPLE - PS> ./commit-ticker.ps1 + PS> ./watch-commits.ps1 ❇️ Updated general.csv by Markus Fleschutz (HEAD -> main, origin/main, origin/HEAD) ... .LINK @@ -82,31 +82,31 @@ try { $null = (git --version) if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } - Write-Progress "Checking file patch to Git repository..." + Write-Progress "Checking local Git repository..." if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access directory: $pathToRepo" } - - Write-Progress "Fetching updates..." - & git -C "$pathToRepo" fetch --all --recurse-submodules=no --jobs=1 --quiet - if ($lastExitCode -ne "0") { throw "'git fetch' failed" } Write-Progress -completed "Done." + Write-Host "" + Write-Host "TIME COMMIT" + Write-Host "---- ------" $prevLine = "" $tzOffset = (Get-Timezone).BaseUtcOffset.TotalSeconds for (;;) { + & git -C "$pathToRepo" fetch --all --recurse-submodules=no --jobs=1 --quiet + if ($lastExitCode -ne "0") { throw "'git fetch' failed" } + $line = (git -C "$pathToRepo" log origin --format=format:'%at %s by %an%d' --max-count=1) - if ($line -ne $prevLine) { - $unixTimestamp = [int64]$line.Substring(0,10) - $time = (Get-Date -day 1 -month 1 -year 1970 -hour 0 -minute 0 -second 0).AddSeconds($unixTimestamp) - $time = $time.AddSeconds($tzOffset) - $timeString = $time.ToString("HH:mm") - $message = $line.Substring(11) - & "$PSScriptRoot/write-typewriter.ps1" "❇️ $timeString $message" $speed - $prevLine = $line - } else { + if ($line -eq $prevLine) { Start-Sleep -seconds $updateInterval + continue } - & git -C "$pathToRepo" fetch --all --recurse-submodules=no --jobs=1 --quiet - if ($lastExitCode -ne "0") { throw "'git fetch' failed" } + $unixTimestamp = [int64]$line.Substring(0,10) + $time = (Get-Date -day 1 -month 1 -year 1970 -hour 0 -minute 0 -second 0).AddSeconds($unixTimestamp) + $time = $time.AddSeconds($tzOffset) + $timeString = $time.ToString("HH:mm") + $message = $line.Substring(11) + & "$PSScriptRoot/write-typewriter.ps1" "$timeString $message" $speed + $prevLine = $line } exit 0 # success } catch { @@ -115,4 +115,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/watch-file.md b/docs/watch-file.md index ab1b58afb..4032bbfb1 100644 --- a/docs/watch-file.md +++ b/docs/watch-file.md @@ -64,4 +64,4 @@ function Watch-File { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/watch-news.md b/docs/watch-news.md index 0b370e87d..56c955785 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -18,11 +18,11 @@ Parameters Accept wildcard characters? false -timeInterval - Specifies the time interval in seconds between two Web requests (30 seconds by default) + Specifies the time interval in seconds between two Web requests (60 seconds by default) Required? false Position? 2 - Default value 30 + Default value 60 Accept pipeline input? false Accept wildcard characters? false @@ -38,9 +38,9 @@ PS> ./watch-news.ps1 -UTC Yahoo News - Latest News & Headlines - https://www.yahoo.com/news/world - --- ----------------------------------------------------------------------- -❇️ 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria +UTC HEADLINES (by: https://www.yahoo.com/news/world) + --- ------------------------------------------------ +14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria ... ``` @@ -66,13 +66,13 @@ Script Content .PARAMETER lines Specifies the initial number of headlines .PARAMETER timeInterval - Specifies the time interval in seconds between two Web requests (30 seconds by default) + Specifies the time interval in seconds between two Web requests (60 seconds by default) .EXAMPLE PS> ./watch-news.ps1 - UTC Yahoo News - Latest News & Headlines - https://www.yahoo.com/news/world - --- ----------------------------------------------------------------------- - ❇️ 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria + UTC HEADLINES (by: https://www.yahoo.com/news/world) + --- ------------------------------------------------ + 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria ... .LINK https://github.com/fleschutz/PowerShell @@ -80,31 +80,37 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -param([string]$URL = "https://news.yahoo.com/rss/world", [int]$timeInterval = 30) # in seconds +param([string]$URL = "https://news.yahoo.com/rss/world", [int]$timeInterval = 60) # in seconds -function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp) { +function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp, [string]$icon) { $items = $content.rss.channel.item [array]::Reverse($items) + $newLatest = $latestTimestamp foreach($item in $items) { - if ($($item.pubDate) -le $latestTimestamp) { continue } + $pubDate = $item.pubDate + if ($pubDate -le $latestTimestamp) { continue } $title = $item.title - $time = $item.pubDate.Substring(11, 5) - & "$PSScriptRoot/write-typewriter.ps1" "❇️ $time $title" 2 - $latestTimestamp = $item.pubDate + $time = $pubDate.Substring(11, 5) + Write-Host "$time $title$icon" + Start-Sleep -milliseconds 500 + if ($pubDate -gt $newLatest) { $newLatest = $pubDate } } - return $latestTimestamp + return $newLatest } try { [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content - $title = $content.rss.channel.title + $title = $content.rss.channel.title.toUpper() $link = $content.rss.channel.link - " " - " UTC $title - $link" - " --- -----------------------------------------------------------------------" + Write-Host "`n UTC HEADLINES (by: " -noNewline + Write-Host $link -foregroundColor blue -noNewline + Write-Host ")" + Write-Host " --- ------------------------------------------------" $latestTimestamp = "2000-01-01" + $icon = "" do { - $latestTimestamp = PrintLatestHeadlines $content $latestTimestamp + $latestTimestamp = PrintLatestHeadlines $content $latestTimestamp $icon + $icon = "🆕" Start-Sleep -seconds $timeInterval [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content } while ($true) @@ -115,4 +121,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index e8ccfb155..1cef1bc49 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -135,4 +135,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/weather-report.md b/docs/weather-report.md index 33fafd8e2..63ee666a2 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/weather.md b/docs/weather.md index 9508b4aa9..fbc4144d0 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/what-is.md b/docs/what-is.md index 0e6053bf9..0953b9c95 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/windefender.md b/docs/windefender.md index 9082bcc28..73e7e59bc 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -82,4 +82,4 @@ break } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/write-animated.md b/docs/write-animated.md index 146080b9a..145436b77 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index 3d9df28f4..3149d550b 100644 --- a/docs/write-ascii-image.md +++ b/docs/write-ascii-image.md @@ -61,4 +61,4 @@ WriteLine " '`--._,dd###pp='''" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* diff --git a/docs/write-big.md b/docs/write-big.md index 60200bf38..043b1e220 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -471,4 +471,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-blue.md b/docs/write-blue.md index d0727af43..7f7070958 100644 --- a/docs/write-blue.md +++ b/docs/write-blue.md @@ -64,4 +64,4 @@ write-host -foregroundColor blue "$text" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-braille.md b/docs/write-braille.md index 92ca44f03..2f06a7e17 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -408,4 +408,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-centered.md b/docs/write-centered.md index a54e4164d..e8286947d 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index 8b1e3ffea..f18f86cf7 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -155,4 +155,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-chart.md b/docs/write-chart.md index b0cb3f3ed..10503c585 100644 --- a/docs/write-chart.md +++ b/docs/write-chart.md @@ -68,4 +68,4 @@ WriteChartLine "Tom" 30.9 100.0 exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-clock.md b/docs/write-clock.md index 7c73fd705..093e2d131 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-code.md b/docs/write-code.md index 86ac42cd3..11dec392a 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -118,4 +118,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-credits.md b/docs/write-credits.md index 5672a5738..75344a81a 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-date.md b/docs/write-date.md index b87c3c622..b57e326a1 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index ecfd5a656..3313363f2 100644 --- a/docs/write-fractal.md +++ b/docs/write-fractal.md @@ -79,4 +79,4 @@ while ($true) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-green.md b/docs/write-green.md index 97a59be1b..1ea118eb6 100644 --- a/docs/write-green.md +++ b/docs/write-green.md @@ -63,4 +63,4 @@ write-host -foregroundColor green "$text" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index 96647d18e..4e4ca1e1b 100644 --- a/docs/write-hands-off.md +++ b/docs/write-hands-off.md @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-headline.md b/docs/write-headline.md index a7adfa59c..2c8098af9 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-help.md b/docs/write-help.md index 2c4b7654a..ae57c885a 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index 348b724f2..e429994d8 100644 --- a/docs/write-in-emojis.md +++ b/docs/write-in-emojis.md @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 0718c3b86..0f3294b27 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-location.md b/docs/write-location.md index e1ba712db..24a61dbe9 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index ed76078cd..caadf94ab 100644 --- a/docs/write-lowercase.md +++ b/docs/write-lowercase.md @@ -65,4 +65,4 @@ Write-Output $text.ToLower() exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index a1f7787af..2a5f95249 100644 --- a/docs/write-marquee.md +++ b/docs/write-marquee.md @@ -89,4 +89,4 @@ StartMarquee " exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index db5c8d73c..4e6638700 100644 --- a/docs/write-matrix.md +++ b/docs/write-matrix.md @@ -81,4 +81,4 @@ exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-moon.md b/docs/write-moon.md index 7f9647e86..cf07a702a 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index 0975ed1fc..48f927c18 100644 --- a/docs/write-morse-code.md +++ b/docs/write-morse-code.md @@ -153,4 +153,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-motd.md b/docs/write-motd.md index b375d5a6b..3d3a0d2e9 100644 --- a/docs/write-motd.md +++ b/docs/write-motd.md @@ -93,7 +93,7 @@ Write-Host " User: " -NoNewline -ForegroundColor DarkGray Write-Host "$UserName" -ForegroundColor Cyan Write-Host " it::::tt333EEF" -NoNewline -ForegroundColor Red Write-Host " @EEEEEEttttt33F " -NoNewline -ForegroundColor Green -Write-Host " Hostname: " -NoNewline -ForegroundColor DarkGray +Write-Host " Host: " -NoNewline -ForegroundColor DarkGray Write-Host "$ComputerName" -ForegroundColor Cyan Write-Host " ;3=*^``````'*4EEV" -NoNewline -ForegroundColor Red Write-Host " :EEEEEEttttt33@. " -NoNewline -ForegroundColor Green @@ -140,4 +140,4 @@ Write-Host " 'VEzjt:;;z>*`` " -ForegroundColor Yellow exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-pi.md b/docs/write-pi.md index 1451dd87b..a45849188 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -117,4 +117,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index 8684ffc21..95d99f8ff 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 ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 6ddfdafa9..78770e93e 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-red.md b/docs/write-red.md index 0a59ab019..0838ac2e0 100644 --- a/docs/write-red.md +++ b/docs/write-red.md @@ -63,4 +63,4 @@ write-host -foregroundcolor red "$text" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index c8bd006f0..f72d92a39 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -82,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-shit.md b/docs/write-shit.md index 3aaf049f0..3c0041d0f 100644 --- a/docs/write-shit.md +++ b/docs/write-shit.md @@ -50,4 +50,4 @@ Write-Output "💩" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index 8871ebe1e..ac8931699 100644 --- a/docs/write-sine-curves.md +++ b/docs/write-sine-curves.md @@ -56,4 +56,4 @@ Script Content } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-time.md b/docs/write-time.md index 5862623b0..86918bf91 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index 26c53c524..e26dfc638 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index a5a725035..ef831a6c4 100644 --- a/docs/write-uppercase.md +++ b/docs/write-uppercase.md @@ -65,4 +65,4 @@ Write-Output $text.ToUpper() exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index 6bbf7dc36..77067a80c 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:23)* +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md new file mode 100644 index 000000000..99edb87cd --- /dev/null +++ b/docs/write-xmas-tree.md @@ -0,0 +1,129 @@ +The *write-xmas-tree.ps1* Script +=========================== + +This PowerShell script writes a christmas tree to the terminal. + +Parameters +---------- +```powershell +/home/markus/Repos/PowerShell/scripts/write-xmas-tree.ps1 [[-Size] ] [[-XPos] ] [[-colors] ] [[-Idx] ] [[-count] ] [[-duration] ] [] + +-Size + + Required? false + Position? 1 + Default value @(21,8,4) + Accept pipeline input? false + Accept wildcard characters? false + +-XPos + tree height, trunk width, trunk height + + Required? false + Position? 2 + Default value 50 + Accept pipeline input? false + Accept wildcard characters? false + +-colors + starting x position + + Required? false + Position? 3 + Default value @("blue", "green", "cyan", "red", "yellow", "magenta") + Accept pipeline input? false + Accept wildcard characters? false + +-Idx + + Required? false + Position? 4 + Default value (Get-Random -Min 0 -Max ($colors.Length-1)) + Accept pipeline input? false + Accept wildcard characters? false + +-count + + Required? false + Position? 5 + Default value 100 + Accept pipeline input? false + Accept wildcard characters? false + +-duration + + Required? false + Position? 6 + Default value 250 + Accept pipeline input? false + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./write-xmas-tree.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Writes a Xmas tree +.DESCRIPTION + This PowerShell script writes a christmas tree to the terminal. +.EXAMPLE + PS> ./write-xmas-tree.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param( [array]$Size=@(21,8,4), # tree height, trunk width, trunk height + [int]$XPos=50, # starting x position + [array]$colors = @("blue", "green", "cyan", "red", "yellow", "magenta"), + [int]$Idx = (Get-Random -Min 0 -Max ($colors.Length-1)), + [int]$count = 100, + [int]$duration = 250) # ms + +Clear-Host +do { + [console]::SetCursorPosition(0,0) + Write-Host "`n`t`t`tMerry Christmas" -foregroundColor yellow + Write-Host "`t`t`t &" -foregroundColor yellow + Write-Host "`t`t`t Happy New Year" -foregroundColor yellow + for ( $i=1; $i -le $Size[0]; $i++ ) { + $line = " " * ($XPos - $i) + "*" * ($i * 2) + $Idx = $Idx % $colors.Length + Write-Host $line -foregroundColor $colors[$Idx] + $Idx++ + } + + for ( $j=1; $j -le $Size[2]; $j++ ){ + $line = " " * ( $XPos - ( $Size[1] / 2 ) ) + "#" * $Size[1] + Write-Host $line -foregroundColor DarkGreen + } + + + Start-Sleep -milliseconds $duration + $count-- +} while ($count -gt 0) + +``` + +*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* diff --git a/scripts/write-xmas-tree.ps1 b/scripts/write-xmas-tree.ps1 old mode 100644 new mode 100755 From 5970d07a8d74655dc6a187f1b7c8dd164fd7c275 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 12:10:37 +0100 Subject: [PATCH 050/737] Updated general.csv --- data/dicts/general.csv | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/data/dicts/general.csv b/data/dicts/general.csv index 64740b4ff..41aea274b 100644 --- a/data/dicts/general.csv +++ b/data/dicts/general.csv @@ -340,17 +340,18 @@ AOSTH,Adventures of Sonic the Hedgehog AOTS,"Attack of the Show!" AOU,American Ornithologists' Union AP,"Advanced Placement,Air Publication,Andhra Pradesh (Indian state code),Armed Forces Pacific (postal symbol),Associated Press,Auto Pilot" +APAC,Asia Pacific APB,All Points Bulletin (police jargon) -APC,Armoured Personnel Carrier,Armour Piercing Capped (ammunition) -APCNR,Armour-Piercing,Composite Non-Rigid (ammunition) -APCR,Armour-Piercing,Composite Rigid (ammunition) -APDS,Armour-Piercing,Discarding-Sabot (ammunition) +APC,"Armoured Personnel Carrier, Armour Piercing Capped (ammunition)" +APCNR,"Armour-Piercing,Composite Non-Rigid (ammunition)" +APCR,"Armour-Piercing,Composite Rigid (ammunition)" +APDS,"Armour-Piercing,Discarding-Sabot (ammunition)" APEC,Asia Pacific Economic Cooperation APEDS,AMSAA Performance Estimates Data System APEX,Applied Physics Express -APFSDS,Armour-Piercing,Fin-Stabilised,Discarding Sabot (ammunition) +APFSDS,"Armour-Piercing,Fin-Stabilised,Discarding Sabot (ammunition)" APHA,American Public Health Association -APHE,Armour-Piercing,High Explosive (ammunition) +APHE,"Armour-Piercing, High Explosive (ammunition)" APHIS,Animal and Plant Health Inspection Service APL,"Acute Promyeloid Leukaemia,Anti-Personnel Landmine,Applied Physics Laboratory (Johns Hopkins University)" APOD,Aerial Port (Airport) Of Debarkation @@ -370,13 +371,13 @@ ARC,Arc-second Raster Chart,Appalachian Regional Commission ARCA,Automobile Racing Club of America ARCENT,United States Army Central Command ARDA,Advanced Research and Development Activity (became DTO 2006) -ARE,UK Admiralty Research Establishment (-1991),United Arab Emirates (ISO 3166 trigram) +ARE,"UK Admiralty Research Establishment (-1991),United Arab Emirates (ISO 3166 trigram)" ARF,ASEAN Regional Forum ARG,Argentina (ISO 3166 trigram) ARH,Armed Reconnaissance Helicopter -ARI,Acute Respiratory Infection,U.S. Army Research Institute for the Behavioral and Social Sciences -ARL,UK Admiralty Research Laboratory (1921-1977),U.S. Army Research Laboratory,UIUC Aviation Research Laboratory -ARM,Anti-Radiation Missile,Adjustable-rate mortgage,Armenia (ISO 3166 trigram) +ARI,"Acute Respiratory Infection,U.S. Army Research Institute for the Behavioral and Social Sciences" +ARL,"UK Admiralty Research Laboratory (1921-1977),U.S. Army Research Laboratory,UIUC Aviation Research Laboratory" +ARM,"Anti-Radiation Missile,Adjustable-rate mortgage,Armenia (ISO 3166 trigram)" ARNet,Acquisition Reform Network ARP,Applied Research Programme ARPA,Advanced Research Projects Agency @@ -385,7 +386,7 @@ ARRF,Allied Rapid Reaction Force ARRL,American Radio Relay League ARSC,Arctic Region Supercomputing Center ARSPACE,U.S. Army Space Command -ART,Adaptive Resonance Theory,Anti-Retroviral Therapy +ART,"Adaptive Resonance Theory, Anti-Retroviral Therapy" ARTCC,Air Route Traffic Control Center ARWG,Army Research Working Group AS,ActionScript From 30ebcd6d87f9a59c0c83cb153de3f544093cc316 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 12:15:53 +0100 Subject: [PATCH 051/737] Updated general.csv and military.csv --- data/dicts/general.csv | 1 - data/dicts/military.csv | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/data/dicts/general.csv b/data/dicts/general.csv index 41aea274b..199a9aaa1 100644 --- a/data/dicts/general.csv +++ b/data/dicts/general.csv @@ -2963,7 +2963,6 @@ MLK,Martin Luther King,Jr. MLL,Major League Lacrosse MLLW,Mean Lower Low Water (nautical charts) MLP,My Little Pony -MLRS,Multiple-Launch Rocket System MLS,Major League Soccer,Multiple Listing Service MLSE,Maple Leaf Sports & Entertainment (owner of several Toronto-based sports teams),Maximum likelihood sequence estimation MLSR,Missing,Lost or Stolen Report diff --git a/data/dicts/military.csv b/data/dicts/military.csv index 748e6bfb4..ca1ece027 100644 --- a/data/dicts/military.csv +++ b/data/dicts/military.csv @@ -321,6 +321,7 @@ HEMAT,Heavy Expanded Mobility Ammunition Trailer HEP,High Explosive Plastic HESH,High Explosive Squash Head HE-T,High Explosive - Tracer +HIMARS,High Mobility Artillery Rocket System HMG,Heavy Machine u Gun HMO,Health Maintenance Organization HOB,Height of Burst From 0ca0bcf2d71ecc6a5787dff29d7c414b44354d58 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 13:58:52 +0100 Subject: [PATCH 052/737] Updated play-system-sounds.ps1 --- scripts/play-system-sounds.ps1 | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/scripts/play-system-sounds.ps1 b/scripts/play-system-sounds.ps1 index d6921e42b..090aa59f9 100755 --- a/scripts/play-system-sounds.ps1 +++ b/scripts/play-system-sounds.ps1 @@ -2,18 +2,34 @@ .SYNOPSIS Plays all system sounds .DESCRIPTION - This PowerShell script plays all operating system sounds. + This PowerShell script plays all available system sounds. .EXAMPLE PS> ./play-system-sounds.ps1 - (listen and enjoy) + (listen and enjoy) .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +function GetPathToSystemMedia { + if ($IsLinux) { + throw "Not supported for Linux yet" + } elseif ($IsMacOS) { + throw "Not supported for MacOS yet" + } else { + $WinPath = Resolve-Path "$env:WINDIR" + if (-not(Test-Path "$WinPath" -pathType container)) { throw "Windows folder at 📂$WinPath doesn't exist" } + + $MediaPath = "$WinPath\Media" + if (-not(Test-Path "$MediaPath" -pathType container)) { throw "Windows media at 📂$MediaPath doesn't exist" } + + return $MediaPath + } +} + function PlaySoundFiles([string]$filePattern) { - $files = (Get-ChildItem "$filePattern") + $files = Get-ChildItem "$filePattern" foreach($file in $files) { & "$PSScriptRoot/play-mp3.ps1" "$file" Start-Sleep -milliseconds 500 @@ -21,14 +37,10 @@ function PlaySoundFiles([string]$filePattern) { } try { - if ($IsLinux -or $IsMacOS) { throw "Currently only supported for Windows" } - - $WinDir = Resolve-Path "$env:WINDIR" - if (-not(Test-Path "$WinDir" -pathType container)) { throw "Windows directory at 📂$Path doesn't exist" } - - Write-Host "`n Windows System Sounds at $WinDir\Media" -foregroundColor green - PlaySoundFiles "$WinDir\Media\*.wav" - PlaySoundFiles "$WinDir\Media\*\*.wav" + $path = GetPathToSystemMedia + Write-Host "`n S Y S T E M S O U N D S (at: $path)" -foregroundColor green + PlaySoundFiles "$path\*.wav" + PlaySoundFiles "$path\*\*.wav" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 8136a01507d4b4ec5a241c395cd80fe01be48f9b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 14:07:46 +0100 Subject: [PATCH 053/737] Updated computing.csv and general.csv --- data/dicts/computing.csv | 3 +-- data/dicts/general.csv | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/data/dicts/computing.csv b/data/dicts/computing.csv index 32c0c75b5..52d3ea765 100644 --- a/data/dicts/computing.csv +++ b/data/dicts/computing.csv @@ -1479,8 +1479,7 @@ IRQ,interrupt request IRR,internal rate of return IRTF,Internet Research Task Force IRU,Indefeasible Right of Use -IS,Information System -IS,information system or information services +IS,Information System or Information Services IS-IS,Intermediate System-to-Intermediate System protocol ISA,Industry Standard Architecture ISAM,Indexed Sequential Access Method diff --git a/data/dicts/general.csv b/data/dicts/general.csv index 199a9aaa1..d0cd72061 100644 --- a/data/dicts/general.csv +++ b/data/dicts/general.csv @@ -2295,7 +2295,7 @@ IRQ,Iraq (ISO 3166 trigram) IRS,U.S. Internal Revenue Service IRSN,Institut de radioprotection et de sûreté nucléaire (French,"Institute for Radiation Protection and Nuclear Safety") IRST,Infra-red Search and Track -IS,Iceland (ISO 3166 digram) +IS,"Islamic State, or: Iceland (ISO 3166 digram)" ISA,Individual Savings Account,Industry Standard Architecture,Instruction Set Architecture,International Seabed Authority ISAAA,International Service for the Acquisition of Agri-biotech Applications ISAF,International Sailing Federation,International Security Assistance Force @@ -2310,7 +2310,7 @@ ISEN,Internet Search Environment Number ISF,Internal Security Force ISI-Indian Standards Institute,former name of the Bureau of Indian Standards,Inter-Services Intelligence (Pakistan),Islamic State of Iraq,an umbrella organization for several Iraqi insurgent groups ISIL,Islamic State of Iraq and the Levant -ISIS,"Institute for Science and International Security, or: Islamic State of Iraq and Syria" +ISIS,"Islamic State of Iraq and Syria, or: Institute for Science and International Security" ISL,Iceland (ISO 3166 trigram) ISLN,International Standard Lawyer Number (used initially by LexisNexis Martindale-Hubbell) ISM,Industrial,scientific or medical,Interstellar medium From 17f1c85af2c8819d80ea448570f7478a84a60132 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 15:32:45 +0100 Subject: [PATCH 054/737] Updated spell-word.ps1 --- scripts/spell-word.ps1 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/spell-word.ps1 b/scripts/spell-word.ps1 index 0d21778ae..bacb2170c 100755 --- a/scripts/spell-word.ps1 +++ b/scripts/spell-word.ps1 @@ -4,9 +4,10 @@ .DESCRIPTION This PowerShell script spells the given word by text-to-speech (TTS). .PARAMETER word - Specifies the word to spell + Specifies the word to spell (queried by default) .EXAMPLE - PS> ./spell-word + PS> ./spell-word.ps1 Yoda + (listen) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -16,15 +17,14 @@ param([string]$word = "") try { - if ($word -eq "" ) { $word = read-host "Enter word to spell" } + if ($word -eq "" ) { $word = Read-Host "Enter the word to spell" } - [char[]]$ArrayOfChars = $word.ToUpper() - $Reply = "" - foreach($Char in $ArrayOfChars) { - $Reply += $Char - $Reply += " " + [char[]]$array = $word.ToUpper() + $reply = "" + foreach($char in $array) { + $reply += $char + ", " } - & "$PSScriptRoot/speak-english.ps1" "$Reply" + & "$PSScriptRoot/speak-english.ps1" $reply exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 89c7bd290a432b1301d4161ac6f25541ac7c3fbc Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 15:35:36 +0100 Subject: [PATCH 055/737] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2f2032b3c..eaf6f19a8 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ Mega Collection of PowerShell Scripts | [speak-spanish.ps1](scripts/speak-spanish.ps1) | Speaks text with a Spanish text-to-speech voice. [More »](docs/speak-spanish.md) | | [speak-test.ps1](scripts/speak-test.ps1) | Performs a speak test by text-to-speech. [More »](docs/speak-test.md) | | [speak-text.ps1](scripts/speak-text.ps1) | Speaks the given text by text-to-speech. [More »](docs/speak-text.md) | +| [spell-word.ps1](scripts/spell-word.ps1) | Spells the given word by text-to-speech. [More »](docs/spell-word.md) | | [tell-joke.ps1](scripts/tell-joke.ps1) | Tells a random joke by text-to-speech. [More »](docs/tell-joke.md) | | [tell-quote.ps1](scripts/tell-quote.ps1) | Tells a random quote by text-to-speech. [More »](docs/tell-quote.md) | | [turn-volume-down.ps1](scripts/turn-volume-down.ps1) | Turns the audio volume down. [More »](docs/turn-volume-down.md) | From c54e4b018448a810100e1404ca461e935fd4fa97 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Nov 2024 15:46:36 +0100 Subject: [PATCH 056/737] Updated enable-god-mode.ps1 --- scripts/enable-god-mode.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/enable-god-mode.ps1 b/scripts/enable-god-mode.ps1 index 03a83f56f..ae243aa42 100755 --- a/scripts/enable-god-mode.ps1 +++ b/scripts/enable-god-mode.ps1 @@ -5,7 +5,7 @@ This PowerShell script enables the god mode in Windows. It adds a new icon to the desktop. .EXAMPLE PS> ./enable-god-mode.ps1 - ✔ God mode enabled, please click the new desktop icon + ✔ God mode enabled - just double-click the new desktop icon. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -19,7 +19,7 @@ try { ItemType = 'Directory' } $null = New-Item @GodModeSplat - "✅ God mode enabled, please click the new desktop icon" + "✅ God mode enabled - just double-click the new desktop icon." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From de784e4cdce4fe399d90b525b952721583d1d194 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 21 Nov 2024 08:07:03 +0100 Subject: [PATCH 057/737] Updated play-m3u.ps1 and play-mp3.ps1 --- scripts/play-m3u.ps1 | 40 +++++++++++++++------------------------- scripts/play-mp3.ps1 | 6 ++++-- 2 files changed, 19 insertions(+), 27 deletions(-) diff --git a/scripts/play-m3u.ps1 b/scripts/play-m3u.ps1 index 110b2f739..243370f05 100755 --- a/scripts/play-m3u.ps1 +++ b/scripts/play-m3u.ps1 @@ -1,12 +1,14 @@ <# .SYNOPSIS - Plays a playlist (.M3U format) + Plays a .M3U playlist .DESCRIPTION This PowerShell script plays the given playlist (in .M3U file format) .PARAMETER filename Specifies the path to the playlist .EXAMPLE - PS> ./play-m3u C:\MyPlaylist.m3u + PS> ./play-m3u.ps1 C:\MyPlaylist.m3u + ▶️ Playing '01 Sandy beach - strong waves.mp3' (02:54) ... + ... .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -16,32 +18,20 @@ param([string]$filename = "") try { - if ($filename -eq "" ) { $filename = read-host "Enter the M3U playlist filename" } + if ($filename -eq "" ) { $filename = Read-Host "Enter the path to the .M3U playlist file" } - if (-not(test-path "$filename" -pathType leaf)) { throw "Can't access playlist file: $filename" } - $Lines = get-content $filename + if (-not(Test-Path "$filename" -pathType leaf)) { throw "Can't access playlist file: $filename" } + $lines = Get-Content $filename - add-type -assemblyName presentationCore - $MediaPlayer = new-object system.windows.media.mediaplayer + Add-Type -assemblyName presentationCore + $MediaPlayer = New-Object system.windows.media.mediaplayer - for ([int]$i=0; $i -lt $Lines.Count; $i++) { - $Line = $Lines[$i] - if ($Line[0] -eq "#") { continue } - if (-not(test-path "$Line" -pathType leaf)) { throw "Can't access audio file: $Line" } - $FullPath = (get-childItem "$Line").fullname - $filename = (get-item "$FullPath").name - do { - $MediaPlayer.open("$FullPath") - $Milliseconds = $MediaPlayer.NaturalDuration.TimeSpan.TotalMilliseconds - } until ($Milliseconds) - [int]$Minutes = $Milliseconds / 60000 - [int]$Seconds = ($Milliseconds / 1000) % 60 - "▶️Playing 🎵$filename ($($Minutes.ToString('00')):$($Seconds.ToString('00'))) ..." - $MediaPlayer.Volume = 1 - $MediaPlayer.play() - start-sleep -milliseconds $Milliseconds - $MediaPlayer.stop() - $MediaPlayer.close() + foreach ($line in $lines) { + if ($line[0] -eq "#") { continue } + if (-not(Test-Path "$line" -pathType leaf)) { throw "Can't access audio file: $line" } + $fullPath = (Get-ChildItem "$line").fullname + + & "$PSScriptRoot/play-mp3.ps1" $fullPath } exit 0 # success } catch { diff --git a/scripts/play-mp3.ps1 b/scripts/play-mp3.ps1 index 45d6fc56e..198eb3b02 100755 --- a/scripts/play-mp3.ps1 +++ b/scripts/play-mp3.ps1 @@ -7,6 +7,7 @@ Specifies the file path to the .MP3 file .EXAMPLE PS> ./play-mp3.ps1 C:\thunder.mp3 + ▶️ Playing 'thunder.mp3' (00:03) ... .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -33,16 +34,17 @@ try { [int]$minutes = $milliseconds / 60000 [int]$seconds = ($milliseconds / 1000) % 60 Write-Host " ▶️" -noNewline -foregroundColor green - Write-Host "Playing $filename for $($minutes.ToString('00')):$($seconds.ToString('00'))s..." + Write-Host "Playing '$filename' ($($minutes.ToString('00')):$($seconds.ToString('00'))) ..." $previousTitle = $host.ui.RawUI.WindowTitle $host.ui.RawUI.WindowTitle = "▶️ $filename" + $mediaPlayer.Volume = 1 $mediaPlayer.play() Start-Sleep -milliseconds $milliseconds - $mediaPlayer.stop() $mediaPlayer.close() + $host.ui.RawUI.WindowTitle = $previousTitle exit 0 # success } catch { From 4f57fbe3b2af49292bf19a841c54a1a5651e349e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 21 Nov 2024 08:17:47 +0100 Subject: [PATCH 058/737] Updated play-files.ps1 --- scripts/play-files.ps1 | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/scripts/play-files.ps1 b/scripts/play-files.ps1 index 4835755d9..8ed53da7c 100755 --- a/scripts/play-files.ps1 +++ b/scripts/play-files.ps1 @@ -1,32 +1,40 @@ <# .SYNOPSIS - Plays audio files (MP3 and WAV) + Plays audio files .DESCRIPTION - This PowerShell script plays the given audio files (supporting MP3 and WAV format). -.PARAMETER FilePattern - Specifies the file pattern + This PowerShell script plays the given audio files (supporting .MP3 and .WAV format). +.PARAMETER filePattern + Specifies the file pattern ('*' by default) .EXAMPLE - PS> ./play-files *.mp3 + PS> ./play-files.ps1 *.mp3 + ▶️ Playing '01 Sandy beaches - strong waves.mp3' (02:54) ... + ... .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$FilePattern = "*") +param([string]$filePattern = "*") try { - $Files = (get-childItem -path "$FilePattern" -attributes !Directory) - "Playing $($Files.Count) files ..." - foreach ($File in $Files) { - if ("$File" -like "*.mp3") { - & "$PSScriptRoot/play-mp3.ps1" "$File" + $stopWatch = [system.diagnostics.stopwatch]::startNew() + + $files = (Get-ChildItem -path "$filePattern" -attributes !Directory) + [int]$count = 0 + foreach ($file in $files) { + if ("$file" -like "*.mp3") { + & "$PSScriptRoot/play-mp3.ps1" "$file" + $count++ } elseif ("$File" -like "*.wav") { - & "$PSScriptRoot/play-mp3.ps1" "$File" + & "$PSScriptRoot/play-mp3.ps1" "$file" + $count++ } else { - "Skipping $File ..." + "Skipping $file (no audio file)..." } } + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Played $count audio files for $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 8aeeb8b8112229fbb3ada1f20ed9a2a33111c671 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 22 Nov 2024 11:26:06 +0100 Subject: [PATCH 059/737] Add wake-up-human.ps1 --- scripts/wake-up-human.ps1 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 scripts/wake-up-human.ps1 diff --git a/scripts/wake-up-human.ps1 b/scripts/wake-up-human.ps1 new file mode 100644 index 000000000..f3b3f645f --- /dev/null +++ b/scripts/wake-up-human.ps1 @@ -0,0 +1,16 @@ +<# +.SYNOPSIS + Wakes up an human +.DESCRIPTION + This PowerShell script plays the sound of Big Ben to wake a human up. +.EXAMPLE + PS> ./wake-up-human.ps1 + (listen and enjoy) +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/Big Ben.mp3" +exit 0 # success From 2917a123acc92eb7ecf05f3f96ea2783f9e3388a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 22 Nov 2024 11:27:40 +0100 Subject: [PATCH 060/737] Update wake-up-human.ps1 --- scripts/wake-up-human.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/wake-up-human.ps1 b/scripts/wake-up-human.ps1 index f3b3f645f..8f8e1bf08 100644 --- a/scripts/wake-up-human.ps1 +++ b/scripts/wake-up-human.ps1 @@ -12,5 +12,7 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/Big Ben.mp3" -exit 0 # success +do { + & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/Big Ben.mp3" +} while ($true) + From 3c530df89f18d27da4b5a7ed7cc41ef380230faa Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 22 Nov 2024 11:35:30 +0100 Subject: [PATCH 061/737] Updated my-profile.ps1 --- scripts/my-profile.ps1 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/my-profile.ps1 b/scripts/my-profile.ps1 index e05e2c584..72f45c1fe 100755 --- a/scripts/my-profile.ps1 +++ b/scripts/my-profile.ps1 @@ -1,20 +1,20 @@ -# MY POWERSHELL PROFILE - it defines the look & feel of PowerShell. +# POWERSHELL PROFILE TO DEFINE THE LOOK & FEEL # WINDOW TITLE if ($IsLinux) { $username = $(whoami) } else { $username = $env:USERNAME } $host.ui.RawUI.WindowTitle = "$username @ $(hostname)" # GREETING -Write-Host "👋 Welcome $username to $(hostname)'s PowerShell - type 'hlp' if you need help." -foregroundColor green +Write-Host "👋 Welcome $username to $(hostname)'s PowerShell - type 'FAQ' for help." -foregroundColor green # PROMPT function prompt { Write-Host "`n➤ " -noNewline -foregroundColor yellow; return " " } # ALIASES -set-alias -name enter -value enter-host.ps1 -set-alias -name hlp -value write-help.ps1 -set-alias -name ll -value Get-ChildItem # ll = list folder (long format) -del alias:ls -force -errorAction SilentlyContinue -set-alias -name ls -value list-folder.ps1 # ls = list folder (short format) -del alias:pwd -force -errorAction SilentlyContinue -set-alias -name pwd -value list-workdir.ps1 # pwd = print working directory +Set-Alias -name enter -value enter-host.ps1 +Set-Alias -name FAQ -value write-help.ps1 +Set-Alias -name ll -value Get-ChildItem # ll = list folder (long format) +Del alias:ls -force -errorAction SilentlyContinue +Set-Alias -name ls -value list-folder.ps1 # ls = list folder (short format) +Del alias:pwd -force -errorAction SilentlyContinue +Set-Alias -name pwd -value list-workdir.ps1 # pwd = print working directory From 390b5ffe719af6fada1ad567be85e36121f00853 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 22 Nov 2024 11:40:07 +0100 Subject: [PATCH 062/737] Updated write-help.ps1 --- scripts/write-help.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/write-help.ps1 b/scripts/write-help.ps1 index bb546635d..577ca1d6c 100755 --- a/scripts/write-help.ps1 +++ b/scripts/write-help.ps1 @@ -28,7 +28,7 @@ try { White "████▄▄ ▄█▄▄ ▄█▄▄ █▀ ▀▀▀ ▀▄▀▄█▄▀████`n" White "████▀▄▄█▀█▄██ ▀ ▄▄▀ █▄█▀ ▀ ▄▀▀█▀█████ Video tutorials: "; Blue "https://www.youtube.com/results?search_query=PowerShell`n" White "█████ ▄▄█▄▄▀▄ ▀▄▀ ▄▄ ▀ ▀▀▀ ▀▄▄█▀████`n" - White "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████ Execute: 'Get-Help ' to display information about `n" + White "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████ Type 'Get-Help ' to display information about `n" White "████ ████▄▄ ▄█▄▄▄██ ▀ ▀▀▀▀▄ █▀████`n" White "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████ FAQ's: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md`n" White "████▄█▄███▄▄▀▄▄▄▀ ▄▄ ▄▀▄ ▄▄▄ ▀ ████`n" From bdc4cb100286de8269a7422a591bf711111c3418 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 22 Nov 2024 14:28:19 +0100 Subject: [PATCH 063/737] Updated list-news.ps1 --- scripts/check-uptime.ps1 | 2 +- scripts/list-news.ps1 | 15 +++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/scripts/check-uptime.ps1 b/scripts/check-uptime.ps1 index eacb16f8a..83e23abf1 100755 --- a/scripts/check-uptime.ps1 +++ b/scripts/check-uptime.ps1 @@ -84,7 +84,7 @@ try { } if ($reason -ne "") { $status = "⚠️" - $pending = "with pending reboot ($($reason.substring(2)) in registry)" + $pending = "with pending reboot (registry has $($reason.substring(2)))" } } Write-Host "$status $(hostname) is up for $(TimeSpanAsString $uptime) since $($lastBootTime.ToShortDateString()) $pending" diff --git a/scripts/list-news.ps1 b/scripts/list-news.ps1 index f018a0ea0..81872cc76 100755 --- a/scripts/list-news.ps1 +++ b/scripts/list-news.ps1 @@ -22,22 +22,21 @@ Author: Markus Fleschutz | License: CC0 #> -param([string]$RSS_URL = "https://news.yahoo.com/rss/world", [int]$maxLines = 24, [int]$speed = 10) +param([string]$RSS_URL = "https://news.yahoo.com/rss/world", [int]$maxLines = 24, [int]$speed = 5) try { [xml]$content = (Invoke-WebRequest -URI $RSS_URL -useBasicParsing).Content - $title = $content.rss.channel.title $URL = $content.rss.channel.link - " " - " UTC $title - $URL" - " --- -----------------------------------------------------------------------" - + Write-Host "`nUTC HEADLINES (by: " -noNewline + Write-Host $URL -foregroundColor blue -noNewline + Write-Host ")" + Write-Host "--- ---------" [int]$count = 1 foreach ($item in $content.rss.channel.item) { - $title = $item.title + $title = $item.title -replace "â","'" $time = $item.pubDate.Substring(11, 5) - & "$PSScriptRoot/write-typewriter.ps1" "❇️ $time $title" $speed + & "$PSScriptRoot/write-typewriter.ps1" "$time • $title" $speed if ($count++ -eq $maxLines) { break } } exit 0 # success From 6b2abf3103c0c12d395634825777ec0c38470c52 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 22 Nov 2024 14:34:47 +0100 Subject: [PATCH 064/737] Updated write-typewriter.ps1 --- scripts/write-typewriter.ps1 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/write-typewriter.ps1 b/scripts/write-typewriter.ps1 index 9320b410b..f30045588 100755 --- a/scripts/write-typewriter.ps1 +++ b/scripts/write-typewriter.ps1 @@ -1,27 +1,27 @@ <# .SYNOPSIS - Writes text á la typewriter + Writes text like a typewriter .DESCRIPTION This PowerShell script writes the given text with the typewriter effect. .PARAMETER text - Specifies the text to write + Specifies the text to write (sample text by default) .PARAMETER speed - Specifies the speed (250 ms by default) + Specifies the speed (200 ms by default) .EXAMPLE - PS> ./write-typewriter "Hello World" + PS> ./write-typewriter.ps1 "Hello World" .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$text = "`nHello World`n-----------`n* PowerShell is powerful - fully control your computer`n* PowerShell is cross-platform - available for Linux, Mac OS and Windows`n* PowerShell is open-source and free`n* PowerShell is easy to learn`n* PowerShell is fully documented`n`nThanks for watching`nMarkus`n", [int]$speed = 200) # in milliseconds +param([string]$text = "Hello World, this is the PowerShell typewriter.", [int]$speed = 200) # in milliseconds try { $Random = New-Object System.Random $text -split '' | ForEach-Object { - Write-Host -noNewline $_ - Start-Sleep -milliseconds $(1 + $Random.Next($speed)) + Write-Host $_ -noNewline + Start-Sleep -milliseconds $Random.Next($speed) } Write-Host "" exit 0 # success From 9fd63dbb30807b64b36c52810714852ebbac4a6b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 22 Nov 2024 14:40:07 +0100 Subject: [PATCH 065/737] Updated list-news.ps1 and watch-news.ps1 --- scripts/list-news.ps1 | 10 +++++----- scripts/watch-news.ps1 | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/list-news.ps1 b/scripts/list-news.ps1 index 81872cc76..3515e20f5 100755 --- a/scripts/list-news.ps1 +++ b/scripts/list-news.ps1 @@ -12,9 +12,9 @@ .EXAMPLE PS> ./list-news.ps1 - UTC Yahoo News - Latest News & Headlines - https://www.yahoo.com/news/world - --- ----------------------------------------------------------------------- - ❇️ 09:15 Deadly Mediterranean wildfires kill more than 40 + UTC HEADLINES (by https://www.yahoo.com/news/world + --- --------- + 09:15 • Deadly Mediterranean wildfires kill more than 40 ... .LINK https://github.com/fleschutz/PowerShell @@ -28,10 +28,10 @@ try { [xml]$content = (Invoke-WebRequest -URI $RSS_URL -useBasicParsing).Content $title = $content.rss.channel.title $URL = $content.rss.channel.link - Write-Host "`nUTC HEADLINES (by: " -noNewline + Write-Host "`n UTC HEADLINES (by: " -noNewline Write-Host $URL -foregroundColor blue -noNewline Write-Host ")" - Write-Host "--- ---------" + Write-Host " --- ---------" [int]$count = 1 foreach ($item in $content.rss.channel.item) { $title = $item.title -replace "â","'" diff --git a/scripts/watch-news.ps1 b/scripts/watch-news.ps1 index 40b3962c8..b1ecdef4b 100755 --- a/scripts/watch-news.ps1 +++ b/scripts/watch-news.ps1 @@ -31,7 +31,7 @@ function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp, [string]$ foreach($item in $items) { $pubDate = $item.pubDate if ($pubDate -le $latestTimestamp) { continue } - $title = $item.title + $title = $item.title -replace "â","'" $time = $pubDate.Substring(11, 5) Write-Host "$time $title$icon" Start-Sleep -milliseconds 500 From fcbbf0fd2353a8f6a7e32dbcf9a8de8f80fa7e35 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 22 Nov 2024 14:44:45 +0100 Subject: [PATCH 066/737] Update list-weather.ps1 --- scripts/list-weather.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/list-weather.ps1 b/scripts/list-weather.ps1 index 4e63d15e1..144b35d51 100755 --- a/scripts/list-weather.ps1 +++ b/scripts/list-weather.ps1 @@ -58,6 +58,7 @@ function GetDescription([string]$text) { "Patchy rain possible" { return "💧 patchy rain possible" } "Patchy rain nearby" { return "💧 patchy rain nearby" } "Patchy sleet nearby" { return "❄️ patchy sleet nearby" } + "Patchy snow nearby" { return "❄️ patchy snow nearby" } "Patchy snow possible" { return "❄️ patchy snow possible" } "Sunny" { return "☀️ sunny" } "Thundery outbreaks possible" { return "⚡️thundery outbreaks possible" } From d169de2298bc18bcda973571b578672413d7a68d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 22 Nov 2024 14:57:21 +0100 Subject: [PATCH 067/737] Update list-city-weather.ps1 --- scripts/list-city-weather.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/list-city-weather.ps1 b/scripts/list-city-weather.ps1 index 17ab0cb24..07ec2276d 100755 --- a/scripts/list-city-weather.ps1 +++ b/scripts/list-city-weather.ps1 @@ -11,20 +11,20 @@ Author: Markus Fleschutz | License: CC0 #> -function ListCityWeather { - $Cities="Hawaii","Los Angeles","Mexico City","Dallas","Miami","New York","Rio de Janeiro","Paris","London","Berlin","Cape Town","Dubai","Mumbai","Singapore","Hong Kong","Perth","Peking","Tokyo","Sydney" +param($cities = @("Hawaii","Los Angeles","Mexico City","Dallas","Miami","New York","Rio de Janeiro","Paris","London","Berlin","Cape Town","Dubai","Mumbai","Singapore","Hong Kong","Perth","Peking","Tokyo","Sydney")) - foreach($City in $Cities) { +function ListCityWeather { + foreach($city in $cities) { $Temp = (Invoke-WebRequest http://wttr.in/${City}?format="%t %c " -UserAgent "curl" -useBasicParsing).Content $Rain = (Invoke-WebRequest http://wttr.in/${City}?format="%p %h" -UserAgent "curl" -useBasicParsing).Content $Wind = (Invoke-WebRequest http://wttr.in/${City}?format="%w" -UserAgent "curl" -useBasicParsing).Content $Sun = (Invoke-WebRequest http://wttr.in/${City}?format="%S → %s" -UserAgent "curl" -useBasicParsing).Content - New-Object PSObject -Property @{ City="$City"; Temp="$Temp"; Rain="$Rain"; Wind="$Wind"; Sun="$Sun" } + New-Object PSObject -Property @{ CITY="$city"; TEMP="$Temp"; RAIN="$Rain"; WIND="$Wind"; SUN="$Sun" } } } try { - ListCityWeather | Format-Table -property @{e='City';width=17},@{e='Temp';width=13},@{e='Rain';width=15},@{e='Wind';width=12},@{e='Sun';width=20} + ListCityWeather | Format-Table -property @{e='CITY';width=17},@{e='TEMP';width=13},@{e='RAIN';width=15},@{e='WIND';width=12},@{e='SUN';width=20} exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From e811bcb410796df307b3ac43dcafc8702b31edae Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 22 Nov 2024 15:04:55 +0100 Subject: [PATCH 068/737] Updated list-crypto-rates.ps1 --- scripts/list-crypto-rates.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/list-crypto-rates.ps1 b/scripts/list-crypto-rates.ps1 index f1f849ab1..0344a4cd4 100755 --- a/scripts/list-crypto-rates.ps1 +++ b/scripts/list-crypto-rates.ps1 @@ -6,7 +6,7 @@ .EXAMPLE PS> ./list-crypto-rates.ps1 - Cryptocurrency USD EUR RUB CNY + CRYPTOCURRENCY USD EUR RUB CNY -------------- --- --- --- --- 1 Bitcoin (BTC) = 29054.01 26552.23 2786627.84 172521.27 ... @@ -17,8 +17,8 @@ #> function ListCryptoRate { param([string]$Symbol, [string]$Name) - $Rates = (Invoke-WebRequest -URI "https://min-api.cryptocompare.com/data/price?fsym=$Symbol&tsyms=USD,EUR,RUB,CNY" -userAgent "curl" -useBasicParsing).Content | ConvertFrom-Json - New-Object PSObject -property @{ 'Cryptocurrency' = "1 $Name ($Symbol) ="; 'USD' = "$($Rates.USD)"; 'EUR' = "$($Rates.EUR)"; 'RUB' = "$($Rates.RUB)"; 'CNY' = "$($Rates.CNY)" } + $rates = (Invoke-WebRequest -URI "https://min-api.cryptocompare.com/data/price?fsym=$Symbol&tsyms=USD,EUR,RUB,CNY" -userAgent "curl" -useBasicParsing).Content | ConvertFrom-Json + New-Object PSObject -property @{ 'CRYPTOCURRENCY' = "1 $Name ($Symbol) ="; 'USD' = "$($rates.USD)"; 'EUR' = "$($rates.EUR)"; 'RUB' = "$($rates.RUB)"; 'CNY' = "$($rates.CNY)" } } function ListCryptoRates { @@ -48,8 +48,8 @@ function ListCryptoRates { } try { - ListCryptoRates | Format-Table -property @{e='Cryptocurrency';width=28},USD,EUR,RUB,CNY - Write-Host "(by cryptocompare.com, Crypto is volatile and unregulated. Capital at risk. Taxes may apply)" + ListCryptoRates | Format-Table -property @{e='CRYPTOCURRENCY';width=28},USD,EUR,RUB,CNY + Write-Host "(by cryptocompare.com • Crypto is volatile and unregulated • Capital at risk • Taxes may apply)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From ebc5a6538854f448f45613e109b0989592cb173a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 22 Nov 2024 15:20:15 +0100 Subject: [PATCH 069/737] Update quotes.csv --- data/quotes.csv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/quotes.csv b/data/quotes.csv index 1ddefb535..a8b680e47 100644 --- a/data/quotes.csv +++ b/data/quotes.csv @@ -61,4 +61,5 @@ Various,Samuel Johnson,"Never trust your tongue when your heart is bitter.", Various,William James,"The good we do today becomes the happiness of tomorrow.", Various,Rene Descartes,"Conquer yourself rather than the world.", Various,Voltaire,"Everything you say should be true, but not everything true should be said.", -Various,Elizabeth Barrett Browning,"Silence is the best response to a fool.", \ No newline at end of file +Various,Elizabeth Barrett Browning,"Silence is the best response to a fool.", +Various,Bertrand Russell,"The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts." \ No newline at end of file From db0169521bb1143d44d141573634e85d487ea655 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 24 Nov 2024 10:18:16 +0100 Subject: [PATCH 070/737] Updated list-cli-tools.ps1 --- scripts/list-cli-tools.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index 15e9cf8bb..7fa1c90b9 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -6,9 +6,9 @@ .EXAMPLE PS> ./list-cli-tools.ps1 - Tool Name Version Installation Path - --------- ------- ----------------- - 7z 23.01 /usr/bin/7z (38 bytes) + TOOL VERSION INSTALLATION PATH + ---- ------- ----------------- + arp 10.0.22621.4111 C:\Windows\system32\ARP.EXE (45K) ... .LINK https://github.com/fleschutz/PowerShell @@ -53,13 +53,13 @@ function ListTool([string]$Name, [string]$VersionArg) { } else { $Size = 0 } - New-Object PSObject -Property @{ 'Tool Name'=$Name; 'Version'=$Version; 'Installation Path'="$Path ($(Bytes2String $Size))" } + New-Object PSObject -Property @{ 'TOOL'=$Name; 'VERSION'=$Version; 'INSTALLATION PATH'="$Path ($(Bytes2String $Size))" } } catch { return } } -function ListTools { +function List-CLI-Tools { ListTool 7z "-version" ListTool ant "-v" ListTool apt "--version" @@ -331,7 +331,7 @@ function ListTools { } try { - ListTools | Format-Table -property @{e='Tool Name';width=15},@{e='Version';width=15},@{e='Installation Path';width=90} + List-CLI-Tools | Format-Table -property @{e='TOOL';width=15},@{e='VERSION';width=16},@{e='INSTALLATION PATH';width=90} exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From e74c9f1010011884d9db83255ef179fb45c75c85 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 24 Nov 2024 21:00:34 +0100 Subject: [PATCH 071/737] Updated speak-checklist.ps1 --- scripts/speak-checklist.ps1 | 41 +++++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/scripts/speak-checklist.ps1 b/scripts/speak-checklist.ps1 index b039d4905..6e15bc33f 100755 --- a/scripts/speak-checklist.ps1 +++ b/scripts/speak-checklist.ps1 @@ -3,31 +3,46 @@ Speaks a checklist by text-to-speech .DESCRIPTION This PowerShell script speaks the given checklist by text-to-speech (TTS). -.PARAMETER Name +.PARAMETER name Specifies the name of the checklist .EXAMPLE - PS> ./speak-checklist.ps1 + PS> ./speak-checklist.ps1 handwashing .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$Name = "") +param([string]$name = "handwashing") -try { - if ($Name -eq "") { $Name = Read-Host "Enter the name of the checklist" } +function WaitForCheck { + Add-Type -AssemblyName System.Speech + $engine = New-Object -typeName System.Speech.Recognition.SpeechRecognitionEngine + $grammar = New-Object -typeName System.Speech.Recognition.GrammarBuilder + $grammar.Append("check"); + $engine.LoadGrammar($grammar); + $engine.InitialSilenceTimeout = 5 + $engine.SetInputToDefaultAudioDevice(); + do { + $recognized = $engine.Recognize(); + } while ("$($recognized.text)" -ne "check") +} - $Lines = Get-Content -path "$PSScriptRoot/../data/checklists/$Name.txt" - clear-host - $Step = 1 - foreach($Line in $Lines) { - if ($Line -like "HEAD*") { & "$PSScriptRoot/write-big.ps1" "$($Line.substring(5))"; continue } +try { + if ($name -eq "") { $name = Read-Host "Enter the name of the checklist" } + Clear-Host + $lines = Get-Content -path "$PSScriptRoot/../data/checklists/$name.txt" + $step = 1 + foreach($line in $lines) { + if ($line -like "HEAD*") { & "$PSScriptRoot/write-big.ps1" "$($line.substring(5))"; continue } "" - & "$PSScriptRoot/speak-english.ps1" "$($Step). $Line" - $Dummy = Read-Host " Say or press to continue" - $Step++ + Write-Host "$($step). $line" -foregroundColor yellow + & "$PSScriptRoot/speak-english.ps1" $line + Write-Host " Say to continue..." + Write-Host "" + WaitForCheck + $step++ } exit 0 # success } catch { From 06bf9e3d8eaeb59619a47237371cb127604cd268 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 24 Nov 2024 21:02:30 +0100 Subject: [PATCH 072/737] Update list-news.ps1 --- scripts/list-news.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/list-news.ps1 b/scripts/list-news.ps1 index 3515e20f5..aa151d906 100755 --- a/scripts/list-news.ps1 +++ b/scripts/list-news.ps1 @@ -28,7 +28,7 @@ try { [xml]$content = (Invoke-WebRequest -URI $RSS_URL -useBasicParsing).Content $title = $content.rss.channel.title $URL = $content.rss.channel.link - Write-Host "`n UTC HEADLINES (by: " -noNewline + Write-Host "`n UTC HEADLINES (by " -noNewline Write-Host $URL -foregroundColor blue -noNewline Write-Host ")" Write-Host " --- ---------" From ca3a9dd069524c1941bbf858f042661db44190b8 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 25 Nov 2024 07:09:33 +0100 Subject: [PATCH 073/737] Updated clean-repo.ps1 --- scripts/clean-repo.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/clean-repo.ps1 b/scripts/clean-repo.ps1 index 60e792a8d..15b55618f 100755 --- a/scripts/clean-repo.ps1 +++ b/scripts/clean-repo.ps1 @@ -12,7 +12,7 @@ ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Removing untracked files in repository... ⏳ (4/4) Removing untracked files in submodules... - ✅ Cleaned up 📂rust repo in 2s. + ✅ Repo 📂rust successfully cleaned up in 2s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -45,7 +45,7 @@ try { if ($lastExitCode -ne "0") { throw "'git clean' in the submodules failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Cleaned up 📂$repoName repo in $($elapsed)s." + "✅ Repo 📂$repoName successfully cleaned up in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From c1a010f016850f3e8eff9bf970a231adfb26cd4c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 25 Nov 2024 09:14:32 +0100 Subject: [PATCH 074/737] Updated list-news.ps1 and watch-news.ps1 --- scripts/list-news.ps1 | 4 ++-- scripts/watch-news.ps1 | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/list-news.ps1 b/scripts/list-news.ps1 index aa151d906..a8ca3f867 100755 --- a/scripts/list-news.ps1 +++ b/scripts/list-news.ps1 @@ -12,7 +12,7 @@ .EXAMPLE PS> ./list-news.ps1 - UTC HEADLINES (by https://www.yahoo.com/news/world + UTC HEADLINES (source: https://www.yahoo.com/news/world) --- --------- 09:15 • Deadly Mediterranean wildfires kill more than 40 ... @@ -28,7 +28,7 @@ try { [xml]$content = (Invoke-WebRequest -URI $RSS_URL -useBasicParsing).Content $title = $content.rss.channel.title $URL = $content.rss.channel.link - Write-Host "`n UTC HEADLINES (by " -noNewline + Write-Host "`n UTC HEADLINES (source: " -noNewline Write-Host $URL -foregroundColor blue -noNewline Write-Host ")" Write-Host " --- ---------" diff --git a/scripts/watch-news.ps1 b/scripts/watch-news.ps1 index b1ecdef4b..f2e015bcf 100755 --- a/scripts/watch-news.ps1 +++ b/scripts/watch-news.ps1 @@ -12,8 +12,8 @@ .EXAMPLE PS> ./watch-news.ps1 - UTC HEADLINES (by: https://www.yahoo.com/news/world) - --- ------------------------------------------------ + UTC HEADLINES (source: https://www.yahoo.com/news/world) + --- --------- 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria ... .LINK @@ -44,10 +44,10 @@ try { [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content $title = $content.rss.channel.title.toUpper() $link = $content.rss.channel.link - Write-Host "`n UTC HEADLINES (by: " -noNewline + Write-Host "`n UTC HEADLINES (source: " -noNewline Write-Host $link -foregroundColor blue -noNewline Write-Host ")" - Write-Host " --- ------------------------------------------------" + Write-Host " --- ---------" $latestTimestamp = "2000-01-01" $icon = "" do { From 54844ed993e8ecd5a78e83ba6cd3d3c92920de62 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 25 Nov 2024 09:44:07 +0100 Subject: [PATCH 075/737] Updated list-city-weather.ps1 --- scripts/list-city-weather.ps1 | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/scripts/list-city-weather.ps1 b/scripts/list-city-weather.ps1 index 07ec2276d..3543e6039 100755 --- a/scripts/list-city-weather.ps1 +++ b/scripts/list-city-weather.ps1 @@ -1,30 +1,35 @@ <# .SYNOPSIS - Lists the weather of cities world-wide + Lists the weather of cities .DESCRIPTION This PowerShell script lists the current weather conditions of cities world-wide (west to east). .EXAMPLE PS> ./list-city-weather.ps1 + + CITY TEMP RAIN WIND SUN + ---- ---- ---- ---- --- + Hawaii ⛅️ +25°C 0.0mm 69% ↙5km/h 06:49:15 → 17:47:57 + ... .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param($cities = @("Hawaii","Los Angeles","Mexico City","Dallas","Miami","New York","Rio de Janeiro","Paris","London","Berlin","Cape Town","Dubai","Mumbai","Singapore","Hong Kong","Perth","Peking","Tokyo","Sydney")) - -function ListCityWeather { +function List-City-Weather { + $cities = @("Hawaii","Los Angeles","Mexico City","Dallas","Miami","New York","Rio de Janeiro","Paris","London","Berlin","Cape Town","Dubai","Mumbai","Singapore","Hong Kong","Perth","Peking","Tokyo","Sydney") foreach($city in $cities) { - $Temp = (Invoke-WebRequest http://wttr.in/${City}?format="%t %c " -UserAgent "curl" -useBasicParsing).Content - $Rain = (Invoke-WebRequest http://wttr.in/${City}?format="%p %h" -UserAgent "curl" -useBasicParsing).Content - $Wind = (Invoke-WebRequest http://wttr.in/${City}?format="%w" -UserAgent "curl" -useBasicParsing).Content - $Sun = (Invoke-WebRequest http://wttr.in/${City}?format="%S → %s" -UserAgent "curl" -useBasicParsing).Content - New-Object PSObject -Property @{ CITY="$city"; TEMP="$Temp"; RAIN="$Rain"; WIND="$Wind"; SUN="$Sun" } + $icon = (Invoke-WebRequest http://wttr.in/${City}?format="%c" -UserAgent "curl" -useBasicParsing).Content + $temp = (Invoke-WebRequest http://wttr.in/${City}?format="%t" -UserAgent "curl" -useBasicParsing).Content + $rain = (Invoke-WebRequest http://wttr.in/${City}?format="%p %h" -UserAgent "curl" -useBasicParsing).Content + $wind = (Invoke-WebRequest http://wttr.in/${City}?format="%w" -UserAgent "curl" -useBasicParsing).Content + $sun = (Invoke-WebRequest http://wttr.in/${City}?format="%S → %s" -UserAgent "curl" -useBasicParsing).Content + New-Object PSObject -Property @{ CITY="$city $icon"; TEMP=$temp; RAIN=$rain; WIND=$wind; SUN=$sun } } } try { - ListCityWeather | Format-Table -property @{e='CITY';width=17},@{e='TEMP';width=13},@{e='RAIN';width=15},@{e='WIND';width=12},@{e='SUN';width=20} + List-City-Weather | Format-Table -property @{e='CITY';width=19},@{e='TEMP';width=9},@{e='RAIN';width=14},@{e='WIND';width=12},@{e='SUN';width=20} exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 63ffa48dc40095e3dca8b9fc740cdc1d5b0afd61 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 25 Nov 2024 14:32:02 +0100 Subject: [PATCH 076/737] Updated scan-folder.ps1 --- data/dicts/computing.csv | 1 + scripts/scan-folder.ps1 | 20 +++++++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/data/dicts/computing.csv b/data/dicts/computing.csv index 52d3ea765..ad8368629 100644 --- a/data/dicts/computing.csv +++ b/data/dicts/computing.csv @@ -469,6 +469,7 @@ CDR,call detail record CDR,Computed Dental Radiography CDSL,Consumer Digital Subscriber Line CDSS,clinical decision support system +CDU,Coolant Distribution Unit CdTe,cadmium telluride CEBP,communications-enabled business processes CELL,Cell processor diff --git a/scripts/scan-folder.ps1 b/scripts/scan-folder.ps1 index b7c20c5b9..f8d1524d1 100755 --- a/scripts/scan-folder.ps1 +++ b/scripts/scan-folder.ps1 @@ -1,13 +1,13 @@ <# .SYNOPSIS - Scans a directory tree for malware + Scans a folder for malware .DESCRIPTION - This PowerShell script scans a directory tree for malware. Requires the installation of ESET or Windows Defender. + This PowerShell script scans a folder for malware (including subfolders). Requires ESET Endpoint Security or Windows Defender. .PARAMETER path Specifies the file path to the folder (default is working directory). .EXAMPLE PS> ./scan-folder.ps1 C:\Windows - ⏳ Scanning 📂C:\Windows with ESET Antivirus... + ⏳ Scanning C:\Windows with ESET Endpoint Security... ... .LINK https://github.com/fleschutz/PowerShell @@ -24,22 +24,20 @@ try { $path = Resolve-Path $path if (Test-Path "C:\Program Files\ESET\ESET Security\ecls.exe" -pathType leaf) { - - "⏳ Scanning 📂$path with ESET Antivirus..." + Write-Host "⏳ Scanning $path with ESET Endpoint Security..." & "C:\Program Files\ESET\ESET Security\ecls.exe" $path - if ($lastExitCode -ne 0) { throw "ESET Antivirus failed with exit code $lastExitCode - POTENTIAL DANGER!!!" } + if ($lastExitCode -ne 0) { throw "ESET Endpoibnt Security exited with code $lastExitCode - POTENTIAL THREAT !!!" } } elseif (Test-Path "C:\Program Files\Windows Defender\MpCmdRun.exe" -pathType leaf) { - - "⏳ Scanning 📂$path with Windows Defender..." + Write-Host "⏳ Scanning $path with Windows Defender..." & "C:\Program Files\Windows Defender\MpCmdRun.exe" -Scan -ScanType 2 -File $path - if ($lastExitCode -ne 0) { throw "Windows Defender failed with exit code $lastExitCode - POTENTIAL DANGER !!!" } + if ($lastExitCode -ne 0) { throw "Windows Defender exited with code $lastExitCode - POTENTIAL THREAT !!!" } } else { - throw "Found no ESET or Windows Defender - please install one." + throw "No ESET Endpoint Security or Windows Defender available - please install one." } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Scanned 📂$path in $($elapsed)s: No malware found." + Write-Host "✅ Scanned $path in $($elapsed)s: No malware found." exit 0 # success } catch { "⚠️ Error: $($Error[0])" From 6e6974ec0897474bffe5460c7605ac7c0562f581 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 26 Nov 2024 07:58:23 +0100 Subject: [PATCH 077/737] Added get-sha512.ps1 --- scripts/get-md5.ps1 | 18 ++++++++++-------- scripts/get-sha1.ps1 | 20 +++++++++++--------- scripts/get-sha256.ps1 | 21 +++++++++++---------- scripts/get-sha512.ps1 | 30 ++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+), 27 deletions(-) create mode 100644 scripts/get-sha512.ps1 diff --git a/scripts/get-md5.ps1 b/scripts/get-md5.ps1 index b57f7f91b..99176e667 100755 --- a/scripts/get-md5.ps1 +++ b/scripts/get-md5.ps1 @@ -3,10 +3,11 @@ Prints the MD5 checksum of a file .DESCRIPTION This PowerShell script calculates and prints the MD5 checksum of the given file. -.PARAMETER file - Specifies the path to the file + NOTE: MD5 is no longer considered secure, use it for simple change validation only! +.PARAMETER path + Specifies the file path to the file .EXAMPLE - PS> ./get-md5 C:\MyFile.txt + PS> ./get-md5.ps1 C:\MyFile.txt ✅ MD5 hash is 041E16F16E60AD250EB794AF0681BD4A .LINK https://github.com/fleschutz/PowerShell @@ -14,16 +15,17 @@ Author: Markus Fleschutz | License: CC0 #> -param([string]$file = "") +param([string]$path = "") try { - if ($file -eq "" ) { $file = Read-Host "Enter path to file" } + if ($path -eq "" ) { $path = Read-Host "Enter the file path" } + if (-not(Test-Path $path -pathType leaf)) { throw "Invalid file path given: $path" } - $Result = Get-Filehash $file -algorithm MD5 + $result = Get-FileHash -path $path -algorithm MD5 - "✅ MD5 hash is $($Result.Hash)" + "✅ MD5 hash is $($result.Hash)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/get-sha1.ps1 b/scripts/get-sha1.ps1 index 9906b73c1..46b62e6db 100755 --- a/scripts/get-sha1.ps1 +++ b/scripts/get-sha1.ps1 @@ -1,12 +1,13 @@ <# .SYNOPSIS - Prints the SHA1 checksum of a file + Prints the SHA1 hash of a file .DESCRIPTION This PowerShell script calculates and prints the SHA1 checksum of the given file. -.PARAMETER file - Specifies the path to the file + NOTE: SHA1 is no longer considered secure, use it for simple change validation only! +.PARAMETER path + Specifies the local file path to the file .EXAMPLE - PS> ./get-sha1 C:\MyFile.txt + PS> ./get-sha1.ps1 C:\MyFile.txt ✅ SHA1 hash is 8105D424D350E308AED92BD9DDEB74A1B53C5D7C .LINK https://github.com/fleschutz/PowerShell @@ -14,16 +15,17 @@ Author: Markus Fleschutz | License: CC0 #> -param([string]$file = "") +param([string]$path = "") try { - if ($file -eq "" ) { $file = Read-Host "Enter the filename" } + if ($path -eq "" ) { $path = Read-Host "Enter the file path" } + if (-not(Test-Path $path -pathType leaf)) { throw "Invalid file path given: $path" } - $Result = get-filehash $file -algorithm SHA1 + $result = Get-FileHash -path $path -algorithm SHA1 - "✅ SHA1 hash is $($Result.Hash)" + "✅ SHA1 hash is $($result.Hash)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/get-sha256.ps1 b/scripts/get-sha256.ps1 index 7c33a669e..458f6ff48 100755 --- a/scripts/get-sha256.ps1 +++ b/scripts/get-sha256.ps1 @@ -1,29 +1,30 @@ <# .SYNOPSIS - Prints the SHA256 checksum of a file + Prints the SHA256 hash of a file .DESCRIPTION This PowerShell script calculates and prints the SHA256 checksum of the given file. -.PARAMETER file - Specifies the path to the file +.PARAMETER path + Specifies the local file path to the file .EXAMPLE - PS> ./get-sha256 C:\MyFile.txt - ✅ SHA256 hash is: CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E + PS> ./get-sha256.ps1 C:\MyFile.txt + ✅ SHA256 hash is CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$file = "") +param([string]$path = "") try { - if ($file -eq "" ) { $file = Read-Host "Enter the filename" } + if ($path -eq "" ) { $path = Read-Host "Enter the file path" } + if (-not(Test-Path $path -pathType leaf)) { throw "Invalid file path given: $path" } - $Result = get-filehash $file -algorithm SHA256 + $result = Get-FileHash -path $path -algorithm SHA256 - "✅ SHA256 hash is: $($Result.Hash)" + "✅ SHA256 hash is $($result.Hash)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/get-sha512.ps1 b/scripts/get-sha512.ps1 new file mode 100644 index 000000000..a11e83e69 --- /dev/null +++ b/scripts/get-sha512.ps1 @@ -0,0 +1,30 @@ +<# +.SYNOPSIS + Prints the SHA512 hash of a file +.DESCRIPTION + This PowerShell script calculates and prints the SHA512 checksum of the given file. +.PARAMETER path + Specifies the local file path to the file +.EXAMPLE + PS> ./get-sha512.ps1 C:\MyFile.txt + ✅ SHA512 hash is CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$path = "") + +try { + if ($path -eq "" ) { $path = Read-Host "Enter the file path" } + if (-not(Test-Path $path -pathType leaf)) { throw "Invalid file path given: $path" } + + $result = Get-FileHash -path $path -algorithm SHA512 + + "✅ SHA512 hash is $($result.Hash)" + exit 0 # success +} catch { + "⚠️ Error: $($Error[0])" + exit 1 +} From 395dac8b8c383ec8c1ce2daeb78a964ba6cf4756 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 27 Nov 2024 14:22:30 +0100 Subject: [PATCH 078/737] Updated wake-up-host.ps1 --- scripts/wake-up-host.ps1 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/wake-up-host.ps1 b/scripts/wake-up-host.ps1 index 27601f642..6cf92dbca 100755 --- a/scripts/wake-up-host.ps1 +++ b/scripts/wake-up-host.ps1 @@ -6,14 +6,15 @@ .PARAMETER macAddr Specifies the host's MAC address (e.g. 11:22:33:44:55:66) .PARAMETER ipAddr - Specifies the host's IP address or subnet address (e.g. 192.168.0.255) + Specifies the subnet address (e.g. 192.168.178.255) .PARAMETER udpPort Specifies the UDP port (9 by default) .PARAMETER numTimes Specifies # of times to send the packet (3 by default) .EXAMPLE - PS> ./wake-up-host.ps1 11:22:33:44:55:66 192.168.100.100 - ✅ Magic packet sent to IP 192.168.100.100, UDP port 9, 3x - wait a minute until the computer fully boots up. + PS> ./wake-up-host.ps1 11:22:33:44:55:66 192.168.100.255 + ✅ Sent magic packet 3 times to subnet 192.168.100.255, UDP port 9. + NOTE: wait a minute until the computer fully boots up. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -36,13 +37,14 @@ function Send-WOL { param([string]$macAddr, [string]$ipAddr, [int]$udpPort) try { if ($macAddr -eq "" ) { $macAddr = Read-Host "Enter the host's MAC address, e.g. 11:22:33:44:55:66" } - if ($ipAddr -eq "" ) { $ipAddr = Read-Host "Enter the host's IP or subnet address, e.g. 192.168.0.255" } + if ($ipAddr -eq "" ) { $ipAddr = Read-Host "Enter the subnet address, e.g. 192.168.178.255" } for ($i = 0; $i -lt $numTimes; $i++) { Send-WOL $macAddr.Trim() $ipAddr.Trim() $udpPort Start-Sleep -milliseconds 100 } - "✅ Magic packet sent to IP $ipAddr, UDP port $udpPort, $($numTimes)x - wait a minute until the computer fully boots up." + "✅ Sent magic packet $numTimes times to subnet $ipAddr, UDP port $($udpPort)." + " NOTE: wait a minute until the computer fully boots up." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From c70b993747239707980f6a15639e627a9818713e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 27 Nov 2024 14:27:06 +0100 Subject: [PATCH 079/737] Updated popular-repos.csv --- data/popular-repos.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/popular-repos.csv b/data/popular-repos.csv index a039c05fa..d7d40a971 100644 --- a/data/popular-repos.csv +++ b/data/popular-repos.csv @@ -1,5 +1,5 @@ FOLDERNAME, CATEGORY, URL, BRANCH, SHALLOW, -base256, "dev tool", "git@github.com:fleschutz/base256.git", main, yes, +base256U, "dev tool", "git@github.com:fleschutz/base256U.git", main, yes, bazel, "build tool", "https://github.com/bazelbuild/bazel", master, yes, cmake, "build tool", "https://github.com/Kitware/CMake", master, yes, cmatrix, "fun tool", "https://github.com/abishekvashok/cmatrix", master, yes, From de90e60b2e2b108496fb0f8b158d9042a4d9a7ac Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 27 Nov 2024 16:08:58 +0100 Subject: [PATCH 080/737] Updated speak-checklist.ps1 --- data/checklists/handwashing.md | 7 +++++++ data/checklists/handwashing.txt | 6 ------ scripts/speak-checklist.ps1 | 36 +++++++++++++++++---------------- 3 files changed, 26 insertions(+), 23 deletions(-) create mode 100644 data/checklists/handwashing.md delete mode 100644 data/checklists/handwashing.txt diff --git a/data/checklists/handwashing.md b/data/checklists/handwashing.md new file mode 100644 index 000000000..4acb9d1c5 --- /dev/null +++ b/data/checklists/handwashing.md @@ -0,0 +1,7 @@ +The Handwashing Checklist +========================= +- [ ] Wet your hands with clean, running water (warm or cold), turn off the tap, and apply soap. +- [ ] Lather your hands by rubbing them together with the soap. Lather the backs of your hands, between your fingers, and under your nails. +- [ ] Scrub your hands for at least 20 seconds. +- [ ] Rinse your hands well under clean, running water. +- [ ] Dry your hands using a clean towel or air dry them. \ No newline at end of file diff --git a/data/checklists/handwashing.txt b/data/checklists/handwashing.txt deleted file mode 100644 index 56fcc6a22..000000000 --- a/data/checklists/handwashing.txt +++ /dev/null @@ -1,6 +0,0 @@ -HEAD Handwashing -Wet your hands with clean, running water (warm or cold), turn off the tap, and apply soap. -Lather your hands by rubbing them together with the soap. Lather the backs of your hands, between your fingers, and under your nails. -Scrub your hands for at least 20 seconds. -Rinse your hands well under clean, running water. -Dry your hands using a clean towel or air dry them. diff --git a/scripts/speak-checklist.ps1 b/scripts/speak-checklist.ps1 index 6e15bc33f..f53bdd462 100755 --- a/scripts/speak-checklist.ps1 +++ b/scripts/speak-checklist.ps1 @@ -2,11 +2,11 @@ .SYNOPSIS Speaks a checklist by text-to-speech .DESCRIPTION - This PowerShell script speaks the given checklist by text-to-speech (TTS). + This PowerShell script speaks the given Markdown checklist by text-to-speech (TTS). .PARAMETER name Specifies the name of the checklist .EXAMPLE - PS> ./speak-checklist.ps1 handwashing + PS> ./speak-checklist.judge yiips1 handwashing .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -16,34 +16,36 @@ param([string]$name = "handwashing") function WaitForCheck { - Add-Type -AssemblyName System.Speech $engine = New-Object -typeName System.Speech.Recognition.SpeechRecognitionEngine $grammar = New-Object -typeName System.Speech.Recognition.GrammarBuilder $grammar.Append("check"); $engine.LoadGrammar($grammar); - $engine.InitialSilenceTimeout = 5 $engine.SetInputToDefaultAudioDevice(); - do { - $recognized = $engine.Recognize(); - } while ("$($recognized.text)" -ne "check") + do { $got = $engine.Recognize() } while ("$($got.text)" -ne "check") } try { + Add-Type -AssemblyName System.Speech if ($name -eq "") { $name = Read-Host "Enter the name of the checklist" } + $stopWatch = [system.diagnostics.stopwatch]::startNew() Clear-Host - $lines = Get-Content -path "$PSScriptRoot/../data/checklists/$name.txt" - $step = 1 + Write-Host "" + $lines = Get-Content -path "$PSScriptRoot/../data/checklists/$name.md" + $headline = "" foreach($line in $lines) { - if ($line -like "HEAD*") { & "$PSScriptRoot/write-big.ps1" "$($line.substring(5))"; continue } - "" - Write-Host "$($step). $line" -foregroundColor yellow - & "$PSScriptRoot/speak-english.ps1" $line - Write-Host " Say to continue..." - Write-Host "" - WaitForCheck - $step++ + if ($line -match "- \[ \].*") { + Write-Host "`n✅ $($line.Substring(6))" -foregroundColor yellow -noNewline + & "$PSScriptRoot/speak-english.ps1" $($line.Substring(6)) + Write-Host " Say 'CHECK'..." + WaitForCheck + } else { + Write-Host $line + } } + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + Write-Host "`n✅ Checklist completed in $($elapsed)s." + & "$PSScriptRoot/speak-english.ps1" "You're done." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 829c22d3fb3a58d847f33fe4a09d7d23b39b2b6a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 28 Nov 2024 17:27:48 +0100 Subject: [PATCH 081/737] Updated fetch-repos.ps1 and pull-repos.ps1 --- scripts/fetch-repos.ps1 | 2 +- scripts/pull-repos.ps1 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/fetch-repos.ps1 b/scripts/fetch-repos.ps1 index 88ee28861..ac34a3d5e 100755 --- a/scripts/fetch-repos.ps1 +++ b/scripts/fetch-repos.ps1 @@ -44,7 +44,7 @@ try { $step++ } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Fetched into $numFolders repos under 📂$parentDirPathName in $($elapsed)s." + "✅ Fetched into $numFolders repos at 📂$parentDirPath in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/pull-repos.ps1 b/scripts/pull-repos.ps1 index d5e84b48a..a2f9003d1 100755 --- a/scripts/pull-repos.ps1 +++ b/scripts/pull-repos.ps1 @@ -9,7 +9,7 @@ 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 📂base256unicode... + ⏳ (3/35) Pulling into 📂base256U... ... .LINK https://github.com/fleschutz/PowerShell @@ -48,10 +48,10 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($failed -eq 0) { - "✅ Updated $numFolders repos at 📂$parentDir in $($elapsed)s." + "✅ Pulled into $numFolders repos at 📂$parentDir in $($elapsed)s." exit 0 # success } else { - "⚠️ Updated $numFolders repos at 📂$parentDir in $($elapsed)s but $failed failed!" + "⚠️ Pulled into $numFolders repos at 📂$parentDir in $($elapsed)s but $failed failed!" exit 1 } } catch { From cf88f21ebc3e0a375fd7365725f7abea35efae2e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 28 Nov 2024 17:53:54 +0100 Subject: [PATCH 082/737] Update travel_packing.md --- data/checklists/travel_packing.md | 81 +++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 data/checklists/travel_packing.md diff --git a/data/checklists/travel_packing.md b/data/checklists/travel_packing.md new file mode 100644 index 000000000..3e1720dfb --- /dev/null +++ b/data/checklists/travel_packing.md @@ -0,0 +1,81 @@ +# The Travel Packing Checklist + +## At first the absolute necessities: + +- [ ] Passport: Your gateway to international travel. + +- [ ] Wallet: For your cash, cards, and identification. +- [ ] Cash: Have some local currency on hand for immediate expenses. +- [ ] Credit/Debit Cards: For larger transactions and emergencies. +- [ ] Phone: Your communication lifeline and entertainment hub. +- [ ] Phone Charger: Don't let your battery die on you. +- [ ] Travel Itinerary: Keep your schedule organized. +- [ ] Sunglasses: Protect your eyes and look stylish. +- [ ] Keys: For your home, car, or luggage locks. +- [ ] Clothing: Dress for Success and Comfort + +## Pack a versatile wardrobe for any occasion: + +- [ ] Tops: T-shirts for casual days, dress shirts for formal events, and sweaters/jackets for warmth. + +- [ ] Bottoms: Jeans for everyday wear, trousers for dressier occasions, and shorts for warmer climates. +- [ ] Swimwear: If you're headed to the beach or pool. +- [ ] Undergarments: Don't forget your underwear and socks! +- [ ] Footwear: Casual shoes, formal shoes, sandals, and running shoes for various activities. +- [ ] Accessories: The Finishing Touches + +## Complete your look with these essentials: + +- [ ] Belt: To hold up your pants and add a touch of style. + +- [ ] Watch: To keep track of time and accessorize. +- [ ] Hat/Cap: For sun protection or a fashion statement. +- [ ] Tie: If you have formal events planned. +- [ ] Cufflinks: For a sophisticated touch with dress shirts. +- [ ] Toiletries: Stay Fresh and Clean + +## Maintain your personal hygiene on the go: + +- [ ] Toothbrush/Toothpaste: For a bright smile. + +- [ ] Deodorant: Stay smelling fresh. +- [ ] Shampoo/Conditioner: Keep your hair clean and healthy. +- [ ] Soap: For a refreshing shower or bath. +- [ ] Shaving Kit: If you prefer a clean-shaven look. +- [ ] Nail Clipper: For grooming on the go. +- [ ] Health and Wellness: Stay Prepared + +Prioritize your well-being with these essentials: + +- [ ] Prescription Medications: Don't forget any vital prescriptions. + +- [ ] Pain Relievers: For unexpected headaches or aches. +- [ ] Vitamins/Supplements: Maintain your health on the road. +- [ ] First Aid Kit: For minor cuts, scrapes, or injuries. +- [ ] Tech Gadgets: Stay Connected and Entertained + +Bring along your tech essentials: + +- [ ] Laptop/Charger: For work or entertainment. + +- [ ] Tablet/Charger: For reading, browsing, or watching videos. +- [ ] Earphones/Headphones: For music, podcasts, or privacy. +- [ ] Power Bank: Keep your devices charged on the go. +- [ ] Documents: Important Paperwork + +Ensure you have all necessary documents: + +- [ ] Travel Insurance: For peace of mind in case of unforeseen events. + +- [ ] Tickets (Flight/Train/Bus): Don't forget your travel documents. +- [ ] Hotel Reservations: Keep your accommodation details handy. +- [ ] Emergency Contacts: In case you need to reach out to someone. +- [ ] Miscellaneous: The Extras + +These items can enhance your travel experience: + +- [ ] Books/Magazines: For entertainment during downtime. +- [ ] Snacks: Keep your hunger at bay between meals. +- [ ] Reusable Water Bottle: Stay hydrated and reduce waste. +- [ ] Travel Pillow: For comfort during long journeys. +- [ ] Umbrella: Be prepared for unexpected rain. \ No newline at end of file From 4af826c74106b934c74938d6f4f9e5d9390b893a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 30 Nov 2024 14:23:41 +0100 Subject: [PATCH 083/737] Updated install-updates.ps1 --- scripts/install-updates.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install-updates.ps1 b/scripts/install-updates.ps1 index b8ec15f3f..570a95cbc 100755 --- a/scripts/install-updates.ps1 +++ b/scripts/install-updates.ps1 @@ -56,7 +56,8 @@ try { "" "⏳ (2/2) Installing updates from winget and Microsoft Store..." "" - & winget upgrade --all --include-unknown + & winget upgrade --all --source=winget + # & winget upgrade --all --source=msstore # does not work } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Updates installed in $($elapsed)s." From 98e8d758a1636002305371a99612e05b8d641804 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 1 Dec 2024 20:46:27 +0100 Subject: [PATCH 084/737] Added write-value.ps1 --- scripts/write-value.ps1 | 64 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 scripts/write-value.ps1 diff --git a/scripts/write-value.ps1 b/scripts/write-value.ps1 new file mode 100644 index 000000000..8770edde9 --- /dev/null +++ b/scripts/write-value.ps1 @@ -0,0 +1,64 @@ +<# +.SYNOPSIS + Writes a value with value range +.DESCRIPTION + This PowerShell script writes the given value to stdout. +.PARAMETER value + Specifies the value +.EXAMPLE + PS> ./write-value.ps1 0.5 Mach 0 10 + [0⎯0.5 Mach⎯⎯⎯⎯⎯⎯⎯⎯⎯10] +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([float]$value = 0.5, [string]$unit = "Mach", [float]$min = 0.0, [float]$max = 10.0) + +function WriteLine([float]$count) +{ + for ([int]$i = 0; $i -lt $count; $i++) { + Write-Host "⎯" -noNewline + } +} + +function WriteBlock([float]$value, [string]$unit, [float]$min, [float]$max) { + $text = "[$min $value $unit $max]" + $left = 32 - $text.Length + if ($value -gt $max) { + Write-Host "[$min" -noNewline + WriteLine $left + Write-Host "$max]" -noNewline + Write-Host " $value $unit " -noNewline -foregroundColor red + } elseif ($value -lt $min) { + Write-Host "$value $unit" -noNewline -foregroundColor red + Write-Host " [$min" -noNewline + WriteLine $left + Write-Host "$max] " -noNewline + } else { + [float]$percent = ($value * 100.0) / $max + Write-Host "[$min" -noNewline + WriteLine ($percent / 5.0) + Write-Host "$value $unit" -noNewline -foregroundColor green + WriteLine ((100.0 - $percent) / 5.0) + Write-Host "$max] " -noNewline + } +} + +WriteBlock -11.5 "Mach" 0.0 10.0 +Write-Host "Too slow" + +WriteBlock 0.5 "Mach" 0.0 10.0 +Write-Host "Good" + +WriteBlock 5 "Mach" 0.0 10.0 +Write-Host "Good" + +WriteBlock 7 "Mach" 0.0 10.0 +Write-Host "Good" + +WriteBlock 15 "Mach" 0.0 10.0 +Write-Host "Too fast" + +exit 0 # success From 1ed0d1c6a0040202a675b17e7a94990d60b9e011 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 2 Dec 2024 11:24:14 +0100 Subject: [PATCH 085/737] Updated my-profile.ps1 --- scripts/my-profile.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/my-profile.ps1 b/scripts/my-profile.ps1 index 72f45c1fe..e2f8e2c31 100755 --- a/scripts/my-profile.ps1 +++ b/scripts/my-profile.ps1 @@ -5,7 +5,7 @@ if ($IsLinux) { $username = $(whoami) } else { $username = $env:USERNAME } $host.ui.RawUI.WindowTitle = "$username @ $(hostname)" # GREETING -Write-Host "👋 Welcome $username to $(hostname)'s PowerShell - type 'FAQ' for help." -foregroundColor green +Write-Host "✨ Welcome $username to $(hostname)'s PowerShell - type 'FAQ' for help." -foregroundColor green # PROMPT function prompt { Write-Host "`n➤ " -noNewline -foregroundColor yellow; return " " } From 647206ee13a66fb5611d85fd359401f41e705313 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 2 Dec 2024 20:13:11 +0100 Subject: [PATCH 086/737] Updated write-value.ps1 --- scripts/write-value.ps1 | 49 +++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/scripts/write-value.ps1 b/scripts/write-value.ps1 index 8770edde9..5bb1d4606 100644 --- a/scripts/write-value.ps1 +++ b/scripts/write-value.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Writes a value with value range .DESCRIPTION - This PowerShell script writes the given value to stdout. + This PowerShell script writes the given value with value range to the console. .PARAMETER value Specifies the value .EXAMPLE @@ -16,49 +16,50 @@ param([float]$value = 0.5, [string]$unit = "Mach", [float]$min = 0.0, [float]$max = 10.0) -function WriteLine([float]$count) -{ - for ([int]$i = 0; $i -lt $count; $i++) { +function WriteLine([float]$count) { + while ($count -ge 1.0) { Write-Host "⎯" -noNewline + $count -= 1.0 } + return $count } function WriteBlock([float]$value, [string]$unit, [float]$min, [float]$max) { - $text = "[$min $value $unit $max]" - $left = 32 - $text.Length + $text = "[$min $($value)$unit $max]" + [float]$left = 20.0 - $text.Length if ($value -gt $max) { Write-Host "[$min" -noNewline - WriteLine $left + $rest = WriteLine $left Write-Host "$max]" -noNewline - Write-Host " $value $unit " -noNewline -foregroundColor red + Write-Host " $($value)$unit " -noNewline -foregroundColor red } elseif ($value -lt $min) { - Write-Host "$value $unit" -noNewline -foregroundColor red + Write-Host "$($value)$unit" -noNewline -foregroundColor red Write-Host " [$min" -noNewline - WriteLine $left + $rest = WriteLine $left Write-Host "$max] " -noNewline } else { - [float]$percent = ($value * 100.0) / $max + [float]$percent = (($value - $min) * $left) / ($max - $min) Write-Host "[$min" -noNewline - WriteLine ($percent / 5.0) - Write-Host "$value $unit" -noNewline -foregroundColor green - WriteLine ((100.0 - $percent) / 5.0) + $rest = WriteLine $percent + Write-Host "$($value)$unit" -noNewline -foregroundColor green + $rest = WriteLine ($left - $percent + $rest + 1.0) Write-Host "$max] " -noNewline } } -WriteBlock -11.5 "Mach" 0.0 10.0 -Write-Host "Too slow" +WriteBlock -3.5 "°C" 0 100 +Write-Host "CPU too cold" -WriteBlock 0.5 "Mach" 0.0 10.0 -Write-Host "Good" +WriteBlock 15 "°C" 0 100 +Write-Host "OK" -WriteBlock 5 "Mach" 0.0 10.0 -Write-Host "Good" +WriteBlock 50 "°C" 0 100 +Write-Host "OK" -WriteBlock 7 "Mach" 0.0 10.0 -Write-Host "Good" +WriteBlock 70 "°C" 0 100 +Write-Host "OK" -WriteBlock 15 "Mach" 0.0 10.0 -Write-Host "Too fast" +WriteBlock 110 "°C" 0 100 +Write-Host "CPU too hot " exit 0 # success From 724da873d221b589632f33e392c1dbc98fb17c64 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 3 Dec 2024 07:16:25 +0100 Subject: [PATCH 087/737] Updated write-value.ps1 --- scripts/write-value.ps1 | 47 ++++++++++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/scripts/write-value.ps1 b/scripts/write-value.ps1 index 5bb1d4606..a08e248c1 100644 --- a/scripts/write-value.ps1 +++ b/scripts/write-value.ps1 @@ -14,7 +14,7 @@ Author: Markus Fleschutz | License: CC0 #> -param([float]$value = 0.5, [string]$unit = "Mach", [float]$min = 0.0, [float]$max = 10.0) +param([float]$value = 0.5, [string]$unit = "Mach", [float]$redMin = 0.0, [float]$redMax = 10.0) function WriteLine([float]$count) { while ($count -ge 1.0) { @@ -24,42 +24,55 @@ function WriteLine([float]$count) { return $count } -function WriteBlock([float]$value, [string]$unit, [float]$min, [float]$max) { - $text = "[$min $($value)$unit $max]" +function WriteBlock([float]$value, [string]$unit, [float]$redMin, [float]$yellowMin, [float]$yellowMax, [float]$redMax) { + $text = "[$redMin $($value)$unit $redMax]" [float]$left = 20.0 - $text.Length - if ($value -gt $max) { - Write-Host "[$min" -noNewline + if ($value -gt $redMax) { + Write-Host "[$redMin" -noNewline $rest = WriteLine $left - Write-Host "$max]" -noNewline + Write-Host "$redMax]" -noNewline Write-Host " $($value)$unit " -noNewline -foregroundColor red - } elseif ($value -lt $min) { + } elseif ($value -lt $redMin) { Write-Host "$($value)$unit" -noNewline -foregroundColor red - Write-Host " [$min" -noNewline + Write-Host " [$redMin" -noNewline $rest = WriteLine $left - Write-Host "$max] " -noNewline + Write-Host "$redMax] " -noNewline + } elseif (($value -le $yellowMin) -or ($value -ge $yellowMax)) { + [float]$percent = (($value - $redMin) * $left) / ($redMax - $redMin) + Write-Host "[$redMin" -noNewline + $rest = WriteLine $percent + Write-Host "$($value)$unit" -noNewline -foregroundColor yellow + $rest = WriteLine ($left - $percent + $rest + 1.0) + Write-Host "$redMax] " -noNewline } else { - [float]$percent = (($value - $min) * $left) / ($max - $min) - Write-Host "[$min" -noNewline + [float]$percent = (($value - $redMin) * $left) / ($redMax - $redMin) + Write-Host "[$redMin" -noNewline $rest = WriteLine $percent Write-Host "$($value)$unit" -noNewline -foregroundColor green $rest = WriteLine ($left - $percent + $rest + 1.0) - Write-Host "$max] " -noNewline + Write-Host "$redMax] " -noNewline } } -WriteBlock -3.5 "°C" 0 100 +WriteBlock -3.5 "°C" 0 10 90 100 Write-Host "CPU too cold" -WriteBlock 15 "°C" 0 100 +WriteBlock 5 "°C" 0 10 90 100 +Write-Host "CPU quite cold" + +WriteBlock 15 "°C" 0 10 90 100 Write-Host "OK" -WriteBlock 50 "°C" 0 100 +WriteBlock 50 "°C" 0 10 90 100 Write-Host "OK" -WriteBlock 70 "°C" 0 100 +WriteBlock 70 "°C" 0 10 90 100 Write-Host "OK" -WriteBlock 110 "°C" 0 100 +WriteBlock 95 "°C" 0 10 90 100 +Write-Host "CPU quite hot " + +WriteBlock 110 "°C" 0 10 90 100 Write-Host "CPU too hot " exit 0 # success From 2b6b3dc32e569a588f48ea244454cbb5a90914b8 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 3 Dec 2024 14:20:27 +0100 Subject: [PATCH 088/737] Update write-value.ps1 --- scripts/write-value.ps1 | 72 +++++++++++++++++------------------------ 1 file changed, 29 insertions(+), 43 deletions(-) diff --git a/scripts/write-value.ps1 b/scripts/write-value.ps1 index a08e248c1..b01713345 100644 --- a/scripts/write-value.ps1 +++ b/scripts/write-value.ps1 @@ -1,78 +1,64 @@ <# .SYNOPSIS - Writes a value with value range + Writes a value with unit and range .DESCRIPTION - This PowerShell script writes the given value with value range to the console. + This PowerShell script writes the given value with the unit and the value range to the console. .PARAMETER value Specifies the value .EXAMPLE - PS> ./write-value.ps1 0.5 Mach 0 10 - [0⎯0.5 Mach⎯⎯⎯⎯⎯⎯⎯⎯⎯10] + PS> ./write-value.ps1 95.0 "°C" 0 10 90 100 + [0--------95°C-100] .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([float]$value = 0.5, [string]$unit = "Mach", [float]$redMin = 0.0, [float]$redMax = 10.0) +param([float]$value = 0.5, [string]$unit = "Mach", [float]$redMin, [float]$yellowMin, [float]$yellowMax, [float]$redMax) -function WriteLine([float]$count) { - while ($count -ge 1.0) { - Write-Host "⎯" -noNewline - $count -= 1.0 - } - return $count -} - -function WriteBlock([float]$value, [string]$unit, [float]$redMin, [float]$yellowMin, [float]$yellowMax, [float]$redMax) { - $text = "[$redMin $($value)$unit $redMax]" - [float]$left = 20.0 - $text.Length +function WriteValueInRange([float]$value, [string]$unit, [float]$redMin, [float]$yellowMin, [float]$yellowMax, [float]$redMax) { + $line = "------------------------------------------------" + $text = "[$redMin$($value)$unit $redMax]" + [float]$total = 20.0 - $text.Length if ($value -gt $redMax) { - Write-Host "[$redMin" -noNewline - $rest = WriteLine $left - Write-Host "$redMax]" -noNewline - Write-Host " $($value)$unit " -noNewline -foregroundColor red + Write-Host "[$redMin$($line.Substring(0, $total))$redMax]" -noNewline + Write-Host "$($value)$unit " -noNewline -foregroundColor red } elseif ($value -lt $redMin) { Write-Host "$($value)$unit" -noNewline -foregroundColor red - Write-Host " [$redMin" -noNewline - $rest = WriteLine $left - Write-Host "$redMax] " -noNewline - } elseif (($value -le $yellowMin) -or ($value -ge $yellowMax)) { - [float]$percent = (($value - $redMin) * $left) / ($redMax - $redMin) - Write-Host "[$redMin" -noNewline - $rest = WriteLine $percent - Write-Host "$($value)$unit" -noNewline -foregroundColor yellow - $rest = WriteLine ($left - $percent + $rest + 1.0) - Write-Host "$redMax] " -noNewline + Write-Host "[$redMin$($line.Substring(0, $total))$redMax] " -noNewline } else { - [float]$percent = (($value - $redMin) * $left) / ($redMax - $redMin) - Write-Host "[$redMin" -noNewline - $rest = WriteLine $percent - Write-Host "$($value)$unit" -noNewline -foregroundColor green - $rest = WriteLine ($left - $percent + $rest + 1.0) - Write-Host "$redMax] " -noNewline + [float]$leftSide = (($value - $redMin) * $total) / ($redMax - $redMin) + if ($leftSide -lt 1.0) { $leftSide = 1.0 } + if ($leftSide -gt ($total - 1.0)) { $leftSide = $total - 1.0 } + Write-Host "[$redMin$($line.Substring(0, $leftSide))" -noNewline + if (($value -le $yellowMin) -or ($value -ge $yellowMax)) { + Write-Host "$($value)$unit" -noNewline -foregroundColor yellow + } else { + Write-Host "$($value)$unit" -noNewline -foregroundColor green + } + Write-Host "$($line.Substring(0, $total - $leftSide + 0.49))$redMax] " -noNewline } } -WriteBlock -3.5 "°C" 0 10 90 100 +WriteValueInRange -3.5 "°C" 0 10 90 100 Write-Host "CPU too cold" -WriteBlock 5 "°C" 0 10 90 100 +WriteValueInRange 5 "°C" 0 10 90 100 Write-Host "CPU quite cold" -WriteBlock 15 "°C" 0 10 90 100 +WriteValueInRange 15 "°C" 0 10 90 100 Write-Host "OK" -WriteBlock 50 "°C" 0 10 90 100 +WriteValueInRange 50 "°C" 0 10 90 100 Write-Host "OK" -WriteBlock 70 "°C" 0 10 90 100 +WriteValueInRange 70 "°C" 0 10 90 100 Write-Host "OK" -WriteBlock 95 "°C" 0 10 90 100 +WriteValueInRange 95 "°C" 0 10 90 100 Write-Host "CPU quite hot " -WriteBlock 110 "°C" 0 10 90 100 +WriteValueInRange 110 "°C" 0 10 90 100 Write-Host "CPU too hot " exit 0 # success From 6216c17011f0b72742fa773d186a54478ff021e1 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 3 Dec 2024 21:41:51 +0100 Subject: [PATCH 089/737] Added watch-host.ps1 --- scripts/watch-host.ps1 | 88 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 scripts/watch-host.ps1 diff --git a/scripts/watch-host.ps1 b/scripts/watch-host.ps1 new file mode 100644 index 000000000..86b8a01f0 --- /dev/null +++ b/scripts/watch-host.ps1 @@ -0,0 +1,88 @@ +<# +.SYNOPSIS + Writes a value with unit and range +.DESCRIPTION + This PowerShell script writes the given value with the unit and the value range to the console. +.PARAMETER value + Specifies the value +.EXAMPLE + PS> ./write-value.ps1 95.0 "°C" 0 10 90 100 + [0--------95°C-100] +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +function GetCPUTemperature { + $temp = 99999.9 # unsupported + if ($IsLinux) { + if (Test-Path "/sys/class/thermal/thermal_zone0/temp" -pathType leaf) { + [int]$IntTemp = Get-Content "/sys/class/thermal/thermal_zone0/temp" + $temp = [math]::round($IntTemp / 1000.0, 1) + } + } else { + $objects = Get-WmiObject -Query "SELECT * FROM Win32_PerfFormattedData_Counters_ThermalZoneInformation" -Namespace "root/CIMV2" + foreach ($object in $objects) { + $highPrec = $object.HighPrecisionTemperature + $temp = [math]::round($highPrec / 100.0, 1) + } + } + return $temp +} + +function GetUptime { + if ($IsLinux) { + $uptime = (Get-Uptime) + } else { + $lastBootTime = (Get-CimInstance Win32_OperatingSystem).LastBootUpTime + $uptime = New-TimeSpan -Start $lastBootTime -End (Get-Date) + } + return $uptime.Days +} + +function WriteValueInRange([float]$value, [string]$unit, [float]$redMin, [float]$yellowMin, [float]$yellowMax, [float]$redMax) { + $line = "------------------------------------------------" + $text = "[$redMin$($value)$unit $redMax]" + [float]$total = 20.0 - $text.Length + if ($value -gt $redMax) { + Write-Host "[$redMin$($line.Substring(0, $total))$redMax]" -noNewline + Write-Host "$($value)$unit " -noNewline -foregroundColor red + } elseif ($value -lt $redMin) { + Write-Host "$($value)$unit" -noNewline -foregroundColor red + Write-Host "[$redMin$($line.Substring(0, $total))$redMax] " -noNewline + } else { + [float]$leftSide = (($value - $redMin) * $total) / ($redMax - $redMin) + if ($leftSide -lt 1.0) { $leftSide = 1.0 } + if ($leftSide -gt ($total - 1.0)) { $leftSide = $total - 1.0 } + Write-Host "[$redMin$($line.Substring(0, $leftSide))" -noNewline + if (($value -le $yellowMin) -or ($value -ge $yellowMax)) { + Write-Host "$($value)$unit" -noNewline -foregroundColor yellow + } else { + Write-Host "$($value)$unit" -noNewline -foregroundColor green + } + Write-Host "$($line.Substring(0, $total - $leftSide + 0.49))$redMax] " -noNewline + } +} + +try { + do { + $CPUtemp = GetCPUTemperature + $numProcesses = (Get-Process).Count + $numDaysUp = GetUptime + + Clear-Host + Write-Host "`n* CPU TEMP " -noNewline + WriteValueInRange $CPUtemp "°C" 0 10 80 100 + Write-Host "`n* PROCESSES " -noNewline + WriteValueInRange $numProcesses "" 0 10 900 1000 + Write-Host "`n* UPTIME " -noNewline + WriteValueInRange $numDaysUp " days" 0 0 900 1000 + + + Start-Sleep -milliseconds 1000 + } while ($true) +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} \ No newline at end of file From 58ad94028883bdba94b1be403532ffd9fe20ac9b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 3 Dec 2024 22:46:12 +0100 Subject: [PATCH 090/737] Updated watch-host.ps1 --- scripts/watch-host.ps1 | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/scripts/watch-host.ps1 b/scripts/watch-host.ps1 index 86b8a01f0..df6915295 100644 --- a/scripts/watch-host.ps1 +++ b/scripts/watch-host.ps1 @@ -56,7 +56,7 @@ function WriteValueInRange([float]$value, [string]$unit, [float]$redMin, [float] if ($leftSide -lt 1.0) { $leftSide = 1.0 } if ($leftSide -gt ($total - 1.0)) { $leftSide = $total - 1.0 } Write-Host "[$redMin$($line.Substring(0, $leftSide))" -noNewline - if (($value -le $yellowMin) -or ($value -ge $yellowMax)) { + if (($value -lt $yellowMin) -or ($value -gt $yellowMax)) { Write-Host "$($value)$unit" -noNewline -foregroundColor yellow } else { Write-Host "$($value)$unit" -noNewline -foregroundColor green @@ -67,16 +67,27 @@ function WriteValueInRange([float]$value, [string]$unit, [float]$redMin, [float] try { do { + [int]$Time = Get-Date -format "HHmm" $CPUtemp = GetCPUTemperature $numProcesses = (Get-Process).Count + $load = "{0}" -f $(Get-WmiObject Win32_Processor | Measure-Object -Property LoadPercentage -Average | Select-Object -ExpandProperty Average) + $DriveDetails = Get-PSDrive C + $DiskUse = [math]::round($DriveDetails.Used / 1GB) + $DiskSize = [math]::round(($DriveDetails.Used + $DriveDetails.Free) / 1GB) $numDaysUp = GetUptime Clear-Host - Write-Host "`n* CPU TEMP " -noNewline + Write-Host "`n* TIME " -noNewline + WriteValueInRange $Time "" 0 0 2400 2400 + Write-Host "`n* CPU " -noNewline WriteValueInRange $CPUtemp "°C" 0 10 80 100 - Write-Host "`n* PROCESSES " -noNewline + Write-Host "`n* LOAD " -noNewline + WriteValueInRange $load "%" 0 0 90 100 + Write-Host "`n* PROC " -noNewline WriteValueInRange $numProcesses "" 0 10 900 1000 - Write-Host "`n* UPTIME " -noNewline + Write-Host "`n* DISK " -noNewline + WriteValueInRange $DiskUse "GB" 0 0 $DiskSize $DiskSize + Write-Host "`n* UP " -noNewline WriteValueInRange $numDaysUp " days" 0 0 900 1000 From 0e4742351490eeeade0c701e26277152ca96722c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 4 Dec 2024 07:47:02 +0100 Subject: [PATCH 091/737] Updated watch-host.ps1 --- scripts/watch-host.ps1 | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/scripts/watch-host.ps1 b/scripts/watch-host.ps1 index df6915295..cab80db8c 100644 --- a/scripts/watch-host.ps1 +++ b/scripts/watch-host.ps1 @@ -15,7 +15,7 @@ #> function GetCPUTemperature { - $temp = 99999.9 # unsupported + $temp = -300 # unsupported if ($IsLinux) { if (Test-Path "/sys/class/thermal/thermal_zone0/temp" -pathType leaf) { [int]$IntTemp = Get-Content "/sys/class/thermal/thermal_zone0/temp" @@ -68,7 +68,9 @@ function WriteValueInRange([float]$value, [string]$unit, [float]$redMin, [float] try { do { [int]$Time = Get-Date -format "HHmm" + [int]$TimeZone = Get-Date -format "zz" $CPUtemp = GetCPUTemperature + $numCores = $env:NUMBER_OF_PROCESSORS $numProcesses = (Get-Process).Count $load = "{0}" -f $(Get-WmiObject Win32_Processor | Measure-Object -Property LoadPercentage -Average | Select-Object -ExpandProperty Average) $DriveDetails = Get-PSDrive C @@ -77,10 +79,18 @@ try { $numDaysUp = GetUptime Clear-Host + Write-Host "Host $env:COMPUTERNAME" + Write-Host "==================" Write-Host "`n* TIME " -noNewline WriteValueInRange $Time "" 0 0 2400 2400 + Write-Host "`n* ZONE " -noNewline + WriteValueInRange $TimeZone "" -23 -23 23 23 + if ($CPUtemp -ne -300) { + Write-Host "`n* CPU " -noNewline + WriteValueInRange $CPUtemp "°C" 0 10 80 100 + } Write-Host "`n* CPU " -noNewline - WriteValueInRange $CPUtemp "°C" 0 10 80 100 + WriteValueInRange $numCores " cores" 0 0 100 100 Write-Host "`n* LOAD " -noNewline WriteValueInRange $load "%" 0 0 90 100 Write-Host "`n* PROC " -noNewline @@ -91,7 +101,7 @@ try { WriteValueInRange $numDaysUp " days" 0 0 900 1000 - Start-Sleep -milliseconds 1000 + Start-Sleep -milliseconds 5000 } while ($true) } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 7e774853fc795d458a0738b00c03ec1adb7073f6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 4 Dec 2024 11:24:21 +0100 Subject: [PATCH 092/737] Updated ping-host.ps1 --- scripts/ping-host.ps1 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index e03732951..dd9d13ec1 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -4,33 +4,33 @@ .DESCRIPTION This PowerShell script pings the given host. .PARAMETER hostname - Specifies the hostname or IP address to ping (windows.com by default) + Specifies the hostname or IP address to ping (x.com by default) .EXAMPLE PS> ./ping-host.ps1 x.com - ✅ x.com is up and running (11ms latency). + ✅ Host 'x.com' is up with 23ms ping latency. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$hostname = "windows.com") +param([string]$hostname = "x.com") function GetPingLatency([string]$hostname) { $hostsArray = $hostname.Split(",") - $tasks = $hostsArray | foreach { (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,1500) } + $tasks = $hostsArray | foreach { (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,3000) } [Threading.Tasks.Task]::WaitAll($tasks) foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { return $ping.RoundtripTime } } - return 1500 + return -1 } try { [int]$latency = GetPingLatency($hostname) - if ($latency -eq 1500) { + if ($latency -lt 0) { Write-Host "⚠️ Host '$hostname' doesn't respond - check the connection or maybe the host is down." exit 1 } - Write-Host "✅ $hostname is up and running ($($latency)ms latency)." + Write-Host "✅ Host '$hostname' is up with $($latency)ms ping latency." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 36083d8eb324fd535ab4e50fde96cc77bb344166 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 4 Dec 2024 11:30:18 +0100 Subject: [PATCH 093/737] Updated install-updates.ps1 --- scripts/install-updates.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install-updates.ps1 b/scripts/install-updates.ps1 index 570a95cbc..7f02f43b0 100755 --- a/scripts/install-updates.ps1 +++ b/scripts/install-updates.ps1 @@ -3,10 +3,10 @@ Installs software updates .DESCRIPTION This PowerShell script installs software updates for the local machine (might need admin rights). - NOTE: Use the script 'list-updates.ps1' to list the latest software updates before. + HINT: Use the script 'list-updates.ps1' to list the latest software updates in advance. .EXAMPLE PS> ./install-updates.ps1 - ⏳ (1/2) Checking requirements... + ⏳ (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 @@ -23,7 +23,7 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() if ($IsLinux) { - "⏳ (1/5) Checking requirements..." + "⏳ (1/5) Checking update requirements..." & "$PSScriptRoot/check-smart-devices.ps1" & "$PSScriptRoot/check-drive-space.ps1" / & "$PSScriptRoot/check-swap-space.ps1" @@ -47,14 +47,14 @@ try { Write-Progress -completed " " } else { # Windows: - "⏳ (1/2) Checking requirements..." + "⏳ (1/2) Checking update requirements..." & "$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/2) Installing updates from winget and Microsoft Store..." + "⏳ (2/2) Installing updates from winget..." "" & winget upgrade --all --source=winget # & winget upgrade --all --source=msstore # does not work From 8b3715935dde9621ec1ff92b62fdd3ade56a333c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 4 Dec 2024 12:00:15 +0100 Subject: [PATCH 094/737] Updated watch-host.ps1 --- scripts/watch-host.ps1 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/scripts/watch-host.ps1 b/scripts/watch-host.ps1 index cab80db8c..229738698 100644 --- a/scripts/watch-host.ps1 +++ b/scripts/watch-host.ps1 @@ -67,6 +67,7 @@ function WriteValueInRange([float]$value, [string]$unit, [float]$redMin, [float] try { do { + [int]$DayOfYear = (Get-Date).DayofYear [int]$Time = Get-Date -format "HHmm" [int]$TimeZone = Get-Date -format "zz" $CPUtemp = GetCPUTemperature @@ -78,9 +79,25 @@ try { $DiskSize = [math]::round(($DriveDetails.Used + $DriveDetails.Free) / 1GB) $numDaysUp = GetUptime + if ($IsLinux) { + $result = $(free --mega | grep Swap:) + [int64]$total = $result.subString(5,14) + [int64]$used = $result.substring(20,13) + } else { + $items = Get-WmiObject -class "Win32_PageFileUsage" -namespace "root\CIMV2" -computername localhost + [int64]$total = [int64]$used = 0 + foreach ($item in $items) { + $total += $item.AllocatedBaseSize + $used += $item.CurrentUsage + + } + } + Clear-Host Write-Host "Host $env:COMPUTERNAME" Write-Host "==================" + Write-Host "`n* DATE " -noNewline + WriteValueInRange $DayOfYear "" 0 0 366 366 Write-Host "`n* TIME " -noNewline WriteValueInRange $Time "" 0 0 2400 2400 Write-Host "`n* ZONE " -noNewline @@ -95,6 +112,8 @@ try { WriteValueInRange $load "%" 0 0 90 100 Write-Host "`n* PROC " -noNewline WriteValueInRange $numProcesses "" 0 10 900 1000 + Write-Host "`n* SWAP " -noNewline + WriteValueInRange $used "GB" 0 0 $total $total Write-Host "`n* DISK " -noNewline WriteValueInRange $DiskUse "GB" 0 0 $DiskSize $DiskSize Write-Host "`n* UP " -noNewline From 15a764c5a538c0840879ea09f8bc58ffedb21a02 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 4 Dec 2024 16:36:01 +0100 Subject: [PATCH 095/737] Updated watch-host.ps1 --- scripts/watch-host.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/watch-host.ps1 b/scripts/watch-host.ps1 index 229738698..bbd316766 100644 --- a/scripts/watch-host.ps1 +++ b/scripts/watch-host.ps1 @@ -113,11 +113,11 @@ try { Write-Host "`n* PROC " -noNewline WriteValueInRange $numProcesses "" 0 10 900 1000 Write-Host "`n* SWAP " -noNewline - WriteValueInRange $used "GB" 0 0 $total $total + WriteValueInRange $used "GB" 0 0 ($total - 1) $total Write-Host "`n* DISK " -noNewline - WriteValueInRange $DiskUse "GB" 0 0 $DiskSize $DiskSize + WriteValueInRange $DiskUse "GB" 0 0 ($DiskSize - 5) $DiskSize Write-Host "`n* UP " -noNewline - WriteValueInRange $numDaysUp " days" 0 0 900 1000 + WriteValueInRange $numDaysUp " days" 0 0 1000 1000 Start-Sleep -milliseconds 5000 From 9975e36aba649ba44d9da71f8ca69af838b7fa51 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 7 Dec 2024 11:13:28 +0100 Subject: [PATCH 096/737] Updated ping-local-devices.ps1 --- scripts/ping-local-devices.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ping-local-devices.ps1 b/scripts/ping-local-devices.ps1 index e91441bb5..9ed6d1109 100755 --- a/scripts/ping-local-devices.ps1 +++ b/scripts/ping-local-devices.ps1 @@ -16,7 +16,7 @@ param([int]$timeout = 600) # ms ping timeout try { - $names = @('accesspoint','AD','AP','amnesiac','archlinux','auriga','berlin','boston','brother','canon','castor','cisco','echodot','epson','epson2815','fedora','fireball','firewall','fritz.box','fritz.nas','fritz.powerline','fritz.repeater','gassensor','gateway','hippo','heizung','hodor','homemanager','io','iphone','jarvis','jenkins','LA','laptop','linux','jupiter','mars','mercury','miami','mobile','none','none-1','none-2','NY','o2.lte','octo','office','officepc','paris','PI','pixel-6a','PC','pluto','printer','proxy','R2D2','raspberry','raspi','rocket','rome','router','sentinel','server','shelly','shelly1','smartphone','smartwatch','soundbar','speedport.ip','sunnyboy','surface','switch','tablet','tau','tigercat','tolino','tux','TV','ubuntu','vega','venus','xrx','zeus') # sorted alphabetically + $names = @('accesspoint','AD','AP','amnesiac','archlinux','auriga','berlin','berry','boston','brother','canon','castor','cisco','echodot','epson','epson2815','fedora','fireball','firewall','fritz.box','fritz.nas','fritz.powerline','fritz.repeater','gassensor','gateway','hippo','heizung','hodor','homemanager','io','iphone','jarvis','jenkins','LA','laptop','linux','jupiter','mars','mercury','miami','mobile','none','none-1','none-2','NY','o2.lte','octo','office','officepc','paris','PI','pixel-6a','PC','pluto','printer','proxy','R2D2','raspberry','raspi','rocket','rome','router','sentinel','server','shelly','shelly1','smartphone','smartwatch','soundbar','speedport.ip','sunnyboy','surface','switch','tablet','tau','tigercat','tolino','tux','TV','ubuntu','vega','venus','xrx','zeus') # sorted alphabetically $queue = [System.Collections.Queue]::new() foreach($name in $names) { $ping = [System.Net.Networkinformation.Ping]::new() $queue.Enqueue( @{Host=$name;Ping=$ping;Async=$ping.SendPingAsync($name,$timeout)} ) From 28c533d906147bba76e458fbd177889deca6b7d2 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 7 Dec 2024 15:09:54 +0100 Subject: [PATCH 097/737] Updated ping-host.ps1 --- scripts/ping-host.ps1 | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index dd9d13ec1..4f7ddcd9f 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -7,7 +7,7 @@ Specifies the hostname or IP address to ping (x.com by default) .EXAMPLE PS> ./ping-host.ps1 x.com - ✅ Host 'x.com' is up with 23ms ping latency. + ✅ Host 'x.com' is UP (20ms latency to IP 104.244.42.65). .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -16,22 +16,18 @@ param([string]$hostname = "x.com") -function GetPingLatency([string]$hostname) { - $hostsArray = $hostname.Split(",") - $tasks = $hostsArray | foreach { (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,3000) } - [Threading.Tasks.Task]::WaitAll($tasks) - foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { return $ping.RoundtripTime } } - return -1 -} - try { - [int]$latency = GetPingLatency($hostname) - if ($latency -lt 0) { - Write-Host "⚠️ Host '$hostname' doesn't respond - check the connection or maybe the host is down." - exit 1 - } - Write-Host "✅ Host '$hostname' is up with $($latency)ms ping latency." - exit 0 # success + $remoteHosts = $hostname.Split(",") + $tasks = $remoteHosts | foreach { (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,3000) } + [Threading.Tasks.Task]::WaitAll($tasks) + foreach($ping in $tasks.Result) { + if ($ping.Status -eq "Success") { + Write-Host "✅ Host '$hostname' is UP ($($ping.RoundtripTime)ms latency to IP $($ping.Address))." + exit 0 # success + } + } + Write-Host "⚠️ Host '$hostname' doesn't respond - check the connection or maybe the host is down (yet)." + exit 1 } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 From 98446c5cadd482895dc6cfc0651fce6a42ca033e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 9 Dec 2024 08:35:55 +0100 Subject: [PATCH 098/737] Updated aviation.csv --- data/dicts/aviation.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index c2f66f0d7..a8946331b 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -548,6 +548,7 @@ TRA,Temporary Reserved Area TRACON,Terminal Radar Approach Control TRH,Thrust Reduction Height TSA,Temporary Segregated Area +TSAT,Target Startup Approval Time TSO,Technical Standard Order TSTC,Texas State Technical College TT,True Track From 9063f34652a6f11d0d90a4d018cafca9000232d6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 10 Dec 2024 10:58:25 +0100 Subject: [PATCH 099/737] Updated aviation.csv --- data/dicts/aviation.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index a8946331b..9daad6846 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -441,6 +441,7 @@ RSC,Runway Surface Condition RSI,Remote Status Indicator RSO,Range Safety Officer RSRS,Reduced Same Runway Separation +RSU,Runway Supervisory Unit RTAF,Royal Thai Air Force RTCA,Radio Technical Commission for Aeronautics RTF,Radio Telephony From 1aca3e811a748161b8a9cd57f7af1544ecd3c0af Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 11 Dec 2024 08:19:59 +0100 Subject: [PATCH 100/737] Updated cd-repo.ps1 and clean-repo.ps1 --- scripts/cd-repo.ps1 | 5 +++-- scripts/clean-repo.ps1 | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/cd-repo.ps1 b/scripts/cd-repo.ps1 index 942110f94..065dc9ce1 100755 --- a/scripts/cd-repo.ps1 +++ b/scripts/cd-repo.ps1 @@ -7,7 +7,8 @@ Specifies the folder name of the Git repository .EXAMPLE PS> ./cd-repo.ps1 rust - 📂C:\Repos\rust · on branch: ## main ... origin/main + 📂C:\Repos\rust + 🌿on branch: ## main ... origin/main .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -38,7 +39,7 @@ try { $path = Resolve-Path "$path" Set-Location "$path" - Write-Host "📂$path · on branch: " -noNewline + Write-Host "📂$path`n🌿on branch: " -noNewline & git status --short --branch --show-stash exit 0 # success } catch { diff --git a/scripts/clean-repo.ps1 b/scripts/clean-repo.ps1 index 15b55618f..11fbaf70d 100755 --- a/scripts/clean-repo.ps1 +++ b/scripts/clean-repo.ps1 @@ -12,7 +12,7 @@ ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Removing untracked files in repository... ⏳ (4/4) Removing untracked files in submodules... - ✅ Repo 📂rust successfully cleaned up in 2s. + ✅ Cleaned up repo 📂rust in 2s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -45,7 +45,7 @@ try { if ($lastExitCode -ne "0") { throw "'git clean' in the submodules failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Repo 📂$repoName successfully cleaned up in $($elapsed)s." + "✅ Cleaned up repo 📂$repoName in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 754856e667b2db080f29dc0dc974c682625a78c9 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 11 Dec 2024 11:44:52 +0100 Subject: [PATCH 101/737] Updated list-earthquakes.ps1 --- scripts/list-earthquakes.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/list-earthquakes.ps1 b/scripts/list-earthquakes.ps1 index 45e107ad7..274ff01f0 100755 --- a/scripts/list-earthquakes.ps1 +++ b/scripts/list-earthquakes.ps1 @@ -8,7 +8,7 @@ .EXAMPLE PS> ./list-earthquakes.ps1 - Mag Location Depth Time UTC + MAG LOCATION DEPTH TIME UTC --- -------- ----- -------- 7.2 98 km S of Sand Point, Alaska 33 km 2023-07-16T06:48:22.606Z ... @@ -30,13 +30,13 @@ function ListEarthquakes { foreach($quake in $quakes) { [int]$depth = $quake.depth - New-Object PSObject -Property @{ Mag=$quake.mag; Depth="$depth km"; Location=$quake.place; 'Time UTC'=$quake.time } + New-Object PSObject -Property @{ MAG=$quake.mag; DEPTH="$depth km"; LOCATION=$quake.place; 'TIME UTC'=$quake.time } } } try { - ListEarthquakes | Format-Table -property @{e='Mag';width=5},@{e='Location';width=42},@{e='Depth';width=12},'Time UTC' + ListEarthquakes | Format-Table -property @{e='MAG';width=5},@{e='LOCATION';width=50},@{e='DEPTH';width=8},'TIME UTC' exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 36f9723a1d4ae4ae74e6c6c2338e0ff3feb2e55e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 11 Dec 2024 13:33:51 +0100 Subject: [PATCH 102/737] Updated check-smart-devices.ps1 --- scripts/check-smart-devices.ps1 | 35 +++++++++++++++++---------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/scripts/check-smart-devices.ps1 b/scripts/check-smart-devices.ps1 index c8005454c..8a717ce49 100755 --- a/scripts/check-smart-devices.ps1 +++ b/scripts/check-smart-devices.ps1 @@ -5,7 +5,7 @@ This PowerShell script queries the status of the SSD/HDD devices (supporting S.M.A.R.T.) and prints it. .EXAMPLE PS> ./check-smart-devices.ps1 - ✅ 1TB Samsung SSD 970 EVO via NVMe (37°C, 2388 hours, 289x on/off, v2B2QEXE7, test passed) + ✅ 1TB Samsung SSD 970 EVO 1TB via NVMe (35°C, 6142h, 34TB read, 64TB written, 770x on/off, v2B2QEXE7, test passed) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -29,18 +29,15 @@ function Bytes2String([int64]$bytes) { } try { - #Write-Progress "(1/3) Searching for smartmontools..." $result = (smartctl --version) if ($lastExitCode -ne "0") { throw "Can't execute 'smartctl' - make sure smartmontools are installed" } - #Write-Progress "(2/3) Scanning S.M.A.R.T devices..." if ($IsLinux) { $devices = $(sudo smartctl --scan-open) } else { $devices = $(smartctl --scan-open) } - #Write-Progress "Querying S.M.A.R.T devices..." foreach($device in $devices) { $array = $device.split(" ") $dev = $array[0] @@ -62,37 +59,41 @@ try { } else { $capacity = "" } + $infos = "" if ($details.temperature.current -gt 50) { - $temp = "$($details.temperature.current)°C TOO HOT" + $infos = "$($details.temperature.current)°C TOO HOT" $status = "⚠️" } elseif ($details.temperature.current -lt 0) { - $temp = "$($details.temperature.current)°C TOO COLD" + $infos = "$($details.temperature.current)°C TOO COLD" $status = "⚠️" } else { - $temp = "$($details.temperature.current)°C" + $infos = "$($details.temperature.current)°C" } if ($details.power_on_time.hours -gt 87600) { # 10 years - $hours = "$($details.power_on_time.hours) hours (!)" + $infos += ", $($details.power_on_time.hours)h (!)" $status = "⚠️" } else { - $hours = "$($details.power_on_time.hours) hours" + $infos += ", $($details.power_on_time.hours)h" + } + if ($details.nvme_smart_health_information_log.host_reads) { + $infos += ", $(Bytes2String ($details.nvme_smart_health_information_log.data_units_read * 512 * 1000)) read" + $infos += ", $(Bytes2String ($details.nvme_smart_health_information_log.data_units_written * 512 * 1000)) written" } if ($details.power_cycle_count -gt 100000) { - $powerOn = "$($details.power_cycle_count)x on/off (!)" + $infos += ", $($details.power_cycle_count)x on/off (!)" $status = "⚠️" } else { - $powerOn = "$($details.power_cycle_count)x on/off" - } + $infos += ", $($details.power_cycle_count)x on/off" + } + $infos += ", v$($details.firmware_version)" if ($details.smart_status.passed) { - $selftest = "test passed" + $infos += ", test passed" } else { - $selftest = "test FAILED" + $infos += ", test FAILED" $status = "⚠️" } - $firmwareVersion = $details.firmware_version - Write-Host "$status $capacity$modelName via $protocol ($temp, $hours, $powerOn, v$firmwareVersion, $selftest)" + Write-Host "$status $capacity$modelName via $protocol ($infos)" } - #Write-Progress -completed "Done." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 1081db300f5520c1ac8ae86a4b591250bbad5235 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 12 Dec 2024 09:06:30 +0100 Subject: [PATCH 103/737] Updated some scripts --- scripts/check-network.ps1 | 2 +- scripts/list-network-shares.ps1 | 4 ++-- scripts/ping-internet.ps1 | 9 ++------- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/scripts/check-network.ps1 b/scripts/check-network.ps1 index abfa52f54..99a167b21 100755 --- a/scripts/check-network.ps1 +++ b/scripts/check-network.ps1 @@ -18,8 +18,8 @@ Write-Host "`n N E T W O R K" -foregroundColor green & "$PSScriptRoot/check-firewall" & "$PSScriptRoot/list-local-ip.ps1" -& "$PSScriptRoot/list-network-shares.ps1" & "$PSScriptRoot/ping-local-devices.ps1" +& "$PSScriptRoot/list-network-shares.ps1" & "$PSScriptRoot/check-vpn.ps1" & "$PSScriptRoot/list-internet-ip.ps1" & "$PSScriptRoot/ping-internet.ps1" diff --git a/scripts/list-network-shares.ps1 b/scripts/list-network-shares.ps1 index 4945d4911..8ffdf2902 100755 --- a/scripts/list-network-shares.ps1 +++ b/scripts/list-network-shares.ps1 @@ -5,7 +5,7 @@ This PowerShell script lists all network shares (aka "shared folders") of the local computer. .EXAMPLE PS> ./list-network-shares.ps1 - ✅ Network share \\LAPTOP\Public -> D:\Public ("Public folder for file transfer") + ✅ Shared folder \\LAPTOP\Public -> D:\Public ("Public folder for file transfer") .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,7 +18,7 @@ try { } else { $shares = Get-WmiObject win32_share | where {$_.name -NotLike "*$"} foreach ($share in $shares) { - Write-Output "✅ Network share \\$(hostname)\$($share.Name) -> $($share.Path) (`"$($share.Description)`")" + Write-Output "✅ Shared folder \\$(hostname)\$($share.Name) -> $($share.Path) (`"$($share.Description)`")" } } exit 0 # success diff --git a/scripts/ping-internet.ps1 b/scripts/ping-internet.ps1 index 9d48069f2..2d02756be 100755 --- a/scripts/ping-internet.ps1 +++ b/scripts/ping-internet.ps1 @@ -7,7 +7,7 @@ Specifies the hosts to ping, seperated by commata (10 Internet servers by default) .EXAMPLE PS> ./ping-internet.ps1 - ✅ Internet ping takes 12ms (9...18ms range) + ✅ Internet ping: 12ms (9...18ms range) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -39,12 +39,7 @@ try { Write-Host "✅ Online with $loss/$total ping loss and $($min)...$($max)ms latency - $($speed)ms average" } else { [float]$speed = [math]::round([float]$avg / [float]$success, 1) - if ($speed -lt 20.0) { $result = "excellent" - } elseif ($speed -lt 50.0) { $result = "good" - } elseif ($speed -lt 100.0) { $result = "average" - } elseif ($speed -lt 150.0) { $result = "okay" - } else { $result = "laggy" } - Write-Host "✅ Internet ping is $($result): $($speed)ms ($($min)-$($max)ms range)" + Write-Host "✅ Internet ping: $($speed)ms ($min...$($max)ms range)" } exit 0 # success } catch { From 2e941ce36e8fd73e50caba8607fa64dcc2aa5325 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 12 Dec 2024 11:57:46 +0100 Subject: [PATCH 104/737] Updated some abbreviations --- data/dicts/aviation.csv | 2 + data/dicts/chemistry.csv | 156 +++++++++++---------------------------- 2 files changed, 46 insertions(+), 112 deletions(-) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index 9daad6846..55401e9e6 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -378,11 +378,13 @@ OCTA,Outside Control Areas OEI,One Engine Inoperative ODP,Obstacle Departure Procedure OGE,Out of Ground Effect +OID,Operational Instrument Departure OFZ,Obstacle Free Zone OJT,On the Job Training OODA,"Observation, Orientation, Decision, and Action" ORCAM,Originating Region Code Assignment Method OSC,On Scene Commander +OWE,Operational Weight Empty PA,Pressure Altitude PADS,Parallax Aircraft Docking System PANSA,Polish Air Navigation Services Agency diff --git a/data/dicts/chemistry.csv b/data/dicts/chemistry.csv index 22c8dc4fc..f3b20f1b6 100644 --- a/data/dicts/chemistry.csv +++ b/data/dicts/chemistry.csv @@ -8,8 +8,7 @@ AACC,American Association for Clinical Chemistry AADC,Amino Acid DeCarboxylase AADC,Aromatic L-Amino acid DeCarboxylase AAS,Atomic Absorption Spectroscopy -AB,Acid Base -AB,Acid Bath +AB,"Acid Base, Acid Bath" ABCC,Advanced Biomedical Computing Center ABCC,American Board of Clinical Chemistry ABS,"Absorb, Acrylonitrile Butadiene Styrene" @@ -734,8 +733,7 @@ OV,Organic Vapor OVA,Organic Vapor Analyser OVA,OVAlbumin OWC,Oil-Water Contact -OX,Oxidation -OX,oxygen +OX,"Oxidation, Oxygen" OXA,OXanilic Acid OXT,OXyTocin OXY,Oxygen @@ -743,17 +741,14 @@ p+,Proton P,Peta prefix (1015) P,Phosphorus p,pico prefix (10-12) -P,Pressure -P,Proton +P,"Pressure, Proton" Pa,Pascal PA,Phosphatidic Acid Pa,Protactinium PA,Proton Affinity PAA,PolyAcrylic Acid PABA,ParaAminoBenzoic Acid -PAC,Pharmaceutically Active Compound -PAC,Polycyclic Aromatic Content -PAC,Powdered Activated Carbon +PAC,"Pharmaceutically Active Compound, Polycyclic Aromatic Content, Powdered Activated Carbon" PAEK,PolyArylEtherKetone PAGE,PolyAcrylamide Gel Electrophoresis PAH,Polycyclic Aromatic Hydrocarbon @@ -768,19 +763,15 @@ PBI,PolyBenzImidazole PBN,PolyButylene Naphthalate PBS,Phosphate Buffered Saline PBT,PolyButylene Terephthalate -PC,PolyCarbonate -PC,Pyruvate Carboxylase +PC,"PolyCarbonate, Pyruvate Carboxylase" PCA,Pyrrolidone Carboxylic Acid PCC,Pyridine Chloro Chromate PCE,Tetrachloroethylene PCR,Polymerase Chain Reaction PCV,Pressure Control Valve Pd,Palladium -PD,Positive Displacement -PD,Potential Difference -PE,PhycoErythrin -PE,Polyethylene -PE,Potential Energy +PD,"Positive Displacement, Potential Difference" +PE,"PhycoErythrin, Polyethylene, Potential Energy" PEA,PolyEster Amine PEEK,PolyEtherEtherKetone PEG,PolyEthylene Glycol @@ -806,17 +797,14 @@ PHB,PolyHydroxyButyrate PHC,Petroleum HydroCarbon PHMB,PolyHexaMethyleneBiguanide PHT,PHThalate -PI,Phosphate Ion -PI,PolyImide +PI,"Phosphate Ion, PolyImide" PIB,PolyIsoButylene pK,measurement of the dissociation constant PLA,Polymerized Lactic Acid PLC,PhosphoLipase-C -PM,Particulate Matter -PM,Photo Multiplier +PM,"Particulate Matter, Photo Multiplier" pm,picometer -PM,Plasma Membrane -PM,Powder Metallurgy +PM,"Plasma Membrane, Powder Metallurgy" Pm,Promethium PM10,Particulates smaller than 10 μm. PM3,Parameterized Model number 3 @@ -833,15 +821,12 @@ pOH,measurement of OH- ions in aqueous solution POL,"Petroleum, Oils, and Lubricants" POP,Persistent Organic Pollutant PORC,Porcelain -PPA,PhenylPropanolAmine -PPA,PolyPhthalAmide +PPA,"PhenylPropanolAmine, PolyPhthalAmide" ppb,Parts per billion ppm,Parts per million PPO,PolyPhenylene Oxide PPS,PolyPhenylene Sulfide -PPT,Parts Per Trillion -PPT,PolyPyrimidine Tract -PPT,Precipitate +PPT,"Parts Per Trillion, PolyPyrimidine Tract, Precipitate" Pr,Praseodymium PRV,Pressure Relief Valve PSI,Pounds per Square Inch @@ -850,8 +835,7 @@ Pt,Platinum PTFE,PolyTetraFluoroEthylene Pu,Plutonium PU,PolyUrethane -PV,Parity Violation -PV,Pressure Volume +PV,"Parity Violation, Pressure Volume" PVC,PolyVinyl Chloride PVT,"Pressure, Volume, Temperature" PXY,Para-XYlene @@ -859,11 +843,9 @@ Q,Heat energy QA,Quinolinic Acid QC,Quality Control QCD,Quantum ChromoDynamics -QED,Quantum ElectroDynamics -QED,Quod Erat Demonstradum (Latin for “which was to be demonstrated”) +QED,"Quantum ElectroDynamics, Quod Erat Demonstradum (Latin for “which was to be demonstrated”)" QM,Quantum Mechanics -QS,Quantum State -QS,Quantum Sufficit (Latin for “as much as needed”) +QS,"Quantum State, Quantum Sufficit (Latin for “as much as needed”)" qt,quart QW,Quit Whining QY,Quantum Yield @@ -888,8 +870,7 @@ RBD,"Refined, Bleached and Deodorized" RCS,Reactive Chemical Species RDA,Recommended Daily Allowance RDT,Recombinant DNA Technology -RDX,cyclotrimethylenetrinitramine -RDX,Research Department Explosive +RDX,"cyclotrimethylenetrinitramine, Research Department Explosive" RE,Rare Earth Re,Rhenium REACH,"Registration, Evaluation, Authorization, and restriction of CHemical substances" @@ -899,8 +880,7 @@ rem,"Radiation Equivalent, Man" REM,Rare Earth Metal REQ,Required RER,Respiratory Exchange Ratio -RF,Radio Frequency -RF,Resonance Frequency +RF,"Radio Frequency, Resonance Frequency" Rf,Rutherfordium RFIC,Reagent-Free Ion Chromatography RFM,Relative Formula Mass @@ -927,9 +907,7 @@ ROS,Reactive Oxygen Species ROWPU,Reverse Osmosis Water Purification Unit RPT,Repeat RSC,Royal Society of Chemistry -RT,Energy (Rydberg Constant x Temperature) -RT,Reverse Transcriptase -RT,Room Temperature +RT,"Energy (Rydberg Constant x Temperature), Reverse Transcriptase, Room Temperature" RTM,Read The Manual RTP,Room Temperature and Pressure RTSC,Room Temperature Super Conductor @@ -977,18 +955,16 @@ Se,Selenium Sec,Seconds SEP,Separate SEU,Slightly Enriched Uranium -SF,Safety Factor -SF,Significant Figures +SF,"Safety Factor, Significant Figures" SFC,Supercritical Fluid Chromatography SFPM,Suspended Fine Particulate Matter Sg,Seaborgium -SG,Specific Gravity -SG,Spheroidal Graphite +SG,"Specific Gravity, Spheroidal Graphite" SH,Thiol functional group SHC,Synthetic HydroCarbon SHE,Standard Hydrogen Electrode SHF,Super High Frequency -SI units,Système international d’unités (International System of Units) +SI,"Système international d’unités (International System of Units)" Si,Silicon SL,Sea Level SL,Short Lived @@ -1028,8 +1004,7 @@ TAC,Teiacetyl Cellulose TAG,TriAcylGlyceride tan,tangent TAN,Total Acid Number -TAS,Total Alkali versus Silica -TAS,Total Analysis System +TAS,"Total Alkali versus Silica, Total Analysis System" TAT,TriAcetone TriPeroxide Tb,Terbium TBA,"2,4,6-TriBromoAnisole" @@ -1038,22 +1013,15 @@ TBC,4-TertButylCatechol TBHQ,TertButylHydroQuinone TBP,True Boiling Point TBT,TriButylTin -Tc,Critical Temperature -Tc,Technitium -TC,Temperature Compensated -TC,Temperature Controlled -TC,Theoretical Chemistry +Tc,"Critical Temperature, Technitium" +TC,"Temperature Compensated, Temperature Controlled, Theoretical Chemistry" TCA,TauroCholic Acid TCA,TCA cycle (citric acid cycle) TCA,TriChloroAcetic Acid TCE,TriChloroEthane TCF,ThiolCarbon Fiber TCM,TetraChloromethane -TCP,"1,2,3-TriChloropropane" -TCP,Thermal Conversion Process -TCP,Tocopherol -TCP,TriCalcium Phosphate -TCP,TriChloroPhenol +TCP,"1,2,3-TriChloropropane, Thermal Conversion Process, Tocopherol, TriCalcium Phosphate, TriChloroPhenol" TCS,Toxic Chemical System TCT,ToCoTrienol TCV,Temperature Control Valve @@ -1100,8 +1068,7 @@ TOC,Total Organic Carbon TOI,Table Of Isotopes TON,Table Of Nuclides TOX,Toxic -TP,Transition Point -TP,Triple Point +TP,"Transition Point, Triple Point" TPE,ThermoPlastic Elastomer TPM,Total Particulate Matter TR,Table Row @@ -1125,16 +1092,13 @@ TTX,Tetrodotoxin TU,Thermally Unbound TWMC,Time Weighted Mean Concentration TWV,Total Water Vapor -U,Internal Energy -U,Undetectable -U,Uranium +U,"Internal Energy, Undetectable, Uranium" UAFM,Uranyl Acetate Fluorescence Method UCK,Universal Chemical Key UG,"Undisturbed Gas UHC,Unburned HydroCarbons" UHF,Ultra High Frequency UHMW,Ultra High Molecular Weight -UHP,Ultra High Pressure -UHP,Ultra High Purity +UHP,"Ultra High Pressure, Ultra High Purity" UHT,Ultra High Temperature UHV,Ultra High Vacuum ULG,Universal Liquid Gas @@ -1162,38 +1126,27 @@ UVL,UltraViolet Lamp UVR,UltraViolet Reactive UXS,Glucuronic Acid DeCarboxylase UYQ,Uranium Yield Quantity -V,Vacuum -V,Valene -V,Vanadium +V,"Vacuum, Valene, Vanadium, Volt, Volume" v,velocity -V,Volt -V,Volume -VA,Nitrogen group -VA,Volume Analyzer -VAC,Vacuum -VAC,Vacuum Assisted Closure -VB,Vacuum Break -VB,Valence Band +VA,"Nitrogen group, Volume Analyzer" +VAC,"Vacuum, Vacuum Assisted Closure" +VB,"Vacuum Break, Valence Band" VBJ,Vacuum Bell Jar VBT,Valence Bond Theory -VC,Vapor Cloud -VC,Vinyl Chloride -VC,Viscous Coupled +VC,"Vapor Cloud, Vinyl Chloride, Viscous Coupled" VCE,Vapor Cloud Explosion VCM,Vinyl Chloride Monomer Vd,Volume distribution VDB,VanDyke Brown test VDF,Van der Waals force VDW,Van der Waals radius -VEQ,EQuilibrium Volume -VEQ,EQuivalence point Volume +VEQ,"EQuilibrium Volume, EQuivalence point Volume" VFn,Vertical Face number (n is a number) VH,Vapor Hazard VHH,Volatile Halogenated Hydrocarbon VHI,Vapor Hazard Index VHN,Vickers Hardness Number -VHP,Vaporized Hydrogen Peroxide -VHP,Very High Pressure +VHP,"Vaporized Hydrogen Peroxide, Very High Pressure" VHT,Very High Temperature VHY,Very High Yield VI,Viscosity Index @@ -1204,8 +1157,7 @@ VO,Vacuum Oven VOA,Volatile Organic Analysis VOC,Volatile Organic Compound VOL,Volume -VP,Vapor Point -VP,Vapor Pressure +VP,"Vapor Point, Vapor Pressure" VPE,Virtual Potential Energy VR,Very Rapid VS,Very Saturated @@ -1215,28 +1167,17 @@ VSS,Volatile Suspended Solid VTC,Variable Temperature Cutoff VTP,"Volume, Temperature, Pressure" VU,Volume Units -VV,Vacuum Vessel -VV,Valence-Valence +VV,"Vacuum Vessel, Valence-Valence" VW,Varies Widely -W,Tryptofan -W,Tungsten -W,Watt -W,wavelength -W,Weight -W,width -W,Work +W,"Tryptofan, Tungsten, Watt, wavelength, Weight, width, Work" W5,Which Was What We Wanted WA,Weak Acid WAC,Weak Acid Cation -WB,Water Based -WB,Weak Base -WB,Weak Bond +WB,"Water Based, Weak Base, Weak Bond" WBA,Weak Base Anion WC,Water Cosolvent WCS,Worst Case Scenario -WD,Water Dispersant -WD,Water Displacement -WD,Wet/Dry +WD,"Water Dispersant, Water Displacement, Wet/Dry" WIAP,Water In All Phases WIN,Water Insoluble Nitrogen WNA,World Nuclear Association @@ -1244,8 +1185,7 @@ WO,Weak Oxidizer WP,White Phosphorus WPS,Water Phase Salt WR,Water Repellent -WS,Wash Solution -WS,Water Soluble +WS,"Wash Solution, Water Soluble" WSNZ,Water Soluble Zinc WSPI,"Water-Soluble Phosphorous, Inorganic" WSPO,"Water-Soluble Phosphorous, Organic" @@ -1262,8 +1202,7 @@ WWIX,Waste Water Ion eXchange WYOL,Write Your Own Lab WYOLA,Write Your Own Lab Assignment WYU,What You Use -X,Halogen -X,unknown +X,"Halogen, unknown" XAG,Silver Troy Ounce XAN,XANthine XAU,Gold Troy Ounce @@ -1275,10 +1214,8 @@ XPD,Palladium Troy Ounce XPT,Platinum Troy Ounce XUM,X-ray Ultra-Microscope XYD,XYliDine -Y,Tyrosine +Y,"Tyrosine, Yotta prefix (1024), Yttrium" y,yocto prefix (10-24) -Y,Yotta prefix (1024) -Y,Yttrium YA,Yield Analysis YAG,Yttrium Aluminum Garnet YAP,Yield Analysis Pattern @@ -1290,13 +1227,8 @@ Yd,Yard YIC,Yttrium Lithium Fluoride Yr,Year YZN,Yellow ZiNc dichromate -Z,Atomic Number -Z,azimuth -Z,Impedance -Z,proton number +Z,"Atomic Number, azimuth, Impedance, proton number, zero, Zetta prefix (1021)" z,zepto prefix (10-21) -Z,zero -Z,Zetta prefix (1021) ZB,Zinc Blende ZC,Zero Calibration ZC,Zinc Composite From dca5793418709db075aac5cb5b279a44d45f3ab1 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 12 Dec 2024 13:41:31 +0100 Subject: [PATCH 105/737] Updated write-changelog.ps1 --- scripts/write-changelog.ps1 | 51 ++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/scripts/write-changelog.ps1 b/scripts/write-changelog.ps1 index a099bd4dd..7e2e7f41c 100755 --- a/scripts/write-changelog.ps1 +++ b/scripts/write-changelog.ps1 @@ -9,8 +9,8 @@ .EXAMPLE PS> ./write-changelog.ps1 - Changelog of PowerShell - ======================= + Changelog of Repo 'PowerShell' + ============================== ... .LINK https://github.com/fleschutz/PowerShell @@ -40,25 +40,22 @@ try { Write-Progress "(5/6) Sorting the Git commit messages..." $new = @() - $fixes = @() - $updates = @() + $improved = @() + $fixed = @() $various = @() foreach($commit in $commits) { if ($commit -like "New*") { $new += $commit } elseif ($commit -like "Add*") { $new += $commit } elseif ($commit -like "Create*") { $new += $commit - } elseif ($commit -like "Fix*") { $fixes += $commit - } elseif ($commit -like "Hotfix*") { $fixes += $commit - } elseif ($commit -like "Bugfix*") { $fixes += $commit - } elseif ($commit -like "Update*") { $updates += $commit - } elseif ($commit -like "Updating*") { $updates += $commit - } elseif ($commit -like "Updaate*") { $updates += $commit - } elseif ($commit -like "Adapt*") { $updates += $commit - } elseif ($commit -like "Improve*") { $updates += $commit - } elseif ($commit -like "Change*") { $updates += $commit - } elseif ($commit -like "Changing*") { $updates += $commit - } else { - $various += $commit + } elseif ($commit -like "Upda*") { $improved += $commit + } elseif ($commit -like "Adapt*") { $improved += $commit + } elseif ($commit -like "Improve*") { $improved += $commit + } elseif ($commit -like "Change*") { $improved += $commit + } elseif ($commit -like "Changing*") { $improved += $commit + } elseif ($commit -like "Fix*") { $fixed += $commit + } elseif ($commit -like "Hotfix*") { $fixed += $commit + } elseif ($commit -like "Bugfix*") { $fixed += $commit + } else { $various += $commit } } Write-Progress "(6/6) Listing all contributors..." @@ -67,8 +64,8 @@ try { $Today = (Get-Date).ToShortDateString() Write-Output " " - Write-Output "Changelog of $RepoDirName as of $Today" - Write-Output "======================================" + Write-Output "Changelog of Repo '$RepoDirName'" + Write-Output "================================" Write-Output " " Write-Output "🚀 New Features" Write-Output "---------------" @@ -76,18 +73,18 @@ try { Write-Output "* $c" } Write-Output " " - Write-Output "⚠️ Bug Fixes" - Write-Output "------------" - foreach($c in $fixes) { - Write-Output "* $c" - } - Write-Output " " - Write-Output "🎉 Updates" + Write-Output "🎉 Improved" Write-Output "----------" - foreach($c in $updates) { + foreach($c in $improved) { Write-Output "* $c" } Write-Output " " + Write-Output "⚠️ Fixed" + Write-Output "--------" + foreach($c in $fixed) { + Write-Output "* $c" + } + Write-Output " " Write-Output "🔦 Various" Write-Output "----------" foreach($c in $various) { @@ -99,6 +96,8 @@ try { foreach($c in $contributors) { Write-Output "* $c" } + Write-Output "" + Write-Output "Changelog as of $Today." exit 0 # success } catch { Write-Error $_.Exception.ToString() From 94fba89c8f33fe074554323b1d17e45c5c3451ae Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 16 Dec 2024 11:35:55 +0100 Subject: [PATCH 106/737] Updated general.csv --- data/dicts/general.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/dicts/general.csv b/data/dicts/general.csv index d0cd72061..0036f449a 100644 --- a/data/dicts/general.csv +++ b/data/dicts/general.csv @@ -2320,7 +2320,7 @@ ISO,In Search Of,International Organization for Standardization (from the Greek ISOGP,Indian Society of Orthodontics for General Practitioners [2] ISP,International Standardized Profile,Internet Service Provider,Information Systems Professional ISPE,International Society for Pharmacoepidemiology -ISR,Intelligence,Surveillance and Reconnaissance,Israel (ISO 3166 trigram) +ISR,"Intelligence,Surveillance and Reconnaissance, or: Israel (ISO 3166 trigram)" ISRO,Indian Space Research Organisation ISS,International Shorebird Survey (North America),International Space Station ISSCR,International Society for Stem Cell Research From b4e09055d9f7af002f6915e0dd57958ced913c97 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 16 Dec 2024 13:57:18 +0100 Subject: [PATCH 107/737] Updated aviation.csv --- data/dicts/aviation.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index 55401e9e6..0cf0d0f50 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -322,6 +322,7 @@ IANS,Institute of Air Navigation Services, a division of Eurocontrol IAS,Indicated airspeed IATA,"International Air Transport Association, HQ in Montreal, Canada" ICA,Initial Climb Area +ICARD,International Codes and Route Designators IFE,In-flight Emergency IFR,Instrument Flight Rules IG,Image Generator From ced658f4277beb4f4b194e833bbd41cd3b6fd4a8 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 16 Dec 2024 14:03:34 +0100 Subject: [PATCH 108/737] Updated aviation.csv --- data/dicts/aviation.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index 0cf0d0f50..24707c72d 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -1,5 +1,6 @@ TERM,MEANING 3P,"Perceive, Process, Perform" +5LNC,Five Letter Name Codes 5P,"Plan, Plane, Pilot, Passengers, Programming" 7500,"Transponder code for Aircraft hijacking (ICAO)" 7600,"Transponder code for Radio failure (lost communications, ICAO)" From 500cc561d9907c37bb56e643f5b0036914bd38ac Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 16 Dec 2024 14:20:18 +0100 Subject: [PATCH 109/737] Updated aviation.csv --- data/dicts/aviation.csv | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index 24707c72d..cb636cac4 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -1,6 +1,7 @@ TERM,MEANING 3P,"Perceive, Process, Perform" -5LNC,Five Letter Name Codes +5ANNC,Five Letter Alpha Numeric Code +5LNC,Five Letter Naming Code 5P,"Plan, Plane, Pilot, Passengers, Programming" 7500,"Transponder code for Aircraft hijacking (ICAO)" 7600,"Transponder code for Radio failure (lost communications, ICAO)" @@ -369,11 +370,13 @@ NATOPS,Naval Aviation Training and Operating Procedures Standardization NATS,National Air Traffic Services (UK) NAVAIDS,Navigational Aids NCOIC,Non-Commissioned Officer in Charge +NDB,Non-Directional Beacon NIMA,National Imagery Mapping Agency NLFS,Night Low Flying System NM,Nautical Mile NORDO,No Radio NOTAM,Notice to Airmen or Notice to Air Missions +NRS,Navigation Reference System NUAIR,Northeast UAS Airspace Integration Research (a New York based nonprofit organization) OCS,Obstacle Clearance Surfaces OCTA,Outside Control Areas From 263a9017cd5aca6d9e547fd960fb4141db68d8b0 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 18 Dec 2024 07:39:51 +0100 Subject: [PATCH 110/737] Updated ICAO_airport_codes.csv --- data/dicts/ICAO_airport_codes.csv | 1938 ++++++++++++++--------------- 1 file changed, 969 insertions(+), 969 deletions(-) diff --git a/data/dicts/ICAO_airport_codes.csv b/data/dicts/ICAO_airport_codes.csv index 338b906b3..1da8f72f4 100644 --- a/data/dicts/ICAO_airport_codes.csv +++ b/data/dicts/ICAO_airport_codes.csv @@ -1062,8 +1062,8 @@ TERM,MEANING 0P0,Valley Forge Bicentennial Heliport (USA) 0P1,Van Pak Airport (USA) 0P2,Shoestring Aviation Airfield (USA) -0PA0,Philadelphia Gliderport (USA) -0PA1,Phoenix Technologies Heliport (USA) +0PA0 (Philippines)iladelphia Gliderport (USA) +0PA1 (Philippines)oenix Technologies Heliport (USA) 0PA2,Haunstein Ultralightport (USA) 0PA3,Robbins Farm Airport (USA) 0PA4,Ecko Field (USA) @@ -1138,7 +1138,7 @@ TERM,MEANING 0TN1,Tims Ford Seaplane Base (USA) 0TN2,Village Airport (USA) 0TN3,Park West Heliport (USA) -0TN4,Physicians Medical Regional Center Heliport (USA) +0TN4 (Philippines)ysicians Medical Regional Center Heliport (USA) 0TN5,McDonald Airport (USA) 0TN6,Riner Farm Airport (USA) 0TN7,Horne Properties Heliport (USA) @@ -2090,7 +2090,7 @@ TERM,MEANING 1L4,Kidwell Airport (USA) 1LA0,Ken Guidry #2 Airport (USA) 1LA1,Triche Field (USA) -1LA2,Phi Harahan Heliport (USA) +1LA2 (Philippines)i Harahan Heliport (USA) 1LA3,Goose Island Airport (USA) 1LA4,Bayou Fourchon Seaplane Base (USA) 1LA5,Morrow Strip (USA) @@ -2308,7 +2308,7 @@ TERM,MEANING 1PA4,Wagner Airport (USA) 1PA5,Beaver Creek Ultralightport (USA) 1PA6,Auer Field (USA) -1PA7,Philmont Heliport (USA) +1PA7 (Philippines)ilmont Heliport (USA) 1PA8,Motola's Helicopter Service Inc. Heliport (USA) 1PA9,Schadels Airport (USA) 1PN0,Bentley Airport (USA) @@ -2828,7 +2828,7 @@ TERM,MEANING 25NC,Smith Air Strip (USA) 25ND,Landeis Airstrip (USA) 25NE,Corr Airport (USA) -25NH,Phantom Three Heliport (USA) +25NH (Philippines)antom Three Heliport (USA) 25NJ,Hercules Heliport (USA) 25NK,Loucks Airport (USA) 25NM,Dream Catcher Ranch Airport (USA) @@ -2887,7 +2887,7 @@ TERM,MEANING 26N,Ocean City Municipal Airport (USA) 26NC,Boonville Airport (USA) 26ND,Chitwood Airstrip (USA) -26NH,Phantom Two Heliport (USA) +26NH (Philippines)antom Two Heliport (USA) 26NJ,Burdette Tomlin Memorial Hospital Heliport (USA) 26NK,Ridge Heliport (USA) 26NV,Darrow Field (USA) @@ -2944,7 +2944,7 @@ TERM,MEANING 27MT,Rahn Airport (USA) 27NC,Brunswick Media Center Heliport (USA) 27NE,Hendricks Field (USA) -27NH,Phantom One Heliport (USA) +27NH (Philippines)antom One Heliport (USA) 27NJ,Sony Music Heliport (USA) 27NK,Mohawk Air Park (USA) 27NY,Don's Heliport (USA) @@ -3183,7 +3183,7 @@ TERM,MEANING 2D6,Bannock Heliport (USA) 2D7,Beach City Airport (USA) 2DE2,Willaview Airport (USA) -2DE3,Hrupsa Airport (USA) +2DE3 (Croatia)upsa Airport (USA) 2DE8,Murphy's Landing Airport (USA) 200,Sharpe's Strip (USA) 2000000,Groton Municipal Airport (USA) @@ -3778,7 +3778,7 @@ TERM,MEANING 2Z6,False Island Seaplane Base (USA) 30AK,Doyle Estates Airport (USA) 30AL,Med Flight 2 Heliport (USA) -30AR,Phalanx Airport (USA) +30AR (Philippines)alanx Airport (USA) 30AZ,Gila Compressor Station Airport (USA) 30CA,Indian Valley Hospital Heliport (USA) 30CL,Long Beach Memorial Medical Center Heliport (USA) @@ -4638,12 +4638,12 @@ TERM,MEANING 3NC9,Womble Field (USA) 3ND5,Gage Flying Farmer Airport (USA) 3ND6,DJR Ultralight Flightpark (USA) -3NE2,Phillips Private Airport (USA) +3NE2 (Philippines)illips Private Airport (USA) 3NE3,Wells Airport (USA) 3NE5,MT Airfield (USA) 3NE6,Burkinshaw Field (USA) 3NE7,Pawlet Ranch Airport (USA) -3NE9,Phelps Airport (USA) +3NE9 (Philippines)elps Airport (USA) 3NH2,Flying Loon Seaplane Base (USA) 3NH4,Portsmouth Regional Hospital Heliport (USA) 3NH9,Longview Heliport (USA) @@ -4746,7 +4746,7 @@ TERM,MEANING 3PN6,Gravel Run Airport (USA) 3PN7,Stahl's Mountain Airport (USA) 3PN8,Wyeth Pharmaceuticals Heliport (USA) -3PN9,Phil Cain Memorial Field Ultralight Flightpark (USA) +3PN9 (Philippines)il Cain Memorial Field Ultralight Flightpark (USA) 3PS0,Penn Chester County Hospital Heliport (USA) 3PS1,Pitcairn Heliport (USA) 3PS2,Chestnut Street Garage Heliport (USA) @@ -5276,7 +5276,7 @@ TERM,MEANING 46TE,02 Ranch Airport (USA) 46TN,Pleasantville Pentacostal Church Heliport (USA) 46TS,Lavon North Airport (USA) -46TX,Phillips Corporation Airport (USA) +46TX (Philippines)illips Corporation Airport (USA) 46VA,Byrd Creek Airport (USA) 46WA,Don Williams Private Heliport (USA) 46WI,Holy Family Hospital Heliport (USA) @@ -5544,7 +5544,7 @@ TERM,MEANING 4FL4,Darrah Air Park (USA) 4FL5,Ridge Landing Airport (USA) 4FL6,Royal Trails Airport (USA) -4FL7,Physicians Regional Medical Center Collier Boulevard Heliport (USA) +4FL7 (Philippines)ysicians Regional Medical Center Collier Boulevard Heliport (USA) 4FL8,Schwartz Farms Inc Airport (USA) 4FL9,Gore Airport (USA) 4G1,Greenville Municipal Airport (USA) @@ -5671,7 +5671,7 @@ TERM,MEANING 4MD2,Ward's Airport (USA) 4MD3,Carey Field (USA) 4MD4,Clements Airport (USA) -4MD5,Phh Heliport (USA) +4MD5 (Philippines)h Heliport (USA) 4MD6,Moxley's Airport (USA) 4MD7,Catoctin Crosswind Airport (USA) 4MD8,Ijamsville Airport (USA) @@ -5681,7 +5681,7 @@ TERM,MEANING 4MI0,Kriewall Strip (USA) 4MI1,Air Rahe Airport (USA) 4MI2,McLaren Lapeer Region Heliport (USA) -4MI3,Phil's Field (USA) +4MI3 (Philippines)il's Field (USA) 4MI4,Whitcomb Field (USA) 4MI5,Bps Heliport (USA) 4MI6,Benedick Airport (USA) @@ -6057,7 +6057,7 @@ TERM,MEANING 51MI,Cass Lake-Cove Island Seaplane Base (USA) 51MN,Barry Heliport (USA) 51MO,Georger Farms Airport (USA) -51NC,Phillip R Bunn Airport (USA) +51NC (Philippines)illip R Bunn Airport (USA) 51NE,Bil Lo Airport (USA) 51NH,Blue Puffin Farm Heliport (USA) 51NJ,Germania Heliport (USA) @@ -7301,7 +7301,7 @@ TERM,MEANING 65CL,Al Divine Airport (USA) 65CN,Bottimore Ranch Airport (USA) 65CO,Wkr Airport (USA) -65FA,Physicians Regional Medical Center Heliport (USA) +65FA (Philippines)ysicians Regional Medical Center Heliport (USA) 65FD,Yellow Whirley Bird Heliport (USA) 65FL,"Floridian National Golf Club, LLC Heliport" (USA) 65G,Maple Grove Airport (USA) @@ -7660,7 +7660,7 @@ TERM,MEANING 6II8,Godahavit Airport (USA) 6IL0,Idlas Restricted Landing Area (USA) 6IL1,The American Coal Company Heliport (USA) -6IL2,Phyllis Field (USA) +6IL2 (Philippines)yllis Field (USA) 6IL3,Rummel Restricted Landing Area (USA) 6IL4,Foxfield Aerodrome (USA) 6IL5,Keil Airport (USA) @@ -8066,7 +8066,7 @@ TERM,MEANING 70OI,Crestline Hospital Heliport (USA) 70OK,Old 66 Strip (USA) 70OR,Goodin Creek Airport (USA) -70PA,Phico Heliport (USA) +70PA (Philippines)ico Heliport (USA) 70PN,Sanders Personal Use Airport (USA) 70PR (Puerto Rico) Police-Ponce Area Heliport (Puerto Rico) 70S,Mead Flying Service Airport (USA) @@ -8141,7 +8141,7 @@ TERM,MEANING 72KY,Carr Airport (USA) 72LA,Sulphur Mines Heliport (USA) 72LL,Foley Airport (USA) -72ME,Philbrick Mountain Airport (USA) +72ME (Philippines)ilbrick Mountain Airport (USA) 72MI,Northwoods Airport (USA) 72MN,Bardwell Airstrip (USA) 72MO,Sunnys Field Airport (USA) @@ -8184,7 +8184,7 @@ TERM,MEANING 73II,Nulltown Wingnuts Ultralightport (USA) 73IL,St Francis Hospital - Litchfield Heliport (USA) 73IN,Benham Airport (USA) -73KS,Philip Ranch Airport (USA) +73KS (Philippines)ilip Ranch Airport (USA) 73KY,Brooks Field (USA) 73LA,Moss Regional Hospital Heliport (USA) 73MD,Swan Creek Airport (USA) @@ -8481,7 +8481,7 @@ TERM,MEANING 79NC,Ball Airport (USA) 79ND,Reimers Airport (USA) 79NE,Cambridge Memorial Hospital Heliport (USA) -79NJ,Philips Lighting County Heliport (USA) +79NJ (Philippines)ilips Lighting County Heliport (USA) 79NY,Smith Airport (USA) 79OH,Smith-Stewart Field (USA) 79OI,Flying J Airport (USA) @@ -8698,7 +8698,7 @@ TERM,MEANING 7LL7,Delhotal Airport (USA) 7LL8,Dahler Airport (USA) 7LL9,Brammeier Airport (USA) -7LS1,Phi Venice Heliport (USA) +7LS1 (Philippines)i Venice Heliport (USA) 7LS3,Lake Palourde Base Heliport (USA) 7LS4,Petroleum Helicopters-Intracoastal City Heliport (USA) 7LS6,Avondale Heliport (USA) @@ -8895,7 +8895,7 @@ TERM,MEANING 7TA3,Quarterway Airport (USA) 7TA4,Christus Mother Frances Hospital Tyler Heliport (USA) 7TA5,Weber Ranch Airport (USA) -7TA6,PHI Heliport (USA) +7TA6 (Philippines)I Heliport (USA) 7TA7,Flying M Ranch Airport (USA) 7TA8,John Henry Key Airport (USA) 7TA9,San Angelo Community Medical Center Heliport (USA) @@ -9783,7 +9783,7 @@ TERM,MEANING 8PN0,Lost Acres Airport (USA) 8PN2,Hallett's Airport (USA) 8PN3,McCauley's Airport (USA) -8PN4,Philipsburg Area Hospital Heliport (USA) +8PN4 (Philippines)ilipsburg Area Hospital Heliport (USA) 8PN5,Helfrick Heliport (USA) 8PN6,Lansdale Hospital Heliport (USA) 8PN7,Cameron County Junior/Senior High School Heliport (USA) @@ -10362,7 +10362,7 @@ TERM,MEANING 99Z,Finger Lake Seaplane Base (USA) 9A2,Powell STOLport (USA) 9A3,Chuathbaluk Airport (USA) -9A8,Ugashik Airport (USA) +9A8 (Uganda)ashik Airport (USA) 9A9,Shiflet Field (USA) 9AA1,Elk Ranch Airport (USA) 9AA9,Airkat Airpark (USA) @@ -10423,7 +10423,7 @@ TERM,MEANING 9CO6,D Bar D Airport (USA) 9CO7,Beaugh Airport (USA) 9CO8,Bijou Bottom Strip (USA) -9CO9,Phylcon Ranch Airport (USA) +9CO9 (Philippines)ylcon Ranch Airport (USA) 9F1,Valley Mills Municipal Airport (USA) 9F5,Tcjc-South Campus Heliport (USA) 9FA2,Lakeside Medical Center Heliport (USA) @@ -10594,7 +10594,7 @@ TERM,MEANING 9MT9,Pierces Airport (USA) 9MU4,Homestead Heliport (USA) 9N1,Van Sant Airport (USA) -9N2,Philadelphia Seaplane Base (USA) +9N2 (Philippines)iladelphia Seaplane Base (USA) 9N3,Seamans Field (USA) 9N7,Farmers Pride Airport (USA) 9NA2,Dakota Clinic Heliport (USA) @@ -10714,7 +10714,7 @@ TERM,MEANING 9PS1,Eagle Lodge-Lafayette Hill Heliport (USA) 9PS2,J T Willie Airport (USA) 9PS3,Doylestown Heliport (USA) -9PS4,Pheasant Run Heliport (USA) +9PS4 (Philippines)easant Run Heliport (USA) 9PS5,Reading Hospital Heliport (USA) 9PS6,Siepsers Eye Port Heliport (USA) 9PS7,W S Lee & Sons Inc Heliport (USA) @@ -13220,7 +13220,7 @@ AZ03,Cliff Dwellers Lodge Airport (USA) AZ04,Hillair Dirt Strip (USA) AZ05,Lakeside Airpark (USA) AZ06,Dateland Airfield (USA) -AZ07,Phoenix Area Heliport (USA) +AZ07 (Philippines)oenix Area Heliport (USA) AZ08,Banner Boswell Memorial Hospital Heliport (USA) AZ09,Sergio Private Airport (USA) AZ10,JSJ Heliport (USA) @@ -13237,7 +13237,7 @@ AZ20,Westcor Home Office Heliport (USA) AZ21,Four Pillars Airport (USA) AZ22,Marcus J Lawrence Medical Center Heliport (USA) AZ23,Flagstaff Mall Heliport (USA) -AZ24,Phoenix Baptist Hospital Heliport (USA) +AZ24 (Philippines)oenix Baptist Hospital Heliport (USA) AZ25,Tri-Rotor Ag Services Airport (USA) AZ26,Evelyn Field (USA) AZ27,Big Springs Ranch Airport (USA) @@ -13296,7 +13296,7 @@ AZ79,Airscrew Performance Flightpark Ultralightport (USA) AZ80,Havasu Samaritan Regional Hospital Heliport (USA) AZ81,Boeing Heliport (USA) AZ82,Mogollon Airpark (USA) -AZ83,Phoenix Memorial Hospital Heliport (USA) +AZ83 (Philippines)oenix Memorial Hospital Heliport (USA) AZ84,Pima County Sheriff's Heliport (USA) AZ85,Tonopah Airport (USA) AZ86,A C Goodwin Memorial Field Gliderport (USA) @@ -13312,7 +13312,7 @@ AZ95,Abrazo Scottsdale Hospital Emergency Department Heliport (USA) AZ96,HonorHealth Scottsdale Osborn Medical Center Heliport (USA) AZ97,X Bar 1 Ranch Lower Airport (USA) AZ98,John C. Lincoln Helistop (USA) -AZ99,Phoenix Children's Hospital Heliport (USA) +AZ99 (Philippines)oenix Children's Hospital Heliport (USA) AZB,Amazon Bay Airport (Papua New Guinea) AZJ,Zhenjiang Dalu Airport (China) AZU,Arrowhead Assault Strip (USA) @@ -13603,12 +13603,12 @@ BIHK,Hólmavík Airport,IS BIHL,Hella Airport,IS BIHN,Hornafjörður Airport,IS BIHR,Hvolsvöllur Airport,IS -BIHS,Hrafnseyri Airport,IS +BIHS (Croatia)afnseyri Airport,IS BIHT,Holt Airport,IS BIHU,Húsavík Airport,IS BIHV,Krókstaðarmelar Airport,IS -BIHX,Hrauneyjarfoss Airport,IS -BIHY,Hrísey Airport,IS +BIHX (Croatia)auneyjarfoss Airport,IS +BIHY (Croatia)ísey Airport,IS BIHZ,Húsafell Airport,IS BIID,Ingjaldssanður Airport,IS BIIS,Ísafjörður Airport,IS @@ -13689,7 +13689,7 @@ BN-0013,Shell Panaga Heliport,BN BN-0014,Suri Seri Begawan Hospital Heliport,BN BNF,Baranof Warm Springs Float and Seaplane Base (USA) BNM,Bodinumu Airport (Papua New Guinea) -BNQ,Baganga Airport,PH +BNQ,Baganga Airport (Philippines) BNT,Bundi Airport (Papua New Guinea) BNV,Boana Airport (Papua New Guinea) BNZ,Banz Airport (Papua New Guinea) @@ -17098,7 +17098,7 @@ CD75,Whitewater Heliport (USA) CD77,Castle Peak Heliport (USA) CD78,Coal Bank Pass Heliport (USA) CD79,Northfield Heliport (USA) -CD80,Phippsburg Heliport (USA) +CD80 (Philippines)ippsburg Heliport (USA) CD81,Owl Ridge Heliport (USA) CD82,Val Air Airport (USA) CD97,Montemadeira Ii Airport (USA) @@ -17443,7 +17443,7 @@ CGF2,Edmonton / Lechelt Field (Canada) CGF3,Guliker Field (Canada) CGF4,Boundary Hospital Heliport (Canada) CGF6,Gilford (Canada) -CGG,Casiguran Airport,PH +CGG,Casiguran Airport (Philippines) CGH2,Gander (James Paton Memorial Regional Health Centre) Heliport (Canada) CGK2,Gahcho Kue (Canada) CGL2,Harrow Airport (Canada) @@ -19432,7 +19432,7 @@ CU-0092,Santa Bárbara Airport (Cuba) CU-0093,Nueva Paz Airport (Cuba) CU-0094,Parque Antonio Maceo Heliport (Cuba) CU-0095,Central Army Staff Heliport (Cuba) -CUJ,Culion Airport,PH +CUJ,Culion Airport (Philippines) cvb2,Voisey's Bay Airport (Canada) CVF2,Fergus (Vodarek Field) (Canada) CVG8,Vegreville (St. Joseph's General Hospital) Heliport (Canada) @@ -19944,7 +19944,7 @@ CZ-0009,Teaching Hospital - Building I2 Heliport (Czech Republic) CZ-0010,Teaching Hospital -Building 1 Heliport (Czech Republic) CZ-0011,Horní Staré Město Heliport (Czech Republic) CZ-0012,Hospital Heliport (Czech Republic) -CZ-0013,Hradec Králové Heliport (Czech Republic) +CZ-0013 (Croatia)adec Králové Heliport (Czech Republic) CZ-0014,Nová Amerika Heliport (Czech Republic) CZ-0015,"Teaching Hospital, Clinic Karim - Roof Heliport" (Czech Republic) CZ-0016,Area Of Fire And Rescue Force Heliport (Czech Republic) @@ -20095,7 +20095,7 @@ CZ-0160,Milhostov Airfield (Czech Republic) CZ-0161,Letiště Luhačovice (Czech Republic) CZ-0162,Letiště Mladá (Czech Republic) CZ-0163,Hatě (Czech Republic) -CZ-0164,Hrochův Týnec Airstrip (Czech Republic) +CZ-0164 (Croatia)ochův Týnec Airstrip (Czech Republic) CZ-0165,Bořetice Airstrip (Czech Republic) CZ-0166,Chvojenec Airstrip (Czech Republic) CZ-0167,Dolní Bojanovice Airstrip (Czech Republic) @@ -20109,7 +20109,7 @@ CZ-0174,Strachotín u Mikulova Airstrip (Czech Republic) CZ-0175,Bobrová Airstrip UL (Czech Republic) CZ-0176,Letiště Třebihošť (Czech Republic) CZ-0177,Luka nad Jihlavou Airstrip (Czech Republic) -CZ-0178,Hrabice airstrip (Czech Republic) +CZ-0178 (Croatia)abice airstrip (Czech Republic) CZ-0179,Přešťovice Airstrip (Czech Republic) CZ-0180,Airstrip Jestřabí v Krkonoších (Czech Republic) CZ-0181,Manětín Airstrip (Czech Republic) @@ -21070,7 +21070,7 @@ DRZM,Maine-Soroa Airport,NE DRZN,N'Guigmi Airport,NE DRZR,Zinder Airport,NE DRZT,Tanout Airport,NE -DSG,Dilasag Airport,PH +DSG,Dilasag Airport (Philippines) DT1,Downtown Fort Lauderdale Heliport (USA) DT70,Medenine Airport,TN DTG,Dwight Airport (USA) @@ -22333,7 +22333,7 @@ EGYE,RAF Barkston Heath (UK) EGYI,Strubby Glider Field (UK) EGYM,RAF Marham (UK) EGYO,North Coates (UK) -EGYP,Mount Pleasant Airport,FK +EGYP,Mount Pleasant Airport (Falkland Islands) EGZL,Feshiebridge Glider Field (UK) EGZV,Lundy Island Airfield (UK) EH-0001,Tifariti Airstrip,EH @@ -23849,7 +23849,7 @@ FATW,Witberg Tswalu Airport (South Africa) FATZ,Tzaneen Airport (South Africa) FAUB,Underberg Airport (South Africa) FAUC,Ulco Airport (South Africa) -FAUG,Ugie Airport (South Africa) +FAUG (Uganda)ie Airport (South Africa) FAUH,Uitenhage Airport (South Africa) FAUL,Prince Mangosuthu Buthelezi Airport (South Africa) FAUP,Pierre Van Ryneveld Airport (South Africa) @@ -24191,43 +24191,43 @@ FJ-0001,Taunovo Airstrip,FJ FJ-0002,Vomo Heliport,FJ FJ-0003,Matamanoa Island Heliport,FJ FJDG,Diego Garcia Naval Support Facility,IO -FK-0001,Fox Bay Clay Airstrip,FK -FK-0002,Pebble Island Landing Strip,FK -FK-0003,Sea Lion Lodge Airstrip,FK -FK-0004,West Point Island Landing Strip,FK -FK-0005,Goose Green Airfield,FK -FK-0006,Roy Cove Landing Strip,FK -FK-0007,Spring Point Landing Strip,FK -FK-0008,Port San Carlos Landing Strip,FK -FK-0009,Port Howard Purvis Pond Airstrip,FK -FK-0010,Saunders Island Landing Strip,FK -FK-0011,Carcass Island Landing Strip,FK -FK-0012,Port Stephens Airport,FK -FK-0013,Port Abermarle Airport,FK -FK-0014,Dunnose Head Airport,FK -FK-0015,Shallow Harbour Airport,FK -FK-0016,Hill Cove Airport,FK -FK-0017,Chartres Airport,FK -FK-0018,New Island Airport,FK -FK-0019,North Arm Airport,FK -FK-0020,Salvador Airport,FK -FK-0021,San Carlos Airport,FK -FK-0022,Lively Island Airport,FK -FK-0023,George Island Airport,FK -FK-0024,Douglas Station Airport,FK -FK-0025,Walker Creek Airport,FK -FK-0026,Speedwell Island Airport,FK -FK-0027,Bleaker Island Airport,FK -FK-0028,Weddell Island Airport,FK -FK-0029,Beaver Island Airport,FK -FK-0030,Golding Island Airport,FK -FK-0031,Dunbar Airport,FK -FK-0032,Port Edgar Airport,FK -FK-0033,Port Howard Airstrip,FK -FK-0034,Sea Lion Island Airstrip,FK -FK-0035,Fox Bay East Airstrip,FK -FK-0036,Pebble Island Beach Airstrip,FK -FK-0037,Fox Bay Helipad,FK +FK-0001,Fox Bay Clay Airstrip (Falkland Islands) +FK-0002,Pebble Island Landing Strip (Falkland Islands) +FK-0003,Sea Lion Lodge Airstrip (Falkland Islands) +FK-0004,West Point Island Landing Strip (Falkland Islands) +FK-0005,Goose Green Airfield (Falkland Islands) +FK-0006,Roy Cove Landing Strip (Falkland Islands) +FK-0007,Spring Point Landing Strip (Falkland Islands) +FK-0008,Port San Carlos Landing Strip (Falkland Islands) +FK-0009,Port Howard Purvis Pond Airstrip (Falkland Islands) +FK-0010,Saunders Island Landing Strip (Falkland Islands) +FK-0011,Carcass Island Landing Strip (Falkland Islands) +FK-0012,Port Stephens Airport (Falkland Islands) +FK-0013,Port Abermarle Airport (Falkland Islands) +FK-0014,Dunnose Head Airport (Falkland Islands) +FK-0015,Shallow Harbour Airport (Falkland Islands) +FK-0016,Hill Cove Airport (Falkland Islands) +FK-0017,Chartres Airport (Falkland Islands) +FK-0018,New Island Airport (Falkland Islands) +FK-0019,North Arm Airport (Falkland Islands) +FK-0020,Salvador Airport (Falkland Islands) +FK-0021,San Carlos Airport (Falkland Islands) +FK-0022,Lively Island Airport (Falkland Islands) +FK-0023,George Island Airport (Falkland Islands) +FK-0024,Douglas Station Airport (Falkland Islands) +FK-0025,Walker Creek Airport (Falkland Islands) +FK-0026,Speedwell Island Airport (Falkland Islands) +FK-0027,Bleaker Island Airport (Falkland Islands) +FK-0028,Weddell Island Airport (Falkland Islands) +FK-0029,Beaver Island Airport (Falkland Islands) +FK-0030,Golding Island Airport (Falkland Islands) +FK-0031,Dunbar Airport (Falkland Islands) +FK-0032,Port Edgar Airport (Falkland Islands) +FK-0033,Port Howard Airstrip (Falkland Islands) +FK-0034,Sea Lion Island Airstrip (Falkland Islands) +FK-0035,Fox Bay East Airstrip (Falkland Islands) +FK-0036,Pebble Island Beach Airstrip (Falkland Islands) +FK-0037,Fox Bay Helipad (Falkland Islands) FKAB,Banyo Airport,CM FKAF,Bafia Airport,CM FKAG,Abong M'bang Airport,CM @@ -25581,7 +25581,7 @@ FZOP,Punia Airport,CD FZOQ,Punia-Basenge Airport,CD FZOR,Saulia Airport,CD FZOS,Kasese Airport,CD -FZOT,Phibraki Airport,CD +FZOT (Philippines)ibraki Airport,CD FZPB,Kamituga Airport,CD FZPC,Lugushwa Airport,CD FZQA,Lubumbashi International Airport,CD @@ -27692,28 +27692,28 @@ HN-MUG,Erandique Airport,HN HNE,Tahneta Pass Airport (USA) HOO,Nhon Co Airfield (Vietnam) HOPA,Hoppe Airspray (USA) -HR-0001,Daruvar,HR -HR-0002,KORČULA Vela Luka Seaplane Terminal,HR -HR-0003,Rijeka Seaplane Terminal,HR -HR-0004,Nova Rača Airfield,HR -HR-0005,Gradac Airstrip,HR -HR-0006,Pisarovina Airfield,HR -HR-0007,Lastovo/Ubli Seaplane Terminal,HR -HR-0008,Mali-Losinj Seaplane Terminal,HR -HR-0009,Lila Airstrip,HR -HR-0010,Mirkovac Airstrip,HR -HR-0011,Heliport Palagruža island,HR -HR-0012,Dubrovnik General Hospital Helipad,HR -HR-0013,Selca/Novo Selo Heliport,HR -HR-0014,Osejava Heliport,HR -HR-0015,Vis Airfield,HR -HR-0016,"Letjelište ""Marina""",HR -HR-0017,Željava Air Base,HR -HR-0018,Nedelišće Airstrip,HR -HR-0019,Novalja Seaplane Terminal,HR -HR-0020,Hvar/Jelsa Seaplane Base,HR -HR-0021,Split Seaplane City,HR -HR-0022,Split-Resnik Seaplane Base,HR +HR-0001,Daruvar (Croatia) +HR-0002,KORČULA Vela Luka Seaplane Terminal (Croatia) +HR-0003,Rijeka Seaplane Terminal (Croatia) +HR-0004,Nova Rača Airfield (Croatia) +HR-0005,Gradac Airstrip (Croatia) +HR-0006,Pisarovina Airfield (Croatia) +HR-0007,Lastovo/Ubli Seaplane Terminal (Croatia) +HR-0008,Mali-Losinj Seaplane Terminal (Croatia) +HR-0009,Lila Airstrip (Croatia) +HR-0010,Mirkovac Airstrip (Croatia) +HR-0011,Heliport Palagruža island (Croatia) +HR-0012,Dubrovnik General Hospital Helipad (Croatia) +HR-0013,Selca/Novo Selo Heliport (Croatia) +HR-0014,Osejava Heliport (Croatia) +HR-0015,Vis Airfield (Croatia) +HR-0016,"Letjelište ""Marina""" (Croatia) +HR-0017,Željava Air Base (Croatia) +HR-0018,Nedelišće Airstrip (Croatia) +HR-0019,Novalja Seaplane Terminal (Croatia) +HR-0020,Hvar/Jelsa Seaplane Base (Croatia) +HR-0021,Split Seaplane City (Croatia) +HR-0022,Split-Resnik Seaplane Base (Croatia) HRC,Sary Su Airport (Kazakhstan) HRN,Heron Island Helipad (Australia) HRYG,Gisenyi Airport,RW @@ -27787,7 +27787,7 @@ HT-0007,Dame-Marie Airport,HT HT-0008,Fond-des-Blancs Airport,HT HT-0009,Môle-Saint-Nicolas Airport,HT HT-0010,Ouanaminthe Airport,HT -HT-0011,Phaeton Airport,HT +HT-0011 (Philippines)aeton Airport,HT HT-0012,Pignon Airport,HT HT-0013,Port-Salut Airport,HT HT-0014,Île de la Tortue Airstrip,HT @@ -27917,30 +27917,30 @@ HU-0059,Merényi Gusztàv Kórhàz Heliport,HU HU-0060,Szent János és a Kútvölgyi kórhàzi Heliport,HU HU-0061,Telekgerendás Airfield,HU HU-0062 (Spain)RE Glider Field,HU -HUAJ,Adjumani Airport,UG -HUAR,Arua Airport,UG -HUBU,Bundibugyo Airport,UG -HUEN,Entebbe International Airport,UG -HUFP,Fort Portal Airport,UG -HUGU,Gulu Airport,UG -HUJI,Jinja Airport,UG -HUKB,Kabale Airport,UG -HUKC,Kololo Airstrip,UG -HUKD,Kidepo Airport,UG -HUKF,Kabalega Falls Airport,UG -HUKJ,Kajjansi Airfield,UG -HUKK,Kakira Airport,UG -HUKO,Kotido Airport,UG -HUKS,Kasese Airport,UG -HUKT,Kitgum Airport,UG -HULI,Lira Airport,UG -HUMA,Mbarara Airport,UG -HUMI,Masindi Airport,UG -HUMO,Moroto Airport,UG -HUMW,Mweya Airport,UG -HUPA,Bugungu Airport,UG -HUSO,Soroti Airport,UG -HUTO,Tororo Airport,UG +HUAJ,Adjumani Airport (Uganda) +HUAR,Arua Airport (Uganda) +HUBU,Bundibugyo Airport (Uganda) +HUEN,Entebbe International Airport (Uganda) +HUFP,Fort Portal Airport (Uganda) +HUGU,Gulu Airport (Uganda) +HUJI,Jinja Airport (Uganda) +HUKB,Kabale Airport (Uganda) +HUKC,Kololo Airstrip (Uganda) +HUKD,Kidepo Airport (Uganda) +HUKF,Kabalega Falls Airport (Uganda) +HUKJ,Kajjansi Airfield (Uganda) +HUKK,Kakira Airport (Uganda) +HUKO,Kotido Airport (Uganda) +HUKS,Kasese Airport (Uganda) +HUKT,Kitgum Airport (Uganda) +HULI,Lira Airport (Uganda) +HUMA,Mbarara Airport (Uganda) +HUMI,Masindi Airport (Uganda) +HUMO,Moroto Airport (Uganda) +HUMW,Mweya Airport (Uganda) +HUPA,Bugungu Airport (Uganda) +HUSO,Soroti Airport (Uganda) +HUTO,Tororo Airport (Uganda) HWA,Hawabango Airport (Papua New Guinea) HWI,Hawk Inlet Seaplane Base (USA) HYB,Helipuerto Metropolitan (Mexico) @@ -28070,7 +28070,7 @@ IA99,Dickinson County Memorial Hospital Heliport (USA) IBI,Iboki Airport (Papua New Guinea) IBL,Indigo Bay Lodge Airport,MZ IBN,Devils Mountain Lodge Airport (USA) -ICO,Sicogon Airstrip,PH +ICO,Sicogon Airstrip (Philippines) ID-0001,Namber Airfield (Indonesia) ID-0002,Kamiri Airfield (Indonesia) ID-0003,Pulau Panjang Airport (Indonesia) @@ -28822,7 +28822,7 @@ IN-0046,Butcher Island Helipad,IN IN-0047,Mahalaxmi Race Course Helipad,IN IN-0048,Rajbhavan Helipad,IN IN-0049,Kohima Helipad,IN -IN-0050,Phalodi Airfield,IN +IN-0050 (Philippines)alodi Airfield,IN IN-0051,Aviation Research Centre RAW Headquarters Helipad,IN IN-0052,Mathura Heliport,IN IN-0053,INS Kohassa,IN @@ -29193,7 +29193,7 @@ IN45,4 Winds Aerodrome (USA) IN46,Butler Field (USA) IN47,White Airport (USA) IN48,St. Vincent Clay Hospital Heliport (USA) -IN49,Pherigo Airport (USA) +IN49 (Philippines)erigo Airport (USA) IN50,Siefert Airport (USA) IN51,Windy Knoll Airport (USA) IN52,500 Heliport (USA) @@ -29475,7 +29475,7 @@ IR-0159,Zafarghand Compressor Station Heliport,IR IR-OI24,Gonbad-e Kavus Airport,IR IRU,Iranamadu Seaplane Base,LK IS-0001,Suðureyri Airstrip,IS -IS-0002,Hrauneyjarfoss Heliport,IS +IS-0002 (Croatia)auneyjarfoss Heliport,IS IS-0003,Skaftafell Airport,IS IS-0004,Kárastaða Airport,IS IS00,Jay Schertz Farm Airport (USA) @@ -34234,7 +34234,7 @@ K77S,Hobby Field (USA) K78,Abilene Municipal Airport (USA) K78R,San Augustine County Airport (USA) K78Y,Rankin Airport (USA) -K79D,Philippi Barbour County Regional Airport (USA) +K79D (Philippines)ilippi Barbour County Regional Airport (USA) K79J,South Alabama Regional At Bill Benton Field Airport (USA) K79S,Fort Benton Airport (USA) K7A0,Greensboro Municipal Airport (USA) @@ -34506,7 +34506,7 @@ KAOV,Ava Bill Martin Memorial Airport (USA) KAPA,Centennial Airport (USA) KAPC,Napa County Airport (USA) KAPF,Naples Municipal Airport (USA) -KAPG,Phillips Army Air Field (USA) +KAPG (Philippines)illips Army Air Field (USA) KAPH,A P Hill AAF (Fort A P Hill) Airport (USA) KAPN,Alpena County Regional Airport (USA) KAPT,Marion County Airport - Brown Field (USA) @@ -35039,7 +35039,7 @@ KDVL,Devils Lake Regional Airport (USA) KDVN,Davenport Municipal Airport (USA) KDVO,Marin County Airport - Gnoss Field (USA) KDVP,Slayton Municipal Airport (USA) -KDVT,Phoenix Deer Valley Airport (USA) +KDVT (Philippines)oenix Deer Valley Airport (USA) KDW,Victoria Reservoir Seaplane Base,LK KDWA,Yolo County Davis Woodland Winters Airport (USA) KDWF,Wright Field (USA) @@ -35406,7 +35406,7 @@ KE91,Chinle Municipal Airport (USA) KE95,Benson Municipal Airport (USA) KE98,Mid Valley Airpark (USA) KEAG,Eagle Grove Municipal Airport (USA) -KEAN,Phifer Airfield (USA) +KEAN (Philippines)ifer Airfield (USA) KEAR,Kearney Regional Airport (USA) KEAT,Pangborn Memorial Airport (USA) KEAU,Chippewa Valley Regional Airport (USA) @@ -35834,7 +35834,7 @@ KGYB,Giddings-Lee County Airport (USA) KGYH,Donaldson Field Airport (USA) KGYI,North Texas Regional Airport/Perrin Field (USA) KGYL,Glencoe Municipal Airport (USA) -KGYR,Phoenix Goodyear Airport (USA) +KGYR (Philippines)oenix Goodyear Airport (USA) KGYY,Gary Chicago International Airport (USA) KGZ,Glacier Creek Airport (USA) KGZH,Evergreen Regional Airport/Middleton Field (USA) @@ -36087,7 +36087,7 @@ KISW,Alexander Field South Wood County Airport (USA) KISZ,Cincinnati Blue Ash Airport (USA) KITH,Ithaca Tompkins Regional Airport (USA) KITR,Kit Carson County Airport (USA) -KIWA,Phoenix–Mesa Gateway Airport (USA) +KIWA (Philippines)oenix–Mesa Gateway Airport (USA) KIWD,Gogebic Iron County Airport (USA) KIWH,Wabash Municipal Airport (USA) KIWI,Wiscasset Airport (USA) @@ -36536,7 +36536,7 @@ KMOP,Mount Pleasant Municipal Airport (USA) KMOR,Morristown Regional Airport (USA) KMOT,Minot International Airport (USA) KMOX,Morris Municipal Airport Charlie Schmidt Field (USA) -KMPE,Philadelphia Municipal Airport (USA) +KMPE (Philippines)iladelphia Municipal Airport (USA) KMPG,Marshall County Airport (USA) KMPI,Mariposa Yosemite Airport (USA) KMPJ,Petit Jean Park Airport (USA) @@ -37004,14 +37004,14 @@ KPGV,Pitt Greenville Airport (USA) KPH,Pauloff Harbor Seaplane Base (USA) KPHD,Harry Clever Field (USA) KPHF,Newport News Williamsburg International Airport (USA) -KPHG,Phillipsburg Municipal Airport (USA) +KPHG (Philippines)illipsburg Municipal Airport (USA) KPHH,Robert F Swinnie Airport (USA) KPHK,Palm Beach County Glades Airport (USA) -KPHL,Philadelphia International Airport (USA) +KPHL (Philippines)iladelphia International Airport (USA) KPHN,St Clair County International Airport (USA) -KPHP,Philip Airport (USA) +KPHP (Philippines)ilip Airport (USA) KPHT,Henry County Airport (USA) -KPHX,Phoenix Sky Harbor International Airport (USA) +KPHX (Philippines)oenix Sky Harbor International Airport (USA) KPIA,General Wayne A. Downing Peoria International Airport (USA) KPIB,Hattiesburg Laurel Regional Airport (USA) KPIE,St. Petersburg Clearwater International Airport (USA) @@ -38615,7 +38615,7 @@ KTOB,Dodge Center Airport (USA) KTOC,Toccoa Airport - R.G. Letourneau Field (USA) KTOI,Troy Municipal Airport at N Kenneth Campbell Field (USA) KTOL,Eugene F. Kranz Toledo Express Airport (USA) -KTOP,Philip Billard Municipal Airport (USA) +KTOP (Philippines)ilip Billard Municipal Airport (USA) KTOR,Torrington Municipal Airport (USA) KTPA,Tampa International Airport (USA) KTPF,Peter O Knight Airport (USA) @@ -39125,7 +39125,7 @@ LA26,Unicorn Airport (USA) LA27,Texas Eastern Transmission Maintenance Hq Heliport (USA) LA28,Louisiana State Police Headquarters Heliport (USA) LA29,Byrd Regional Hospital Heliport (USA) -LA30,Phoenix Airport (USA) +LA30 (Philippines)oenix Airport (USA) LA31,Gotreaux Strip (USA) LA32,Lake Air Service Airport (USA) LA33,Cuba Farm Airport (USA) @@ -39283,46 +39283,46 @@ LCLK,Larnaca International Airport,CY LCP,Loncopue Airport,AR LCPH,Paphos International Airport,CY LCRA,RAF Akrotiri,CY -LD57,Sepurine Training Base,HR -LDDP,Ploče Airport,HR -LDDU,Dubrovnik Airport,HR -LDLO,Lošinj Island Airport,HR -LDOB,Vukovar Borovo N Airport,HR -LDOC,Osijek-Čepin Airfield,HR -LDOR,Slavonski Jelas Airport,HR -LDOS,Osijek Airport,HR -LDOV,Vinkovci Sopot Airport,HR -LDPL,Pula Airport,HR -LDPM,Medulin Campanoz Airport,HR -LDPN,Unije Airport,HR -LDPP,Pula Seaplane Terminal,HR -LDPV,Vrsar Crljenka Airport,HR -LDRG,Grobnicko Polje Airport,HR -LDRI,Rijeka Airport,HR -LDRO,Otočac Airport,HR -LDRR,Rab Seaplane Terminal,HR -LDSB,Brač Airport,HR -LDSF,Firule Heliport,HR -LDSH,Hvar Airport,HR -LDSM,Lumbarda Seaplane Terminal,HR -LDSP,Split Airport,HR -LDSS,Sinj Piket Airfield,HR -LDVA,Varaždin Airport,HR -LDVC,Čakovec Pribislavec Airport,HR -LDVD,Daruvar Blagorod Airport,HR -LDVK,Koprivnica Danic Airfield,HR +LD57,Sepurine Training Base (Croatia) +LDDP,Ploče Airport (Croatia) +LDDU,Dubrovnik Airport (Croatia) +LDLO,Lošinj Island Airport (Croatia) +LDOB,Vukovar Borovo N Airport (Croatia) +LDOC,Osijek-Čepin Airfield (Croatia) +LDOR,Slavonski Jelas Airport (Croatia) +LDOS,Osijek Airport (Croatia) +LDOV,Vinkovci Sopot Airport (Croatia) +LDPL,Pula Airport (Croatia) +LDPM,Medulin Campanoz Airport (Croatia) +LDPN,Unije Airport (Croatia) +LDPP,Pula Seaplane Terminal (Croatia) +LDPV,Vrsar Crljenka Airport (Croatia) +LDRG,Grobnicko Polje Airport (Croatia) +LDRI,Rijeka Airport (Croatia) +LDRO,Otočac Airport (Croatia) +LDRR,Rab Seaplane Terminal (Croatia) +LDSB,Brač Airport (Croatia) +LDSF,Firule Heliport (Croatia) +LDSH,Hvar Airport (Croatia) +LDSM,Lumbarda Seaplane Terminal (Croatia) +LDSP,Split Airport (Croatia) +LDSS,Sinj Piket Airfield (Croatia) +LDVA,Varaždin Airport (Croatia) +LDVC,Čakovec Pribislavec Airport (Croatia) +LDVD,Daruvar Blagorod Airport (Croatia) +LDVK,Koprivnica Danic Airfield (Croatia) LDW,Lansdowne Airport (Australia) -LDZA,Zagreb Airport,HR -LDZB,Buševec Velika Glider Airport,HR -LDZC,Čazma Grabovnica Airport,HR -LDZD,Zadar Airport,HR -LDZE,Zvekovac,HR -LDZI,Ivanić-Grad Airstrip,HR -LDZJ,Bjelovar Brezova Airport,HR -LDZK,Aerodrom Zabok-Gubaševo,HR -LDZL,Lučko Airport,HR -LDZS,Sisak,HR -LDZU,Udbina Air Base,HR +LDZA,Zagreb Airport (Croatia) +LDZB,Buševec Velika Glider Airport (Croatia) +LDZC,Čazma Grabovnica Airport (Croatia) +LDZD,Zadar Airport (Croatia) +LDZE,Zvekovac (Croatia) +LDZI,Ivanić-Grad Airstrip (Croatia) +LDZJ,Bjelovar Brezova Airport (Croatia) +LDZK,Aerodrom Zabok-Gubaševo (Croatia) +LDZL,Lučko Airport (Croatia) +LDZS,Sisak (Croatia) +LDZU,Udbina Air Base (Croatia) LE83,Aeródromo forestal de Mojados (Spain) LE84,Jayena Airfield (Spain) LE85,Tablada Airport (Spain) @@ -39869,7 +39869,7 @@ LFQL,Lens Benifontaine Airfield (France) LFQM,Aérodrome de Besançon-La Vèze (France) LFQN,Saint Omer Wizernes Airfield (France) LFQO,Lille/Marcq-en-Baroeul Airfield (France) -LFQP,Phalsbourg-Bourscheid Air Base (France) +LFQP (Philippines)alsbourg-Bourscheid Air Base (France) LFQQ,Lille-Lesquin Airport (France) LFQR,Romilly Sur Seine Airfield (France) LFQS,Vitry en Artois Airfield (France) @@ -40008,7 +40008,7 @@ LGMR,Marathon Wasser Airport,GR LGMT,Mytilene International Airport,GR LGN,Linga Linga Airport (Papua New Guinea) LGNX,Naxos Apollon Airport,GR -LGP,Bicol International Airport,PH +LGP,Bicol International Airport (Philippines) LGPA,Paros National Airport,GR LGPL,Astypalaia Airport,GR LGPZ,Aktion National Airport,GR @@ -40285,10 +40285,10 @@ LKFR,Frýdlant Airfield (Czech Republic) LKHB,Havlíčkův Brod Airport (Czech Republic) LKHC,Hořice Airport (Czech Republic) LKHD,Hodkovice Nad Mohelkou Airport (Czech Republic) -LKHK,Hradec Králové Airport (Czech Republic) -LKHN,Hranice Airport (Czech Republic) +LKHK (Croatia)adec Králové Airport (Czech Republic) +LKHN (Croatia)anice Airport (Czech Republic) LKHO,Holešov Airport (Czech Republic) -LKHR,Hradčany Air Base (Czech Republic) +LKHR (Croatia)adčany Air Base (Czech Republic) LKHS,Hosin Airport (Czech Republic) LKHV,Hořovice Airport (Czech Republic) LKJA,Jaroměř Airport (Czech Republic) @@ -40847,7 +40847,7 @@ LS95,Mackie Memorial Heliport (USA) LS96,Ochsner Medical Institutions Heliport (USA) LS97,Myu Heliport (USA) LS98,Sabine Medical Center Heliport (USA) -LS99,PHI Fourchon Base Heliport (USA) +LS99 (Philippines)I Fourchon Base Heliport (USA) LSD,Blue Grass Station Army Heliport (USA) LSER,Raron Heliport (Switzerland) LSEZ,Zermatt Heliport (Switzerland) @@ -41138,7 +41138,7 @@ LW73,Štip Airstrip,MK LW74,Logovardi Sport Aerodrome,MK LW75,Stenkovec Brazda Airport,MK LW76,Mavrovica Airfield,MK -LWA,Lebak Rural Airport,PH +LWA,Lebak Rural Airport (Philippines) LWD,Lamoni Municipal Airport (USA) LWOH,Ohrid St. Paul the Apostle Airport,MK LWSK,Skopje International Airport,MK @@ -41314,7 +41314,7 @@ MA6,Monponsett Pond Seaplane Base (USA) MA60,St Luke's Hospital Heliport (USA) MA62,Sampson Pond Heliport (USA) MA63,Sherman-Private Airport (USA) -MA64,Pheasant Field (USA) +MA64 (Philippines)easant Field (USA) MA65,Island Air Service Seaplane Base (USA) MA66,Wolomolopoag STOLport (USA) MA67,Tgp Heliport (USA) @@ -42257,7 +42257,7 @@ MO2,Flying Bar H Ranch Airport (USA) MO20,Nevada Regional Medical Center Heliport (USA) MO21,St Joseph Health Center Heliport (USA) MO22,Jta Asbell Field (USA) -MO23,Phillips Field (USA) +MO23 (Philippines)illips Field (USA) MO24,Lonesome Sky Airport (USA) MO25,Show Me The Sky Airport (USA) MO26,Peterson Farm Airport (USA) @@ -45194,7 +45194,7 @@ MZ-0057,Chupanga Airport,MZ MZ-0058,Tambara Airport,MZ MZ-0059,Emboqui Airport,MZ MZ-TGS,Chokwé Airport,MZ -MZBZ,Philip S. W. Goldson International Airport,BZ +MZBZ (Philippines)ilip S. W. Goldson International Airport,BZ MZE,Manatee Airport,BZ MZJC,Johnny Chan Chen Airstrip,BZ MZMF,San Ignacio Town (Maya Flats) Airstrip,BZ @@ -45455,7 +45455,7 @@ NA71,M. Bodvig Airstrip (USA) NA73,Welstad Farms Airstrip (USA) NA75,Lill Strip (USA) NA77,Mc Gee Strip (USA) -NA79,Philbrick Private Airstrip (USA) +NA79 (Philippines)ilbrick Private Airstrip (USA) NA81,Central Valley Aviation Airport (USA) NA84,L. Seckerson Airstrip (USA) NA86,Johnson Private Airstrip (USA) @@ -46402,7 +46402,7 @@ NP-0004,Hotel Everest View Heliport,NP NP-0005,Tengboche Monastery Heliport,NP NP-0006,Rivendell Lodge Heliport,NP NP-0007,Mount Everest Base Camp Heliport,NP -NP-0008,Pheriche Heliport,NP +NP-0008 (Philippines)eriche Heliport,NP NP-0009,Kala Patthar Heliport,NP NP-0010,Tengboche Heliport,NP NP-0011,Khumjung Heliport,NP @@ -46737,7 +46737,7 @@ NY9,Long Lake /Helms Seaplane Base (USA) NY90,Medina Memorial Hospital Heliport (USA) NY91,Smithfield Airport (USA) NY92,Owasco Airport (USA) -NY93,Phillipsburg Landing Heliport (USA) +NY93 (Philippines)illipsburg Landing Heliport (USA) NY94,Old Rhinebeck Aerodrome (USA) NY96,Mexico Airdrome Airport (USA) NY97,Northway Airport (USA) @@ -46863,7 +46863,7 @@ NZFJ,Franz Josef Aerodrome (New Zealand) NZFP,Foxpine Aerodrome (New Zealand) NZFR,Franz Josef Heliport (New Zealand) NZFT,Flat Point Aerodrome (New Zealand) -NZFX,Phoenix Airfield,AQ +NZFX (Philippines)oenix Airfield,AQ NZGA,Galatea Airfield (New Zealand) NZGB,Great Barrier Aerodrome (New Zealand) NZGC,Gore3 Airport (New Zealand) @@ -47389,7 +47389,7 @@ OI26,Hillcrest Airport (USA) OI27,Checkpoint Charlie Airport (USA) OI28,Lanker Airport (USA) OI29,Yellowbird Farm Airport (USA) -OI31,Pheasant Run Airport (USA) +OI31 (Philippines)easant Run Airport (USA) OI32,Stoney's Airport (USA) OI33,Ruhlin Heliport (USA) OI34,Fricke Airport (USA) @@ -48358,7 +48358,7 @@ PAKN,King Salmon Airport (USA) PAKO,Nikolski Air Station (USA) PAKP,Anaktuvuk Pass Airport (USA) PAKT,Ketchikan International Airport (USA) -PAKU,Ugnu-Kuparuk Airport (USA) +PAKU (Uganda)nu-Kuparuk Airport (USA) PAKV,Kaltag Airport (USA) PAKW,Klawock Airport (USA) PAKY,Karluk Airport (USA) @@ -48658,577 +48658,577 @@ PGSN,Saipan International Airport,MP PGUA,Andersen Air Force Base,GU PGUM,Antonio B. Won Pat International Airport,GU PGWT,Tinian International Airport,MP -PH-0001,Laguindingan International Airport,PH -PH-0002,San Antonio Airport,PH -PH-0003,Azagra Airstrip,PH -PH-0004,Wao Airport,PH -PH-0005,Tuy Airstrip,PH -PH-0006,Rancudo Airfield,PH -PH-0007,Don Jesus Soriano (Doña Rosario) Airstrip,PH -PH-0008,Quezon Power Plant Heliport,PH -PH-0009,Chevron Terminal Heliport,PH -PH-0010,Cochem Heliport (Danglayan),PH -PH-0011,Santa Rita Power Plant Heliport,PH -PH-0012,Shell Malampaya Natural Gas Receiving Facility (Tabangao) Heliport,PH -PH-0013,JG Summit Olefins Corporation (Pinamucan) Helipad,PH -PH-0014,Himmel Industries Tank Farm Heliport,PH -PH-0015,KEPCO Ilijan Power Plant Heliport,PH -PH-0016,Bayview Accommodations Heliport,PH -PH-0017,Naval Station Julhasan Arasain Heliport,PH -PH-0018,Tugawe Cover Resort Helipad,PH -PH-0019,Reserva Helipad,PH -PH-0020,Paracale Airstrip,PH -PH-0021,Naval Base Ernesto Ogbinar Heliport,PH -PH-0022,Dinapigue Airstrip,PH -PH-0023,Maconacon Airstrip,PH -PH-0024,Taggat Airstrip,PH -PH-0025,Bauang Power Plant Heliport,PH -PH-0026,Bauang Power Plant Helipad,PH -PH-0027,Wenceslao Heliport,PH -PH-0028,Baquioen Heliport,PH -PH-0029,Sual Power Plant Heliport,PH -PH-0030,Naulo Point Airstrip,PH -PH-0031,Naval Station Leovigildo Gantioqui Heliport,PH -PH-0032,Bataan Nuclear Power Plant Heliport,PH -PH-0033,Manila International Container Terminal (MICT) Heliport,PH -PH-0034,Manila North Harbor Container Terminal Helipad,PH -PH-0035,Joy-Nostalg Heliport,PH -PH-0036,SM Megamall (Building A) Heliport,PH -PH-0037,Malayan Plaza Heliport,PH -PH-0038,BDO Corporate Center Heliport,PH -PH-0039,Discovery Suites Heliport,PH -PH-0040,Philippine Stock Exchange West Tower Heliport,PH -PH-0041,Philippine Stock Exchange East Tower Heliport,PH -PH-0042,San Miguel Corporate Heliport,PH -PH-0043,SM Megamall (Building B) Heliport,PH -PH-0044,TSD Communications Department Heliport,PH -PH-0045,Orient Square Heliport,PH -PH-0046,Taipan Place Heliport,PH -PH-0047,iSquare Heliport,PH -PH-0048,Union Bank Plaza Heliport,PH -PH-0049,MERALCO Ortigas Heliport,PH -PH-0050,Eton Cyberpod Helipads,PH -PH-0051,Philippine Coast Guard Manila Ready Force Base Helipad,PH -PH-0052,Manila South Harbor Pier 13 Heliport,PH -PH-0053,Manila Hotel Heliport,PH -PH-0054,Port of Manila South Harbor Pier 17 Helipad,PH -PH-0055,Naval Station Jose Andrada Heliport,PH -PH-0056,Sofitel Philippine Plaza Hotel Heliport,PH -PH-0057,CCP Open Grounds Heliport,PH -PH-0058,Conrad Manila Hotel Heliport,PH -PH-0059,Solaire Manila Resort & Casino Heliport 1,PH -PH-0060,Solaire Manila Resort & Casino Heliport 2,PH -PH-0061,Fort Felipe Naval Logistics Center Heliport,PH -PH-0062,Petron Rosario Refinery Helipad,PH -PH-0063,Capipisa (Tanza) Heliport,PH -PH-0064,General Gregorio Lim Marine Base Heliport,PH -PH-0065,Balaytigue Heliport,PH -PH-0066,Talim Point Airstrip,PH -PH-0067,Lago de Oro Wakepark Hotel Helipad,PH -PH-0068,Purefoods Flour Mills Pulong Balibaguhan Heliport,PH -PH-0069,Fuga Airstrip,PH -PH-0070,Barit Island Airstrip,PH -PH-0071,Mabag Island Airstrip,PH -PH-0072,Camalaniugan Airport,PH -PH-0073,Cagayan North International Airport,PH -PH-0074,Lal-lo Airstrip,PH -PH-0075,Jose Paredes Airbase,PH -PH-0076,Divilacan Airstrip,PH -PH-0077,Clark International Airport South Ramp Heliport,PH -PH-0078,Lieutenant Cesar Base Air Base Heliport,PH -PH-0079,PNOC Industrial Park Helipad,PH -PH-0080,207th Tactical Helicopter Squadron Heliport,PH -PH-0081,Corregidor South Dock Heliport,PH -PH-0082,Corregidor Parade Ground Heliport,PH -PH-0083,Manila Marriott Hotel Heliport,PH -PH-0084,Acoje Mine Helipad,PH -PH-0085,Alto Airfield,PH -PH-0086,Alto Airfield Helipad,PH -PH-0087,Apuao Grande Island Airstrip,PH -PH-0088,Barlo Airstrip,PH -PH-0089,Manny W Barradas Airstrip,PH -PH-0090,Binalonan Airport,PH -PH-0091,Bundagul Airstrip (Highway Strip),PH -PH-0092,Cabaluyan Airstrip,PH -PH-0093,Calatagan (Hacienda Zobel) Airstrip,PH -PH-0094,Calatagan (Hacienda Zobel) Heliport,PH -PH-0095,Dibagat Airstrip,PH -PH-0096,Hermana Mayor Island Airstrip,PH -PH-0097,Hermana Menor Island Airstrip,PH -PH-0098,Ibonan Airstrip,PH -PH-0099,Lepanto Mines Airstrip,PH -PH-0100,Nampicuan Airstrip,PH -PH-0101,Cojuangco Airstrip,PH -PH-0102,Pinili Airstrip,PH -PH-0103,Poon Coto Airstrip,PH -PH-0104,Poon Coto Heliport,PH -PH-0105,Samal (Bataan 2020) Airstrip,PH -PH-0106,Santa Rosa Airstrip,PH -PH-0107,Woodland Airpark,PH -PH-0108,Captain Mateo Capinpin Airstrip,PH -PH-0109,San Vicente Naval Airstrip,PH -PH-0110,Cabanatuan Airstrip (Camp Tinio),PH -PH-0111,Canlubang Airstrip,PH -PH-0112,Echague Airstrip,PH -PH-0113,Mabalacat East Airfield (Kamikaze East),PH -PH-0114,Mabalacat West Airfield (Kamikaze West),PH -PH-0115,Mangaldan Airfield,PH -PH-0116,Naguilian Airfield,PH -PH-0117,Ayala Tower One / Philippine Exchange Plaza Heliport,PH -PH-0118,Philamlife IT Tower Heliport,PH -PH-0119,Enterprise Center Heliport,PH -PH-0120,BDO Equitable Bank Tower Heliport,PH -PH-0121,BPI Computer Systems Corporation Heliport,PH -PH-0122,Citibank Tower Heliport,PH -PH-0123,Gercon Plaza Heliport,PH -PH-0124,Tiffany Place Heliport,PH -PH-0125,Eurovilla III Heliport,PH -PH-0126,Four Seasons Heliport,PH -PH-0127,West Gate Plaza Heliport,PH -PH-0128,Parklane Condominiums Heliport,PH -PH-0129,Petron Mega Plaza Heliport,PH -PH-0130,BPI Buendia Center Heliport,PH -PH-0131,Development Bank of the Philippines Heliport,PH -PH-0132,Pacific Star Building Heliport,PH -PH-0133,PBCom Tower Heliport,PH -PH-0134,Export Bank Plaza Heliport,PH -PH-0135,Megaworld Heliport,PH -PH-0136,Cocolife Building Heliport,PH -PH-0137,Easton Place Heliport,PH -PH-0138,Allied Bank Center Heliport,PH -PH-0139,PLDT Makati Office Heliport,PH -PH-0140,Frabella I Condominiums Heliport,PH -PH-0141,Pacific Plaza Condominium Heliport,PH -PH-0142,Ritz Tower 2 Heliport,PH -PH-0143,Ritz Tower 1 Heliport,PH -PH-0144,Discovery Primea Heliport,PH -PH-0145,SM Makati Heliport,PH -PH-0146,Asian Development Bank Heliport,PH -PH-0147,Ever Gotesco – Commonwealth Heliport,PH -PH-0148,San Marcellino Airfield,PH -PH-0149,Government Arsenal Heliport,PH -PH-0150,Parañaque Seaplane Base,PH -PH-0151,Camp Panacan Heliport,PH -PH-0152,Petron Bataan Refinery Helipad,PH -PH-0153,Nasipit Heliport,PH -PH-0154,Nasipit Airfield,PH -PH-0155,Findlay Millar Lumber Airstrip,PH -PH-0156,Refugio Airstrip,PH -PH-0157,San Carlos Community Airport [under construction],PH -PH-0158,Wallace Air Force Station Heliport,PH -PH-0159,Balamban Heliport,PH -PH-0160,BDO ATM – Steag Coal Power Plant Villanueva Heliport,PH -PH-0161,Naval Station Romulo Espaldon Heliport,PH -PH-0162,Edwin Andrews Air Force Base Heliport,PH -PH-0163,Isabela Airstrip,PH -PH-0164,Sangi Airstrip,PH -PH-0165,Air Juan Seaplane Base,PH -PH-0166,SM City Rosario Heliport,PH -PH-0167,World Trade Exchange Building Helipad,PH -PH-0168,Porac Airfield,PH -PH-0169,Federal Tower Helipad,PH -PH-0170,Rizal Tower Helipad,PH -PH-0171,Makati City Hall Helipad,PH -PH-0172,Chatham House Helipad,PH -PH-0173,Bataan 2020 Helipad,PH -PH-0174,Sabang South Bay Domestic Airport,PH -PH-0175,Mariveles Power Plant Helipad,PH -PH-0176,Bicobian Bay Airstrip,PH -PH-0177,Batangas Airfield,PH -PH-0178,PAL Aviation and Omni Runway,PH -PH-0179,Angeles University Medical Center Helipad,PH -PH-0180,Potipot Island Helipad,PH -PH-0181,Anvaya Cove Heliport,PH -PH-0182,Hanjin Heavy Industries Corporation Helipad,PH -PH-0183,Long Beach Airstrip,PH -PH-0184,Bataan Field,PH -PH-0185,PhilComSat Heliport,PH -PH-0186,Ernajos Strip,PH -PH-0187,Carranglan Airstrip,PH -PH-0188,Salolwan Airstrip,PH -PH-0189,Catanauan Airstrip,PH -PH-0190,Buenavista Airfield,PH -PH-0191,Magallanes Airstrip,PH -PH-0192,Doña Flavia Airstrip,PH -PH-0193,Kasapa Airstrip,PH -PH-0194,Laminga Airstrip,PH -PH-0195,Santa Josefa (Aurora) Airstrip,PH -PH-0196,Waloe Airstrip,PH -PH-0197,Guianga Airstrip,PH -PH-0198,Consuelo Airstrip 1,PH -PH-0199,Consuelo Airstrip 2,PH -PH-0200,Cogonon Airstrip,PH -PH-0201,Dizon Airstrip,PH -PH-0202,Mampising (LADECO-Maryland) Airstrip,PH -PH-0203,Mapawa Airstrip,PH -PH-0204,Mawab Airstrip,PH -PH-0205,Neda Airstrip,PH -PH-0206,Tagum Airport / Pangi (Rico Vista) Airstrip,PH -PH-0207,Tibagon Airstrip,PH -PH-0208,Air Juan Boracay Seaplane Terminal,PH -PH-0209,Nielson Field,PH -PH-0210,Dewey Boulevard Airstrip,PH -PH-0211,Zablan Airfield,PH -PH-0212,Medical City Helipad,PH -PH-0213,Mandaluyong East Airfield,PH -PH-0214,Air Juan Puerto Galera Seaplane Base,PH -PH-0215,Angeles West Airfield,PH -PH-0216,Balara Airfield,PH -PH-0217,Marikina Airfield,PH -PH-0218,Philippine National Bank Angono Branch Helipad,PH -PH-0219,SM Center Angono Helipad,PH -PH-0220,SM City Batangas Heliport,PH -PH-0221,Puting Kahoy Airstrip,PH -PH-0222,Nasugbu Airfield,PH -PH-0223,SM City Lipa Heliport,PH -PH-0224,SM City San Pablo Heliport,PH -PH-0225,DOST-PCAARRD Heliport,PH -PH-0226,SM City Calamba Heliport,PH -PH-0227,Fastech Helipad,PH -PH-0228,Santa Rosa Helipad,PH -PH-0229,SM City Lucena Heliport,PH -PH-0230,SM City Rosales Heliport,PH -PH-0231,Cuyapo Airstrip,PH -PH-0232,Bitulok Airstrip,PH -PH-0233,SM City Cabanatuan Heliport,PH -PH-0234,SM City Taytay Heliport,PH -PH-0235,SM City Clark Heliport,PH -PH-0236,SM City Urdaneta Heliport,PH -PH-0237,SM CIty Tarlac Heliport,PH -PH-0238,Camp Aquino Heliport,PH -PH-0239,San Manuel Airstrip,PH -PH-0240,Lichuaco Airfield,PH -PH-0241,San Roque Dam Heliport,PH -PH-0242,Camp John Hay Forest Lodge Helipad,PH -PH-0243,Camp John Hay White House Helipad,PH -PH-0244,Camp John Hay Country Estates Helipad,PH -PH-0245,Monde Nissin Helipad,PH -PH-0246,Luna Airfield,PH -PH-0247,Calayan Airport,PH -PH-0248,North Avenue / Quezon City Airfield,PH -PH-0249,SM City San Lazaro Heliport,PH -PH-0250,Winford Manila Heliport,PH -PH-0251,General Emilio Aguinaldo Airstrip,PH -PH-0252,Cagsiay Airstrip,PH -PH-0253,Balayan (Magabe) Airfield,PH -PH-0254,Coral Shores Heliport,PH -PH-0255,Orani Airfield,PH -PH-0256,Pilar Airfield,PH -PH-0257,Caballo Island Naval Heliport,PH -PH-0258,Taal Lake Yacht Club Heliport,PH -PH-0259,Royale Tagaytay Helipad,PH -PH-0260,Lapanday Foods Delta Airstrip,PH -PH-0261,Mabantao Airstrip,PH -PH-0262,Sampao Airstrip,PH -PH-0263,One E-Com Center Helipad,PH -PH-0264,SM Mall of Asia North Wing Helipad,PH -PH-0265,SM Mall of Asia South Wing Helipad,PH -PH-0266,GSIS Complex Helipad,PH -PH-0267,Philippine National Bank Financial Complex Heliport,PH -PH-0268,Malacañang Park Heliport,PH -PH-0269,SM City Pampanga Heliport,PH -PH-0270,Lamitan Airstrip,PH -PH-0271,SM City Dasmariñas Helipad,PH -PH-0272,SM Center Las Piñas Helipad,PH -PH-0273,Gapuzan Trucking Inc Helipad,PH -PH-0274,SM City Trece Martires Heliport,PH -PH-0275,SM City Bicutan Heliport,PH -PH-0276,SM City Bacoor Heliport,PH -PH-0277,SM City BF Parañaque Heliport,PH -PH-0278,SM City Baliwag Heliport,PH -PH-0279,SM City East Ortigas Heliport,PH -PH-0280,SM City Fairview Heliport,PH -PH-0281,SM Center Sangandaan Heliport,PH -PH-0282,SM City Iloilo Heliport,PH -PH-0283,Iloilo/Mandurriao Airport,PH -PH-0284,SM City Legazpi Heliport,PH -PH-0285,SM City San Jose del Monte Heliport,PH -PH-0286,SM City Marilao Heliport,PH -PH-0287,SM City Masinag Heliport,PH -PH-0288,SM City Molino Heliport,PH -PH-0289,SM City Marikina Heliport,PH -PH-0290,SM City North EDSA Heliport,PH -PH-0291,SM City Olongapo Central,PH -PH-0292,SM Center Pulilan Heliport,PH -PH-0293,SM City Santa Mesa Heliport,PH -PH-0294,SM City Novaliches Heliport,PH -PH-0295,SM City Sucat Heliport,PH -PH-0296,SM City San Mateo Heliport,PH -PH-0297,SM City Santa Rosa Heliport,PH -PH-0298,SM Center Tuguegarao Downtown Heliport,PH -PH-0299,SM Center Lemery Heliport,PH -PH-0300,SM Center Muntinlupa Heliport,PH -PH-0301,SM Center Ormoc Heliport,PH -PH-0302,SM Center Valenzuela Heliport,PH -PH-0303,Hamilo Coast Helipad,PH -PH-0304,Sem-Calaca Helipad,PH -PH-0305,Camella Lipa Helipad,PH -PH-0306,Metrobank Plaza Heliport,PH -PH-0307,The Peninsula Heliport,PH -PH-0308,One Roxas Triangle Tower Heliport,PH -PH-0309,Two Roxas Triangle Tower Heliport,PH -PH-0310,Trafalgar Plaza Heliport,PH -PH-0311,Salcedo Park Twin Towers North Heliport,PH -PH-0312,Salcedo Park Twin Towers South Heliport,PH -PH-0313,Classica Tower Heliport,PH -PH-0314,Grand Soho Makati Heliport,PH -PH-0315,ACT Tower Heliport,PH -PH-0316,World Centre Heliport,PH -PH-0317,Camp Crame Heliport,PH -PH-0318,Aurora Tower Helipad,PH -PH-0319,Angeles Airfield,PH -PH-0320,Angeles Northeast Airfield,PH -PH-0321,Grace Park / Manila North Airfield,PH -PH-0322,Naval Station Jose Francisco Heliport,PH -PH-0323,United States Embassy Heliport,PH -PH-0324,SM Southmall Helipad,PH -PH-0325,Fairways Tower Helipad,PH -PH-0326,James Steelworks Heliport,PH -PH-0327,Cavite Naval Hospital Heliport,PH -PH-0328,Maritime Safety Services Command Heliport,PH -PH-0329,Island Cove Heliport,PH -PH-0330,Belvedere Tower Helipad,PH -PH-0331,Pacific Center Building Helipad,PH -PH-0332,Octagon Center Helipad,PH -PH-0333,San Miguel Property Centre Building Helipad,PH -PH-0334,Robinsons Equitable Tower Helipad,PH -PH-0335,AIC Burgundy Empire Tower Helipad,PH -PH-0336,Crowne Plaza Manila Galleria Helipad,PH -PH-0337,Parc Royale Building Helipad,PH -PH-0338,Antel Global Business Center Helipad,PH -PH-0339,Avant Garde Residences Helipad,PH -PH-0340,Prestige Tower Helipad,PH -PH-0341,Raffles Building Helipad,PH -PH-0342,Holiday Inn Galleria Manila Helipad,PH -PH-0343,Caswynn Building Helipad,PH -PH-0344,GMA Network Tower Helipad,PH -PH-0345,Eton Centris Heliport,PH -PH-0346,Eton Heliport,PH -PH-0347,National Office Building Helipad,PH -PH-0348,DILG-NAPOLCOM Center Helipad,PH -PH-0349,New Manila International Airport (under construction),PH -PH-0350,La Libertad Airstrip,PH -PH-0351,TADECO Santo Tomas Airstrip,PH -PH-0352,MEPI Aerodrome,PH -PH-0353,A O Floirendo Airstrip,PH -PH-0354,Searbemco Airstrip,PH -PH-0355,Evergreen Farms Airstrip,PH -PH-0356,Kasilak Airstrip,PH -PH-0357,Madaum Airstrip,PH -PH-0358,New Sambog Airstrip,PH -PH-0359,Alpha Saucedo Condominium Helipad,PH -PH-0360,RCBC Plaza Yuchengco Tower Heliport,PH -PH-0361,ABS-CBN Building Helipad,PH -PH-0362,Orchard Helipad,PH -PH-0363,Camp Bagong Diwa Heliport,PH -PH-0364,Fort Victoria Tower A Helipad,PH -PH-0365,Fort Victoria Tower B Helipad,PH -PH-0366,Fort Victoria Tower C Helipad,PH -PH-0367,Pacific Plaza Towers South Helipad,PH -PH-0368,Pacific Plaza Towers North Helipad,PH -PH-0369,One McKinley Place Helipad,PH -PH-0370,Net One Center Helipad,PH -PH-0371,Picadilly Star Building Helipad,PH -PH-0372,Eight Forbestown Road Helipad,PH -PH-0373,Fort Legend Tower Helipad,PH -PH-0374,Globe Tower Helipad,PH -PH-0375,Saint Luke's Medical Center Bonifacio Global City Heliport,PH -PH-0376,SM Aura Office Tower Helipad,PH -PH-0377,Regent Parkway Condominium Helipad,PH -PH-0378,Essensa 1 Helipad,PH -PH-0379,Del Rosario Law Building Helipad,PH -PH-0380,Essensa 2 Helipad,PH -PH-0381,Solar Century Tower Helipad,PH -PH-0382,Splendido Gardens Helipad,PH -PH-0383,Antel Platinum Towers Helipad,PH -PH-0384,Forbes Tower West Helipad,PH -PH-0385,Liberty Center Helipad,PH -PH-0386,Malolos Sport & Convention Center Helipad,PH -PH-0387,Thousand Islands International Airport (under construction),PH -PH-0388,Sagada Heliport,PH -PH-0389,Baliuag Heliport,PH -PH-0390,Bamban Airfield,PH -PH-0391,Angeles South (Lara) Airfield,PH -PH-0392,Zablan Auxiliary Airfield,PH -PH-0393,Pasig Airfield,PH -PH-0394,Kawit Airfield,PH -PH-0395,Camp O'Donnell Officer Candidate School Heliport,PH -PH-0396,Camp O'Donnell Armor School Heliport,PH -PH-0397,Vernida IV Heliport,PH -PH-0398,BPI-Philam Life Makati Helipad,PH -PH-0399,GT Tower Helipad,PH -PH-0400,LKG Tower Helipad,PH -PH-0401,Cityland Herrera Tower Helipad,PH -PH-0402,Robinsons Summit Center Helipad,PH -PH-0403,Makati Medical Center Heliport,PH -PH-0404,Rufino Pacific Tower Helipad,PH -PH-0405,Lepanto Building Helipad,PH -PH-0406,L V Locsin Building Helipad,PH -PH-0407,Limay (Bataan) Airfield,PH -PH-0408,Cabcaben Airfield,PH -PH-0409,Mariveles Airfield,PH -PH-0410,Akle Airfield,PH -PH-0411,Minuyan Airstrip,PH -PH-0412,San Fernando Tower Helipad,PH -PH-0413,518 Fundidor Street Helipad,PH -PH-0414,Sagay Airfield,PH -PH-0415,Lorenville Heliport,PH -PH-0416,AES Masinloc Heliport,PH -PH-0417,Lapanday Foods Tampakan Airport,PH -PH-0418,Lapanday Foods Guihing Airport,PH -PH-0419,Kling Airport,PH -PH-0420,Lapanday Foods Kalaong Airport,PH -PH-0421,Lapanday Foods Mandug Airport,PH -PH-0422,Milbuk Airport,PH -PH-0423,MILUDECO Airstrip,PH -PH-0424,Malangas Airport,PH -PH-0425,Inandeng Airport,PH -PH-0426,Lakawon Resort Seaplane Base,PH -PH-0427,Lutopan Airstrip,PH -PH-0428,Nabulao Airstrip,PH -PH-0429,Cordon Airport,PH -PH-0430,Pradera Verde Executive Airpark,PH -PH-0431,Casay Airstrip,PH -PH-0432,Sagpangan Airport,PH -PH-0433,Dacudao Airport,PH -PH-0434,Lagao Airport,PH -PH-0435,Tungao Airport,PH -PH-0436,Aras-Asan Airport,PH -PH-0437,Bad-As Airport,PH -PH-0438,Barobo Airport,PH -PH-0439,Diatagon Airport,PH -PH-0440,Lanuza (Carmen) Airport,PH -PH-0441,PICOP Airport,PH -PH-0442,Tagbina Airport,PH -PH-0443,Elmore Airfield,PH -PH-0444,Hill Airfield,PH -PH-0445,Murtha Airfield,PH -PH-0446,Agutaya Airport,PH -PH-0447,Veterans Memorial Medical Center Heliport,PH -PH-0448,Former Lucena Airport,PH -PH-0449,Aparri (Maura) Airport,PH -PH-0450,Malalag Airport,PH -PH-0451,Sarangani Provincial Capitol Heliport,PH -PH-0452,Sultan Kudarat Provincial Capitol Heliport,PH -PH-0453,Maraymaray Airport,PH -PH-0454,Bukidnon Domestic Airport (under construction),PH -PH-0455,Lurugan Airport,PH -PH-0456,Manolo Fortich Airport,PH -PH-0457,La Filipina Airport,PH -PH-0458,Lunga-og Airport,PH -PH-0459,Kapalong Airport,PH -PH-0460,Datu Paglas Airport,PH -PH-0461,Digal Airport,PH -PH-0462,Central Mindanao Airport,PH -PH-0463,President Quirino Airport,PH -PH-0464,Lambayong Airport,PH -PH-0465,Sirawai Airport,PH -PH-0466,Maguindanao del Sur Provincial Capitol Heliport,PH -PH-0467,Masiu Heliport,PH -PH-0468,Boracay Helicopter Adventures Heliport,PH -PH-0469,GreenHeli Boracay Heliport,PH -PH-0470,GreenHeli Boracay Heliport,PH -PH-0471,Lahuy Airport,PH -PH-0472,Tugawe Cove Resort Heliport,PH -PH-0473,Tinambac Airport,PH -PH-0474,Mayon Old Heliport,PH -PH-0475,Mayon Heliport,PH -PH-0476,Chinese General Hospital Heliport,PH -PH-0477,Philippine Merchant Marine Academy Heliport,PH -PH-0478,Dahilayan Heliport,PH -PH-0479,Shangri-La Mactan Island Resort Heliport,PH -PH-0480,Isabela Provincial Capitol Heliport,PH -PH-0481,Lawak Island (Nanshan Island) Helipad,PH -PH-0482,Candaraman Airport,PH -PH-0483,Candaraman Island Helipad,PH -PH-0484,Rio Tuba Airport,PH -PH-0485,Bugsuk (Bonbon) Airport,PH -PH-0486,ABCI Heliport,PH -PH-0487,Didipio Heliport,PH -PH-0488,Mountain View College Airport,PH -PH-0489,Batag Airport,PH -PH-0490,Camotes Airstrip,PH -PH-0491,Air Juan Cebu City South Road Properties Seaplane Terminal,PH -PH-0492,Three Thirty Airstrip,PH -PH-0493,Clark Balloonport,PH -PH-0494,Busuanga Bay Lodge Seaplane Terminal,PH -PH-0495,Huma Island Resort Seaplane Terminal,PH -PH-0496,SUMAPI Airstrip,PH -PH-0497,Coron Rural Airport,PH -PH-0498,Daja Airstrip,PH -PH-0499,Ferrol (Odiongan) Airstrip,PH -PH-0500,Two Seasons Resort Seaplane Terminal,PH -PH-0501,Lahug Airfield,PH -PH-0502,Tagbita Airstrip,PH -PH-0503,Rizal Airport,PH -PH-0504,Philippine Adventist Medical Aviation Service Airstrip,PH -PH-0505,Isugod Airstrip,PH -PH-0506,Berong Airport,PH -PH-0507,Apurawan Airport,PH -PH-0508,Sabang Sheridan Beach Resort Heliport,PH -PH-0509,Bato Airport,PH -PH-0510,Parola Island (Northeast Cay) Helipad,PH -PH-0511,Maya-maya (Viper North Shoal) Helipad,PH -PH-0512,Santa Lucia Mall Heliport,PH -PH-0513,Santa Lucia East Grand Mall Heliport,PH -PH-0514,Tarumpitao Point Airfield,PH -PH-0515,Brooke's Point Airstrip,PH -PH-0516,Samariniana Airfield,PH -PH-0517,Bataraza Airport,PH -PH-0518,Sebaring Airstrip,PH -PH-0519,Western Mindanao Community Hospital Heliport,PH -PH-0520,Camp Sang-an Heliport,PH -PH-0521,Camp Peralta Heliport,PH -PH-0522,Camp Dela Cruz Heliport,PH -PH-0523,Camp Lukban Heliport,PH -PH-0524,Camp Lim Heliport,PH -PH-0525,Camp Angeles Heliport,PH -PH-0526,Camp Abat Heliport,PH -PH-0527,Camp Riego de Dios Heliport,PH -PH-0528,Naval Station Juan Magluyan Heliport,PH -PH-0529,Naval Base Rafael Ramos Heliport,PH -PH-0530,Biliran Heliport,PH -PH-0531,Naval Station Carlito Cunanan Heliport,PH -PH-0532,Sebaring Heliport,PH -PH-0533,Guimaras Airport,PH -PH-0534,Naval Station Felix Apolinario Heliport,PH -PH-0535,Okada Manila Rooftop Heliport,PH -PH-0536,Sunview Palace Condominium Helipad,PH -PH-0537,Cunanan Wharf Heliport,PH -PH-0538,TechZone Philippines Building Helipad,PH -PH-0539,Burgundy Corporate Tower Helipad,PH -PH-0540,Camilla & Lumina Heliport,PH -PH-0541,Caylabne Bay Resort Heliport,PH -PH-0542,Paniman Beach Resort Heliport,PH -PH-0543,Sabang South Bay Seaplane Base,PH -PH-0544,Musahamat Farms Airport,PH -PH-0545,PIntatagan Airport,PH -PH-0546,Macangao Airport,PH -PH-0547,Union Airstrip,PH -PH-0548,Talayan Airport,PH -PH-0549,Plamango Heliport,PH -PH-0550,Magatos Airport,PH -PH-0551,Lapanday Foods Macgum Airport,PH -PH-0552,Matling Industrial and Commercial Corporation Airstrip,PH -PH-0553,Balabagan Airport,PH -PH-0554,Kalamansig Airport,PH -PH-0555,Bascon Heliport,PH -PH-0556,Philippines Paramotor Training Field,PH -PH-0557,Danao Ultralight Airport,PH -PH-0558,Kenram Airport,PH -PH-0559,Washington Tower Helipad,PH -PH-0560,Cleveland Tower Helipad,PH -PH-0561,Burgundy McKinley Place Helipad,PH -PH-0562,Okada Manila Ground Heliport,PH -PH-0563,Five E-Com Center Helipad,PH -PH-0564,City of Dreams Manila Helipad,PH -PH-0565,Manato Airport,PH -PH-0566,Amoroy Airport,PH -PH-0567,Calanay Airport,PH -PH-0568,Taratak Airfield,PH -PH-0569,Ri-Rance Helipad,PH -PH-0570,Camp Nakar Heliport,PH -PH-ENI,El Nido Airport,PH +PH-0001,Laguindingan International Airport (Philippines) +PH-0002,San Antonio Airport (Philippines) +PH-0003,Azagra Airstrip (Philippines) +PH-0004,Wao Airport (Philippines) +PH-0005,Tuy Airstrip (Philippines) +PH-0006,Rancudo Airfield (Philippines) +PH-0007,Don Jesus Soriano (Doña Rosario) Airstrip (Philippines) +PH-0008,Quezon Power Plant Heliport (Philippines) +PH-0009,Chevron Terminal Heliport (Philippines) +PH-0010,Cochem Heliport (Danglayan) (Philippines) +PH-0011,Santa Rita Power Plant Heliport (Philippines) +PH-0012,Shell Malampaya Natural Gas Receiving Facility (Tabangao) Heliport (Philippines) +PH-0013,JG Summit Olefins Corporation (Pinamucan) Helipad (Philippines) +PH-0014,Himmel Industries Tank Farm Heliport (Philippines) +PH-0015,KEPCO Ilijan Power Plant Heliport (Philippines) +PH-0016,Bayview Accommodations Heliport (Philippines) +PH-0017,Naval Station Julhasan Arasain Heliport (Philippines) +PH-0018,Tugawe Cover Resort Helipad (Philippines) +PH-0019,Reserva Helipad (Philippines) +PH-0020,Paracale Airstrip (Philippines) +PH-0021,Naval Base Ernesto Ogbinar Heliport (Philippines) +PH-0022,Dinapigue Airstrip (Philippines) +PH-0023,Maconacon Airstrip (Philippines) +PH-0024,Taggat Airstrip (Philippines) +PH-0025,Bauang Power Plant Heliport (Philippines) +PH-0026,Bauang Power Plant Helipad (Philippines) +PH-0027,Wenceslao Heliport (Philippines) +PH-0028,Baquioen Heliport (Philippines) +PH-0029,Sual Power Plant Heliport (Philippines) +PH-0030,Naulo Point Airstrip (Philippines) +PH-0031,Naval Station Leovigildo Gantioqui Heliport (Philippines) +PH-0032,Bataan Nuclear Power Plant Heliport (Philippines) +PH-0033,Manila International Container Terminal (MICT) Heliport (Philippines) +PH-0034,Manila North Harbor Container Terminal Helipad (Philippines) +PH-0035,Joy-Nostalg Heliport (Philippines) +PH-0036,SM Megamall (Building A) Heliport (Philippines) +PH-0037,Malayan Plaza Heliport (Philippines) +PH-0038,BDO Corporate Center Heliport (Philippines) +PH-0039,Discovery Suites Heliport (Philippines) +PH-0040 (Philippines)ilippine Stock Exchange West Tower Heliport (Philippines) +PH-0041 (Philippines)ilippine Stock Exchange East Tower Heliport (Philippines) +PH-0042,San Miguel Corporate Heliport (Philippines) +PH-0043,SM Megamall (Building B) Heliport (Philippines) +PH-0044,TSD Communications Department Heliport (Philippines) +PH-0045,Orient Square Heliport (Philippines) +PH-0046,Taipan Place Heliport (Philippines) +PH-0047,iSquare Heliport (Philippines) +PH-0048,Union Bank Plaza Heliport (Philippines) +PH-0049,MERALCO Ortigas Heliport (Philippines) +PH-0050,Eton Cyberpod Helipads (Philippines) +PH-0051 (Philippines)ilippine Coast Guard Manila Ready Force Base Helipad (Philippines) +PH-0052,Manila South Harbor Pier 13 Heliport (Philippines) +PH-0053,Manila Hotel Heliport (Philippines) +PH-0054,Port of Manila South Harbor Pier 17 Helipad (Philippines) +PH-0055,Naval Station Jose Andrada Heliport (Philippines) +PH-0056,Sofitel Philippine Plaza Hotel Heliport (Philippines) +PH-0057,CCP Open Grounds Heliport (Philippines) +PH-0058,Conrad Manila Hotel Heliport (Philippines) +PH-0059,Solaire Manila Resort & Casino Heliport 1 (Philippines) +PH-0060,Solaire Manila Resort & Casino Heliport 2 (Philippines) +PH-0061,Fort Felipe Naval Logistics Center Heliport (Philippines) +PH-0062,Petron Rosario Refinery Helipad (Philippines) +PH-0063,Capipisa (Tanza) Heliport (Philippines) +PH-0064,General Gregorio Lim Marine Base Heliport (Philippines) +PH-0065,Balaytigue Heliport (Philippines) +PH-0066,Talim Point Airstrip (Philippines) +PH-0067,Lago de Oro Wakepark Hotel Helipad (Philippines) +PH-0068,Purefoods Flour Mills Pulong Balibaguhan Heliport (Philippines) +PH-0069,Fuga Airstrip (Philippines) +PH-0070,Barit Island Airstrip (Philippines) +PH-0071,Mabag Island Airstrip (Philippines) +PH-0072,Camalaniugan Airport (Philippines) +PH-0073,Cagayan North International Airport (Philippines) +PH-0074,Lal-lo Airstrip (Philippines) +PH-0075,Jose Paredes Airbase (Philippines) +PH-0076,Divilacan Airstrip (Philippines) +PH-0077,Clark International Airport South Ramp Heliport (Philippines) +PH-0078,Lieutenant Cesar Base Air Base Heliport (Philippines) +PH-0079,PNOC Industrial Park Helipad (Philippines) +PH-0080,207th Tactical Helicopter Squadron Heliport (Philippines) +PH-0081,Corregidor South Dock Heliport (Philippines) +PH-0082,Corregidor Parade Ground Heliport (Philippines) +PH-0083,Manila Marriott Hotel Heliport (Philippines) +PH-0084,Acoje Mine Helipad (Philippines) +PH-0085,Alto Airfield (Philippines) +PH-0086,Alto Airfield Helipad (Philippines) +PH-0087,Apuao Grande Island Airstrip (Philippines) +PH-0088,Barlo Airstrip (Philippines) +PH-0089,Manny W Barradas Airstrip (Philippines) +PH-0090,Binalonan Airport (Philippines) +PH-0091,Bundagul Airstrip (Highway Strip) (Philippines) +PH-0092,Cabaluyan Airstrip (Philippines) +PH-0093,Calatagan (Hacienda Zobel) Airstrip (Philippines) +PH-0094,Calatagan (Hacienda Zobel) Heliport (Philippines) +PH-0095,Dibagat Airstrip (Philippines) +PH-0096,Hermana Mayor Island Airstrip (Philippines) +PH-0097,Hermana Menor Island Airstrip (Philippines) +PH-0098,Ibonan Airstrip (Philippines) +PH-0099,Lepanto Mines Airstrip (Philippines) +PH-0100,Nampicuan Airstrip (Philippines) +PH-0101,Cojuangco Airstrip (Philippines) +PH-0102,Pinili Airstrip (Philippines) +PH-0103,Poon Coto Airstrip (Philippines) +PH-0104,Poon Coto Heliport (Philippines) +PH-0105,Samal (Bataan 2020) Airstrip (Philippines) +PH-0106,Santa Rosa Airstrip (Philippines) +PH-0107,Woodland Airpark (Philippines) +PH-0108,Captain Mateo Capinpin Airstrip (Philippines) +PH-0109,San Vicente Naval Airstrip (Philippines) +PH-0110,Cabanatuan Airstrip (Camp Tinio) (Philippines) +PH-0111,Canlubang Airstrip (Philippines) +PH-0112,Echague Airstrip (Philippines) +PH-0113,Mabalacat East Airfield (Kamikaze East) (Philippines) +PH-0114,Mabalacat West Airfield (Kamikaze West) (Philippines) +PH-0115,Mangaldan Airfield (Philippines) +PH-0116,Naguilian Airfield (Philippines) +PH-0117,Ayala Tower One / Philippine Exchange Plaza Heliport (Philippines) +PH-0118 (Philippines)ilamlife IT Tower Heliport (Philippines) +PH-0119,Enterprise Center Heliport (Philippines) +PH-0120,BDO Equitable Bank Tower Heliport (Philippines) +PH-0121,BPI Computer Systems Corporation Heliport (Philippines) +PH-0122,Citibank Tower Heliport (Philippines) +PH-0123,Gercon Plaza Heliport (Philippines) +PH-0124,Tiffany Place Heliport (Philippines) +PH-0125,Eurovilla III Heliport (Philippines) +PH-0126,Four Seasons Heliport (Philippines) +PH-0127,West Gate Plaza Heliport (Philippines) +PH-0128,Parklane Condominiums Heliport (Philippines) +PH-0129,Petron Mega Plaza Heliport (Philippines) +PH-0130,BPI Buendia Center Heliport (Philippines) +PH-0131,Development Bank of the Philippines Heliport (Philippines) +PH-0132,Pacific Star Building Heliport (Philippines) +PH-0133,PBCom Tower Heliport (Philippines) +PH-0134,Export Bank Plaza Heliport (Philippines) +PH-0135,Megaworld Heliport (Philippines) +PH-0136,Cocolife Building Heliport (Philippines) +PH-0137,Easton Place Heliport (Philippines) +PH-0138,Allied Bank Center Heliport (Philippines) +PH-0139,PLDT Makati Office Heliport (Philippines) +PH-0140,Frabella I Condominiums Heliport (Philippines) +PH-0141,Pacific Plaza Condominium Heliport (Philippines) +PH-0142,Ritz Tower 2 Heliport (Philippines) +PH-0143,Ritz Tower 1 Heliport (Philippines) +PH-0144,Discovery Primea Heliport (Philippines) +PH-0145,SM Makati Heliport (Philippines) +PH-0146,Asian Development Bank Heliport (Philippines) +PH-0147,Ever Gotesco – Commonwealth Heliport (Philippines) +PH-0148,San Marcellino Airfield (Philippines) +PH-0149,Government Arsenal Heliport (Philippines) +PH-0150,Parañaque Seaplane Base (Philippines) +PH-0151,Camp Panacan Heliport (Philippines) +PH-0152,Petron Bataan Refinery Helipad (Philippines) +PH-0153,Nasipit Heliport (Philippines) +PH-0154,Nasipit Airfield (Philippines) +PH-0155,Findlay Millar Lumber Airstrip (Philippines) +PH-0156,Refugio Airstrip (Philippines) +PH-0157,San Carlos Community Airport [under construction] (Philippines) +PH-0158,Wallace Air Force Station Heliport (Philippines) +PH-0159,Balamban Heliport (Philippines) +PH-0160,BDO ATM – Steag Coal Power Plant Villanueva Heliport (Philippines) +PH-0161,Naval Station Romulo Espaldon Heliport (Philippines) +PH-0162,Edwin Andrews Air Force Base Heliport (Philippines) +PH-0163,Isabela Airstrip (Philippines) +PH-0164,Sangi Airstrip (Philippines) +PH-0165,Air Juan Seaplane Base (Philippines) +PH-0166,SM City Rosario Heliport (Philippines) +PH-0167,World Trade Exchange Building Helipad (Philippines) +PH-0168,Porac Airfield (Philippines) +PH-0169,Federal Tower Helipad (Philippines) +PH-0170,Rizal Tower Helipad (Philippines) +PH-0171,Makati City Hall Helipad (Philippines) +PH-0172,Chatham House Helipad (Philippines) +PH-0173,Bataan 2020 Helipad (Philippines) +PH-0174,Sabang South Bay Domestic Airport (Philippines) +PH-0175,Mariveles Power Plant Helipad (Philippines) +PH-0176,Bicobian Bay Airstrip (Philippines) +PH-0177,Batangas Airfield (Philippines) +PH-0178,PAL Aviation and Omni Runway (Philippines) +PH-0179,Angeles University Medical Center Helipad (Philippines) +PH-0180,Potipot Island Helipad (Philippines) +PH-0181,Anvaya Cove Heliport (Philippines) +PH-0182,Hanjin Heavy Industries Corporation Helipad (Philippines) +PH-0183,Long Beach Airstrip (Philippines) +PH-0184,Bataan Field (Philippines) +PH-0185 (Philippines)ilComSat Heliport (Philippines) +PH-0186,Ernajos Strip (Philippines) +PH-0187,Carranglan Airstrip (Philippines) +PH-0188,Salolwan Airstrip (Philippines) +PH-0189,Catanauan Airstrip (Philippines) +PH-0190,Buenavista Airfield (Philippines) +PH-0191,Magallanes Airstrip (Philippines) +PH-0192,Doña Flavia Airstrip (Philippines) +PH-0193,Kasapa Airstrip (Philippines) +PH-0194,Laminga Airstrip (Philippines) +PH-0195,Santa Josefa (Aurora) Airstrip (Philippines) +PH-0196,Waloe Airstrip (Philippines) +PH-0197,Guianga Airstrip (Philippines) +PH-0198,Consuelo Airstrip 1 (Philippines) +PH-0199,Consuelo Airstrip 2 (Philippines) +PH-0200,Cogonon Airstrip (Philippines) +PH-0201,Dizon Airstrip (Philippines) +PH-0202,Mampising (LADECO-Maryland) Airstrip (Philippines) +PH-0203,Mapawa Airstrip (Philippines) +PH-0204,Mawab Airstrip (Philippines) +PH-0205,Neda Airstrip (Philippines) +PH-0206,Tagum Airport / Pangi (Rico Vista) Airstrip (Philippines) +PH-0207,Tibagon Airstrip (Philippines) +PH-0208,Air Juan Boracay Seaplane Terminal (Philippines) +PH-0209,Nielson Field (Philippines) +PH-0210,Dewey Boulevard Airstrip (Philippines) +PH-0211,Zablan Airfield (Philippines) +PH-0212,Medical City Helipad (Philippines) +PH-0213,Mandaluyong East Airfield (Philippines) +PH-0214,Air Juan Puerto Galera Seaplane Base (Philippines) +PH-0215,Angeles West Airfield (Philippines) +PH-0216,Balara Airfield (Philippines) +PH-0217,Marikina Airfield (Philippines) +PH-0218 (Philippines)ilippine National Bank Angono Branch Helipad (Philippines) +PH-0219,SM Center Angono Helipad (Philippines) +PH-0220,SM City Batangas Heliport (Philippines) +PH-0221,Puting Kahoy Airstrip (Philippines) +PH-0222,Nasugbu Airfield (Philippines) +PH-0223,SM City Lipa Heliport (Philippines) +PH-0224,SM City San Pablo Heliport (Philippines) +PH-0225,DOST-PCAARRD Heliport (Philippines) +PH-0226,SM City Calamba Heliport (Philippines) +PH-0227,Fastech Helipad (Philippines) +PH-0228,Santa Rosa Helipad (Philippines) +PH-0229,SM City Lucena Heliport (Philippines) +PH-0230,SM City Rosales Heliport (Philippines) +PH-0231,Cuyapo Airstrip (Philippines) +PH-0232,Bitulok Airstrip (Philippines) +PH-0233,SM City Cabanatuan Heliport (Philippines) +PH-0234,SM City Taytay Heliport (Philippines) +PH-0235,SM City Clark Heliport (Philippines) +PH-0236,SM City Urdaneta Heliport (Philippines) +PH-0237,SM CIty Tarlac Heliport (Philippines) +PH-0238,Camp Aquino Heliport (Philippines) +PH-0239,San Manuel Airstrip (Philippines) +PH-0240,Lichuaco Airfield (Philippines) +PH-0241,San Roque Dam Heliport (Philippines) +PH-0242,Camp John Hay Forest Lodge Helipad (Philippines) +PH-0243,Camp John Hay White House Helipad (Philippines) +PH-0244,Camp John Hay Country Estates Helipad (Philippines) +PH-0245,Monde Nissin Helipad (Philippines) +PH-0246,Luna Airfield (Philippines) +PH-0247,Calayan Airport (Philippines) +PH-0248,North Avenue / Quezon City Airfield (Philippines) +PH-0249,SM City San Lazaro Heliport (Philippines) +PH-0250,Winford Manila Heliport (Philippines) +PH-0251,General Emilio Aguinaldo Airstrip (Philippines) +PH-0252,Cagsiay Airstrip (Philippines) +PH-0253,Balayan (Magabe) Airfield (Philippines) +PH-0254,Coral Shores Heliport (Philippines) +PH-0255,Orani Airfield (Philippines) +PH-0256,Pilar Airfield (Philippines) +PH-0257,Caballo Island Naval Heliport (Philippines) +PH-0258,Taal Lake Yacht Club Heliport (Philippines) +PH-0259,Royale Tagaytay Helipad (Philippines) +PH-0260,Lapanday Foods Delta Airstrip (Philippines) +PH-0261,Mabantao Airstrip (Philippines) +PH-0262,Sampao Airstrip (Philippines) +PH-0263,One E-Com Center Helipad (Philippines) +PH-0264,SM Mall of Asia North Wing Helipad (Philippines) +PH-0265,SM Mall of Asia South Wing Helipad (Philippines) +PH-0266,GSIS Complex Helipad (Philippines) +PH-0267 (Philippines)ilippine National Bank Financial Complex Heliport (Philippines) +PH-0268,Malacañang Park Heliport (Philippines) +PH-0269,SM City Pampanga Heliport (Philippines) +PH-0270,Lamitan Airstrip (Philippines) +PH-0271,SM City Dasmariñas Helipad (Philippines) +PH-0272,SM Center Las Piñas Helipad (Philippines) +PH-0273,Gapuzan Trucking Inc Helipad (Philippines) +PH-0274,SM City Trece Martires Heliport (Philippines) +PH-0275,SM City Bicutan Heliport (Philippines) +PH-0276,SM City Bacoor Heliport (Philippines) +PH-0277,SM City BF Parañaque Heliport (Philippines) +PH-0278,SM City Baliwag Heliport (Philippines) +PH-0279,SM City East Ortigas Heliport (Philippines) +PH-0280,SM City Fairview Heliport (Philippines) +PH-0281,SM Center Sangandaan Heliport (Philippines) +PH-0282,SM City Iloilo Heliport (Philippines) +PH-0283,Iloilo/Mandurriao Airport (Philippines) +PH-0284,SM City Legazpi Heliport (Philippines) +PH-0285,SM City San Jose del Monte Heliport (Philippines) +PH-0286,SM City Marilao Heliport (Philippines) +PH-0287,SM City Masinag Heliport (Philippines) +PH-0288,SM City Molino Heliport (Philippines) +PH-0289,SM City Marikina Heliport (Philippines) +PH-0290,SM City North EDSA Heliport (Philippines) +PH-0291,SM City Olongapo Central (Philippines) +PH-0292,SM Center Pulilan Heliport (Philippines) +PH-0293,SM City Santa Mesa Heliport (Philippines) +PH-0294,SM City Novaliches Heliport (Philippines) +PH-0295,SM City Sucat Heliport (Philippines) +PH-0296,SM City San Mateo Heliport (Philippines) +PH-0297,SM City Santa Rosa Heliport (Philippines) +PH-0298,SM Center Tuguegarao Downtown Heliport (Philippines) +PH-0299,SM Center Lemery Heliport (Philippines) +PH-0300,SM Center Muntinlupa Heliport (Philippines) +PH-0301,SM Center Ormoc Heliport (Philippines) +PH-0302,SM Center Valenzuela Heliport (Philippines) +PH-0303,Hamilo Coast Helipad (Philippines) +PH-0304,Sem-Calaca Helipad (Philippines) +PH-0305,Camella Lipa Helipad (Philippines) +PH-0306,Metrobank Plaza Heliport (Philippines) +PH-0307,The Peninsula Heliport (Philippines) +PH-0308,One Roxas Triangle Tower Heliport (Philippines) +PH-0309,Two Roxas Triangle Tower Heliport (Philippines) +PH-0310,Trafalgar Plaza Heliport (Philippines) +PH-0311,Salcedo Park Twin Towers North Heliport (Philippines) +PH-0312,Salcedo Park Twin Towers South Heliport (Philippines) +PH-0313,Classica Tower Heliport (Philippines) +PH-0314,Grand Soho Makati Heliport (Philippines) +PH-0315,ACT Tower Heliport (Philippines) +PH-0316,World Centre Heliport (Philippines) +PH-0317,Camp Crame Heliport (Philippines) +PH-0318,Aurora Tower Helipad (Philippines) +PH-0319,Angeles Airfield (Philippines) +PH-0320,Angeles Northeast Airfield (Philippines) +PH-0321,Grace Park / Manila North Airfield (Philippines) +PH-0322,Naval Station Jose Francisco Heliport (Philippines) +PH-0323,United States Embassy Heliport (Philippines) +PH-0324,SM Southmall Helipad (Philippines) +PH-0325,Fairways Tower Helipad (Philippines) +PH-0326,James Steelworks Heliport (Philippines) +PH-0327,Cavite Naval Hospital Heliport (Philippines) +PH-0328,Maritime Safety Services Command Heliport (Philippines) +PH-0329,Island Cove Heliport (Philippines) +PH-0330,Belvedere Tower Helipad (Philippines) +PH-0331,Pacific Center Building Helipad (Philippines) +PH-0332,Octagon Center Helipad (Philippines) +PH-0333,San Miguel Property Centre Building Helipad (Philippines) +PH-0334,Robinsons Equitable Tower Helipad (Philippines) +PH-0335,AIC Burgundy Empire Tower Helipad (Philippines) +PH-0336,Crowne Plaza Manila Galleria Helipad (Philippines) +PH-0337,Parc Royale Building Helipad (Philippines) +PH-0338,Antel Global Business Center Helipad (Philippines) +PH-0339,Avant Garde Residences Helipad (Philippines) +PH-0340,Prestige Tower Helipad (Philippines) +PH-0341,Raffles Building Helipad (Philippines) +PH-0342,Holiday Inn Galleria Manila Helipad (Philippines) +PH-0343,Caswynn Building Helipad (Philippines) +PH-0344,GMA Network Tower Helipad (Philippines) +PH-0345,Eton Centris Heliport (Philippines) +PH-0346,Eton Heliport (Philippines) +PH-0347,National Office Building Helipad (Philippines) +PH-0348,DILG-NAPOLCOM Center Helipad (Philippines) +PH-0349,New Manila International Airport (under construction) (Philippines) +PH-0350,La Libertad Airstrip (Philippines) +PH-0351,TADECO Santo Tomas Airstrip (Philippines) +PH-0352,MEPI Aerodrome (Philippines) +PH-0353,A O Floirendo Airstrip (Philippines) +PH-0354,Searbemco Airstrip (Philippines) +PH-0355,Evergreen Farms Airstrip (Philippines) +PH-0356,Kasilak Airstrip (Philippines) +PH-0357,Madaum Airstrip (Philippines) +PH-0358,New Sambog Airstrip (Philippines) +PH-0359,Alpha Saucedo Condominium Helipad (Philippines) +PH-0360,RCBC Plaza Yuchengco Tower Heliport (Philippines) +PH-0361,ABS-CBN Building Helipad (Philippines) +PH-0362,Orchard Helipad (Philippines) +PH-0363,Camp Bagong Diwa Heliport (Philippines) +PH-0364,Fort Victoria Tower A Helipad (Philippines) +PH-0365,Fort Victoria Tower B Helipad (Philippines) +PH-0366,Fort Victoria Tower C Helipad (Philippines) +PH-0367,Pacific Plaza Towers South Helipad (Philippines) +PH-0368,Pacific Plaza Towers North Helipad (Philippines) +PH-0369,One McKinley Place Helipad (Philippines) +PH-0370,Net One Center Helipad (Philippines) +PH-0371,Picadilly Star Building Helipad (Philippines) +PH-0372,Eight Forbestown Road Helipad (Philippines) +PH-0373,Fort Legend Tower Helipad (Philippines) +PH-0374,Globe Tower Helipad (Philippines) +PH-0375,Saint Luke's Medical Center Bonifacio Global City Heliport (Philippines) +PH-0376,SM Aura Office Tower Helipad (Philippines) +PH-0377,Regent Parkway Condominium Helipad (Philippines) +PH-0378,Essensa 1 Helipad (Philippines) +PH-0379,Del Rosario Law Building Helipad (Philippines) +PH-0380,Essensa 2 Helipad (Philippines) +PH-0381,Solar Century Tower Helipad (Philippines) +PH-0382,Splendido Gardens Helipad (Philippines) +PH-0383,Antel Platinum Towers Helipad (Philippines) +PH-0384,Forbes Tower West Helipad (Philippines) +PH-0385,Liberty Center Helipad (Philippines) +PH-0386,Malolos Sport & Convention Center Helipad (Philippines) +PH-0387,Thousand Islands International Airport (under construction) (Philippines) +PH-0388,Sagada Heliport (Philippines) +PH-0389,Baliuag Heliport (Philippines) +PH-0390,Bamban Airfield (Philippines) +PH-0391,Angeles South (Lara) Airfield (Philippines) +PH-0392,Zablan Auxiliary Airfield (Philippines) +PH-0393,Pasig Airfield (Philippines) +PH-0394,Kawit Airfield (Philippines) +PH-0395,Camp O'Donnell Officer Candidate School Heliport (Philippines) +PH-0396,Camp O'Donnell Armor School Heliport (Philippines) +PH-0397,Vernida IV Heliport (Philippines) +PH-0398,BPI-Philam Life Makati Helipad (Philippines) +PH-0399,GT Tower Helipad (Philippines) +PH-0400,LKG Tower Helipad (Philippines) +PH-0401,Cityland Herrera Tower Helipad (Philippines) +PH-0402,Robinsons Summit Center Helipad (Philippines) +PH-0403,Makati Medical Center Heliport (Philippines) +PH-0404,Rufino Pacific Tower Helipad (Philippines) +PH-0405,Lepanto Building Helipad (Philippines) +PH-0406,L V Locsin Building Helipad (Philippines) +PH-0407,Limay (Bataan) Airfield (Philippines) +PH-0408,Cabcaben Airfield (Philippines) +PH-0409,Mariveles Airfield (Philippines) +PH-0410,Akle Airfield (Philippines) +PH-0411,Minuyan Airstrip (Philippines) +PH-0412,San Fernando Tower Helipad (Philippines) +PH-0413,518 Fundidor Street Helipad (Philippines) +PH-0414,Sagay Airfield (Philippines) +PH-0415,Lorenville Heliport (Philippines) +PH-0416,AES Masinloc Heliport (Philippines) +PH-0417,Lapanday Foods Tampakan Airport (Philippines) +PH-0418,Lapanday Foods Guihing Airport (Philippines) +PH-0419,Kling Airport (Philippines) +PH-0420,Lapanday Foods Kalaong Airport (Philippines) +PH-0421,Lapanday Foods Mandug Airport (Philippines) +PH-0422,Milbuk Airport (Philippines) +PH-0423,MILUDECO Airstrip (Philippines) +PH-0424,Malangas Airport (Philippines) +PH-0425,Inandeng Airport (Philippines) +PH-0426,Lakawon Resort Seaplane Base (Philippines) +PH-0427,Lutopan Airstrip (Philippines) +PH-0428,Nabulao Airstrip (Philippines) +PH-0429,Cordon Airport (Philippines) +PH-0430,Pradera Verde Executive Airpark (Philippines) +PH-0431,Casay Airstrip (Philippines) +PH-0432,Sagpangan Airport (Philippines) +PH-0433,Dacudao Airport (Philippines) +PH-0434,Lagao Airport (Philippines) +PH-0435,Tungao Airport (Philippines) +PH-0436,Aras-Asan Airport (Philippines) +PH-0437,Bad-As Airport (Philippines) +PH-0438,Barobo Airport (Philippines) +PH-0439,Diatagon Airport (Philippines) +PH-0440,Lanuza (Carmen) Airport (Philippines) +PH-0441,PICOP Airport (Philippines) +PH-0442,Tagbina Airport (Philippines) +PH-0443,Elmore Airfield (Philippines) +PH-0444,Hill Airfield (Philippines) +PH-0445,Murtha Airfield (Philippines) +PH-0446,Agutaya Airport (Philippines) +PH-0447,Veterans Memorial Medical Center Heliport (Philippines) +PH-0448,Former Lucena Airport (Philippines) +PH-0449,Aparri (Maura) Airport (Philippines) +PH-0450,Malalag Airport (Philippines) +PH-0451,Sarangani Provincial Capitol Heliport (Philippines) +PH-0452,Sultan Kudarat Provincial Capitol Heliport (Philippines) +PH-0453,Maraymaray Airport (Philippines) +PH-0454,Bukidnon Domestic Airport (under construction) (Philippines) +PH-0455,Lurugan Airport (Philippines) +PH-0456,Manolo Fortich Airport (Philippines) +PH-0457,La Filipina Airport (Philippines) +PH-0458,Lunga-og Airport (Philippines) +PH-0459,Kapalong Airport (Philippines) +PH-0460,Datu Paglas Airport (Philippines) +PH-0461,Digal Airport (Philippines) +PH-0462,Central Mindanao Airport (Philippines) +PH-0463,President Quirino Airport (Philippines) +PH-0464,Lambayong Airport (Philippines) +PH-0465,Sirawai Airport (Philippines) +PH-0466,Maguindanao del Sur Provincial Capitol Heliport (Philippines) +PH-0467,Masiu Heliport (Philippines) +PH-0468,Boracay Helicopter Adventures Heliport (Philippines) +PH-0469,GreenHeli Boracay Heliport (Philippines) +PH-0470,GreenHeli Boracay Heliport (Philippines) +PH-0471,Lahuy Airport (Philippines) +PH-0472,Tugawe Cove Resort Heliport (Philippines) +PH-0473,Tinambac Airport (Philippines) +PH-0474,Mayon Old Heliport (Philippines) +PH-0475,Mayon Heliport (Philippines) +PH-0476,Chinese General Hospital Heliport (Philippines) +PH-0477 (Philippines)ilippine Merchant Marine Academy Heliport (Philippines) +PH-0478,Dahilayan Heliport (Philippines) +PH-0479,Shangri-La Mactan Island Resort Heliport (Philippines) +PH-0480,Isabela Provincial Capitol Heliport (Philippines) +PH-0481,Lawak Island (Nanshan Island) Helipad (Philippines) +PH-0482,Candaraman Airport (Philippines) +PH-0483,Candaraman Island Helipad (Philippines) +PH-0484,Rio Tuba Airport (Philippines) +PH-0485,Bugsuk (Bonbon) Airport (Philippines) +PH-0486,ABCI Heliport (Philippines) +PH-0487,Didipio Heliport (Philippines) +PH-0488,Mountain View College Airport (Philippines) +PH-0489,Batag Airport (Philippines) +PH-0490,Camotes Airstrip (Philippines) +PH-0491,Air Juan Cebu City South Road Properties Seaplane Terminal (Philippines) +PH-0492,Three Thirty Airstrip (Philippines) +PH-0493,Clark Balloonport (Philippines) +PH-0494,Busuanga Bay Lodge Seaplane Terminal (Philippines) +PH-0495,Huma Island Resort Seaplane Terminal (Philippines) +PH-0496,SUMAPI Airstrip (Philippines) +PH-0497,Coron Rural Airport (Philippines) +PH-0498,Daja Airstrip (Philippines) +PH-0499,Ferrol (Odiongan) Airstrip (Philippines) +PH-0500,Two Seasons Resort Seaplane Terminal (Philippines) +PH-0501,Lahug Airfield (Philippines) +PH-0502,Tagbita Airstrip (Philippines) +PH-0503,Rizal Airport (Philippines) +PH-0504 (Philippines)ilippine Adventist Medical Aviation Service Airstrip (Philippines) +PH-0505,Isugod Airstrip (Philippines) +PH-0506,Berong Airport (Philippines) +PH-0507,Apurawan Airport (Philippines) +PH-0508,Sabang Sheridan Beach Resort Heliport (Philippines) +PH-0509,Bato Airport (Philippines) +PH-0510,Parola Island (Northeast Cay) Helipad (Philippines) +PH-0511,Maya-maya (Viper North Shoal) Helipad (Philippines) +PH-0512,Santa Lucia Mall Heliport (Philippines) +PH-0513,Santa Lucia East Grand Mall Heliport (Philippines) +PH-0514,Tarumpitao Point Airfield (Philippines) +PH-0515,Brooke's Point Airstrip (Philippines) +PH-0516,Samariniana Airfield (Philippines) +PH-0517,Bataraza Airport (Philippines) +PH-0518,Sebaring Airstrip (Philippines) +PH-0519,Western Mindanao Community Hospital Heliport (Philippines) +PH-0520,Camp Sang-an Heliport (Philippines) +PH-0521,Camp Peralta Heliport (Philippines) +PH-0522,Camp Dela Cruz Heliport (Philippines) +PH-0523,Camp Lukban Heliport (Philippines) +PH-0524,Camp Lim Heliport (Philippines) +PH-0525,Camp Angeles Heliport (Philippines) +PH-0526,Camp Abat Heliport (Philippines) +PH-0527,Camp Riego de Dios Heliport (Philippines) +PH-0528,Naval Station Juan Magluyan Heliport (Philippines) +PH-0529,Naval Base Rafael Ramos Heliport (Philippines) +PH-0530,Biliran Heliport (Philippines) +PH-0531,Naval Station Carlito Cunanan Heliport (Philippines) +PH-0532,Sebaring Heliport (Philippines) +PH-0533,Guimaras Airport (Philippines) +PH-0534,Naval Station Felix Apolinario Heliport (Philippines) +PH-0535,Okada Manila Rooftop Heliport (Philippines) +PH-0536,Sunview Palace Condominium Helipad (Philippines) +PH-0537,Cunanan Wharf Heliport (Philippines) +PH-0538,TechZone Philippines Building Helipad (Philippines) +PH-0539,Burgundy Corporate Tower Helipad (Philippines) +PH-0540,Camilla & Lumina Heliport (Philippines) +PH-0541,Caylabne Bay Resort Heliport (Philippines) +PH-0542,Paniman Beach Resort Heliport (Philippines) +PH-0543,Sabang South Bay Seaplane Base (Philippines) +PH-0544,Musahamat Farms Airport (Philippines) +PH-0545,PIntatagan Airport (Philippines) +PH-0546,Macangao Airport (Philippines) +PH-0547,Union Airstrip (Philippines) +PH-0548,Talayan Airport (Philippines) +PH-0549,Plamango Heliport (Philippines) +PH-0550,Magatos Airport (Philippines) +PH-0551,Lapanday Foods Macgum Airport (Philippines) +PH-0552,Matling Industrial and Commercial Corporation Airstrip (Philippines) +PH-0553,Balabagan Airport (Philippines) +PH-0554,Kalamansig Airport (Philippines) +PH-0555,Bascon Heliport (Philippines) +PH-0556 (Philippines)ilippines Paramotor Training Field (Philippines) +PH-0557,Danao Ultralight Airport (Philippines) +PH-0558,Kenram Airport (Philippines) +PH-0559,Washington Tower Helipad (Philippines) +PH-0560,Cleveland Tower Helipad (Philippines) +PH-0561,Burgundy McKinley Place Helipad (Philippines) +PH-0562,Okada Manila Ground Heliport (Philippines) +PH-0563,Five E-Com Center Helipad (Philippines) +PH-0564,City of Dreams Manila Helipad (Philippines) +PH-0565,Manato Airport (Philippines) +PH-0566,Amoroy Airport (Philippines) +PH-0567,Calanay Airport (Philippines) +PH-0568,Taratak Airfield (Philippines) +PH-0569,Ri-Rance Helipad (Philippines) +PH-0570,Camp Nakar Heliport (Philippines) +PH-ENI,El Nido Airport (Philippines) PHBK,Barking Sands Airport (USA) PHDH,Dillingham Airfield (USA) PHHF,French Frigate Shoals Airport (USA) @@ -49714,7 +49714,7 @@ PR60,Lake Huron Medical Center Heliport (USA) PR68,Mora Development Corp Heliport (Puerto Rico) PR93,San Lorenzo Municipal Heliport Nr 1 (Puerto Rico) PR99,Puerto Heliport (Puerto Rico) -PRNO,Siocon Airport,PH +PRNO,Siocon Airport (Philippines) PS-0001,Jurish Highway Strip H,PS PS-0002,Muqeible Airfield,PS PS-0003,Bethlehem Heliport,PS @@ -50671,112 +50671,112 @@ RORT,Tarama Airport (Japan) RORY,Yoron Airport (Japan) ROTM,Futenma Marine Corps Air Station (Japan) ROYN,Yonaguni Airport (Japan) -RP12,Pagbilao Grande Island Airport,PH -RP13,Nonoc Airport,PH -RP14,Magat River Multipurpose Project Airstrip,PH -RP15,Isabel PASAR Airport,PH -RP16,Seahawk Lz Airstrip,PH -RP17,Malita Airport,PH -RPBL,Balesin Island Airport,PH -RPLA,Pinamalayan Airport,PH -RPLB,Subic Bay International Airport / Naval Air Station Cubi Point,PH -RPLC,Clark International Airport / Clark Air Base,PH -RPLI,Laoag International Airport,PH -RPLJ,Jomalig Island Airport,PH -RPLL,Ninoy Aquino International Airport,PH -RPLN,Palanan Community Airport,PH -RPLO,Cuyo Airport,PH -RPLP,Legazpi City International Airport,PH -RPLQ,Colonel Ernesto Rabina Air Base,PH -RPLR,Carmen (Rosales) Airstrip,PH -RPLS,Danilo Atienza Air Base,PH -RPLT,Itbayat Jorge Abad Airport,PH -RPLU,Lubang Airport,PH -RPLV,Fort Magsaysay Airport,PH -RPLX,Corregidor Airport (Kindley Field),PH -RPLY,Alabat Island Airport,PH -RPLZ,Sorsogon Airport,PH -RPMA,Allah Valley Airport,PH -RPMB,Rajah Buayan Air Base,PH -RPMC,Cotabato (Awang) Airport,PH -RPMD,Francisco Bangoy International Airport,PH -RPME,Bancasi Airport,PH -RPMF,Bislig Airport,PH -RPMG,Dipolog Airport,PH -RPMH,Camiguin Airport,PH -RPMI,Maria Cristina (Iligan) Airport,PH -RPMJ,Jolo Airport,PH -RPML,Lumbia Airfield,PH -RPMM,Malabang Airport,PH -RPMN,Sanga Sanga Airport,PH -RPMO,Labo Airport,PH -RPMP,Pagadian Airport,PH -RPMQ,Mati National Airport,PH -RPMR,General Santos International Airport,PH -RPMS,Surigao Airport,PH -RPMU,Cagayan de Sulu Airport,PH -RPMV,Ipil Airport,PH -RPMW,Tandag Airport,PH -RPMX,Liloy Airport,PH -RPMY,Malaybalay Airport,PH -RPMZ,Zamboanga International Airport,PH -RPNS,Siargao Airport,PH -RPSB,Bantayan Airport,PH -RPSD,Cesar Lim Rodriguez (Taytay-Sandoval) Airport,PH -RPSM,Maasin Airport,PH -RPSN,Ubay Airport,PH -RPSP,Bohol-Panglao International Airport,PH -RPSV,San Vicente Airport,PH -RPUA,Pamalican Airstrip,PH -RPUB,Loakan Airport,PH -RPUD,Daet Airport,PH -RPUE,Semirara Airport,PH -RPUF,Basa Air Base,PH -RPUG,Lingayen Airport,PH -RPUH,San Jose Airport,PH -RPUI,Iba Airport,PH -RPUJ,Castillejos - Jesus F Magsaysay Airfield,PH -RPUK,Calapan National Airport,PH -RPUL,Basilio Fernando Air Base,PH -RPUM,Mamburao Airport,PH -RPUN,Naga Airport,PH -RPUO,Basco Airport,PH -RPUP,Jose Panganiban (Larap) Airstrip,PH -RPUQ,Vigan Airport,PH -RPUR,Dr Juan C Angara Airport,PH -RPUS,San Fernando Airport,PH -RPUT,Tuguegarao Airport,PH -RPUU,Bulan Airport,PH -RPUV,Virac Airport,PH -RPUW,Marinduque Airport,PH -RPUX,Plaridel Airport,PH -RPUY,Cauayan Airport,PH -RPUZ,Bagabag Airport,PH +RP12,Pagbilao Grande Island Airport (Philippines) +RP13,Nonoc Airport (Philippines) +RP14,Magat River Multipurpose Project Airstrip (Philippines) +RP15,Isabel PASAR Airport (Philippines) +RP16,Seahawk Lz Airstrip (Philippines) +RP17,Malita Airport (Philippines) +RPBL,Balesin Island Airport (Philippines) +RPLA,Pinamalayan Airport (Philippines) +RPLB,Subic Bay International Airport / Naval Air Station Cubi Point (Philippines) +RPLC,Clark International Airport / Clark Air Base (Philippines) +RPLI,Laoag International Airport (Philippines) +RPLJ,Jomalig Island Airport (Philippines) +RPLL,Ninoy Aquino International Airport (Philippines) +RPLN,Palanan Community Airport (Philippines) +RPLO,Cuyo Airport (Philippines) +RPLP,Legazpi City International Airport (Philippines) +RPLQ,Colonel Ernesto Rabina Air Base (Philippines) +RPLR,Carmen (Rosales) Airstrip (Philippines) +RPLS,Danilo Atienza Air Base (Philippines) +RPLT,Itbayat Jorge Abad Airport (Philippines) +RPLU,Lubang Airport (Philippines) +RPLV,Fort Magsaysay Airport (Philippines) +RPLX,Corregidor Airport (Kindley Field) (Philippines) +RPLY,Alabat Island Airport (Philippines) +RPLZ,Sorsogon Airport (Philippines) +RPMA,Allah Valley Airport (Philippines) +RPMB,Rajah Buayan Air Base (Philippines) +RPMC,Cotabato (Awang) Airport (Philippines) +RPMD,Francisco Bangoy International Airport (Philippines) +RPME,Bancasi Airport (Philippines) +RPMF,Bislig Airport (Philippines) +RPMG,Dipolog Airport (Philippines) +RPMH,Camiguin Airport (Philippines) +RPMI,Maria Cristina (Iligan) Airport (Philippines) +RPMJ,Jolo Airport (Philippines) +RPML,Lumbia Airfield (Philippines) +RPMM,Malabang Airport (Philippines) +RPMN,Sanga Sanga Airport (Philippines) +RPMO,Labo Airport (Philippines) +RPMP,Pagadian Airport (Philippines) +RPMQ,Mati National Airport (Philippines) +RPMR,General Santos International Airport (Philippines) +RPMS,Surigao Airport (Philippines) +RPMU,Cagayan de Sulu Airport (Philippines) +RPMV,Ipil Airport (Philippines) +RPMW,Tandag Airport (Philippines) +RPMX,Liloy Airport (Philippines) +RPMY,Malaybalay Airport (Philippines) +RPMZ,Zamboanga International Airport (Philippines) +RPNS,Siargao Airport (Philippines) +RPSB,Bantayan Airport (Philippines) +RPSD,Cesar Lim Rodriguez (Taytay-Sandoval) Airport (Philippines) +RPSM,Maasin Airport (Philippines) +RPSN,Ubay Airport (Philippines) +RPSP,Bohol-Panglao International Airport (Philippines) +RPSV,San Vicente Airport (Philippines) +RPUA,Pamalican Airstrip (Philippines) +RPUB,Loakan Airport (Philippines) +RPUD,Daet Airport (Philippines) +RPUE,Semirara Airport (Philippines) +RPUF,Basa Air Base (Philippines) +RPUG,Lingayen Airport (Philippines) +RPUH,San Jose Airport (Philippines) +RPUI,Iba Airport (Philippines) +RPUJ,Castillejos - Jesus F Magsaysay Airfield (Philippines) +RPUK,Calapan National Airport (Philippines) +RPUL,Basilio Fernando Air Base (Philippines) +RPUM,Mamburao Airport (Philippines) +RPUN,Naga Airport (Philippines) +RPUO,Basco Airport (Philippines) +RPUP,Jose Panganiban (Larap) Airstrip (Philippines) +RPUQ,Vigan Airport (Philippines) +RPUR,Dr Juan C Angara Airport (Philippines) +RPUS,San Fernando Airport (Philippines) +RPUT,Tuguegarao Airport (Philippines) +RPUU,Bulan Airport (Philippines) +RPUV,Virac Airport (Philippines) +RPUW,Marinduque Airport (Philippines) +RPUX,Plaridel Airport (Philippines) +RPUY,Cauayan Airport (Philippines) +RPUZ,Bagabag Airport (Philippines) RPV,Roper Valley Airport (Australia) -RPVA,Daniel Z. Romualdez Airport,PH -RPVB,Bacolod-Silay Airport,PH -RPVC,Calbayog Airport,PH -RPVD,Sibulan Airport,PH -RPVE,Godofredo P. Ramos Airport,PH -RPVF,Catarman National Airport,PH -RPVG,Guiuan Airport,PH -RPVH,Hilongos Airport,PH -RPVI,Iloilo International Airport,PH -RPVJ,Moises R. Espinosa Airport,PH -RPVK,Kalibo International Airport,PH -RPVL,Wasig Airport,PH -RPVM,Mactan Cebu International Airport,PH -RPVO,Ormoc Airport,PH -RPVP,Puerto Princesa International Airport / PAF Antonio Bautista Air Base,PH -RPVQ,Biliran Airport,PH -RPVR,Roxas Airport,PH -RPVS,Evelio Javier Airport,PH -RPVT,Tagbilaran Airport,PH -RPVU,Tugdan Airport,PH -RPVV,Francisco B. Reyes (Busuanga) Airport,PH -RPVW,Borongan Airport,PH -RPVY,Catbalogan Airport,PH -RPVZ,Siquijor Airport,PH +RPVA,Daniel Z. Romualdez Airport (Philippines) +RPVB,Bacolod-Silay Airport (Philippines) +RPVC,Calbayog Airport (Philippines) +RPVD,Sibulan Airport (Philippines) +RPVE,Godofredo P. Ramos Airport (Philippines) +RPVF,Catarman National Airport (Philippines) +RPVG,Guiuan Airport (Philippines) +RPVH,Hilongos Airport (Philippines) +RPVI,Iloilo International Airport (Philippines) +RPVJ,Moises R. Espinosa Airport (Philippines) +RPVK,Kalibo International Airport (Philippines) +RPVL,Wasig Airport (Philippines) +RPVM,Mactan Cebu International Airport (Philippines) +RPVO,Ormoc Airport (Philippines) +RPVP,Puerto Princesa International Airport / PAF Antonio Bautista Air Base (Philippines) +RPVQ,Biliran Airport (Philippines) +RPVR,Roxas Airport (Philippines) +RPVS,Evelio Javier Airport (Philippines) +RPVT,Tagbilaran Airport (Philippines) +RPVU,Tugdan Airport (Philippines) +RPVV,Francisco B. Reyes (Busuanga) Airport (Philippines) +RPVW,Borongan Airport (Philippines) +RPVY,Catbalogan Airport (Philippines) +RPVZ,Siquijor Airport (Philippines) RRM,Marromeu Airport,MZ RS-0001,Bela Crkva Airport,RS RS-0002,Bojnik Airport,RS @@ -50949,7 +50949,7 @@ RU-0145,Chaikovskiy Airport (Russia) RU-0146,Froly Airfield (Russia) RU-0147,Kurkachi Airfield (Russia) RU-0148,Maikhe Airfield (Russia) -RU-0149,Uglovaya Air Base (Russia) +RU-0149 (Uganda)lovaya Air Base (Russia) RU-0150,Saint Petersburg Children's Hospital No.1 Helipad (Russia) RU-0151,Petropavlovskaya Krepost Helipad (Russia) RU-0152,Mozdok Air Base (Russia) @@ -50977,7 +50977,7 @@ RU-0173,Georgiyevka Airfield (Russia) RU-0174,Emergency Medicine Research Institute Helipad (Russia) RU-0175,Ambassador Hotel Helipad (Russia) RU-0176,Marli Helipad (Russia) -RU-0177,Uglich Fominskoye Helipad (Russia) +RU-0177 (Uganda)lich Fominskoye Helipad (Russia) RU-0178,Yaskino Helipad (Russia) RU-0179,Tushino Children's Hospital Helipad (Russia) RU-0180,Alyye Parusa Helipad (Russia) @@ -51864,7 +51864,7 @@ SA-0002,Al Wariah SE Highway Strip (Saudi Arabia) SA-0003,Qalibah Highway Strip (Saudi Arabia) SA-0004,Ras Saffaniyah Airport (Saudi Arabia) SA-0005,Al Hasa Airport (Saudi Arabia) -SA-0006,Ugtah Highway Strip (Saudi Arabia) +SA-0006 (Uganda)tah Highway Strip (Saudi Arabia) SA-0007,Uwayqilah Airport (Saudi Arabia) SA-0008,Kharmiyah Airstrip (Saudi Arabia) SA-0009,Farasan Hospital Helipad (Saudi Arabia) @@ -54107,14 +54107,14 @@ SETN,General Rivadeneira Airport,EC SETR,Tarapoa Airport,EC SETU,Lieutenant Colonel Luis A. Mantilla International Airport,EC SEVR,El Vergel Airport,EC -SFAL,Port Stanley Airport,FK +SFAL,Port Stanley Airport (Falkland Islands) SFR,San Fernando Airport (USA) SFU,Safia Airport (Papua New Guinea) -SG-0001,Brani Naval Base Heliport,SG -SG-0002,Pulau Sudong Military Airstrip,SG -SG-0003,Lim Chu Kang Road (Tengah Highway Strip),SG -SG-0004,Kallang Airport,SG -SG-0005,Murai Airfield,SG +SG-0001,Brani Naval Base Heliport (Singapore) +SG-0002,Pulau Sudong Military Airstrip (Singapore) +SG-0003,Lim Chu Kang Road (Tengah Highway Strip) (Singapore) +SG-0004,Kallang Airport (Singapore) +SG-0005,Murai Airfield (Singapore) SG67,Aeródromo de la Estancia Pai Quara,PY SGAS,Aeropuerto Internacional Silvio Pettirossi,PY SGAY,Aeropuerto Nacional de Juan De Ayolas,PY @@ -55836,7 +55836,7 @@ SJZZ,Fazenda Passo Fundo Airport (Brazil) SK-0001,Dobra Niva airfield,SK SK-0002,Košťany nad Turcom Airstrip,SK SK-0003,Dunajská Streda,SK -SK-0004,Hrabušice,SK +SK-0004 (Croatia)abušice,SK SK-0005,Kamenný Most,SK SK-0006,Krakovany,SK SK-0007,Malý Madaras,SK @@ -58343,7 +58343,7 @@ SSUW,Fazenda Palmeiras Airport (Brazil) SSUX,Usina Mandu Airport (Brazil) SSUY,Fazenda Menina Airport (Brazil) SSUZ,Fazenda Vista Alegre Airport (Brazil) -SSV,Siasi Airport,PH +SSV,Siasi Airport (Philippines) SSVA,Fazenda Visa Estância Airport (Brazil) SSVB,Fazenda Vaca Branca Airport (Brazil) SSVD,Fazenda Alvorada Airport (Brazil) @@ -59622,7 +59622,7 @@ T91,The Carter Memorial Airport (USA) T94,Twin-Oaks Airport (USA) T95,Bay Electric Supply Heliport (USA) TA00,Rafter P Airport (USA) -TA01,Phillips Farm Airport (USA) +TA01 (Philippines)illips Farm Airport (USA) TA02,Howard Field (USA) TA03,Jo Na Acres Airport (USA) TA04,Sheriff Department Heliport (USA) @@ -59899,7 +59899,7 @@ TH-0017,Kaeng Krachan Airfield,TH TH-0018,Pran Buri Airport,TH TH-0019,Ratthaphum Airfield,TH TH-0020,Khuan Timun Helipad,TH -TH-0021,Phanom Sarakham Airport,TH +TH-0021 (Philippines)anom Sarakham Airport,TH TH-0022,Old Betong Airport,TH TH-0023,Banana,TH TH-0024,Vanchanphen Airpark,TH @@ -61167,23 +61167,23 @@ UESZ,Kazachye Airport (Russia) UEWD,Dzhargalakh Airport (Russia) UEWO,Kudu-Kyuyol Airport (Russia) UEYR,Sasyr Airport (Russia) -UG-0001,Kisoro Airport,UG -UG-0002,Savannah Airstrip,UG -UG-0003,Mutukula Airport,UG -UG-0004,Nakasongola Airport,UG -UG-0005,Koboko Airport,UG -UG-0006,Kalongo Airport,UG -UG-0007,Chobe Safari Lodge Airport,UG -UG-0008,Matany Airstrip,UG -UG-0009,Lake Albert Lodge Airstrip,UG -UG-0010,Buhuka Airport,UG -UG-0011,Buseruka Airport,UG -UG-0012,Butiaba Airport,UG -UG-0013,Hoima International Airport (under construction),UG -UG-0014,Bukasa Airport,UG -UG-0015,Bulago Airport,UG -UG-0016,Kayonza Airport,UG -UG-OYG,Moyo Airport,UG +UG-0001,Kisoro Airport (Uganda) +UG-0002,Savannah Airstrip (Uganda) +UG-0003,Mutukula Airport (Uganda) +UG-0004,Nakasongola Airport (Uganda) +UG-0005,Koboko Airport (Uganda) +UG-0006,Kalongo Airport (Uganda) +UG-0007,Chobe Safari Lodge Airport (Uganda) +UG-0008,Matany Airstrip (Uganda) +UG-0009,Lake Albert Lodge Airstrip (Uganda) +UG-0010,Buhuka Airport (Uganda) +UG-0011,Buseruka Airport (Uganda) +UG-0012,Butiaba Airport (Uganda) +UG-0013,Hoima International Airport (under construction) (Uganda) +UG-0014,Bukasa Airport (Uganda) +UG-0015,Bulago Airport (Uganda) +UG-0016,Kayonza Airport (Uganda) +UG-OYG,Moyo Airport (Uganda) UG0U,Gudauta Air Base,GE UG11,Dollyar Air Base (Azerbaijan) UG22,Tbilisi Marneuli Air Base,GE @@ -61192,7 +61192,7 @@ UG25,Telavi Kurdgelauri Airport,GE UG26,Kutaisi West Airport,GE UG27,Vaziani Air Base,GE UG28,Bolshiye Shiraki Air Base,GE -UGB,Ugashik Bay Airport (USA) +UGB (Uganda)ashik Bay Airport (USA) UGEJ,Jermuk Airport,AM UGKO,David the Builder Kutaisi International Airport,GE UGMM,Mukhrani Airport,GE @@ -61231,7 +61231,7 @@ UHKG,Kamenny Ruchey Naval Air Base (Russia) UHKK,Komsomolsk-on-Amur Airport (Russia) UHKM,Sovetskaya Gavan (Maygatka) Airport (Russia) UHKP,Sovetskaya Gavan (Postovaya) Airport (Russia) -UHMA,Ugolny Yuri Ryktheu Airport (Russia) +UHMA (Uganda)olny Yuri Ryktheu Airport (Russia) UHMD,Provideniya Bay Airport (Russia) UHME,Zaliv Kresta Airport (Russia) UHMF,Omsukchan Airport (Russia) @@ -61443,7 +61443,7 @@ UMKK,Khrabrovo Airport (Russia) UMLI,Minsk Machulishchy Air Base,BY UMMA,Baranavichi Air Base,BY UMMB,Borovaya Airfield,BY -UMMG,Hrodna Airport,BY +UMMG (Croatia)odna Airport,BY UMMM,Minsk 1 Airport,BY UMMR,Ross Air Base,BY UMMS,Minsk National Airport,BY @@ -61729,7 +61729,7 @@ US-0179,Black Butte North Airport (USA) US-0180,Bullwhacker Airport (USA) US-0181,Tavares Seaplane Base (USA) US-0182,Southwest Lakes Airpark (USA) -US-0183,Phoebe Sumter Heliport (USA) +US-0183 (Philippines)oebe Sumter Heliport (USA) US-0184,Saint Anthony's Hospital East Heliport (USA) US-0185,Castle Rock Adventist Health Campus Heliport (USA) US-0186,Watsontown / Helicopter 1 LLC Heliport (USA) @@ -61945,7 +61945,7 @@ US-0394,Blackberry Ridge Heliport (USA) US-0395,West Wind Airport (USA) US-0396,Carilion Clinic Heliport (USA) US-0397,Heinen Airport (USA) -US-0398,Pheasant Wings Airport (USA) +US-0398 (Philippines)easant Wings Airport (USA) US-0399,LaSalle General Hospital Heliport (USA) US-0400,Flugplatz Airport (USA) US-0401,Dead Cow Field (USA) @@ -62011,7 +62011,7 @@ US-0460,Falwell Base (USA) US-0461,Oak Grove Farm Airport (USA) US-0462,Mercey Hot Springs Airport (USA) US-0463,Medflight 5 Heliport (USA) -US-0464,Pharmnall Airport (USA) +US-0464 (Philippines)armnall Airport (USA) US-0465,Falwell Freeway (USA) US-0466,Schroeder's Field (USA) US-0467,Fish Hatchery Farm Airport (USA) @@ -62460,7 +62460,7 @@ US-0909,La Parra Ranch Airport (USA) US-0910,Claytime Heliport (USA) US-0911,South Tajos Ranch Airport (USA) US-0912,Cardinal Field (USA) -US-0913,Ugashik Narrows Airport (USA) +US-0913 (Uganda)ashik Narrows Airport (USA) US-0914,St Vincent North Hospital Heliport (USA) US-0915,Memorial Hospital Los Banos Heliport (USA) US-0916,Zamora Airport (USA) @@ -63117,7 +63117,7 @@ US-1565,Stadler Ranch Airport (USA) US-1566,Stand Fast Airport (USA) US-1567,Eden Valley Ranch / Albert Seeno Jr Airstrip (USA) US-1568,Taylorcraft Airport (USA) -US-1569,Philmont Scout Ranch Landing Strip (USA) +US-1569 (Philippines)ilmont Scout Ranch Landing Strip (USA) US-1570,Inscription House Airport (USA) US-1571,Kaibito Airport (USA) US-1572,Inscription House Trading Post Landing Strip (USA) @@ -63823,7 +63823,7 @@ US-2269,Bac Lieu Stagefield Army Heliport (USA) US-2270,Soc Trang Stagefield Army Heliport (USA) US-2271,My Tho Stagefield Army Heliport (USA) US-2272,King Landing Strip (USA) -US-2273,Phu Loi Stagefield Army Heliport (USA) +US-2273 (Philippines)u Loi Stagefield Army Heliport (USA) US-2274,Vung Tau Stagefield Army Heliport (USA) US-2275,Dempsey Army Heliport (USA) US-2276,Mafrige Ranch Inc Airport (USA) @@ -63853,7 +63853,7 @@ US-2299,Fountain Hills Airport (USA) US-2300,Hassayampa Airport (USA) US-2301,Lake Pleasant Landing Field (USA) US-2302,Marsh Airstrip (USA) -US-2303,Phoenix District Airport (USA) +US-2303 (Philippines)oenix District Airport (USA) US-2304,Ross Airport (USA) US-2305,Saguaro Airport (USA) US-2306,Sanders Airport (USA) @@ -63875,7 +63875,7 @@ US-2321,Rosebud Landing Strip (USA) US-2322,Big Creek Airport (USA) US-2323,Frank Ranch Field (USA) US-2324,Strickland/Smalley Field (USA) -US-2325,Phoebe Putney Memorial Hospital Heliport (USA) +US-2325 (Philippines)oebe Putney Memorial Hospital Heliport (USA) US-2326,Paradox Heliport (USA) US-2327,Bagdad Intermediate Field (USA) US-2328,Amboy Airfield (USA) @@ -64438,7 +64438,7 @@ US-2884,Moose Point Airport (USA) US-2885,Swanson River Airport (USA) US-2886,Chickaloon River Airport (USA) US-2887,Fire Tower Ridge Airstrip (USA) -US-2888,Philos Airport (USA) +US-2888 (Philippines)ilos Airport (USA) US-2889,Minnicks Airport (USA) US-2890,Caves Lake Airport (USA) US-2891,Fish Creek Airport (USA) @@ -64466,7 +64466,7 @@ US-2912,Eightmile Lake Airfield (USA) US-2913,Bethel Airport (1939) (USA) US-2914,Bethel Airport (1941) (USA) US-2915,Weeks Field (USA) -US-2916,Phillips Field (USA) +US-2916 (Philippines)illips Field (USA) US-2917,Miller Army Airfield (USA) US-2918,Huslia Airport (1952) (USA) US-2919,Cannikin Nuclear Test Site Airfield (USA) @@ -65787,7 +65787,7 @@ US-4228,Riverby Ranch Airport (USA) US-4229,Koch Airport (USA) US-4230,Galichia Airport (USA) US-4231,Old Bolivar Airport (USA) -US-4232,Phillips Airport (USA) +US-4232 (Philippines)illips Airport (USA) US-4233,Harrison Field (USA) US-4234,Halm Ranch Airport (USA) US-4235,Houston Methodist The Woodlands Hospital Heliport (USA) @@ -66045,7 +66045,7 @@ US-4486,Adventist Health Delano Regional Medical Center Heliport (USA) US-4487,Jamison Field (USA) US-4488,Sodbuster Strip (USA) US-4489,Turner Heliport (USA) -US-4490,Phelps County Regional Medical Center Heliport (USA) +US-4490 (Philippines)elps County Regional Medical Center Heliport (USA) US-4491,Mercy Hospital-Lebanon Heliport (USA) US-4492,Pfeiffer Field (USA) US-4493,Aerodrome Les Noyers (USA) @@ -66502,7 +66502,7 @@ US-4942,Air Evac 98 Heliport (USA) US-4943,Air Evac 104 Heliport (USA) US-4944,Air Evac 111 Heliport (USA) US-4945,Washington County Memorial Hospital Heliport (USA) -US-4946,PHI Med 14 Heliport (USA) +US-4946 (Philippines)I Med 14 Heliport (USA) US-4947,Penn Presbyterian Medical Center - North Heliport (USA) US-4948,Amelia Airport (USA) US-4949,Sequim EMS Heliport (USA) @@ -67285,8 +67285,8 @@ US-5724,Bristol Motor Speedway Heliport (USA) US-5725,Darlington Raceway Heliport (USA) US-5726,Nashville Superspeedway Heliport (USA) US-5727,World Wide Technology Raceway (USA) -US-5728,Phoenix Raceway Heliport (USA) -US-5729,Phoenix Raceway Infield Heliport (USA) +US-5728 (Philippines)oenix Raceway Heliport (USA) +US-5729 (Philippines)oenix Raceway Infield Heliport (USA) US-5730,Las Vegas Motor Speedway Infield Heliport (USA) US-5731,Las Vegas Motor Speedway Heliport (USA) US-5732,Raisin City Airport (USA) @@ -67526,7 +67526,7 @@ US-5964,Haby Ranch Airport (USA) US-5965,Canyon Ranch Airport (USA) US-5966,Pan-Gil Ranch Airport (USA) US-5967,Eppright Flying Service / Mission Agro Airport (USA) -US-5968,Pharr Airport (USA) +US-5968 (Philippines)arr Airport (USA) US-5969,Los Fresnos Airport (USA) US-5970,Woods Airport (USA) US-5971,Walker Farms Airport (USA) @@ -68171,7 +68171,7 @@ US-6608,Haeuser Airport (USA) US-6609,St Croix Regional Medical Center Heliport (USA) US-6610,Sickles Airport (USA) US-6611,Hinton-Red Rock Airport (USA) -US-6612,Physicians Hospital in Anadarko Heliport (USA) +US-6612 (Philippines)ysicians Hospital in Anadarko Heliport (USA) US-6613,Wildrose Ranger Station Heliport (USA) US-6614,Amargosa Valley Airport (USA) US-6615,Belcher Airport (USA) @@ -69026,7 +69026,7 @@ US-7463,Sheldon Airstrip (USA) US-7464,Muddy Creek Airport (USA) US-7465,Dekker Landing Field (USA) US-7466,Fryar Field (USA) -US-7467,Phenix City Airport (USA) +US-7467 (Philippines)enix City Airport (USA) US-7468,Warrensburg Airport (USA) US-7469,Browder Airport (USA) US-7470,Jaeck Stagefield Army Heliport (USA) @@ -69199,7 +69199,7 @@ UT71,Tooele Valley Hospital Heliport (USA) UT72,Two Jays #2 Heliport (USA) UT74,Fry Canyon Field (USA) UT75,Mineral Canyon Strip (USA) -UT76,Phc Hospital Heliport (USA) +UT76 (Philippines)c Hospital Heliport (USA) UT78,Timpanogos Regional Hospital Heliport (USA) UT79,3-I Rocker Ranch Airport (USA) UT80,Hamilton Fort Ranch Airport (USA) @@ -69563,7 +69563,7 @@ VA26,Trent Farm Airstrip (USA) VA27,Moorefield's Airstrip (USA) VA28,Layne Farm Airstrip (USA) VA29,Novant Health UVA Culpeper Medical Center Heliport (USA) -VA2A,Phalodi Airport,IN +VA2A (Philippines)alodi Airport,IN VA2B,Dr. Bhimrao Ambedkar Airstrip,IN VA2C,Birsi Airport,IN VA2D,Ratlam Airport,IN @@ -69690,7 +69690,7 @@ VDKH,Kampong Chhnang Airport,KH VDKK,Koh Kong Airport,KH VDKT,Kratie Airport,KH VDMK,Mondulkiri Airport,KH -VDPP,Phnom Penh International Airport,KH +VDPP (Philippines)nom Penh International Airport,KH VDRK,Ratanakiri Airport,KH VDSR,Siem Reap International Airport,KH VDST,Stung Treng Airport,KH @@ -69997,7 +69997,7 @@ VG10,Cathro Airport (USA) VG11,Carrsville Volunteer Fire Department Heliport (USA) VG12,Simpsonville Airport (USA) VG13,White Stone Heliport (USA) -VG14,Philip M Grabill Jr Memorial Heliport (USA) +VG14 (Philippines)ilip M Grabill Jr Memorial Heliport (USA) VG15,White Stone Family Practice Heliport (USA) VG16,Landis Airport (USA) VG17,Defense Supply Center Richmond Heliport (USA) @@ -70146,7 +70146,7 @@ VLLB,Luang Phabang International Airport,LA VLLN,Luang Namtha Airport,LA VLOS,Oudomsay Airport,LA VLPS,Pakse International Airport,LA -VLPV,Phonesavanh Airport,LA +VLPV (Philippines)onesavanh Airport,LA VLSB,Sayaboury Airport,LA VLSK,Savannakhet Airport,LA VLSN,Sam Neua Airport,LA @@ -70166,7 +70166,7 @@ VN-0006,Đảo Nam Yết (Namyit Island) Helipad (Vietnam) VN-0007,Đá Tây (West London Reef) Helipad (Vietnam) VN-0008,Đá Lớn (Discovery Great Reef) Helipad (Vietnam) VN-0009,Đảo Phan Vinh (Pearson Reef B) Helipad (Vietnam) -VN-0010,Phu Quoc Airport (Vietnam) +VN-0010 (Philippines)u Quoc Airport (Vietnam) VN-0011,Năm Căn Heliport (Vietnam) VN-0012,Nước Mặn (Marble Mountain) Air Facility (Vietnam) VN-0013,Red Beach Airfield (Vietnam) @@ -70175,7 +70175,7 @@ VN-0015,Keangnam Tower A Helipad (Vietnam) VN-0016,Keangnam Tower B Helipad (Vietnam) VN-0017,Keangnam Hanoi Landmark Tower Helipad (Vietnam) VN-0018,Long Thanh International Airport (under construction) (Vietnam) -VN-0019,Phu Quy Airport (Vietnam) +VN-0019 (Philippines)u Quy Airport (Vietnam) VN-0020,Ongkarak Airport (Klong 16),TH VN-0021,Đảo An Bang (Amboyna Cay) Helipad (Vietnam) VN-0022,Trường Sa Đông (Central London Reef) Helipad (Vietnam) @@ -70185,7 +70185,7 @@ VN-0025,Đảo Sơn Ca (Sand Cay) Helipad (Vietnam) VN-0026,Đảo Sinh Tồn (Sin Cowe Island) Helipad (Vietnam) VN-0027,Đảo Sinh Tồn Đông (Sin Cowe East Island) Helipad (Vietnam) VN-0028,Đảo Song Tử Tây (Southwest Cay) Helipad (Vietnam) -VN-0029,Phu Tho Municipal Airport (Vietnam) +VN-0029 (Philippines)u Tho Municipal Airport (Vietnam) VN-0030,Hoa Lac Airfield (Vietnam) VN-0031,Hai Au Seaplane Base (Vietnam) VN-0032,Tuan Chau Heliport (Vietnam) @@ -70195,12 +70195,12 @@ VN-0035,108 Hospital North Tower Heliport (Vietnam) VN-0036,108 Hospital South Tower Heliport (Vietnam) VN-0037,Tay Loc Airfield (Vietnam) VN-0038,Bu Dop Airport (Vietnam) -VN-0039,Phuoc Binh Airport (Vietnam) +VN-0039 (Philippines)uoc Binh Airport (Vietnam) VN-0040,Tan Loi Airport (Vietnam) VN-0041,Minh Tam Airport (Vietnam) VN-0042,Dau Tieng Airport (Vietnam) VN-0043,Chon Thanh Airport (Vietnam) -VN-0044,Phu Giao Airport (Vietnam) +VN-0044 (Philippines)u Giao Airport (Vietnam) VN-0045,Long Khanh Airport (Vietnam) VN-0046,Thong Binh Airport (Vietnam) VN-0047,Dak Mil Airport (Vietnam) @@ -70240,7 +70240,7 @@ VNMG,Meghauli Airport,NP VNMN,Mahendranagar Airport,NP VNNG,Nepalgunj Airport,NP VNPK,Pokhara Airport,NP -VNPL,Phaplu Airport,NP +VNPL (Philippines)aplu Airport,NP VNRB,Rajbiraj Airport,NP VNRC,Ramechhap Airport,NP VNRK,Rukum Chaurjahari Airport,NP @@ -70407,28 +70407,28 @@ VTBS,Suvarnabhumi Airport,TH VTBT,Bang Phra Airport,TH VTBU,U-Tapao International Airport,TH VTBW,Watthana Nakhon Airport,TH -VTCB,Phayao Ban Chiang Kham Airport,TH +VTCB (Philippines)ayao Ban Chiang Kham Airport,TH VTCC,Chiang Mai International Airport,TH VTCH,Mae Hong Son Airport,TH VTCI,Pai Airport,TH VTCL,Lampang Airport,TH VTCN,Nan Airport,TH VTCO,Lamphun Airport,TH -VTCP,Phrae Airport,TH +VTCP (Philippines)rae Airport,TH VTCR,Old Chiang Rai Airport,TH VTCS,Mae Sariang Airport,TH VTCT,Mae Fah Luang - Chiang Rai International Airport,TH VTCY,Nok Airfield,TH VTED,Udorn Air Base,TH -VTPB,Phetchabun Airport,TH +VTPB (Philippines)etchabun Airport,TH VTPH,Hua Hin Airport,TH VTPI,Takhli Airport,TH VTPL,Sak Long Airport,TH VTPM,Mae Sot Airport,TH VTPN,Nakhon Sawan Airport,TH VTPO,Sukhothai Airport,TH -VTPP,Phitsanulok Airport,TH -VTPR,Photharam Airport,TH +VTPP (Philippines)itsanulok Airport,TH +VTPR (Philippines)otharam Airport,TH VTPT,Tak Airport,TH VTPU,Uttaradit Airport,TH VTPY,Khunan Phumipol Airport,TH @@ -70442,11 +70442,11 @@ VTSH,Songkhla Airport,TH VTSK,Pattani Airport,TH VTSM,Samui Airport,TH VTSN,Cha Eian Airport,TH -VTSP,Phuket International Airport,TH +VTSP (Philippines)uket International Airport,TH VTSR,Ranong Airport,TH VTSS,Hat Yai International Airport,TH VTST,Trang Airport,TH -VTSW,Phuket Airpark,TH +VTSW (Philippines)uket Airpark,TH VTUD,Udon Thani Airport,TH VTUI,Sakon Nakhon Airport,TH VTUJ,Surin Airport,TH @@ -70484,12 +70484,12 @@ VVN,Las Malvinas/Echarate Airport (Peru) VVNB,Noi Bai International Airport (Vietnam) VVNS,Na San Airport (Vietnam) VVNT,Nha Trang Air Base (Vietnam) -VVPB,Phu Bai International Airport (Vietnam) -VVPC,Phu Cat Airport (Vietnam) +VVPB (Philippines)u Bai International Airport (Vietnam) +VVPC (Philippines)u Cat Airport (Vietnam) VVPK,Pleiku Airport (Vietnam) -VVPQ,Phu Quoc International Airport (Vietnam) -VVPR,Phan Rang Airport (Vietnam) -VVPT,Phan Thiet Airport (Vietnam) +VVPQ (Philippines)u Quoc International Airport (Vietnam) +VVPR (Philippines)an Rang Airport (Vietnam) +VVPT (Philippines)an Thiet Airport (Vietnam) VVRG,Rach Gia Airport (Vietnam) VVTH,Dong Tac Airport (Vietnam) VVTS,Tan Son Nhat International Airport (Vietnam) @@ -70542,7 +70542,7 @@ VYNP,Nampong Air Base (Myanmar) VYNS,Namsang Airport (Myanmar) VYNT,Namtu Airport (Myanmar) VYPA,Hpa-N Airport (Myanmar) -VYPB,Phonngbyin Airport (Myanmar) +VYPB (Philippines)onngbyin Airport (Myanmar) VYPE,Seinzan (Paletwa) Airport (Myanmar) VYPI,Pearl Island Airport (Myanmar) VYPK,Pauk Airport (Myanmar) @@ -71340,15 +71340,15 @@ WS91,Sky Hollow Airport (USA) WS96,Hughes Airport (USA) WS98,St Joseph's Hospital Heliport (USA) WSA,Wasua Airport (Papua New Guinea) -WSAC,Changi Air Base (East),SG -WSAG,Sembawang Air Base,SG -WSAP,Paya Lebar Air Base,SG -WSAT,Tengah Air Base,SG +WSAC,Changi Air Base (East) (Singapore) +WSAG,Sembawang Air Base (Singapore) +WSAP,Paya Lebar Air Base (Singapore) +WSAT,Tengah Air Base (Singapore) WSB,Steamboat Bay Seaplane Base (USA) WSJ,San Juan /Uganik/ Seaplane Base (USA) WSM,Wiseman Airport (USA) -WSSL,Seletar Airport,SG -WSSS,Singapore Changi Airport,SG +WSSL,Seletar Airport (Singapore) +WSSS,Singapore Changi Airport (Singapore) WT00,Grays Harbor Community Hospital Heliport (USA) WT01,Hillcrest Farms Airport (USA) WT02,Hammer EVOC Skid Pad Heliport (USA) @@ -71441,7 +71441,7 @@ WV68,Durrett Ranches Airport (USA) WV69,Bluefield Regional Medical Center Heliport (USA) WV70,Fairview Airport (USA) WV71,Lieving Airport (USA) -WV72,Philip Sporn Plant Heliport (USA) +WV72 (Philippines)ilip Sporn Plant Heliport (USA) WV73,Wood County Heliport (USA) WV74,Snowshoe Heliport (USA) WV75,Stonewall Jackson Memorial Hospital Heliport (USA) @@ -71517,7 +71517,7 @@ WZQ,Urad Middle Banner Airport (China) X-CBG6,Salmo Airport (Canada) X-KDEN,Denver Stapleton International Airport (USA) X-MMTG,Francisco Sarabia National Airport (Mexico) -X-RPVB,Bacolod City Domestic Airport,PH +X-RPVB,Bacolod City Domestic Airport (Philippines) X-TA37,Belo Broadcasting Heliport (USA) X-TRPM,W H Bramble Airport,MS X-US001,Pike Airfield (USA) @@ -71647,7 +71647,7 @@ XLMV,Severomorsk-3 Naval Air Base (Russia) XLO,Long Xuyên Airport (Vietnam) XLWF,Fedotovo Naval Air Base (Russia) XLWT,Trufanovo Airfield (Russia) -XMA,Maramag Airport,PH +XMA,Maramag Airport (Philippines) XMUC,Flughafen München-Riem (Germany) XNG,Quảng Ngãi Airfield (Vietnam) XPLO,Plockton Airstrip (UK) @@ -73058,7 +73058,7 @@ YPFT,Cooma/Polo Flat (Unlic) Airport (Australia) YPGH,Pigeon Hole Airport (Australia) YPGV,Gove Airport (Australia) YPHS,Pine Hill Station Airport (Australia) -YPID,Phillip Island Heliport (Australia) +YPID (Philippines)illip Island Heliport (Australia) YPIN,Pinnacle Airport (Australia) YPIR,Port Pirie Airport (Australia) YPIX,Pia Airport (Australia) @@ -73724,11 +73724,11 @@ ZA-0005,Blanco Airport (South Africa) ZA-0006,Brosterlea Farm Airport (South Africa) ZA-0007,Stockdale Landing Strip Airport (South Africa) ZA-0008,Venterstad Airport (South Africa) -ZA-0009,Philippolis Airport (South Africa) +ZA-0009 (Philippines)ilippolis Airport (South Africa) ZA-0010,Arbeitsgenot Airport (South Africa) ZA-0011,Brandfort Moreson Airport (South Africa) ZA-0012,Arizona Airport (South Africa) -ZA-0013,Phuthadijhaba Airport (South Africa) +ZA-0013 (Philippines)uthadijhaba Airport (South Africa) ZA-0014,Sterkfontein Airport (South Africa) ZA-0015,Aldam Airport (South Africa) ZA-0016,Aero Farm Airport (South Africa) From 8e7948cabe5d49e7dc0b6d79efea148bacd5bac6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 18 Dec 2024 11:06:52 +0100 Subject: [PATCH 111/737] Updated some abbreviations --- data/dicts/general.csv | 1 - data/dicts/organizations.csv | 20 +++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/data/dicts/general.csv b/data/dicts/general.csv index 0036f449a..a6a86810a 100644 --- a/data/dicts/general.csv +++ b/data/dicts/general.csv @@ -1077,7 +1077,6 @@ DHA,DocosaHexaenoic Acid DHHS,(U.S.) Department of Health and Human Services DHL,Dalsey,Hillblom,and Lynn (courier service) DHRA,(U.S.) DoD Human Resources Activity -DHS,U.S. Department of Homeland Security DHSS,UK Department of Health and Social Security DHTFYSS,U.S. Don't Have Time For You Silly S**** DHY,Dahomey (ISO 3166 trigram; became BEN for Benin in 1977) diff --git a/data/dicts/organizations.csv b/data/dicts/organizations.csv index 445b282da..1f754d908 100644 --- a/data/dicts/organizations.csv +++ b/data/dicts/organizations.csv @@ -14,16 +14,18 @@ BMW, Bavarian Motor Works BND,Bundesnachrichtendienst (Germany) BVD, Bradley, Voorhees, and Day CERN,European Organization for Nuclear Research -CIA,U.S. Central Intelligence Agency +CIA,Central Intelligence Agency (USA) +CISA,Cybersecurity Insurance and Security Agency (USA) CPUC,California Public Utilities Commission -DOC,U.S. Department of Commerce -DOD,U.S. Department of Defense -DOE,U.S. Department of Energy -DOI,U.S. Department of the Interior -DOJ,U.S. Department of Justice -DOL,U.S. Department of Labor -DOS,U.S. Department of State -DOT,U.S. Department of Transportation +DHS,Department of Homeland Security (USA) +DOC,Department of Commerce (USA) +DoD,Department of Defense (USA) +DoE,Department of Energy (USA) +DOI,Department of the Interior (USA) +DOJ,Department of Justice (USA) +DOL,Department of Labor (USA) +DOS,Department of State (USA) +DOT,Department of Transportation (USA) EASA,European Aviation Safety Agency ED,U.S. Department of Education ESA,European Space Agency From e481bfbed4d78fcd49bfcd5064e9e5ecf6f31daf Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 18 Dec 2024 13:51:16 +0100 Subject: [PATCH 112/737] Updated aviation.csv --- data/dicts/aviation.csv | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index cb636cac4..7065d17a6 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -139,6 +139,7 @@ AR,Aspect Ratio ARAC,Army Radar Approach Control (AAF) ARFOR,Area Forecast ARINC,Aeronautical Radio, Inc. (USA) +ARNS,Aeronautical Radio Navigation Service ARLNO,Airline Office ARP,Airport Reference Point ARTCC,Air Route Traffic Control Centre @@ -249,6 +250,7 @@ DFL,Division Flight Level DFS,Deutsche Flugsicherung (ATC in Germany) DGAC,Direction Générale de l'Aviation Civile DLA,Defense Logistics Agency +DME,Distance Measuring Equipment DP,Departure Procedure DSNA,Direction des Services de la Navigation Aérienne DTI,Direction Technique Innovation From 067052251a234773b69cca73103900035e994066 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 19 Dec 2024 13:19:54 +0100 Subject: [PATCH 113/737] Updated wake-up-host.ps1 --- scripts/wake-up-host.ps1 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/wake-up-host.ps1 b/scripts/wake-up-host.ps1 index 6cf92dbca..59bca4b91 100755 --- a/scripts/wake-up-host.ps1 +++ b/scripts/wake-up-host.ps1 @@ -13,8 +13,7 @@ Specifies # of times to send the packet (3 by default) .EXAMPLE PS> ./wake-up-host.ps1 11:22:33:44:55:66 192.168.100.255 - ✅ Sent magic packet 3 times to subnet 192.168.100.255, UDP port 9. - NOTE: wait a minute until the computer fully boots up. + ✅ Sent magic packet to 192.168.100.255, UDP port 9 (3x). The device is up in a minute. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -43,8 +42,7 @@ try { Send-WOL $macAddr.Trim() $ipAddr.Trim() $udpPort Start-Sleep -milliseconds 100 } - "✅ Sent magic packet $numTimes times to subnet $ipAddr, UDP port $($udpPort)." - " NOTE: wait a minute until the computer fully boots up." + "✅ Sent magic packet to $ipAddr, UDP port $($udpPort) ($($numTimes)x). The device is up in a minute." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 4298dd8d73808b9091db6dfb03e325a5dd530c77 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 19 Dec 2024 19:15:04 +0100 Subject: [PATCH 114/737] Updated check-smart-devices.ps1 --- scripts/check-smart-devices.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/check-smart-devices.ps1 b/scripts/check-smart-devices.ps1 index 8a717ce49..4c37aa8ec 100755 --- a/scripts/check-smart-devices.ps1 +++ b/scripts/check-smart-devices.ps1 @@ -5,7 +5,7 @@ This PowerShell script queries the status of the SSD/HDD devices (supporting S.M.A.R.T.) and prints it. .EXAMPLE PS> ./check-smart-devices.ps1 - ✅ 1TB Samsung SSD 970 EVO 1TB via NVMe (35°C, 6142h, 34TB read, 64TB written, 770x on/off, v2B2QEXE7, test passed) + ✅ 1TB Samsung SSD 970 EVO 1TB via NVMe (35°C, 6142h, 770x on/off, 34TB read, 64TB written, v2B2QEXE7, test passed) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -75,16 +75,16 @@ try { } else { $infos += ", $($details.power_on_time.hours)h" } - if ($details.nvme_smart_health_information_log.host_reads) { - $infos += ", $(Bytes2String ($details.nvme_smart_health_information_log.data_units_read * 512 * 1000)) read" - $infos += ", $(Bytes2String ($details.nvme_smart_health_information_log.data_units_written * 512 * 1000)) written" - } if ($details.power_cycle_count -gt 100000) { $infos += ", $($details.power_cycle_count)x on/off (!)" $status = "⚠️" } else { $infos += ", $($details.power_cycle_count)x on/off" } + if ($details.nvme_smart_health_information_log.host_reads) { + $infos += ", $(Bytes2String ($details.nvme_smart_health_information_log.data_units_read * 512 * 1000)) read" + $infos += ", $(Bytes2String ($details.nvme_smart_health_information_log.data_units_written * 512 * 1000)) written" + } $infos += ", v$($details.firmware_version)" if ($details.smart_status.passed) { $infos += ", test passed" From 88e0868a4c2d33c01ba753039a5eb2a3b9e212ab Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 20 Dec 2024 13:33:22 +0100 Subject: [PATCH 115/737] Updated watch-commits.ps1 --- scripts/watch-commits.ps1 | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/scripts/watch-commits.ps1 b/scripts/watch-commits.ps1 index 116c1f099..2da500120 100755 --- a/scripts/watch-commits.ps1 +++ b/scripts/watch-commits.ps1 @@ -7,7 +7,10 @@ Specifies the file path to the local Git repository. .EXAMPLE PS> ./watch-commits.ps1 - ❇️ Updated general.csv by Markus Fleschutz (HEAD -> main, origin/main, origin/HEAD) + + TIME COMMIT + ---- ------ + 11:25 Updated general.csv by Markus Fleschutz (HEAD -> main, origin/main, origin/HEAD) ... .LINK https://github.com/fleschutz/PowerShell @@ -15,7 +18,7 @@ Author: Markus Fleschutz | License: CC0 #> -param([string]$pathToRepo = "$PWD", [int]$updateInterval = 30, [int]$speed = 17) +param([string]$pathToRepo = "$PWD", [int]$updateInterval = 60, [int]$speed = 10) try { Write-Progress "Searching for Git executable..." @@ -26,9 +29,9 @@ try { if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access directory: $pathToRepo" } Write-Progress -completed "Done." - Write-Host "" - Write-Host "TIME COMMIT" - Write-Host "---- ------" + Write-Output "" + Write-Output "TIME COMMIT" + Write-Output "---- ------" $prevLine = "" $tzOffset = (Get-Timezone).BaseUtcOffset.TotalSeconds for (;;) { @@ -36,10 +39,9 @@ try { if ($lastExitCode -ne "0") { throw "'git fetch' failed" } $line = (git -C "$pathToRepo" log origin --format=format:'%at %s by %an%d' --max-count=1) - if ($line -eq $prevLine) { - Start-Sleep -seconds $updateInterval - continue - } + if ($lastExitCode -ne "0") { throw "'git log origin' failed" } + if ("$line" -eq "$prevLine") { Start-Sleep -seconds $updateInterval; continue } + $unixTimestamp = [int64]$line.Substring(0,10) $time = (Get-Date -day 1 -month 1 -year 1970 -hour 0 -minute 0 -second 0).AddSeconds($unixTimestamp) $time = $time.AddSeconds($tzOffset) From 9d13880be54d44f56c7789bf4c719e43f668f089 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 22 Dec 2024 11:07:10 +0100 Subject: [PATCH 116/737] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eaf6f19a8..0110e46f2 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (see AutoHotkey or Jenkins), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console is recommended (e.g. *Windows Terminal*).** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful as command-line (CLI) commands, for remote control via SSH, for automation (via AutoHotkey/Jenkins or on startup/login/logoff/daily/shutdown/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console is recommended (e.g. *Windows Terminal*).** **[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md)** From 587732eb3f59986673eeab6ee65d9948d40de192 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 22 Dec 2024 11:12:33 +0100 Subject: [PATCH 117/737] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0110e46f2..224db22ef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful as command-line (CLI) commands, for remote control via SSH, for automation (via AutoHotkey/Jenkins or on startup/login/logoff/daily/shutdown/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console is recommended (e.g. *Windows Terminal*).** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (e.g. via AutoHotkey/Jenkins or on startup/login/logoff/daily/shutdown/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console like *Windows Terminal* is recommended.** **[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md)** From 64bcdee5e8779d6833ce37cc91776f35d3f996ed Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 27 Dec 2024 09:21:09 +0100 Subject: [PATCH 118/737] Updated check-dns.ps1 --- scripts/check-dns.ps1 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/check-dns.ps1 b/scripts/check-dns.ps1 index fa685b620..3e2fa33e2 100755 --- a/scripts/check-dns.ps1 +++ b/scripts/check-dns.ps1 @@ -5,7 +5,7 @@ This PowerShell script measures the DNS resolution speed using 100 internet domains and prints it. .EXAMPLE PS> ./check-dns.ps1 - ✅ Internet DNS lookups in 33.6ms + ✅ Internet DNS: 33.6ms lookup time .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -24,10 +24,12 @@ try { } [float]$elapsed = $stopWatch.Elapsed.TotalSeconds * 1000.0 $speed = [math]::round($elapsed / $table.Length, 1) - if ($speed -gt 100.0) { - Write-Host "⚠️ Internet DNS lookups take $($speed)ms!" + if ($speed -lt 10.0) { + Write-Output "✅ Internet DNS: $($speed)ms excellent lookup time" + } elseif ($speed -lt 100.0) { + Write-Output "✅ Internet DNS: $($speed)ms lookup time" } else { - Write-Host "✅ Internet DNS lookups in $($speed)ms" + Write-Output "⚠️ Internet DNS: $($speed)ms slow lookup time" } exit 0 # success } catch { From ece41fa2e98fc33f27964c3485dec38ddec013cd Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 27 Dec 2024 15:00:14 +0100 Subject: [PATCH 119/737] Updated cd-scripts.ps1 and ping-host.ps1 --- scripts/cd-scripts.ps1 | 4 ++-- scripts/ping-host.ps1 | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/cd-scripts.ps1 b/scripts/cd-scripts.ps1 index 88601d0b5..d17d87563 100755 --- a/scripts/cd-scripts.ps1 +++ b/scripts/cd-scripts.ps1 @@ -4,8 +4,8 @@ .DESCRIPTION This PowerShell script changes the working directory to the PowerShell scripts folder. .EXAMPLE - PS> ./cd-scripts - 📂C:\Users\Markus\Repos\PowerShell\scripts + PS> ./cd-scripts.ps1 + 📂C:\Repos\PowerShell\scripts .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index 4f7ddcd9f..d8d19e093 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -7,7 +7,7 @@ Specifies the hostname or IP address to ping (x.com by default) .EXAMPLE PS> ./ping-host.ps1 x.com - ✅ Host 'x.com' is UP (20ms latency to IP 104.244.42.65). + ✅ Host 'x.com' at IP 104.244.42.1 is up with 20ms latency. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,11 +22,11 @@ try { [Threading.Tasks.Task]::WaitAll($tasks) foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { - Write-Host "✅ Host '$hostname' is UP ($($ping.RoundtripTime)ms latency to IP $($ping.Address))." + Write-Output "✅ Host '$hostname' at IP $($ping.Address) is up with $($ping.RoundtripTime)ms latency." exit 0 # success } } - Write-Host "⚠️ Host '$hostname' doesn't respond - check the connection or maybe the host is down (yet)." + Write-Output "⚠️ Host '$hostname' doesn't respond - check the connection or maybe the host is down." exit 1 } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 7841c95ad73ec3775d25488989cca3f314b7cbb6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 27 Dec 2024 22:21:32 +0100 Subject: [PATCH 120/737] Updated check-network.ps1 and check-vpn.ps1 --- scripts/check-network.ps1 | 2 +- scripts/check-vpn.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/check-network.ps1 b/scripts/check-network.ps1 index 99a167b21..9bfe31f27 100755 --- a/scripts/check-network.ps1 +++ b/scripts/check-network.ps1 @@ -20,9 +20,9 @@ Write-Host "`n N E T W O R K" -foregroundColor green & "$PSScriptRoot/list-local-ip.ps1" & "$PSScriptRoot/ping-local-devices.ps1" & "$PSScriptRoot/list-network-shares.ps1" -& "$PSScriptRoot/check-vpn.ps1" & "$PSScriptRoot/list-internet-ip.ps1" & "$PSScriptRoot/ping-internet.ps1" & "$PSScriptRoot/check-dns.ps1" +& "$PSScriptRoot/check-vpn.ps1" & "$PSScriptRoot/list-ssh-key.ps1" exit 0 # success diff --git a/scripts/check-vpn.ps1 b/scripts/check-vpn.ps1 index 2e130962a..726147b14 100755 --- a/scripts/check-vpn.ps1 +++ b/scripts/check-vpn.ps1 @@ -5,7 +5,7 @@ This PowerShell script queries the status of the VPN connection(s) and prints it. .EXAMPLE PS> ./check-vpn.ps1 - ✅ VPN to NASA L2TP is connected + ✅ Internet VPN to NASA L2TP is connected .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -19,7 +19,7 @@ try { } else { $connections = Get-VPNConnection foreach($connection in $connections) { - Write-Host "✅ VPN to $($connection.Name) is $($connection.ConnectionStatus.ToLower())" + Write-Host "✅ Internet VPN to $($connection.Name) is $($connection.ConnectionStatus.ToLower())" $noVPN = $false } } From 1a0daf2109269120c1c3c3f7ab15bacf041a916b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 28 Dec 2024 16:46:20 +0100 Subject: [PATCH 121/737] Updated ping-host.ps1 --- scripts/ping-host.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index d8d19e093..0680e9c0f 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -24,9 +24,12 @@ try { if ($ping.Status -eq "Success") { Write-Output "✅ Host '$hostname' at IP $($ping.Address) is up with $($ping.RoundtripTime)ms latency." exit 0 # success + } else { + Write-Output "⚠️ No reply from '$hostname' (IP $($ping.Address)) - check the connection or maybe the host is down." + exit 1 } } - Write-Output "⚠️ Host '$hostname' doesn't respond - check the connection or maybe the host is down." + Write-Output "⚠️ No reply from host '$hostname' - check the connection or maybe the host is down." exit 1 } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From e796bae7cbd0c4d4e689af75af8614afd5729b3a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 30 Dec 2024 11:17:29 +0100 Subject: [PATCH 122/737] Updated copy-photos-sorted.ps1 --- scripts/copy-photos-sorted.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/copy-photos-sorted.ps1 b/scripts/copy-photos-sorted.ps1 index 6d3f616b5..e578b8d24 100755 --- a/scripts/copy-photos-sorted.ps1 +++ b/scripts/copy-photos-sorted.ps1 @@ -10,7 +10,7 @@ .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 (0 skipped) to 📂C:\MyPhotos in 41s. + ✅ Copied 1 photo to 📂C:\MyPhotos (0 skipped) in 41s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -88,7 +88,7 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds [int]$copied = $files.Count - $skipped - "✅ Copied $copied photos ($skipped skipped) to 📂$targetDir in $($elapsed)s." + "✅ Copied $copied photos to 📂$targetDir ($skipped skipped) in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From a5aa63615d2ff7e638ed4cef9637d22a2096c71c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 30 Dec 2024 20:26:44 +0100 Subject: [PATCH 123/737] Updated ping-local-devices.ps1 --- scripts/ping-local-devices.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ping-local-devices.ps1 b/scripts/ping-local-devices.ps1 index 9ed6d1109..a98dfead6 100755 --- a/scripts/ping-local-devices.ps1 +++ b/scripts/ping-local-devices.ps1 @@ -16,7 +16,7 @@ param([int]$timeout = 600) # ms ping timeout try { - $names = @('accesspoint','AD','AP','amnesiac','archlinux','auriga','berlin','berry','boston','brother','canon','castor','cisco','echodot','epson','epson2815','fedora','fireball','firewall','fritz.box','fritz.nas','fritz.powerline','fritz.repeater','gassensor','gateway','hippo','heizung','hodor','homemanager','io','iphone','jarvis','jenkins','LA','laptop','linux','jupiter','mars','mercury','miami','mobile','none','none-1','none-2','NY','o2.lte','octo','office','officepc','paris','PI','pixel-6a','PC','pluto','printer','proxy','R2D2','raspberry','raspi','rocket','rome','router','sentinel','server','shelly','shelly1','smartphone','smartwatch','soundbar','speedport.ip','sunnyboy','surface','switch','tablet','tau','tigercat','tolino','tux','TV','ubuntu','vega','venus','xrx','zeus') # sorted alphabetically + $names = @('accesspoint','AD','AP','amnesiac','archlinux','auriga','berlin','berry','boston','brother','canon','castor','cisco','echodot','epson','epson2815','fedora','fireball','firewall','fritz.box','fritz.nas','fritz.powerline','fritz.repeater','gassensor','gateway','hippo','heizung','hodor','homemanager','io','iphone','jarvis','jenkins','LA','laptop','linux','jupiter','mars','mercury','miami','mobile','nas','none','none-1','none-2','NY','o2.lte','octo','office','officepc','paris','PI','pixel-6a','PC','pluto','printer','proxy','R2D2','raspberry','raspi','rocket','rome','router','sentinel','server','shelly','shelly1','smartphone','smartwatch','soundbar','speedport.ip','synologynas','sunnyboy','surface','switch','tablet','tau','tigercat','tolino','tux','TV','ubuntu','vega','venus','xrx','zeus') # sorted alphabetically $queue = [System.Collections.Queue]::new() foreach($name in $names) { $ping = [System.Net.Networkinformation.Ping]::new() $queue.Enqueue( @{Host=$name;Ping=$ping;Async=$ping.SendPingAsync($name,$timeout)} ) From 86c15a6982331a77db8f7cb4f8dbc6e87635a16c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 30 Dec 2024 22:43:24 +0100 Subject: [PATCH 124/737] Updated some scripts --- scripts/check-hardware.ps1 | 4 ++-- scripts/check-network.ps1 | 4 ++-- scripts/check-software.ps1 | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/check-hardware.ps1 b/scripts/check-hardware.ps1 index 352392c66..b62d325f4 100755 --- a/scripts/check-hardware.ps1 +++ b/scripts/check-hardware.ps1 @@ -6,7 +6,7 @@ .EXAMPLE PS> ./check-hardware.ps1 - H A R D W A R E + === H A R D W A R E === ✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C) ... .LINK @@ -15,7 +15,7 @@ Author: Markus Fleschutz | License: CC0 #> -Write-Host "`n H A R D W A R E" -foregroundColor green +Write-Host "`n === H A R D W A R E ===" -foregroundColor green & "$PSScriptRoot/check-cpu.ps1" & "$PSScriptRoot/check-ram.ps1" & "$PSScriptRoot/check-gpu.ps1" diff --git a/scripts/check-network.ps1 b/scripts/check-network.ps1 index 9bfe31f27..9d489a2c3 100755 --- a/scripts/check-network.ps1 +++ b/scripts/check-network.ps1 @@ -6,7 +6,7 @@ .EXAMPLE PS> ./check-network.ps1 - N E T W O R K + === N E T W O R K === ✅ Firewall enabled ... .LINK @@ -15,7 +15,7 @@ Author: Markus Fleschutz | License: CC0 #> -Write-Host "`n N E T W O R K" -foregroundColor green +Write-Host "`n === N E T W O R K ===" -foregroundColor green & "$PSScriptRoot/check-firewall" & "$PSScriptRoot/list-local-ip.ps1" & "$PSScriptRoot/ping-local-devices.ps1" diff --git a/scripts/check-software.ps1 b/scripts/check-software.ps1 index a31d07991..32c026b15 100755 --- a/scripts/check-software.ps1 +++ b/scripts/check-software.ps1 @@ -6,7 +6,7 @@ .EXAMPLE PS> ./check-software.ps1 - S O F T W A R E + === S O F T W A R E === ✅ Windows 10 Pro 64-Bit (v10.0.19045, since 5/2/2021) ... .LINK @@ -15,7 +15,7 @@ Author: Markus Fleschutz | License: CC0 #> -Write-Host "`n S O F T W A R E" -foregroundColor green +Write-Host "`n === S O F T W A R E ===" -foregroundColor green & "$PSScriptRoot/check-os.ps1" & "$PSScriptRoot/check-uptime.ps1" & "$PSScriptRoot/check-apps.ps1" From 982debb8929caaa21ba2c089b943bfd365e0f0e1 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 30 Dec 2024 22:48:31 +0100 Subject: [PATCH 125/737] Updated list-news.ps1 --- scripts/list-news.ps1 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/list-news.ps1 b/scripts/list-news.ps1 index a8ca3f867..5a0420ae8 100755 --- a/scripts/list-news.ps1 +++ b/scripts/list-news.ps1 @@ -12,9 +12,9 @@ .EXAMPLE PS> ./list-news.ps1 - UTC HEADLINES (source: https://www.yahoo.com/news/world) - --- --------- - 09:15 • Deadly Mediterranean wildfires kill more than 40 + UTC HEADLINES (source: https://www.yahoo.com/news/world) + --- --------- + 09:15 Deadly Mediterranean wildfires kill more than 40 ... .LINK https://github.com/fleschutz/PowerShell @@ -28,19 +28,19 @@ try { [xml]$content = (Invoke-WebRequest -URI $RSS_URL -useBasicParsing).Content $title = $content.rss.channel.title $URL = $content.rss.channel.link - Write-Host "`n UTC HEADLINES (source: " -noNewline + Write-Host "`n UTC HEADLINES (source: " -noNewline Write-Host $URL -foregroundColor blue -noNewline Write-Host ")" - Write-Host " --- ---------" + Write-Host " --- ---------" [int]$count = 1 foreach ($item in $content.rss.channel.item) { $title = $item.title -replace "â","'" $time = $item.pubDate.Substring(11, 5) - & "$PSScriptRoot/write-typewriter.ps1" "$time • $title" $speed + & "$PSScriptRoot/write-typewriter.ps1" "$time $title" $speed if ($count++ -eq $maxLines) { break } } exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 -} \ No newline at end of file +} From 78ceb4bd181ca09bd526b16da9170ff9948ff02b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 3 Jan 2025 11:48:36 +0100 Subject: [PATCH 126/737] Updated ping-host.ps1 --- scripts/ping-host.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index 0680e9c0f..c899d6a3c 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -7,7 +7,7 @@ Specifies the hostname or IP address to ping (x.com by default) .EXAMPLE PS> ./ping-host.ps1 x.com - ✅ Host 'x.com' at IP 104.244.42.1 is up with 20ms latency. + ✅ Host 'x.com' with 20ms latency at IP 104.244.42.1 is up 👍 .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,7 +22,7 @@ try { [Threading.Tasks.Task]::WaitAll($tasks) foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { - Write-Output "✅ Host '$hostname' at IP $($ping.Address) is up with $($ping.RoundtripTime)ms latency." + Write-Output "✅ Host '$hostname' with $($ping.RoundtripTime)ms latency at IP $($ping.Address) is up 👍" exit 0 # success } else { Write-Output "⚠️ No reply from '$hostname' (IP $($ping.Address)) - check the connection or maybe the host is down." From 1d560f756c4381e01d7d339e7d8c207c771f650d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 3 Jan 2025 22:36:12 +0100 Subject: [PATCH 127/737] Added install-jenkins-agent.ps1 --- scripts/install-jenkins-agent.ps1 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/install-jenkins-agent.ps1 diff --git a/scripts/install-jenkins-agent.ps1 b/scripts/install-jenkins-agent.ps1 new file mode 100644 index 000000000..d47dea66c --- /dev/null +++ b/scripts/install-jenkins-agent.ps1 @@ -0,0 +1,13 @@ + + +mkdir /opt/jenkins-agent + +cd /opt/jenkins-agent + +curl -sO http://tau:8080/jnlpJars/agent.jar + +sudo apt install default-jre + +& java -jar agent.jar -url http://tau:8080/ -secret a7865adef7df7aa6ea222a3d523ee4bb62fa0c5c2a87f3b58a84fe30b979f9c0 -name pi -webSocket -workDir "/opt/jenkins-agent" + +exit 0 # success From 0cae40f435b9b1d3d236eb45bb0834e60e830f4c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 5 Jan 2025 17:24:44 +0100 Subject: [PATCH 128/737] Updated install-calibre-server.ps1 --- scripts/install-calibre-server.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install-calibre-server.ps1 b/scripts/install-calibre-server.ps1 index 2258bf746..e25d32779 100755 --- a/scripts/install-calibre-server.ps1 +++ b/scripts/install-calibre-server.ps1 @@ -17,7 +17,7 @@ #Requires -RunAsAdministrator -param([int]$port = 8099, [string]$mediaFolder = "$HOME/Calibre Library", [string]$userDB = "$HOME/CalibreUsers.sqlite", [string]$logfile = "$HOME/CalibreServer.log") +param([int]$port = 8099, [string]$mediaFolder = "/opt/Calibre Library", [string]$userDB = "/opt/CalibreUsers.sqlite", [string]$logfile = "/opt/CalibreServer.log") try { if (-not $IsLinux) { throw "Sorry, currently only supported on Linux" } From 76ae5194089b0cb53b4a148c69b1a65b711778b6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 6 Jan 2025 10:11:38 +0100 Subject: [PATCH 129/737] Updated install-calibre-server.ps1 --- scripts/install-calibre-server.ps1 | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/scripts/install-calibre-server.ps1 b/scripts/install-calibre-server.ps1 index e25d32779..23c5a206f 100755 --- a/scripts/install-calibre-server.ps1 +++ b/scripts/install-calibre-server.ps1 @@ -24,28 +24,29 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() - "⏳ (1/5) Updating package infos..." + "`n⏳ (1/5) Updating package infos..." & sudo apt update -y if ($lastExitCode -ne "0") { throw "'apt update' failed" } - "⏳ (2/5) Installing Calibre package..." + "`n⏳ (2/5) Installing Calibre package..." & sudo apt install calibre -y if ($lastExitCode -ne "0") { throw "'apt install calibre' failed" } - Write-Host "⏳ (3/5) Searching for Calibre server executable... " -noNewline + "`n⏳ (3/5) Searching for Calibre server executable..." & calibre-server --version if ($lastExitCode -ne "0") { throw "Can't execute 'calibre-server' - make sure Calibre server is installed and available" } - "⏳ (4/5) Creating media folder at: $mediaFolder ... (if non-existent)" + "`n⏳ (4/5) Creating media folder at: $mediaFolder ... (if non-existent)" mkdir $mediaFolder - "⏳ (5/5) Starting Calibre server as background process..." - & calibre-server --port $port --num-per-page 100 --userdb $userDB --log $logfile --daemonize $HOME/'Calibre Library' + "`n⏳ (5/5) Starting Calibre server as background process..." + & calibre-server --port $port --num-per-page 100 --userdb $userDB --log $logfile --daemonize $mediaFolder [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Installed Calibre server on port $port in $($elapsed)s (media at: $mediaFolder, user DB: $userDB, log to: $logfile)" + "✅ Installed and started Calibre server on port $port in $($elapsed)s." + " (media at: $mediaFolder, user DB: $userDB, logging to: $logfile)" exit 0 # success } catch { -"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" -exit 1 + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 } From c5432f1708b85250655f7b6178fc31008d6f0360 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 6 Jan 2025 10:29:54 +0100 Subject: [PATCH 130/737] Updated install-calibre-server.ps1 --- scripts/install-calibre-server.ps1 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/install-calibre-server.ps1 b/scripts/install-calibre-server.ps1 index 23c5a206f..f75941da3 100755 --- a/scripts/install-calibre-server.ps1 +++ b/scripts/install-calibre-server.ps1 @@ -5,6 +5,12 @@ This PowerShell script installs and starts a local Calibre server as background process. .PARAMETER port Specifies the Web port number (8099 by default) +.PARAMETER mediaFolder + Specifies the file path to the media ('/opt/Calibre Library' by default) +.PARAMETER userDB + Specifies the file path to the user database ('/opt/CalibreUsers.sqlite' by default) +.PARAMETER logfile + Specifies the file path to the log file ('/opt/CalibreServer.log' by default) .EXAMPLE PS> ./install-calibre-server.ps1 ⏳ (1/5) Updating package infos... @@ -37,10 +43,10 @@ try { if ($lastExitCode -ne "0") { throw "Can't execute 'calibre-server' - make sure Calibre server is installed and available" } "`n⏳ (4/5) Creating media folder at: $mediaFolder ... (if non-existent)" - mkdir $mediaFolder + & mkdir $mediaFolder "`n⏳ (5/5) Starting Calibre server as background process..." - & calibre-server --port $port --num-per-page 100 --userdb $userDB --log $logfile --daemonize $mediaFolder + & sudo calibre-server --port $port --num-per-page 100 --userdb $userDB --log $logfile --daemonize $mediaFolder [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Installed and started Calibre server on port $port in $($elapsed)s." From 4c19a922205159285f4cae8dd8e6115e32c33ff9 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 7 Jan 2025 16:23:01 +0100 Subject: [PATCH 131/737] Updated install-jenkins-agent.ps1 --- scripts/install-jenkins-agent.ps1 | 35 ++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/scripts/install-jenkins-agent.ps1 b/scripts/install-jenkins-agent.ps1 index d47dea66c..26bd2c9ff 100644 --- a/scripts/install-jenkins-agent.ps1 +++ b/scripts/install-jenkins-agent.ps1 @@ -1,13 +1,34 @@ +<# +.SYNOPSIS + Installs the Jenkins Agent +.DESCRIPTION + This PowerShell script installs and starts the Jenkins Agent. +.EXAMPLE + PS> ./install-jenkins-agent.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> +param([string]$installDir = "/opt/jenkins-agent", [string]$jenkinsURL = "http://tux:8080", [string]$secretKey = "") -mkdir /opt/jenkins-agent +try { + "`n⏳ (1/4) Installing Java Runtime Environment (JRE)..." + & sudo apt install default-jre -cd /opt/jenkins-agent + "`n⏳ (2/4) Creating installation folder at: $installDir ... (if non-existent)" + & mkdir $installDir + & cd $installDir -curl -sO http://tau:8080/jnlpJars/agent.jar + "`n⏳ (3/4) Loading current .JAR program from Jenkins controller..." + & curl -sO $jenkinsURL/jnlpJars/agent.jar -sudo apt install default-jre + "`n⏳ (4/4) Starting Jenkins agent ..." + & java -jar agent.jar -url $jenkinsURL -secret $secretKey -name pi -webSocket -workDir $installDir -& java -jar agent.jar -url http://tau:8080/ -secret a7865adef7df7aa6ea222a3d523ee4bb62fa0c5c2a87f3b58a84fe30b979f9c0 -name pi -webSocket -workDir "/opt/jenkins-agent" - -exit 0 # success + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} From f1a20bc962f1d59083d1536409472eeca710e203 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 8 Jan 2025 14:29:32 +0100 Subject: [PATCH 132/737] Updated list-commits.ps1 and watch-commits.ps1 --- scripts/list-commits.ps1 | 26 +++++++++++++------------- scripts/watch-commits.ps1 | 4 ++-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/scripts/list-commits.ps1 b/scripts/list-commits.ps1 index 73f723e70..8d41b4fec 100755 --- a/scripts/list-commits.ps1 +++ b/scripts/list-commits.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION This PowerShell script lists all commits in a Git repository. Supported output formats are: pretty, list, compact, normal or JSON. .PARAMETER RepoDir - Specifies the path to the Git repository. + Specifies the file path to the local Git repository. .PARAMETER Format Specifies the output format: pretty|list|compact|normal|JSON (pretty by default) .EXAMPLE @@ -20,40 +20,40 @@ Author: Markus Fleschutz | License: CC0 #> -param([string]$RepoDir = "$PWD", [string]$Format = "pretty") +param([string]$pathToRepo = "$PWD", [string]$format = "pretty") try { - if (-not(Test-Path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" } + if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access directory: $pathToRepo" } - $Null = (git --version) + $null = (git --version) if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Progress "Fetching latest updates..." - & git -C "$RepoDir" fetch --all --quiet + & git -C "$pathToRepo" fetch --all --quiet if ($lastExitCode -ne "0") { throw "'git fetch' failed" } Write-Progress -Completed "Done." - if ($Format -eq "pretty") { + if ($format -eq "pretty") { "" - & git -C "$RepoDir" log --graph --format=format:'%C(bold yellow)%s%C(reset)%d by %an 🕘%cs 🔗%h' --all - } elseif ($Format -eq "list") { + & git -C "$pathToRepo" log --graph --format=format:'%C(bold yellow)%s%C(reset)%d by %an 🕘%cs 🔗%h' --all + } elseif ($format -eq "list") { "" "Hash Date Author Description" "---- ---- ------ -----------" & git log --pretty=format:"%h%x09%cs%x09%an%x09%s" - } elseif ($Format -eq "compact") { + } elseif ($format -eq "compact") { "" "List of Git Commits" "-------------------" - & git -C "$RepoDir" log --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %C(bold blue)by %an %cr%Creset' --abbrev-commit + & git -C "$pathToRepo" log --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %C(bold blue)by %an %cr%Creset' --abbrev-commit if ($lastExitCode -ne "0") { throw "'git log' failed" } - } elseif ($Format -eq "JSON") { - & git -C "$RepoDir" log --pretty=format:'{%n "commit": "%H",%n "abbreviated_commit": "%h",%n "tree": "%T",%n "abbreviated_tree": "%t",%n "parent": "%P",%n "abbreviated_parent": "%p",%n "refs": "%D",%n "encoding": "%e",%n "subject": "%s",%n "sanitized_subject_line": "%f",%n "body": "%b",%n "commit_notes": "%N",%n "verification_flag": "%G?",%n "signer": "%GS",%n "signer_key": "%GK",%n "author": {%n "name": "%aN",%n "email": "%aE",%n "date": "%aD"%n },%n "commiter": {%n "name": "%cN",%n "email": "%cE",%n "date": "%cD"%n }%n},' + } elseif ($format -eq "JSON") { + & git -C "$pathToRepo" log --pretty=format:'{%n "commit": "%H",%n "abbreviated_commit": "%h",%n "tree": "%T",%n "abbreviated_tree": "%t",%n "parent": "%P",%n "abbreviated_parent": "%p",%n "refs": "%D",%n "encoding": "%e",%n "subject": "%s",%n "sanitized_subject_line": "%f",%n "body": "%b",%n "commit_notes": "%N",%n "verification_flag": "%G?",%n "signer": "%GS",%n "signer_key": "%GK",%n "author": {%n "name": "%aN",%n "email": "%aE",%n "date": "%aD"%n },%n "commiter": {%n "name": "%cN",%n "email": "%cE",%n "date": "%cD"%n }%n},' } else { "" "List of Git Commits" "-------------------" - & git -C "$RepoDir" log + & git -C "$pathToRepo" log if ($lastExitCode -ne "0") { throw "'git log' failed" } } exit 0 # success diff --git a/scripts/watch-commits.ps1 b/scripts/watch-commits.ps1 index 2da500120..73c32d855 100755 --- a/scripts/watch-commits.ps1 +++ b/scripts/watch-commits.ps1 @@ -1,8 +1,8 @@ <# .SYNOPSIS - Watch commits live. + Watch Git commits live. .DESCRIPTION - This PowerShell script continuously lists the latest commit in a Git repository in real-time. + This PowerShell script continuously lists the latest commits in a Git repository in real-time. .PARAMETER pathToRepo Specifies the file path to the local Git repository. .EXAMPLE From 9cf0ecacb38780c60b8d18f1a38a5fb61d0c2b0b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 8 Jan 2025 15:51:28 +0100 Subject: [PATCH 133/737] Updated cd-repos.ps1 and new-symlink.ps1 --- scripts/cd-repos.ps1 | 10 +++++++--- scripts/new-symlink.ps1 | 9 +++++---- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/scripts/cd-repos.ps1 b/scripts/cd-repos.ps1 index 6887d421b..691824ff5 100755 --- a/scripts/cd-repos.ps1 +++ b/scripts/cd-repos.ps1 @@ -1,13 +1,13 @@ <# .SYNOPSIS - Sets the working directory to the user's repos folder + Sets the working directory to the Git repos folder .DESCRIPTION - This PowerShell script changes the working directory to the user's Git repositories folder. + This PowerShell script changes the working directory to the Git repositories folder. .PARAMETER subpath Specifies an additional relative subpath (optional) .EXAMPLE PS> ./cd-repos.ps1 - 📂C:\Users\Markus\Repos + 📂C:\Repos .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -25,6 +25,10 @@ try { $path = "~/source/repos/" } elseif (Test-Path "/Repos/" -pathType Container) { $path = "/Repos/" + } elseif (Test-Path "C:/Repos" -pathType Container) { + $path = "C:/Repos" + } elseif (Test-Path "C:/Repositories" -pathType Container) { + $path = "C:/Repositories" } else { throw "The folder for Git repositories doesn't exist (yet)" } diff --git a/scripts/new-symlink.ps1 b/scripts/new-symlink.ps1 index afc83f2c5..70e561327 100755 --- a/scripts/new-symlink.ps1 +++ b/scripts/new-symlink.ps1 @@ -4,12 +4,12 @@ .DESCRIPTION This PowerShell script creates a new symbolic link file, linking to a target. .PARAMETER symlink - Specifies the path to the new symlink file + Specifies the file path to the new symlink file .PARAMETER target - Specifies the path to the target + Specifies the file path to the target .EXAMPLE PS> ./new-symlink.ps1 C:\User\Markus\Windows C:\Windows - ✅ New symlink file 'C:\User\Markus\Windows' created, linking to: C:\Windows + ✅ Created new symlink file 'C:\User\Markus\Windows', linking to: C:\Windows .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -23,8 +23,9 @@ try { if ($target -eq "" ) { $target = Read-Host "Enter path to target" } New-Item -path "$symlink" -itemType SymbolicLink -value "$target" + if ($lastExitCode -ne "0") { throw "Command 'New-Item' has failed" } - "✅ New symlink file '$symlink' created, linking to: $target" + "✅ Created new symlink file '$symlink', linking to: $target" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From cb845c54d328e548901f6c96661f4bcfe21eb495 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 8 Jan 2025 16:09:55 +0100 Subject: [PATCH 134/737] Improved cd-repos.ps1 --- scripts/cd-repos.ps1 | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/scripts/cd-repos.ps1 b/scripts/cd-repos.ps1 index 691824ff5..33970fdd1 100755 --- a/scripts/cd-repos.ps1 +++ b/scripts/cd-repos.ps1 @@ -15,25 +15,28 @@ #> try { - if (Test-Path "~/Repos/" -pathType Container) { # try short name - $path = "~/Repos/" - } elseif (Test-Path "~/repos/" -pathType Container) { - $path = "~/repos/" - } elseif (Test-Path "~/Repositories/" -pathType Container) { # try long name - $path = "~/Repositories/" + if (Test-Path "~/Repos" -pathType Container) { # try short name in home dir + $path = "~/Repos" + } elseif (Test-Path "~/repos" -pathType Container) { + $path = "~/repos" + } elseif (Test-Path "~/Repositories" -pathType Container) { # try long name + $path = "~/Repositories" + } elseif (Test-Path "~/repositories" -pathType Container) { + $path = "~/repositories" + } elseif (Test-Path "/Repos" -pathType Container) { # try short name in root dir + $path = "/Repos" + } elseif (Test-Path "/repos" -pathType Container) { + $path = "/repos" + } elseif (Test-Path "/Repositories" -pathType Container) { # try long name + $path = "/Repositories" + } elseif (Test-Path "/repositories" -pathType Container) { + $path = "/repositories" } elseif (Test-Path "~/source/repos/" -pathType Container) { # try Visual Studio default $path = "~/source/repos/" - } elseif (Test-Path "/Repos/" -pathType Container) { - $path = "/Repos/" - } elseif (Test-Path "C:/Repos" -pathType Container) { - $path = "C:/Repos" - } elseif (Test-Path "C:/Repositories" -pathType Container) { - $path = "C:/Repositories" } else { - throw "The folder for Git repositories doesn't exist (yet)" + throw "No Git repositories folder in your home directory or in the root folder yet" } - if (-not(Test-Path "$path" -pathType Container)) { throw "The path to 📂$path doesn't exist (yet)" } - $path = Resolve-Path "$path" + $path = Resolve-Path $path Set-Location "$path" "📂$path" exit 0 # success From 82156d8fe6d43694e3f615044c669a1acdfe074f Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 8 Jan 2025 16:36:35 +0100 Subject: [PATCH 135/737] Updated cd-repo.ps1 and cd-repos.ps1 --- scripts/cd-repo.ps1 | 38 ++++++++++++++++++++++---------------- scripts/cd-repos.ps1 | 4 ++-- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/scripts/cd-repo.ps1 b/scripts/cd-repo.ps1 index 065dc9ce1..55a3f9f93 100755 --- a/scripts/cd-repo.ps1 +++ b/scripts/cd-repo.ps1 @@ -7,8 +7,7 @@ Specifies the folder name of the Git repository .EXAMPLE PS> ./cd-repo.ps1 rust - 📂C:\Repos\rust - 🌿on branch: ## main ... origin/main + 📂C:\Repos\rust · on branch: ## main ... origin/main .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -20,26 +19,33 @@ param([string]$folderName = "") try { if ("$folderName" -eq "") { $folderName = Read-Host "Enter the Git repository's folder name" } - if (Test-Path "~/Repos/" -pathType container) { # try short name - $path = "~/Repos/" - } elseif (Test-Path "~/repos/" -pathType container) { - $path = "~/repos/" - } elseif (Test-Path "~/Repositories/" -pathType container) { # try long name - $path = "~/Repositories/" - } elseif (Test-Path "~/source/repos/" -pathType container) { # try Visual Studio default - $path = "~/source/repos/" - } elseif (Test-Path "/Repos/" -pathType container) { - $path = "/Repos/" + if (Test-Path "~/Repos" -pathType Container) { # try short name in home dir + $path = "~/Repos" + } elseif (Test-Path "~/repos" -pathType Container) { + $path = "~/repos" + } elseif (Test-Path "~/Repositories" -pathType Container) { # try long name + $path = "~/Repositories" + } elseif (Test-Path "~/repositories" -pathType Container) { + $path = "~/repositories" + } elseif (Test-Path "/Repos" -pathType Container) { # try short name in root dir + $path = "/Repos" + } elseif (Test-Path "/repos" -pathType Container) { + $path = "/repos" + } elseif (Test-Path "/Repositories" -pathType Container) { # try long name + $path = "/Repositories" + } elseif (Test-Path "/repositories" -pathType Container) { + $path = "/repositories" + } elseif (Test-Path "~/source/repos" -pathType Container) { # try Visual Studio default + $path = "~/source/repos" } else { - throw "The folder for Git repositories doesn't exist (yet)" + throw "No Git repositories folder in your home directory or in the root folder yet" } - - $path += $folderName + $path += "/" + $folderName if (-not(Test-Path "$path" -pathType container)) { throw "The path to 📂$path doesn't exist (yet)" } $path = Resolve-Path "$path" Set-Location "$path" - Write-Host "📂$path`n🌿on branch: " -noNewline + Write-Host "📂$path · on branch: " -noNewline & git status --short --branch --show-stash exit 0 # success } catch { diff --git a/scripts/cd-repos.ps1 b/scripts/cd-repos.ps1 index 33970fdd1..bd00cd309 100755 --- a/scripts/cd-repos.ps1 +++ b/scripts/cd-repos.ps1 @@ -31,8 +31,8 @@ try { $path = "/Repositories" } elseif (Test-Path "/repositories" -pathType Container) { $path = "/repositories" - } elseif (Test-Path "~/source/repos/" -pathType Container) { # try Visual Studio default - $path = "~/source/repos/" + } elseif (Test-Path "~/source/repos" -pathType Container) { # try Visual Studio default + $path = "~/source/repos" } else { throw "No Git repositories folder in your home directory or in the root folder yet" } From 73a3b6b65ce523b84d63425eb45cf5b08bbd0073 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 8 Jan 2025 21:03:41 +0100 Subject: [PATCH 136/737] Updated ping-host.ps1 --- scripts/ping-host.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index c899d6a3c..b8e22b057 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -18,7 +18,7 @@ param([string]$hostname = "x.com") try { $remoteHosts = $hostname.Split(",") - $tasks = $remoteHosts | foreach { (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,3000) } + $tasks = $remoteHosts | foreach { (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,5000) } [Threading.Tasks.Task]::WaitAll($tasks) foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { From 82140ddc3224c016fa6aa7d9a18e061cec64eaf0 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 13 Jan 2025 09:28:25 +0100 Subject: [PATCH 137/737] Updated some abbreviations --- data/dicts/aviation.csv | 2 ++ data/dicts/chemistry.csv | 9 +++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index 7065d17a6..691b71642 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -312,6 +312,7 @@ FOD,Foreign Object Debris FOV,Field of View FWC,Flight Warning Computer GA,"General Aviation, Go Around (VFR)" +GAF,German Air Force GND,Ground GP,Glide Path GPS,Global Positioning System @@ -442,6 +443,7 @@ RNAV,Area Navigation RNP,Required Navigation Performance ROC,Rate Of Climb ROC,Required Obstacle Clearance +ROKAF,Republic of Korea Air Force RPS,Radar Position Symbol RRPM,Rotor Rotations per Minute RSA,Runway Safety Area diff --git a/data/dicts/chemistry.csv b/data/dicts/chemistry.csv index f3b20f1b6..732b734b5 100644 --- a/data/dicts/chemistry.csv +++ b/data/dicts/chemistry.csv @@ -316,17 +316,14 @@ G,Gibbs Free Energy G,"Giga prefix (109)" G,"Glycine g,gram" G,Guanosine -Ga,Gallium -Ga,Gauge +Ga,Gallium or Gauge +GaF,"Gallium(I)-fluorid" GABA,Gamma-AminoButyric Acid GAD,Glutamate Decarboxylase GAG,Glycosaminoglycan GBB,Gas Blow Back GC,Geiger Counter -GCC,Global Carbon Cycle -GCC,Global Climate Change -GCC,Glucocorticoid -GCC,Guanylyl Cyclase C +GCC,"Global Carbon Cycle, Global Climate Change, Glucocorticoid, or: Guanylyl Cyclase C" GCMS,Gas Chromatographic Mass Spectrometer Gd,Gadolinium GDP,Guanosine DiPhosphate From 3edd43899a9bbec59916cec495c937c5f2b15248 Mon Sep 17 00:00:00 2001 From: Arash-Seifi Date: Mon, 13 Jan 2025 21:13:29 +0330 Subject: [PATCH 138/737] Added a PowerShell script for "creating a new power plan" --- README.md | 1 + docs/create-power-plan.md | 38 +++++++++++++++++++++++++++++++++++ scripts/create-power-plan.ps1 | 17 ++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 docs/create-power-plan.md create mode 100644 scripts/create-power-plan.ps1 diff --git a/README.md b/README.md index 224db22ef..939c8c447 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,7 @@ Mega Collection of PowerShell Scripts | [close-thunderbird.ps1](scripts/close-thunderbird.ps1) | Closes Mozilla Thunderbird. [More »](docs/close-thunderbird.md) | | [close-vlc.ps1](scripts/close-vlc.ps1) | Closes the VLC media player application. [More »](docs/close-vlc.md) | | [close-windows-terminal.ps1](scripts/close-windows-terminal.ps1) | Closes the Windows Terminal application. [More »](docs/close-windows-terminal.md) | +| [create-power-plan.ps1](scripts/create-power-plan.ps1) | creates a custom power plan based on the active one. [More »](docs/create-power-plan.md) | | [enable-god-mode.ps1](scripts/enable-god-mode.ps1) | Enables the god mode (adds a new icon to the desktop). [More »](docs/enable-god-mode.md) | | [install-chrome.ps1](scripts/install-chrome.ps1) | Installs the Google Chrome browser. [Read more...](docs/install-chrome-browser.md) | | [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read more...](docs/install-firefox.md) | diff --git a/docs/create-power-plan.md b/docs/create-power-plan.md new file mode 100644 index 000000000..4ddf76a1c --- /dev/null +++ b/docs/create-power-plan.md @@ -0,0 +1,38 @@ +<# +.SYNOPSIS + Create and Set Custom Power Plan +.DESCRIPTION + Creates a custom power plan based on the active power plan, renames it, and sets it as the active power plan. + This PowerShell script: + 1. Retrieves the active power plan GUID. + 2. Duplicates the active power plan. + 3. Renames the new power plan to a custom name. + 4. Sets the newly created power plan as the active plan. +.EXAMPLE + PS> ./create-custom-power-plan.ps1 + + +.LINK + https://github.com/Arash-Seifi/PowerShell +.NOTES + Author: Arash Seifi | License: CC0 +#> + + +try { + Add-Type -AssemblyName System.Speech + + $Synth = New-Object System.Speech.Synthesis.SpeechSynthesizer + + $Synth.GetInstalledVoices() | + Select-Object -ExpandProperty VoiceInfo | + Select-Object -Property Name, Culture, Gender, Age + + # Indicate success and exit with status 0 + exit 0 +} +catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + + exit 1 +} \ No newline at end of file diff --git a/scripts/create-power-plan.ps1 b/scripts/create-power-plan.ps1 new file mode 100644 index 000000000..381fec063 --- /dev/null +++ b/scripts/create-power-plan.ps1 @@ -0,0 +1,17 @@ +# Step 1: Get the Active Power Plan GUID +$activeGuid = powercfg /getactivescheme | Select-String -Pattern "GUID" | ForEach-Object { $_.ToString().Split(' ')[3] } +Write-Output "Active Power Plan GUID: $activeGuid" + +# Step 2: Duplicate the Active Power Plan and capture the new GUID +$newGuid = powercfg -duplicatescheme $activeGuid | ForEach-Object { $_.ToString().Split(' ')[3] } +Write-Output "New Power Plan GUID: $newGuid" + +# Step 3: Rename the New Power Plan +$customName = "My Custom Plan" +powercfg -changename $newGuid $customName + +# Step 4: Set the New Power Plan as Active +powercfg -setactive $newGuid + +# Output the new power plan GUID +Write-Output "New power plan created with GUID: $newGuid and set as active." \ No newline at end of file From 3e948575ba82ffb49cf00bc6610dece23ca9e9df Mon Sep 17 00:00:00 2001 From: Arash-Seifi Date: Mon, 13 Jan 2025 21:20:20 +0330 Subject: [PATCH 139/737] Fixed the documnet format --- docs/create-power-plan.md | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/docs/create-power-plan.md b/docs/create-power-plan.md index 4ddf76a1c..45ec53ae4 100644 --- a/docs/create-power-plan.md +++ b/docs/create-power-plan.md @@ -11,7 +11,6 @@ .EXAMPLE PS> ./create-custom-power-plan.ps1 - .LINK https://github.com/Arash-Seifi/PowerShell .NOTES @@ -20,19 +19,25 @@ try { - Add-Type -AssemblyName System.Speech - - $Synth = New-Object System.Speech.Synthesis.SpeechSynthesizer + # Step 1: Get the Active Power Plan GUID + $activeGuid = powercfg /getactivescheme | Select-String -Pattern "GUID" | ForEach-Object { $_.ToString().Split(' ')[3] } + Write-Output "Active Power Plan GUID: $activeGuid" + + # Step 2: Duplicate the Active Power Plan and capture the new GUID + $newGuid = powercfg -duplicatescheme $activeGuid | ForEach-Object { $_.ToString().Split(' ')[3] } + Write-Output "New Power Plan GUID: $newGuid" + + # Step 3: Rename the New Power Plan + $customName = "My Custom Plan" + powercfg -changename $newGuid $customName + + # Step 4: Set the New Power Plan as Active + powercfg -setactive $newGuid - $Synth.GetInstalledVoices() | - Select-Object -ExpandProperty VoiceInfo | - Select-Object -Property Name, Culture, Gender, Age - - # Indicate success and exit with status 0 - exit 0 + # Output the new power plan GUID + Write-Output "New power plan created with GUID: $newGuid and set as active." } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" - exit 1 } \ No newline at end of file From 5ce045ca3d4a582b71fe6d04699904bfdadd9e5c Mon Sep 17 00:00:00 2001 From: Arash Date: Mon, 13 Jan 2025 21:24:59 +0330 Subject: [PATCH 140/737] Update create-power-plan.md --- docs/create-power-plan.md | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/docs/create-power-plan.md b/docs/create-power-plan.md index 45ec53ae4..f8390ffb3 100644 --- a/docs/create-power-plan.md +++ b/docs/create-power-plan.md @@ -1,23 +1,20 @@ -<# -.SYNOPSIS - Create and Set Custom Power Plan -.DESCRIPTION - Creates a custom power plan based on the active power plan, renames it, and sets it as the active power plan. - This PowerShell script: - 1. Retrieves the active power plan GUID. - 2. Duplicates the active power plan. - 3. Renames the new power plan to a custom name. - 4. Sets the newly created power plan as the active plan. -.EXAMPLE - PS> ./create-custom-power-plan.ps1 - -.LINK - https://github.com/Arash-Seifi/PowerShell -.NOTES - Author: Arash Seifi | License: CC0 -#> - +## SYNOPSIS +Create and Set Custom Power Plan +## DESCRIPTION +Creates a custom power plan based on the active power plan, renames it, and sets it as the active power plan. +This PowerShell script: +1. Retrieves the active power plan GUID. +2. Duplicates the active power plan. +3. Renames the new power plan to a custom name. +4. Sets the newly created power plan as the active plan. +## EXAMPLE + PS> ./create-power-plan.ps1 +## LINK +https://github.com/Arash-Seifi/PowerShell +## NOTES +Author: Arash Seifi | License: CC0 +``` try { # Step 1: Get the Active Power Plan GUID $activeGuid = powercfg /getactivescheme | Select-String -Pattern "GUID" | ForEach-Object { $_.ToString().Split(' ')[3] } @@ -40,4 +37,5 @@ try { catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 -} \ No newline at end of file +} +``` From be9a93de8298cd50aac009388780b9f6686ec70b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 14 Jan 2025 08:19:09 +0100 Subject: [PATCH 141/737] Added uninstall-new-outlook.ps1 --- scripts/uninstall-new-outlook.ps1 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 scripts/uninstall-new-outlook.ps1 diff --git a/scripts/uninstall-new-outlook.ps1 b/scripts/uninstall-new-outlook.ps1 new file mode 100644 index 000000000..5e6159d00 --- /dev/null +++ b/scripts/uninstall-new-outlook.ps1 @@ -0,0 +1,24 @@ +<# +.SYNOPSIS + Uninstalls the new Outlook +.DESCRIPTION + This PowerShell script uninstalls the new Outlook application. +.EXAMPLE + PS> ./uninstall-new-outlook.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + "⏳ Uninstalling new Outlook..." + + Remove-AppxProvisionedPackage -AllUsers -Online -PackageName (Get-AppxPackage Microsoft.OutlookForWindows).PackageFullName + + "✅ New Outlook has been removed." + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} From 962d7d00b6509d16dcb477884b2ead5a7bdc778f Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 14 Jan 2025 08:25:14 +0100 Subject: [PATCH 142/737] Added uninstall-outlook.ps1 --- scripts/uninstall-new-outlook.ps1 | 6 +++--- scripts/uninstall-outlook.ps1 | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 scripts/uninstall-outlook.ps1 diff --git a/scripts/uninstall-new-outlook.ps1 b/scripts/uninstall-new-outlook.ps1 index 5e6159d00..e3cb64743 100644 --- a/scripts/uninstall-new-outlook.ps1 +++ b/scripts/uninstall-new-outlook.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Uninstalls the new Outlook .DESCRIPTION - This PowerShell script uninstalls the new Outlook application. + This PowerShell script uninstalls the new Outlook for Windows application. .EXAMPLE PS> ./uninstall-new-outlook.ps1 .LINK @@ -12,11 +12,11 @@ #> try { - "⏳ Uninstalling new Outlook..." + "⏳ Uninstalling new Outlook for Windows..." Remove-AppxProvisionedPackage -AllUsers -Online -PackageName (Get-AppxPackage Microsoft.OutlookForWindows).PackageFullName - "✅ New Outlook has been removed." + "✅ New Outlook for Windows has been removed." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/uninstall-outlook.ps1 b/scripts/uninstall-outlook.ps1 new file mode 100644 index 000000000..5c78b9c1d --- /dev/null +++ b/scripts/uninstall-outlook.ps1 @@ -0,0 +1,24 @@ +<# +.SYNOPSIS + Uninstalls Outlook +.DESCRIPTION + This PowerShell script uninstalls Outlook for Windows. +.EXAMPLE + PS> ./uninstall-outlook.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + "⏳ Uninstalling Outlook for Windows..." + + Remove-AppxPackage -AllUsers -Package (Get-AppxPackage Microsoft.OutlookForWindows).PackageFullName + + "✅ Outlook for Windows has been removed." + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} From 58d351c5395ae9cad3d2552d05f6273a89977bba Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 14 Jan 2025 15:51:01 +0100 Subject: [PATCH 143/737] Renamed to new-power-plan.ps1 --- README.md | 6 +++--- docs/{create-power-plan.md => new-power-plan.md} | 2 +- scripts/{create-power-plan.ps1 => new-power-plan.ps1} | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename docs/{create-power-plan.md => new-power-plan.md} (97%) rename scripts/{create-power-plan.ps1 => new-power-plan.ps1} (100%) diff --git a/README.md b/README.md index 939c8c447..73720e195 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,8 @@ Mega Collection of PowerShell Scripts | [turn-volume-up.ps1](scripts/turn-volume-up.ps1) | Turns the audio volume up. [More »](docs/turn-volume-up.md) | -⚙️ Scripts to Manage Computers -------------------------------- +⚙️ Scripts for Computer Management +---------------------------------- | Script | Description | | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------- | @@ -82,6 +82,7 @@ Mega Collection of PowerShell Scripts | [list-timezone.ps1](scripts/list-timezone.ps1) | Lists the current time zone details. [More »](docs/list-timezone.md) | | [list-timezones.ps1](scripts/list-timezones.ps1) | Lists all time zones available. [More »](docs/list-timezones.md) | | [list-user-groups.ps1](scripts/list-user-groups.ps1) | Lists the user groups on the local computer. [More »](docs/list-user-groups.md) | +| [new-power-plan.ps1](scripts/new-power-plan.ps1) | Creates a custom power plan based on the active one. [More »](docs/new-power-plan.md) | | [poweroff.ps1](scripts/poweroff.ps1) | Halts the local computer (needs admin rights). [More »](docs/poweroff.md) | | [query-smart-data.ps1](scripts/query-smart-data.ps1) | Queries the S.M.A.R.T. data of your HDD/SSD's. [More »](docs/query-smart-data.md) | | [reboot.ps1](scripts/reboot.ps1) | Reboots the local computer (needs admin rights). [More »](docs/reboot.md) | @@ -115,7 +116,6 @@ Mega Collection of PowerShell Scripts | [close-thunderbird.ps1](scripts/close-thunderbird.ps1) | Closes Mozilla Thunderbird. [More »](docs/close-thunderbird.md) | | [close-vlc.ps1](scripts/close-vlc.ps1) | Closes the VLC media player application. [More »](docs/close-vlc.md) | | [close-windows-terminal.ps1](scripts/close-windows-terminal.ps1) | Closes the Windows Terminal application. [More »](docs/close-windows-terminal.md) | -| [create-power-plan.ps1](scripts/create-power-plan.ps1) | creates a custom power plan based on the active one. [More »](docs/create-power-plan.md) | | [enable-god-mode.ps1](scripts/enable-god-mode.ps1) | Enables the god mode (adds a new icon to the desktop). [More »](docs/enable-god-mode.md) | | [install-chrome.ps1](scripts/install-chrome.ps1) | Installs the Google Chrome browser. [Read more...](docs/install-chrome-browser.md) | | [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read more...](docs/install-firefox.md) | diff --git a/docs/create-power-plan.md b/docs/new-power-plan.md similarity index 97% rename from docs/create-power-plan.md rename to docs/new-power-plan.md index f8390ffb3..b34a3b8eb 100644 --- a/docs/create-power-plan.md +++ b/docs/new-power-plan.md @@ -8,7 +8,7 @@ This PowerShell script: 3. Renames the new power plan to a custom name. 4. Sets the newly created power plan as the active plan. ## EXAMPLE - PS> ./create-power-plan.ps1 + PS> ./new-power-plan.ps1 ## LINK https://github.com/Arash-Seifi/PowerShell diff --git a/scripts/create-power-plan.ps1 b/scripts/new-power-plan.ps1 similarity index 100% rename from scripts/create-power-plan.ps1 rename to scripts/new-power-plan.ps1 From 1409e438c6975e12e88673b57740faddd1db42fb Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 14 Jan 2025 16:26:21 +0100 Subject: [PATCH 144/737] Updated remove-old-dirs.ps1 --- scripts/remove-old-dirs.ps1 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/remove-old-dirs.ps1 b/scripts/remove-old-dirs.ps1 index af2ab972d..e8d509899 100755 --- a/scripts/remove-old-dirs.ps1 +++ b/scripts/remove-old-dirs.ps1 @@ -9,8 +9,10 @@ Specifies the number of days (1000 by default) .EXAMPLE PS> ./remove-old-dirs.ps1 C:\Temp 90 +.LINK + https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz + Author: Markus Fleschutz | License: CC0 #> param([string]$path = "", [int]$numDays = 1000) @@ -20,24 +22,22 @@ try { if ("$path" -eq "") { $path = Read-Host "Enter the file path to the parent folder" } if (!(Test-Path -Path "$path" -PathType container)) { throw "Given path doesn't exist - enter a valid path, please" } - Write-Host "⏳ Removing subfolders older than $numDays days in $path..." + Write-Host "⏳ Searching for subfolders at '$path' older than $numDays days..." + $numRemoved = $numSkipped = 0 $folders = Get-ChildItem -path "$path" -directory - $numRemoved = 0 - $count = 0 foreach ($folder in $folders) { [datetime]$folderDate = ($folder | Get-ItemProperty -Name LastWriteTime).LastWriteTime - $count++ if ($folderDate -lt (Get-Date).AddDays(-$numDays)) { - Write-Host "($($count)) Removing old '$folder'..." + Write-Host "Removing old '$folder'..." $fullPath = $folder | Select-Object -ExpandProperty FullName Remove-Item -path "$fullPath" -force -recurse $numRemoved++ } else { - Write-Host "($($count)) Skipping young '$folder'..." + $numSkipped++ } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Removed $numRemoved of $count subfolders older than $numDays days in $elapsed sec" + "✅ Removed $numRemoved subfolders older than $numDays days in $($elapsed)s ($numSkipped skipped)." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 3186552960b2e8e835ef80b573d76c39a4c86ef6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 14 Jan 2025 16:35:32 +0100 Subject: [PATCH 145/737] Updated remove-old-dirs.ps1 --- scripts/remove-old-dirs.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remove-old-dirs.ps1 b/scripts/remove-old-dirs.ps1 index e8d509899..1e5e6d09e 100755 --- a/scripts/remove-old-dirs.ps1 +++ b/scripts/remove-old-dirs.ps1 @@ -18,8 +18,8 @@ param([string]$path = "", [int]$numDays = 1000) try { - $stopWatch = [system.diagnostics.stopwatch]::startNew() if ("$path" -eq "") { $path = Read-Host "Enter the file path to the parent folder" } + $stopWatch = [system.diagnostics.stopwatch]::startNew() if (!(Test-Path -Path "$path" -PathType container)) { throw "Given path doesn't exist - enter a valid path, please" } Write-Host "⏳ Searching for subfolders at '$path' older than $numDays days..." From cfb2ea1fa9e68df25f50438a78a1487aaac8d4cc Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 14 Jan 2025 20:27:39 +0100 Subject: [PATCH 146/737] Updated check-cpu.ps1 and check-power.ps1 --- scripts/check-cpu.ps1 | 2 -- scripts/check-power.ps1 | 10 +++++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/scripts/check-cpu.ps1 b/scripts/check-cpu.ps1 index 4ebb0701f..ac65346af 100755 --- a/scripts/check-cpu.ps1 +++ b/scripts/check-cpu.ps1 @@ -72,8 +72,6 @@ try { } elseif ($celsius -lt 0) { $temp = ", $($celsius)°C TOO COLD" $status = "⚠️" - } elseif ($celsius -lt 30) { - $temp = ", $($celsius)°C cool" } else { $temp = ", $($celsius)°C" } diff --git a/scripts/check-power.ps1 b/scripts/check-power.ps1 index 9035aa370..714e16615 100755 --- a/scripts/check-power.ps1 +++ b/scripts/check-power.ps1 @@ -27,9 +27,9 @@ try { if ($details.BatteryChargeStatus -eq "NoSystemBattery") { $reply = "✅ AC powered" } elseif ($percent -ge 95) { - $reply = "✅ Battery nearly full ($percent%, power scheme is '$powerScheme')" + $reply = "✅ Battery full ($percent%, power scheme is '$powerScheme')" } else { - $reply = "✅ Battery $percent% and charging (power scheme is '$powerScheme')" + $reply = "✅ Battery charging ($percent%, power scheme is '$powerScheme')" } } else { # must be offline if (($remaining -eq 0) -and ($percent -ge 60)) { @@ -37,13 +37,13 @@ try { } elseif ($remaining -eq 0) { $reply = "✅ Battery at $percent% (power scheme is '$powerScheme')" } elseif ($remaining -le 5) { - $reply = "⚠️ Battery $percent% ONLY $($remaining)min remaining (power scheme is '$powerScheme')" + $reply = "⚠️ Battery LOW ($percent%, $($remaining)min remaining, power scheme is '$powerScheme')" } elseif ($remaining -le 30) { - $reply = "⚠️ Battery $percent% only $($remaining)min remaining (power scheme is '$powerScheme')" + $reply = "⚠️ Battery low ($percent%, $($remaining)min remaining, power scheme is '$powerScheme')" } elseif ($percent -lt 10) { $reply = "⚠️ Battery $percent% only with $($remaining)min remaining (power scheme is '$powerScheme') " } elseif ($percent -ge 90) { - $reply = "✅ Battery $percent% full with $($remaining)min remaining (power scheme is '$powerScheme')" + $reply = "✅ Battery full ($percent%, $($remaining)min remaining, power scheme is '$powerScheme')" } else { $reply = "✅ Battery $percent% with $($remaining)min remaining (power scheme is '$powerScheme') " } From af9230f47426fdcc04ccfc81f27cb7efc2bfc8af Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 15 Jan 2025 09:13:57 +0100 Subject: [PATCH 147/737] Updated new-symlink.ps1 --- scripts/new-symlink.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/new-symlink.ps1 b/scripts/new-symlink.ps1 index 70e561327..2daaea961 100755 --- a/scripts/new-symlink.ps1 +++ b/scripts/new-symlink.ps1 @@ -9,7 +9,7 @@ Specifies the file path to the target .EXAMPLE PS> ./new-symlink.ps1 C:\User\Markus\Windows C:\Windows - ✅ Created new symlink file 'C:\User\Markus\Windows', linking to: C:\Windows + ✅ Created new symlink 'C:\User\Markus\Windows' linking to: C:\Windows .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -25,7 +25,7 @@ try { New-Item -path "$symlink" -itemType SymbolicLink -value "$target" if ($lastExitCode -ne "0") { throw "Command 'New-Item' has failed" } - "✅ Created new symlink file '$symlink', linking to: $target" + "✅ Created new symlink '$symlink' linking to: $target" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 5b23315a12614f7ec5e1763300296b803acc3395 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 15 Jan 2025 14:29:16 +0100 Subject: [PATCH 148/737] Updated computing.csv --- data/dicts/computing.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/dicts/computing.csv b/data/dicts/computing.csv index ad8368629..bdeadede0 100644 --- a/data/dicts/computing.csv +++ b/data/dicts/computing.csv @@ -1397,6 +1397,7 @@ IBP,integrated business planning IC,integrated circuit IC-BPMS,integration-centric business process management suite ICANN,Internet Corporation for Assigned Names and Numbers +ICD,Interface Control Document ICE,"In-Circuit Emulator, Information and Content Exchange" IcM,incident management ICMP,Internet Control Message Protocol From 6d9350cb23760275a20f0cfe7a446fa4c0665173 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 16 Jan 2025 19:19:23 +0100 Subject: [PATCH 149/737] Set executable file permissions --- scripts/get-sha512.ps1 | 0 scripts/install-jenkins-agent.ps1 | 0 scripts/new-power-plan.ps1 | 0 scripts/uninstall-new-outlook.ps1 | 0 scripts/uninstall-outlook.ps1 | 0 scripts/wake-up-human.ps1 | 0 scripts/watch-host.ps1 | 0 scripts/write-value.ps1 | 0 8 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts/get-sha512.ps1 mode change 100644 => 100755 scripts/install-jenkins-agent.ps1 mode change 100644 => 100755 scripts/new-power-plan.ps1 mode change 100644 => 100755 scripts/uninstall-new-outlook.ps1 mode change 100644 => 100755 scripts/uninstall-outlook.ps1 mode change 100644 => 100755 scripts/wake-up-human.ps1 mode change 100644 => 100755 scripts/watch-host.ps1 mode change 100644 => 100755 scripts/write-value.ps1 diff --git a/scripts/get-sha512.ps1 b/scripts/get-sha512.ps1 old mode 100644 new mode 100755 diff --git a/scripts/install-jenkins-agent.ps1 b/scripts/install-jenkins-agent.ps1 old mode 100644 new mode 100755 diff --git a/scripts/new-power-plan.ps1 b/scripts/new-power-plan.ps1 old mode 100644 new mode 100755 diff --git a/scripts/uninstall-new-outlook.ps1 b/scripts/uninstall-new-outlook.ps1 old mode 100644 new mode 100755 diff --git a/scripts/uninstall-outlook.ps1 b/scripts/uninstall-outlook.ps1 old mode 100644 new mode 100755 diff --git a/scripts/wake-up-human.ps1 b/scripts/wake-up-human.ps1 old mode 100644 new mode 100755 diff --git a/scripts/watch-host.ps1 b/scripts/watch-host.ps1 old mode 100644 new mode 100755 diff --git a/scripts/write-value.ps1 b/scripts/write-value.ps1 old mode 100644 new mode 100755 From efe4a2c6b4dc583cce4ea142b5609b42b7db5ffd Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 17 Jan 2025 08:24:04 +0100 Subject: [PATCH 150/737] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 73720e195..e8f969684 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ Mega Collection of PowerShell Scripts | [install-chrome-browser.ps1](scripts/install-chrome-browser.ps1) | Installs the Google Chrome browser. [More »](docs/install-chrome-browser.md) | | [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [More »](docs/install-firefox.md) | | [install-knot-resolver.ps1](scripts/install-knot-resolver.ps1) | Installs the Knot Resolver (needs admin rights). [More »](docs/install-knot-resolver.md)| +| [install-salesforce-cli.ps1](scripts/install-salesforce-cli.ps1) | Installs the Salesforce CLI (sfdx). [More »](docs/install-salesforce-cli.md) | | [install-ssh-client.ps1](scripts/install-ssh-client.ps1) | Installs a SSH client (needs admin rights). [More »](docs/install-ssh-client.md) | | [install-ssh-server.ps1](scripts/install-ssh-server.ps1) | Installs a SSH server (needs admin rights). [More »](docs/install-ssh-server.md) | | [install-signal-cli.ps1](scripts/install-signal-cli.ps1) | Installs the CLI edition of the Signal messenger. [More »](docs/install-signal-cli.md)| From 33ef92d8798fb5a26060a0af7a8e3d0a306dd56d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 17 Jan 2025 08:31:53 +0100 Subject: [PATCH 151/737] Updated the manuals --- docs/add-firewall-rules.md | 4 +- docs/alert.md | 4 +- docs/build-repo.md | 4 +- docs/build-repos.md | 4 +- docs/cd-autostart.md | 4 +- docs/cd-crashdumps.md | 4 +- docs/cd-desktop.md | 4 +- docs/cd-docs.md | 4 +- docs/cd-downloads.md | 4 +- docs/cd-dropbox.md | 4 +- docs/cd-etc.md | 4 +- docs/cd-fonts.md | 4 +- docs/cd-home.md | 4 +- docs/cd-jenkins.md | 4 +- docs/cd-logs.md | 2 +- docs/cd-music.md | 4 +- docs/cd-nextcloud.md | 4 +- docs/cd-onedrive.md | 4 +- docs/cd-pics.md | 4 +- docs/cd-public.md | 4 +- docs/cd-recent.md | 4 +- docs/cd-recycle-bin.md | 2 +- docs/cd-repo.md | 37 ++--- docs/cd-repos.md | 47 ++++--- docs/cd-root.md | 4 +- docs/cd-screenshots.md | 2 +- docs/cd-scripts.md | 12 +- docs/cd-ssh.md | 4 +- docs/cd-temp.md | 2 +- docs/cd-templates.md | 4 +- docs/cd-trash.md | 2 +- docs/cd-up.md | 4 +- docs/cd-up2.md | 4 +- docs/cd-up3.md | 4 +- docs/cd-up4.md | 4 +- docs/cd-users.md | 4 +- docs/cd-videos.md | 4 +- docs/cd-windows.md | 4 +- docs/change-wallpaper.md | 4 +- docs/check-admin.md | 4 +- docs/check-apps.md | 2 +- docs/check-bios.md | 4 +- docs/check-cpu.md | 4 +- docs/check-credentials.md | 4 +- docs/check-day.md | 4 +- docs/check-dns.md | 16 ++- docs/check-drive-space.md | 4 +- docs/check-drives.md | 4 +- docs/check-dusk.md | 2 +- docs/check-easter-sunday.md | 4 +- docs/check-file-system.md | 4 +- docs/check-file.md | 4 +- docs/check-firewall.md | 4 +- docs/check-gpu.md | 2 +- docs/check-hardware.md | 10 +- docs/check-health.md | 4 +- docs/check-independence-day.md | 4 +- docs/check-ipv4-address.md | 4 +- docs/check-ipv6-address.md | 4 +- docs/check-iss-position.md | 4 +- docs/check-mac-address.md | 4 +- docs/check-midnight.md | 2 +- docs/check-month.md | 4 +- docs/check-moon-phase.md | 4 +- docs/check-motherboard.md | 4 +- docs/check-network.md | 14 +- docs/check-noon.md | 2 +- docs/check-os.md | 4 +- docs/check-outlook.md | 4 +- docs/check-password.md | 4 +- docs/check-pending-reboot.md | 2 +- docs/check-pnp-devices.md | 4 +- docs/check-power.md | 14 +- docs/check-powershell.md | 2 +- docs/check-ps1-file.md | 4 +- docs/check-ram.md | 2 +- docs/check-repo.md | 4 +- docs/check-repos.md | 4 +- docs/check-santa.md | 4 +- docs/check-smart-devices.md | 37 ++--- docs/check-software.md | 10 +- docs/check-subnet-mask.md | 4 +- docs/check-swap-space.md | 4 +- docs/check-symlinks.md | 4 +- docs/check-time-zone.md | 4 +- docs/check-uptime.md | 4 +- docs/check-vpn.md | 10 +- docs/check-weather.md | 4 +- docs/check-week.md | 4 +- docs/check-wind.md | 4 +- docs/check-windows-system-files.md | 4 +- docs/check-xml-file.md | 4 +- docs/check-xml-files.md | 4 +- docs/clean-repo.md | 10 +- docs/clean-repos.md | 4 +- docs/clear-dns-cache.md | 4 +- docs/clear-recycle-bin.md | 4 +- docs/clone-repos.md | 4 +- docs/clone-shallow.md | 4 +- docs/close-calculator.md | 4 +- docs/close-chrome.md | 4 +- docs/close-cortana.md | 4 +- docs/close-edge.md | 4 +- docs/close-file-explorer.md | 4 +- docs/close-firefox.md | 4 +- docs/close-git-extensions.md | 4 +- docs/close-magnifier.md | 4 +- docs/close-microsoft-paint.md | 4 +- docs/close-microsoft-store.md | 4 +- docs/close-netflix.md | 4 +- docs/close-notepad.md | 4 +- docs/close-obs-studio.md | 4 +- docs/close-one-calendar.md | 4 +- docs/close-outlook.md | 4 +- docs/close-paint-three-d.md | 4 +- docs/close-program.md | 4 +- docs/close-serenade.md | 4 +- docs/close-snipping-tool.md | 4 +- docs/close-spotify.md | 4 +- docs/close-task-manager.md | 4 +- docs/close-three-d-viewer.md | 4 +- docs/close-thunderbird.md | 4 +- docs/close-visual-studio.md | 4 +- docs/close-vlc.md | 4 +- docs/close-windows-terminal.md | 4 +- docs/configure-git.md | 4 +- docs/connect-vpn.md | 4 +- docs/convert-csv2txt.md | 4 +- docs/convert-dir2zip.md | 4 +- docs/convert-docx2md.md | 4 +- docs/convert-frames2mp4.md | 2 +- docs/convert-image2ascii.md | 2 +- docs/convert-image2blurred-frames.md | 2 +- docs/convert-image2pixelated-frames.md | 2 +- docs/convert-md2docx.md | 2 +- docs/convert-md2html.md | 4 +- docs/convert-md2pdf.md | 2 +- docs/convert-mysql2csv.md | 4 +- docs/convert-ps2bat.md | 4 +- docs/convert-ps2md.md | 6 +- docs/convert-sql2csv.md | 4 +- docs/convert-txt2wav.md | 4 +- docs/copy-photos-sorted.md | 6 +- docs/count-characters.md | 4 +- docs/count-lines.md | 4 +- docs/decrypt-file.md | 4 +- docs/disable-ipv6.md | 4 +- docs/disconnect-vpn.md | 4 +- docs/download-dir.md | 4 +- docs/download-file.md | 4 +- docs/edit.md | 4 +- docs/enable-crash-dumps.md | 4 +- docs/enable-god-mode.md | 10 +- docs/enable-ipv6.md | 4 +- docs/encrypt-file.md | 4 +- docs/enter-chat.md | 4 +- docs/enter-host.md | 4 +- docs/export-to-manuals.md | 4 +- docs/fetch-repo.md | 4 +- docs/fetch-repos.md | 6 +- docs/firefox-installer.md | 4 +- docs/get-md5.md | 29 ++-- docs/get-sha1.md | 31 +++-- docs/get-sha256.md | 33 ++--- docs/get-sha512.md | 76 +++++++++++ docs/hello-world.md | 4 +- docs/hibernate.md | 4 +- docs/import-vm.md | 2 +- docs/inspect-exe.md | 4 +- docs/install-audacity.md | 4 +- docs/install-basic-apps.md | 4 +- docs/install-basic-snaps.md | 4 +- docs/install-calibre-server.md | 42 +++--- docs/install-chocolatey.md | 4 +- docs/install-chrome.md | 4 +- docs/install-crystal-disk-info.md | 4 +- docs/install-crystal-disk-mark.md | 4 +- docs/install-discord.md | 4 +- docs/install-edge.md | 4 +- docs/install-evcc.md | 4 +- docs/install-firefox.md | 4 +- docs/install-git-extensions.md | 4 +- docs/install-git-for-windows.md | 4 +- docs/install-github-cli.md | 4 +- docs/install-gitlab.md | 2 +- docs/install-irfanview.md | 4 +- docs/install-jenkins-agent.md | 94 +++++++++++++ docs/install-knot-resolver.md | 4 +- docs/install-microsoft-teams.md | 4 +- docs/install-netflix.md | 4 +- docs/install-obs-studio.md | 4 +- docs/install-octoprint.md | 2 +- docs/install-one-calendar.md | 4 +- docs/install-opera-browser.md | 4 +- docs/install-opera-gx.md | 4 +- docs/install-paint-3d.md | 4 +- docs/install-power-toys.md | 4 +- docs/install-powershell.md | 6 +- docs/install-rufus.md | 4 +- docs/install-salesforce-cli.md | 4 +- docs/install-signal-cli.md | 4 +- docs/install-skype.md | 4 +- docs/install-spotify.md | 4 +- docs/install-ssh-client.md | 4 +- docs/install-ssh-server.md | 4 +- docs/install-thunderbird.md | 4 +- docs/install-twitter.md | 4 +- docs/install-unbound-server.md | 4 +- docs/install-updates.md | 21 +-- docs/install-visual-studio-code.md | 4 +- docs/install-vivaldi.md | 4 +- docs/install-vlc.md | 4 +- docs/install-windows-terminal.md | 4 +- docs/install-wsl.md | 4 +- docs/install-zoom.md | 4 +- docs/introduce-powershell.md | 4 +- docs/list-aliases.md | 4 +- docs/list-anagrams.md | 4 +- docs/list-apps.md | 4 +- docs/list-ascii-table.md | 4 +- docs/list-automatic-variables.md | 2 +- docs/list-battery-status.md | 4 +- docs/list-bios.md | 4 +- docs/list-bluetooth-devices.md | 4 +- docs/list-branches.md | 4 +- docs/list-calendar.md | 4 +- docs/list-cheat-sheet.md | 4 +- docs/list-city-weather.md | 29 ++-- docs/list-cli-tools.md | 14 +- docs/list-clipboard.md | 4 +- docs/list-cmdlets.md | 4 +- docs/list-coffee-prices.md | 2 +- docs/list-commit-stats.md | 4 +- docs/list-commits.md | 35 +++-- docs/list-console-colors.md | 4 +- docs/list-countries.md | 2 +- docs/list-cpu.md | 4 +- docs/list-crypto-rates.md | 12 +- docs/list-defender-settings.md | 4 +- docs/list-dir-tree.md | 4 +- docs/list-dns-servers.md | 2 +- docs/list-drives.md | 4 +- docs/list-earthquakes.md | 12 +- docs/list-emojis.md | 4 +- docs/list-empty-dirs.md | 4 +- docs/list-empty-files.md | 4 +- docs/list-encrypted-files.md | 4 +- docs/list-environment-variables.md | 4 +- docs/list-error-types.md | 2 +- docs/list-exchange-rates.md | 4 +- docs/list-executables.md | 4 +- docs/list-fibonacci.md | 2 +- docs/list-files.md | 4 +- docs/list-folder.md | 4 +- docs/list-fritzbox-calls.md | 4 +- docs/list-fritzbox-devices.md | 4 +- docs/list-headlines.md | 4 +- docs/list-hidden-files.md | 4 +- docs/list-installed-languages.md | 2 +- docs/list-installed-scripts.md | 4 +- docs/list-installed-software.md | 4 +- docs/list-internet-ip.md | 4 +- docs/list-ipv6.md | 4 +- docs/list-latest-tag.md | 4 +- docs/list-latest-tags.md | 4 +- docs/list-local-ip.md | 2 +- docs/list-mDNS.md | 2 +- docs/list-memos.md | 4 +- docs/list-mysql-tables.md | 4 +- docs/list-network-connections.md | 4 +- docs/list-network-neighbors.md | 4 +- docs/list-network-routes.md | 4 +- docs/list-network-shares.md | 10 +- docs/list-news.md | 33 +++-- docs/list-nic.md | 4 +- docs/list-nina-warnings.md | 4 +- docs/list-old-branches.md | 4 +- docs/list-os-releases.md | 4 +- docs/list-os-updates.md | 4 +- docs/list-os.md | 4 +- docs/list-outlook-inbox.md | 4 +- docs/list-outlook-sent.md | 4 +- docs/list-passwords.md | 4 +- docs/list-pins.md | 4 +- docs/list-power-schemes.md | 2 +- docs/list-powershell-modules.md | 4 +- docs/list-powershell-profiles.md | 2 +- docs/list-powershell-verbs.md | 4 +- docs/list-print-jobs.md | 4 +- docs/list-printers.md | 4 +- docs/list-processes.md | 4 +- docs/list-pull-requests.md | 4 +- docs/list-ram.md | 4 +- docs/list-read-only-files.md | 4 +- docs/list-recycle-bin.md | 4 +- docs/list-repos.md | 4 +- docs/list-scripts.md | 2 +- docs/list-scsi-devices.md | 4 +- docs/list-services.md | 4 +- docs/list-special-folders.md | 2 +- docs/list-sql-tables.md | 4 +- docs/list-ssh-key.md | 4 +- docs/list-submodules.md | 4 +- docs/list-suggestions.md | 4 +- docs/list-system-devices.md | 4 +- docs/list-system-files.md | 4 +- docs/list-system-info.md | 4 +- docs/list-tags.md | 4 +- docs/list-tasks.md | 2 +- docs/list-timezone.md | 4 +- docs/list-timezones.md | 4 +- docs/list-tiobe-index.md | 2 +- docs/list-unused-files.md | 4 +- docs/list-updates.md | 4 +- docs/list-usb-devices.md | 4 +- docs/list-user-accounts.md | 4 +- docs/list-user-groups.md | 4 +- docs/list-voices.md | 4 +- docs/list-weather.md | 5 +- docs/list-wifi.md | 4 +- docs/list-window-titles.md | 4 +- docs/list-workdir.md | 4 +- docs/list-wsl-distros.md | 4 +- docs/locate-city.md | 4 +- docs/locate-ipaddress.md | 2 +- docs/locate-my-phone.md | 4 +- docs/locate-zip-code.md | 4 +- docs/lock-desktop.md | 4 +- docs/log-off.md | 4 +- docs/make-install.md | 4 +- docs/measure-BubbleSort.md | 4 +- docs/measure-BucketSort.md | 4 +- docs/measure-CountingSort.md | 4 +- docs/measure-HeapSort.md | 4 +- docs/measure-InsertionSort.md | 4 +- docs/measure-MergeSort.md | 4 +- docs/measure-QuickSort.md | 4 +- docs/measure-SelectionSort.md | 4 +- docs/measure-sorting-algorithms.md | 4 +- docs/merry-christmas.md | 4 +- docs/minimize-all-windows.md | 4 +- docs/move-mouse-pointer.md | 4 +- docs/move-vm.md | 2 +- docs/my-profile.md | 20 +-- docs/new-branch.md | 4 +- docs/new-dir.md | 4 +- docs/new-email.md | 4 +- docs/new-linux-vm.md | 2 +- docs/new-power-plan.md | 76 +++++------ docs/new-qrcode.md | 4 +- docs/new-reboot-task.md | 2 +- docs/new-script.md | 4 +- docs/new-shortcut.md | 4 +- docs/new-ssh-key.md | 4 +- docs/new-symlink.md | 19 +-- docs/new-tag.md | 4 +- docs/new-user.md | 4 +- docs/new-windows-vm.md | 2 +- docs/on-desktop-login.md | 4 +- docs/open-URL.md | 4 +- docs/open-apps-folder.md | 4 +- docs/open-auto-start-folder.md | 4 +- docs/open-bing-maps.md | 4 +- docs/open-booking-com.md | 4 +- docs/open-c-drive.md | 4 +- docs/open-calculator.md | 4 +- docs/open-chrome.md | 4 +- docs/open-clock.md | 4 +- docs/open-cortana.md | 4 +- docs/open-d-drive.md | 4 +- docs/open-dashboards.md | 4 +- docs/open-deep-l-translator.md | 4 +- docs/open-default-browser.md | 4 +- docs/open-desktop-folder.md | 4 +- docs/open-documents-folder.md | 4 +- docs/open-downloads-folder.md | 4 +- docs/open-dropbox-folder.md | 4 +- docs/open-duck-duck-go.md | 4 +- docs/open-e-drive.md | 4 +- docs/open-edge.md | 4 +- docs/open-egg-timer.md | 4 +- docs/open-email-client.md | 4 +- docs/open-f-drive.md | 4 +- docs/open-file-explorer.md | 4 +- docs/open-fire-place.md | 4 +- docs/open-firefox.md | 4 +- docs/open-flight-radar.md | 4 +- docs/open-g-drive.md | 4 +- docs/open-git-extensions.md | 2 +- docs/open-google-books.md | 4 +- docs/open-google-calendar.md | 4 +- docs/open-google-contacts.md | 4 +- docs/open-google-docs.md | 4 +- docs/open-google-earth.md | 4 +- docs/open-google-mail.md | 4 +- docs/open-google-maps.md | 4 +- docs/open-google-news.md | 4 +- docs/open-google-photos.md | 4 +- docs/open-google-play.md | 4 +- docs/open-google-search.md | 4 +- docs/open-google-stadia.md | 4 +- docs/open-google-translate.md | 4 +- docs/open-home-folder.md | 4 +- docs/open-internet-archive.md | 4 +- docs/open-jitsi-meet.md | 4 +- docs/open-m-drive.md | 4 +- docs/open-magnifier.md | 4 +- docs/open-microsoft-paint.md | 4 +- docs/open-microsoft-solitaire.md | 4 +- docs/open-microsoft-store.md | 4 +- docs/open-microsoft-teams.md | 4 +- docs/open-music-folder.md | 4 +- docs/open-netflix.md | 4 +- docs/open-notepad.md | 4 +- docs/open-obs-studio.md | 2 +- docs/open-office-365.md | 4 +- docs/open-one-drive-folder.md | 4 +- docs/open-outlook.md | 2 +- docs/open-paint-three-d.md | 4 +- docs/open-pictures-folder.md | 4 +- docs/open-rdp.md | 4 +- docs/open-recycle-bin-folder.md | 4 +- docs/open-remote-desktop.md | 4 +- docs/open-repos-folder.md | 4 +- docs/open-screen-clip.md | 4 +- docs/open-screen-sketch.md | 4 +- docs/open-skype.md | 4 +- docs/open-snipping-tool.md | 4 +- docs/open-speed-test.md | 4 +- docs/open-spotify.md | 4 +- docs/open-stack-overflow.md | 4 +- docs/open-start-page.md | 4 +- docs/open-street-map.md | 4 +- docs/open-task-manager.md | 4 +- docs/open-temporary-folder.md | 2 +- docs/open-three-d-viewer.md | 4 +- docs/open-thunderbird.md | 2 +- docs/open-videos-folders.md | 4 +- docs/open-visual-studio.md | 2 +- docs/open-voice-recorder.md | 4 +- docs/open-vpn-settings.md | 4 +- docs/open-windows-defender.md | 4 +- docs/open-windows-terminal.md | 4 +- docs/open-xing.md | 4 +- docs/pick-commit.md | 4 +- docs/ping-host.md | 45 +++---- docs/ping-internet.md | 15 +-- docs/ping-local-devices.md | 6 +- docs/ping-weather.md | 4 +- docs/play-bee-sound.md | 4 +- docs/play-beep-sound.md | 4 +- docs/play-big-ben.md | 4 +- docs/play-cat-sound.md | 4 +- docs/play-chess.md | 4 +- docs/play-cow-sound.md | 4 +- docs/play-dog-sound.md | 4 +- docs/play-donkey-sound.md | 4 +- docs/play-elephant-sound.md | 4 +- docs/play-elk-sound.md | 4 +- docs/play-files.md | 48 ++++--- docs/play-frog-sound.md | 4 +- docs/play-goat-sound.md | 4 +- docs/play-gorilla-sound.md | 4 +- docs/play-happy-birthday.md | 4 +- docs/play-horse-sound.md | 4 +- docs/play-imperial-march.md | 4 +- docs/play-jingle-bells.md | 4 +- docs/play-lion-sound.md | 4 +- docs/play-m3u.md | 54 ++++---- docs/play-mission-impossible.md | 4 +- docs/play-mp3.md | 11 +- docs/play-parrot-sound.md | 4 +- docs/play-pig-sound.md | 4 +- docs/play-pong.md | 2 +- docs/play-rattlesnake-sound.md | 4 +- docs/play-rick.md | 4 +- docs/play-snake.md | 4 +- docs/play-super-mario.md | 4 +- docs/play-system-sounds.md | 36 +++-- docs/play-tetris-melody.md | 4 +- docs/play-vulture-sound.md | 4 +- docs/play-wolf-sound.md | 4 +- docs/poweroff.md | 4 +- docs/print-image.md | 4 +- docs/publish-to-ipfs.md | 4 +- docs/pull-repo.md | 4 +- docs/pull-repos.md | 12 +- docs/query-smart-data.md | 4 +- docs/reboot-fritzbox.md | 4 +- docs/reboot.md | 4 +- docs/remember.md | 4 +- docs/remind-me.md | 4 +- docs/remove-dir-tree.md | 4 +- docs/remove-empty-dirs.md | 4 +- docs/remove-old-dirs.md | 28 ++-- docs/remove-print-jobs.md | 4 +- docs/remove-tag.md | 4 +- docs/remove-user.md | 4 +- docs/remove-vm.md | 2 +- docs/replace-in-files.md | 4 +- docs/restart-network-adapters.md | 4 +- docs/roll-a-dice.md | 4 +- docs/save-credentials.md | 4 +- docs/save-screenshot.md | 4 +- docs/scan-folder.md | 28 ++-- docs/scan-network.md | 2 +- docs/scan-ports.md | 4 +- docs/search-filename.md | 4 +- docs/search-files.md | 4 +- docs/search-repo.md | 4 +- docs/send-email.md | 4 +- docs/send-tcp.md | 4 +- docs/send-udp.md | 4 +- docs/set-timer.md | 4 +- docs/set-volume.md | 4 +- docs/set-wallpaper.md | 4 +- docs/show-lightnings.md | 4 +- docs/show-notification-motivation-quote.md | 2 +- docs/show-notification.md | 4 +- docs/show-traffic.md | 4 +- docs/simulate-presence.md | 4 +- docs/smart-data2csv.md | 4 +- docs/speak-arabic.md | 4 +- docs/speak-checklist.md | 59 +++++--- docs/speak-countdown.md | 4 +- docs/speak-croatian.md | 4 +- docs/speak-danish.md | 4 +- docs/speak-dutch.md | 4 +- docs/speak-english.md | 4 +- docs/speak-epub.md | 4 +- docs/speak-esperanto.md | 4 +- docs/speak-file.md | 4 +- docs/speak-finnish.md | 4 +- docs/speak-french.md | 4 +- docs/speak-german.md | 4 +- docs/speak-greek.md | 4 +- docs/speak-hebrew.md | 4 +- docs/speak-hindi.md | 4 +- docs/speak-italian.md | 4 +- docs/speak-japanese.md | 4 +- docs/speak-korean.md | 4 +- docs/speak-latin.md | 4 +- docs/speak-mandarin.md | 4 +- docs/speak-norwegian.md | 4 +- docs/speak-polish.md | 4 +- docs/speak-portuguese.md | 4 +- docs/speak-russian.md | 4 +- docs/speak-spanish.md | 4 +- docs/speak-swedish.md | 4 +- docs/speak-test.md | 2 +- docs/speak-text.md | 4 +- docs/speak-thai.md | 4 +- docs/speak-turkish.md | 4 +- docs/speak-ukrainian.md | 4 +- docs/spell-word.md | 27 ++-- docs/start-ipfs-server.md | 4 +- docs/suspend.md | 4 +- docs/switch-branch.md | 4 +- docs/switch-shelly1.md | 4 +- docs/switch-tabs.md | 4 +- docs/sync-folder.md | 4 +- docs/sync-repo.md | 4 +- docs/tell-joke.md | 4 +- docs/tell-new-year.md | 4 +- docs/tell-quote.md | 4 +- docs/toggle-caps-lock.md | 4 +- docs/toggle-num-lock.md | 4 +- docs/toggle-scroll-lock.md | 4 +- docs/translate-file.md | 4 +- docs/translate-files.md | 4 +- docs/translate-text.md | 4 +- docs/turn-volume-down.md | 4 +- docs/turn-volume-fully-up.md | 4 +- docs/turn-volume-off.md | 4 +- docs/turn-volume-on.md | 4 +- docs/turn-volume-up.md | 4 +- docs/uninstall-all-apps.md | 4 +- docs/uninstall-bloatware.md | 4 +- docs/uninstall-new-outlook.md | 60 +++++++++ docs/uninstall-outlook.md | 60 +++++++++ docs/update-powershell-profile.md | 4 +- docs/upgrade-ubuntu.md | 4 +- docs/upload-file.md | 4 +- docs/upload-to-dropbox.md | 4 +- docs/wake-up-host.md | 20 +-- docs/wake-up-human.md | 55 ++++++++ docs/watch-commits.md | 41 +++--- docs/watch-file.md | 2 +- docs/watch-host.md | 150 +++++++++++++++++++++ docs/watch-news.md | 18 +-- docs/watch-ping.md | 4 +- docs/weather-report.md | 4 +- docs/weather.md | 4 +- docs/what-is.md | 4 +- docs/windefender.md | 4 +- docs/write-animated.md | 4 +- docs/write-ascii-image.md | 2 +- docs/write-big.md | 4 +- docs/write-blue.md | 4 +- docs/write-braille.md | 4 +- docs/write-centered.md | 4 +- docs/write-changelog.md | 59 ++++---- docs/write-chart.md | 2 +- docs/write-clock.md | 4 +- docs/write-code.md | 4 +- docs/write-credits.md | 4 +- docs/write-date.md | 4 +- docs/write-fractal.md | 2 +- docs/write-green.md | 4 +- docs/write-hands-off.md | 4 +- docs/write-headline.md | 4 +- docs/write-help.md | 4 +- docs/write-in-emojis.md | 4 +- docs/write-joke.md | 4 +- docs/write-location.md | 4 +- docs/write-lowercase.md | 4 +- docs/write-marquee.md | 4 +- docs/write-matrix.md | 2 +- docs/write-moon.md | 4 +- docs/write-morse-code.md | 4 +- docs/write-motd.md | 4 +- docs/write-pi.md | 4 +- docs/write-qr-code.md | 4 +- docs/write-quote.md | 4 +- docs/write-red.md | 4 +- docs/write-rot13.md | 4 +- docs/write-shit.md | 4 +- docs/write-sine-curves.md | 4 +- docs/write-time.md | 4 +- docs/write-typewriter.md | 35 ++--- docs/write-uppercase.md | 4 +- docs/write-value.md | 150 +++++++++++++++++++++ docs/write-vertical.md | 4 +- docs/write-xmas-tree.md | 4 +- scripts/convert-ps2md.ps1 | 2 +- 635 files changed, 2383 insertions(+), 1674 deletions(-) create mode 100644 docs/get-sha512.md create mode 100644 docs/install-jenkins-agent.md create mode 100644 docs/uninstall-new-outlook.md create mode 100644 docs/uninstall-outlook.md create mode 100644 docs/wake-up-human.md create mode 100644 docs/watch-host.md create mode 100644 docs/write-value.md diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index 4eefc0fa2..e6f0f5180 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -6,7 +6,7 @@ This PowerShell script adds firewall rules for the given executable. Administrat Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/add-firewall-rules.ps1 [[-PathToExecutables] ] [[-Direction] ] [[-FirewallProfile] ] [] +/Repos/PowerShell/scripts/add-firewall-rules.ps1 [[-PathToExecutables] ] [[-Direction] ] [[-FirewallProfile] ] [] -PathToExecutables Specifies the path to the executables. @@ -113,4 +113,4 @@ try { ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:49)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/alert.md b/docs/alert.md index 48f4c2b9d..94f43810e 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -6,7 +6,7 @@ This PowerShell script handles and escalates the given alert message. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/alert.ps1 [[-Message] ] [] +/Repos/PowerShell/scripts/alert.ps1 [[-Message] ] [] -Message Specifies the alert message @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:49)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/build-repo.md b/docs/build-repo.md index 6a24fac33..f375da51b 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -6,7 +6,7 @@ This PowerShell script builds a Git repository by supporting build systems such Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/build-repo.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/build-repo.ps1 [[-path] ] [] -path Specifies the path to the Git repository (default is current working directory) @@ -196,4 +196,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/build-repos.md b/docs/build-repos.md index 55aff31cd..3b868615b 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -6,7 +6,7 @@ This PowerShell script builds all Git repositories in a folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/build-repos.ps1 [[-ParentDir] ] [] +/Repos/PowerShell/scripts/build-repos.ps1 [[-ParentDir] ] [] -ParentDir Specifies the path to the parent folder @@ -82,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index 75c3c6111..8f9f8a52c 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's autostart fol Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-autostart.ps1 [] +/Repos/PowerShell/scripts/cd-autostart.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index 39a7c2f4f..9365fa388 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the crash dumps director Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-crashdumps.ps1 [] +/Repos/PowerShell/scripts/cd-crashdumps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index 5f631eade..cae5ea56b 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's desktop folde Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-desktop.ps1 [] +/Repos/PowerShell/scripts/cd-desktop.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index c2a078579..0366619c0 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the documents folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-docs.ps1 [] +/Repos/PowerShell/scripts/cd-docs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index 1c5bde5bb..bbe3da49d 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's downloads fol Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-downloads.ps1 [] +/Repos/PowerShell/scripts/cd-downloads.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index 5583c3712..c89b4abc2 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's Dropbox folde Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-dropbox.ps1 [] +/Repos/PowerShell/scripts/cd-dropbox.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index f97890d31..04c095bf0 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the /etc directory. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-etc.ps1 [] +/Repos/PowerShell/scripts/cd-etc.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index ecac70ba1..6a742919a 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the fonts folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-fonts.ps1 [] +/Repos/PowerShell/scripts/cd-fonts.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-home.md b/docs/cd-home.md index 86feed7f6..bf6933c30 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's home director Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-home.ps1 [] +/Repos/PowerShell/scripts/cd-home.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index 55e11c174..4abbac495 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the Jenkins home directo Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-jenkins.ps1 [] +/Repos/PowerShell/scripts/cd-jenkins.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index adce66f93..4d67576b5 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -48,4 +48,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-music.md b/docs/cd-music.md index 1595bccdd..c3e46328c 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's music folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-music.ps1 [] +/Repos/PowerShell/scripts/cd-music.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index dbc6a527b..2995af9ae 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's NextCloud fol Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-nextcloud.ps1 [] +/Repos/PowerShell/scripts/cd-nextcloud.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index 1cf40e814..bc784fd41 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's OneDrive fold Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-onedrive.ps1 [] +/Repos/PowerShell/scripts/cd-onedrive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index f48e9729a..9ac610b44 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's pictures fold Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-pics.ps1 [] +/Repos/PowerShell/scripts/cd-pics.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-public.md b/docs/cd-public.md index 39ddb9287..91ea3b4f7 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the Public folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-public.ps1 [] +/Repos/PowerShell/scripts/cd-public.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index b86dea864..bf67241fa 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the 'recent' folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-recent.ps1 [] +/Repos/PowerShell/scripts/cd-recent.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index 141e207b3..2d10cb226 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index 7ded4d76c..a835ad69b 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the given local Git repo Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-repo.ps1 [[-folderName] ] [] +/Repos/PowerShell/scripts/cd-repo.ps1 [[-folderName] ] [] -folderName Specifies the folder name of the Git repository @@ -62,21 +62,28 @@ param([string]$folderName = "") try { if ("$folderName" -eq "") { $folderName = Read-Host "Enter the Git repository's folder name" } - if (Test-Path "~/Repos/" -pathType container) { # try short name - $path = "~/Repos/" - } elseif (Test-Path "~/repos/" -pathType container) { - $path = "~/repos/" - } elseif (Test-Path "~/Repositories/" -pathType container) { # try long name - $path = "~/Repositories/" - } elseif (Test-Path "~/source/repos/" -pathType container) { # try Visual Studio default - $path = "~/source/repos/" - } elseif (Test-Path "/Repos/" -pathType container) { - $path = "/Repos/" + if (Test-Path "~/Repos" -pathType Container) { # try short name in home dir + $path = "~/Repos" + } elseif (Test-Path "~/repos" -pathType Container) { + $path = "~/repos" + } elseif (Test-Path "~/Repositories" -pathType Container) { # try long name + $path = "~/Repositories" + } elseif (Test-Path "~/repositories" -pathType Container) { + $path = "~/repositories" + } elseif (Test-Path "/Repos" -pathType Container) { # try short name in root dir + $path = "/Repos" + } elseif (Test-Path "/repos" -pathType Container) { + $path = "/repos" + } elseif (Test-Path "/Repositories" -pathType Container) { # try long name + $path = "/Repositories" + } elseif (Test-Path "/repositories" -pathType Container) { + $path = "/repositories" + } elseif (Test-Path "~/source/repos" -pathType Container) { # try Visual Studio default + $path = "~/source/repos" } else { - throw "The folder for Git repositories doesn't exist (yet)" + throw "No Git repositories folder in your home directory or in the root folder yet" } - - $path += $folderName + $path += "/" + $folderName if (-not(Test-Path "$path" -pathType container)) { throw "The path to 📂$path doesn't exist (yet)" } $path = Resolve-Path "$path" @@ -90,4 +97,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index 6d2652c86..1c10670f8 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -1,12 +1,12 @@ The *cd-repos.ps1* Script =========================== -This PowerShell script changes the working directory to the user's Git repositories folder. +This PowerShell script changes the working directory to the Git repositories folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-repos.ps1 [] +/Repos/PowerShell/scripts/cd-repos.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-repos.ps1 -📂C:\Users\Markus\Repos +📂C:\Repos ``` @@ -34,14 +34,14 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to the user's repos folder + Sets the working directory to the Git repos folder .DESCRIPTION - This PowerShell script changes the working directory to the user's Git repositories folder. + This PowerShell script changes the working directory to the Git repositories folder. .PARAMETER subpath Specifies an additional relative subpath (optional) .EXAMPLE PS> ./cd-repos.ps1 - 📂C:\Users\Markus\Repos + 📂C:\Repos .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,21 +49,28 @@ Script Content #> try { - if (Test-Path "~/Repos/" -pathType Container) { # try short name - $path = "~/Repos/" - } elseif (Test-Path "~/repos/" -pathType Container) { - $path = "~/repos/" - } elseif (Test-Path "~/Repositories/" -pathType Container) { # try long name - $path = "~/Repositories/" - } elseif (Test-Path "~/source/repos/" -pathType Container) { # try Visual Studio default - $path = "~/source/repos/" - } elseif (Test-Path "/Repos/" -pathType Container) { - $path = "/Repos/" + if (Test-Path "~/Repos" -pathType Container) { # try short name in home dir + $path = "~/Repos" + } elseif (Test-Path "~/repos" -pathType Container) { + $path = "~/repos" + } elseif (Test-Path "~/Repositories" -pathType Container) { # try long name + $path = "~/Repositories" + } elseif (Test-Path "~/repositories" -pathType Container) { + $path = "~/repositories" + } elseif (Test-Path "/Repos" -pathType Container) { # try short name in root dir + $path = "/Repos" + } elseif (Test-Path "/repos" -pathType Container) { + $path = "/repos" + } elseif (Test-Path "/Repositories" -pathType Container) { # try long name + $path = "/Repositories" + } elseif (Test-Path "/repositories" -pathType Container) { + $path = "/repositories" + } elseif (Test-Path "~/source/repos" -pathType Container) { # try Visual Studio default + $path = "~/source/repos" } else { - throw "The folder for Git repositories doesn't exist (yet)" + throw "No Git repositories folder in your home directory or in the root folder yet" } - if (-not(Test-Path "$path" -pathType Container)) { throw "The path to 📂$path doesn't exist (yet)" } - $path = Resolve-Path "$path" + $path = Resolve-Path $path Set-Location "$path" "📂$path" exit 0 # success @@ -73,4 +80,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-root.md b/docs/cd-root.md index b665dcc0c..66fc035b2 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -6,7 +6,7 @@ This PowerShell script changes the current working directory to the root directo Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-root.ps1 [] +/Repos/PowerShell/scripts/cd-root.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index ccd168a1b..54d1328ae 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -55,4 +55,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index d3f62a9ad..94da739fd 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the PowerShell scripts f Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-scripts.ps1 [] +/Repos/PowerShell/scripts/cd-scripts.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-scripts -📂C:\Users\Markus\Repos\PowerShell\scripts +PS> ./cd-scripts.ps1 +📂C:\Repos\PowerShell\scripts ``` @@ -38,8 +38,8 @@ Script Content .DESCRIPTION This PowerShell script changes the working directory to the PowerShell scripts folder. .EXAMPLE - PS> ./cd-scripts - 📂C:\Users\Markus\Repos\PowerShell\scripts + PS> ./cd-scripts.ps1 + 📂C:\Repos\PowerShell\scripts .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index 058475423..1952219d4 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's secure shell Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-ssh.ps1 [] +/Repos/PowerShell/scripts/cd-ssh.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index a6484e8fb..96826164b 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -50,4 +50,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index 0b37c2f83..2bf001641 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the templates folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-templates.ps1 [] +/Repos/PowerShell/scripts/cd-templates.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index 246356efd..fc8dba671 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-up.md b/docs/cd-up.md index 298b59667..b8580352e 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to one directory level up. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-up.ps1 [] +/Repos/PowerShell/scripts/cd-up.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index 976c52ae3..fea611f4b 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to two directory level up. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-up2.ps1 [] +/Repos/PowerShell/scripts/cd-up2.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index 274610090..53fd51e24 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to three directory levels u Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-up3.ps1 [] +/Repos/PowerShell/scripts/cd-up3.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index a638acc5f..29013f2f2 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to four directory levels up Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-up4.ps1 [] +/Repos/PowerShell/scripts/cd-up4.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* diff --git a/docs/cd-users.md b/docs/cd-users.md index f2274394e..6baa921d8 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the users directory. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-users.ps1 [] +/Repos/PowerShell/scripts/cd-users.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index cf215c5d5..4555afa7a 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the user's videos folder Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-videos.ps1 [] +/Repos/PowerShell/scripts/cd-videos.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index eafecce57..0af45ba14 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -6,7 +6,7 @@ This PowerShell script changes the working directory to the Windows directory. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/cd-windows.ps1 [] +/Repos/PowerShell/scripts/cd-windows.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index 8fb9ae340..e1df7512c 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -6,7 +6,7 @@ This PowerShell script downloads a random photo from Unsplash and sets it as des Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/change-wallpaper.ps1 [[-Category] ] [] +/Repos/PowerShell/scripts/change-wallpaper.ps1 [[-Category] ] [] -Category Specifies the photo category (beach, city, ...) @@ -79,4 +79,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-admin.md b/docs/check-admin.md index 4b830cd6f..dcd4158cf 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -6,7 +6,7 @@ This PowerShell script checks if the user has administrator rights. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-admin.ps1 [] +/Repos/PowerShell/scripts/check-admin.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-apps.md b/docs/check-apps.md index b57e357cc..90fb54b8c 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-bios.md b/docs/check-bios.md index c50738d25..db5890434 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -6,7 +6,7 @@ This PowerShell script queries the BIOS status and prints it. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-bios.ps1 [] +/Repos/PowerShell/scripts/check-bios.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index c95bc38b4..980eda67a 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -91,8 +91,6 @@ try { } elseif ($celsius -lt 0) { $temp = ", $($celsius)°C TOO COLD" $status = "⚠️" - } elseif ($celsius -lt 30) { - $temp = ", $($celsius)°C cool" } else { $temp = ", $($celsius)°C" } @@ -106,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index 903ebf70a..f9f8f70f5 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -6,7 +6,7 @@ This PowerShell script asks for credentials and checks them against saved ones ( Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-credentials.ps1 [[-TargetFile] ] [] +/Repos/PowerShell/scripts/check-credentials.ps1 [[-TargetFile] ] [] -TargetFile Specifies the target file ("$HOME\my.credentials" by default) @@ -82,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-day.md b/docs/check-day.md index 0b983845a..8ce2ca2eb 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -6,7 +6,7 @@ This PowerShell script determines and speaks the current day by text-to-speech ( Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-day.ps1 [] +/Repos/PowerShell/scripts/check-day.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-dns.md b/docs/check-dns.md index 1039541c3..0135562d3 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -6,7 +6,7 @@ This PowerShell script measures the DNS resolution speed using 100 internet doma Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-dns.ps1 [] +/Repos/PowerShell/scripts/check-dns.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./check-dns.ps1 -✅ Internet DNS lookups in 33.6ms +✅ Internet DNS: 33.6ms lookup time ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script measures the DNS resolution speed using 100 internet domains and prints it. .EXAMPLE PS> ./check-dns.ps1 - ✅ Internet DNS lookups in 33.6ms + ✅ Internet DNS: 33.6ms lookup time .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -58,10 +58,12 @@ try { } [float]$elapsed = $stopWatch.Elapsed.TotalSeconds * 1000.0 $speed = [math]::round($elapsed / $table.Length, 1) - if ($speed -gt 100.0) { - Write-Host "⚠️ Internet DNS lookups take $($speed)ms!" + if ($speed -lt 10.0) { + Write-Output "✅ Internet DNS: $($speed)ms excellent lookup time" + } elseif ($speed -lt 100.0) { + Write-Output "✅ Internet DNS: $($speed)ms lookup time" } else { - Write-Host "✅ Internet DNS lookups in $($speed)ms" + Write-Output "⚠️ Internet DNS: $($speed)ms slow lookup time" } exit 0 # success } catch { @@ -70,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index 1534d2028..f490771d4 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -6,7 +6,7 @@ This PowerShell script checks the given drive for free space left (10 GB by defa Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-drive-space.ps1 [[-driveName] ] [[-minLevel] ] [] +/Repos/PowerShell/scripts/check-drive-space.ps1 [[-driveName] ] [[-minLevel] ] [] -driveName Specifies the drive name to check (e.g. "C") @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-drives.md b/docs/check-drives.md index 2df4e59b2..2c90ae0df 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -6,7 +6,7 @@ This PowerShell script queries the free space of all drives and prints it. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-drives.ps1 [[-minLevel] ] [] +/Repos/PowerShell/scripts/check-drives.ps1 [[-minLevel] ] [] -minLevel Specifies the minimum warning level (5GB by default) @@ -102,4 +102,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index 19861d61c..01d9c1630 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index 10a28ac39..167bbebd3 100644 --- a/docs/check-easter-sunday.md +++ b/docs/check-easter-sunday.md @@ -6,7 +6,7 @@ This PowerShell script checks the time until Easter Sunday and replies by text-t Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-easter-sunday.ps1 [] +/Repos/PowerShell/scripts/check-easter-sunday.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index eecb41590..684f3f82a 100644 --- a/docs/check-file-system.md +++ b/docs/check-file-system.md @@ -6,7 +6,7 @@ This PowerShell script checks the file system of a drive. It needs admin rights. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-file-system.ps1 [[-Drive] ] [] +/Repos/PowerShell/scripts/check-file-system.ps1 [[-Drive] ] [] -Drive Specifies the drive to check @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-file.md b/docs/check-file.md index fd2962044..b4f5f9a1c 100644 --- a/docs/check-file.md +++ b/docs/check-file.md @@ -6,7 +6,7 @@ This PowerShell script determines and prints the file type of the given file. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-file.ps1 [[-Path] ] [] +/Repos/PowerShell/scripts/check-file.ps1 [[-Path] ] [] -Path Specifies the path to the file @@ -170,4 +170,4 @@ function Check-Header { param( $path ) Check-Header $Path ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index cacba536c..88a98265f 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -6,7 +6,7 @@ This PowerShell script queries the status of the firewall and prints it. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-firewall.ps1 [] +/Repos/PowerShell/scripts/check-firewall.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index 1a7fc2db0..8bb8525e0 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index 653cc8852..991170fe4 100644 --- a/docs/check-hardware.md +++ b/docs/check-hardware.md @@ -6,7 +6,7 @@ This PowerShell script queries the hardware details of the local computer and pr Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-hardware.ps1 [] +/Repos/PowerShell/scripts/check-hardware.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -18,7 +18,7 @@ Example ```powershell PS> ./check-hardware.ps1 -H A R D W A R E + === H A R D W A R E === ✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C) ... @@ -43,7 +43,7 @@ Script Content .EXAMPLE PS> ./check-hardware.ps1 - H A R D W A R E + === H A R D W A R E === ✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C) ... .LINK @@ -52,7 +52,7 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -Write-Host "`n H A R D W A R E" -foregroundColor green +Write-Host "`n === H A R D W A R E ===" -foregroundColor green & "$PSScriptRoot/check-cpu.ps1" & "$PSScriptRoot/check-ram.ps1" & "$PSScriptRoot/check-gpu.ps1" @@ -64,4 +64,4 @@ Write-Host "`n H A R D W A R E" -foregroundColor green exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-health.md b/docs/check-health.md index 1dc2f00fd..249010fa8 100644 --- a/docs/check-health.md +++ b/docs/check-health.md @@ -6,7 +6,7 @@ This PowerShell script queries the system health of the local computer (hardware Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-health.ps1 [] +/Repos/PowerShell/scripts/check-health.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index 40c78173b..fa11acb09 100644 --- a/docs/check-independence-day.md +++ b/docs/check-independence-day.md @@ -6,7 +6,7 @@ This PowerShell script checks the time until Indepence Day and replies by text-t Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-independence-day.ps1 [] +/Repos/PowerShell/scripts/check-independence-day.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index fd1f0a29a..21769eca2 100644 --- a/docs/check-ipv4-address.md +++ b/docs/check-ipv4-address.md @@ -6,7 +6,7 @@ This PowerShell script checks the given IPv4 address for validity. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-ipv4-address.ps1 [[-Address] ] [] +/Repos/PowerShell/scripts/check-ipv4-address.ps1 [[-Address] ] [] -Address Specifies the IPv4 address to check @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index d626f61cb..b5d92bdac 100644 --- a/docs/check-ipv6-address.md +++ b/docs/check-ipv6-address.md @@ -6,7 +6,7 @@ This PowerShell script checks the given IPv6 address for validity Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-ipv6-address.ps1 [[-Address] ] [] +/Repos/PowerShell/scripts/check-ipv6-address.ps1 [[-Address] ] [] -Address Specifies the IPv6 address to check @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index 9e367e18c..109280dd8 100644 --- a/docs/check-iss-position.md +++ b/docs/check-iss-position.md @@ -6,7 +6,7 @@ This PowerShell script queries the position of the International Space Station ( Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-iss-position.ps1 [] +/Repos/PowerShell/scripts/check-iss-position.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index 9ec05551e..f29b85f91 100644 --- a/docs/check-mac-address.md +++ b/docs/check-mac-address.md @@ -7,7 +7,7 @@ Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000 Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-mac-address.ps1 [[-MAC] ] [] +/Repos/PowerShell/scripts/check-mac-address.ps1 [[-MAC] ] [] -MAC Specifies the MAC address to check @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index 7b3aa713f..9e4324071 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-month.md b/docs/check-month.md index df6c1c22e..310d09cfb 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -6,7 +6,7 @@ This PowerShell script determines and speaks the current month name by text-to-s Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-month.ps1 [] +/Repos/PowerShell/scripts/check-month.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index 46f548771..b186acf0a 100644 --- a/docs/check-moon-phase.md +++ b/docs/check-moon-phase.md @@ -6,7 +6,7 @@ This PowerShell script determines the Moon phase and answers by text-to-speech ( Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-moon-phase.ps1 [] +/Repos/PowerShell/scripts/check-moon-phase.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index d13f2acfb..bcf4593b6 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -6,7 +6,7 @@ This PowerShell script lists the motherboard details. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-motherboard.ps1 [] +/Repos/PowerShell/scripts/check-motherboard.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-network.md b/docs/check-network.md index 9f6104a94..773706538 100644 --- a/docs/check-network.md +++ b/docs/check-network.md @@ -6,7 +6,7 @@ This PowerShell script queries the network details of the local computer and pri Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-network.ps1 [] +/Repos/PowerShell/scripts/check-network.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -20,7 +20,7 @@ PS> ./check-network.ps1 -N E T W O R K +=== N E T W O R K === ✅ Firewall enabled ... @@ -45,7 +45,7 @@ Script Content .EXAMPLE PS> ./check-network.ps1 - N E T W O R K + === N E T W O R K === ✅ Firewall enabled ... .LINK @@ -54,17 +54,17 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -Write-Host "`n N E T W O R K" -foregroundColor green +Write-Host "`n === N E T W O R K ===" -foregroundColor green & "$PSScriptRoot/check-firewall" & "$PSScriptRoot/list-local-ip.ps1" -& "$PSScriptRoot/list-network-shares.ps1" & "$PSScriptRoot/ping-local-devices.ps1" -& "$PSScriptRoot/check-vpn.ps1" +& "$PSScriptRoot/list-network-shares.ps1" & "$PSScriptRoot/list-internet-ip.ps1" & "$PSScriptRoot/ping-internet.ps1" & "$PSScriptRoot/check-dns.ps1" +& "$PSScriptRoot/check-vpn.ps1" & "$PSScriptRoot/list-ssh-key.ps1" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-noon.md b/docs/check-noon.md index d8aa5b0a7..53f35af3b 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-os.md b/docs/check-os.md index 7c3949d86..deb6eba22 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -6,7 +6,7 @@ This PowerShell script queries the operating system status and prints it. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-os.ps1 [] +/Repos/PowerShell/scripts/check-os.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index c35299e51..26e2e679d 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -6,7 +6,7 @@ This PowerShell script checks the inbox of Outlook for new/unread mails. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-outlook.ps1 [] +/Repos/PowerShell/scripts/check-outlook.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-password.md b/docs/check-password.md index 540a18d68..59efd3cc9 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -6,7 +6,7 @@ This PowerShell script checks the security status of the given password by havei Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-password.ps1 [[-password] ] [] +/Repos/PowerShell/scripts/check-password.ps1 [[-password] ] [] -password @@ -94,4 +94,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index 5b5090d55..b109f859c 100644 --- a/docs/check-pending-reboot.md +++ b/docs/check-pending-reboot.md @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index 3f955c0aa..37f2426bb 100644 --- a/docs/check-pnp-devices.md +++ b/docs/check-pnp-devices.md @@ -6,7 +6,7 @@ This PowerShell script checks all Plug'n'PLay devices connected to the local com Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-pnp-devices.ps1 [] +/Repos/PowerShell/scripts/check-pnp-devices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-power.md b/docs/check-power.md index e3042017e..8687644fc 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -6,7 +6,7 @@ This PowerShell script queries the power status and prints it. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-power.ps1 [] +/Repos/PowerShell/scripts/check-power.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,9 +61,9 @@ try { if ($details.BatteryChargeStatus -eq "NoSystemBattery") { $reply = "✅ AC powered" } elseif ($percent -ge 95) { - $reply = "✅ Battery nearly full ($percent%, power scheme is '$powerScheme')" + $reply = "✅ Battery full ($percent%, power scheme is '$powerScheme')" } else { - $reply = "✅ Battery $percent% and charging (power scheme is '$powerScheme')" + $reply = "✅ Battery charging ($percent%, power scheme is '$powerScheme')" } } else { # must be offline if (($remaining -eq 0) -and ($percent -ge 60)) { @@ -71,13 +71,13 @@ try { } elseif ($remaining -eq 0) { $reply = "✅ Battery at $percent% (power scheme is '$powerScheme')" } elseif ($remaining -le 5) { - $reply = "⚠️ Battery $percent% ONLY $($remaining)min remaining (power scheme is '$powerScheme')" + $reply = "⚠️ Battery LOW ($percent%, $($remaining)min remaining, power scheme is '$powerScheme')" } elseif ($remaining -le 30) { - $reply = "⚠️ Battery $percent% only $($remaining)min remaining (power scheme is '$powerScheme')" + $reply = "⚠️ Battery low ($percent%, $($remaining)min remaining, power scheme is '$powerScheme')" } elseif ($percent -lt 10) { $reply = "⚠️ Battery $percent% only with $($remaining)min remaining (power scheme is '$powerScheme') " } elseif ($percent -ge 90) { - $reply = "✅ Battery $percent% full with $($remaining)min remaining (power scheme is '$powerScheme')" + $reply = "✅ Battery full ($percent%, $($remaining)min remaining, power scheme is '$powerScheme')" } else { $reply = "✅ Battery $percent% with $($remaining)min remaining (power scheme is '$powerScheme') " } @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index 3fef34071..2537325e1 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 0c9d4781c..a8b853aaf 100644 --- a/docs/check-ps1-file.md +++ b/docs/check-ps1-file.md @@ -6,7 +6,7 @@ This PowerShell script checks the given PowerShell script file(s) for validity. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-ps1-file.ps1 [[-filePattern] ] [] +/Repos/PowerShell/scripts/check-ps1-file.ps1 [[-filePattern] ] [] -filePattern Specifies the file pattern to the PowerShell file(s) @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-ram.md b/docs/check-ram.md index ed463c42c..05de56a8b 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-repo.md b/docs/check-repo.md index 382c09d0e..57c584f85 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -6,7 +6,7 @@ This PowerShell script verifies the integrity of a local Git repository and perf Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-repo.ps1 [[-pathToRepo] ] [] +/Repos/PowerShell/scripts/check-repo.ps1 [[-pathToRepo] ] [] -pathToRepo Specifies the file path to the local Git repository (current working directory by default) @@ -129,4 +129,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-repos.md b/docs/check-repos.md index 7e31e6ae6..0820c9136 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -6,7 +6,7 @@ This PowerShell script verifies the data integrity of all Git repositories in a Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-repos.ps1 [[-parentDir] ] [] +/Repos/PowerShell/scripts/check-repos.ps1 [[-parentDir] ] [] -parentDir Specifies the file path to the parent folder @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-santa.md b/docs/check-santa.md index 7fd736784..b5420a6f2 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -6,7 +6,7 @@ This PowerShell script checks the time until Saint Nicholas Day and replies by t Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-santa.ps1 [] +/Repos/PowerShell/scripts/check-santa.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index d05d2b061..78c9fa64d 100644 --- a/docs/check-smart-devices.md +++ b/docs/check-smart-devices.md @@ -24,7 +24,7 @@ Script Content This PowerShell script queries the status of the SSD/HDD devices (supporting S.M.A.R.T.) and prints it. .EXAMPLE PS> ./check-smart-devices.ps1 - ✅ 1TB Samsung SSD 970 EVO via NVMe (37°C, 2388 hours, 289x on/off, v2B2QEXE7, test passed) + ✅ 1TB Samsung SSD 970 EVO 1TB via NVMe (35°C, 6142h, 770x on/off, 34TB read, 64TB written, v2B2QEXE7, test passed) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,18 +48,15 @@ function Bytes2String([int64]$bytes) { } try { - #Write-Progress "(1/3) Searching for smartmontools..." $result = (smartctl --version) if ($lastExitCode -ne "0") { throw "Can't execute 'smartctl' - make sure smartmontools are installed" } - #Write-Progress "(2/3) Scanning S.M.A.R.T devices..." if ($IsLinux) { $devices = $(sudo smartctl --scan-open) } else { $devices = $(smartctl --scan-open) } - #Write-Progress "Querying S.M.A.R.T devices..." foreach($device in $devices) { $array = $device.split(" ") $dev = $array[0] @@ -81,37 +78,41 @@ try { } else { $capacity = "" } + $infos = "" if ($details.temperature.current -gt 50) { - $temp = "$($details.temperature.current)°C TOO HOT" + $infos = "$($details.temperature.current)°C TOO HOT" $status = "⚠️" } elseif ($details.temperature.current -lt 0) { - $temp = "$($details.temperature.current)°C TOO COLD" + $infos = "$($details.temperature.current)°C TOO COLD" $status = "⚠️" } else { - $temp = "$($details.temperature.current)°C" + $infos = "$($details.temperature.current)°C" } if ($details.power_on_time.hours -gt 87600) { # 10 years - $hours = "$($details.power_on_time.hours) hours (!)" + $infos += ", $($details.power_on_time.hours)h (!)" $status = "⚠️" } else { - $hours = "$($details.power_on_time.hours) hours" + $infos += ", $($details.power_on_time.hours)h" } if ($details.power_cycle_count -gt 100000) { - $powerOn = "$($details.power_cycle_count)x on/off (!)" + $infos += ", $($details.power_cycle_count)x on/off (!)" $status = "⚠️" } else { - $powerOn = "$($details.power_cycle_count)x on/off" - } + $infos += ", $($details.power_cycle_count)x on/off" + } + if ($details.nvme_smart_health_information_log.host_reads) { + $infos += ", $(Bytes2String ($details.nvme_smart_health_information_log.data_units_read * 512 * 1000)) read" + $infos += ", $(Bytes2String ($details.nvme_smart_health_information_log.data_units_written * 512 * 1000)) written" + } + $infos += ", v$($details.firmware_version)" if ($details.smart_status.passed) { - $selftest = "test passed" + $infos += ", test passed" } else { - $selftest = "test FAILED" + $infos += ", test FAILED" $status = "⚠️" } - $firmwareVersion = $details.firmware_version - Write-Host "$status $capacity$modelName via $protocol ($temp, $hours, $powerOn, v$firmwareVersion, $selftest)" + Write-Host "$status $capacity$modelName via $protocol ($infos)" } - #Write-Progress -completed "Done." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -119,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-software.md b/docs/check-software.md index 18eef9354..a49e3d70a 100644 --- a/docs/check-software.md +++ b/docs/check-software.md @@ -6,7 +6,7 @@ This PowerShell script queries the software status of the local computer and pri Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-software.ps1 [] +/Repos/PowerShell/scripts/check-software.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -20,7 +20,7 @@ PS> ./check-software.ps1 -S O F T W A R E +=== S O F T W A R E === ✅ Windows 10 Pro 64-Bit (v10.0.19045, since 5/2/2021) ... @@ -45,7 +45,7 @@ Script Content .EXAMPLE PS> ./check-software.ps1 - S O F T W A R E + === S O F T W A R E === ✅ Windows 10 Pro 64-Bit (v10.0.19045, since 5/2/2021) ... .LINK @@ -54,7 +54,7 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -Write-Host "`n S O F T W A R E" -foregroundColor green +Write-Host "`n === S O F T W A R E ===" -foregroundColor green & "$PSScriptRoot/check-os.ps1" & "$PSScriptRoot/check-uptime.ps1" & "$PSScriptRoot/check-apps.ps1" @@ -64,4 +64,4 @@ Write-Host "`n S O F T W A R E" -foregroundColor green exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index e27fad9a0..848690112 100644 --- a/docs/check-subnet-mask.md +++ b/docs/check-subnet-mask.md @@ -6,7 +6,7 @@ This PowerShell script checks the given subnet mask for validity. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-subnet-mask.ps1 [[-address] ] [] +/Repos/PowerShell/scripts/check-subnet-mask.ps1 [[-address] ] [] -address Specifies the subnet mask to check @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index 91597a796..b95f8a79b 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -6,7 +6,7 @@ This PowerShell script queries the current status of the swap space and prints i Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-swap-space.ps1 [[-minLevel] ] [] +/Repos/PowerShell/scripts/check-swap-space.ps1 [[-minLevel] ] [] -minLevel Specifies the minimum level in MB (10 MB by default) @@ -107,4 +107,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index 644c1cd94..8f9bf3db5 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -7,7 +7,7 @@ It returns the number of broken symlinks as exit value. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-symlinks.ps1 [[-Folder] ] [] +/Repos/PowerShell/scripts/check-symlinks.ps1 [[-Folder] ] [] -Folder Specifies the path to the folder @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index 11bc658b9..8741606d4 100644 --- a/docs/check-time-zone.md +++ b/docs/check-time-zone.md @@ -6,7 +6,7 @@ This PowerShell script queries the local time zone and prints it. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-time-zone.ps1 [] +/Repos/PowerShell/scripts/check-time-zone.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index d505ab80c..20c9fc60d 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -103,7 +103,7 @@ try { } if ($reason -ne "") { $status = "⚠️" - $pending = "with pending reboot ($($reason.substring(2)) in registry)" + $pending = "with pending reboot (registry has $($reason.substring(2)))" } } Write-Host "$status $(hostname) is up for $(TimeSpanAsString $uptime) since $($lastBootTime.ToShortDateString()) $pending" @@ -114,4 +114,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index 0924a0e6f..4c416d4a9 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -6,7 +6,7 @@ This PowerShell script queries the status of the VPN connection(s) and prints it Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-vpn.ps1 [] +/Repos/PowerShell/scripts/check-vpn.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./check-vpn.ps1 -✅ VPN to NASA L2TP is connected +✅ Internet VPN to NASA L2TP is connected ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script queries the status of the VPN connection(s) and prints it. .EXAMPLE PS> ./check-vpn.ps1 - ✅ VPN to NASA L2TP is connected + ✅ Internet VPN to NASA L2TP is connected .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -53,7 +53,7 @@ try { } else { $connections = Get-VPNConnection foreach($connection in $connections) { - Write-Host "✅ VPN to $($connection.Name) is $($connection.ConnectionStatus.ToLower())" + Write-Host "✅ Internet VPN to $($connection.Name) is $($connection.ConnectionStatus.ToLower())" $noVPN = $false } } @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-weather.md b/docs/check-weather.md index f84a083e2..ab9111942 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -6,7 +6,7 @@ This PowerShell script checks the current weather report. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-weather.ps1 [[-location] ] [] +/Repos/PowerShell/scripts/check-weather.ps1 [[-location] ] [] -location Specifies the location to use (determined automatically per default) @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-week.md b/docs/check-week.md index cb2e1045e..79f56a12b 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -6,7 +6,7 @@ This PowerShell script determines and speaks the current week number by text-to- Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-week.ps1 [] +/Repos/PowerShell/scripts/check-week.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-wind.md b/docs/check-wind.md index b23df69c7..7e8d037b0 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -6,7 +6,7 @@ This PowerShell script determines the current wind conditions and replies by tex Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-wind.ps1 [[-location] ] [] +/Repos/PowerShell/scripts/check-wind.ps1 [[-location] ] [] -location Specifies the location to use (determined automatically per default) @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index ed8d71c91..a3f4daf0c 100644 --- a/docs/check-windows-system-files.md +++ b/docs/check-windows-system-files.md @@ -6,7 +6,7 @@ This PowerShell script checks the validity of the Windows system files. It requi Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-windows-system-files.ps1 [] +/Repos/PowerShell/scripts/check-windows-system-files.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index a9efd69ca..802ef99ee 100644 --- a/docs/check-xml-file.md +++ b/docs/check-xml-file.md @@ -6,7 +6,7 @@ This PowerShell script checks the given XML file for validity. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-xml-file.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/check-xml-file.ps1 [[-path] ] [] -path Specifies the path to the XML file @@ -85,4 +85,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index d91e9efa0..47d964078 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -6,7 +6,7 @@ This PowerShell script verifies any XML file (with suffix .xml) in the given dir Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/check-xml-files.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/check-xml-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (current working dir by default) @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index 0cfc294bb..0681e906d 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -7,7 +7,7 @@ NOTE: To be used with care! This cannot be undone! Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/clean-repo.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/clean-repo.ps1 [[-path] ] [] -path Specifies the file path to the local Git repository (current working directory by default) @@ -31,7 +31,7 @@ PS> ./clean-repo.ps1 C:\Repos\rust ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Removing untracked files in repository... ⏳ (4/4) Removing untracked files in submodules... -✅ Cleaned up 📂rust repo in 2s. +✅ Cleaned up repo 📂rust in 2s. ``` @@ -60,7 +60,7 @@ Script Content ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Removing untracked files in repository... ⏳ (4/4) Removing untracked files in submodules... - ✅ Cleaned up 📂rust repo in 2s. + ✅ Cleaned up repo 📂rust in 2s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -93,7 +93,7 @@ try { if ($lastExitCode -ne "0") { throw "'git clean' in the submodules failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Cleaned up 📂$repoName repo in $($elapsed)s." + "✅ Cleaned up repo 📂$repoName in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index fb6bd96bb..9707a0a46 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -6,7 +6,7 @@ This PowerShell script cleans all Git repositories in a folder from untracked fi Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/clean-repos.ps1 [[-parentDir] ] [] +/Repos/PowerShell/scripts/clean-repos.ps1 [[-parentDir] ] [] -parentDir Specifies the path to the parent folder (current working dir by default) @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index 76d4b656c..30e59656f 100644 --- a/docs/clear-dns-cache.md +++ b/docs/clear-dns-cache.md @@ -6,7 +6,7 @@ This PowerShell script clears the DNS client cache of the local computer. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/clear-dns-cache.ps1 [] +/Repos/PowerShell/scripts/clear-dns-cache.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index 46b33343d..77710da1d 100644 --- a/docs/clear-recycle-bin.md +++ b/docs/clear-recycle-bin.md @@ -7,7 +7,7 @@ IMPORTANT NOTE: this cannot be undo! Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/clear-recycle-bin.ps1 [] +/Repos/PowerShell/scripts/clear-recycle-bin.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index d1a0a09a6..62ec9f992 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -6,7 +6,7 @@ This PowerShell script clones popular Git repositories into a common target dire Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/clone-repos.ps1 [[-targetDir] ] [] +/Repos/PowerShell/scripts/clone-repos.ps1 [[-targetDir] ] [] -targetDir Specifies the file path to the target directory (current working directory by default) @@ -118,4 +118,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index a1cfd1e4b..57244fe28 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -6,7 +6,7 @@ This PowerShell script clones popular Git repositories into a common target dire Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/clone-shallow.ps1 [[-targetDir] ] [] +/Repos/PowerShell/scripts/clone-shallow.ps1 [[-targetDir] ] [] -targetDir Specifies the file path to the target directory (current working directory by default) @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index 76d2f89fe..f048389d7 100644 --- a/docs/close-calculator.md +++ b/docs/close-calculator.md @@ -6,7 +6,7 @@ This PowerShell script closes the calculator application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-calculator.ps1 [] +/Repos/PowerShell/scripts/close-calculator.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Stop-Process -name "CalculatorApp" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index 0f14815e6..1a7f2aee1 100644 --- a/docs/close-chrome.md +++ b/docs/close-chrome.md @@ -6,7 +6,7 @@ This PowerShell script closes the Google Chrome Web browser gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-chrome.ps1 [] +/Repos/PowerShell/scripts/close-chrome.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index eed330205..db0fbe653 100644 --- a/docs/close-cortana.md +++ b/docs/close-cortana.md @@ -6,7 +6,7 @@ This PowerShell script closes Microsoft's Cortana application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-cortana.ps1 [] +/Repos/PowerShell/scripts/close-cortana.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/close-edge.md b/docs/close-edge.md index 425819532..43ae9142f 100644 --- a/docs/close-edge.md +++ b/docs/close-edge.md @@ -6,7 +6,7 @@ This PowerShell script closes the Microsoft Edge Web browser gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-edge.ps1 [] +/Repos/PowerShell/scripts/close-edge.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index f4af1e8e9..fbbd2bc5c 100644 --- a/docs/close-file-explorer.md +++ b/docs/close-file-explorer.md @@ -6,7 +6,7 @@ This PowerShell script closes the Microsoft File Explorer application gracefully Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-file-explorer.ps1 [] +/Repos/PowerShell/scripts/close-file-explorer.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index 53319a568..1d494e82d 100644 --- a/docs/close-firefox.md +++ b/docs/close-firefox.md @@ -6,7 +6,7 @@ This PowerShell script closes the Mozilla Firefox Web browser gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-firefox.ps1 [] +/Repos/PowerShell/scripts/close-firefox.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index 2e983a987..938db911e 100644 --- a/docs/close-git-extensions.md +++ b/docs/close-git-extensions.md @@ -6,7 +6,7 @@ This PowerShell script closes the Git Extensions application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-git-extensions.ps1 [] +/Repos/PowerShell/scripts/close-git-extensions.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index 8b5adbd7a..23b89dbbb 100644 --- a/docs/close-magnifier.md +++ b/docs/close-magnifier.md @@ -6,7 +6,7 @@ This PowerShell script closes the Windows Screen Magnifier application gracefull Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-magnifier.ps1 [] +/Repos/PowerShell/scripts/close-magnifier.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ tskill magnify exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 72718137a..331526ad6 100644 --- a/docs/close-microsoft-paint.md +++ b/docs/close-microsoft-paint.md @@ -6,7 +6,7 @@ This PowerShell script closes the Microsoft Paint application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-microsoft-paint.ps1 [] +/Repos/PowerShell/scripts/close-microsoft-paint.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index db0743b58..46ece0234 100644 --- a/docs/close-microsoft-store.md +++ b/docs/close-microsoft-store.md @@ -6,7 +6,7 @@ This PowerShell script closes the Microsoft Store application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-microsoft-store.ps1 [] +/Repos/PowerShell/scripts/close-microsoft-store.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index a2583b18e..4cd027700 100644 --- a/docs/close-netflix.md +++ b/docs/close-netflix.md @@ -6,7 +6,7 @@ This PowerShell script closes the Netflix application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-netflix.ps1 [] +/Repos/PowerShell/scripts/close-netflix.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index bffd21797..9d87c2a9f 100644 --- a/docs/close-notepad.md +++ b/docs/close-notepad.md @@ -6,7 +6,7 @@ This PowerShell script closes the Notepad application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-notepad.ps1 [] +/Repos/PowerShell/scripts/close-notepad.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index c5837f185..f8dac957f 100644 --- a/docs/close-obs-studio.md +++ b/docs/close-obs-studio.md @@ -6,7 +6,7 @@ This PowerShell script closes the OBS Studio application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-obs-studio.ps1 [] +/Repos/PowerShell/scripts/close-obs-studio.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index b7bdc3f6f..6668acf3d 100644 --- a/docs/close-one-calendar.md +++ b/docs/close-one-calendar.md @@ -6,7 +6,7 @@ This PowerShell script closes the OneCalendar application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-one-calendar.ps1 [] +/Repos/PowerShell/scripts/close-one-calendar.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index 0ec1c9843..be504a3b1 100644 --- a/docs/close-outlook.md +++ b/docs/close-outlook.md @@ -6,7 +6,7 @@ This PowerShell script closes the Microsoft Outlook email application gracefully Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-outlook.ps1 [] +/Repos/PowerShell/scripts/close-outlook.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index 43f6df0b9..ec830b3c2 100644 --- a/docs/close-paint-three-d.md +++ b/docs/close-paint-three-d.md @@ -6,7 +6,7 @@ This PowerShell script closes the Paint 3D application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-paint-three-d.ps1 [] +/Repos/PowerShell/scripts/close-paint-three-d.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-program.md b/docs/close-program.md index 8f79211c0..f6742f004 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -6,7 +6,7 @@ This PowerShell script closes a program's processes gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-program.ps1 [[-fullProgramName] ] [[-programName] ] [[-programAliasName] ] [] +/Repos/PowerShell/scripts/close-program.ps1 [[-fullProgramName] ] [[-programName] ] [[-programAliasName] ] [] -fullProgramName Specifies the full program name @@ -118,4 +118,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index 7e5a6dacd..c1bccf4ba 100644 --- a/docs/close-serenade.md +++ b/docs/close-serenade.md @@ -6,7 +6,7 @@ This PowerShell script closes the Serenade.ai application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-serenade.ps1 [] +/Repos/PowerShell/scripts/close-serenade.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index 50ce5fe68..0f9dc5993 100644 --- a/docs/close-snipping-tool.md +++ b/docs/close-snipping-tool.md @@ -6,7 +6,7 @@ This PowerShell script closes the Snipping Tool application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-snipping-tool.ps1 [] +/Repos/PowerShell/scripts/close-snipping-tool.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index 551014feb..81399455b 100644 --- a/docs/close-spotify.md +++ b/docs/close-spotify.md @@ -6,7 +6,7 @@ This PowerShell script closes the Spotify application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-spotify.ps1 [] +/Repos/PowerShell/scripts/close-spotify.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 205ac26df..2a8ea783d 100644 --- a/docs/close-task-manager.md +++ b/docs/close-task-manager.md @@ -6,7 +6,7 @@ This PowerShell script closes the Task Manager application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-task-manager.ps1 [] +/Repos/PowerShell/scripts/close-task-manager.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ tskill taskmgr exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index b53a0e540..206ad3cb8 100644 --- a/docs/close-three-d-viewer.md +++ b/docs/close-three-d-viewer.md @@ -6,7 +6,7 @@ This PowerShell script closes the 3D-Viewer application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-three-d-viewer.ps1 [] +/Repos/PowerShell/scripts/close-three-d-viewer.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index f9e03741c..c28521fc1 100644 --- a/docs/close-thunderbird.md +++ b/docs/close-thunderbird.md @@ -6,7 +6,7 @@ This PowerShell script closes the Mozilla Thunderbird email application graceful Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-thunderbird.ps1 [] +/Repos/PowerShell/scripts/close-thunderbird.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index 343cd297e..ff26d21c5 100644 --- a/docs/close-visual-studio.md +++ b/docs/close-visual-studio.md @@ -6,7 +6,7 @@ This PowerShell script closes the Microsoft Visual Studio application gracefully Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-visual-studio.ps1 [] +/Repos/PowerShell/scripts/close-visual-studio.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index e69c2d314..a55243984 100644 --- a/docs/close-vlc.md +++ b/docs/close-vlc.md @@ -6,7 +6,7 @@ This PowerShell script closes the VLC media player application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-vlc.ps1 [] +/Repos/PowerShell/scripts/close-vlc.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index d1e477771..e500379a3 100644 --- a/docs/close-windows-terminal.md +++ b/docs/close-windows-terminal.md @@ -6,7 +6,7 @@ This PowerShell script closes the Windows Terminal application gracefully. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/close-windows-terminal.ps1 [] +/Repos/PowerShell/scripts/close-windows-terminal.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/configure-git.md b/docs/configure-git.md index 0f0307b5b..815a7960c 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -6,7 +6,7 @@ This PowerShell script configures your Git user settings. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/configure-git.ps1 [[-fullName] ] [[-emailAddress] ] [[-favoriteEditor] ] [] +/Repos/PowerShell/scripts/configure-git.ps1 [[-fullName] ] [[-emailAddress] ] [[-favoriteEditor] ] [] -fullName Specifies the user's full name @@ -141,4 +141,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index dedc0ca8c..96211b53e 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -6,7 +6,7 @@ This PowerShell script tries to connect to the VPN. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/connect-vpn.ps1 [] +/Repos/PowerShell/scripts/connect-vpn.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index 371c2cf7d..f5c3c22b2 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -6,7 +6,7 @@ This PowerShell script converts a .CSV file into a text file and prints it. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/convert-csv2txt.ps1 [[-Path] ] [] +/Repos/PowerShell/scripts/convert-csv2txt.ps1 [[-Path] ] [] -Path Specifies the path to the .CSV file @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index d87dee16e..b66a80447 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -6,7 +6,7 @@ This PowerShell script creates a new compressed .ZIP file from a directory (incl Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/convert-dir2zip.ps1 [[-dirPath] ] [[-zipPath] ] [] +/Repos/PowerShell/scripts/convert-dir2zip.ps1 [[-dirPath] ] [[-zipPath] ] [] -dirPath Specifies the path to the directory @@ -88,4 +88,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index 179084c04..35ecd12f1 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -6,7 +6,7 @@ This PowerShell script converts .DOCX file(s) into Markdown. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/convert-docx2md.ps1 [[-FilePattern] ] [] +/Repos/PowerShell/scripts/convert-docx2md.ps1 [[-FilePattern] ] [] -FilePattern Specifies the file pattern to the .DOCX file(s) @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index 38ffb0ee9..75ccdd7d4 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index 9ac123322..fcc8272de 100644 --- a/docs/convert-image2ascii.md +++ b/docs/convert-image2ascii.md @@ -114,4 +114,4 @@ Script Content } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index 1858ac400..be75f8abc 100644 --- a/docs/convert-image2blurred-frames.md +++ b/docs/convert-image2blurred-frames.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index aaa13a79b..bd484112b 100644 --- a/docs/convert-image2pixelated-frames.md +++ b/docs/convert-image2pixelated-frames.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index 279edd308..2df1b631f 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} ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index 2a08ec685..087c9c913 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -6,7 +6,7 @@ This PowerShell script converts Markdown file(s) into HTML. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/convert-md2html.ps1 [[-FilePattern] ] [] +/Repos/PowerShell/scripts/convert-md2html.ps1 [[-FilePattern] ] [] -FilePattern Specifies the file pattern to the Markdown file(s) @@ -80,4 +80,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index d75b293b1..ef5e6a8ed 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} ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index e858703b5..d57927654 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -6,7 +6,7 @@ This PowerShell script converts a MySQL database table to a .CSV file. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/convert-mysql2csv.ps1 [[-server] ] [[-database] ] [[-username] ] [[-password] ] [[-query] ] [] +/Repos/PowerShell/scripts/convert-mysql2csv.ps1 [[-server] ] [[-database] ] [[-username] ] [[-password] ] [[-query] ] [] -server Specifies the server's hostname or IP address @@ -119,4 +119,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index 65473ed67..33a0ebad6 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -6,7 +6,7 @@ This PowerShell script converts one or more PowerShell scripts to .bat batch fil Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/convert-ps2bat.ps1 [[-Filepattern] ] [] +/Repos/PowerShell/scripts/convert-ps2bat.ps1 [[-Filepattern] ] [] -Filepattern Specifies the file pattern @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index e114b6b9f..78a28fe1d 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -6,7 +6,7 @@ This PowerShell script converts the comment-based help of a PowerShell script to Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/convert-ps2md.ps1 [[-filename] ] [] +/Repos/PowerShell/scripts/convert-ps2md.ps1 [[-filename] ] [] -filename Specifies the path to the PowerShell script @@ -178,11 +178,11 @@ try { "``````" "" $now = [datetime]::Now - "*(generated by convert-ps2md.ps1 as of $now)*" + "*(page generated by convert-ps2md.ps1 as of $now)*" } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index 928c0d625..139a49ade 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -6,7 +6,7 @@ This PowerShell script converts a SQL database table to a .CSV file. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/convert-sql2csv.ps1 [[-server] ] [[-database] ] [[-username] ] [[-password] ] [[-query] ] [] +/Repos/PowerShell/scripts/convert-sql2csv.ps1 [[-server] ] [[-database] ] [[-username] ] [[-password] ] [[-query] ] [] -server Specifies the server's hostname or IP address @@ -120,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index cae30c3af..e3bca8c51 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -6,7 +6,7 @@ This PowerShell script converts text to a .WAV audio file. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/convert-txt2wav.ps1 [[-Text] ] [[-WavFile] ] [] +/Repos/PowerShell/scripts/convert-txt2wav.ps1 [[-Text] ] [[-WavFile] ] [] -Text Specifies the text to use @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index 125033dfb..2d4533795 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -29,7 +29,7 @@ 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 (0 skipped) to 📂C:\MyPhotos in 41s. + ✅ Copied 1 photo to 📂C:\MyPhotos (0 skipped) in 41s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -107,7 +107,7 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds [int]$copied = $files.Count - $skipped - "✅ Copied $copied photos ($skipped skipped) to 📂$targetDir in $($elapsed)s." + "✅ Copied $copied photos to 📂$targetDir ($skipped skipped) in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -115,4 +115,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/count-characters.md b/docs/count-characters.md index cde176dcb..f01146e89 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -6,7 +6,7 @@ This PowerShell script counts the number of characters in the given string. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/count-characters.ps1 [[-givenString] ] [] +/Repos/PowerShell/scripts/count-characters.ps1 [[-givenString] ] [] -givenString Specifies the given string. @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/count-lines.md b/docs/count-lines.md index 5780f331a..ed2557414 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -6,7 +6,7 @@ This PowerShell script counts the number of lines in text files (.txt/.md/.c/.h/ Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/count-lines.ps1 [[-pathToDirTree] ] [] +/Repos/PowerShell/scripts/count-lines.ps1 [[-pathToDirTree] ] [] -pathToDirTree Specifies the path to the directory tree. @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index 84f49f1fc..488590d9b 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -6,7 +6,7 @@ This PowerShell script decrypts a file using the given password and AES encrypti Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/decrypt-file.ps1 [[-Path] ] [[-Password] ] [] +/Repos/PowerShell/scripts/decrypt-file.ps1 [[-Path] ] [[-Password] ] [] -Path Specifies the path to the file to decrypt @@ -197,4 +197,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index 0b8a0b0ba..d1ed28172 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -6,7 +6,7 @@ This PowerShell script disables IPv6 on all network interfaces of the local comp Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/disable-ipv6.ps1 [] +/Repos/PowerShell/scripts/disable-ipv6.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index dddce2f55..74ab743b3 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -6,7 +6,7 @@ This PowerShell script disconnects the active VPN connection. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/disconnect-vpn.ps1 [] +/Repos/PowerShell/scripts/disconnect-vpn.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/download-dir.md b/docs/download-dir.md index 29cafa309..4dd820c19 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -6,7 +6,7 @@ This PowerShell script downloads a folder (including subfolders) from the given Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/download-dir.ps1 [[-URL] ] [] +/Repos/PowerShell/scripts/download-dir.ps1 [[-URL] ] [] -URL Specifies the URL where to download from @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/download-file.md b/docs/download-file.md index c0be539d7..cf897ca35 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -6,7 +6,7 @@ This PowerShell script downloads a file from the given URL Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/download-file.ps1 [[-URL] ] [] +/Repos/PowerShell/scripts/download-file.ps1 [[-URL] ] [] -URL Specifies the URL where to download from @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/edit.md b/docs/edit.md index 05dc9f0b1..d67f7cfcf 100644 --- a/docs/edit.md +++ b/docs/edit.md @@ -6,7 +6,7 @@ This PowerShell script opens a text editor with the given text file. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/edit.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/edit.ps1 [[-path] ] [] -path Specifies the path to the text file (will be queried if none given) @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 0c0394d8a..e3f50f790 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -6,7 +6,7 @@ This PowerShell script enables the writing of crash dumps. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/enable-crash-dumps.ps1 [] +/Repos/PowerShell/scripts/enable-crash-dumps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -330,4 +330,4 @@ Else exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index b2f84485a..14f5612c9 100644 --- a/docs/enable-god-mode.md +++ b/docs/enable-god-mode.md @@ -6,7 +6,7 @@ This PowerShell script enables the god mode in Windows. It adds a new icon to th Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/enable-god-mode.ps1 [] +/Repos/PowerShell/scripts/enable-god-mode.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./enable-god-mode.ps1 -✔ God mode enabled, please click the new desktop icon +✔ God mode enabled - just double-click the new desktop icon. ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script enables the god mode in Windows. It adds a new icon to the desktop. .EXAMPLE PS> ./enable-god-mode.ps1 - ✔ God mode enabled, please click the new desktop icon + ✔ God mode enabled - just double-click the new desktop icon. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -53,7 +53,7 @@ try { ItemType = 'Directory' } $null = New-Item @GodModeSplat - "✅ God mode enabled, please click the new desktop icon" + "✅ God mode enabled - just double-click the new desktop icon." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index 95a6ded56..0a868e75a 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -6,7 +6,7 @@ This PowerShell script enables IPv6 on all network interfaces of the local compu Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/enable-ipv6.ps1 [] +/Repos/PowerShell/scripts/enable-ipv6.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index a64e868eb..2fca97cc8 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -6,7 +6,7 @@ This PowerShell script encrypts a file using the given password and AES encrypti Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/encrypt-file.ps1 [[-Path] ] [[-Password] ] [] +/Repos/PowerShell/scripts/encrypt-file.ps1 [[-Path] ] [[-Password] ] [] -Path Specifies the path to the file to encrypt @@ -182,4 +182,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index acf4fdb1a..c6d86cb96 100644 --- a/docs/enter-chat.md +++ b/docs/enter-chat.md @@ -6,7 +6,7 @@ This PowerShell script enters a chat using a common network shared file. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/enter-chat.ps1 [] +/Repos/PowerShell/scripts/enter-chat.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -125,4 +125,4 @@ function Get-ChatChannel } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/enter-host.md b/docs/enter-host.md index 2df615080..bdd59c0eb 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -6,7 +6,7 @@ This PowerShell script logs into a remote host via secure shell (SSH). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/enter-host.ps1 [[-remoteHost] ] [] +/Repos/PowerShell/scripts/enter-host.ps1 [[-remoteHost] ] [] -remoteHost Specifies the remote hostname or IP address @@ -94,4 +94,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index affeb9a19..c87b7b546 100644 --- a/docs/export-to-manuals.md +++ b/docs/export-to-manuals.md @@ -6,7 +6,7 @@ This PowerShell script exports the comment-based help of all PowerShell scripts Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/export-to-manuals.ps1 [[-filePattern] ] [[-targetDir] ] [] +/Repos/PowerShell/scripts/export-to-manuals.ps1 [[-filePattern] ] [[-targetDir] ] [] -filePattern @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index 4b6302a0a..a5a4b20a3 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -6,7 +6,7 @@ This PowerShell script fetches remote updates into a local Git repository (inclu Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/fetch-repo.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/fetch-repo.ps1 [[-path] ] [] -path Specifies the file path to the local Git repository (default is working directory). @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index b974a7d1c..4beebb54e 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -6,7 +6,7 @@ This PowerShell script fetches updates into all Git repositories in a folder (in Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/fetch-repos.ps1 [[-parentDirPath] ] [] +/Repos/PowerShell/scripts/fetch-repos.ps1 [[-parentDirPath] ] [] -parentDirPath Specifies the path to the parent folder @@ -90,7 +90,7 @@ try { $step++ } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Fetched into $numFolders repos under 📂$parentDirPathName in $($elapsed)s." + "✅ Fetched into $numFolders repos at 📂$parentDirPath in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index d16ceb1ca..2c3b77362 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -6,7 +6,7 @@ Download and install latest firefox Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/firefox-installer.ps1 [] +/Repos/PowerShell/scripts/firefox-installer.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 9863538c2..3138e807e 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -2,14 +2,15 @@ The *get-md5.ps1* Script =========================== This PowerShell script calculates and prints the MD5 checksum of the given file. +NOTE: MD5 is no longer considered secure, use it for simple change validation only! Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/get-md5.ps1 [[-file] ] [] +/Repos/PowerShell/scripts/get-md5.ps1 [[-path] ] [] --file - Specifies the path to the file +-path + Specifies the file path to the file Required? false Position? 1 @@ -25,7 +26,7 @@ Parameters Example ------- ```powershell -PS> ./get-md5 C:\MyFile.txt +PS> ./get-md5.ps1 C:\MyFile.txt ✅ MD5 hash is 041E16F16E60AD250EB794AF0681BD4A ``` @@ -46,10 +47,11 @@ Script Content Prints the MD5 checksum of a file .DESCRIPTION This PowerShell script calculates and prints the MD5 checksum of the given file. -.PARAMETER file - Specifies the path to the file + NOTE: MD5 is no longer considered secure, use it for simple change validation only! +.PARAMETER path + Specifies the file path to the file .EXAMPLE - PS> ./get-md5 C:\MyFile.txt + PS> ./get-md5.ps1 C:\MyFile.txt ✅ MD5 hash is 041E16F16E60AD250EB794AF0681BD4A .LINK https://github.com/fleschutz/PowerShell @@ -57,19 +59,20 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -param([string]$file = "") +param([string]$path = "") try { - if ($file -eq "" ) { $file = Read-Host "Enter path to file" } + if ($path -eq "" ) { $path = Read-Host "Enter the file path" } + if (-not(Test-Path $path -pathType leaf)) { throw "Invalid file path given: $path" } - $Result = Get-Filehash $file -algorithm MD5 + $result = Get-FileHash -path $path -algorithm MD5 - "✅ MD5 hash is $($Result.Hash)" + "✅ MD5 hash is $($result.Hash)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index 5f3484de7..249bbf1fa 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -2,14 +2,15 @@ The *get-sha1.ps1* Script =========================== This PowerShell script calculates and prints the SHA1 checksum of the given file. +NOTE: SHA1 is no longer considered secure, use it for simple change validation only! Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/get-sha1.ps1 [[-file] ] [] +/Repos/PowerShell/scripts/get-sha1.ps1 [[-path] ] [] --file - Specifies the path to the file +-path + Specifies the local file path to the file Required? false Position? 1 @@ -25,7 +26,7 @@ Parameters Example ------- ```powershell -PS> ./get-sha1 C:\MyFile.txt +PS> ./get-sha1.ps1 C:\MyFile.txt ✅ SHA1 hash is 8105D424D350E308AED92BD9DDEB74A1B53C5D7C ``` @@ -43,13 +44,14 @@ Script Content ```powershell <# .SYNOPSIS - Prints the SHA1 checksum of a file + Prints the SHA1 hash of a file .DESCRIPTION This PowerShell script calculates and prints the SHA1 checksum of the given file. -.PARAMETER file - Specifies the path to the file + NOTE: SHA1 is no longer considered secure, use it for simple change validation only! +.PARAMETER path + Specifies the local file path to the file .EXAMPLE - PS> ./get-sha1 C:\MyFile.txt + PS> ./get-sha1.ps1 C:\MyFile.txt ✅ SHA1 hash is 8105D424D350E308AED92BD9DDEB74A1B53C5D7C .LINK https://github.com/fleschutz/PowerShell @@ -57,19 +59,20 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -param([string]$file = "") +param([string]$path = "") try { - if ($file -eq "" ) { $file = Read-Host "Enter the filename" } + if ($path -eq "" ) { $path = Read-Host "Enter the file path" } + if (-not(Test-Path $path -pathType leaf)) { throw "Invalid file path given: $path" } - $Result = get-filehash $file -algorithm SHA1 + $result = Get-FileHash -path $path -algorithm SHA1 - "✅ SHA1 hash is $($Result.Hash)" + "✅ SHA1 hash is $($result.Hash)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index 2dd93bff4..c5b3fc46d 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -6,10 +6,10 @@ This PowerShell script calculates and prints the SHA256 checksum of the given fi Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/get-sha256.ps1 [[-file] ] [] +/Repos/PowerShell/scripts/get-sha256.ps1 [[-path] ] [] --file - Specifies the path to the file +-path + Specifies the local file path to the file Required? false Position? 1 @@ -25,8 +25,8 @@ Parameters Example ------- ```powershell -PS> ./get-sha256 C:\MyFile.txt -✅ SHA256 hash is: CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E +PS> ./get-sha256.ps1 C:\MyFile.txt +✅ SHA256 hash is CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E ``` @@ -43,33 +43,34 @@ Script Content ```powershell <# .SYNOPSIS - Prints the SHA256 checksum of a file + Prints the SHA256 hash of a file .DESCRIPTION This PowerShell script calculates and prints the SHA256 checksum of the given file. -.PARAMETER file - Specifies the path to the file +.PARAMETER path + Specifies the local file path to the file .EXAMPLE - PS> ./get-sha256 C:\MyFile.txt - ✅ SHA256 hash is: CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E + PS> ./get-sha256.ps1 C:\MyFile.txt + ✅ SHA256 hash is CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$file = "") +param([string]$path = "") try { - if ($file -eq "" ) { $file = Read-Host "Enter the filename" } + if ($path -eq "" ) { $path = Read-Host "Enter the file path" } + if (-not(Test-Path $path -pathType leaf)) { throw "Invalid file path given: $path" } - $Result = get-filehash $file -algorithm SHA256 + $result = Get-FileHash -path $path -algorithm SHA256 - "✅ SHA256 hash is: $($Result.Hash)" + "✅ SHA256 hash is $($result.Hash)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/get-sha512.md b/docs/get-sha512.md new file mode 100644 index 000000000..5ff76ea12 --- /dev/null +++ b/docs/get-sha512.md @@ -0,0 +1,76 @@ +The *get-sha512.ps1* Script +=========================== + +This PowerShell script calculates and prints the SHA512 checksum of the given file. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/get-sha512.ps1 [[-path] ] [] + +-path + Specifies the local file path to the file + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./get-sha512.ps1 C:\MyFile.txt +✅ SHA512 hash is CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Prints the SHA512 hash of a file +.DESCRIPTION + This PowerShell script calculates and prints the SHA512 checksum of the given file. +.PARAMETER path + Specifies the local file path to the file +.EXAMPLE + PS> ./get-sha512.ps1 C:\MyFile.txt + ✅ SHA512 hash is CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$path = "") + +try { + if ($path -eq "" ) { $path = Read-Host "Enter the file path" } + if (-not(Test-Path $path -pathType leaf)) { throw "Invalid file path given: $path" } + + $result = Get-FileHash -path $path -algorithm SHA512 + + "✅ SHA512 hash is $($result.Hash)" + exit 0 # success +} catch { + "⚠️ Error: $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/hello-world.md b/docs/hello-world.md index b55008116..d5858072b 100644 --- a/docs/hello-world.md +++ b/docs/hello-world.md @@ -6,7 +6,7 @@ This PowerShell script is a sample script writing "Hello World" to the console. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/hello-world.ps1 [] +/Repos/PowerShell/scripts/hello-world.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Write-Output "Hello World" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 9f9256321..aaa5a362c 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -6,7 +6,7 @@ This PowerShell script hibernates the local computer immediately. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/hibernate.ps1 [] +/Repos/PowerShell/scripts/hibernate.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/import-vm.md b/docs/import-vm.md index c8680b71d..e2d6dc593 100644 --- a/docs/import-vm.md +++ b/docs/import-vm.md @@ -23,4 +23,4 @@ Start-VM $VMName exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index 23fe5d6d1..3ea131ce9 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -6,7 +6,7 @@ This PowerShell script prints basic information of an executable file. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/inspect-exe.ps1 [[-PathToExe] ] [] +/Repos/PowerShell/scripts/inspect-exe.ps1 [[-PathToExe] ] [] -PathToExe Specifies the path to the executable file @@ -68,4 +68,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index ff46d96fe..117e48fb5 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -6,7 +6,7 @@ This PowerShell script installs Audacity. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-audacity.ps1 [] +/Repos/PowerShell/scripts/install-audacity.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index 662f00cb3..88472ab43 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -7,7 +7,7 @@ NOTE: Apps from Microsoft Store are preferred (due to security and automatic upd Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-basic-apps.ps1 [] +/Repos/PowerShell/scripts/install-basic-apps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 2c2c9fef6..120d7de5a 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -6,7 +6,7 @@ This PowerShell script installs 18 basic Linux snaps. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-basic-snaps.ps1 [] +/Repos/PowerShell/scripts/install-basic-snaps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index 4dfe812df..52839ba1f 100644 --- a/docs/install-calibre-server.md +++ b/docs/install-calibre-server.md @@ -6,7 +6,7 @@ This PowerShell script installs and starts a local Calibre server as background Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-calibre-server.ps1 [[-port] ] [[-mediaFolder] ] [[-userDB] ] [[-logfile] ] [] +/Repos/PowerShell/scripts/install-calibre-server.ps1 [[-port] ] [[-mediaFolder] ] [[-userDB] ] [[-logfile] ] [] -port Specifies the Web port number (8099 by default) @@ -18,26 +18,29 @@ Parameters Accept wildcard characters? false -mediaFolder + Specifies the file path to the media ('/opt/Calibre Library' by default) Required? false Position? 2 - Default value "$HOME/Calibre Library" + Default value /opt/Calibre Library Accept pipeline input? false Accept wildcard characters? false -userDB + Specifies the file path to the user database ('/opt/CalibreUsers.sqlite' by default) Required? false Position? 3 - Default value "$HOME/CalibreUsers.sqlite" + Default value /opt/CalibreUsers.sqlite Accept pipeline input? false Accept wildcard characters? false -logfile + Specifies the file path to the log file ('/opt/CalibreServer.log' by default) Required? false Position? 4 - Default value "$HOME/CalibreServer.log" + Default value /opt/CalibreServer.log Accept pipeline input? false Accept wildcard characters? false @@ -73,6 +76,12 @@ Script Content This PowerShell script installs and starts a local Calibre server as background process. .PARAMETER port Specifies the Web port number (8099 by default) +.PARAMETER mediaFolder + Specifies the file path to the media ('/opt/Calibre Library' by default) +.PARAMETER userDB + Specifies the file path to the user database ('/opt/CalibreUsers.sqlite' by default) +.PARAMETER logfile + Specifies the file path to the log file ('/opt/CalibreServer.log' by default) .EXAMPLE PS> ./install-calibre-server.ps1 ⏳ (1/5) Updating package infos... @@ -85,38 +94,39 @@ Script Content #Requires -RunAsAdministrator -param([int]$port = 8099, [string]$mediaFolder = "$HOME/Calibre Library", [string]$userDB = "$HOME/CalibreUsers.sqlite", [string]$logfile = "$HOME/CalibreServer.log") +param([int]$port = 8099, [string]$mediaFolder = "/opt/Calibre Library", [string]$userDB = "/opt/CalibreUsers.sqlite", [string]$logfile = "/opt/CalibreServer.log") try { if (-not $IsLinux) { throw "Sorry, currently only supported on Linux" } $stopWatch = [system.diagnostics.stopwatch]::startNew() - "⏳ (1/5) Updating package infos..." + "`n⏳ (1/5) Updating package infos..." & sudo apt update -y if ($lastExitCode -ne "0") { throw "'apt update' failed" } - "⏳ (2/5) Installing Calibre package..." + "`n⏳ (2/5) Installing Calibre package..." & sudo apt install calibre -y if ($lastExitCode -ne "0") { throw "'apt install calibre' failed" } - Write-Host "⏳ (3/5) Searching for Calibre server executable... " -noNewline + "`n⏳ (3/5) Searching for Calibre server executable..." & calibre-server --version if ($lastExitCode -ne "0") { throw "Can't execute 'calibre-server' - make sure Calibre server is installed and available" } - "⏳ (4/5) Creating media folder at: $mediaFolder ... (if non-existent)" - mkdir $mediaFolder + "`n⏳ (4/5) Creating media folder at: $mediaFolder ... (if non-existent)" + & mkdir $mediaFolder - "⏳ (5/5) Starting Calibre server as background process..." - & calibre-server --port $port --num-per-page 100 --userdb $userDB --log $logfile --daemonize $HOME/'Calibre Library' + "`n⏳ (5/5) Starting Calibre server as background process..." + & sudo calibre-server --port $port --num-per-page 100 --userdb $userDB --log $logfile --daemonize $mediaFolder [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Installed Calibre server on port $port in $($elapsed)s (media at: $mediaFolder, user DB: $userDB, log to: $logfile)" + "✅ Installed and started Calibre server on port $port in $($elapsed)s." + " (media at: $mediaFolder, user DB: $userDB, logging to: $logfile)" exit 0 # success } catch { -"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" -exit 1 + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index fc797d151..7621a6468 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -6,7 +6,7 @@ This PowerShell script installs Chocolatey onto the local computer (needs admin Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-chocolatey.ps1 [] +/Repos/PowerShell/scripts/install-chocolatey.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index ebc28e3d9..a61c7afab 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -6,7 +6,7 @@ This PowerShell script installs the Google Chrome browser. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-chrome.ps1 [] +/Repos/PowerShell/scripts/install-chrome.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index 8438ea42e..6c261e2b0 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -6,7 +6,7 @@ This PowerShell script installs CrystalDiskInfo from the Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-crystal-disk-info.ps1 [] +/Repos/PowerShell/scripts/install-crystal-disk-info.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index 67ab8e00b..c46e09049 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -6,7 +6,7 @@ This PowerShell script installs CrystalDiskMark from the Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-crystal-disk-mark.ps1 [] +/Repos/PowerShell/scripts/install-crystal-disk-mark.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-discord.md b/docs/install-discord.md index 07bc7eb1e..73a8a6dbf 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -6,7 +6,7 @@ This PowerShell script installs Discord from the Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-discord.ps1 [] +/Repos/PowerShell/scripts/install-discord.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-edge.md b/docs/install-edge.md index 3b1cfe55d..60dfcb964 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -6,7 +6,7 @@ This PowerShell script installs the Microsoft Edge Browser from the Microsoft St Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-edge.ps1 [] +/Repos/PowerShell/scripts/install-edge.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index cf07a940b..76acee67e 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -6,7 +6,7 @@ This PowerShell script installs evcc. Sevcc is an extensible EV Charge Controlle Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-evcc.ps1 [] +/Repos/PowerShell/scripts/install-evcc.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index 704c9a0ac..9dfc74a55 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -6,7 +6,7 @@ This PowerShell script installs Mozilla Firefox from the Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-firefox.ps1 [] +/Repos/PowerShell/scripts/install-firefox.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index 37919abcb..8160cc886 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -6,7 +6,7 @@ This PowerShell script installs Git Extensions. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-git-extensions.ps1 [] +/Repos/PowerShell/scripts/install-git-extensions.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index a74579e73..a5b6364ba 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -6,7 +6,7 @@ This PowerShell script installs Git for Windows. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-git-for-windows.ps1 [] +/Repos/PowerShell/scripts/install-git-for-windows.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index e031fc839..51b436d9e 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -6,7 +6,7 @@ This PowerShell script installs the GitHub command-line interface (CLI). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-github-cli.ps1 [] +/Repos/PowerShell/scripts/install-github-cli.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index b649cd144..36823702c 100644 --- a/docs/install-gitlab.md +++ b/docs/install-gitlab.md @@ -31,4 +31,4 @@ Script Content ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index 698c95c56..4ecd7bbcb 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -6,7 +6,7 @@ This PowerShell script installs IrfanView from the Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-irfanview.ps1 [] +/Repos/PowerShell/scripts/install-irfanview.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-jenkins-agent.md b/docs/install-jenkins-agent.md new file mode 100644 index 000000000..76baa10e3 --- /dev/null +++ b/docs/install-jenkins-agent.md @@ -0,0 +1,94 @@ +The *install-jenkins-agent.ps1* Script +=========================== + +This PowerShell script installs and starts the Jenkins Agent. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/install-jenkins-agent.ps1 [[-installDir] ] [[-jenkinsURL] ] [[-secretKey] ] [] + +-installDir + + Required? false + Position? 1 + Default value /opt/jenkins-agent + Accept pipeline input? false + Accept wildcard characters? false + +-jenkinsURL + + Required? false + Position? 2 + Default value http://tux:8080 + Accept pipeline input? false + Accept wildcard characters? false + +-secretKey + + Required? false + Position? 3 + Default value + Accept pipeline input? false + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./install-jenkins-agent.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Installs the Jenkins Agent +.DESCRIPTION + This PowerShell script installs and starts the Jenkins Agent. +.EXAMPLE + PS> ./install-jenkins-agent.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$installDir = "/opt/jenkins-agent", [string]$jenkinsURL = "http://tux:8080", [string]$secretKey = "") + +try { + "`n⏳ (1/4) Installing Java Runtime Environment (JRE)..." + & sudo apt install default-jre + + "`n⏳ (2/4) Creating installation folder at: $installDir ... (if non-existent)" + & mkdir $installDir + & cd $installDir + + "`n⏳ (3/4) Loading current .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 + + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index a04554bac..365215098 100644 --- a/docs/install-knot-resolver.md +++ b/docs/install-knot-resolver.md @@ -6,7 +6,7 @@ This PowerShell script installs Knot Resolver. Knot Resolver is a DNS resolver d Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-knot-resolver.ps1 [] +/Repos/PowerShell/scripts/install-knot-resolver.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index e1f04b503..0418bc86c 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -6,7 +6,7 @@ This PowerShell script installs Microsoft Teams from the Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-microsoft-teams.ps1 [] +/Repos/PowerShell/scripts/install-microsoft-teams.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index 32c08a43e..0e567b6be 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -6,7 +6,7 @@ This PowerShell script installs Netflix from the Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-netflix.ps1 [] +/Repos/PowerShell/scripts/install-netflix.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index a6f7afa70..7b33d4b6a 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -6,7 +6,7 @@ This PowerShell script installs OBS Studio (admin rights are needed). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-obs-studio.ps1 [] +/Repos/PowerShell/scripts/install-obs-studio.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index 82faa6dd9..3720645b7 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -32,4 +32,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index e6bfc601b..5db799158 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -6,7 +6,7 @@ This PowerShell script installs One Calendar from the Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-one-calendar.ps1 [] +/Repos/PowerShell/scripts/install-one-calendar.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index 468adc8c1..ebff68338 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -6,7 +6,7 @@ This PowerShell script installs Opera Browser from Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-opera-browser.ps1 [] +/Repos/PowerShell/scripts/install-opera-browser.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index 959434fe8..7833e1787 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -6,7 +6,7 @@ This PowerShell script installs Opera GX from Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-opera-gx.ps1 [] +/Repos/PowerShell/scripts/install-opera-gx.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index e1786bb80..6884ed373 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -6,7 +6,7 @@ This PowerShell script installs Paint 3D from the Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-paint-3d.ps1 [] +/Repos/PowerShell/scripts/install-paint-3d.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index 87e4ceb3a..f24572cfa 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -6,7 +6,7 @@ This PowerShell script installs the Microsoft Powertoys. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-power-toys.ps1 [] +/Repos/PowerShell/scripts/install-power-toys.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index c7b9a53d8..d2a7c05d6 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -7,9 +7,9 @@ If '-Daily' is specified, then the latest PowerShell daily package will be insta Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-powershell.ps1 [-Destination ] [-Daily] [-DoNotOverwrite] [-AddToPath] [-Preview] [] +/Repos/PowerShell/scripts/install-powershell.ps1 [-Destination ] [-Daily] [-DoNotOverwrite] [-AddToPath] [-Preview] [] -/home/markus/Repos/PowerShell/scripts/install-powershell.ps1 [-UseMSI] [-Quiet] [-AddExplorerContextMenu] [-EnablePSRemoting] [-Preview] [] +/Repos/PowerShell/scripts/install-powershell.ps1 [-UseMSI] [-Quiet] [-AddExplorerContextMenu] [-EnablePSRemoting] [-Preview] [] -Destination The destination path to install PowerShell to. @@ -651,4 +651,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index c119e5f81..a8bbba168 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -6,7 +6,7 @@ This PowerShell script installs Rufus from the Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-rufus.ps1 [] +/Repos/PowerShell/scripts/install-rufus.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index 7611fb7bc..b8d62295a 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -6,7 +6,7 @@ This PowerShell script downloads and installs the Salesforce CLI on Windows. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-salesforce-cli.ps1 [] +/Repos/PowerShell/scripts/install-salesforce-cli.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index 182069000..ab0e61554 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -7,7 +7,7 @@ See the Web page for the correct version number. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-signal-cli.ps1 [[-Version] ] [] +/Repos/PowerShell/scripts/install-signal-cli.ps1 [[-Version] ] [] -Version Specifies the version to install @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-skype.md b/docs/install-skype.md index 4c41ccfd4..e641f27e9 100644 --- a/docs/install-skype.md +++ b/docs/install-skype.md @@ -6,7 +6,7 @@ This PowerShell script installs Skype from the Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-skype.ps1 [] +/Repos/PowerShell/scripts/install-skype.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index fe577d642..27666745b 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -6,7 +6,7 @@ This PowerShell script installs Spotify from the Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-spotify.ps1 [] +/Repos/PowerShell/scripts/install-spotify.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index 53cb0bd16..ef1dfdaa3 100644 --- a/docs/install-ssh-client.md +++ b/docs/install-ssh-client.md @@ -6,7 +6,7 @@ This PowerShell script installs a SSH client (needs admin rights). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-ssh-client.ps1 [] +/Repos/PowerShell/scripts/install-ssh-client.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index d4244c9d0..3b5b73de6 100644 --- a/docs/install-ssh-server.md +++ b/docs/install-ssh-server.md @@ -6,7 +6,7 @@ This PowerShell script installs a SSH server (needs admin rights). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-ssh-server.ps1 [] +/Repos/PowerShell/scripts/install-ssh-server.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index a70ad5df5..50b63daa0 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -6,7 +6,7 @@ This PowerShell script installs Mozilla Thunderbird. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-thunderbird.ps1 [] +/Repos/PowerShell/scripts/install-thunderbird.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-twitter.md b/docs/install-twitter.md index 0da78ceb0..a16b401b7 100644 --- a/docs/install-twitter.md +++ b/docs/install-twitter.md @@ -6,7 +6,7 @@ This PowerShell script installs Twitter from the Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-twitter.ps1 [] +/Repos/PowerShell/scripts/install-twitter.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index 7117d205a..f378d4a71 100644 --- a/docs/install-unbound-server.md +++ b/docs/install-unbound-server.md @@ -6,7 +6,7 @@ This PowerShell script installs Unbound, a validating, recursive, caching DNS re Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-unbound-server.ps1 [] +/Repos/PowerShell/scripts/install-unbound-server.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -99,4 +99,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-updates.md b/docs/install-updates.md index 317b75ae4..1dee659a0 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -2,12 +2,12 @@ The *install-updates.ps1* Script =========================== This PowerShell script installs software updates for the local machine (might need admin rights). -NOTE: Use the script 'list-updates.ps1' to list the latest software updates before. +HINT: Use the script 'list-updates.ps1' to list the latest software updates in advance. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-updates.ps1 [] +/Repos/PowerShell/scripts/install-updates.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -18,7 +18,7 @@ Example ------- ```powershell PS> ./install-updates.ps1 -⏳ (1/2) Checking requirements... +⏳ (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 @@ -46,10 +46,10 @@ Script Content Installs software updates .DESCRIPTION This PowerShell script installs software updates for the local machine (might need admin rights). - NOTE: Use the script 'list-updates.ps1' to list the latest software updates before. + HINT: Use the script 'list-updates.ps1' to list the latest software updates in advance. .EXAMPLE PS> ./install-updates.ps1 - ⏳ (1/2) Checking requirements... + ⏳ (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 @@ -66,7 +66,7 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() if ($IsLinux) { - "⏳ (1/5) Checking requirements..." + "⏳ (1/5) Checking update requirements..." & "$PSScriptRoot/check-smart-devices.ps1" & "$PSScriptRoot/check-drive-space.ps1" / & "$PSScriptRoot/check-swap-space.ps1" @@ -90,16 +90,17 @@ try { Write-Progress -completed " " } else { # Windows: - "⏳ (1/2) Checking requirements..." + "⏳ (1/2) Checking update requirements..." & "$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/2) Installing updates from winget and Microsoft Store..." + "⏳ (2/2) Installing updates from winget..." "" - & winget upgrade --all --include-unknown + & winget upgrade --all --source=winget + # & winget upgrade --all --source=msstore # does not work } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Updates installed in $($elapsed)s." @@ -110,4 +111,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index c0abdb400..91a03a799 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -6,7 +6,7 @@ This PowerShell script installs Visual Studio Code. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-visual-studio-code.ps1 [] +/Repos/PowerShell/scripts/install-visual-studio-code.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index f5a74a0ff..f4eafaaf7 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -6,7 +6,7 @@ This PowerShell script installs the Vivaldi browser. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-vivaldi.ps1 [] +/Repos/PowerShell/scripts/install-vivaldi.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index 73e689f10..15a23afa0 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -6,7 +6,7 @@ This PowerShell script installs the VLC media player. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-vlc.ps1 [] +/Repos/PowerShell/scripts/install-vlc.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index a364622dc..9556d1115 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -6,7 +6,7 @@ This PowerShell script installs Windows Terminal from the Microsoft Store. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-windows-terminal.ps1 [] +/Repos/PowerShell/scripts/install-windows-terminal.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index 34f43dfe5..52ada9402 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -6,7 +6,7 @@ This PowerShell script installs Windows Subsystem for Linux. It needs admin righ Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-wsl.ps1 [] +/Repos/PowerShell/scripts/install-wsl.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index cc24995bc..7f1ff4994 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -6,7 +6,7 @@ This PowerShell script installs Zoom. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/install-zoom.ps1 [] +/Repos/PowerShell/scripts/install-zoom.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index f5987c680..86ced88d7 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -6,7 +6,7 @@ This PowerShell script introduces PowerShell to new users and gives an overview Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/introduce-powershell.ps1 [] +/Repos/PowerShell/scripts/introduce-powershell.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index 28db595d8..b02f3286d 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -6,7 +6,7 @@ This PowerShell scripts lists all PowerShell aliases. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-aliases.ps1 [] +/Repos/PowerShell/scripts/list-aliases.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index c2283e306..d71367394 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -6,7 +6,7 @@ This PowerShell script lists all anagrams of the given word. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-anagrams.ps1 [[-Word] ] [[-Columns] ] [] +/Repos/PowerShell/scripts/list-anagrams.ps1 [[-Word] ] [[-Columns] ] [] -Word Specifies the word to use @@ -120,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-apps.md b/docs/list-apps.md index 18d00b9de..6446ab581 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -6,7 +6,7 @@ This PowerShell script lists the installed applications (from Windows Store, or Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-apps.ps1 [] +/Repos/PowerShell/scripts/list-apps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index 5986de04e..0275f94f3 100644 --- a/docs/list-ascii-table.md +++ b/docs/list-ascii-table.md @@ -6,7 +6,7 @@ This PowerShell script lists the ASCII table on the console. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-ascii-table.ps1 [] +/Repos/PowerShell/scripts/list-ascii-table.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -120,4 +120,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index 2b0cf98ec..12c3b9a4c 100644 --- a/docs/list-automatic-variables.md +++ b/docs/list-automatic-variables.md @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index 071634b0d..bf2b8dd9d 100644 --- a/docs/list-battery-status.md +++ b/docs/list-battery-status.md @@ -6,7 +6,7 @@ This PowerShell script lists the battery status. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-battery-status.ps1 [] +/Repos/PowerShell/scripts/list-battery-status.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-bios.md b/docs/list-bios.md index d89d04a7b..a209a3ee1 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -6,7 +6,7 @@ This PowerShell script lists the BIOS details. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-bios.ps1 [] +/Repos/PowerShell/scripts/list-bios.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 18b227540..2d8e264a4 100644 --- a/docs/list-bluetooth-devices.md +++ b/docs/list-bluetooth-devices.md @@ -6,7 +6,7 @@ This PowerShell script lists all Bluetooth devices connected to the local comput Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-bluetooth-devices.ps1 [] +/Repos/PowerShell/scripts/list-bluetooth-devices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-branches.md b/docs/list-branches.md index e7afa0ccb..2ff50ef3c 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -6,7 +6,7 @@ This PowerShell script lists branches in a Git repository - either all (default) Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-branches.ps1 [[-pathToRepo] ] [[-searchPattern] ] [] +/Repos/PowerShell/scripts/list-branches.ps1 [[-pathToRepo] ] [[-searchPattern] ] [] -pathToRepo Specifies the path to the Git repository (current working directory by default) @@ -107,4 +107,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index be26cc28c..f54ac5bd6 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -6,7 +6,7 @@ Lists calendar elements, either a single month or an entire year. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-calendar.ps1 [[-Month] ] [[-Year] ] [] +/Repos/PowerShell/scripts/list-calendar.ps1 [[-Month] ] [[-Year] ] [] -Month If specified, will limit output to a single month with this numeral value. @@ -245,4 +245,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index 50e3afdc7..b6c01b76c 100644 --- a/docs/list-cheat-sheet.md +++ b/docs/list-cheat-sheet.md @@ -6,7 +6,7 @@ This PowerShell script lists the PowerShell cheat sheet. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-cheat-sheet.ps1 [] +/Repos/PowerShell/scripts/list-cheat-sheet.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -75,4 +75,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index d370835ff..8aa30caa5 100644 --- a/docs/list-city-weather.md +++ b/docs/list-city-weather.md @@ -19,31 +19,36 @@ Script Content ```powershell <# .SYNOPSIS - Lists the weather of cities world-wide + Lists the weather of cities .DESCRIPTION This PowerShell script lists the current weather conditions of cities world-wide (west to east). .EXAMPLE PS> ./list-city-weather.ps1 + + CITY TEMP RAIN WIND SUN + ---- ---- ---- ---- --- + Hawaii ⛅️ +25°C 0.0mm 69% ↙5km/h 06:49:15 → 17:47:57 + ... .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -function ListCityWeather { - $Cities="Hawaii","Los Angeles","Mexico City","Dallas","Miami","New York","Rio de Janeiro","Paris","London","Berlin","Cape Town","Dubai","Mumbai","Singapore","Hong Kong","Perth","Peking","Tokyo","Sydney" - - foreach($City in $Cities) { - $Temp = (Invoke-WebRequest http://wttr.in/${City}?format="%t %c " -UserAgent "curl" -useBasicParsing).Content - $Rain = (Invoke-WebRequest http://wttr.in/${City}?format="%p %h" -UserAgent "curl" -useBasicParsing).Content - $Wind = (Invoke-WebRequest http://wttr.in/${City}?format="%w" -UserAgent "curl" -useBasicParsing).Content - $Sun = (Invoke-WebRequest http://wttr.in/${City}?format="%S → %s" -UserAgent "curl" -useBasicParsing).Content - New-Object PSObject -Property @{ City="$City"; Temp="$Temp"; Rain="$Rain"; Wind="$Wind"; Sun="$Sun" } +function List-City-Weather { + $cities = @("Hawaii","Los Angeles","Mexico City","Dallas","Miami","New York","Rio de Janeiro","Paris","London","Berlin","Cape Town","Dubai","Mumbai","Singapore","Hong Kong","Perth","Peking","Tokyo","Sydney") + foreach($city in $cities) { + $icon = (Invoke-WebRequest http://wttr.in/${City}?format="%c" -UserAgent "curl" -useBasicParsing).Content + $temp = (Invoke-WebRequest http://wttr.in/${City}?format="%t" -UserAgent "curl" -useBasicParsing).Content + $rain = (Invoke-WebRequest http://wttr.in/${City}?format="%p %h" -UserAgent "curl" -useBasicParsing).Content + $wind = (Invoke-WebRequest http://wttr.in/${City}?format="%w" -UserAgent "curl" -useBasicParsing).Content + $sun = (Invoke-WebRequest http://wttr.in/${City}?format="%S → %s" -UserAgent "curl" -useBasicParsing).Content + New-Object PSObject -Property @{ CITY="$city $icon"; TEMP=$temp; RAIN=$rain; WIND=$wind; SUN=$sun } } } try { - ListCityWeather | Format-Table -property @{e='City';width=17},@{e='Temp';width=13},@{e='Rain';width=15},@{e='Wind';width=12},@{e='Sun';width=20} + List-City-Weather | Format-Table -property @{e='CITY';width=19},@{e='TEMP';width=9},@{e='RAIN';width=14},@{e='WIND';width=12},@{e='SUN';width=20} exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -51,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index 955a01ef1..4a836727b 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -25,9 +25,9 @@ Script Content .EXAMPLE PS> ./list-cli-tools.ps1 - Tool Name Version Installation Path - --------- ------- ----------------- - 7z 23.01 /usr/bin/7z (38 bytes) + TOOL VERSION INSTALLATION PATH + ---- ------- ----------------- + arp 10.0.22621.4111 C:\Windows\system32\ARP.EXE (45K) ... .LINK https://github.com/fleschutz/PowerShell @@ -72,13 +72,13 @@ function ListTool([string]$Name, [string]$VersionArg) { } else { $Size = 0 } - New-Object PSObject -Property @{ 'Tool Name'=$Name; 'Version'=$Version; 'Installation Path'="$Path ($(Bytes2String $Size))" } + New-Object PSObject -Property @{ 'TOOL'=$Name; 'VERSION'=$Version; 'INSTALLATION PATH'="$Path ($(Bytes2String $Size))" } } catch { return } } -function ListTools { +function List-CLI-Tools { ListTool 7z "-version" ListTool ant "-v" ListTool apt "--version" @@ -350,7 +350,7 @@ function ListTools { } try { - ListTools | Format-Table -property @{e='Tool Name';width=15},@{e='Version';width=15},@{e='Installation Path';width=90} + List-CLI-Tools | Format-Table -property @{e='TOOL';width=15},@{e='VERSION';width=16},@{e='INSTALLATION PATH';width=90} exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -358,4 +358,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index b894113e5..7d723ab64 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -6,7 +6,7 @@ This PowerShell script lists the contents of the clipboard. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-clipboard.ps1 [] +/Repos/PowerShell/scripts/list-clipboard.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index 8a171488c..57e117d00 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -6,7 +6,7 @@ This PowerShell script lists all PowerShell cmdlets. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-cmdlets.ps1 [] +/Repos/PowerShell/scripts/list-cmdlets.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index 081279056..bb85c0de2 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index 9f3eef76d..c4753813b 100644 --- a/docs/list-commit-stats.md +++ b/docs/list-commit-stats.md @@ -6,7 +6,7 @@ This PowerShell script lists the commit statistics of a Git repository. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-commit-stats.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/list-commit-stats.ps1 [[-path] ] [] -path Specifies the path to the local Git repository (default is current working dir) @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-commits.md b/docs/list-commits.md index 394693e81..197b52ebb 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -6,10 +6,9 @@ This PowerShell script lists all commits in a Git repository. Supported output f Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-commits.ps1 [[-RepoDir] ] [[-Format] ] [] +/Repos/PowerShell/scripts/list-commits.ps1 [[-pathToRepo] ] [[-format] ] [] --RepoDir - Specifies the path to the Git repository. +-pathToRepo Required? false Position? 1 @@ -17,7 +16,7 @@ Parameters Accept pipeline input? false Accept wildcard characters? false --Format +-format Specifies the output format: pretty|list|compact|normal|JSON (pretty by default) Required? false @@ -62,7 +61,7 @@ Script Content .DESCRIPTION This PowerShell script lists all commits in a Git repository. Supported output formats are: pretty, list, compact, normal or JSON. .PARAMETER RepoDir - Specifies the path to the Git repository. + Specifies the file path to the local Git repository. .PARAMETER Format Specifies the output format: pretty|list|compact|normal|JSON (pretty by default) .EXAMPLE @@ -78,40 +77,40 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -param([string]$RepoDir = "$PWD", [string]$Format = "pretty") +param([string]$pathToRepo = "$PWD", [string]$format = "pretty") try { - if (-not(Test-Path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" } + if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access directory: $pathToRepo" } - $Null = (git --version) + $null = (git --version) if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Progress "Fetching latest updates..." - & git -C "$RepoDir" fetch --all --quiet + & git -C "$pathToRepo" fetch --all --quiet if ($lastExitCode -ne "0") { throw "'git fetch' failed" } Write-Progress -Completed "Done." - if ($Format -eq "pretty") { + if ($format -eq "pretty") { "" - & git -C "$RepoDir" log --graph --format=format:'%C(bold yellow)%s%C(reset)%d by %an 🕘%cs 🔗%h' --all - } elseif ($Format -eq "list") { + & git -C "$pathToRepo" log --graph --format=format:'%C(bold yellow)%s%C(reset)%d by %an 🕘%cs 🔗%h' --all + } elseif ($format -eq "list") { "" "Hash Date Author Description" "---- ---- ------ -----------" & git log --pretty=format:"%h%x09%cs%x09%an%x09%s" - } elseif ($Format -eq "compact") { + } elseif ($format -eq "compact") { "" "List of Git Commits" "-------------------" - & git -C "$RepoDir" log --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %C(bold blue)by %an %cr%Creset' --abbrev-commit + & git -C "$pathToRepo" log --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %C(bold blue)by %an %cr%Creset' --abbrev-commit if ($lastExitCode -ne "0") { throw "'git log' failed" } - } elseif ($Format -eq "JSON") { - & git -C "$RepoDir" log --pretty=format:'{%n "commit": "%H",%n "abbreviated_commit": "%h",%n "tree": "%T",%n "abbreviated_tree": "%t",%n "parent": "%P",%n "abbreviated_parent": "%p",%n "refs": "%D",%n "encoding": "%e",%n "subject": "%s",%n "sanitized_subject_line": "%f",%n "body": "%b",%n "commit_notes": "%N",%n "verification_flag": "%G?",%n "signer": "%GS",%n "signer_key": "%GK",%n "author": {%n "name": "%aN",%n "email": "%aE",%n "date": "%aD"%n },%n "commiter": {%n "name": "%cN",%n "email": "%cE",%n "date": "%cD"%n }%n},' + } elseif ($format -eq "JSON") { + & git -C "$pathToRepo" log --pretty=format:'{%n "commit": "%H",%n "abbreviated_commit": "%h",%n "tree": "%T",%n "abbreviated_tree": "%t",%n "parent": "%P",%n "abbreviated_parent": "%p",%n "refs": "%D",%n "encoding": "%e",%n "subject": "%s",%n "sanitized_subject_line": "%f",%n "body": "%b",%n "commit_notes": "%N",%n "verification_flag": "%G?",%n "signer": "%GS",%n "signer_key": "%GK",%n "author": {%n "name": "%aN",%n "email": "%aE",%n "date": "%aD"%n },%n "commiter": {%n "name": "%cN",%n "email": "%cE",%n "date": "%cD"%n }%n},' } else { "" "List of Git Commits" "-------------------" - & git -C "$RepoDir" log + & git -C "$pathToRepo" log if ($lastExitCode -ne "0") { throw "'git log' failed" } } exit 0 # success @@ -121,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index b38228140..2b3786370 100644 --- a/docs/list-console-colors.md +++ b/docs/list-console-colors.md @@ -6,7 +6,7 @@ This PowerShell script lists all available console colors. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-console-colors.ps1 [] +/Repos/PowerShell/scripts/list-console-colors.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-countries.md b/docs/list-countries.md index 2f75411a2..0e0548b6a 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -52,4 +52,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index 247858cca..e7f577c6e 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -6,7 +6,7 @@ This PowerShell script lists the CPU details. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-cpu.ps1 [] +/Repos/PowerShell/scripts/list-cpu.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index 238784ed6..8fe3194fc 100644 --- a/docs/list-crypto-rates.md +++ b/docs/list-crypto-rates.md @@ -25,7 +25,7 @@ Script Content .EXAMPLE PS> ./list-crypto-rates.ps1 - Cryptocurrency USD EUR RUB CNY + CRYPTOCURRENCY USD EUR RUB CNY -------------- --- --- --- --- 1 Bitcoin (BTC) = 29054.01 26552.23 2786627.84 172521.27 ... @@ -36,8 +36,8 @@ Script Content #> function ListCryptoRate { param([string]$Symbol, [string]$Name) - $Rates = (Invoke-WebRequest -URI "https://min-api.cryptocompare.com/data/price?fsym=$Symbol&tsyms=USD,EUR,RUB,CNY" -userAgent "curl" -useBasicParsing).Content | ConvertFrom-Json - New-Object PSObject -property @{ 'Cryptocurrency' = "1 $Name ($Symbol) ="; 'USD' = "$($Rates.USD)"; 'EUR' = "$($Rates.EUR)"; 'RUB' = "$($Rates.RUB)"; 'CNY' = "$($Rates.CNY)" } + $rates = (Invoke-WebRequest -URI "https://min-api.cryptocompare.com/data/price?fsym=$Symbol&tsyms=USD,EUR,RUB,CNY" -userAgent "curl" -useBasicParsing).Content | ConvertFrom-Json + New-Object PSObject -property @{ 'CRYPTOCURRENCY' = "1 $Name ($Symbol) ="; 'USD' = "$($rates.USD)"; 'EUR' = "$($rates.EUR)"; 'RUB' = "$($rates.RUB)"; 'CNY' = "$($rates.CNY)" } } function ListCryptoRates { @@ -67,8 +67,8 @@ function ListCryptoRates { } try { - ListCryptoRates | Format-Table -property @{e='Cryptocurrency';width=28},USD,EUR,RUB,CNY - Write-Host "(by cryptocompare.com, Crypto is volatile and unregulated. Capital at risk. Taxes may apply)" + ListCryptoRates | Format-Table -property @{e='CRYPTOCURRENCY';width=28},USD,EUR,RUB,CNY + Write-Host "(by cryptocompare.com • Crypto is volatile and unregulated • Capital at risk • Taxes may apply)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index e234c0cd7..f6852c5b0 100644 --- a/docs/list-defender-settings.md +++ b/docs/list-defender-settings.md @@ -7,7 +7,7 @@ NOTE: use 'Set-MpPreference' to change settings (e.g. DisableScanningNetworkFile Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-defender-settings.ps1 [] +/Repos/PowerShell/scripts/list-defender-settings.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index 1bf4a30df..78f393312 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -6,7 +6,7 @@ This PowerShell script lists all files and folders in a neat directory tree (inc Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-dir-tree.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/list-dir-tree.ps1 [[-path] ] [] -path Specifies the path to the directory tree @@ -125,4 +125,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index 198b86776..c9c6f4838 100644 --- a/docs/list-dns-servers.md +++ b/docs/list-dns-servers.md @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-drives.md b/docs/list-drives.md index 7d2cdb056..256a6d048 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -6,7 +6,7 @@ This PowerShell script lists all local drives as a table. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-drives.ps1 [] +/Repos/PowerShell/scripts/list-drives.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index 2bd743989..932c50fc9 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -6,7 +6,7 @@ This PowerShell script lists major earthquakes for the last 30 days. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-earthquakes.ps1 [[-minMagnitude] ] [] +/Repos/PowerShell/scripts/list-earthquakes.ps1 [[-minMagnitude] ] [] -minMagnitude Specifies the minimum magnitude to list (5.5 by default) @@ -29,7 +29,7 @@ PS> ./list-earthquakes.ps1 -Mag Location Depth Time UTC +MAG LOCATION DEPTH TIME UTC --- -------- ----- -------- 7.2 98 km S of Sand Point, Alaska 33 km 2023-07-16T06:48:22.606Z ... @@ -57,7 +57,7 @@ Script Content .EXAMPLE PS> ./list-earthquakes.ps1 - Mag Location Depth Time UTC + MAG LOCATION DEPTH TIME UTC --- -------- ----- -------- 7.2 98 km S of Sand Point, Alaska 33 km 2023-07-16T06:48:22.606Z ... @@ -79,13 +79,13 @@ function ListEarthquakes { foreach($quake in $quakes) { [int]$depth = $quake.depth - New-Object PSObject -Property @{ Mag=$quake.mag; Depth="$depth km"; Location=$quake.place; 'Time UTC'=$quake.time } + New-Object PSObject -Property @{ MAG=$quake.mag; DEPTH="$depth km"; LOCATION=$quake.place; 'TIME UTC'=$quake.time } } } try { - ListEarthquakes | Format-Table -property @{e='Mag';width=5},@{e='Location';width=42},@{e='Depth';width=12},'Time UTC' + ListEarthquakes | Format-Table -property @{e='MAG';width=5},@{e='LOCATION';width=50},@{e='DEPTH';width=8},'TIME UTC' exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -93,4 +93,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index 1e5997064..9c6d68030 100644 --- a/docs/list-emojis.md +++ b/docs/list-emojis.md @@ -6,7 +6,7 @@ This PowerShell script lists the emojis of Unicode 13.0 sorted by category. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-emojis.ps1 [] +/Repos/PowerShell/scripts/list-emojis.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -72,4 +72,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 617444ab7..52d5ae57b 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -6,7 +6,7 @@ This PowerShell script scans a directory tree and lists all empty directories. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-empty-dirs.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/list-empty-dirs.ps1 [[-path] ] [] -path Specifies the path to the directory tree (current working directory by default) @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index f08c53e48..7ab92514d 100644 --- a/docs/list-empty-files.md +++ b/docs/list-empty-files.md @@ -6,7 +6,7 @@ This PowerShell script scans a directory tree and lists all empty files. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-empty-files.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/list-empty-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (default is current working dir) @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index 71d5a30f5..0a75b1bc4 100644 --- a/docs/list-encrypted-files.md +++ b/docs/list-encrypted-files.md @@ -6,7 +6,7 @@ This PowerShell script scans a directory tree and lists all encrypted files. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-encrypted-files.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/list-encrypted-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (default is current working dir) @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index 66c60cfbb..2c7fdceaf 100644 --- a/docs/list-environment-variables.md +++ b/docs/list-environment-variables.md @@ -6,7 +6,7 @@ This PowerShell script lists all environment variables. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-environment-variables.ps1 [] +/Repos/PowerShell/scripts/list-environment-variables.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index 7a453a46d..ef6d7da43 100644 --- a/docs/list-error-types.md +++ b/docs/list-error-types.md @@ -26,4 +26,4 @@ Script Content } | Select BaseType,Name,FullName ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index 74e85d80d..2deed0555 100644 --- a/docs/list-exchange-rates.md +++ b/docs/list-exchange-rates.md @@ -6,7 +6,7 @@ This PowerShell script lists the current exchange rates for the given currency ( Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-exchange-rates.ps1 [[-currency] ] [] +/Repos/PowerShell/scripts/list-exchange-rates.ps1 [[-currency] ] [] -currency Specifies the base currency @@ -95,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-executables.md b/docs/list-executables.md index a6e368aa8..80ea6580e 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -6,7 +6,7 @@ This PowerShell script scans a given directory tree and lists all executables wi Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-executables.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/list-executables.ps1 [[-path] ] [] -path Specifies the path to the directory tree (current working directory by default) @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index b8eafa78f..1a16c14b3 100644 --- a/docs/list-fibonacci.md +++ b/docs/list-fibonacci.md @@ -43,4 +43,4 @@ foreach ($i in 0..100) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-files.md b/docs/list-files.md index d7687ae78..e62fb780b 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -6,7 +6,7 @@ This PowerShell script lists all files within the given directory tree. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-files.ps1 [[-DirTree] ] [] +/Repos/PowerShell/scripts/list-files.ps1 [[-DirTree] ] [] -DirTree Specifies the path to the directory tree @@ -68,4 +68,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-folder.md b/docs/list-folder.md index 898834051..c2d1b279f 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -6,7 +6,7 @@ This PowerShell script lists the content of a directory (alphabetically formatte Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-folder.ps1 [[-searchPattern] ] [] +/Repos/PowerShell/scripts/list-folder.ps1 [[-searchPattern] ] [] -searchPattern Specifies the search pattern ("*" by default which means anything) @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index 1376c481c..dc5ba4378 100644 --- a/docs/list-fritzbox-calls.md +++ b/docs/list-fritzbox-calls.md @@ -6,7 +6,7 @@ This PowerShell script lists the phone calls of the FRITZ!Box device. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-fritzbox-calls.ps1 [[-Username] ] [[-Password] ] [] +/Repos/PowerShell/scripts/list-fritzbox-calls.ps1 [[-Username] ] [[-Password] ] [] -Username Specifies the user name for FRITZ!Box @@ -153,4 +153,4 @@ echo $Result exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index 85b5aac07..2eec25cbf 100644 --- a/docs/list-fritzbox-devices.md +++ b/docs/list-fritzbox-devices.md @@ -6,7 +6,7 @@ This PowerShell script lists FRITZ!Box's known devices. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-fritzbox-devices.ps1 [[-Username] ] [[-Password] ] [] +/Repos/PowerShell/scripts/list-fritzbox-devices.ps1 [[-Username] ] [[-Password] ] [] -Username Specifies the user name to FRITZ!Box @@ -105,4 +105,4 @@ $HostTable | format-table -property Active,IPAddress,MACAddress,HostName,Interfa exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index c4be0c7c1..9fb2c00df 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -6,7 +6,7 @@ This PowerShell script lists the latest headlines by using a RSS (Really Simple Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-headlines.ps1 [[-RSS_URL] ] [[-maxLines] ] [] +/Repos/PowerShell/scripts/list-headlines.ps1 [[-RSS_URL] ] [[-maxLines] ] [] -RSS_URL Specifies the URL to the RSS feed (Yahoo World News by default) @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index 0a5c00ce8..f925c841f 100644 --- a/docs/list-hidden-files.md +++ b/docs/list-hidden-files.md @@ -6,7 +6,7 @@ This PowerShell script scans a directory tree and lists all hidden files. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-hidden-files.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/list-hidden-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (default is current working dir) @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index 203b5d79a..885534d6f 100644 --- a/docs/list-installed-languages.md +++ b/docs/list-installed-languages.md @@ -50,4 +50,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index 921a75641..9057f8b7f 100644 --- a/docs/list-installed-scripts.md +++ b/docs/list-installed-scripts.md @@ -6,7 +6,7 @@ This PowerShell script lists all installed PowerShell scripts. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-installed-scripts.ps1 [] +/Repos/PowerShell/scripts/list-installed-scripts.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Get-InstalledScript exit # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index 8e10a1331..7f3625e0d 100644 --- a/docs/list-installed-software.md +++ b/docs/list-installed-software.md @@ -6,7 +6,7 @@ This PowerShell script lists the installed software (except Windows Store apps). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-installed-software.ps1 [] +/Repos/PowerShell/scripts/list-installed-software.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index 2f8ff39e3..fc780c11c 100644 --- a/docs/list-internet-ip.md +++ b/docs/list-internet-ip.md @@ -6,7 +6,7 @@ This PowerShell script queries all public IP address information and prints it. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-internet-ip.ps1 [] +/Repos/PowerShell/scripts/list-internet-ip.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index 53f0c7b9d..fbb6e66a3 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -6,7 +6,7 @@ This PowerShell script lists the state of IPv6 on all network interfaces of the Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-ipv6.ps1 [] +/Repos/PowerShell/scripts/list-ipv6.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index 9d243ea1e..a5e673e31 100644 --- a/docs/list-latest-tag.md +++ b/docs/list-latest-tag.md @@ -6,7 +6,7 @@ This PowerShell script lists the latest tag in a local Git repository. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-latest-tag.ps1 [[-RepoDir] ] [] +/Repos/PowerShell/scripts/list-latest-tag.ps1 [[-RepoDir] ] [] -RepoDir Specifies the path to the local repository (current working dir by default) @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index 4b49996b3..7e362eb56 100644 --- a/docs/list-latest-tags.md +++ b/docs/list-latest-tags.md @@ -6,7 +6,7 @@ This PowerShell script lists the latest tags in all Git repositories in the spec Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-latest-tags.ps1 [[-ParentDir] ] [] +/Repos/PowerShell/scripts/list-latest-tags.ps1 [[-ParentDir] ] [] -ParentDir Specifies the path to the parent folder @@ -85,4 +85,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index 8d24ff7c6..326872bc0 100644 --- a/docs/list-local-ip.md +++ b/docs/list-local-ip.md @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index d1d79d0af..074c0be93 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 ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-memos.md b/docs/list-memos.md index 8456033f6..5b8921991 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -6,7 +6,7 @@ This PowerShell script lists all entries in 'Remember.csv' in your home folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-memos.ps1 [] +/Repos/PowerShell/scripts/list-memos.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -68,4 +68,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index 09d0fbba2..c12738276 100644 --- a/docs/list-mysql-tables.md +++ b/docs/list-mysql-tables.md @@ -6,7 +6,7 @@ This PowerShell script lists all tables of the given MySQL database. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-mysql-tables.ps1 [-server] [-database] [-dbuser] [-dbpass] [] +/Repos/PowerShell/scripts/list-mysql-tables.ps1 [-server] [-database] [-dbuser] [-dbpass] [] -server @@ -90,4 +90,4 @@ $result = Invoke-MySqlQuery -ConnectionString "server=$server; database=$databa $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index e53cd9353..2918712f9 100644 --- a/docs/list-network-connections.md +++ b/docs/list-network-connections.md @@ -6,7 +6,7 @@ This PowerShell script lists all active network connections on the local compute Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-network-connections.ps1 [] +/Repos/PowerShell/scripts/list-network-connections.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index 7039e6cfc..2c8ed075d 100644 --- a/docs/list-network-neighbors.md +++ b/docs/list-network-neighbors.md @@ -6,7 +6,7 @@ This PowerShell script lists all network neighbors of the local computer (using Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-network-neighbors.ps1 [] +/Repos/PowerShell/scripts/list-network-neighbors.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index 75e7ff499..3fb622a90 100644 --- a/docs/list-network-routes.md +++ b/docs/list-network-routes.md @@ -6,7 +6,7 @@ This PowerShell script lists the network routes on the local computer. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-network-routes.ps1 [] +/Repos/PowerShell/scripts/list-network-routes.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index 06b33f8a0..33eb8166f 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -6,7 +6,7 @@ This PowerShell script lists all network shares (aka "shared folders") of the lo Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-network-shares.ps1 [] +/Repos/PowerShell/scripts/list-network-shares.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./list-network-shares.ps1 -✅ Network share \\LAPTOP\Public -> D:\Public ("Public folder for file transfer") +✅ Shared folder \\LAPTOP\Public -> D:\Public ("Public folder for file transfer") ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script lists all network shares (aka "shared folders") of the local computer. .EXAMPLE PS> ./list-network-shares.ps1 - ✅ Network share \\LAPTOP\Public -> D:\Public ("Public folder for file transfer") + ✅ Shared folder \\LAPTOP\Public -> D:\Public ("Public folder for file transfer") .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -52,7 +52,7 @@ try { } else { $shares = Get-WmiObject win32_share | where {$_.name -NotLike "*$"} foreach ($share in $shares) { - Write-Output "✅ Network share \\$(hostname)\$($share.Name) -> $($share.Path) (`"$($share.Description)`")" + Write-Output "✅ Shared folder \\$(hostname)\$($share.Name) -> $($share.Path) (`"$($share.Description)`")" } } exit 0 # success @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-news.md b/docs/list-news.md index d8d031604..686eac809 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -6,7 +6,7 @@ This PowerShell script lists the latest news by using a RSS (Really Simple Syndi Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-news.ps1 [[-RSS_URL] ] [[-maxLines] ] [[-speed] ] [] +/Repos/PowerShell/scripts/list-news.ps1 [[-RSS_URL] ] [[-maxLines] ] [[-speed] ] [] -RSS_URL Specifies the URL to the RSS feed (Yahoo World News by default) @@ -31,7 +31,7 @@ Parameters Required? false Position? 3 - Default value 10 + Default value 5 Accept pipeline input? false Accept wildcard characters? false @@ -45,9 +45,9 @@ Example ```powershell PS> ./list-news.ps1 - UTC Yahoo News - Latest News & Headlines - https://www.yahoo.com/news/world - --- ----------------------------------------------------------------------- -❇️ 09:15 Deadly Mediterranean wildfires kill more than 40 + UTC HEADLINES (source: https://www.yahoo.com/news/world) + --- --------- +09:15 Deadly Mediterranean wildfires kill more than 40 ... ``` @@ -77,9 +77,9 @@ Script Content .EXAMPLE PS> ./list-news.ps1 - UTC Yahoo News - Latest News & Headlines - https://www.yahoo.com/news/world - --- ----------------------------------------------------------------------- - ❇️ 09:15 Deadly Mediterranean wildfires kill more than 40 + UTC HEADLINES (source: https://www.yahoo.com/news/world) + --- --------- + 09:15 Deadly Mediterranean wildfires kill more than 40 ... .LINK https://github.com/fleschutz/PowerShell @@ -87,22 +87,21 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -param([string]$RSS_URL = "https://news.yahoo.com/rss/world", [int]$maxLines = 24, [int]$speed = 10) +param([string]$RSS_URL = "https://news.yahoo.com/rss/world", [int]$maxLines = 24, [int]$speed = 5) try { [xml]$content = (Invoke-WebRequest -URI $RSS_URL -useBasicParsing).Content - $title = $content.rss.channel.title $URL = $content.rss.channel.link - " " - " UTC $title - $URL" - " --- -----------------------------------------------------------------------" - + Write-Host "`n UTC HEADLINES (source: " -noNewline + Write-Host $URL -foregroundColor blue -noNewline + Write-Host ")" + Write-Host " --- ---------" [int]$count = 1 foreach ($item in $content.rss.channel.item) { - $title = $item.title + $title = $item.title -replace "â","'" $time = $item.pubDate.Substring(11, 5) - & "$PSScriptRoot/write-typewriter.ps1" "❇️ $time $title" $speed + & "$PSScriptRoot/write-typewriter.ps1" "$time $title" $speed if ($count++ -eq $maxLines) { break } } exit 0 # success @@ -112,4 +111,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-nic.md b/docs/list-nic.md index e5da95e92..039248279 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -6,7 +6,7 @@ This PowerShell script lists the details of the installed network interfaces. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-nic.ps1 [] +/Repos/PowerShell/scripts/list-nic.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index e872d2c5c..090520018 100644 --- a/docs/list-nina-warnings.md +++ b/docs/list-nina-warnings.md @@ -6,7 +6,7 @@ This PowerShell script queries the current NINA warnings and lists it. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-nina-warnings.ps1 [[-ARS] ] [] +/Repos/PowerShell/scripts/list-nina-warnings.ps1 [[-ARS] ] [] -ARS Specifies the official regional key in Germany ("Amtlicher Regionalschlüssel", e.g. 09777, none by default) @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index 962f0a68a..03092e265 100644 --- a/docs/list-old-branches.md +++ b/docs/list-old-branches.md @@ -6,7 +6,7 @@ This PowerShell script lists branches in a Git repository matching: (1) search p Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-old-branches.ps1 [[-pathToRepo] ] [[-searchPattern] ] [] +/Repos/PowerShell/scripts/list-old-branches.ps1 [[-pathToRepo] ] [[-searchPattern] ] [] -pathToRepo Specifies the path to the Git repository (current working directory by default) @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index 0d646b2ed..fb8768f6c 100644 --- a/docs/list-os-releases.md +++ b/docs/list-os-releases.md @@ -6,7 +6,7 @@ This PowerShell script lists OS releases and download URL. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-os-releases.ps1 [] +/Repos/PowerShell/scripts/list-os-releases.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index 1f3087819..35f697a6e 100644 --- a/docs/list-os-updates.md +++ b/docs/list-os-updates.md @@ -6,7 +6,7 @@ This PowerShell script lists the latest updates for operating systems. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-os-updates.ps1 [[-RSS_URL] ] [[-MaxCount] ] [] +/Repos/PowerShell/scripts/list-os-updates.ps1 [[-RSS_URL] ] [[-MaxCount] ] [] -RSS_URL Specifies the URL to the RSS feed @@ -89,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-os.md b/docs/list-os.md index 90f3c3839..7da1bbd2c 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -6,7 +6,7 @@ This PowerShell script lists the exact operating system version. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-os.ps1 [] +/Repos/PowerShell/scripts/list-os.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index 19e6b683f..b5d2d333d 100644 --- a/docs/list-outlook-inbox.md +++ b/docs/list-outlook-inbox.md @@ -6,7 +6,7 @@ This PowerShell script lists the emails in the inbox of Outlook. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-outlook-inbox.ps1 [] +/Repos/PowerShell/scripts/list-outlook-inbox.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index dca7f88b3..e8faf5234 100644 --- a/docs/list-outlook-sent.md +++ b/docs/list-outlook-sent.md @@ -6,7 +6,7 @@ This PowerShell script lists the mails in the Sent Mail folder of Outlook. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-outlook-sent.ps1 [] +/Repos/PowerShell/scripts/list-outlook-sent.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-passwords.md b/docs/list-passwords.md index 0f9e6cb3a..4e57d195b 100644 --- a/docs/list-passwords.md +++ b/docs/list-passwords.md @@ -6,7 +6,7 @@ This PowerShell script lists random passwords. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-passwords.ps1 [[-PasswordLength] ] [[-Columns] ] [[-Rows] ] [] +/Repos/PowerShell/scripts/list-passwords.ps1 [[-PasswordLength] ] [[-Columns] ] [[-Rows] ] [] -PasswordLength Specifies the length of the password @@ -111,4 +111,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-pins.md b/docs/list-pins.md index 9e9264460..6040396d9 100644 --- a/docs/list-pins.md +++ b/docs/list-pins.md @@ -6,7 +6,7 @@ This PowerShell script lists random PIN's. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-pins.ps1 [[-PinLength] ] [[-Columns] ] [[-Rows] ] [] +/Repos/PowerShell/scripts/list-pins.ps1 [[-PinLength] ] [[-Columns] ] [[-Rows] ] [] -PinLength Specifies the PIN length @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index 80a1a2afd..e5c12ea6c 100644 --- a/docs/list-power-schemes.md +++ b/docs/list-power-schemes.md @@ -21,4 +21,4 @@ powercfg /list exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index 7624cfc09..0df4cf03b 100644 --- a/docs/list-powershell-modules.md +++ b/docs/list-powershell-modules.md @@ -6,7 +6,7 @@ This PowerShell script lists the installed PowerShell modules. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-powershell-modules.ps1 [] +/Repos/PowerShell/scripts/list-powershell-modules.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index 503251d22..c559c8190 100644 --- a/docs/list-powershell-profiles.md +++ b/docs/list-powershell-profiles.md @@ -58,4 +58,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index 94043ab96..fb849a8c4 100644 --- a/docs/list-powershell-verbs.md +++ b/docs/list-powershell-verbs.md @@ -6,7 +6,7 @@ This PowerShell script lists all allowed/recommended verbs in PowerShell. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-powershell-verbs.ps1 [] +/Repos/PowerShell/scripts/list-powershell-verbs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index 07a03fe23..a2d974936 100644 --- a/docs/list-print-jobs.md +++ b/docs/list-print-jobs.md @@ -6,7 +6,7 @@ This PowerShell script lists all print jobs of all printer devices. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-print-jobs.ps1 [] +/Repos/PowerShell/scripts/list-print-jobs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 07d3f32cc..475683dd9 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -6,7 +6,7 @@ This PowerShell script lists all printers known to the local computer. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-printers.ps1 [] +/Repos/PowerShell/scripts/list-printers.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-processes.md b/docs/list-processes.md index 811579689..51ebf3b1d 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -6,7 +6,7 @@ This PowerShell script lists all local computer processes. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-processes.ps1 [] +/Repos/PowerShell/scripts/list-processes.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index fb85c6817..c5a0583eb 100644 --- a/docs/list-pull-requests.md +++ b/docs/list-pull-requests.md @@ -6,7 +6,7 @@ This PowerShell script lists all pull requests for a Git repository. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-pull-requests.ps1 [[-RepoDir] ] [] +/Repos/PowerShell/scripts/list-pull-requests.ps1 [[-RepoDir] ] [] -RepoDir Specifies the file path to the local Git repository (default is working directory). @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-ram.md b/docs/list-ram.md index 34161b3fe..65464dba6 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -6,7 +6,7 @@ This PowerShell script lists the details of the installed RAM. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-ram.ps1 [] +/Repos/PowerShell/scripts/list-ram.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index 209c92c81..f2915d2e1 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -6,7 +6,7 @@ This PowerShell script scans a directory tree and lists all read-only files. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-read-only-files.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/list-read-only-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (current working dir by default) @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index 798db727c..9aa3af510 100644 --- a/docs/list-recycle-bin.md +++ b/docs/list-recycle-bin.md @@ -6,7 +6,7 @@ This PowerShell script lists the content of the recycle bin folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-recycle-bin.ps1 [] +/Repos/PowerShell/scripts/list-recycle-bin.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-repos.md b/docs/list-repos.md index 70cc859d2..b3be51c64 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -6,7 +6,7 @@ This PowerShell script lists all Git repositories under a folder with details su Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-repos.ps1 [[-parentDir] ] [] +/Repos/PowerShell/scripts/list-repos.ps1 [[-parentDir] ] [] -parentDir Specifies the path to the parent directory (current working directory by default) @@ -103,4 +103,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index d87e6c04a..a7a40823e 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index 1b715ef40..03c1b9cc3 100644 --- a/docs/list-scsi-devices.md +++ b/docs/list-scsi-devices.md @@ -6,7 +6,7 @@ This PowerShell script lists all SCSI devices connected to the local computer. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-scsi-devices.ps1 [] +/Repos/PowerShell/scripts/list-scsi-devices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-services.md b/docs/list-services.md index f5e431228..11058acee 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -6,7 +6,7 @@ This PowerShell script lists all services installed on the local computer. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-services.ps1 [] +/Repos/PowerShell/scripts/list-services.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index bfab1af0e..e69b56ca1 100644 --- a/docs/list-special-folders.md +++ b/docs/list-special-folders.md @@ -105,4 +105,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index 1a7ca1843..84ed30156 100644 --- a/docs/list-sql-tables.md +++ b/docs/list-sql-tables.md @@ -8,7 +8,7 @@ Run the above command if you do not have this module. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-sql-tables.ps1 [-server] [-database] [-username] [-password] [] +/Repos/PowerShell/scripts/list-sql-tables.ps1 [-server] [-database] [-username] [-password] [] -server @@ -93,4 +93,4 @@ $result = Invoke-SqlServerQuery -Credential $creds -ConnectionTimeout 10000 -Dat $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index 0b566c2d0..3158bd866 100644 --- a/docs/list-ssh-key.md +++ b/docs/list-ssh-key.md @@ -6,7 +6,7 @@ This PowerShell script lists the user's public SSH key. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-ssh-key.ps1 [] +/Repos/PowerShell/scripts/list-ssh-key.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index 81ef288ee..9b076b4c4 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -6,7 +6,7 @@ This PowerShell script lists the submodules in the given Git repository. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-submodules.ps1 [[-RepoDir] ] [] +/Repos/PowerShell/scripts/list-submodules.ps1 [[-RepoDir] ] [] -RepoDir Specifies the path to the repository (current working directory by default) @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index 857f80fcf..db2371d3c 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -6,7 +6,7 @@ This PowerShell script lists "Did you mean?" suggestions from Google. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-suggestions.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/list-suggestions.ps1 [[-text] ] [] -text Specifies the word or sentence to get suggestions for. @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index c27b41517..274753cbf 100644 --- a/docs/list-system-devices.md +++ b/docs/list-system-devices.md @@ -6,7 +6,7 @@ This PowerShell script lists all system devices connected to the local computer. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-system-devices.ps1 [] +/Repos/PowerShell/scripts/list-system-devices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index c13e55572..72694615a 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -6,7 +6,7 @@ This PowerShell script scans a directory tree and lists all system files. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-system-files.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/list-system-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (default is current working dir) @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index 5201cee36..b2f63b808 100644 --- a/docs/list-system-info.md +++ b/docs/list-system-info.md @@ -6,7 +6,7 @@ This PowerShell script lists system information of the local computer. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-system-info.ps1 [] +/Repos/PowerShell/scripts/list-system-info.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -141,4 +141,4 @@ $info exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-tags.md b/docs/list-tags.md index 88daea080..98067972a 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -6,7 +6,7 @@ This PowerShell script fetches all tags in a local Git repository and lists it ( Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-tags.ps1 [[-repoDir] ] [[-searchPattern] ] [] +/Repos/PowerShell/scripts/list-tags.ps1 [[-repoDir] ] [[-searchPattern] ] [] -repoDir Specifies the path to the Git repository (current working directory by default) @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index 652d7150e..ec8effe46 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -44,4 +44,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index a633f463f..e1bd26644 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -6,7 +6,7 @@ This PowerShell script lists the details of the current time zone. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-timezone.ps1 [] +/Repos/PowerShell/scripts/list-timezone.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 4f741394b..6d657effd 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -6,7 +6,7 @@ This PowerShell script lists all available time zones. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-timezones.ps1 [] +/Repos/PowerShell/scripts/list-timezones.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index 5b6138f5e..dad1e10eb 100644 --- a/docs/list-tiobe-index.md +++ b/docs/list-tiobe-index.md @@ -78,4 +78,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index 04c3871a9..7b12b94cd 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -6,7 +6,7 @@ This PowerShell script scans a directory tree and lists unused files (no read/wr Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-unused-files.ps1 [[-path] ] [[-days] ] [] +/Repos/PowerShell/scripts/list-unused-files.ps1 [[-path] ] [[-days] ] [] -path Specifies the path to the directory tree (current working dir by default) @@ -95,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-updates.md b/docs/list-updates.md index 92d1c475d..5412f299f 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -8,7 +8,7 @@ NOTE: Use the script 'install-updates.ps1' to install the listed updates. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-updates.ps1 [] +/Repos/PowerShell/scripts/list-updates.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index 3e48584b4..cba9bc8e1 100644 --- a/docs/list-usb-devices.md +++ b/docs/list-usb-devices.md @@ -6,7 +6,7 @@ This PowerShell script lists all USB devices connected to the local computer. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-usb-devices.ps1 [] +/Repos/PowerShell/scripts/list-usb-devices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 53e862016..3c2061892 100644 --- a/docs/list-user-accounts.md +++ b/docs/list-user-accounts.md @@ -6,7 +6,7 @@ This PowerShell script lists the user accounts on the local computer. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-user-accounts.ps1 [] +/Repos/PowerShell/scripts/list-user-accounts.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index 6dc25ffe0..8e3debb0e 100644 --- a/docs/list-user-groups.md +++ b/docs/list-user-groups.md @@ -6,7 +6,7 @@ This PowerShell script lists the user groups of the local computer. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-user-groups.ps1 [] +/Repos/PowerShell/scripts/list-user-groups.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-voices.md b/docs/list-voices.md index 3e04dc1f6..c70c93863 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -6,7 +6,7 @@ This PowerShell script queries the installed text-to-speech (TTS) voices and pri Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-voices.ps1 [] +/Repos/PowerShell/scripts/list-voices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-weather.md b/docs/list-weather.md index fcc944da2..6aba56f52 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -6,7 +6,7 @@ This PowerShell script queries the 48h weather report from wttr.in and lists it Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-weather.ps1 [[-location] ] [] +/Repos/PowerShell/scripts/list-weather.ps1 [[-location] ] [] -location Specifies the location to use (determined automatically by default) @@ -103,6 +103,7 @@ function GetDescription([string]$text) { "Patchy rain possible" { return "💧 patchy rain possible" } "Patchy rain nearby" { return "💧 patchy rain nearby" } "Patchy sleet nearby" { return "❄️ patchy sleet nearby" } + "Patchy snow nearby" { return "❄️ patchy snow nearby" } "Patchy snow possible" { return "❄️ patchy snow possible" } "Sunny" { return "☀️ sunny" } "Thundery outbreaks possible" { return "⚡️thundery outbreaks possible" } @@ -177,4 +178,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index 39ecd11ba..ae74cb798 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -6,7 +6,7 @@ This PowerShell script lists the WIFI networks. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-wifi.ps1 [] +/Repos/PowerShell/scripts/list-wifi.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index fdcf82c0e..17d4f64c6 100644 --- a/docs/list-window-titles.md +++ b/docs/list-window-titles.md @@ -6,7 +6,7 @@ This PowerShell script queries all main window titles and lists them as a table. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-window-titles.ps1 [] +/Repos/PowerShell/scripts/list-window-titles.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index a50c776ce..a129ca6eb 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -6,7 +6,7 @@ This PowerShell script lists the path to current working directory (but not the Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-workdir.ps1 [] +/Repos/PowerShell/scripts/list-workdir.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index 2b918cc08..2b28e967d 100644 --- a/docs/list-wsl-distros.md +++ b/docs/list-wsl-distros.md @@ -6,7 +6,7 @@ This PowerShell script lists installed/available Linux distributions for Windows Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/list-wsl-distros.ps1 [] +/Repos/PowerShell/scripts/list-wsl-distros.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/locate-city.md b/docs/locate-city.md index e31ae3b9e..9c2f3a115 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -6,7 +6,7 @@ This PowerShell script prints the geographic location of the given city. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/locate-city.ps1 [[-city] ] [] +/Repos/PowerShell/scripts/locate-city.ps1 [[-city] ] [] -city Specifies the name of the city to look for @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index 3b8f9f191..e7adaee9c 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -46,4 +46,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index c3ab64be3..e7043f936 100644 --- a/docs/locate-my-phone.md +++ b/docs/locate-my-phone.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Find My Device w Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/locate-my-phone.ps1 [] +/Repos/PowerShell/scripts/locate-my-phone.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index b86a79424..02e2c116b 100644 --- a/docs/locate-zip-code.md +++ b/docs/locate-zip-code.md @@ -6,7 +6,7 @@ This PowerShell script prints the geographic location of the given zip-code. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/locate-zip-code.ps1 [[-CountryCode] ] [[-ZipCode] ] [] +/Repos/PowerShell/scripts/locate-zip-code.ps1 [[-CountryCode] ] [[-ZipCode] ] [] -CountryCode Specifies the country code @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index e3e1a3a5d..0f7d8a89a 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -6,7 +6,7 @@ This PowerShell script locks the local computer desktop immediately. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/lock-desktop.ps1 [] +/Repos/PowerShell/scripts/lock-desktop.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/log-off.md b/docs/log-off.md index 5c7e6085e..6500a363a 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -6,7 +6,7 @@ This PowerShell script logs off the current Windows user. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/log-off.ps1 [] +/Repos/PowerShell/scripts/log-off.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/make-install.md b/docs/make-install.md index 39e88f010..e68660085 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -6,7 +6,7 @@ This PowerShell script copies newer EXE's + DLL's from the build directory to th Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/make-install.ps1 [] +/Repos/PowerShell/scripts/make-install.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index 31af468a4..5f3e2b483 100644 --- a/docs/measure-BubbleSort.md +++ b/docs/measure-BubbleSort.md @@ -10,7 +10,7 @@ comparison sort, is named for the way smaller or larger elements "bubble" to the Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/measure-BubbleSort.ps1 [[-numIntegers] ] [] +/Repos/PowerShell/scripts/measure-BubbleSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -92,4 +92,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index bd0656c89..667b64d31 100644 --- a/docs/measure-BucketSort.md +++ b/docs/measure-BucketSort.md @@ -15,7 +15,7 @@ to use, and whether the input is uniformly distributed. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/measure-BucketSort.ps1 [[-numIntegers] ] [] +/Repos/PowerShell/scripts/measure-BucketSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -120,4 +120,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index b44409e4c..59ccabbd7 100644 --- a/docs/measure-CountingSort.md +++ b/docs/measure-CountingSort.md @@ -15,7 +15,7 @@ can handle larger keys more efficiently. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/measure-CountingSort.ps1 [[-numIntegers] ] [] +/Repos/PowerShell/scripts/measure-CountingSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -111,4 +111,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index a3513daaf..6655be66c 100644 --- a/docs/measure-HeapSort.md +++ b/docs/measure-HeapSort.md @@ -13,7 +13,7 @@ find the largest element in each step. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/measure-HeapSort.ps1 [[-numIntegers] ] [] +/Repos/PowerShell/scripts/measure-HeapSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -126,4 +126,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index c51868013..613a44262 100644 --- a/docs/measure-InsertionSort.md +++ b/docs/measure-InsertionSort.md @@ -9,7 +9,7 @@ such as quicksort, heapsort, or merge sort. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/measure-InsertionSort.ps1 [[-numIntegers] ] [] +/Repos/PowerShell/scripts/measure-InsertionSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -95,4 +95,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index db4321a19..69b9b326b 100644 --- a/docs/measure-MergeSort.md +++ b/docs/measure-MergeSort.md @@ -11,7 +11,7 @@ merge sort appeared in a report by Goldstine and von Neumann as early as 1948. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/measure-MergeSort.ps1 [[-numIntegers] ] [] +/Repos/PowerShell/scripts/measure-MergeSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -120,4 +120,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index def5ed175..297023555 100644 --- a/docs/measure-QuickSort.md +++ b/docs/measure-QuickSort.md @@ -10,7 +10,7 @@ two or three times faster than heapsort. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/measure-QuickSort.ps1 [[-numIntegers] ] [] +/Repos/PowerShell/scripts/measure-QuickSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -101,4 +101,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index 8f331e580..e9c2f4cd6 100644 --- a/docs/measure-SelectionSort.md +++ b/docs/measure-SelectionSort.md @@ -11,7 +11,7 @@ is limited. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/measure-SelectionSort.ps1 [[-numIntegers] ] [] +/Repos/PowerShell/scripts/measure-SelectionSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -94,4 +94,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index 5de3abb57..2e01e954f 100644 --- a/docs/measure-sorting-algorithms.md +++ b/docs/measure-sorting-algorithms.md @@ -6,7 +6,7 @@ This PowerShell script measures the speed of several sorting algorithms and prin Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/measure-sorting-algorithms.ps1 [[-numIntegers] ] [] +/Repos/PowerShell/scripts/measure-sorting-algorithms.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort (3000 by default) @@ -73,4 +73,4 @@ param([int]$numIntegers = 3000) exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index 258bdb5c4..6ec83028b 100644 --- a/docs/merry-christmas.md +++ b/docs/merry-christmas.md @@ -6,7 +6,7 @@ This PowerShell script replies to 'Merry Christmas' by text-to-speech (TTS). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/merry-christmas.ps1 [] +/Repos/PowerShell/scripts/merry-christmas.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ $Reply = "Merry Christmas to you too!", "Happy Christmas to you too!" | Get-Rand exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index 09dee838a..993430867 100644 --- a/docs/minimize-all-windows.md +++ b/docs/minimize-all-windows.md @@ -6,7 +6,7 @@ This PowerShell script minimizes all open windows. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/minimize-all-windows.ps1 [] +/Repos/PowerShell/scripts/minimize-all-windows.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index cf35fe243..834229b7d 100644 --- a/docs/move-mouse-pointer.md +++ b/docs/move-mouse-pointer.md @@ -6,7 +6,7 @@ This PowerShell script moves the mouse pointer either to the given x/y coordinat Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/move-mouse-pointer.ps1 [[-x] ] [[-y] ] [] +/Repos/PowerShell/scripts/move-mouse-pointer.ps1 [[-x] ] [[-y] ] [] -x Specifies the x coordinate in pixels @@ -84,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/move-vm.md b/docs/move-vm.md index 48b5fca41..0d6308a7c 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 ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/my-profile.md b/docs/my-profile.md index ed375eca1..c90fa1655 100644 --- a/docs/my-profile.md +++ b/docs/my-profile.md @@ -17,26 +17,26 @@ Parameters Script Content -------------- ```powershell -# MY POWERSHELL PROFILE - it defines the look & feel of PowerShell. +# POWERSHELL PROFILE TO DEFINE THE LOOK & FEEL # WINDOW TITLE if ($IsLinux) { $username = $(whoami) } else { $username = $env:USERNAME } $host.ui.RawUI.WindowTitle = "$username @ $(hostname)" # GREETING -Write-Host "👋 Welcome $username to $(hostname)'s PowerShell - type 'hlp' if you need help." -foregroundColor green +Write-Host "✨ Welcome $username to $(hostname)'s PowerShell - type 'FAQ' for help." -foregroundColor green # PROMPT function prompt { Write-Host "`n➤ " -noNewline -foregroundColor yellow; return " " } # ALIASES -set-alias -name enter -value enter-host.ps1 -set-alias -name hlp -value write-help.ps1 -set-alias -name ll -value Get-ChildItem # ll = list folder (long format) -del alias:ls -force -errorAction SilentlyContinue -set-alias -name ls -value list-folder.ps1 # ls = list folder (short format) -del alias:pwd -force -errorAction SilentlyContinue -set-alias -name pwd -value list-workdir.ps1 # pwd = print working directory +Set-Alias -name enter -value enter-host.ps1 +Set-Alias -name FAQ -value write-help.ps1 +Set-Alias -name ll -value Get-ChildItem # ll = list folder (long format) +Del alias:ls -force -errorAction SilentlyContinue +Set-Alias -name ls -value list-folder.ps1 # ls = list folder (short format) +Del alias:pwd -force -errorAction SilentlyContinue +Set-Alias -name pwd -value list-workdir.ps1 # pwd = print working directory ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/new-branch.md b/docs/new-branch.md index 076668342..77aed8145 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -6,7 +6,7 @@ This PowerShell script creates a new branch in a local Git repository and switch Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/new-branch.ps1 [[-newBranch] ] [[-pathToRepo] ] [] +/Repos/PowerShell/scripts/new-branch.ps1 [[-newBranch] ] [[-pathToRepo] ] [] -newBranch Specifies the new Git branch name @@ -128,4 +128,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 5d28d97e0..24ac18752 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -6,7 +6,7 @@ This PowerShell script creates an empty new directory in the filesystem. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/new-dir.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/new-dir.ps1 [[-path] ] [] -path Specifies the path and filename of the new directory @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/new-email.md b/docs/new-email.md index 745727bd1..faa314446 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -6,7 +6,7 @@ This PowerShell script opens the default email client to write a new email. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/new-email.ps1 [[-EmailAddress] ] [] +/Repos/PowerShell/scripts/new-email.ps1 [[-EmailAddress] ] [] -EmailAddress Specifies the email address fill in @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index c8902abd6..885d7597e 100644 --- a/docs/new-linux-vm.md +++ b/docs/new-linux-vm.md @@ -38,4 +38,4 @@ $VMName = "linux" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/new-power-plan.md b/docs/new-power-plan.md index b34a3b8eb..8666bbe2b 100644 --- a/docs/new-power-plan.md +++ b/docs/new-power-plan.md @@ -1,41 +1,39 @@ -## SYNOPSIS -Create and Set Custom Power Plan -## DESCRIPTION -Creates a custom power plan based on the active power plan, renames it, and sets it as the active power plan. -This PowerShell script: -1. Retrieves the active power plan GUID. -2. Duplicates the active power plan. -3. Renames the new power plan to a custom name. -4. Sets the newly created power plan as the active plan. -## EXAMPLE - PS> ./new-power-plan.ps1 - -## LINK -https://github.com/Arash-Seifi/PowerShell -## NOTES -Author: Arash Seifi | License: CC0 +The *new-power-plan.ps1* Script +=========================== + +new-power-plan.ps1 + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` -try { - # Step 1: Get the Active Power Plan GUID - $activeGuid = powercfg /getactivescheme | Select-String -Pattern "GUID" | ForEach-Object { $_.ToString().Split(' ')[3] } - Write-Output "Active Power Plan GUID: $activeGuid" - - # Step 2: Duplicate the Active Power Plan and capture the new GUID - $newGuid = powercfg -duplicatescheme $activeGuid | ForEach-Object { $_.ToString().Split(' ')[3] } - Write-Output "New Power Plan GUID: $newGuid" - - # Step 3: Rename the New Power Plan - $customName = "My Custom Plan" - powercfg -changename $newGuid $customName - - # Step 4: Set the New Power Plan as Active - powercfg -setactive $newGuid - - # Output the new power plan GUID - Write-Output "New power plan created with GUID: $newGuid and set as active." -} -catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" - exit 1 -} + +Script Content +-------------- +```powershell +# Step 1: Get the Active Power Plan GUID +$activeGuid = powercfg /getactivescheme | Select-String -Pattern "GUID" | ForEach-Object { $_.ToString().Split(' ')[3] } +Write-Output "Active Power Plan GUID: $activeGuid" + +# Step 2: Duplicate the Active Power Plan and capture the new GUID +$newGuid = powercfg -duplicatescheme $activeGuid | ForEach-Object { $_.ToString().Split(' ')[3] } +Write-Output "New Power Plan GUID: $newGuid" + +# Step 3: Rename the New Power Plan +$customName = "My Custom Plan" +powercfg -changename $newGuid $customName + +# Step 4: Set the New Power Plan as Active +powercfg -setactive $newGuid + +# Output the new power plan GUID +Write-Output "New power plan created with GUID: $newGuid and set as active." ``` + +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 7d0dbca08..a7767c041 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -6,7 +6,7 @@ This PowerShell script generates a new QR code image file. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/new-qrcode.ps1 [[-text] ] [[-imageSize] ] [[-fileFormat] ] [] +/Repos/PowerShell/scripts/new-qrcode.ps1 [[-text] ] [[-imageSize] ] [[-fileFormat] ] [] -text Specifies the text to use @@ -110,4 +110,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index 9d1656dea..f001216e6 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} ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/new-script.md b/docs/new-script.md index 2fcd60e09..7e796e11e 100644 --- a/docs/new-script.md +++ b/docs/new-script.md @@ -6,7 +6,7 @@ This PowerShell script creates a new PowerShell script file by using the templat Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/new-script.ps1 [[-filename] ] [] +/Repos/PowerShell/scripts/new-script.ps1 [[-filename] ] [] -filename Specifies the path and filename to the new script @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index fde2488d3..49d963c1b 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -6,7 +6,7 @@ This PowerShell script creates a new shortcut file. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/new-shortcut.ps1 [[-shortcut] ] [[-target] ] [[-description] ] [] +/Repos/PowerShell/scripts/new-shortcut.ps1 [[-shortcut] ] [[-target] ] [[-description] ] [] -shortcut Specifies the shortcut filename @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index 9610955b5..cca15dc30 100644 --- a/docs/new-ssh-key.md +++ b/docs/new-ssh-key.md @@ -6,7 +6,7 @@ This PowerShell script creates a new SSH key for the user. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/new-ssh-key.ps1 [] +/Repos/PowerShell/scripts/new-ssh-key.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index 9cd04c7ac..eb2232bbd 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -6,10 +6,10 @@ This PowerShell script creates a new symbolic link file, linking to a target. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/new-symlink.ps1 [[-symlink] ] [[-target] ] [] +/Repos/PowerShell/scripts/new-symlink.ps1 [[-symlink] ] [[-target] ] [] -symlink - Specifies the path to the new symlink file + Specifies the file path to the new symlink file Required? false Position? 1 @@ -18,7 +18,7 @@ Parameters Accept wildcard characters? false -target - Specifies the path to the target + Specifies the file path to the target Required? false Position? 2 @@ -35,7 +35,7 @@ Example ------- ```powershell PS> ./new-symlink.ps1 C:\User\Markus\Windows C:\Windows -✅ New symlink file 'C:\User\Markus\Windows' created, linking to: C:\Windows +✅ Created new symlink 'C:\User\Markus\Windows' linking to: C:\Windows ``` @@ -56,12 +56,12 @@ Script Content .DESCRIPTION This PowerShell script creates a new symbolic link file, linking to a target. .PARAMETER symlink - Specifies the path to the new symlink file + Specifies the file path to the new symlink file .PARAMETER target - Specifies the path to the target + Specifies the file path to the target .EXAMPLE PS> ./new-symlink.ps1 C:\User\Markus\Windows C:\Windows - ✅ New symlink file 'C:\User\Markus\Windows' created, linking to: C:\Windows + ✅ Created new symlink 'C:\User\Markus\Windows' linking to: C:\Windows .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -75,8 +75,9 @@ try { if ($target -eq "" ) { $target = Read-Host "Enter path to target" } New-Item -path "$symlink" -itemType SymbolicLink -value "$target" + if ($lastExitCode -ne "0") { throw "Command 'New-Item' has failed" } - "✅ New symlink file '$symlink' created, linking to: $target" + "✅ Created new symlink '$symlink' linking to: $target" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -84,4 +85,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/new-tag.md b/docs/new-tag.md index 9fe5ef582..14aeaf147 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -6,7 +6,7 @@ This PowerShell script creates a new tag in a Git repository. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/new-tag.ps1 [[-TagName] ] [[-RepoDir] ] [] +/Repos/PowerShell/scripts/new-tag.ps1 [[-TagName] ] [[-RepoDir] ] [] -TagName Specifies the new tag name @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/new-user.md b/docs/new-user.md index ec64455d6..c03a1e29e 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -6,7 +6,7 @@ This PowerShell script creates a new user account with an encrypted home directo Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/new-user.ps1 [[-username] ] [] +/Repos/PowerShell/scripts/new-user.ps1 [[-username] ] [] -username @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index 20408a056..c198fba6f 100644 --- a/docs/new-windows-vm.md +++ b/docs/new-windows-vm.md @@ -37,4 +37,4 @@ $VMName = "windows" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index 0d183bb59..8e6844ceb 100644 --- a/docs/on-desktop-login.md +++ b/docs/on-desktop-login.md @@ -7,7 +7,7 @@ NOTE: for installation on Windows create and put a symbolic link to this script Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/on-desktop-login.ps1 [] +/Repos/PowerShell/scripts/on-desktop-login.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-URL.md b/docs/open-URL.md index 460c10876..9fe6ef535 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -6,7 +6,7 @@ This PowerShell script launches a new tab in the default Web browser with the gi Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-URL.ps1 [[-URL] ] [[-text] ] [] +/Repos/PowerShell/scripts/open-URL.ps1 [[-URL] ] [[-text] ] [] -URL Specifies the URL @@ -86,4 +86,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index 7cfaea625..0d4e2ed64 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer showing the UWP apps folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-apps-folder.ps1 [] +/Repos/PowerShell/scripts/open-apps-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -49,4 +49,4 @@ exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index 74c80a117..50c636a15 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the user's autostart fold Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-auto-start-folder.ps1 [] +/Repos/PowerShell/scripts/open-auto-start-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index f675625d7..8493bc0f6 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -6,7 +6,7 @@ This PowerShell script launches the Bing Maps application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-bing-maps.ps1 [] +/Repos/PowerShell/scripts/open-bing-maps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index f7efd9be4..f5dfd1d49 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Booking.com website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-booking-com.ps1 [] +/Repos/PowerShell/scripts/open-booking-com.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index 0e83d4da8..df9a826a7 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the C: drive folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-c-drive.ps1 [] +/Repos/PowerShell/scripts/open-c-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index c8ec0f68e..6e0c13e57 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -6,7 +6,7 @@ This PowerShell script launches the calculator application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-calculator.ps1 [] +/Repos/PowerShell/scripts/open-calculator.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index 0885db1a3..d43be979b 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -6,7 +6,7 @@ This PowerShell script launches the Google Chrome Web browser. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-chrome.ps1 [[-URL] ] [] +/Repos/PowerShell/scripts/open-chrome.ps1 [[-URL] ] [] -URL Specifies an optional URL @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-clock.md b/docs/open-clock.md index 499303926..794dd87d0 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -6,7 +6,7 @@ This PowerShell script launches the Clock application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-clock.ps1 [] +/Repos/PowerShell/scripts/open-clock.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index 254ee0a59..ce2de97c4 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -6,7 +6,7 @@ This PowerShell script launches the Cortana application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-cortana.ps1 [] +/Repos/PowerShell/scripts/open-cortana.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index e834a903b..449970646 100644 --- a/docs/open-d-drive.md +++ b/docs/open-d-drive.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the D: drive folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-d-drive.ps1 [] +/Repos/PowerShell/scripts/open-d-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -47,4 +47,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "D:" ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 0567c221f..1b3252262 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with 20 tabs of popular dashboar Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-dashboards.ps1 [[-timeInterval] ] [] +/Repos/PowerShell/scripts/open-dashboards.ps1 [[-timeInterval] ] [] -timeInterval Specifies the time interval between each tab (110ms per default) @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index b667d2932..3182e27d8 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the DeepL Translator websit Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-deep-l-translator.ps1 [] +/Repos/PowerShell/scripts/open-deep-l-translator.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index 880b700bc..1f867a536 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -6,7 +6,7 @@ This PowerShell script launches the default Web browser, optional with a given U Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-default-browser.ps1 [[-URL] ] [] +/Repos/PowerShell/scripts/open-default-browser.ps1 [[-URL] ] [] -URL Specifies the URL @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index 08647058e..19e663eb3 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the user's desktop folder Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-desktop-folder.ps1 [] +/Repos/PowerShell/scripts/open-desktop-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index 26ad6734c..5347c6806 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the user's documents fold Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-documents-folder.ps1 [] +/Repos/PowerShell/scripts/open-documents-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index 632293f0d..15cb0af6e 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer showing the user's downloads f Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-downloads-folder.ps1 [] +/Repos/PowerShell/scripts/open-downloads-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index ca98f1b77..058829781 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the user's Dropbox folder Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-dropbox-folder.ps1 [] +/Repos/PowerShell/scripts/open-dropbox-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index b60d3011a..a4f74c380 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the DuckDuckGo website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-duck-duck-go.ps1 [] +/Repos/PowerShell/scripts/open-duck-duck-go.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index d90ad6f8c..5b877e746 100644 --- a/docs/open-e-drive.md +++ b/docs/open-e-drive.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the E: drive folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-e-drive.ps1 [] +/Repos/PowerShell/scripts/open-e-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -47,4 +47,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "E:" ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-edge.md b/docs/open-edge.md index 216218542..686f253f6 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -6,7 +6,7 @@ This PowerShell script launches the Microsoft Edge Web browser. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-edge.ps1 [] +/Repos/PowerShell/scripts/open-edge.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process microsoft-edge:// exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index 919dce6ed..64eb21d1f 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the eggtimer website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-egg-timer.ps1 [] +/Repos/PowerShell/scripts/open-egg-timer.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index 6b29d2557..f8e8a076a 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -6,7 +6,7 @@ This PowerShell script launches the default email client. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-email-client.ps1 [] +/Repos/PowerShell/scripts/open-email-client.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index 7b1ca697c..6e71e9422 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the F: drive folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-f-drive.ps1 [] +/Repos/PowerShell/scripts/open-f-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index 273ea1af5..a18cfc313 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-file-explorer.ps1 [[-Path] ] [] +/Repos/PowerShell/scripts/open-file-explorer.ps1 [[-Path] ] [] -Path Specifies the path to the folder to display @@ -70,4 +70,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index 646c97b73..dab3254d7 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with a fire place website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-fire-place.ps1 [] +/Repos/PowerShell/scripts/open-fire-place.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index 7e567f3a4..e633a6618 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -6,7 +6,7 @@ This PowerShell script launches the Mozilla Firefox Web browser. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-firefox.ps1 [[-URL] ] [] +/Repos/PowerShell/scripts/open-firefox.ps1 [[-URL] ] [] -URL Specifies an URL @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index b673d1b90..1cdd0ad74 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the FlightRadar24 website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-flight-radar.ps1 [] +/Repos/PowerShell/scripts/open-flight-radar.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index 7ccee4f7c..9d8ab8c70 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -6,7 +6,7 @@ This PowerShell script launches the File Explorer with the G: drive folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-g-drive.ps1 [] +/Repos/PowerShell/scripts/open-g-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index 1c51dcc40..5aba6fa13 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -48,4 +48,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index 0282c83be..e1a729108 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Books website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-google-books.ps1 [] +/Repos/PowerShell/scripts/open-google-books.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index 70bbab83b..a177c3072 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Calendar website Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-google-calendar.ps1 [] +/Repos/PowerShell/scripts/open-google-calendar.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index 2b439b726..54a3059b8 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Contacts website Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-google-contacts.ps1 [] +/Repos/PowerShell/scripts/open-google-contacts.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index 87620c7c4..1df4f5434 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Docs website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-google-docs.ps1 [] +/Repos/PowerShell/scripts/open-google-docs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 4b2248830..6a87855ae 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Earth website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-google-earth.ps1 [] +/Repos/PowerShell/scripts/open-google-earth.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index cb46d3526..146227aa6 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Mail website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-google-mail.ps1 [] +/Repos/PowerShell/scripts/open-google-mail.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index 8265cd320..04530098e 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Maps website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-google-maps.ps1 [] +/Repos/PowerShell/scripts/open-google-maps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index 5a1b139a5..2babdec6e 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google News website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-google-news.ps1 [] +/Repos/PowerShell/scripts/open-google-news.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index 76f46b032..4a3f9429b 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Photos website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-google-photos.ps1 [] +/Repos/PowerShell/scripts/open-google-photos.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index e20af2c5b..47b0f64b8 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Play website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-google-play.ps1 [] +/Repos/PowerShell/scripts/open-google-play.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index 98618f6e5..774d6b2b9 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Search website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-google-search.ps1 [] +/Repos/PowerShell/scripts/open-google-search.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index 70928fa4b..131742098 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Stadia website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-google-stadia.ps1 [] +/Repos/PowerShell/scripts/open-google-stadia.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index b78686242..e4068145e 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with the Google Translate websit Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-google-translate.ps1 [] +/Repos/PowerShell/scripts/open-google-translate.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index 7afb4ecec..e591f7521 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the user's home folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-home-folder.ps1 [] +/Repos/PowerShell/scripts/open-home-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 635c60dfc..815df2066 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -6,7 +6,7 @@ This script launches the Web browser with the Internet Archive website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-internet-archive.ps1 [] +/Repos/PowerShell/scripts/open-internet-archive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index f8c9cfa76..84903a76d 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -6,7 +6,7 @@ This script launches the Web browser with the Jitsi Meet website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-jitsi-meet.ps1 [] +/Repos/PowerShell/scripts/open-jitsi-meet.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index e265fd5fc..8f637f340 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the M: drive folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-m-drive.ps1 [] +/Repos/PowerShell/scripts/open-m-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index eb382b060..4ad4c6577 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -6,7 +6,7 @@ This script launches the Windows Screen Magnifier application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-magnifier.ps1 [] +/Repos/PowerShell/scripts/open-magnifier.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index ea5358b1e..2a1b19aa2 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -6,7 +6,7 @@ This script launches the Microsoft Paint application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-microsoft-paint.ps1 [] +/Repos/PowerShell/scripts/open-microsoft-paint.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index c81feaaf5..24235c5c1 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -6,7 +6,7 @@ This script launches the Microsoft Solitaire application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-microsoft-solitaire.ps1 [] +/Repos/PowerShell/scripts/open-microsoft-solitaire.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index f43392663..a0d3fef86 100644 --- a/docs/open-microsoft-store.md +++ b/docs/open-microsoft-store.md @@ -6,7 +6,7 @@ This script launches the Microsoft Store application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-microsoft-store.ps1 [] +/Repos/PowerShell/scripts/open-microsoft-store.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process ms-windows-store: exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index e7d8ea5c4..7c010ab49 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -6,7 +6,7 @@ This script launches the Microsoft Teams application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-microsoft-teams.ps1 [] +/Repos/PowerShell/scripts/open-microsoft-teams.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index 9d84dec3f..d871aae27 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the user's music folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-music-folder.ps1 [] +/Repos/PowerShell/scripts/open-music-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index d08a38c9b..79ef2eb6b 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -6,7 +6,7 @@ This script launches the Netflix application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-netflix.ps1 [] +/Repos/PowerShell/scripts/open-netflix.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process netflix: exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index 9cdf17d12..f325bf798 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -6,7 +6,7 @@ This PowerShell script launches the Notepad application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-notepad.ps1 [] +/Repos/PowerShell/scripts/open-notepad.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index 07a90eb8b..c9cfd0842 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -47,4 +47,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index 7d67aac0b..bc77cfd43 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -6,7 +6,7 @@ This script launches the Web browser with the Microsoft Office 365 website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-office-365.ps1 [] +/Repos/PowerShell/scripts/open-office-365.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index 32b0c747f..17d74045d 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the user's OneDrive folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-one-drive-folder.ps1 [] +/Repos/PowerShell/scripts/open-one-drive-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index 616b44d16..2dfc104d1 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -47,4 +47,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index ff136926c..dd92d72c8 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -6,7 +6,7 @@ This script launches the Paint 3D application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-paint-three-d.ps1 [] +/Repos/PowerShell/scripts/open-paint-three-d.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index 662d1a78f..e831caf20 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the user's pictures folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-pictures-folder.ps1 [] +/Repos/PowerShell/scripts/open-pictures-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index a86b00e55..feefcf414 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -7,7 +7,7 @@ NOTE: Documentation of mstsc at: https://learn.microsoft.com/en-us/windows-serve Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-rdp.ps1 [[-hostname] ] [] +/Repos/PowerShell/scripts/open-rdp.ps1 [[-hostname] ] [] -hostname @@ -64,4 +64,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index 93fbfdd41..ae49e6398 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the user's recycle bin folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-recycle-bin-folder.ps1 [] +/Repos/PowerShell/scripts/open-recycle-bin-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index 0e65413b3..1e1b00a35 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -6,7 +6,7 @@ This script launches the Remote Desktop application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-remote-desktop.ps1 [] +/Repos/PowerShell/scripts/open-remote-desktop.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 349da3b9f..4e7e32a49 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the user's Git repositories folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-repos-folder.ps1 [] +/Repos/PowerShell/scripts/open-repos-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index 5de68cc71..242c7c6be 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -6,7 +6,7 @@ This script launches the Screen Clip application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-screen-clip.ps1 [] +/Repos/PowerShell/scripts/open-screen-clip.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index af6d70001..80c091aef 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -6,7 +6,7 @@ This script launches the Screen Sketch application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-screen-sketch.ps1 [] +/Repos/PowerShell/scripts/open-screen-sketch.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-skype.md b/docs/open-skype.md index 46b69331f..d85548302 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -6,7 +6,7 @@ This script launches the Skype application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-skype.ps1 [] +/Repos/PowerShell/scripts/open-skype.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index 97f0b2b29..63cff7628 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -6,7 +6,7 @@ This script launches the Snipping Tool application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-snipping-tool.ps1 [] +/Repos/PowerShell/scripts/open-snipping-tool.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process SnippingTool.exe exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index d143fbba1..2c25816c3 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -6,7 +6,7 @@ This script launches the Web browser with Cloudflare's speed test website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-speed-test.ps1 [] +/Repos/PowerShell/scripts/open-speed-test.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index 230b0ec04..bf55ed938 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -6,7 +6,7 @@ This script launches the Spotify application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-spotify.ps1 [] +/Repos/PowerShell/scripts/open-spotify.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process spotify: exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index 4df086183..f94657eac 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -6,7 +6,7 @@ This script launches the Web browser with the Stack Overflow website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-stack-overflow.ps1 [] +/Repos/PowerShell/scripts/open-stack-overflow.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 3d68827f1..aa440ce1c 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -6,7 +6,7 @@ This script launches the Web browser with the Startpage website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-start-page.ps1 [] +/Repos/PowerShell/scripts/open-start-page.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index 5eef5f91e..451eb7f24 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -6,7 +6,7 @@ This script launches the Web browser with the OpenStreetMap website. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-street-map.ps1 [] +/Repos/PowerShell/scripts/open-street-map.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index 0d5e9025e..cbd34adcf 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -6,7 +6,7 @@ This script launches the Windows Task Manager application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-task-manager.ps1 [] +/Repos/PowerShell/scripts/open-task-manager.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index 229eb6712..4fc977c45 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -50,4 +50,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index d1e7f79d1..3ed7318fb 100644 --- a/docs/open-three-d-viewer.md +++ b/docs/open-three-d-viewer.md @@ -6,7 +6,7 @@ This script launches the 3D-Viewer application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-three-d-viewer.ps1 [] +/Repos/PowerShell/scripts/open-three-d-viewer.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process com.microsoft.3dviewer: exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index 6333bbafa..ce9d6c7e4 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -45,4 +45,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index 62bb5fac4..e8fa62bd7 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -6,7 +6,7 @@ This script launches the File Explorer with the user's videos folder. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-videos-folders.ps1 [] +/Repos/PowerShell/scripts/open-videos-folders.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index 9603e6d1c..7af2d34dd 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -47,4 +47,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index e20b5d6e4..cf1157b73 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -6,7 +6,7 @@ This PowerShell script launches the Windows Voice Recorder application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-voice-recorder.ps1 [] +/Repos/PowerShell/scripts/open-voice-recorder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 48f8de504..89e9a0370 100644 --- a/docs/open-vpn-settings.md +++ b/docs/open-vpn-settings.md @@ -6,7 +6,7 @@ This PowerShell script launches the VPN settings of Windows. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-vpn-settings.ps1 [] +/Repos/PowerShell/scripts/open-vpn-settings.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process ms-settings:network-vpn exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index f0aa6eae1..cf35b9709 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -6,7 +6,7 @@ This script launches the Windows Defender application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-windows-defender.ps1 [] +/Repos/PowerShell/scripts/open-windows-defender.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process windowsdefender: exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index 347614f0e..55e541e2f 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -6,7 +6,7 @@ This script launches the Windows Terminal application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-windows-terminal.ps1 [] +/Repos/PowerShell/scripts/open-windows-terminal.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process wt.exe exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/open-xing.md b/docs/open-xing.md index 4e4a365e9..1d7b09f78 100644 --- a/docs/open-xing.md +++ b/docs/open-xing.md @@ -6,7 +6,7 @@ This script launches the XING application. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/open-xing.ps1 [] +/Repos/PowerShell/scripts/open-xing.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process xing: exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index 64d853b1f..95f265928 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -7,7 +7,7 @@ NOTE: in case of merge conflicts the script stops immediately! Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/pick-commit.ps1 [[-CommitID] ] [[-CommitMessage] ] [[-Branches] ] [[-RepoDir] ] [] +/Repos/PowerShell/scripts/pick-commit.ps1 [[-CommitID] ] [[-CommitMessage] ] [[-Branches] ] [[-RepoDir] ] [] -CommitID Specifies the commit ID @@ -151,4 +151,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/ping-host.md b/docs/ping-host.md index 47149bf9b..e1fdece6c 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -6,14 +6,14 @@ This PowerShell script pings the given host. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/ping-host.ps1 [[-hostname] ] [] +/Repos/PowerShell/scripts/ping-host.ps1 [[-hostname] ] [] -hostname - Specifies the hostname or IP address to ping (windows.com by default) + Specifies the hostname or IP address to ping (x.com by default) Required? false Position? 1 - Default value windows.com + Default value x.com Accept pipeline input? false Accept wildcard characters? false @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./ping-host.ps1 x.com -✅ x.com is up and running (11ms latency). +✅ Host 'x.com' with 20ms latency at IP 104.244.42.1 is up 👍 ``` @@ -47,38 +47,37 @@ Script Content .DESCRIPTION This PowerShell script pings the given host. .PARAMETER hostname - Specifies the hostname or IP address to ping (windows.com by default) + Specifies the hostname or IP address to ping (x.com by default) .EXAMPLE PS> ./ping-host.ps1 x.com - ✅ x.com is up and running (11ms latency). + ✅ Host 'x.com' with 20ms latency at IP 104.244.42.1 is up 👍 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$hostname = "windows.com") - -function GetPingLatency([string]$hostname) { - $hostsArray = $hostname.Split(",") - $tasks = $hostsArray | foreach { (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,1500) } - [Threading.Tasks.Task]::WaitAll($tasks) - foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { return $ping.RoundtripTime } } - return 1500 -} +param([string]$hostname = "x.com") try { - [int]$latency = GetPingLatency($hostname) - if ($latency -eq 1500) { - Write-Host "⚠️ Host '$hostname' doesn't respond - check the connection or maybe the host is down." - exit 1 - } - Write-Host "✅ $hostname is up and running ($($latency)ms latency)." - exit 0 # success + $remoteHosts = $hostname.Split(",") + $tasks = $remoteHosts | foreach { (New-Object Net.NetworkInformation.Ping).SendPingAsync($_,5000) } + [Threading.Tasks.Task]::WaitAll($tasks) + foreach($ping in $tasks.Result) { + if ($ping.Status -eq "Success") { + Write-Output "✅ Host '$hostname' with $($ping.RoundtripTime)ms latency at IP $($ping.Address) is up 👍" + exit 0 # success + } else { + Write-Output "⚠️ No reply from '$hostname' (IP $($ping.Address)) - check the connection or maybe the host is down." + exit 1 + } + } + Write-Output "⚠️ No reply from host '$hostname' - check the connection or maybe the host is down." + exit 1 } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index e1809f7f4..7761be0f3 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -6,7 +6,7 @@ This PowerShell script measures the ping roundtrip times from the local computer Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/ping-internet.ps1 [[-hosts] ] [] +/Repos/PowerShell/scripts/ping-internet.ps1 [[-hosts] ] [] -hosts Specifies the hosts to ping, seperated by commata (10 Internet servers by default) @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./ping-internet.ps1 -✅ Internet ping takes 12ms (9...18ms range) +✅ Internet ping: 12ms (9...18ms range) ``` @@ -50,7 +50,7 @@ Script Content Specifies the hosts to ping, seperated by commata (10 Internet servers by default) .EXAMPLE PS> ./ping-internet.ps1 - ✅ Internet ping takes 12ms (9...18ms range) + ✅ Internet ping: 12ms (9...18ms range) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -82,12 +82,7 @@ try { Write-Host "✅ Online with $loss/$total ping loss and $($min)...$($max)ms latency - $($speed)ms average" } else { [float]$speed = [math]::round([float]$avg / [float]$success, 1) - if ($speed -lt 20.0) { $result = "excellent" - } elseif ($speed -lt 50.0) { $result = "good" - } elseif ($speed -lt 100.0) { $result = "average" - } elseif ($speed -lt 150.0) { $result = "okay" - } else { $result = "laggy" } - Write-Host "✅ Internet ping is $($result): $($speed)ms ($($min)-$($max)ms range)" + Write-Host "✅ Internet ping: $($speed)ms ($min...$($max)ms range)" } exit 0 # success } catch { @@ -96,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index bf4aff748..71d39d2f3 100644 --- a/docs/ping-local-devices.md +++ b/docs/ping-local-devices.md @@ -6,7 +6,7 @@ This PowerShell script pings devices in the local network and lists which one ar Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/ping-local-devices.ps1 [[-timeout] ] [] +/Repos/PowerShell/scripts/ping-local-devices.ps1 [[-timeout] ] [] -timeout @@ -58,7 +58,7 @@ param([int]$timeout = 600) # ms ping timeout try { - $names = @('accesspoint','AD','AP','amnesiac','archlinux','auriga','berlin','boston','brother','canon','castor','cisco','echodot','epson','epson2815','fedora','fireball','firewall','fritz.box','fritz.nas','fritz.powerline','fritz.repeater','gassensor','gateway','hippo','heizung','hodor','homemanager','io','iphone','jarvis','jenkins','LA','laptop','linux','jupiter','mars','mercury','miami','mobile','none','none-1','none-2','NY','o2.lte','octo','office','officepc','paris','PI','pixel-6a','PC','pluto','printer','proxy','R2D2','raspberry','raspi','rocket','rome','router','sentinel','server','shelly','shelly1','smartphone','smartwatch','soundbar','speedport.ip','sunnyboy','surface','switch','tablet','tau','tigercat','tolino','tux','TV','ubuntu','vega','venus','xrx','zeus') # sorted alphabetically + $names = @('accesspoint','AD','AP','amnesiac','archlinux','auriga','berlin','berry','boston','brother','canon','castor','cisco','echodot','epson','epson2815','fedora','fireball','firewall','fritz.box','fritz.nas','fritz.powerline','fritz.repeater','gassensor','gateway','hippo','heizung','hodor','homemanager','io','iphone','jarvis','jenkins','LA','laptop','linux','jupiter','mars','mercury','miami','mobile','nas','none','none-1','none-2','NY','o2.lte','octo','office','officepc','paris','PI','pixel-6a','PC','pluto','printer','proxy','R2D2','raspberry','raspi','rocket','rome','router','sentinel','server','shelly','shelly1','smartphone','smartwatch','soundbar','speedport.ip','synologynas','sunnyboy','surface','switch','tablet','tau','tigercat','tolino','tux','TV','ubuntu','vega','venus','xrx','zeus') # sorted alphabetically $queue = [System.Collections.Queue]::new() foreach($name in $names) { $ping = [System.Net.Networkinformation.Ping]::new() $queue.Enqueue( @{Host=$name;Ping=$ping;Async=$ping.SendPingAsync($name,$timeout)} ) @@ -81,4 +81,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index ca73cd78f..aab7cbc0e 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -6,7 +6,7 @@ This PowerShell script continuously shows the current weather conditions (simila Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/ping-weather.ps1 [[-Location] ] [[-UpdateInterval] ] [] +/Repos/PowerShell/scripts/ping-weather.ps1 [[-Location] ] [[-UpdateInterval] ] [] -Location Specifies the location to use (determined automatically per default) @@ -99,4 +99,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index 7369091ed..2ac4bfd6d 100644 --- a/docs/play-bee-sound.md +++ b/docs/play-bee-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a bee sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-bee-sound.ps1 [] +/Repos/PowerShell/scripts/play-bee-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index 7aa5f338e..32cbda9f2 100644 --- a/docs/play-beep-sound.md +++ b/docs/play-beep-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a short beep sound at 500Hz for 300ms. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-beep-sound.ps1 [] +/Repos/PowerShell/scripts/play-beep-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index c23b1d060..4a557f64a 100644 --- a/docs/play-big-ben.md +++ b/docs/play-big-ben.md @@ -6,7 +6,7 @@ This PowerShell script plays the sound of Big Ben. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-big-ben.ps1 [] +/Repos/PowerShell/scripts/play-big-ben.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index 00d6dd5f6..fa9a72abe 100644 --- a/docs/play-cat-sound.md +++ b/docs/play-cat-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a cat sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-cat-sound.ps1 [] +/Repos/PowerShell/scripts/play-cat-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-chess.md b/docs/play-chess.md index 445616d98..4bb24c622 100644 --- a/docs/play-chess.md +++ b/docs/play-chess.md @@ -9,7 +9,7 @@ they only appear when run in PowerShell ISE. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-chess.ps1 [] +/Repos/PowerShell/scripts/play-chess.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -1260,4 +1260,4 @@ while ($Script:gameStatus -eq [gamestatus]::ongoing) { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index f638df90a..69c57090d 100644 --- a/docs/play-cow-sound.md +++ b/docs/play-cow-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a cow sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-cow-sound.ps1 [] +/Repos/PowerShell/scripts/play-cow-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index 8e48205a0..d9d2819d6 100644 --- a/docs/play-dog-sound.md +++ b/docs/play-dog-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a dog sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-dog-sound.ps1 [] +/Repos/PowerShell/scripts/play-dog-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index bf9e7d5d0..1194ba9e5 100644 --- a/docs/play-donkey-sound.md +++ b/docs/play-donkey-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a donkey sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-donkey-sound.ps1 [] +/Repos/PowerShell/scripts/play-donkey-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index 77dea4441..43d97e92c 100644 --- a/docs/play-elephant-sound.md +++ b/docs/play-elephant-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays an elephant sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-elephant-sound.ps1 [] +/Repos/PowerShell/scripts/play-elephant-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index 59a105586..f2ced7918 100644 --- a/docs/play-elk-sound.md +++ b/docs/play-elk-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays an elk sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-elk-sound.ps1 [] +/Repos/PowerShell/scripts/play-elk-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-files.md b/docs/play-files.md index fc8d4bf96..19df6cdfd 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -1,15 +1,15 @@ The *play-files.ps1* Script =========================== -This PowerShell script plays the given audio files (supporting MP3 and WAV format). +This PowerShell script plays the given audio files (supporting .MP3 and .WAV format). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-files.ps1 [[-FilePattern] ] [] +/Repos/PowerShell/scripts/play-files.ps1 [[-filePattern] ] [] --FilePattern - Specifies the file pattern +-filePattern + Specifies the file pattern ('*' by default) Required? false Position? 1 @@ -25,7 +25,9 @@ Parameters Example ------- ```powershell -PS> ./play-files *.mp3 +PS> ./play-files.ps1 *.mp3 + ▶️ Playing '01 Sandy beaches - strong waves.mp3' (02:54) ... + ... ``` @@ -42,33 +44,41 @@ Script Content ```powershell <# .SYNOPSIS - Plays audio files (MP3 and WAV) + Plays audio files .DESCRIPTION - This PowerShell script plays the given audio files (supporting MP3 and WAV format). -.PARAMETER FilePattern - Specifies the file pattern + This PowerShell script plays the given audio files (supporting .MP3 and .WAV format). +.PARAMETER filePattern + Specifies the file pattern ('*' by default) .EXAMPLE - PS> ./play-files *.mp3 + PS> ./play-files.ps1 *.mp3 + ▶️ Playing '01 Sandy beaches - strong waves.mp3' (02:54) ... + ... .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$FilePattern = "*") +param([string]$filePattern = "*") try { - $Files = (get-childItem -path "$FilePattern" -attributes !Directory) - "Playing $($Files.Count) files ..." - foreach ($File in $Files) { - if ("$File" -like "*.mp3") { - & "$PSScriptRoot/play-mp3.ps1" "$File" + $stopWatch = [system.diagnostics.stopwatch]::startNew() + + $files = (Get-ChildItem -path "$filePattern" -attributes !Directory) + [int]$count = 0 + foreach ($file in $files) { + if ("$file" -like "*.mp3") { + & "$PSScriptRoot/play-mp3.ps1" "$file" + $count++ } elseif ("$File" -like "*.wav") { - & "$PSScriptRoot/play-mp3.ps1" "$File" + & "$PSScriptRoot/play-mp3.ps1" "$file" + $count++ } else { - "Skipping $File ..." + "Skipping $file (no audio file)..." } } + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Played $count audio files for $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -76,4 +86,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index a40576ec9..eabc82fd2 100644 --- a/docs/play-frog-sound.md +++ b/docs/play-frog-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a frog sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-frog-sound.ps1 [] +/Repos/PowerShell/scripts/play-frog-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index fe0393cb8..49c2d0133 100644 --- a/docs/play-goat-sound.md +++ b/docs/play-goat-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a goat sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-goat-sound.ps1 [] +/Repos/PowerShell/scripts/play-goat-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index 5ec3c3744..497540776 100644 --- a/docs/play-gorilla-sound.md +++ b/docs/play-gorilla-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a gorilla sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-gorilla-sound.ps1 [] +/Repos/PowerShell/scripts/play-gorilla-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index ebdd1619d..14563685c 100644 --- a/docs/play-happy-birthday.md +++ b/docs/play-happy-birthday.md @@ -6,7 +6,7 @@ This PowerShell script plays the famous Happy Birthday song. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-happy-birthday.ps1 [] +/Repos/PowerShell/scripts/play-happy-birthday.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -79,4 +79,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index ed6f64881..144ef80b1 100644 --- a/docs/play-horse-sound.md +++ b/docs/play-horse-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a horse sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-horse-sound.ps1 [] +/Repos/PowerShell/scripts/play-horse-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index 598ea627c..326db8fed 100644 --- a/docs/play-imperial-march.md +++ b/docs/play-imperial-march.md @@ -6,7 +6,7 @@ This PowerShell script plays the Imperial March used in the Star Wars film serie Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-imperial-march.ps1 [] +/Repos/PowerShell/scripts/play-imperial-march.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index ab7955557..ba5619bc4 100644 --- a/docs/play-jingle-bells.md +++ b/docs/play-jingle-bells.md @@ -6,7 +6,7 @@ This PowerShell script plays the famous Jingle Bells song. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-jingle-bells.ps1 [] +/Repos/PowerShell/scripts/play-jingle-bells.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -201,4 +201,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index b038a3d92..6c7fbaeaf 100644 --- a/docs/play-lion-sound.md +++ b/docs/play-lion-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a lion sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-lion-sound.ps1 [] +/Repos/PowerShell/scripts/play-lion-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index 5188daace..e517264ff 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -6,7 +6,7 @@ This PowerShell script plays the given playlist (in .M3U file format) Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-m3u.ps1 [[-filename] ] [] +/Repos/PowerShell/scripts/play-m3u.ps1 [[-filename] ] [] -filename Specifies the path to the playlist @@ -25,7 +25,9 @@ Parameters Example ------- ```powershell -PS> ./play-m3u C:\MyPlaylist.m3u +PS> ./play-m3u.ps1 C:\MyPlaylist.m3u + ▶️ Playing '01 Sandy beach - strong waves.mp3' (02:54) ... + ... ``` @@ -42,13 +44,15 @@ Script Content ```powershell <# .SYNOPSIS - Plays a playlist (.M3U format) + Plays a .M3U playlist .DESCRIPTION This PowerShell script plays the given playlist (in .M3U file format) .PARAMETER filename Specifies the path to the playlist .EXAMPLE - PS> ./play-m3u C:\MyPlaylist.m3u + PS> ./play-m3u.ps1 C:\MyPlaylist.m3u + ▶️ Playing '01 Sandy beach - strong waves.mp3' (02:54) ... + ... .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -58,32 +62,20 @@ Script Content param([string]$filename = "") try { - if ($filename -eq "" ) { $filename = read-host "Enter the M3U playlist filename" } - - if (-not(test-path "$filename" -pathType leaf)) { throw "Can't access playlist file: $filename" } - $Lines = get-content $filename - - add-type -assemblyName presentationCore - $MediaPlayer = new-object system.windows.media.mediaplayer - - for ([int]$i=0; $i -lt $Lines.Count; $i++) { - $Line = $Lines[$i] - if ($Line[0] -eq "#") { continue } - if (-not(test-path "$Line" -pathType leaf)) { throw "Can't access audio file: $Line" } - $FullPath = (get-childItem "$Line").fullname - $filename = (get-item "$FullPath").name - do { - $MediaPlayer.open("$FullPath") - $Milliseconds = $MediaPlayer.NaturalDuration.TimeSpan.TotalMilliseconds - } until ($Milliseconds) - [int]$Minutes = $Milliseconds / 60000 - [int]$Seconds = ($Milliseconds / 1000) % 60 - "▶️Playing 🎵$filename ($($Minutes.ToString('00')):$($Seconds.ToString('00'))) ..." - $MediaPlayer.Volume = 1 - $MediaPlayer.play() - start-sleep -milliseconds $Milliseconds - $MediaPlayer.stop() - $MediaPlayer.close() + if ($filename -eq "" ) { $filename = Read-Host "Enter the path to the .M3U playlist file" } + + if (-not(Test-Path "$filename" -pathType leaf)) { throw "Can't access playlist file: $filename" } + $lines = Get-Content $filename + + Add-Type -assemblyName presentationCore + $MediaPlayer = New-Object system.windows.media.mediaplayer + + foreach ($line in $lines) { + if ($line[0] -eq "#") { continue } + if (-not(Test-Path "$line" -pathType leaf)) { throw "Can't access audio file: $line" } + $fullPath = (Get-ChildItem "$line").fullname + + & "$PSScriptRoot/play-mp3.ps1" $fullPath } exit 0 # success } catch { @@ -92,4 +84,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index abd34ac85..e09dcae7e 100644 --- a/docs/play-mission-impossible.md +++ b/docs/play-mission-impossible.md @@ -6,7 +6,7 @@ This PowerShell script plays the Mission Impossible theme. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-mission-impossible.ps1 [] +/Repos/PowerShell/scripts/play-mission-impossible.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index 436e0cd25..95e3a22c2 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -6,7 +6,7 @@ This PowerShell script plays the given sound file (MPEG-1 audio layer-3 file for Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-mp3.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/play-mp3.ps1 [[-path] ] [] -path Specifies the file path to the .MP3 file @@ -26,6 +26,7 @@ Example ------- ```powershell PS> ./play-mp3.ps1 C:\thunder.mp3 + ▶️ Playing 'thunder.mp3' (00:03) ... ``` @@ -49,6 +50,7 @@ Script Content Specifies the file path to the .MP3 file .EXAMPLE PS> ./play-mp3.ps1 C:\thunder.mp3 + ▶️ Playing 'thunder.mp3' (00:03) ... .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -75,16 +77,17 @@ try { [int]$minutes = $milliseconds / 60000 [int]$seconds = ($milliseconds / 1000) % 60 Write-Host " ▶️" -noNewline -foregroundColor green - Write-Host "Playing $filename for $($minutes.ToString('00')):$($seconds.ToString('00'))s..." + Write-Host "Playing '$filename' ($($minutes.ToString('00')):$($seconds.ToString('00'))) ..." $previousTitle = $host.ui.RawUI.WindowTitle $host.ui.RawUI.WindowTitle = "▶️ $filename" + $mediaPlayer.Volume = 1 $mediaPlayer.play() Start-Sleep -milliseconds $milliseconds - $mediaPlayer.stop() $mediaPlayer.close() + $host.ui.RawUI.WindowTitle = $previousTitle exit 0 # success } catch { @@ -93,4 +96,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index 38b771585..40cdac1d7 100644 --- a/docs/play-parrot-sound.md +++ b/docs/play-parrot-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a parrot sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-parrot-sound.ps1 [] +/Repos/PowerShell/scripts/play-parrot-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index 85b00de27..19f66b631 100644 --- a/docs/play-pig-sound.md +++ b/docs/play-pig-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a pig sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-pig-sound.ps1 [] +/Repos/PowerShell/scripts/play-pig-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-pong.md b/docs/play-pong.md index 08488fdbe..0336d4143 100644 --- a/docs/play-pong.md +++ b/docs/play-pong.md @@ -176,4 +176,4 @@ while ($true) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index d613ebf33..6257a9fce 100644 --- a/docs/play-rattlesnake-sound.md +++ b/docs/play-rattlesnake-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a rattlesnake sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-rattlesnake-sound.ps1 [] +/Repos/PowerShell/scripts/play-rattlesnake-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 993c40766..958ac6be1 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with YouTube playing Rick Astley Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-rick.ps1 [] +/Repos/PowerShell/scripts/play-rick.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -49,4 +49,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-snake.md b/docs/play-snake.md index ff8766761..1bc0f78f2 100644 --- a/docs/play-snake.md +++ b/docs/play-snake.md @@ -7,7 +7,7 @@ NOTE: use the arrow keys to control the snake Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-snake.ps1 [] +/Repos/PowerShell/scripts/play-snake.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -86,4 +86,4 @@ Start-Sleep -milliseconds 300 exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index 8af8063cc..18bbda0e8 100644 --- a/docs/play-super-mario.md +++ b/docs/play-super-mario.md @@ -6,7 +6,7 @@ This PowerShell script plays the Super Mario intro. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-super-mario.ps1 [] +/Repos/PowerShell/scripts/play-super-mario.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index 600a54f2c..1f0539ca1 100644 --- a/docs/play-system-sounds.md +++ b/docs/play-system-sounds.md @@ -21,18 +21,34 @@ Script Content .SYNOPSIS Plays all system sounds .DESCRIPTION - This PowerShell script plays all operating system sounds. + This PowerShell script plays all available system sounds. .EXAMPLE PS> ./play-system-sounds.ps1 - (listen and enjoy) + (listen and enjoy) .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +function GetPathToSystemMedia { + if ($IsLinux) { + throw "Not supported for Linux yet" + } elseif ($IsMacOS) { + throw "Not supported for MacOS yet" + } else { + $WinPath = Resolve-Path "$env:WINDIR" + if (-not(Test-Path "$WinPath" -pathType container)) { throw "Windows folder at 📂$WinPath doesn't exist" } + + $MediaPath = "$WinPath\Media" + if (-not(Test-Path "$MediaPath" -pathType container)) { throw "Windows media at 📂$MediaPath doesn't exist" } + + return $MediaPath + } +} + function PlaySoundFiles([string]$filePattern) { - $files = (Get-ChildItem "$filePattern") + $files = Get-ChildItem "$filePattern" foreach($file in $files) { & "$PSScriptRoot/play-mp3.ps1" "$file" Start-Sleep -milliseconds 500 @@ -40,14 +56,10 @@ function PlaySoundFiles([string]$filePattern) { } try { - if ($IsLinux -or $IsMacOS) { throw "Currently only supported for Windows" } - - $WinDir = Resolve-Path "$env:WINDIR" - if (-not(Test-Path "$WinDir" -pathType container)) { throw "Windows directory at 📂$Path doesn't exist" } - - Write-Host "`n Windows System Sounds at $WinDir\Media" -foregroundColor green - PlaySoundFiles "$WinDir\Media\*.wav" - PlaySoundFiles "$WinDir\Media\*\*.wav" + $path = GetPathToSystemMedia + Write-Host "`n S Y S T E M S O U N D S (at: $path)" -foregroundColor green + PlaySoundFiles "$path\*.wav" + PlaySoundFiles "$path\*\*.wav" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -55,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index 4c957db92..5a020d536 100644 --- a/docs/play-tetris-melody.md +++ b/docs/play-tetris-melody.md @@ -6,7 +6,7 @@ This PowerShell script plays the Tetris melody. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-tetris-melody.ps1 [] +/Repos/PowerShell/scripts/play-tetris-melody.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -161,4 +161,4 @@ Start-Sleep -milliseconds 500 exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index bdd61118e..08553e8f6 100644 --- a/docs/play-vulture-sound.md +++ b/docs/play-vulture-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a vulture sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-vulture-sound.ps1 [] +/Repos/PowerShell/scripts/play-vulture-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index a748419e2..21960f62a 100644 --- a/docs/play-wolf-sound.md +++ b/docs/play-wolf-sound.md @@ -6,7 +6,7 @@ This PowerShell script plays a wolf sound. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/play-wolf-sound.ps1 [] +/Repos/PowerShell/scripts/play-wolf-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/poweroff.md b/docs/poweroff.md index dd9056902..fb8d9da0e 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -6,7 +6,7 @@ This script halts the local computer immediately (needs admin rights). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/poweroff.ps1 [] +/Repos/PowerShell/scripts/poweroff.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/print-image.md b/docs/print-image.md index 92a302527..043471ff6 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -6,7 +6,7 @@ This PowerShell script shows the printer dialogue to print the given image file. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/print-image.ps1 [[-Path] ] [] +/Repos/PowerShell/scripts/print-image.ps1 [[-Path] ] [] -Path Specifies the path to the image file @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index 0565836d1..933a87d85 100644 --- a/docs/publish-to-ipfs.md +++ b/docs/publish-to-ipfs.md @@ -6,7 +6,7 @@ This script publishes the given files and folders to IPFS. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/publish-to-ipfs.ps1 [[-FilePattern] ] [[-HashList] ] [[-DF_Hashes] ] [] +/Repos/PowerShell/scripts/publish-to-ipfs.ps1 [[-FilePattern] ] [[-HashList] ] [[-DF_Hashes] ] [] -FilePattern Specifies the file pattern @@ -119,4 +119,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index 16746e80d..4d8c3f1d6 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -6,7 +6,7 @@ This PowerShell script pulls remote updates into a local Git repository (includi Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/pull-repo.ps1 [[-pathToRepo] ] [] +/Repos/PowerShell/scripts/pull-repo.ps1 [[-pathToRepo] ] [] -pathToRepo Specifies the file path to the local Git repository (default is working directory) @@ -100,4 +100,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index 933e59856..a170ea59b 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -6,7 +6,7 @@ This PowerShell script pulls updates into all Git repositories in a folder (incl Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/pull-repos.ps1 [[-parentDir] ] [] +/Repos/PowerShell/scripts/pull-repos.ps1 [[-parentDir] ] [] -parentDir Specifies the path to the parent folder @@ -28,7 +28,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 📂base256unicode... +⏳ (3/35) Pulling into 📂base256U... ... ``` @@ -55,7 +55,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 📂base256unicode... + ⏳ (3/35) Pulling into 📂base256U... ... .LINK https://github.com/fleschutz/PowerShell @@ -94,10 +94,10 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($failed -eq 0) { - "✅ Updated $numFolders repos at 📂$parentDir in $($elapsed)s." + "✅ Pulled into $numFolders repos at 📂$parentDir in $($elapsed)s." exit 0 # success } else { - "⚠️ Updated $numFolders repos at 📂$parentDir in $($elapsed)s but $failed failed!" + "⚠️ Pulled into $numFolders repos at 📂$parentDir in $($elapsed)s but $failed failed!" exit 1 } } catch { @@ -106,4 +106,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index 1a029a039..7daed4521 100644 --- a/docs/query-smart-data.md +++ b/docs/query-smart-data.md @@ -8,7 +8,7 @@ Queries the S.M.A.R.T. data of your HDD/SSD's and saves it to the current/given Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/query-smart-data.ps1 [[-Directory] ] [] +/Repos/PowerShell/scripts/query-smart-data.ps1 [[-Directory] ] [] -Directory Specifies the path to the target directory @@ -106,4 +106,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index 06269bef6..84232bc17 100644 --- a/docs/reboot-fritzbox.md +++ b/docs/reboot-fritzbox.md @@ -6,7 +6,7 @@ This PowerShell script reboots the FRITZ!Box device Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/reboot-fritzbox.ps1 [[-Username] ] [[-Password] ] [] +/Repos/PowerShell/scripts/reboot-fritzbox.ps1 [[-Username] ] [[-Password] ] [] -Username Specifies the user name @@ -152,4 +152,4 @@ echo $Result exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/reboot.md b/docs/reboot.md index e9daf65c6..751e5cd63 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -6,7 +6,7 @@ This PowerShell script reboots the local computer immediately (needs admin right Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/reboot.ps1 [] +/Repos/PowerShell/scripts/reboot.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/remember.md b/docs/remember.md index 98c681a1e..0234fcdf7 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -6,7 +6,7 @@ This PowerShell script saves the given text to 'Remember.csv' in your home folde Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/remember.ps1 [[-text1] ] [[-text2] ] [[-text3] ] [] +/Repos/PowerShell/scripts/remember.ps1 [[-text1] ] [[-text2] ] [[-text3] ] [] -text1 Specifies the text to memorize @@ -101,4 +101,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/remind-me.md b/docs/remind-me.md index 1ef5f0ed9..3dc75fd33 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -6,7 +6,7 @@ This PowerShell script creates a scheduled task that will display a popup messag Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/remind-me.ps1 [[-Message] ] [[-Time] ] [] +/Repos/PowerShell/scripts/remind-me.ps1 [[-Message] ] [[-Time] ] [] -Message @@ -88,4 +88,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/remove-dir-tree.md b/docs/remove-dir-tree.md index 5581e445c..4af0b1f15 100644 --- a/docs/remove-dir-tree.md +++ b/docs/remove-dir-tree.md @@ -6,7 +6,7 @@ This PowerShell script silently removes a directory tree recursively. Use it wit Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/remove-dir-tree.ps1 [[-pathToDirTree] ] [] +/Repos/PowerShell/scripts/remove-dir-tree.ps1 [[-pathToDirTree] ] [] -pathToDirTree Specifies the file path to the directory tree @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:59)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index db29c28f6..090f5552f 100644 --- a/docs/remove-empty-dirs.md +++ b/docs/remove-empty-dirs.md @@ -6,7 +6,7 @@ This PowerShell script removes all empty subfolders within a directory tree. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/remove-empty-dirs.ps1 [[-DirTree] ] [] +/Repos/PowerShell/scripts/remove-empty-dirs.ps1 [[-DirTree] ] [] -DirTree Specifies the path to the directory tree @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index 1eb7f1e2d..628f95c94 100644 --- a/docs/remove-old-dirs.md +++ b/docs/remove-old-dirs.md @@ -6,7 +6,7 @@ This PowerShell script removes any subfolder in a parent folder older than ] [[-numDays] ] [] +/Repos/PowerShell/scripts/remove-old-dirs.ps1 [[-path] ] [[-numDays] ] [] -path Specifies the file path to the parent folder @@ -40,7 +40,11 @@ PS> ./remove-old-dirs.ps1 C:\Temp 90 Notes ----- -Author: Markus Fleschutz +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell Script Content -------------- @@ -56,35 +60,35 @@ Script Content Specifies the number of days (1000 by default) .EXAMPLE PS> ./remove-old-dirs.ps1 C:\Temp 90 +.LINK + https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz + Author: Markus Fleschutz | License: CC0 #> param([string]$path = "", [int]$numDays = 1000) try { - $stopWatch = [system.diagnostics.stopwatch]::startNew() if ("$path" -eq "") { $path = Read-Host "Enter the file path to the parent folder" } + $stopWatch = [system.diagnostics.stopwatch]::startNew() if (!(Test-Path -Path "$path" -PathType container)) { throw "Given path doesn't exist - enter a valid path, please" } - Write-Host "⏳ Removing subfolders older than $numDays days in $path..." + Write-Host "⏳ Searching for subfolders at '$path' older than $numDays days..." + $numRemoved = $numSkipped = 0 $folders = Get-ChildItem -path "$path" -directory - $numRemoved = 0 - $count = 0 foreach ($folder in $folders) { [datetime]$folderDate = ($folder | Get-ItemProperty -Name LastWriteTime).LastWriteTime - $count++ if ($folderDate -lt (Get-Date).AddDays(-$numDays)) { - Write-Host "($($count)) Removing old '$folder'..." + Write-Host "Removing old '$folder'..." $fullPath = $folder | Select-Object -ExpandProperty FullName Remove-Item -path "$fullPath" -force -recurse $numRemoved++ } else { - Write-Host "($($count)) Skipping young '$folder'..." + $numSkipped++ } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Removed $numRemoved of $count subfolders older than $numDays days in $elapsed sec" + "✅ Removed $numRemoved subfolders older than $numDays days in $($elapsed)s ($numSkipped skipped)." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -92,4 +96,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 007eec7ab..413c7a8f1 100644 --- a/docs/remove-print-jobs.md +++ b/docs/remove-print-jobs.md @@ -6,7 +6,7 @@ This PowerShell script removes all print jobs from all printer devices. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/remove-print-jobs.ps1 [] +/Repos/PowerShell/scripts/remove-print-jobs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index bdefa892b..8a269a45b 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -6,7 +6,7 @@ This PowerShell script removes a Git tag, either locally, remote, or both. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/remove-tag.ps1 [[-TagName] ] [[-Mode] ] [[-RepoDir] ] [] +/Repos/PowerShell/scripts/remove-tag.ps1 [[-TagName] ] [[-Mode] ] [[-RepoDir] ] [] -TagName Specifies the Git tag name @@ -111,4 +111,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/remove-user.md b/docs/remove-user.md index 76b988b96..eda0cb7a8 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -6,7 +6,7 @@ This PowerShell script removes an existing user account including the home direc Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/remove-user.ps1 [[-username] ] [] +/Repos/PowerShell/scripts/remove-user.ps1 [[-username] ] [] -username @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index 1cee76b7c..32012475d 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 ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index 3fb1c29f2..23560a15d 100644 --- a/docs/replace-in-files.md +++ b/docs/replace-in-files.md @@ -6,7 +6,7 @@ This PowerShell script searches and replaces a pattern in the given files by the Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/replace-in-files.ps1 [[-pattern] ] [[-replacement] ] [[-filePattern] ] [] +/Repos/PowerShell/scripts/replace-in-files.ps1 [[-pattern] ] [[-replacement] ] [[-filePattern] ] [] -pattern Specifies the text pattern to search for (ask user by default) @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index e1d249c1f..53277e21f 100644 --- a/docs/restart-network-adapters.md +++ b/docs/restart-network-adapters.md @@ -6,7 +6,7 @@ This PowerShell script restarts all local network adapters (needs admin rights). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/restart-network-adapters.ps1 [] +/Repos/PowerShell/scripts/restart-network-adapters.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index 99b39e400..7dde79cf0 100644 --- a/docs/roll-a-dice.md +++ b/docs/roll-a-dice.md @@ -6,7 +6,7 @@ This PowerShell script rolls a dice and returns the number by text-to-speech (TT Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/roll-a-dice.ps1 [] +/Repos/PowerShell/scripts/roll-a-dice.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -51,4 +51,4 @@ $Number = "1", "2", "3", "4", "5", "6" | Get-Random exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index 39f3b86ac..5e55af6b9 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -6,7 +6,7 @@ This PowerShell script asks for credentials and saves them encrypted into a targ Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/save-credentials.ps1 [[-targetFile] ] [] +/Repos/PowerShell/scripts/save-credentials.ps1 [[-targetFile] ] [] -targetFile Specifies the target file ("~\my.credentials" by default) @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 6536041d0..53175ccc5 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -6,7 +6,7 @@ This PowerShell script takes a single screenshot and saves it into a target fold Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/save-screenshot.ps1 [[-TargetFolder] ] [] +/Repos/PowerShell/scripts/save-screenshot.ps1 [[-TargetFolder] ] [] -TargetFolder Specifies the target folder (the user's screenshots folder by default) @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index be723e844..bbd570c43 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -1,12 +1,12 @@ The *scan-folder.ps1* Script =========================== -This PowerShell script scans a directory tree for malware. Requires the installation of ESET or Windows Defender. +This PowerShell script scans a folder for malware (including subfolders). Requires ESET Endpoint Security or Windows Defender. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/scan-folder.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/scan-folder.ps1 [[-path] ] [] -path Specifies the file path to the folder (default is working directory). @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./scan-folder.ps1 C:\Windows -⏳ Scanning 📂C:\Windows with ESET Antivirus... +⏳ Scanning C:\Windows with ESET Endpoint Security... ... ``` @@ -44,14 +44,14 @@ Script Content ```powershell <# .SYNOPSIS - Scans a directory tree for malware + Scans a folder for malware .DESCRIPTION - This PowerShell script scans a directory tree for malware. Requires the installation of ESET or Windows Defender. + This PowerShell script scans a folder for malware (including subfolders). Requires ESET Endpoint Security or Windows Defender. .PARAMETER path Specifies the file path to the folder (default is working directory). .EXAMPLE PS> ./scan-folder.ps1 C:\Windows - ⏳ Scanning 📂C:\Windows with ESET Antivirus... + ⏳ Scanning C:\Windows with ESET Endpoint Security... ... .LINK https://github.com/fleschutz/PowerShell @@ -68,22 +68,20 @@ try { $path = Resolve-Path $path if (Test-Path "C:\Program Files\ESET\ESET Security\ecls.exe" -pathType leaf) { - - "⏳ Scanning 📂$path with ESET Antivirus..." + Write-Host "⏳ Scanning $path with ESET Endpoint Security..." & "C:\Program Files\ESET\ESET Security\ecls.exe" $path - if ($lastExitCode -ne 0) { throw "ESET Antivirus failed with exit code $lastExitCode - POTENTIAL DANGER!!!" } + if ($lastExitCode -ne 0) { throw "ESET Endpoibnt Security exited with code $lastExitCode - POTENTIAL THREAT !!!" } } elseif (Test-Path "C:\Program Files\Windows Defender\MpCmdRun.exe" -pathType leaf) { - - "⏳ Scanning 📂$path with Windows Defender..." + Write-Host "⏳ Scanning $path with Windows Defender..." & "C:\Program Files\Windows Defender\MpCmdRun.exe" -Scan -ScanType 2 -File $path - if ($lastExitCode -ne 0) { throw "Windows Defender failed with exit code $lastExitCode - POTENTIAL DANGER !!!" } + if ($lastExitCode -ne 0) { throw "Windows Defender exited with code $lastExitCode - POTENTIAL THREAT !!!" } } else { - throw "Found no ESET or Windows Defender - please install one." + throw "No ESET Endpoint Security or Windows Defender available - please install one." } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Scanned 📂$path in $($elapsed)s: No malware found." + Write-Host "✅ Scanned $path in $($elapsed)s: No malware found." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -91,4 +89,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/scan-network.md b/docs/scan-network.md index f10438ecc..0804e7ab4 100644 --- a/docs/scan-network.md +++ b/docs/scan-network.md @@ -32,4 +32,4 @@ $arguments = $arguments + " " + $targets Start-Process $location -ArgumentList $arguments -Wait ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index d61d02560..84dfb0fbf 100644 --- a/docs/scan-ports.md +++ b/docs/scan-ports.md @@ -6,7 +6,7 @@ This PowerShell script scans the network for open or closed ports. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/scan-ports.ps1 [] +/Repos/PowerShell/scripts/scan-ports.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ foreach($add in $range) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/search-filename.md b/docs/search-filename.md index 104c7ab9b..024eab799 100644 --- a/docs/search-filename.md +++ b/docs/search-filename.md @@ -7,7 +7,7 @@ After you pass in a root folder and a search term, the script will list all file Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/search-filename.ps1 [-path] [-term] [] +/Repos/PowerShell/scripts/search-filename.ps1 [-path] [-term] [] -path Specifies the path @@ -96,4 +96,4 @@ Search-Folder -FilePath $path -SearchTerm $term exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/search-files.md b/docs/search-files.md index fdf77fe71..9fdb7819c 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -6,7 +6,7 @@ This PowerShell script searches for the given text pattern in the given files. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/search-files.ps1 [[-textPattern] ] [[-filePattern] ] [] +/Repos/PowerShell/scripts/search-files.ps1 [[-textPattern] ] [[-filePattern] ] [] -textPattern Specifies the text pattern to search for @@ -98,4 +98,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/search-repo.md b/docs/search-repo.md index 61d214cf6..22d094fb6 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -6,7 +6,7 @@ This PowerShell script searches for the given text pattern in a Git repository. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/search-repo.ps1 [[-textPattern] ] [[-path] ] [] +/Repos/PowerShell/scripts/search-repo.ps1 [[-textPattern] ] [[-path] ] [] -textPattern Specifies the text pattern to search for @@ -91,4 +91,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/send-email.md b/docs/send-email.md index 5967b446e..9f5349f9a 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -6,7 +6,7 @@ This PowerShell script sends an email message. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/send-email.ps1 [[-From] ] [[-To] ] [[-Subject] ] [[-Body] ] [[-SMTPServer] ] [] +/Repos/PowerShell/scripts/send-email.ps1 [[-From] ] [[-To] ] [[-Subject] ] [[-Body] ] [[-SMTPServer] ] [] -From Specifies the sender email address @@ -121,4 +121,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index 77dc69d10..9c07cb533 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -6,7 +6,7 @@ This PowerShell script sends a TCP message to the given IP address and port. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/send-tcp.ps1 [[-TargetIP] ] [[-TargetPort] ] [[-Message] ] [] +/Repos/PowerShell/scripts/send-tcp.ps1 [[-TargetIP] ] [[-TargetPort] ] [[-Message] ] [] -TargetIP Specifies the target IP address @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/send-udp.md b/docs/send-udp.md index 7bf7f31e1..d5be41986 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -6,7 +6,7 @@ This PowerShell script sends a UDP datagram message to an IP address and port. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/send-udp.ps1 [[-TargetIP] ] [[-TargetPort] ] [[-Message] ] [] +/Repos/PowerShell/scripts/send-udp.ps1 [[-TargetIP] ] [[-TargetPort] ] [[-Message] ] [] -TargetIP Specifies the target IP address @@ -102,4 +102,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/set-timer.md b/docs/set-timer.md index d56bcec1a..2ed375781 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -6,7 +6,7 @@ This PowerShell script sets a timer for a countdown. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/set-timer.ps1 [[-Seconds] ] [] +/Repos/PowerShell/scripts/set-timer.ps1 [[-Seconds] ] [] -Seconds Specifies the number of seconds @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/set-volume.md b/docs/set-volume.md index 33faa72dd..f8c500f99 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -6,7 +6,7 @@ This PowerShell script sets the audio volume to the given value in percent (0..1 Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/set-volume.ps1 [-percent] [] +/Repos/PowerShell/scripts/set-volume.ps1 [-percent] [] -percent Specifies the volume in percent (0..100) @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index 2149b763e..d9f7f57da 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -6,7 +6,7 @@ This PowerShell script sets the given image file as desktop wallpaper (.JPG or . Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/set-wallpaper.ps1 [[-ImageFile] ] [[-Style] ] [] +/Repos/PowerShell/scripts/set-wallpaper.ps1 [[-ImageFile] ] [[-Style] ] [] -ImageFile Specifies the path to the image file @@ -122,4 +122,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index eb8a68c4e..1864e9d8e 100644 --- a/docs/show-lightnings.md +++ b/docs/show-lightnings.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser and shows lightnings in OpenStre Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/show-lightnings.ps1 [] +/Repos/PowerShell/scripts/show-lightnings.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index 464900060..b38ac9ea0 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 ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/show-notification.md b/docs/show-notification.md index f758d9f33..aa793c701 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -6,7 +6,7 @@ This PowerShell script shows a toast-message notification for the Windows Notifi Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/show-notification.ps1 [[-text] ] [[-title] ] [[-duration] ] [] +/Repos/PowerShell/scripts/show-notification.ps1 [[-text] ] [[-title] ] [[-duration] ] [] -text Specifies the text to show ('Hello World' by default) @@ -96,4 +96,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index b63f78044..64d481870 100644 --- a/docs/show-traffic.md +++ b/docs/show-traffic.md @@ -6,7 +6,7 @@ This PowerShell script launches the Web browser with MSN showing the current tra Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/show-traffic.ps1 [] +/Repos/PowerShell/scripts/show-traffic.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index 94e3d48d6..80e672858 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -6,7 +6,7 @@ This PowerShell script simulates the human presence against burglars. It switche Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/simulate-presence.ps1 [[-IPaddress] ] [] +/Repos/PowerShell/scripts/simulate-presence.ps1 [[-IPaddress] ] [] -IPaddress Specifies the IP address of the Shelly1 device @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index e5f161077..2e08a2760 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -7,7 +7,7 @@ to a CSV table for analysis (use query-smart-data.ps1 to generate those JSON fil Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/smart-data2csv.ps1 [[-Directory] ] [] +/Repos/PowerShell/scripts/smart-data2csv.ps1 [[-Directory] ] [] -Directory Specifies the path to the directory @@ -141,4 +141,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 8a6460ddb..01fd44c47 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with an Arabic text-to-speech (TTS) Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-arabic.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-arabic.ps1 [[-text] ] [] -text Specifies the Arabic text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index 2c677c056..2d1d14019 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -1,19 +1,19 @@ The *speak-checklist.ps1* Script =========================== -This PowerShell script speaks the given checklist by text-to-speech (TTS). +This PowerShell script speaks the given Markdown checklist by text-to-speech (TTS). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-checklist.ps1 [[-Name] ] [] +/Repos/PowerShell/scripts/speak-checklist.ps1 [[-name] ] [] --Name +-name Specifies the name of the checklist Required? false Position? 1 - Default value + Default value handwashing Accept pipeline input? false Accept wildcard characters? false @@ -25,7 +25,7 @@ Parameters Example ------- ```powershell -PS> ./speak-checklist.ps1 +PS> ./speak-checklist.judge yiips1 handwashing ``` @@ -44,33 +44,50 @@ Script Content .SYNOPSIS Speaks a checklist by text-to-speech .DESCRIPTION - This PowerShell script speaks the given checklist by text-to-speech (TTS). -.PARAMETER Name + This PowerShell script speaks the given Markdown checklist by text-to-speech (TTS). +.PARAMETER name Specifies the name of the checklist .EXAMPLE - PS> ./speak-checklist.ps1 + PS> ./speak-checklist.judge yiips1 handwashing .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$Name = "") +param([string]$name = "handwashing") -try { - if ($Name -eq "") { $Name = Read-Host "Enter the name of the checklist" } +function WaitForCheck { + $engine = New-Object -typeName System.Speech.Recognition.SpeechRecognitionEngine + $grammar = New-Object -typeName System.Speech.Recognition.GrammarBuilder + $grammar.Append("check"); + $engine.LoadGrammar($grammar); + $engine.SetInputToDefaultAudioDevice(); + do { $got = $engine.Recognize() } while ("$($got.text)" -ne "check") +} - $Lines = Get-Content -path "$PSScriptRoot/../data/checklists/$Name.txt" - clear-host - $Step = 1 - foreach($Line in $Lines) { - if ($Line -like "HEAD*") { & "$PSScriptRoot/write-big.ps1" "$($Line.substring(5))"; continue } +try { + Add-Type -AssemblyName System.Speech + if ($name -eq "") { $name = Read-Host "Enter the name of the checklist" } - "" - & "$PSScriptRoot/speak-english.ps1" "$($Step). $Line" - $Dummy = Read-Host " Say or press to continue" - $Step++ + $stopWatch = [system.diagnostics.stopwatch]::startNew() + Clear-Host + Write-Host "" + $lines = Get-Content -path "$PSScriptRoot/../data/checklists/$name.md" + $headline = "" + foreach($line in $lines) { + if ($line -match "- \[ \].*") { + Write-Host "`n✅ $($line.Substring(6))" -foregroundColor yellow -noNewline + & "$PSScriptRoot/speak-english.ps1" $($line.Substring(6)) + Write-Host " Say 'CHECK'..." + WaitForCheck + } else { + Write-Host $line + } } + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + Write-Host "`n✅ Checklist completed in $($elapsed)s." + & "$PSScriptRoot/speak-english.ps1" "You're done." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -78,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index 6c8143757..a2406a82e 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -6,7 +6,7 @@ This PowerShell script speaks a countdown by text-to-speech (TTS) starting from Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-countdown.ps1 [[-startNumber] ] [] +/Repos/PowerShell/scripts/speak-countdown.ps1 [[-startNumber] ] [] -startNumber Specifies the number to start from (10 by default) @@ -72,4 +72,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index 5750f5b4f..2b9ae5549 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Croatian text-to-speech (TTS Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-croatian.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-croatian.ps1 [[-text] ] [] -text Specifies the Croatian text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index a07e214ca..8711e7428 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Danish text-to-speech (TTS) Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-danish.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-danish.ps1 [[-text] ] [] -text Specifies the Danish text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index 595b40ff8..2569c0bd3 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Dutch text-to-speech (TTS) v Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-dutch.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-dutch.ps1 [[-text] ] [] -text Specifies the Dutch text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-english.md b/docs/speak-english.md index a81a2b7a6..8a4d6e251 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with an English text-to-speech (TTS Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-english.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-english.ps1 [[-text] ] [] -text Specifies the English text to speak @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index e270d9dc4..92e76eabf 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -6,7 +6,7 @@ This PowerShell script speaks the content of the given Epub file by text-to-spee Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-epub.ps1 [[-Filename] ] [] +/Repos/PowerShell/scripts/speak-epub.ps1 [[-Filename] ] [] -Filename Specifies the path to the Epub file @@ -139,4 +139,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index 7cef62b54..b82a056f3 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with an Esperanto text-to-speech (T Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-esperanto.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-esperanto.ps1 [[-text] ] [] -text Specifies the Esperanto text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-file.md b/docs/speak-file.md index f0d354450..d537c35fc 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -6,7 +6,7 @@ This PowerShell script speaks the content of the given text file by text-to-spee Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-file.ps1 [[-File] ] [] +/Repos/PowerShell/scripts/speak-file.ps1 [[-File] ] [] -File Specifies the path to the text file @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index 5807757af..691b61b07 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Finnish text-to-speech (TTS) Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-finnish.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-finnish.ps1 [[-text] ] [] -text Specifies the Finnish text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-french.md b/docs/speak-french.md index 2382d177e..3cad7f74e 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a French text-to-speech (TTS) Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-french.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-french.ps1 [[-text] ] [] -text Specifies the French text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-german.md b/docs/speak-german.md index f096f41ff..5756e7bb6 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a German text-to-speech (TTS) Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-german.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-german.ps1 [[-text] ] [] -text Specifies the German text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index 5fc315404..07d7b1db1 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Greek text-to-speech (TTS) v Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-greek.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-greek.ps1 [[-text] ] [] -text Specifies the Greek text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index e5971a633..4a1709410 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Hebrew text-to-speech (TTS) Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-hebrew.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-hebrew.ps1 [[-text] ] [] -text Specifies the Hebrew text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index 4569e3ed7..8bac237ee 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Hindi text-to-speech (TTS) v Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-hindi.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-hindi.ps1 [[-text] ] [] -text Specifies the Hindi text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index fbe2aace0..4caa4f3cc 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with an Italian text-to-speech (TTS Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-italian.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-italian.ps1 [[-text] ] [] -text Specifies the Italian text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index fdf13bc01..ea4a6c49f 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Japanese text-to-speech (TTS Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-japanese.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-japanese.ps1 [[-text] ] [] -text Specifies the Japanese text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index 1d3d5ba43..4035e4cca 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Korean text-to-speech (TTS) Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-korean.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-korean.ps1 [[-text] ] [] -text Specifies the Korean text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:00)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index 78c9f00bd..fcb0b7b86 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Latin text-to-speech (TTS) v Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-latin.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-latin.ps1 [[-text] ] [] -text Specifies the Latin text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index 1bd593dde..b74aeef66 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Mandarin text-to-speech (TTS Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-mandarin.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-mandarin.ps1 [[-text] ] [] -text Specifies the Mandarin text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index e69a54034..8a1383efb 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Norwegian text-to-speech (TT Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-norwegian.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-norwegian.ps1 [[-text] ] [] -text Specifies the Norwegian text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index b04ade6fc..0ad93b6cf 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Polish text-to-speech (TTS) Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-polish.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-polish.ps1 [[-text] ] [] -text Specifies the Polish text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index aff7ce3ee..ff8d2dae9 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Portuguese text-to-speech (T Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-portuguese.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-portuguese.ps1 [[-text] ] [] -text Specifies the Portuguese text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index a8e67e141..2e9d8c7e4 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -6,7 +6,7 @@ This PowerShell script speaks the text with a Russian text-to-speech (TTS) voice Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-russian.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-russian.ps1 [[-text] ] [] -text Specifies the Russian text @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index 5ce8567a9..c1f02c985 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Spanish text-to-speech (TTS) Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-spanish.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-spanish.ps1 [[-text] ] [] -text Specifies the Spanish text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index 823ce2cb5..2fab377c8 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Swedish text-to-speech (TTS) Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-swedish.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-swedish.ps1 [[-text] ] [] -text Specifies the Swedish text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-test.md b/docs/speak-test.md index b35ce4837..68a3859de 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-text.md b/docs/speak-text.md index d3bafda2d..d6c66aae7 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text by the default text-to-speech (TTS) Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-text.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-text.ps1 [[-text] ] [] -text Specifies the text to read @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index 9c7a65b34..13cc64cb4 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Thai text-to-speech (TTS) vo Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-thai.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-thai.ps1 [[-text] ] [] -text Specifies the Thai text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index c9396be54..9c7abe1af 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Turkish text-to-speech (TTS) Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-turkish.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-turkish.ps1 [[-text] ] [] -text Specifies the Turkish text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index 204438a4c..6b0736ba5 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -6,7 +6,7 @@ This PowerShell script speaks the given text with a Ukrainian text-to-speech (TT Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/speak-ukrainian.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/speak-ukrainian.ps1 [[-text] ] [] -text Specifies the Ukranian text to speak @@ -75,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/spell-word.md b/docs/spell-word.md index 918e1196a..f5bb881cf 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -6,10 +6,10 @@ This PowerShell script spells the given word by text-to-speech (TTS). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/spell-word.ps1 [[-word] ] [] +/Repos/PowerShell/scripts/spell-word.ps1 [[-word] ] [] -word - Specifies the word to spell + Specifies the word to spell (queried by default) Required? false Position? 1 @@ -25,7 +25,8 @@ Parameters Example ------- ```powershell -PS> ./spell-word +PS> ./spell-word.ps1 Yoda +(listen) ``` @@ -46,9 +47,10 @@ Script Content .DESCRIPTION This PowerShell script spells the given word by text-to-speech (TTS). .PARAMETER word - Specifies the word to spell + Specifies the word to spell (queried by default) .EXAMPLE - PS> ./spell-word + PS> ./spell-word.ps1 Yoda + (listen) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -58,15 +60,14 @@ Script Content param([string]$word = "") try { - if ($word -eq "" ) { $word = read-host "Enter word to spell" } + if ($word -eq "" ) { $word = Read-Host "Enter the word to spell" } - [char[]]$ArrayOfChars = $word.ToUpper() - $Reply = "" - foreach($Char in $ArrayOfChars) { - $Reply += $Char - $Reply += " " + [char[]]$array = $word.ToUpper() + $reply = "" + foreach($char in $array) { + $reply += $char + ", " } - & "$PSScriptRoot/speak-english.ps1" "$Reply" + & "$PSScriptRoot/speak-english.ps1" $reply exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -74,4 +75,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index 5258c6da1..ab0ac138d 100644 --- a/docs/start-ipfs-server.md +++ b/docs/start-ipfs-server.md @@ -6,7 +6,7 @@ This PowerShell script starts a local IPFS server as a daemon process. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/start-ipfs-server.ps1 [] +/Repos/PowerShell/scripts/start-ipfs-server.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -90,4 +90,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/suspend.md b/docs/suspend.md index 95e1a444c..2bb354767 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -6,7 +6,7 @@ This PowerShell script suspends the local computer immediately. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/suspend.ps1 [] +/Repos/PowerShell/scripts/suspend.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index cb636e786..c788a85f7 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -6,7 +6,7 @@ This PowerShell script switches to the given branch in a Git repository and also Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/switch-branch.ps1 [[-branchName] ] [[-pathToRepo] ] [] +/Repos/PowerShell/scripts/switch-branch.ps1 [[-branchName] ] [[-pathToRepo] ] [] -branchName Specifies the Git branch name to switch to @@ -126,4 +126,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index 532d88ea8..db6d8421a 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -6,7 +6,7 @@ This PowerShell script switches a Shelly1 device in the local network. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/switch-shelly1.ps1 [[-host] ] [[-turnMode] ] [[-timer] ] [] +/Repos/PowerShell/scripts/switch-shelly1.ps1 [[-host] ] [[-turnMode] ] [[-timer] ] [] -host Specifies either the hostname or IP address of the Shelly1 device @@ -94,4 +94,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index 519fde148..a455e4bf4 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -6,7 +6,7 @@ This PowerShell script switches automatically from tab to tab every seconds Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/switch-tabs.ps1 [[-timeInterval] ] [] +/Repos/PowerShell/scripts/switch-tabs.ps1 [[-timeInterval] ] [] -timeInterval Specifies the time interval in seconds (10sec per default) @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/sync-folder.md b/docs/sync-folder.md index b8bc9e53a..f56947a0d 100644 --- a/docs/sync-folder.md +++ b/docs/sync-folder.md @@ -8,7 +8,7 @@ IMPORTANT NOTE: Make sure the target path is correct because the content gets re Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/sync-folder.ps1 [[-sourcePath] ] [[-targetPath] ] [] +/Repos/PowerShell/scripts/sync-folder.ps1 [[-sourcePath] ] [[-targetPath] ] [] -sourcePath Specifies the path to the source folder @@ -96,4 +96,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index dbe7790bc..d6363511b 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -6,7 +6,7 @@ This PowerShell script synchronizes a local Git repository by pull and push (inc Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/sync-repo.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/sync-repo.ps1 [[-path] ] [] -path Specifies the path to the Git repository (current working directory by default) @@ -95,4 +95,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index a2b00a8e3..9593367bb 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -6,7 +6,7 @@ This PowerShell script selects a random Chuck Norris joke in Data/jokes.csv and Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/tell-joke.ps1 [] +/Repos/PowerShell/scripts/tell-joke.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index c720f1310..e9548bbae 100644 --- a/docs/tell-new-year.md +++ b/docs/tell-new-year.md @@ -6,7 +6,7 @@ This PowerShell script calculates the time until New Year and replies by text-to Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/tell-new-year.ps1 [] +/Repos/PowerShell/scripts/tell-new-year.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index 27ea07a2b..7106662ad 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -6,7 +6,7 @@ This PowerShell script selects a random quote from Data/quotes.csv and speaks it Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/tell-quote.ps1 [] +/Repos/PowerShell/scripts/tell-quote.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index ce79cf76e..70b515abf 100644 --- a/docs/toggle-caps-lock.md +++ b/docs/toggle-caps-lock.md @@ -6,7 +6,7 @@ This PowerShell script toggles the Caps Lock key state. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/toggle-caps-lock.ps1 [] +/Repos/PowerShell/scripts/toggle-caps-lock.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index 956db842e..fa8ed2060 100644 --- a/docs/toggle-num-lock.md +++ b/docs/toggle-num-lock.md @@ -6,7 +6,7 @@ This PowerShell script toggles the Num Lock key state. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/toggle-num-lock.ps1 [] +/Repos/PowerShell/scripts/toggle-num-lock.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index 3f5712a83..62f782079 100644 --- a/docs/toggle-scroll-lock.md +++ b/docs/toggle-scroll-lock.md @@ -6,7 +6,7 @@ This PowerShell script toggles the Scroll Lock key state. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/toggle-scroll-lock.ps1 [] +/Repos/PowerShell/scripts/toggle-scroll-lock.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/translate-file.md b/docs/translate-file.md index 153cf81c1..e6a9dd838 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -6,7 +6,7 @@ This PowerShell script translates the given text file into another language and Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/translate-file.ps1 [[-File] ] [[-SourceLang] ] [[-TargetLang] ] [] +/Repos/PowerShell/scripts/translate-file.ps1 [[-File] ] [[-SourceLang] ] [[-TargetLang] ] [] -File Specifies the path to the file to be translated @@ -108,4 +108,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/translate-files.md b/docs/translate-files.md index 711e6a318..f315050ca 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -6,7 +6,7 @@ This PowerShell script translates text files into multiple languages. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/translate-files.ps1 [[-filePattern] ] [] +/Repos/PowerShell/scripts/translate-files.ps1 [[-filePattern] ] [] -filePattern Specifies the file pattern of the text file(s) to be translated @@ -105,4 +105,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/translate-text.md b/docs/translate-text.md index 991073fa0..0bbcd14e5 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -6,7 +6,7 @@ This PowerShell script translates text into other languages. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/translate-text.ps1 [[-Text] ] [[-SourceLangCode] ] [[-TargetLangCode] ] [] +/Repos/PowerShell/scripts/translate-text.ps1 [[-Text] ] [[-SourceLangCode] ] [[-TargetLangCode] ] [] -Text Specifies the text to translate @@ -104,4 +104,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index bc2112961..72948fd91 100644 --- a/docs/turn-volume-down.md +++ b/docs/turn-volume-down.md @@ -6,7 +6,7 @@ This PowerShell script turns the audio volume down (-10% by default). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/turn-volume-down.ps1 [[-percent] ] [] +/Repos/PowerShell/scripts/turn-volume-down.ps1 [[-percent] ] [] -percent Specifies the percent number @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index 37100902d..47cc5a69c 100644 --- a/docs/turn-volume-fully-up.md +++ b/docs/turn-volume-fully-up.md @@ -6,7 +6,7 @@ This PowerShell script turns the audio volume fully up to 100%. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/turn-volume-fully-up.ps1 [] +/Repos/PowerShell/scripts/turn-volume-fully-up.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index 1524ebd08..7f03389a4 100644 --- a/docs/turn-volume-off.md +++ b/docs/turn-volume-off.md @@ -6,7 +6,7 @@ This PowerShell script mutes the default audio device immediately. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/turn-volume-off.ps1 [] +/Repos/PowerShell/scripts/turn-volume-off.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index 2ef811bb2..a7cdd9f5d 100644 --- a/docs/turn-volume-on.md +++ b/docs/turn-volume-on.md @@ -6,7 +6,7 @@ This PowerShell script immediately unmutes the audio output. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/turn-volume-on.ps1 [] +/Repos/PowerShell/scripts/turn-volume-on.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index e60569926..71c66702b 100644 --- a/docs/turn-volume-up.md +++ b/docs/turn-volume-up.md @@ -6,7 +6,7 @@ This PowerShell script turns the audio volume up (+10% by default). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/turn-volume-up.ps1 [[-percent] ] [] +/Repos/PowerShell/scripts/turn-volume-up.ps1 [[-percent] ] [] -percent Specifies the percent number @@ -69,4 +69,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index 6f21dfd89..3aa625d21 100644 --- a/docs/uninstall-all-apps.md +++ b/docs/uninstall-all-apps.md @@ -6,7 +6,7 @@ This PowerShell script uninstalls all applications from the local computer. Usef Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/uninstall-all-apps.ps1 [] +/Repos/PowerShell/scripts/uninstall-all-apps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index 07a606bc4..c5d410265 100644 --- a/docs/uninstall-bloatware.md +++ b/docs/uninstall-bloatware.md @@ -6,7 +6,7 @@ This PowerShell script uninstalls unnecessary software and applications. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/uninstall-bloatware.ps1 [] +/Repos/PowerShell/scripts/uninstall-bloatware.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -98,4 +98,4 @@ winget uninstall 'Prime Video for Windows' exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/uninstall-new-outlook.md b/docs/uninstall-new-outlook.md new file mode 100644 index 000000000..8e795462f --- /dev/null +++ b/docs/uninstall-new-outlook.md @@ -0,0 +1,60 @@ +The *uninstall-new-outlook.ps1* Script +=========================== + +This PowerShell script uninstalls the new Outlook for Windows application. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/uninstall-new-outlook.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./uninstall-new-outlook.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Uninstalls the new Outlook +.DESCRIPTION + This PowerShell script uninstalls the new Outlook for Windows application. +.EXAMPLE + PS> ./uninstall-new-outlook.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + "⏳ Uninstalling new Outlook for Windows..." + + Remove-AppxProvisionedPackage -AllUsers -Online -PackageName (Get-AppxPackage Microsoft.OutlookForWindows).PackageFullName + + "✅ New Outlook for Windows has been removed." + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/uninstall-outlook.md b/docs/uninstall-outlook.md new file mode 100644 index 000000000..29ade0226 --- /dev/null +++ b/docs/uninstall-outlook.md @@ -0,0 +1,60 @@ +The *uninstall-outlook.ps1* Script +=========================== + +This PowerShell script uninstalls Outlook for Windows. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/uninstall-outlook.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./uninstall-outlook.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Uninstalls Outlook +.DESCRIPTION + This PowerShell script uninstalls Outlook for Windows. +.EXAMPLE + PS> ./uninstall-outlook.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + "⏳ Uninstalling Outlook for Windows..." + + Remove-AppxPackage -AllUsers -Package (Get-AppxPackage Microsoft.OutlookForWindows).PackageFullName + + "✅ Outlook for Windows has been removed." + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index c738dde39..df77f0bc1 100644 --- a/docs/update-powershell-profile.md +++ b/docs/update-powershell-profile.md @@ -6,7 +6,7 @@ This PowerShell script write/overwrites the PowerShell profile of the current us Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/update-powershell-profile.ps1 [[-path] ] [] +/Repos/PowerShell/scripts/update-powershell-profile.ps1 [[-path] ] [] -path Specifies the path to the new profile ($PSScriptRoot/my-profile.ps1 by default) @@ -80,4 +80,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index f29c1bf95..9eae29033 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -6,7 +6,7 @@ This PowerShell script upgrades Ubuntu Linux to the latest (LTS) release. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/upgrade-ubuntu.ps1 [] +/Repos/PowerShell/scripts/upgrade-ubuntu.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -87,4 +87,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/upload-file.md b/docs/upload-file.md index 41aa207f1..ef8b2d3bf 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -6,7 +6,7 @@ This PowerShell script uploads a local file to a FTP server. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/upload-file.ps1 [[-File] ] [[-URL] ] [[-Username] ] [[-Password] ] [] +/Repos/PowerShell/scripts/upload-file.ps1 [[-File] ] [[-URL] ] [[-Username] ] [[-Password] ] [] -File Specifies the path to the local file @@ -145,4 +145,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index 21d1d8bcf..ecf5024a6 100644 --- a/docs/upload-to-dropbox.md +++ b/docs/upload-to-dropbox.md @@ -6,7 +6,7 @@ This PowerShell script uploads a local file to Dropbox. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/upload-to-dropbox.ps1 [-SourceFilePath] [] +/Repos/PowerShell/scripts/upload-to-dropbox.ps1 [-SourceFilePath] [] -SourceFilePath @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index 5955cd814..91f45682f 100644 --- a/docs/wake-up-host.md +++ b/docs/wake-up-host.md @@ -6,7 +6,7 @@ This PowerShell script sends a magic UDP packet to a computer to wake him up (re Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/wake-up-host.ps1 [[-macAddr] ] [[-ipAddr] ] [[-udpPort] ] [[-numTimes] ] [] +/Repos/PowerShell/scripts/wake-up-host.ps1 [[-macAddr] ] [[-ipAddr] ] [[-udpPort] ] [[-numTimes] ] [] -macAddr Specifies the host's MAC address (e.g. 11:22:33:44:55:66) @@ -18,7 +18,7 @@ Parameters Accept wildcard characters? false -ipAddr - Specifies the host's IP address or subnet address (e.g. 192.168.0.255) + Specifies the subnet address (e.g. 192.168.178.255) Required? false Position? 2 @@ -52,8 +52,8 @@ Parameters Example ------- ```powershell -PS> ./wake-up-host.ps1 11:22:33:44:55:66 192.168.100.100 -✅ Magic packet sent to IP 192.168.100.100, UDP port 9, 3x - wait a minute until the computer fully boots up. +PS> ./wake-up-host.ps1 11:22:33:44:55:66 192.168.100.255 +✅ Sent magic packet to 192.168.100.255, UDP port 9 (3x). The device is up in a minute. ``` @@ -76,14 +76,14 @@ Script Content .PARAMETER macAddr Specifies the host's MAC address (e.g. 11:22:33:44:55:66) .PARAMETER ipAddr - Specifies the host's IP address or subnet address (e.g. 192.168.0.255) + Specifies the subnet address (e.g. 192.168.178.255) .PARAMETER udpPort Specifies the UDP port (9 by default) .PARAMETER numTimes Specifies # of times to send the packet (3 by default) .EXAMPLE - PS> ./wake-up-host.ps1 11:22:33:44:55:66 192.168.100.100 - ✅ Magic packet sent to IP 192.168.100.100, UDP port 9, 3x - wait a minute until the computer fully boots up. + PS> ./wake-up-host.ps1 11:22:33:44:55:66 192.168.100.255 + ✅ Sent magic packet to 192.168.100.255, UDP port 9 (3x). The device is up in a minute. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -106,13 +106,13 @@ function Send-WOL { param([string]$macAddr, [string]$ipAddr, [int]$udpPort) try { if ($macAddr -eq "" ) { $macAddr = Read-Host "Enter the host's MAC address, e.g. 11:22:33:44:55:66" } - if ($ipAddr -eq "" ) { $ipAddr = Read-Host "Enter the host's IP or subnet address, e.g. 192.168.0.255" } + if ($ipAddr -eq "" ) { $ipAddr = Read-Host "Enter the subnet address, e.g. 192.168.178.255" } for ($i = 0; $i -lt $numTimes; $i++) { Send-WOL $macAddr.Trim() $ipAddr.Trim() $udpPort Start-Sleep -milliseconds 100 } - "✅ Magic packet sent to IP $ipAddr, UDP port $udpPort, $($numTimes)x - wait a minute until the computer fully boots up." + "✅ Sent magic packet to $ipAddr, UDP port $($udpPort) ($($numTimes)x). The device is up in a minute." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -120,4 +120,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/wake-up-human.md b/docs/wake-up-human.md new file mode 100644 index 000000000..98770670d --- /dev/null +++ b/docs/wake-up-human.md @@ -0,0 +1,55 @@ +The *wake-up-human.ps1* Script +=========================== + +This PowerShell script plays the sound of Big Ben to wake a human up. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/wake-up-human.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./wake-up-human.ps1 +(listen and enjoy) + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Wakes up an human +.DESCRIPTION + This PowerShell script plays the sound of Big Ben to wake a human up. +.EXAMPLE + PS> ./wake-up-human.ps1 + (listen and enjoy) +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +do { + & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/Big Ben.mp3" +} while ($true) + +``` + +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index d911715ae..c4cc36dc7 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -1,12 +1,12 @@ The *watch-commits.ps1* Script =========================== -This PowerShell script continuously lists the latest commit in a Git repository in real-time. +This PowerShell script continuously lists the latest commits in a Git repository in real-time. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/watch-commits.ps1 [[-pathToRepo] ] [[-updateInterval] ] [[-speed] ] [] +/Repos/PowerShell/scripts/watch-commits.ps1 [[-pathToRepo] ] [[-updateInterval] ] [[-speed] ] [] -pathToRepo Specifies the file path to the local Git repository. @@ -21,7 +21,7 @@ Parameters Required? false Position? 2 - Default value 30 + Default value 60 Accept pipeline input? false Accept wildcard characters? false @@ -29,7 +29,7 @@ Parameters Required? false Position? 3 - Default value 17 + Default value 10 Accept pipeline input? false Accept wildcard characters? false @@ -42,7 +42,12 @@ Example ------- ```powershell PS> ./watch-commits.ps1 -❇️ Updated general.csv by Markus Fleschutz (HEAD -> main, origin/main, origin/HEAD) + + + +TIME COMMIT +---- ------ +11:25 Updated general.csv by Markus Fleschutz (HEAD -> main, origin/main, origin/HEAD) ... ``` @@ -60,14 +65,17 @@ Script Content ```powershell <# .SYNOPSIS - Watch commits live. + Watch Git commits live. .DESCRIPTION - This PowerShell script continuously lists the latest commit in a Git repository in real-time. + This PowerShell script continuously lists the latest commits in a Git repository in real-time. .PARAMETER pathToRepo Specifies the file path to the local Git repository. .EXAMPLE PS> ./watch-commits.ps1 - ❇️ Updated general.csv by Markus Fleschutz (HEAD -> main, origin/main, origin/HEAD) + + TIME COMMIT + ---- ------ + 11:25 Updated general.csv by Markus Fleschutz (HEAD -> main, origin/main, origin/HEAD) ... .LINK https://github.com/fleschutz/PowerShell @@ -75,7 +83,7 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -param([string]$pathToRepo = "$PWD", [int]$updateInterval = 30, [int]$speed = 17) +param([string]$pathToRepo = "$PWD", [int]$updateInterval = 60, [int]$speed = 10) try { Write-Progress "Searching for Git executable..." @@ -86,9 +94,9 @@ try { if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access directory: $pathToRepo" } Write-Progress -completed "Done." - Write-Host "" - Write-Host "TIME COMMIT" - Write-Host "---- ------" + Write-Output "" + Write-Output "TIME COMMIT" + Write-Output "---- ------" $prevLine = "" $tzOffset = (Get-Timezone).BaseUtcOffset.TotalSeconds for (;;) { @@ -96,10 +104,9 @@ try { if ($lastExitCode -ne "0") { throw "'git fetch' failed" } $line = (git -C "$pathToRepo" log origin --format=format:'%at %s by %an%d' --max-count=1) - if ($line -eq $prevLine) { - Start-Sleep -seconds $updateInterval - continue - } + if ($lastExitCode -ne "0") { throw "'git log origin' failed" } + if ("$line" -eq "$prevLine") { Start-Sleep -seconds $updateInterval; continue } + $unixTimestamp = [int64]$line.Substring(0,10) $time = (Get-Date -day 1 -month 1 -year 1970 -hour 0 -minute 0 -second 0).AddSeconds($unixTimestamp) $time = $time.AddSeconds($tzOffset) @@ -115,4 +122,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/watch-file.md b/docs/watch-file.md index 4032bbfb1..05dcee6f5 100644 --- a/docs/watch-file.md +++ b/docs/watch-file.md @@ -64,4 +64,4 @@ function Watch-File { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/watch-host.md b/docs/watch-host.md new file mode 100644 index 000000000..9e2db2ab9 --- /dev/null +++ b/docs/watch-host.md @@ -0,0 +1,150 @@ +The *watch-host.ps1* Script +=========================== + +watch-host.ps1 + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Writes a value with unit and range +.DESCRIPTION + This PowerShell script writes the given value with the unit and the value range to the console. +.PARAMETER value + Specifies the value +.EXAMPLE + PS> ./write-value.ps1 95.0 "°C" 0 10 90 100 + [0--------95°C-100] +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +function GetCPUTemperature { + $temp = -300 # unsupported + if ($IsLinux) { + if (Test-Path "/sys/class/thermal/thermal_zone0/temp" -pathType leaf) { + [int]$IntTemp = Get-Content "/sys/class/thermal/thermal_zone0/temp" + $temp = [math]::round($IntTemp / 1000.0, 1) + } + } else { + $objects = Get-WmiObject -Query "SELECT * FROM Win32_PerfFormattedData_Counters_ThermalZoneInformation" -Namespace "root/CIMV2" + foreach ($object in $objects) { + $highPrec = $object.HighPrecisionTemperature + $temp = [math]::round($highPrec / 100.0, 1) + } + } + return $temp +} + +function GetUptime { + if ($IsLinux) { + $uptime = (Get-Uptime) + } else { + $lastBootTime = (Get-CimInstance Win32_OperatingSystem).LastBootUpTime + $uptime = New-TimeSpan -Start $lastBootTime -End (Get-Date) + } + return $uptime.Days +} + +function WriteValueInRange([float]$value, [string]$unit, [float]$redMin, [float]$yellowMin, [float]$yellowMax, [float]$redMax) { + $line = "------------------------------------------------" + $text = "[$redMin$($value)$unit $redMax]" + [float]$total = 20.0 - $text.Length + if ($value -gt $redMax) { + Write-Host "[$redMin$($line.Substring(0, $total))$redMax]" -noNewline + Write-Host "$($value)$unit " -noNewline -foregroundColor red + } elseif ($value -lt $redMin) { + Write-Host "$($value)$unit" -noNewline -foregroundColor red + Write-Host "[$redMin$($line.Substring(0, $total))$redMax] " -noNewline + } else { + [float]$leftSide = (($value - $redMin) * $total) / ($redMax - $redMin) + if ($leftSide -lt 1.0) { $leftSide = 1.0 } + if ($leftSide -gt ($total - 1.0)) { $leftSide = $total - 1.0 } + Write-Host "[$redMin$($line.Substring(0, $leftSide))" -noNewline + if (($value -lt $yellowMin) -or ($value -gt $yellowMax)) { + Write-Host "$($value)$unit" -noNewline -foregroundColor yellow + } else { + Write-Host "$($value)$unit" -noNewline -foregroundColor green + } + Write-Host "$($line.Substring(0, $total - $leftSide + 0.49))$redMax] " -noNewline + } +} + +try { + do { + [int]$DayOfYear = (Get-Date).DayofYear + [int]$Time = Get-Date -format "HHmm" + [int]$TimeZone = Get-Date -format "zz" + $CPUtemp = GetCPUTemperature + $numCores = $env:NUMBER_OF_PROCESSORS + $numProcesses = (Get-Process).Count + $load = "{0}" -f $(Get-WmiObject Win32_Processor | Measure-Object -Property LoadPercentage -Average | Select-Object -ExpandProperty Average) + $DriveDetails = Get-PSDrive C + $DiskUse = [math]::round($DriveDetails.Used / 1GB) + $DiskSize = [math]::round(($DriveDetails.Used + $DriveDetails.Free) / 1GB) + $numDaysUp = GetUptime + + if ($IsLinux) { + $result = $(free --mega | grep Swap:) + [int64]$total = $result.subString(5,14) + [int64]$used = $result.substring(20,13) + } else { + $items = Get-WmiObject -class "Win32_PageFileUsage" -namespace "root\CIMV2" -computername localhost + [int64]$total = [int64]$used = 0 + foreach ($item in $items) { + $total += $item.AllocatedBaseSize + $used += $item.CurrentUsage + + } + } + + Clear-Host + Write-Host "Host $env:COMPUTERNAME" + Write-Host "==================" + Write-Host "`n* DATE " -noNewline + WriteValueInRange $DayOfYear "" 0 0 366 366 + Write-Host "`n* TIME " -noNewline + WriteValueInRange $Time "" 0 0 2400 2400 + Write-Host "`n* ZONE " -noNewline + WriteValueInRange $TimeZone "" -23 -23 23 23 + if ($CPUtemp -ne -300) { + Write-Host "`n* CPU " -noNewline + WriteValueInRange $CPUtemp "°C" 0 10 80 100 + } + Write-Host "`n* CPU " -noNewline + WriteValueInRange $numCores " cores" 0 0 100 100 + Write-Host "`n* LOAD " -noNewline + WriteValueInRange $load "%" 0 0 90 100 + Write-Host "`n* PROC " -noNewline + WriteValueInRange $numProcesses "" 0 10 900 1000 + Write-Host "`n* SWAP " -noNewline + WriteValueInRange $used "GB" 0 0 ($total - 1) $total + Write-Host "`n* DISK " -noNewline + WriteValueInRange $DiskUse "GB" 0 0 ($DiskSize - 5) $DiskSize + Write-Host "`n* UP " -noNewline + WriteValueInRange $numDaysUp " days" 0 0 1000 1000 + + + Start-Sleep -milliseconds 5000 + } while ($true) +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/watch-news.md b/docs/watch-news.md index 56c955785..0cf045e8e 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -6,7 +6,7 @@ This PowerShell script continuously lists the latest headlines by using a RSS (R Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/watch-news.ps1 [[-URL] ] [[-timeInterval] ] [] +/Repos/PowerShell/scripts/watch-news.ps1 [[-URL] ] [[-timeInterval] ] [] -URL Specifies the URL to the RSS feed (Yahoo World News by default) @@ -38,8 +38,8 @@ PS> ./watch-news.ps1 -UTC HEADLINES (by: https://www.yahoo.com/news/world) - --- ------------------------------------------------ +UTC HEADLINES (source: https://www.yahoo.com/news/world) + --- --------- 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria ... @@ -70,8 +70,8 @@ Script Content .EXAMPLE PS> ./watch-news.ps1 - UTC HEADLINES (by: https://www.yahoo.com/news/world) - --- ------------------------------------------------ + UTC HEADLINES (source: https://www.yahoo.com/news/world) + --- --------- 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria ... .LINK @@ -89,7 +89,7 @@ function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp, [string]$ foreach($item in $items) { $pubDate = $item.pubDate if ($pubDate -le $latestTimestamp) { continue } - $title = $item.title + $title = $item.title -replace "â","'" $time = $pubDate.Substring(11, 5) Write-Host "$time $title$icon" Start-Sleep -milliseconds 500 @@ -102,10 +102,10 @@ try { [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content $title = $content.rss.channel.title.toUpper() $link = $content.rss.channel.link - Write-Host "`n UTC HEADLINES (by: " -noNewline + Write-Host "`n UTC HEADLINES (source: " -noNewline Write-Host $link -foregroundColor blue -noNewline Write-Host ")" - Write-Host " --- ------------------------------------------------" + Write-Host " --- ---------" $latestTimestamp = "2000-01-01" $icon = "" do { @@ -121,4 +121,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index 1cef1bc49..7ae2546b8 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -6,7 +6,7 @@ This PowerShell script pings the given host continously and shows the roundtrip Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/watch-ping.ps1 [[-hostname] ] [[-timeInterval] ] [] +/Repos/PowerShell/scripts/watch-ping.ps1 [[-hostname] ] [[-timeInterval] ] [] -hostname Specifies the hostname or IP address to ping (windows.com by default) @@ -135,4 +135,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/weather-report.md b/docs/weather-report.md index 63ee666a2..a911b3720 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -6,7 +6,7 @@ This PowerShell script lists the local weather report. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/weather-report.ps1 [[-GeoLocation] ] [] +/Repos/PowerShell/scripts/weather-report.ps1 [[-GeoLocation] ] [] -GeoLocation Specifies the geographic location to use (determine automatically by default) @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/weather.md b/docs/weather.md index fbc4144d0..4da02613e 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -6,7 +6,7 @@ This PowerShell script lists the current weather forecast. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/weather.ps1 [[-GeoLocation] ] [] +/Repos/PowerShell/scripts/weather.ps1 [[-GeoLocation] ] [] -GeoLocation Specifies the geographic location to use @@ -66,4 +66,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/what-is.md b/docs/what-is.md index 0953b9c95..310c43690 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -6,7 +6,7 @@ This PowerShell script queries the meaning of the given term/abbreviation/etc. a Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/what-is.ps1 [[-term] ] [] +/Repos/PowerShell/scripts/what-is.ps1 [[-term] ] [] -term Specifies the term to query @@ -83,4 +83,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/windefender.md b/docs/windefender.md index 73e7e59bc..93e30bb19 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -6,7 +6,7 @@ This script can enable / disable and show Windows defender real time monitoring! Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/windefender.ps1 [] +/Repos/PowerShell/scripts/windefender.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -82,4 +82,4 @@ break } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-animated.md b/docs/write-animated.md index 145436b77..90538397e 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -6,7 +6,7 @@ This PowerShell script writes text centered and animated to the console. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-animated.ps1 [[-text] ] [[-speed] ] [] +/Repos/PowerShell/scripts/write-animated.ps1 [[-text] ] [[-speed] ] [] -text Specifies the text line to write ("Welcome to PowerShell" by default) @@ -92,4 +92,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index 3149d550b..d27415656 100644 --- a/docs/write-ascii-image.md +++ b/docs/write-ascii-image.md @@ -61,4 +61,4 @@ WriteLine " '`--._,dd###pp='''" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:01)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-big.md b/docs/write-big.md index 043b1e220..95e9718db 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -6,7 +6,7 @@ This PowerShell script writes the given text in big letters. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-big.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/write-big.ps1 [[-text] ] [] -text Specifies the text to write ("Hello World" by default) @@ -471,4 +471,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-blue.md b/docs/write-blue.md index 7f7070958..65de74a88 100644 --- a/docs/write-blue.md +++ b/docs/write-blue.md @@ -6,7 +6,7 @@ This PowerShell script writes text in a blue foreground color. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-blue.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/write-blue.ps1 [[-text] ] [] -text Specifies the text to write @@ -64,4 +64,4 @@ write-host -foregroundColor blue "$text" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-braille.md b/docs/write-braille.md index 2f06a7e17..05a7af3da 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -6,7 +6,7 @@ This PowerShell script writes text in Braille. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-braille.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/write-braille.ps1 [[-text] ] [] -text Specifies the text to write @@ -408,4 +408,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-centered.md b/docs/write-centered.md index e8286947d..b8130faea 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -6,7 +6,7 @@ This PowerShell script writes the given text centered to the console. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-centered.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/write-centered.ps1 [[-text] ] [] -text Specifies the text to write @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index f18f86cf7..282958f51 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -7,7 +7,7 @@ NOTE: For proper sorting the Git commits should start with verbs such as 'Add', Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-changelog.ps1 [[-RepoDir] ] [] +/Repos/PowerShell/scripts/write-changelog.ps1 [[-RepoDir] ] [] -RepoDir Specifies the path to the local Git repository (default is current working dir) @@ -30,8 +30,8 @@ PS> ./write-changelog.ps1 -Changelog of PowerShell -======================= +Changelog of Repo 'PowerShell' +============================== ... ``` @@ -58,8 +58,8 @@ Script Content .EXAMPLE PS> ./write-changelog.ps1 - Changelog of PowerShell - ======================= + Changelog of Repo 'PowerShell' + ============================== ... .LINK https://github.com/fleschutz/PowerShell @@ -89,25 +89,22 @@ try { Write-Progress "(5/6) Sorting the Git commit messages..." $new = @() - $fixes = @() - $updates = @() + $improved = @() + $fixed = @() $various = @() foreach($commit in $commits) { if ($commit -like "New*") { $new += $commit } elseif ($commit -like "Add*") { $new += $commit } elseif ($commit -like "Create*") { $new += $commit - } elseif ($commit -like "Fix*") { $fixes += $commit - } elseif ($commit -like "Hotfix*") { $fixes += $commit - } elseif ($commit -like "Bugfix*") { $fixes += $commit - } elseif ($commit -like "Update*") { $updates += $commit - } elseif ($commit -like "Updating*") { $updates += $commit - } elseif ($commit -like "Updaate*") { $updates += $commit - } elseif ($commit -like "Adapt*") { $updates += $commit - } elseif ($commit -like "Improve*") { $updates += $commit - } elseif ($commit -like "Change*") { $updates += $commit - } elseif ($commit -like "Changing*") { $updates += $commit - } else { - $various += $commit + } elseif ($commit -like "Upda*") { $improved += $commit + } elseif ($commit -like "Adapt*") { $improved += $commit + } elseif ($commit -like "Improve*") { $improved += $commit + } elseif ($commit -like "Change*") { $improved += $commit + } elseif ($commit -like "Changing*") { $improved += $commit + } elseif ($commit -like "Fix*") { $fixed += $commit + } elseif ($commit -like "Hotfix*") { $fixed += $commit + } elseif ($commit -like "Bugfix*") { $fixed += $commit + } else { $various += $commit } } Write-Progress "(6/6) Listing all contributors..." @@ -116,8 +113,8 @@ try { $Today = (Get-Date).ToShortDateString() Write-Output " " - Write-Output "Changelog of $RepoDirName as of $Today" - Write-Output "======================================" + Write-Output "Changelog of Repo '$RepoDirName'" + Write-Output "================================" Write-Output " " Write-Output "🚀 New Features" Write-Output "---------------" @@ -125,18 +122,18 @@ try { Write-Output "* $c" } Write-Output " " - Write-Output "⚠️ Bug Fixes" - Write-Output "------------" - foreach($c in $fixes) { - Write-Output "* $c" - } - Write-Output " " - Write-Output "🎉 Updates" + Write-Output "🎉 Improved" Write-Output "----------" - foreach($c in $updates) { + foreach($c in $improved) { Write-Output "* $c" } Write-Output " " + Write-Output "⚠️ Fixed" + Write-Output "--------" + foreach($c in $fixed) { + Write-Output "* $c" + } + Write-Output " " Write-Output "🔦 Various" Write-Output "----------" foreach($c in $various) { @@ -148,6 +145,8 @@ try { foreach($c in $contributors) { Write-Output "* $c" } + Write-Output "" + Write-Output "Changelog as of $Today." exit 0 # success } catch { Write-Error $_.Exception.ToString() @@ -155,4 +154,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-chart.md b/docs/write-chart.md index 10503c585..d798c4fd5 100644 --- a/docs/write-chart.md +++ b/docs/write-chart.md @@ -68,4 +68,4 @@ WriteChartLine "Tom" 30.9 100.0 exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-clock.md b/docs/write-clock.md index 093e2d131..ce6e07f69 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -6,7 +6,7 @@ This PowerShell script writes the current time as ASCII clock. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-clock.ps1 [] +/Repos/PowerShell/scripts/write-clock.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -73,4 +73,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-code.md b/docs/write-code.md index 11dec392a..a30577eb7 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -6,7 +6,7 @@ This PowerShell script generates and writes PowerShell code on the console (no A Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-code.ps1 [[-color] ] [[-speed] ] [] +/Repos/PowerShell/scripts/write-code.ps1 [[-color] ] [[-speed] ] [] -color Specifies the text color to use ("green" by default) @@ -118,4 +118,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-credits.md b/docs/write-credits.md index 75344a81a..b842318b0 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -6,7 +6,7 @@ This PowerShell script writes the credits for the PowerShell script collection. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-credits.ps1 [] +/Repos/PowerShell/scripts/write-credits.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -76,4 +76,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-date.md b/docs/write-date.md index b57e326a1..20ba79078 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -6,7 +6,7 @@ This PowerShell script determines and writes the current date in US format. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-date.ps1 [] +/Repos/PowerShell/scripts/write-date.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index 3313363f2..21f1e44f0 100644 --- a/docs/write-fractal.md +++ b/docs/write-fractal.md @@ -79,4 +79,4 @@ while ($true) { exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-green.md b/docs/write-green.md index 1ea118eb6..59d1fc35e 100644 --- a/docs/write-green.md +++ b/docs/write-green.md @@ -6,7 +6,7 @@ This PowerShell script writes text in a green foreground color. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-green.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/write-green.ps1 [[-text] ] [] -text Specifies the text to write @@ -63,4 +63,4 @@ write-host -foregroundColor green "$text" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index 4e4ca1e1b..57b275802 100644 --- a/docs/write-hands-off.md +++ b/docs/write-hands-off.md @@ -6,7 +6,7 @@ This PowerShell script writes 'Hands Off' in BIG letters. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-hands-off.ps1 [] +/Repos/PowerShell/scripts/write-hands-off.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-headline.md b/docs/write-headline.md index 2c8098af9..a401accef 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -6,7 +6,7 @@ This PowerShell script writes the given text as a headline. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-headline.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/write-headline.ps1 [[-text] ] [] -text Specifies the text to write @@ -77,4 +77,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-help.md b/docs/write-help.md index ae57c885a..c33cc2e7d 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -47,7 +47,7 @@ try { White "████▄▄ ▄█▄▄ ▄█▄▄ █▀ ▀▀▀ ▀▄▀▄█▄▀████`n" White "████▀▄▄█▀█▄██ ▀ ▄▄▀ █▄█▀ ▀ ▄▀▀█▀█████ Video tutorials: "; Blue "https://www.youtube.com/results?search_query=PowerShell`n" White "█████ ▄▄█▄▄▀▄ ▀▄▀ ▄▄ ▀ ▀▀▀ ▀▄▄█▀████`n" - White "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████ Execute: 'Get-Help ' to display information about `n" + White "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████ Type 'Get-Help ' to display information about `n" White "████ ████▄▄ ▄█▄▄▄██ ▀ ▀▀▀▀▄ █▀████`n" White "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████ FAQ's: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md`n" White "████▄█▄███▄▄▀▄▄▄▀ ▄▄ ▄▀▄ ▄▄▄ ▀ ████`n" @@ -64,4 +64,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index e429994d8..8a15ad99b 100644 --- a/docs/write-in-emojis.md +++ b/docs/write-in-emojis.md @@ -6,7 +6,7 @@ This PowerShell script replaces certain words in the given text by Emojis and wr Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-in-emojis.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/write-in-emojis.ps1 [[-text] ] [] -text Specifies the text @@ -74,4 +74,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 0f3294b27..91286804c 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -6,7 +6,7 @@ This PowerShell script selects a random joke from Data/jokes.csv and writes it t Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-joke.ps1 [] +/Repos/PowerShell/scripts/write-joke.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-location.md b/docs/write-location.md index 24a61dbe9..3bc3d88a9 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -6,7 +6,7 @@ This PowerShell script determines the location and writes it to the console. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-location.ps1 [] +/Repos/PowerShell/scripts/write-location.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index caadf94ab..e6932c075 100644 --- a/docs/write-lowercase.md +++ b/docs/write-lowercase.md @@ -6,7 +6,7 @@ This PowerShell script writes the given text in lowercase letters. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-lowercase.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/write-lowercase.ps1 [[-text] ] [] -text Specifies the text to write @@ -65,4 +65,4 @@ Write-Output $text.ToLower() exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index 2a5f95249..df8980a8f 100644 --- a/docs/write-marquee.md +++ b/docs/write-marquee.md @@ -6,7 +6,7 @@ This PowerShell script writes the given text as marquee. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-marquee.ps1 [[-Text] ] [[-Speed] ] [] +/Repos/PowerShell/scripts/write-marquee.ps1 [[-Text] ] [[-Speed] ] [] -Text Specifies the text to write @@ -89,4 +89,4 @@ StartMarquee " exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index 4e6638700..2f9d45041 100644 --- a/docs/write-matrix.md +++ b/docs/write-matrix.md @@ -81,4 +81,4 @@ exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-moon.md b/docs/write-moon.md index cf07a702a..527c284d0 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -6,7 +6,7 @@ This PowerShell script writes the current moon phase to the console. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-moon.ps1 [] +/Repos/PowerShell/scripts/write-moon.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index 48f927c18..e2a0d2c92 100644 --- a/docs/write-morse-code.md +++ b/docs/write-morse-code.md @@ -6,7 +6,7 @@ This PowerShell script writes the given text in Morse code. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-morse-code.ps1 [[-text] ] [[-speed] ] [] +/Repos/PowerShell/scripts/write-morse-code.ps1 [[-text] ] [[-speed] ] [] -text Specifies the text to write @@ -153,4 +153,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-motd.md b/docs/write-motd.md index 3d3a0d2e9..7ccf68def 100644 --- a/docs/write-motd.md +++ b/docs/write-motd.md @@ -6,7 +6,7 @@ This PowerShell script writes the message of the day (MOTD). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-motd.ps1 [] +/Repos/PowerShell/scripts/write-motd.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -140,4 +140,4 @@ Write-Host " 'VEzjt:;;z>*`` " -ForegroundColor Yellow exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-pi.md b/docs/write-pi.md index a45849188..7da3a7db2 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -6,7 +6,7 @@ This PowerShell script calculates and writes the digits of the mathematical cons Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-pi.ps1 [[-digits] ] [] +/Repos/PowerShell/scripts/write-pi.ps1 [[-digits] ] [] -digits Specifies the number of digits to list (1000 by default) @@ -117,4 +117,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index 95d99f8ff..b30ca8cac 100644 --- a/docs/write-qr-code.md +++ b/docs/write-qr-code.md @@ -6,7 +6,7 @@ This PowerShell script writes "Hello World" as QR code to the console output. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-qr-code.ps1 [] +/Repos/PowerShell/scripts/write-qr-code.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ Write-Host " " -foregroundColor black -backgroundCol exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 78770e93e..480fc6d93 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -6,7 +6,7 @@ This PowerShell script selects a random quote from .../data/quotes.csv and write Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-quote.ps1 [] +/Repos/PowerShell/scripts/write-quote.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-red.md b/docs/write-red.md index 0838ac2e0..eace72911 100644 --- a/docs/write-red.md +++ b/docs/write-red.md @@ -6,7 +6,7 @@ This PowerShell script writes text in a red foreground color. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-red.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/write-red.ps1 [[-text] ] [] -text Specifies the text to write @@ -63,4 +63,4 @@ write-host -foregroundcolor red "$text" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index f72d92a39..596f87a44 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -6,7 +6,7 @@ This PowerShell script writes text encoded or decoded with ROT13. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-rot13.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/write-rot13.ps1 [[-text] ] [] -text Specifies the text to write @@ -82,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-shit.md b/docs/write-shit.md index 3c0041d0f..dea411a84 100644 --- a/docs/write-shit.md +++ b/docs/write-shit.md @@ -6,7 +6,7 @@ This PowerShell script writes shit to the console (fun). Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-shit.ps1 [] +/Repos/PowerShell/scripts/write-shit.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Write-Output "💩" exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index ac8931699..a983e6edd 100644 --- a/docs/write-sine-curves.md +++ b/docs/write-sine-curves.md @@ -6,7 +6,7 @@ This PowerShell script writes sine curves. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-sine-curves.ps1 [] +/Repos/PowerShell/scripts/write-sine-curves.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ Script Content } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-time.md b/docs/write-time.md index 86918bf91..6f9cdbedb 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -6,7 +6,7 @@ This PowerShell script queries the current time and writes it in US format to th Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-time.ps1 [] +/Repos/PowerShell/scripts/write-time.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index e26dfc638..3d28fe421 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -6,28 +6,19 @@ This PowerShell script writes the given text with the typewriter effect. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-typewriter.ps1 [[-text] ] [[-speed] ] [] +/Repos/PowerShell/scripts/write-typewriter.ps1 [[-text] ] [[-speed] ] [] -text - Specifies the text to write + Specifies the text to write (sample text by default) Required? false Position? 1 - Default value Hello World - ----------- - * PowerShell is powerful - fully control your computer - * PowerShell is cross-platform - available for Linux, Mac OS and Windows - * PowerShell is open-source and free - * PowerShell is easy to learn - * PowerShell is fully documented - - Thanks for watching - Markus + Default value Hello World, this is the PowerShell typewriter. Accept pipeline input? false Accept wildcard characters? false -speed - Specifies the speed (250 ms by default) + Specifies the speed (200 ms by default) Required? false Position? 2 @@ -43,7 +34,7 @@ Parameters Example ------- ```powershell -PS> ./write-typewriter "Hello World" +PS> ./write-typewriter.ps1 "Hello World" ``` @@ -60,28 +51,28 @@ Script Content ```powershell <# .SYNOPSIS - Writes text á la typewriter + Writes text like a typewriter .DESCRIPTION This PowerShell script writes the given text with the typewriter effect. .PARAMETER text - Specifies the text to write + Specifies the text to write (sample text by default) .PARAMETER speed - Specifies the speed (250 ms by default) + Specifies the speed (200 ms by default) .EXAMPLE - PS> ./write-typewriter "Hello World" + PS> ./write-typewriter.ps1 "Hello World" .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$text = "`nHello World`n-----------`n* PowerShell is powerful - fully control your computer`n* PowerShell is cross-platform - available for Linux, Mac OS and Windows`n* PowerShell is open-source and free`n* PowerShell is easy to learn`n* PowerShell is fully documented`n`nThanks for watching`nMarkus`n", [int]$speed = 200) # in milliseconds +param([string]$text = "Hello World, this is the PowerShell typewriter.", [int]$speed = 200) # in milliseconds try { $Random = New-Object System.Random $text -split '' | ForEach-Object { - Write-Host -noNewline $_ - Start-Sleep -milliseconds $(1 + $Random.Next($speed)) + Write-Host $_ -noNewline + Start-Sleep -milliseconds $Random.Next($speed) } Write-Host "" exit 0 # success @@ -91,4 +82,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index ef831a6c4..1e2589835 100644 --- a/docs/write-uppercase.md +++ b/docs/write-uppercase.md @@ -6,7 +6,7 @@ This PowerShell script writes the given text in uppercase letters. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-uppercase.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/write-uppercase.ps1 [[-text] ] [] -text Specifies the text to write (ask user by default) @@ -65,4 +65,4 @@ Write-Output $text.ToUpper() exit 0 # success ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-value.md b/docs/write-value.md new file mode 100644 index 000000000..fdf557911 --- /dev/null +++ b/docs/write-value.md @@ -0,0 +1,150 @@ +The *write-value.ps1* Script +=========================== + +This PowerShell script writes the given value with the unit and the value range to the console. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/write-value.ps1 [[-value] ] [[-unit] ] [[-redMin] ] [[-yellowMin] ] [[-yellowMax] ] [[-redMax] ] [] + +-value + Specifies the value + + Required? false + Position? 1 + Default value 0.5 + Accept pipeline input? false + Accept wildcard characters? false + +-unit + + Required? false + Position? 2 + Default value Mach + Accept pipeline input? false + Accept wildcard characters? false + +-redMin + + Required? false + Position? 3 + Default value 0 + Accept pipeline input? false + Accept wildcard characters? false + +-yellowMin + + Required? false + Position? 4 + Default value 0 + Accept pipeline input? false + Accept wildcard characters? false + +-yellowMax + + Required? false + Position? 5 + Default value 0 + Accept pipeline input? false + Accept wildcard characters? false + +-redMax + + Required? false + Position? 6 + Default value 0 + Accept pipeline input? false + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./write-value.ps1 95.0 "°C" 0 10 90 100 +[0--------95°C-100] + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Writes a value with unit and range +.DESCRIPTION + This PowerShell script writes the given value with the unit and the value range to the console. +.PARAMETER value + Specifies the value +.EXAMPLE + PS> ./write-value.ps1 95.0 "°C" 0 10 90 100 + [0--------95°C-100] +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([float]$value = 0.5, [string]$unit = "Mach", [float]$redMin, [float]$yellowMin, [float]$yellowMax, [float]$redMax) + +function WriteValueInRange([float]$value, [string]$unit, [float]$redMin, [float]$yellowMin, [float]$yellowMax, [float]$redMax) { + $line = "------------------------------------------------" + $text = "[$redMin$($value)$unit $redMax]" + [float]$total = 20.0 - $text.Length + if ($value -gt $redMax) { + Write-Host "[$redMin$($line.Substring(0, $total))$redMax]" -noNewline + Write-Host "$($value)$unit " -noNewline -foregroundColor red + } elseif ($value -lt $redMin) { + Write-Host "$($value)$unit" -noNewline -foregroundColor red + Write-Host "[$redMin$($line.Substring(0, $total))$redMax] " -noNewline + } else { + [float]$leftSide = (($value - $redMin) * $total) / ($redMax - $redMin) + if ($leftSide -lt 1.0) { $leftSide = 1.0 } + if ($leftSide -gt ($total - 1.0)) { $leftSide = $total - 1.0 } + Write-Host "[$redMin$($line.Substring(0, $leftSide))" -noNewline + if (($value -le $yellowMin) -or ($value -ge $yellowMax)) { + Write-Host "$($value)$unit" -noNewline -foregroundColor yellow + } else { + Write-Host "$($value)$unit" -noNewline -foregroundColor green + } + Write-Host "$($line.Substring(0, $total - $leftSide + 0.49))$redMax] " -noNewline + } +} + +WriteValueInRange -3.5 "°C" 0 10 90 100 +Write-Host "CPU too cold" + +WriteValueInRange 5 "°C" 0 10 90 100 +Write-Host "CPU quite cold" + +WriteValueInRange 15 "°C" 0 10 90 100 +Write-Host "OK" + +WriteValueInRange 50 "°C" 0 10 90 100 +Write-Host "OK" + +WriteValueInRange 70 "°C" 0 10 90 100 +Write-Host "OK" + +WriteValueInRange 95 "°C" 0 10 90 100 +Write-Host "CPU quite hot " + +WriteValueInRange 110 "°C" 0 10 90 100 +Write-Host "CPU too hot " + +exit 0 # success +``` + +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index 77067a80c..81d3d7836 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -6,7 +6,7 @@ This PowerShell script writes text in vertical direction. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-vertical.ps1 [[-text] ] [] +/Repos/PowerShell/scripts/write-vertical.ps1 [[-text] ] [] -text Specifies the text to write @@ -71,4 +71,4 @@ try { } ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md index 99edb87cd..1b1bec58e 100644 --- a/docs/write-xmas-tree.md +++ b/docs/write-xmas-tree.md @@ -6,7 +6,7 @@ This PowerShell script writes a christmas tree to the terminal. Parameters ---------- ```powershell -/home/markus/Repos/PowerShell/scripts/write-xmas-tree.ps1 [[-Size] ] [[-XPos] ] [[-colors] ] [[-Idx] ] [[-count] ] [[-duration] ] [] +/Repos/PowerShell/scripts/write-xmas-tree.ps1 [[-Size] ] [[-XPos] ] [[-colors] ] [[-Idx] ] [[-count] ] [[-duration] ] [] -Size @@ -126,4 +126,4 @@ do { ``` -*(generated by convert-ps2md.ps1 as of 11/20/2024 11:52:02)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* diff --git a/scripts/convert-ps2md.ps1 b/scripts/convert-ps2md.ps1 index 308be3e38..663718fa7 100755 --- a/scripts/convert-ps2md.ps1 +++ b/scripts/convert-ps2md.ps1 @@ -136,7 +136,7 @@ try { "``````" "" $now = [datetime]::Now - "*(generated by convert-ps2md.ps1 as of $now)*" + "*(page generated by convert-ps2md.ps1 as of $now)*" } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 From ba6f1594c850d830e9f205941760cb00eb0db557 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 17 Jan 2025 08:37:30 +0100 Subject: [PATCH 152/737] Updated the manuals --- docs/add-firewall-rules.md | 2 +- docs/alert.md | 2 +- docs/build-repo.md | 2 +- docs/build-repos.md | 2 +- docs/cd-autostart.md | 2 +- docs/cd-crashdumps.md | 2 +- docs/cd-desktop.md | 2 +- docs/cd-docs.md | 2 +- docs/cd-downloads.md | 2 +- docs/cd-dropbox.md | 2 +- docs/cd-etc.md | 2 +- docs/cd-fonts.md | 2 +- docs/cd-home.md | 2 +- docs/cd-jenkins.md | 2 +- docs/cd-logs.md | 2 +- docs/cd-music.md | 2 +- docs/cd-nextcloud.md | 2 +- docs/cd-onedrive.md | 2 +- docs/cd-pics.md | 2 +- docs/cd-public.md | 2 +- docs/cd-recent.md | 2 +- docs/cd-recycle-bin.md | 2 +- docs/cd-repo.md | 2 +- docs/cd-repos.md | 2 +- docs/cd-root.md | 2 +- docs/cd-screenshots.md | 2 +- docs/cd-scripts.md | 2 +- docs/cd-ssh.md | 2 +- docs/cd-temp.md | 2 +- docs/cd-templates.md | 2 +- 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 | 2 +- docs/cd-videos.md | 2 +- docs/cd-windows.md | 2 +- 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 | 2 +- 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 | 2 +- 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 | 2 +- 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-dir2zip.md | 2 +- docs/convert-docx2md.md | 2 +- docs/convert-frames2mp4.md | 2 +- docs/convert-image2ascii.md | 2 +- docs/convert-image2blurred-frames.md | 2 +- docs/convert-image2pixelated-frames.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 | 2 +- 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 | 2 +- docs/install-crystal-disk-mark.md | 2 +- docs/install-discord.md | 2 +- docs/install-edge.md | 2 +- docs/install-evcc.md | 12 ++++++------ docs/install-firefox.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-irfanview.md | 2 +- docs/install-jenkins-agent.md | 2 +- docs/install-knot-resolver.md | 2 +- docs/install-microsoft-teams.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-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-thunderbird.md | 2 +- docs/install-twitter.md | 2 +- docs/install-unbound-server.md | 2 +- docs/install-updates.md | 2 +- 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/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 | 2 +- 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 | 2 +- docs/list-earthquakes.md | 2 +- docs/list-emojis.md | 2 +- docs/list-empty-dirs.md | 2 +- 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-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 | 2 +- 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 | 2 +- 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-linux-vm.md | 2 +- docs/new-power-plan.md | 2 +- docs/new-qrcode.md | 2 +- docs/new-reboot-task.md | 2 +- docs/new-script.md | 2 +- docs/new-shortcut.md | 2 +- docs/new-ssh-key.md | 2 +- docs/new-symlink.md | 2 +- docs/new-tag.md | 2 +- 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-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 | 2 +- docs/query-smart-data.md | 2 +- docs/reboot-fritzbox.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 | 2 +- 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-folder.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/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-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 | 2 +- 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 | 2 +- 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-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-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/install-evcc.ps1 | 8 ++++---- 635 files changed, 643 insertions(+), 643 deletions(-) diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index e6f0f5180..9bdfa8b27 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -113,4 +113,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/alert.md b/docs/alert.md index 94f43810e..74fe7d1bc 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/build-repo.md b/docs/build-repo.md index f375da51b..97e30f01a 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -196,4 +196,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/build-repos.md b/docs/build-repos.md index 3b868615b..cf604a9ac 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index 8f9f8a52c..910791136 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index 9365fa388..34368bd5d 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index cae5ea56b..2c9112895 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index 0366619c0..2f486efbb 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index bbe3da49d..dd0a0a94f 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index c89b4abc2..a463d60dd 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index 04c095bf0..5622298bd 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index 6a742919a..03b58a9cf 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-home.md b/docs/cd-home.md index bf6933c30..daaf106fa 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index 4abbac495..e82937fdb 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index 4d67576b5..25879af41 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -48,4 +48,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-music.md b/docs/cd-music.md index c3e46328c..226d84ade 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index 2995af9ae..128b85126 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index bc784fd41..b89f844fb 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index 9ac610b44..7482e5b9a 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-public.md b/docs/cd-public.md index 91ea3b4f7..4122d16e3 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index bf67241fa..f2c397140 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index 2d10cb226..50bf3eb50 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index a835ad69b..91f36c37a 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index 1c10670f8..bf45ea5e8 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-root.md b/docs/cd-root.md index 66fc035b2..c71efc9de 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index 54d1328ae..12bb82f98 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index 94da739fd..df112c969 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index 1952219d4..f15342932 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index 96826164b..546d9540f 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -50,4 +50,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index 2bf001641..e7762ef65 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index fc8dba671..c4c73fb56 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-up.md b/docs/cd-up.md index b8580352e..9d4902851 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index fea611f4b..3cb287795 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index 53fd51e24..ecc042790 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index 29013f2f2..5a6cc36f0 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:50)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-users.md b/docs/cd-users.md index 6baa921d8..6f4ccda54 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index 4555afa7a..f1f9e9799 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index 0af45ba14..cba56cb07 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index e1df7512c..e382919f1 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-admin.md b/docs/check-admin.md index dcd4158cf..3be016bf4 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-apps.md b/docs/check-apps.md index 90fb54b8c..b26a8351a 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-bios.md b/docs/check-bios.md index db5890434..50bd54305 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index 980eda67a..8964dbe11 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index f9f8f70f5..a521b9e0d 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-day.md b/docs/check-day.md index 8ce2ca2eb..f5fa3e0ab 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-dns.md b/docs/check-dns.md index 0135562d3..808433774 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index f490771d4..24af6e4d4 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -110,4 +110,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-drives.md b/docs/check-drives.md index 2c90ae0df..28753de9d 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index 01d9c1630..3a6f2cc61 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index 167bbebd3..9492f368f 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index 684f3f82a..add489373 100644 --- a/docs/check-file-system.md +++ b/docs/check-file-system.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-file.md b/docs/check-file.md index b4f5f9a1c..27a9b7d45 100644 --- a/docs/check-file.md +++ b/docs/check-file.md @@ -170,4 +170,4 @@ function Check-Header { param( $path ) Check-Header $Path ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index 88a98265f..b2da49578 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index 8bb8525e0..a0c546745 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index 991170fe4..85db0e2dd 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-health.md b/docs/check-health.md index 249010fa8..c2b588b73 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index fa11acb09..136a9cfb8 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index 21769eca2..f4be1a06d 100644 --- a/docs/check-ipv4-address.md +++ b/docs/check-ipv4-address.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index b5d92bdac..fdce44e12 100644 --- a/docs/check-ipv6-address.md +++ b/docs/check-ipv6-address.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index 109280dd8..bf45abd5f 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index f29b85f91..a8c21dead 100644 --- a/docs/check-mac-address.md +++ b/docs/check-mac-address.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index 9e4324071..7179fa2a4 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-month.md b/docs/check-month.md index 310d09cfb..e8a9778de 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index b186acf0a..8d8c2b378 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index bcf4593b6..665d11f06 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-network.md b/docs/check-network.md index 773706538..025113ec4 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-noon.md b/docs/check-noon.md index 53f35af3b..7419e1200 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-os.md b/docs/check-os.md index deb6eba22..7fbf30335 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index 26e2e679d..253cc360d 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* diff --git a/docs/check-password.md b/docs/check-password.md index 59efd3cc9..5060b3c68 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index b109f859c..7ccd7ed47 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index 37f2426bb..9d41c5ccb 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-power.md b/docs/check-power.md index 8687644fc..14f8d6bae 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index 2537325e1..ee3b275d0 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index a8b853aaf..17026d13f 100644 --- a/docs/check-ps1-file.md +++ b/docs/check-ps1-file.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-ram.md b/docs/check-ram.md index 05de56a8b..09d128e0f 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-repo.md b/docs/check-repo.md index 57c584f85..8c8ad7057 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -129,4 +129,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-repos.md b/docs/check-repos.md index 0820c9136..cddd49b07 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-santa.md b/docs/check-santa.md index b5420a6f2..2aa852c8b 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index 78c9fa64d..a83d3df1d 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-software.md b/docs/check-software.md index a49e3d70a..736f7e43e 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index 848690112..e38f51e03 100644 --- a/docs/check-subnet-mask.md +++ b/docs/check-subnet-mask.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index b95f8a79b..c091b06d2 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index 8f9bf3db5..833f21a1e 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index 8741606d4..2f7d55de8 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index 20c9fc60d..489014bfa 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index 4c416d4a9..b7950ca65 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-weather.md b/docs/check-weather.md index ab9111942..d1cd0c071 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-week.md b/docs/check-week.md index 79f56a12b..ba040bb2e 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-wind.md b/docs/check-wind.md index 7e8d037b0..250a937b4 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index a3f4daf0c..856129d72 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index 802ef99ee..8280b4e15 100644 --- a/docs/check-xml-file.md +++ b/docs/check-xml-file.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index 47d964078..4130f493e 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index 0681e906d..0d0564e92 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index 9707a0a46..9909b8a0e 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index 30e59656f..3c35c0009 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index 77710da1d..ce98f431c 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index 62ec9f992..ba13b8672 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index 57244fe28..6998e3627 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index f048389d7..c6c392ade 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index 1a7f2aee1..507192aad 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index db0fbe653..99e3330cd 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-edge.md b/docs/close-edge.md index 43ae9142f..87e56c318 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index fbbd2bc5c..80d05d07f 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index 1d494e82d..f3f257ed5 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 01/17/2025 08:30:51)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index 938db911e..5d910ab7d 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index 23b89dbbb..7599b9ade 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 331526ad6..1ed620358 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index 46ece0234..03719f30a 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index 4cd027700..2662ed5c8 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index 9d87c2a9f..c6d6874b7 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index f8dac957f..eab930daf 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index 6668acf3d..8377026b5 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index be504a3b1..c273e59f0 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index ec830b3c2..3a8fe149a 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-program.md b/docs/close-program.md index f6742f004..42ca873ed 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index c1bccf4ba..9cc9f2ccc 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index 0f9dc5993..40db7b7cd 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index 81399455b..d9e81b4e7 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 2a8ea783d..6440beef9 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index 206ad3cb8..31ea62e20 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index c28521fc1..513b2e335 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index ff26d21c5..39c2d11dd 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index a55243984..246b3ab0f 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index e500379a3..b5ec63bd7 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/configure-git.md b/docs/configure-git.md index 815a7960c..9b238627d 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -141,4 +141,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index 96211b53e..c3491f31d 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index f5c3c22b2..bb18860ad 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index b66a80447..a69f1e485 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index 35ecd12f1..feb4333ec 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index 75ccdd7d4..9ce030d68 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index fcc8272de..bf44eb418 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index be75f8abc..9c5f1f92d 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index bd484112b..97ec987a4 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index 2df1b631f..3098762cc 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index 087c9c913..8be6f7a80 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index ef5e6a8ed..7941d3987 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index d57927654..015422656 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index 33a0ebad6..674379229 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index 78a28fe1d..000163ff7 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -185,4 +185,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index 139a49ade..1d160ead5 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -120,4 +120,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index e3bca8c51..5cc4655f3 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index 2d4533795..1849ba7b4 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -115,4 +115,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/count-characters.md b/docs/count-characters.md index f01146e89..0fc5d97f8 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/count-lines.md b/docs/count-lines.md index ed2557414..10ba2fa28 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index 488590d9b..7eec11390 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -197,4 +197,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index d1ed28172..48739ebae 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index 74ab743b3..b0f9dc2e6 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/download-dir.md b/docs/download-dir.md index 4dd820c19..6dc171a4d 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/download-file.md b/docs/download-file.md index cf897ca35..00b6dfed0 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/edit.md b/docs/edit.md index d67f7cfcf..fe255ac06 100644 --- a/docs/edit.md +++ b/docs/edit.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index e3f50f790..9fb89bdaa 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index 14f5612c9..3c0ac6b8d 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index 0a868e75a..012ebf16c 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index 2fca97cc8..c7cdd6306 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -182,4 +182,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index c6d86cb96..744fbd49e 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/enter-host.md b/docs/enter-host.md index bdd59c0eb..409eb7e32 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index c87b7b546..cd271e73a 100644 --- a/docs/export-to-manuals.md +++ b/docs/export-to-manuals.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index a5a4b20a3..63d596c01 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 4beebb54e..6256fe592 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index 2c3b77362..5a1ca1a04 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -64,4 +64,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 3138e807e..5db824996 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index 249bbf1fa..6422b4f41 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index c5b3fc46d..1531e7733 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/get-sha512.md b/docs/get-sha512.md index 5ff76ea12..d2a7cbef4 100644 --- a/docs/get-sha512.md +++ b/docs/get-sha512.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/hello-world.md b/docs/hello-world.md index d5858072b..d5fc3db25 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/hibernate.md b/docs/hibernate.md index aaa5a362c..04541d5d2 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* diff --git a/docs/import-vm.md b/docs/import-vm.md index e2d6dc593..6e94e7783 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index 3ea131ce9..5140fe21e 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index 117e48fb5..670283712 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index 88472ab43..9b0543fd6 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 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 120d7de5a..d3bfeafa8 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index 52839ba1f..9c6f73e9a 100644 --- a/docs/install-calibre-server.md +++ b/docs/install-calibre-server.md @@ -129,4 +129,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index 7621a6468..d9ea7cf6a 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:52)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index a61c7afab..527a3b77c 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index 6c261e2b0..7a0543b8d 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index c46e09049..9e0f94619 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-discord.md b/docs/install-discord.md index 73a8a6dbf..4076e2165 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-edge.md b/docs/install-edge.md index 60dfcb964..e7c383fb5 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index 76acee67e..1ae19b5d7 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -1,7 +1,7 @@ The *install-evcc.ps1* Script =========================== -This PowerShell script installs evcc. Sevcc is an extensible EV Charge Controller with PV integration implemented in Go. See https://evcc.io for details. +This PowerShell script installs evcc. Evcc is an extensible EV Charge Controller with PV integration implemented in Go. See https://evcc.io for details. Parameters ---------- @@ -35,7 +35,7 @@ Script Content .SYNOPSIS Installs evcc .DESCRIPTION - This PowerShell script installs evcc. Sevcc is an extensible EV Charge Controller with PV integration implemented in Go. See https://evcc.io for details. + This PowerShell script installs evcc. Evcc is an extensible EV Charge Controller with PV integration implemented in Go. See https://evcc.io for details. .EXAMPLE PS> ./install-evcc.ps1 .LINK @@ -45,7 +45,7 @@ Script Content #> try { - $StopWatch = [system.diagnostics.stopwatch]::startNew() + $stopWatch = [system.diagnostics.stopwatch]::startNew() if ($IsLinux) { "⏳ (1/6) Installing necessary packets..." @@ -68,8 +68,8 @@ try { } else { throw "Sorry, only Linux installation currently supported" } - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✅ evcc installed successfully in $Elapsed sec" + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ evcc installed successfully in $($elapsed)s." exit 0 # success } catch { "Sorry: $($Error[0])" @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index 9dfc74a55..18d148174 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index 8160cc886..44f309e8c 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index a5b6364ba..ff89933dd 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index 51b436d9e..9f70b154c 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index 36823702c..b2fa89d09 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index 4ecd7bbcb..425c0dffb 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-jenkins-agent.md b/docs/install-jenkins-agent.md index 76baa10e3..c39dc6bf2 100644 --- a/docs/install-jenkins-agent.md +++ b/docs/install-jenkins-agent.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index 365215098..24d727235 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index 0418bc86c..a796dbe75 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index 0e567b6be..ef5e59964 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index 7b33d4b6a..fc5785ce3 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index 3720645b7..d95993241 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -32,4 +32,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index 5db799158..f7e7c4c22 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index ebff68338..6700b69b9 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index 7833e1787..37022207a 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index 6884ed373..c42bd2ebc 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index f24572cfa..fd57dba21 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index d2a7c05d6..0bce2b76f 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -651,4 +651,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index a8bbba168..c706ec04f 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index b8d62295a..1ca3105d2 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index ab0e61554..be6939d32 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-skype.md b/docs/install-skype.md index e641f27e9..a14dfd78f 100644 --- a/docs/install-skype.md +++ b/docs/install-skype.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index 27666745b..d8e0ae2da 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index ef1dfdaa3..c0baa7f85 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index 3b5b73de6..e68325f2c 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index 50b63daa0..4eab69917 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-twitter.md b/docs/install-twitter.md index a16b401b7..5b8c45d98 100644 --- a/docs/install-twitter.md +++ b/docs/install-twitter.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index f378d4a71..1021a5774 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-updates.md b/docs/install-updates.md index 1dee659a0..ade411376 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index 91a03a799..188cd8554 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index f4eafaaf7..6534dfd46 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index 15a23afa0..7ea3857ee 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index 9556d1115..335239a6d 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index 52ada9402..b97d6c5e8 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index 7f1ff4994..97370baac 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index 86ced88d7..3fdc3e3c9 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index b02f3286d..0f2d3d3d7 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index d71367394..d4593a157 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -120,4 +120,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-apps.md b/docs/list-apps.md index 6446ab581..0c5b4d7ca 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index 0275f94f3..4c56328a5 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index 12c3b9a4c..7bfddb707 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index bf2b8dd9d..32ef68e78 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-bios.md b/docs/list-bios.md index a209a3ee1..be05e0d93 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 2d8e264a4..0aefccce1 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-branches.md b/docs/list-branches.md index 2ff50ef3c..93af0472c 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index f54ac5bd6..1c3b654e6 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -245,4 +245,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index b6c01b76c..2574c6c5e 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index 8aa30caa5..9ca5a1a2b 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index 4a836727b..e12d7ef49 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -358,4 +358,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index 7d723ab64..1f9aebe28 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index 57e117d00..bd61a187c 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index bb85c0de2..5a1fae12c 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index c4753813b..0a569a02f 100644 --- a/docs/list-commit-stats.md +++ b/docs/list-commit-stats.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-commits.md b/docs/list-commits.md index 197b52ebb..0f11595f7 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -120,4 +120,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 2b3786370..72a8d25dc 100644 --- a/docs/list-console-colors.md +++ b/docs/list-console-colors.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-countries.md b/docs/list-countries.md index 0e0548b6a..ff9f3be7d 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -52,4 +52,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index e7f577c6e..64cc0dc6a 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index 8fe3194fc..e41edc924 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index f6852c5b0..39f599534 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index 78f393312..542e12fe4 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index c9c6f4838..d5b20c41f 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-drives.md b/docs/list-drives.md index 256a6d048..b5012e82e 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index 932c50fc9..e387ee83a 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index 9c6d68030..b8f67a2da 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 52d5ae57b..7b6b96e4c 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index 7ab92514d..f8bf4dd15 100644 --- a/docs/list-empty-files.md +++ b/docs/list-empty-files.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index 0a75b1bc4..8e8cf9a85 100644 --- a/docs/list-encrypted-files.md +++ b/docs/list-encrypted-files.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index 2c7fdceaf..070a55c98 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index ef6d7da43..ca3b03c29 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 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index 2deed0555..3cdad51e9 100644 --- a/docs/list-exchange-rates.md +++ b/docs/list-exchange-rates.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-executables.md b/docs/list-executables.md index 80ea6580e..b8602b733 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index 1a16c14b3..449fbbe98 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-files.md b/docs/list-files.md index e62fb780b..a408d9cd9 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-folder.md b/docs/list-folder.md index c2d1b279f..afdc45ea2 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index dc5ba4378..1192850ff 100644 --- a/docs/list-fritzbox-calls.md +++ b/docs/list-fritzbox-calls.md @@ -153,4 +153,4 @@ echo $Result exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index 2eec25cbf..87cba57a8 100644 --- a/docs/list-fritzbox-devices.md +++ b/docs/list-fritzbox-devices.md @@ -105,4 +105,4 @@ $HostTable | format-table -property Active,IPAddress,MACAddress,HostName,Interfa exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index 9fb2c00df..a96ed563d 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index f925c841f..75ac24986 100644 --- a/docs/list-hidden-files.md +++ b/docs/list-hidden-files.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index 885534d6f..e64a837ff 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index 9057f8b7f..dcff6919c 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index 7f3625e0d..a6d949ebc 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index fc780c11c..61f123ad4 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index fbb6e66a3..97703d90d 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index a5e673e31..54e1009f0 100644 --- a/docs/list-latest-tag.md +++ b/docs/list-latest-tag.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index 7e362eb56..08d01a846 100644 --- a/docs/list-latest-tags.md +++ b/docs/list-latest-tags.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index 326872bc0..839729fe7 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index 074c0be93..34b482ac2 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* diff --git a/docs/list-memos.md b/docs/list-memos.md index 5b8921991..f1a6c08bf 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index c12738276..29210bc77 100644 --- a/docs/list-mysql-tables.md +++ b/docs/list-mysql-tables.md @@ -90,4 +90,4 @@ $result = Invoke-MySqlQuery -ConnectionString "server=$server; database=$databa $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index 2918712f9..7d68cd9aa 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index 2c8ed075d..4439fcd48 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index 3fb622a90..020163b9e 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index 33eb8166f..74b8492f0 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-news.md b/docs/list-news.md index 686eac809..89ca260d4 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-nic.md b/docs/list-nic.md index 039248279..65332b10e 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index 090520018..4eb2e7b25 100644 --- a/docs/list-nina-warnings.md +++ b/docs/list-nina-warnings.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index 03092e265..9fc2df841 100644 --- a/docs/list-old-branches.md +++ b/docs/list-old-branches.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index fb8768f6c..0f711fca7 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index 35f697a6e..e11b5909e 100644 --- a/docs/list-os-updates.md +++ b/docs/list-os-updates.md @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-os.md b/docs/list-os.md index 7da1bbd2c..6495d3037 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index b5d2d333d..780480bb9 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index e8faf5234..38787109a 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-passwords.md b/docs/list-passwords.md index 4e57d195b..1f2ce3022 100644 --- a/docs/list-passwords.md +++ b/docs/list-passwords.md @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-pins.md b/docs/list-pins.md index 6040396d9..4afd3279d 100644 --- a/docs/list-pins.md +++ b/docs/list-pins.md @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index e5c12ea6c..66cdaded6 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index 0df4cf03b..18257e01a 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index c559c8190..7cfe60d9c 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index fb849a8c4..0318377ae 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index a2d974936..0cd2db5da 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 475683dd9..18c534ebf 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-processes.md b/docs/list-processes.md index 51ebf3b1d..4394a2ae2 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index c5a0583eb..d5864c465 100644 --- a/docs/list-pull-requests.md +++ b/docs/list-pull-requests.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-ram.md b/docs/list-ram.md index 65464dba6..2cd425297 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index f2915d2e1..a3aafb4fd 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index 9aa3af510..3f7e0d8ed 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-repos.md b/docs/list-repos.md index b3be51c64..9a51f072e 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index a7a40823e..51a5d4b85 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index 03c1b9cc3..4fa9387f9 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-services.md b/docs/list-services.md index 11058acee..e4c928fde 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index e69b56ca1..5e7247d24 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index 84ed30156..fdf528add 100644 --- a/docs/list-sql-tables.md +++ b/docs/list-sql-tables.md @@ -93,4 +93,4 @@ $result = Invoke-SqlServerQuery -Credential $creds -ConnectionTimeout 10000 -Dat $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index 3158bd866..dd2be1766 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index 9b076b4c4..ba1eb07fa 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index db2371d3c..783d6c863 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index 274753cbf..a6662c3b5 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index 72694615a..6cf8fd663 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index b2f63b808..a8ee906c2 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-tags.md b/docs/list-tags.md index 98067972a..60e3d3863 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -110,4 +110,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index ec8effe46..b2baf6a3f 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index e1bd26644..6c9952f40 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 6d657effd..484c87819 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index dad1e10eb..52dce4a04 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index 7b12b94cd..aa973dcb8 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-updates.md b/docs/list-updates.md index 5412f299f..4ff0d19b5 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index cba9bc8e1..6c402afa3 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 3c2061892..d7a470d53 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index 8e3debb0e..8016e9b23 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-voices.md b/docs/list-voices.md index c70c93863..3b0ef9ea8 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-weather.md b/docs/list-weather.md index 6aba56f52..8eab581ca 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -178,4 +178,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index ae74cb798..de13a33b4 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index 17d4f64c6..e12fc76c1 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index a129ca6eb..6b149a3b0 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index 2b28e967d..577adfd1e 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/locate-city.md b/docs/locate-city.md index 9c2f3a115..bee428868 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index e7adaee9c..46c81f2fd 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -46,4 +46,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index e7043f936..40d8d8e2b 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 01/17/2025 08:30:54)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index 02e2c116b..9945a68bc 100644 --- a/docs/locate-zip-code.md +++ b/docs/locate-zip-code.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index 0f7d8a89a..72e3922c5 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/log-off.md b/docs/log-off.md index 6500a363a..57e656a1f 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/make-install.md b/docs/make-install.md index e68660085..f3996eb5c 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index 5f3e2b483..915bc70e9 100644 --- a/docs/measure-BubbleSort.md +++ b/docs/measure-BubbleSort.md @@ -92,4 +92,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index 667b64d31..462f2e9b3 100644 --- a/docs/measure-BucketSort.md +++ b/docs/measure-BucketSort.md @@ -120,4 +120,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index 59ccabbd7..10ecdcc73 100644 --- a/docs/measure-CountingSort.md +++ b/docs/measure-CountingSort.md @@ -111,4 +111,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index 6655be66c..5062245b8 100644 --- a/docs/measure-HeapSort.md +++ b/docs/measure-HeapSort.md @@ -126,4 +126,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index 613a44262..b04d3bd2e 100644 --- a/docs/measure-InsertionSort.md +++ b/docs/measure-InsertionSort.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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index 69b9b326b..4ad6418a4 100644 --- a/docs/measure-MergeSort.md +++ b/docs/measure-MergeSort.md @@ -120,4 +120,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index 297023555..f6b675d86 100644 --- a/docs/measure-QuickSort.md +++ b/docs/measure-QuickSort.md @@ -101,4 +101,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index e9c2f4cd6..acb80c50f 100644 --- a/docs/measure-SelectionSort.md +++ b/docs/measure-SelectionSort.md @@ -94,4 +94,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index 2e01e954f..3cec62375 100644 --- a/docs/measure-sorting-algorithms.md +++ b/docs/measure-sorting-algorithms.md @@ -73,4 +73,4 @@ param([int]$numIntegers = 3000) exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index 6ec83028b..d1091167a 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index 993430867..810e508a8 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index 834229b7d..4be4e64c4 100644 --- a/docs/move-mouse-pointer.md +++ b/docs/move-mouse-pointer.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/move-vm.md b/docs/move-vm.md index 0d6308a7c..49858740f 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/my-profile.md b/docs/my-profile.md index c90fa1655..f98ddf6db 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/new-branch.md b/docs/new-branch.md index 77aed8145..301cc6223 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -128,4 +128,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 24ac18752..4c941e410 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/new-email.md b/docs/new-email.md index faa314446..64ee4bae2 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index 885d7597e..65269f0ac 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/new-power-plan.md b/docs/new-power-plan.md index 8666bbe2b..e2029a740 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index a7767c041..6118cad0b 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -110,4 +110,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index f001216e6..894000e19 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/new-script.md b/docs/new-script.md index 7e796e11e..51eb93e6a 100644 --- a/docs/new-script.md +++ b/docs/new-script.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index 49d963c1b..d301798c7 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index cca15dc30..a4319a4ff 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index eb2232bbd..4cb008b58 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/new-tag.md b/docs/new-tag.md index 14aeaf147..02f82cb59 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/new-user.md b/docs/new-user.md index c03a1e29e..63e077df5 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index c198fba6f..680a7bc15 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index 8e6844ceb..1165fbce0 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/open-URL.md b/docs/open-URL.md index 9fe6ef535..5fcc0b7a8 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index 0d4e2ed64..91491c114 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index 50c636a15..0e1369974 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index 8493bc0f6..e8ea60404 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index f5dfd1d49..121f130ee 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index df9a826a7..b07ad5e9c 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index 6e0c13e57..3db94e3fb 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index d43be979b..d4c4ad8bf 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-clock.md b/docs/open-clock.md index 794dd87d0..13fbad5f6 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index ce2de97c4..4d34d1563 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index 449970646..6868348ec 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 1b3252262..efa98abe2 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index 3182e27d8..a90d73737 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index 1f867a536..4f2565cda 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index 19e663eb3..ece1bcc05 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index 5347c6806..a1bb7b7e2 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index 15cb0af6e..9fb84f603 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index 058829781..a94d38040 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index a4f74c380..28c9bc478 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index 5b877e746..f7bec0ff0 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-edge.md b/docs/open-edge.md index 686f253f6..be0c527fc 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index 64eb21d1f..e98a4345b 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index f8e8a076a..e61261b72 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index 6e71e9422..c78ed8db9 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index a18cfc313..f28657964 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index dab3254d7..5a92ce5cb 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index e633a6618..bf7c0cb19 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index 1cdd0ad74..1dddb638d 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index 9d8ab8c70..06e593e60 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index 5aba6fa13..ecd45bc69 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index e1a729108..620db212c 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index a177c3072..0c056aed1 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index 54a3059b8..fdb361d9b 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index 1df4f5434..66e19c261 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 6a87855ae..5b0b9cd3e 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index 146227aa6..2e1d54a30 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index 04530098e..3f9319fa8 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index 2babdec6e..0a2ff5a62 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index 4a3f9429b..f732eae46 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index 47b0f64b8..5fc030e3f 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index 774d6b2b9..42a6bb7c2 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index 131742098..434e6a492 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index e4068145e..a384babbd 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index e591f7521..96139e93d 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 815df2066..39f4549b6 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index 84903a76d..9f406c67f 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index 8f637f340..944f3f5ab 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index 4ad4c6577..a7a3f4d1d 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index 2a1b19aa2..ebb71864e 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index 24235c5c1..8c6cb1578 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index a0d3fef86..221279d71 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index 7c010ab49..69393e173 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index d871aae27..558ca8b79 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index 79ef2eb6b..1044790c9 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index f325bf798..de6188c34 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index c9cfd0842..95cb7c2d4 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index bc77cfd43..3c6f88212 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index 17d74045d..dd526787a 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 01/17/2025 08:30:55)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index 2dfc104d1..f57ddc347 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -47,4 +47,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index dd92d72c8..6b9b8a216 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index e831caf20..9b87aa6c4 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index feefcf414..25a33fe0d 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -64,4 +64,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index ae49e6398..f268ba609 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index 1e1b00a35..073227794 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 4e7e32a49..268eaf502 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index 242c7c6be..46f4fcde6 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index 80c091aef..5472900ca 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-skype.md b/docs/open-skype.md index d85548302..d16d86663 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index 63cff7628..b626a5a62 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index 2c25816c3..ebbeddd2b 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index bf55ed938..e230bce37 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index f94657eac..d1dca85fe 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index aa440ce1c..2d41024c7 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index 451eb7f24..7dd08b561 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index cbd34adcf..7cf7b2ae8 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index 4fc977c45..659461b4c 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index 3ed7318fb..9cb0100dd 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index ce9d6c7e4..d6c95f4f0 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -45,4 +45,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index e8fa62bd7..da95c3a36 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index 7af2d34dd..fa72f3f8d 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index cf1157b73..0d3a776ea 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 89e9a0370..33731ba63 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index cf35b9709..393b3ab99 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index 55e541e2f..060f7b5b7 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/open-xing.md b/docs/open-xing.md index 1d7b09f78..c84d59cc5 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index 95f265928..faf0a81b0 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -151,4 +151,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/ping-host.md b/docs/ping-host.md index e1fdece6c..807693195 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index 7761be0f3..6901284dc 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index 71d39d2f3..92e5740d5 100644 --- a/docs/ping-local-devices.md +++ b/docs/ping-local-devices.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index aab7cbc0e..ae496c710 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index 2ac4bfd6d..d9ba8d7a2 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index 32cbda9f2..7b45a2d42 100644 --- a/docs/play-beep-sound.md +++ b/docs/play-beep-sound.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index 4a557f64a..5069f6977 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index fa9a72abe..98c7fb90e 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-chess.md b/docs/play-chess.md index 4bb24c622..1ab9abebb 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index 69c57090d..7a8bf8732 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index d9d2819d6..b76fb2d1b 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index 1194ba9e5..d227cdf0d 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index 43d97e92c..13ddbb8ee 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index f2ced7918..05fe74dbe 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-files.md b/docs/play-files.md index 19df6cdfd..d32099c9e 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index eabc82fd2..209dd1901 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index 49c2d0133..b2a32152e 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index 497540776..024d1f4f5 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index 14563685c..10e6b2099 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 144ef80b1..80fa95cb3 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index 326db8fed..d819b32da 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index ba5619bc4..ffe989a70 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index 6c7fbaeaf..46bf9f4cd 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index e517264ff..cc174fdb9 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index e09dcae7e..6589649d6 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index 95e3a22c2..fcb595077 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index 40cdac1d7..9117af793 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index 19f66b631..15d7334fe 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-pong.md b/docs/play-pong.md index 0336d4143..8dd59aed5 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index 6257a9fce..74976aec8 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 958ac6be1..336328215 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-snake.md b/docs/play-snake.md index 1bc0f78f2..0cb1d6a70 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index 18bbda0e8..6a3f29d9f 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index 1f0539ca1..36a8a492f 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index 5a020d536..f4ee51564 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index 08553e8f6..3e0d7c608 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index 21960f62a..cbb50bd5a 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/poweroff.md b/docs/poweroff.md index fb8d9da0e..9e27e350c 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/print-image.md b/docs/print-image.md index 043471ff6..35de95d87 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index 933a87d85..8fbf6c2d3 100644 --- a/docs/publish-to-ipfs.md +++ b/docs/publish-to-ipfs.md @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index 4d8c3f1d6..38397f5a3 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index a170ea59b..91ee231f9 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index 7daed4521..85ac14a77 100644 --- a/docs/query-smart-data.md +++ b/docs/query-smart-data.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index 84232bc17..5c878db86 100644 --- a/docs/reboot-fritzbox.md +++ b/docs/reboot-fritzbox.md @@ -152,4 +152,4 @@ echo $Result exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/reboot.md b/docs/reboot.md index 751e5cd63..056f3590f 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/remember.md b/docs/remember.md index 0234fcdf7..c6a39bca1 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/remind-me.md b/docs/remind-me.md index 3dc75fd33..89e5b221f 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/remove-dir-tree.md b/docs/remove-dir-tree.md index 4af0b1f15..2dc221823 100644 --- a/docs/remove-dir-tree.md +++ b/docs/remove-dir-tree.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index 090f5552f..2917a637b 100644 --- a/docs/remove-empty-dirs.md +++ b/docs/remove-empty-dirs.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index 628f95c94..99d3236bd 100644 --- a/docs/remove-old-dirs.md +++ b/docs/remove-old-dirs.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 413c7a8f1..1c21d9c4c 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index 8a269a45b..57dc4b268 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/remove-user.md b/docs/remove-user.md index eda0cb7a8..9e2ff779b 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index 32012475d..ccb532f06 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index 23560a15d..d998cd73a 100644 --- a/docs/replace-in-files.md +++ b/docs/replace-in-files.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index 53277e21f..d4de0c1fe 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index 7dde79cf0..a41691ed1 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 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index 5e55af6b9..c1d53232b 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:56)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 53175ccc5..a9e4ccd35 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index bbd570c43..f2c8e0658 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/scan-network.md b/docs/scan-network.md index 0804e7ab4..74b3eaecd 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index 84dfb0fbf..cf9e18c59 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/search-filename.md b/docs/search-filename.md index 024eab799..c043adffe 100644 --- a/docs/search-filename.md +++ b/docs/search-filename.md @@ -96,4 +96,4 @@ Search-Folder -FilePath $path -SearchTerm $term exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/search-files.md b/docs/search-files.md index 9fdb7819c..ebfc31738 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/search-repo.md b/docs/search-repo.md index 22d094fb6..19953bcd1 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/send-email.md b/docs/send-email.md index 9f5349f9a..4a7a40420 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index 9c07cb533..82f3f14ef 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/send-udp.md b/docs/send-udp.md index d5be41986..df515a0c0 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/set-timer.md b/docs/set-timer.md index 2ed375781..9b7afb4ca 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/set-volume.md b/docs/set-volume.md index f8c500f99..726f80be9 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index d9f7f57da..766eee4b4 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index 1864e9d8e..a4d0cd585 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index b38ac9ea0..c81e54009 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/show-notification.md b/docs/show-notification.md index aa793c701..135ccfd76 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index 64d481870..2b66fac88 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index 80e672858..51d10f597 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index 2e08a2760..982d8fe5b 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -141,4 +141,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 01fd44c47..49e55dde9 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index 2d1d14019..c0cc7760c 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index a2406a82e..5f27b4569 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index 2b9ae5549..a1317f7fc 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index 8711e7428..bd2cedb75 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index 2569c0bd3..c8d679003 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-english.md b/docs/speak-english.md index 8a4d6e251..a11ecaaea 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index 92e76eabf..3e78e65ee 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -139,4 +139,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index b82a056f3..bcaba4caf 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-file.md b/docs/speak-file.md index d537c35fc..5b2969394 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index 691b61b07..bd36f368d 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-french.md b/docs/speak-french.md index 3cad7f74e..dbe8f4f0e 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-german.md b/docs/speak-german.md index 5756e7bb6..dbcc55d8b 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index 07d7b1db1..28bfecb0d 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index 4a1709410..5f480c1e7 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index 8bac237ee..c63ea4d1f 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index 4caa4f3cc..1f87717a9 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index ea4a6c49f..faf0514c9 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index 4035e4cca..faccc4908 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index fcb0b7b86..2adaf1e65 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index b74aeef66..4ed4fd3ce 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 8a1383efb..56a37df03 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index 0ad93b6cf..e19a638d9 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index ff8d2dae9..75170d6d2 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index 2e9d8c7e4..909fd5481 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index c1f02c985..987dba236 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index 2fab377c8..cd2b38606 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-test.md b/docs/speak-test.md index 68a3859de..0443b30bd 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-text.md b/docs/speak-text.md index d6c66aae7..90cb0bdea 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index 13cc64cb4..0a323e69b 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index 9c7abe1af..bd01ac688 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index 6b0736ba5..c6bc560ad 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/spell-word.md b/docs/spell-word.md index f5bb881cf..7c69e3a6e 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index ab0ac138d..c04bbb385 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/suspend.md b/docs/suspend.md index 2bb354767..00543a1e4 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index c788a85f7..046782855 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -126,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index db6d8421a..91d9ad04b 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index a455e4bf4..e8035d632 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/sync-folder.md b/docs/sync-folder.md index f56947a0d..6df3ee263 100644 --- a/docs/sync-folder.md +++ b/docs/sync-folder.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index d6363511b..c08ad707f 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index 9593367bb..cc9399e68 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index e9548bbae..ba4068214 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index 7106662ad..d73456058 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index 70b515abf..90dbd81e7 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index fa8ed2060..b2a8f3353 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index 62f782079..a7fa416eb 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/translate-file.md b/docs/translate-file.md index e6a9dd838..03fc6f07a 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -108,4 +108,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/translate-files.md b/docs/translate-files.md index f315050ca..1083b947b 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/translate-text.md b/docs/translate-text.md index 0bbcd14e5..9c68d5594 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index 72948fd91..f00326eaa 100644 --- a/docs/turn-volume-down.md +++ b/docs/turn-volume-down.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index 47cc5a69c..e4113497b 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index 7f03389a4..ad51e67d2 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index a7cdd9f5d..53602c944 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index 71c66702b..295e6af64 100644 --- a/docs/turn-volume-up.md +++ b/docs/turn-volume-up.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index 3aa625d21..d96e3ac8a 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index c5d410265..c69f04078 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/uninstall-new-outlook.md b/docs/uninstall-new-outlook.md index 8e795462f..62c83c588 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 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/uninstall-outlook.md b/docs/uninstall-outlook.md index 29ade0226..6cd725376 100644 --- a/docs/uninstall-outlook.md +++ b/docs/uninstall-outlook.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index df77f0bc1..4d03c56b4 100644 --- a/docs/update-powershell-profile.md +++ b/docs/update-powershell-profile.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index 9eae29033..572da3619 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/upload-file.md b/docs/upload-file.md index ef8b2d3bf..b7d9f33fd 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -145,4 +145,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index ecf5024a6..d31ad36a3 100644 --- a/docs/upload-to-dropbox.md +++ b/docs/upload-to-dropbox.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:57)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index 91f45682f..0bca0deff 100644 --- a/docs/wake-up-host.md +++ b/docs/wake-up-host.md @@ -120,4 +120,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/wake-up-human.md b/docs/wake-up-human.md index 98770670d..c0a4973d3 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 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index c4cc36dc7..cb8ae9676 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/watch-file.md b/docs/watch-file.md index 05dcee6f5..287c88d76 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 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/watch-host.md b/docs/watch-host.md index 9e2db2ab9..00c675c6e 100644 --- a/docs/watch-host.md +++ b/docs/watch-host.md @@ -147,4 +147,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/watch-news.md b/docs/watch-news.md index 0cf045e8e..ea30b3bab 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index 7ae2546b8..5b2430daa 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -135,4 +135,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/weather-report.md b/docs/weather-report.md index a911b3720..4010d1dce 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/weather.md b/docs/weather.md index 4da02613e..eb4b4aa94 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/what-is.md b/docs/what-is.md index 310c43690..aab111091 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/windefender.md b/docs/windefender.md index 93e30bb19..e7b107646 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -82,4 +82,4 @@ break } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/write-animated.md b/docs/write-animated.md index 90538397e..a0596782b 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index d27415656..9f30bca2b 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 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-big.md b/docs/write-big.md index 95e9718db..ab3182818 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -471,4 +471,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-blue.md b/docs/write-blue.md index 65de74a88..d2a2a8328 100644 --- a/docs/write-blue.md +++ b/docs/write-blue.md @@ -64,4 +64,4 @@ write-host -foregroundColor blue "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-braille.md b/docs/write-braille.md index 05a7af3da..ef6df7337 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -408,4 +408,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-centered.md b/docs/write-centered.md index b8130faea..3554ba1ac 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index 282958f51..1781228f1 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -154,4 +154,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-chart.md b/docs/write-chart.md index d798c4fd5..a38dc92d2 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 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-clock.md b/docs/write-clock.md index ce6e07f69..4261ceeba 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-code.md b/docs/write-code.md index a30577eb7..f14a14161 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-credits.md b/docs/write-credits.md index b842318b0..f357d7dd0 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-date.md b/docs/write-date.md index 20ba79078..d51688c32 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index 21f1e44f0..588f596d8 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 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-green.md b/docs/write-green.md index 59d1fc35e..11d820c18 100644 --- a/docs/write-green.md +++ b/docs/write-green.md @@ -63,4 +63,4 @@ write-host -foregroundColor green "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index 57b275802..b62464ad2 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 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-headline.md b/docs/write-headline.md index a401accef..08e4293b2 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-help.md b/docs/write-help.md index c33cc2e7d..a73bd2e6d 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index 8a15ad99b..ac7a6c91d 100644 --- a/docs/write-in-emojis.md +++ b/docs/write-in-emojis.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 91286804c..489833fbb 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-location.md b/docs/write-location.md index 3bc3d88a9..f6c252e6d 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index e6932c075..fbff8c70d 100644 --- a/docs/write-lowercase.md +++ b/docs/write-lowercase.md @@ -65,4 +65,4 @@ Write-Output $text.ToLower() exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index df8980a8f..099041ab5 100644 --- a/docs/write-marquee.md +++ b/docs/write-marquee.md @@ -89,4 +89,4 @@ StartMarquee " exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index 2f9d45041..08233d0b8 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 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-moon.md b/docs/write-moon.md index 527c284d0..0d0230d03 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index e2a0d2c92..6d9b0065e 100644 --- a/docs/write-morse-code.md +++ b/docs/write-morse-code.md @@ -153,4 +153,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-motd.md b/docs/write-motd.md index 7ccf68def..60def066b 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 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-pi.md b/docs/write-pi.md index 7da3a7db2..e57f6af37 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -117,4 +117,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index b30ca8cac..0942c3a4b 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 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 480fc6d93..65eb646e9 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-red.md b/docs/write-red.md index eace72911..8d6d111d5 100644 --- a/docs/write-red.md +++ b/docs/write-red.md @@ -63,4 +63,4 @@ write-host -foregroundcolor red "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index 596f87a44..59d05770e 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-shit.md b/docs/write-shit.md index dea411a84..e47d9c141 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 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index a983e6edd..39f8ab607 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 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-time.md b/docs/write-time.md index 6f9cdbedb..090730f65 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index 3d28fe421..d0416d0ab 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index 1e2589835..43f40a151 100644 --- a/docs/write-uppercase.md +++ b/docs/write-uppercase.md @@ -65,4 +65,4 @@ Write-Output $text.ToUpper() exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-value.md b/docs/write-value.md index fdf557911..e34bababf 100644 --- a/docs/write-value.md +++ b/docs/write-value.md @@ -147,4 +147,4 @@ Write-Host "CPU too hot " exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index 81d3d7836..21fbb2d04 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md index 1b1bec58e..1a607a4f0 100644 --- a/docs/write-xmas-tree.md +++ b/docs/write-xmas-tree.md @@ -126,4 +126,4 @@ do { ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:58)* +*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* diff --git a/scripts/install-evcc.ps1 b/scripts/install-evcc.ps1 index 4f77862de..4c4d77bc2 100755 --- a/scripts/install-evcc.ps1 +++ b/scripts/install-evcc.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Installs evcc .DESCRIPTION - This PowerShell script installs evcc. Sevcc is an extensible EV Charge Controller with PV integration implemented in Go. See https://evcc.io for details. + This PowerShell script installs evcc. Evcc is an extensible EV Charge Controller with PV integration implemented in Go. See https://evcc.io for details. .EXAMPLE PS> ./install-evcc.ps1 .LINK @@ -12,7 +12,7 @@ #> try { - $StopWatch = [system.diagnostics.stopwatch]::startNew() + $stopWatch = [system.diagnostics.stopwatch]::startNew() if ($IsLinux) { "⏳ (1/6) Installing necessary packets..." @@ -35,8 +35,8 @@ try { } else { throw "Sorry, only Linux installation currently supported" } - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✅ evcc installed successfully in $Elapsed sec" + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ evcc installed successfully in $($elapsed)s." exit 0 # success } catch { "Sorry: $($Error[0])" From a3331f5172f025ca5a79d0b844161fde0d996714 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 17 Jan 2025 10:18:26 +0100 Subject: [PATCH 153/737] Updated remove-old-dirs.ps1 --- scripts/remove-old-dirs.ps1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/remove-old-dirs.ps1 b/scripts/remove-old-dirs.ps1 index 1e5e6d09e..502429c35 100755 --- a/scripts/remove-old-dirs.ps1 +++ b/scripts/remove-old-dirs.ps1 @@ -8,7 +8,8 @@ .PARAMETER numDays Specifies the number of days (1000 by default) .EXAMPLE - PS> ./remove-old-dirs.ps1 C:\Temp 90 + PS> ./remove-old-dirs.ps1 C:\Temp 365 + ✅ Removed 0 subfolders in 1s (67 skipped). .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,7 +23,7 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() if (!(Test-Path -Path "$path" -PathType container)) { throw "Given path doesn't exist - enter a valid path, please" } - Write-Host "⏳ Searching for subfolders at '$path' older than $numDays days..." + Write-Host "⏳ Searching in '$path' for subfolders older than $numDays days..." $numRemoved = $numSkipped = 0 $folders = Get-ChildItem -path "$path" -directory foreach ($folder in $folders) { @@ -37,7 +38,7 @@ try { } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Removed $numRemoved subfolders older than $numDays days in $($elapsed)s ($numSkipped skipped)." + "✅ Removed $numRemoved subfolders in $($elapsed)s ($numSkipped skipped)." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 32927260bdf1e4573f4eb18a281b1fc1573e5da6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 18 Jan 2025 14:03:58 +0100 Subject: [PATCH 154/737] Added install-h2static.ps1 --- scripts/install-h2static.ps1 | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 scripts/install-h2static.ps1 diff --git a/scripts/install-h2static.ps1 b/scripts/install-h2static.ps1 new file mode 100755 index 000000000..6d9ef0a53 --- /dev/null +++ b/scripts/install-h2static.ps1 @@ -0,0 +1,41 @@ +<# +.SYNOPSIS + Installs h2static +.DESCRIPTION + This PowerShell script installs the tiny static Web server 'h2static'. +.EXAMPLE + PS> ./install-h2static.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([int]$port = 8070, [string]$pathToMedia = "/media/") + +try { + $stopWatch = [system.diagnostics.stopwatch]::startNew() + + if (-not($IsLinux)) { throw "Sorry, only Linux installation currently supported" } + + "⏳ (1/4) Installing h2static from Snap Store..." + & sudo snap install h2static + + $pathToMedia = Resolve-Path $pathToMedia + "⏳ (2/4) Configuring serve-path = $pathToMedia ..." + & sudo snap set h2static serve-path=$pathToMedia + & sudo snap connect h2static:removable-media + + "⏳ (3/4) Configuring disable-index = false..." + & sudo snap set h2static disable-index=false + + "⏳ (4/4) Configuring listening-port = :$port..." + & sudo snap set h2static listen=:$port + + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ h2static installed in $($elapsed)s, Web server runs at :$port, execute 'snap info h2static' for details." + exit 0 # success +} catch { + "Sorry: $($Error[0])" + exit 1 +} From 9e1156e90e7dc48f7bf4d41398234dc9a62a548f Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 20 Jan 2025 11:06:54 +0100 Subject: [PATCH 155/737] Added new-junction.ps1 --- scripts/new-junction.ps1 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 scripts/new-junction.ps1 diff --git a/scripts/new-junction.ps1 b/scripts/new-junction.ps1 new file mode 100644 index 000000000..81447c1af --- /dev/null +++ b/scripts/new-junction.ps1 @@ -0,0 +1,33 @@ +<# +.SYNOPSIS + Create a junction +.DESCRIPTION + This PowerShell script creates a new junction, linking to a target. +.PARAMETER junction + Specifies the file path to the new junction +.PARAMETER target + Specifies the file path to the target +.EXAMPLE + PS> ./new-junction.ps1 D:\Win10 C:\Windows + ✅ Created new junction 'D:\Windows' linking to: C:\Windows +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$junction = "", [string]$target = "") + +try { + if ($junction -eq "" ) { $symlink = Read-Host "Enter new junction filename" } + if ($target -eq "" ) { $target = Read-Host "Enter path to target" } + + New-Item -path "$symlink" -itemType Junction -value "$target" + if ($lastExitCode -ne "0") { throw "Command 'New-Item' has failed" } + + "✅ Created new junction '$symlink' linking to: $target" + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} From 42fe21f747c5da5763308abb14bb3a4ca9b46edf Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 20 Jan 2025 11:32:53 +0100 Subject: [PATCH 156/737] Updated aviation.csv --- data/dicts/aviation.csv | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index 691b71642..b8eaf4813 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -281,6 +281,7 @@ FAA,U.S. Federal Aviation Administration FAR,"Fuel Air Ratio, Federal Aviation Regulations" FAS,Final Approach Segment FAS,Final Approach Speed +FASF,French Air and Space Force FAST,Future Aviation Safety Team FAT,Factory Acceptance Test (see also SAT and RAT) FAT,Final Approach Track @@ -364,6 +365,7 @@ MCP,Maximum Continuous Power MGTOW,Maximum Gross Take-off Weight MLW,Maximum Landing Weight MMR,Multi-Mode Receiver +MRTT,Multi-Role Tanker Transport MSA,Minimum Safe Altitude MSL,Median Sea Level MSTA,Minimum Safe Turning Altitude @@ -464,6 +466,7 @@ SADL,Situational Awareness Data Link SAF,Sustainable Aviation Fuel SAR,"Search and Rescue, Synthetic Aperture Radar" SARPS,Standards and Recommended Practices (ICAO) +SASF,Spanish Air and Space Force SAT,Site Acceptance Test (see also FAT and RAT) SATCO,Senior Air Traffic Control Officer SATCOM,Satellite Communication From c023128895a4e411e8a857cfec82b33d4c5b42c5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 20 Jan 2025 19:43:50 +0100 Subject: [PATCH 157/737] Added install-mini-dlna.ps1 --- scripts/install-mini-dlna.ps1 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 scripts/install-mini-dlna.ps1 diff --git a/scripts/install-mini-dlna.ps1 b/scripts/install-mini-dlna.ps1 new file mode 100755 index 000000000..3ab7dc649 --- /dev/null +++ b/scripts/install-mini-dlna.ps1 @@ -0,0 +1,30 @@ +<# +.SYNOPSIS + Installs MiniDLNA +.DESCRIPTION + This PowerShell script installs the MiniDLNA server. +.EXAMPLE + PS> ./install-mini-dlna.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + $stopWatch = [system.diagnostics.stopwatch]::startNew() + + if (-not($IsLinux)) { throw "Sorry, only Linux installation currently supported" } + + "⏳ (1/4) Installing MiniDLNA from Snap Store..." + & sudo snap install minidlna-jdstrand + + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ MiniDLNA installed in $($elapsed)s." + " Configuration: /var/snap/minidlna-jdstrand/current/minidlna.conf" + " Log file: /var/snap/minidlna-jdstrand/current/home/minidlna.log" + exit 0 # success +} catch { + "Sorry: $($Error[0])" + exit 1 +} From 1238ebf8c6df8b398e90febfe2cbbd3d0ef282c7 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 21 Jan 2025 09:28:45 +0100 Subject: [PATCH 158/737] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e8f969684..2f52817eb 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (e.g. via AutoHotkey/Jenkins or on startup/login/logoff/daily/shutdown/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console like *Windows Terminal* is recommended.** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation via AutoHotkey/Jenkins/etc. or on startup/login/logoff/daily/hourly/shutdown/etc., for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console like *Windows Terminal* is recommended.** **[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md)** From ac144d3f3d9fb7c9ea097d00b2864d81ed7572df Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 21 Jan 2025 09:33:08 +0100 Subject: [PATCH 159/737] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2f52817eb..bf379c5b1 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,16 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation via AutoHotkey/Jenkins/etc. or on startup/login/logoff/daily/hourly/shutdown/etc., for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console like *Windows Terminal* is recommended.** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/login/logoff/daily/hourly/shutdown or via AutoHotkey/Jenkins/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console like *Windows Terminal* is recommended.** **[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md)** 🔊 Scripts for Audio & Voice ----------------------------- -| Script | Description | -| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| [list-voices.ps1](scripts/list-voices.ps1) | Lists the installed text-to-speech voices. [Read more »](docs/list-voices.md) | +| Script | Description | +| ---------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| [list-voices.ps1](scripts/list-voices.ps1) | Lists the installed text-to-speech voices. [Read more »](docs/list-voices.md) | | [play-beep-sound.ps1](scripts/play-beep-sound.ps1) | Plays a short beep sound. [More »](docs/play-beep-sound.md) | | [play-files.ps1](scripts/play-files.ps1) | Plays the given audio files. [More »](docs/play-files.md) | | [play-happy-birthday.ps1](scripts/play-happy-birthday.ps1) | Plays the Happy Birthday song. [More »](docs/play-happy-birthday.md) | @@ -45,8 +45,8 @@ Mega Collection of PowerShell Scripts ⚙️ Scripts for Computer Management ---------------------------------- -| Script | Description | -| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| Script | Description | +| ---------------------------------------------------- | ------------------------------------------------------------------------------------------- | | [add-firewall-rules.ps1](scripts/add-firewall-rules.ps1) | Adds firewall rules for executables, needs admin rights. [Read more »](docs/add-firewall-rules.md) | | [check-cpu.ps1](scripts/check-cpu.ps1)| Checks the CPU temperature. [More »](docs/check-cpu.md) | | [check-dns.ps1](scripts/check-dns.ps1) | Checks the DNS resolution. [More »](docs/check-dns.md) | From 46235b0aa0b1d6eff5e23a2e2f1c2a5638d1757b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 21 Jan 2025 09:35:10 +0100 Subject: [PATCH 160/737] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bf379c5b1..c1419679b 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Mega Collection of PowerShell Scripts **Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/login/logoff/daily/hourly/shutdown or via AutoHotkey/Jenkins/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console like *Windows Terminal* is recommended.** -**[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md)** +**[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md) | [PowerShell Documentation](https://docs.microsoft.com/en-us/powershell)** 🔊 Scripts for Audio & Voice ----------------------------- From 6fda26dc5d368b8a1272ea9bc3c583a36dd16c71 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 21 Jan 2025 09:39:50 +0100 Subject: [PATCH 161/737] Fixed copy-photos-sorted.ps1 --- scripts/copy-photos-sorted.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/copy-photos-sorted.ps1 b/scripts/copy-photos-sorted.ps1 index e578b8d24..7ad7411c1 100755 --- a/scripts/copy-photos-sorted.ps1 +++ b/scripts/copy-photos-sorted.ps1 @@ -5,12 +5,12 @@ This PowerShell script copies image files from to sorted by year and month. .PARAMETER sourceDir Specifies the path to the source folder -.PARAMTER targetDir +.PARAMETER targetDir Specifies the path to the target folder .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 (0 skipped) in 41s. + ✅ Copied 1 photo to 📂C:\MyPhotos in 13s (0 skipped). .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -88,7 +88,7 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds [int]$copied = $files.Count - $skipped - "✅ Copied $copied photos to 📂$targetDir ($skipped skipped) in $($elapsed)s." + "✅ Copied $copied photos to 📂$targetDir in $($elapsed)s ($skipped skipped)." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 2c4400f327c2d48fa55ca2992d21459032ac3328 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 21 Jan 2025 10:01:50 +0100 Subject: [PATCH 162/737] Update FAQ.md --- docs/FAQ.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index e6f3fb2cf..debaf6e78 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -88,8 +88,8 @@
What about PowerShell security? -1. **Do NOT execute scripts from untrusted sources!** -2. **Check the script content for strange things (that's impossible for executables).** +1. **DO NOT execute scripts from untrusted sources! (rule applies to any executable)** +2. **CHECK the script content for strange things prior execution.** 3. **Prefer SSH Remoting instead of PowerShell Remoting** 4. **More recommendations by NSA and cyber security centers in the U.S. (CISA), New Zealand (NZ NCSC), and the U.K. (NCSC-UK) can be found here:** https://media.defense.gov/2022/Jun/22/2003021689/-1/-1/1/CSI_KEEPING_POWERSHELL_SECURITY_MEASURES_TO_USE_AND_EMBRACE_20220622.PDF
From 712dca92db1708e4f5aba91ea959fcc044b86a18 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 23 Jan 2025 12:14:17 +0100 Subject: [PATCH 163/737] Fixed check-swap-space.ps1 --- scripts/check-swap-space.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-swap-space.ps1 b/scripts/check-swap-space.ps1 index e4f14dbe4..64b72b58a 100755 --- a/scripts/check-swap-space.ps1 +++ b/scripts/check-swap-space.ps1 @@ -32,7 +32,7 @@ try { if ($IsLinux) { $Result = $(free --mega | grep Swap:) - [int64]$total = $Result.subString(5,14) + [int64]$total = $Result.subString(5,15) [int64]$used = $Result.substring(20,13) [int64]$free = $Result.substring(32,11) } else { From da0f05e82d4b469d662960c1586295fd8302fc3b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 23 Jan 2025 12:14:48 +0100 Subject: [PATCH 164/737] Added Linux execution rights --- scripts/new-junction.ps1 | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts/new-junction.ps1 diff --git a/scripts/new-junction.ps1 b/scripts/new-junction.ps1 old mode 100644 new mode 100755 From 87c5d59442f53379c67f5a4f6223b78cc0bbb412 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 23 Jan 2025 12:15:35 +0100 Subject: [PATCH 165/737] Updated the manuals --- docs/add-firewall-rules.md | 2 +- docs/alert.md | 2 +- docs/build-repo.md | 2 +- docs/build-repos.md | 2 +- docs/cd-autostart.md | 2 +- docs/cd-crashdumps.md | 2 +- docs/cd-desktop.md | 2 +- docs/cd-docs.md | 2 +- docs/cd-downloads.md | 2 +- docs/cd-dropbox.md | 2 +- docs/cd-etc.md | 2 +- docs/cd-fonts.md | 2 +- docs/cd-home.md | 2 +- docs/cd-jenkins.md | 2 +- docs/cd-logs.md | 2 +- docs/cd-music.md | 2 +- docs/cd-nextcloud.md | 2 +- docs/cd-onedrive.md | 2 +- docs/cd-pics.md | 2 +- docs/cd-public.md | 2 +- docs/cd-recent.md | 2 +- docs/cd-recycle-bin.md | 2 +- docs/cd-repo.md | 2 +- docs/cd-repos.md | 2 +- docs/cd-root.md | 2 +- docs/cd-screenshots.md | 2 +- docs/cd-scripts.md | 2 +- docs/cd-ssh.md | 2 +- docs/cd-temp.md | 2 +- docs/cd-templates.md | 2 +- 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 | 2 +- docs/cd-videos.md | 2 +- docs/cd-windows.md | 2 +- 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 | 2 +- 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 | 2 +- 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-dir2zip.md | 2 +- docs/convert-docx2md.md | 2 +- docs/convert-frames2mp4.md | 2 +- docs/convert-image2ascii.md | 2 +- docs/convert-image2blurred-frames.md | 2 +- docs/convert-image2pixelated-frames.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 | 46 +++++++++-- 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 | 2 +- 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-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 | 93 ++++++++++++++++++++++ docs/install-irfanview.md | 2 +- docs/install-jenkins-agent.md | 2 +- docs/install-knot-resolver.md | 2 +- docs/install-microsoft-teams.md | 2 +- docs/install-mini-dlna.md | 66 +++++++++++++++ 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-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-thunderbird.md | 2 +- docs/install-twitter.md | 2 +- docs/install-unbound-server.md | 2 +- docs/install-updates.md | 2 +- 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/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 | 2 +- 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 | 2 +- docs/list-earthquakes.md | 2 +- docs/list-emojis.md | 2 +- docs/list-empty-dirs.md | 2 +- 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-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 | 2 +- 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 | 2 +- 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 | 88 ++++++++++++++++++++ docs/new-linux-vm.md | 2 +- docs/new-power-plan.md | 2 +- docs/new-qrcode.md | 2 +- docs/new-reboot-task.md | 2 +- docs/new-script.md | 2 +- docs/new-shortcut.md | 2 +- docs/new-ssh-key.md | 2 +- docs/new-symlink.md | 2 +- docs/new-tag.md | 2 +- 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-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 | 2 +- docs/query-smart-data.md | 2 +- docs/reboot-fritzbox.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 | 12 +-- 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 | 2 +- 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-folder.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/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-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 | 2 +- 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 | 2 +- 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-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-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 +- 637 files changed, 927 insertions(+), 644 deletions(-) create mode 100644 docs/install-h2static.md create mode 100644 docs/install-mini-dlna.md create mode 100644 docs/new-junction.md diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index 9bdfa8b27..e212f2528 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -113,4 +113,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/alert.md b/docs/alert.md index 74fe7d1bc..33ddda859 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/build-repo.md b/docs/build-repo.md index 97e30f01a..7fbeb2a2b 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -196,4 +196,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/build-repos.md b/docs/build-repos.md index cf604a9ac..d7c58503b 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index 910791136..b716ef311 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index 34368bd5d..01a4efbc3 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index 2c9112895..02053fb57 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index 2f486efbb..663435c51 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index dd0a0a94f..80cf276f0 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index a463d60dd..8ed034d47 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index 5622298bd..d5c74d57d 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index 03b58a9cf..3f0c9051e 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-home.md b/docs/cd-home.md index daaf106fa..7e70233fd 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index e82937fdb..6e590e7a9 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index 25879af41..829b736e9 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -48,4 +48,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-music.md b/docs/cd-music.md index 226d84ade..2452914aa 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index 128b85126..a755a501a 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index b89f844fb..08a71cc0a 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index 7482e5b9a..88f15ae40 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-public.md b/docs/cd-public.md index 4122d16e3..c87e0c7fe 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index f2c397140..df3e6b537 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index 50bf3eb50..1358728ed 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index 91f36c37a..d8954238e 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index bf45ea5e8..2c0b1fae7 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-root.md b/docs/cd-root.md index c71efc9de..21bb1d19b 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index 12bb82f98..7ceba9ce5 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index df112c969..68d5a7d12 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index f15342932..93b887915 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index 546d9540f..2adb94e42 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -50,4 +50,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index e7762ef65..2a8f6d3da 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index c4c73fb56..04a423abf 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-up.md b/docs/cd-up.md index 9d4902851..94028b2f2 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index 3cb287795..6c1e96957 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index ecc042790..7647b780b 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index 5a6cc36f0..e3fe148ba 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-users.md b/docs/cd-users.md index 6f4ccda54..f01f549dd 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index f1f9e9799..5923dac91 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index cba56cb07..a587480e4 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index e382919f1..bf6406096 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-admin.md b/docs/check-admin.md index 3be016bf4..f0fe9ce7b 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-apps.md b/docs/check-apps.md index b26a8351a..d87ee3c88 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-bios.md b/docs/check-bios.md index 50bd54305..8186aab6a 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index 8964dbe11..3289d414a 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index a521b9e0d..2ee6f1cf2 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-day.md b/docs/check-day.md index f5fa3e0ab..9e8821451 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-dns.md b/docs/check-dns.md index 808433774..5b641ad1c 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index 24af6e4d4..408aae77e 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -110,4 +110,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-drives.md b/docs/check-drives.md index 28753de9d..f80129050 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index 3a6f2cc61..350fd7487 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index 9492f368f..49f7791f9 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 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index add489373..9f774b909 100644 --- a/docs/check-file-system.md +++ b/docs/check-file-system.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-file.md b/docs/check-file.md index 27a9b7d45..6ac83cb9b 100644 --- a/docs/check-file.md +++ b/docs/check-file.md @@ -170,4 +170,4 @@ function Check-Header { param( $path ) Check-Header $Path ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index b2da49578..f25c47343 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index a0c546745..e99b026ef 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index 85db0e2dd..b8504f636 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 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-health.md b/docs/check-health.md index c2b588b73..8645cbc89 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 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index 136a9cfb8..124996bf4 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 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index f4be1a06d..f702b8231 100644 --- a/docs/check-ipv4-address.md +++ b/docs/check-ipv4-address.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index fdce44e12..3eba11694 100644 --- a/docs/check-ipv6-address.md +++ b/docs/check-ipv6-address.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index bf45abd5f..23c967b04 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 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index a8c21dead..7e2f050ef 100644 --- a/docs/check-mac-address.md +++ b/docs/check-mac-address.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index 7179fa2a4..c1f09ffe0 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-month.md b/docs/check-month.md index e8a9778de..56bc2e76f 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index 8d8c2b378..fe302fed3 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 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index 665d11f06..99b0bb9d7 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-network.md b/docs/check-network.md index 025113ec4..09769e9dc 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 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-noon.md b/docs/check-noon.md index 7419e1200..6a74468bd 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-os.md b/docs/check-os.md index 7fbf30335..6e9bf59d0 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index 253cc360d..abfe30955 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:07)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* diff --git a/docs/check-password.md b/docs/check-password.md index 5060b3c68..820b0bc2c 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index 7ccd7ed47..cfcf1b1e1 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index 9d41c5ccb..b960b85ba 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-power.md b/docs/check-power.md index 14f8d6bae..17b0c5154 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index ee3b275d0..2dc260084 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 17026d13f..1dce4622b 100644 --- a/docs/check-ps1-file.md +++ b/docs/check-ps1-file.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-ram.md b/docs/check-ram.md index 09d128e0f..6606b2b1e 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-repo.md b/docs/check-repo.md index 8c8ad7057..4e0f8eadd 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -129,4 +129,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-repos.md b/docs/check-repos.md index cddd49b07..de1cdcd91 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-santa.md b/docs/check-santa.md index 2aa852c8b..40c0b73b0 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index a83d3df1d..586ba7251 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-software.md b/docs/check-software.md index 736f7e43e..f49e1d625 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index e38f51e03..e492fd576 100644 --- a/docs/check-subnet-mask.md +++ b/docs/check-subnet-mask.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index c091b06d2..42b2e71e7 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -75,7 +75,7 @@ try { if ($IsLinux) { $Result = $(free --mega | grep Swap:) - [int64]$total = $Result.subString(5,14) + [int64]$total = $Result.subString(5,15) [int64]$used = $Result.substring(20,13) [int64]$free = $Result.substring(32,11) } else { @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index 833f21a1e..eafaa0602 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index 2f7d55de8..1685e9a65 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index 489014bfa..fa47f3cd0 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index b7950ca65..0e5ba52cb 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-weather.md b/docs/check-weather.md index d1cd0c071..eeeb6580f 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-week.md b/docs/check-week.md index ba040bb2e..7f634af93 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-wind.md b/docs/check-wind.md index 250a937b4..cc3bf9eaf 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index 856129d72..a27b3a3b8 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index 8280b4e15..d16e05934 100644 --- a/docs/check-xml-file.md +++ b/docs/check-xml-file.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index 4130f493e..1eaac784b 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index 0d0564e92..5fbfe2e39 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index 9909b8a0e..e1b78ae31 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index 3c35c0009..5f7575bb3 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index ce98f431c..9366dc6f7 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index ba13b8672..03b76f63e 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index 6998e3627..19a4ca644 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index c6c392ade..9a0add9ed 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index 507192aad..f874f8701 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index 99e3330cd..db598feb7 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-edge.md b/docs/close-edge.md index 87e56c318..45c6fa1b8 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index 80d05d07f..192894a61 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index f3f257ed5..b3f09ccfc 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index 5d910ab7d..7d4ea1d39 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index 7599b9ade..98fe84cb0 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 1ed620358..92b914201 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index 03719f30a..98ae2a54e 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index 2662ed5c8..16b2c55b5 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index c6d6874b7..77b403c9f 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index eab930daf..3030deb6f 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index 8377026b5..ac440ce69 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index c273e59f0..0c9616cee 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index 3a8fe149a..d1e3942d8 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-program.md b/docs/close-program.md index 42ca873ed..df6dcbd5f 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index 9cc9f2ccc..9496f748e 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index 40db7b7cd..9f88a58d9 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index d9e81b4e7..ae81d53a0 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 6440beef9..6345d28ba 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index 31ea62e20..3bd0a186f 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index 513b2e335..1785c6f63 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index 39c2d11dd..21cfd4546 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index 246b3ab0f..651e17d86 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index b5ec63bd7..d70577beb 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/configure-git.md b/docs/configure-git.md index 9b238627d..cf731f67e 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -141,4 +141,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index c3491f31d..79e26a333 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index bb18860ad..d64470c55 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index a69f1e485..10b3ac493 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index feb4333ec..6d3e93aa2 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index 9ce030d68..63d91ac1e 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index bf44eb418..932a721ed 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index 9c5f1f92d..a251c79ef 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index 97ec987a4..e55618187 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index 3098762cc..7f52d2c24 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index 8be6f7a80..f1288ee95 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index 7941d3987..6b7b7177d 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index 015422656..314e9c76f 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index 674379229..b34356218 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index 000163ff7..48626604c 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -185,4 +185,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index 1d160ead5..d9daa08ae 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -120,4 +120,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index 5cc4655f3..84b4cb48d 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index 1849ba7b4..39b3e5d34 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -1,19 +1,53 @@ The *copy-photos-sorted.ps1* Script =========================== -copy-photos-sorted.ps1 [[-sourceDir] ] [[-targetDir] ] - +This PowerShell script copies image files from to sorted by year and month. Parameters ---------- ```powershell +/Repos/PowerShell/scripts/copy-photos-sorted.ps1 [[-sourceDir] ] [[-targetDir] ] [] + +-sourceDir + Specifies the path to the source folder + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +-targetDir + Specifies the path to the target folder + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +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). + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell @@ -24,12 +58,12 @@ Script Content This PowerShell script copies image files from to sorted by year and month. .PARAMETER sourceDir Specifies the path to the source folder -.PARAMTER targetDir +.PARAMETER targetDir Specifies the path to the target folder .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 (0 skipped) in 41s. + ✅ Copied 1 photo to 📂C:\MyPhotos in 13s (0 skipped). .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -107,7 +141,7 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds [int]$copied = $files.Count - $skipped - "✅ Copied $copied photos to 📂$targetDir ($skipped skipped) in $($elapsed)s." + "✅ Copied $copied photos to 📂$targetDir in $($elapsed)s ($skipped skipped)." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -115,4 +149,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/count-characters.md b/docs/count-characters.md index 0fc5d97f8..ee29b93ec 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/count-lines.md b/docs/count-lines.md index 10ba2fa28..0347446b0 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index 7eec11390..b072b4db3 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -197,4 +197,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index 48739ebae..2123823df 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index b0f9dc2e6..77c7515b2 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/download-dir.md b/docs/download-dir.md index 6dc171a4d..666eccad4 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* diff --git a/docs/download-file.md b/docs/download-file.md index 00b6dfed0..bf2a74c70 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/edit.md b/docs/edit.md index fe255ac06..f937139e6 100644 --- a/docs/edit.md +++ b/docs/edit.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 9fb89bdaa..58df0dbf8 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index 3c0ac6b8d..a2157833e 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index 012ebf16c..f6d074391 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index c7cdd6306..069ea720f 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -182,4 +182,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index 744fbd49e..458dd3680 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/enter-host.md b/docs/enter-host.md index 409eb7e32..318f78ad1 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index cd271e73a..919c9d8f1 100644 --- a/docs/export-to-manuals.md +++ b/docs/export-to-manuals.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index 63d596c01..cefb320dc 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 6256fe592..83a3224a2 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index 5a1ca1a04..ef6edb1ed 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -64,4 +64,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 5db824996..2361306c9 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index 6422b4f41..cf1a4881f 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index 1531e7733..e6c663cd8 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/get-sha512.md b/docs/get-sha512.md index d2a7cbef4..53b10a4a6 100644 --- a/docs/get-sha512.md +++ b/docs/get-sha512.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/hello-world.md b/docs/hello-world.md index d5fc3db25..168cd4120 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 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 04541d5d2..68dba8730 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:08)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/import-vm.md b/docs/import-vm.md index 6e94e7783..b6337a9a8 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index 5140fe21e..0c3a69ef8 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index 670283712..9b9cee974 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index 9b0543fd6..cdd94184a 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index d3bfeafa8..83b1561f4 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index 9c6f73e9a..5f1e3db6d 100644 --- a/docs/install-calibre-server.md +++ b/docs/install-calibre-server.md @@ -129,4 +129,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index d9ea7cf6a..ecace249f 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index 527a3b77c..72ec0c751 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index 7a0543b8d..4b0de9632 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index 9e0f94619..812cf8bad 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-discord.md b/docs/install-discord.md index 4076e2165..fef3ff96b 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-edge.md b/docs/install-edge.md index e7c383fb5..f83bbfe82 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index 1ae19b5d7..760146925 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index 18d148174..48c666b5f 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index 44f309e8c..819dfaaad 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index ff89933dd..6d04b4b97 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index 9f70b154c..80be6912e 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index b2fa89d09..9afad6e29 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-h2static.md b/docs/install-h2static.md new file mode 100644 index 000000000..ca3a47dee --- /dev/null +++ b/docs/install-h2static.md @@ -0,0 +1,93 @@ +The *install-h2static.ps1* Script +=========================== + +This PowerShell script installs the tiny static Web server 'h2static'. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/install-h2static.ps1 [[-port] ] [[-pathToMedia] ] [] + +-port + + Required? false + Position? 1 + Default value 8070 + Accept pipeline input? false + Accept wildcard characters? false + +-pathToMedia + + Required? false + Position? 2 + Default value /media/ + Accept pipeline input? false + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./install-h2static.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Installs h2static +.DESCRIPTION + This PowerShell script installs the tiny static Web server 'h2static'. +.EXAMPLE + PS> ./install-h2static.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([int]$port = 8070, [string]$pathToMedia = "/media/") + +try { + $stopWatch = [system.diagnostics.stopwatch]::startNew() + + if (-not($IsLinux)) { throw "Sorry, only Linux installation currently supported" } + + "⏳ (1/4) Installing h2static from Snap Store..." + & sudo snap install h2static + + $pathToMedia = Resolve-Path $pathToMedia + "⏳ (2/4) Configuring serve-path = $pathToMedia ..." + & sudo snap set h2static serve-path=$pathToMedia + & sudo snap connect h2static:removable-media + + "⏳ (3/4) Configuring disable-index = false..." + & sudo snap set h2static disable-index=false + + "⏳ (4/4) Configuring listening-port = :$port..." + & sudo snap set h2static listen=:$port + + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ h2static installed in $($elapsed)s, Web server runs at :$port, execute 'snap info h2static' for details." + exit 0 # success +} catch { + "Sorry: $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index 425c0dffb..ab5960fa4 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-jenkins-agent.md b/docs/install-jenkins-agent.md index c39dc6bf2..f4876c4a7 100644 --- a/docs/install-jenkins-agent.md +++ b/docs/install-jenkins-agent.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index 24d727235..b6916fa7b 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index a796dbe75..a6860815c 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-mini-dlna.md b/docs/install-mini-dlna.md new file mode 100644 index 000000000..ba4749053 --- /dev/null +++ b/docs/install-mini-dlna.md @@ -0,0 +1,66 @@ +The *install-mini-dlna.ps1* Script +=========================== + +This PowerShell script installs the MiniDLNA server. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/install-mini-dlna.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./install-mini-dlna.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Installs MiniDLNA +.DESCRIPTION + This PowerShell script installs the MiniDLNA server. +.EXAMPLE + PS> ./install-mini-dlna.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + $stopWatch = [system.diagnostics.stopwatch]::startNew() + + if (-not($IsLinux)) { throw "Sorry, only Linux installation currently supported" } + + "⏳ (1/4) Installing MiniDLNA from Snap Store..." + & sudo snap install minidlna-jdstrand + + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ MiniDLNA installed in $($elapsed)s." + " Configuration: /var/snap/minidlna-jdstrand/current/minidlna.conf" + " Log file: /var/snap/minidlna-jdstrand/current/home/minidlna.log" + exit 0 # success +} catch { + "Sorry: $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index ef5e59964..9e626a5ff 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index fc5785ce3..174d8f0bd 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index d95993241..8d998a550 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -32,4 +32,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index f7e7c4c22..6306251b0 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index 6700b69b9..2c0dd2186 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index 37022207a..3aa690fdc 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index c42bd2ebc..cf772f5b6 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index fd57dba21..3f08f5ec0 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index 0bce2b76f..a053a3770 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -651,4 +651,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index c706ec04f..29c10e084 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index 1ca3105d2..b6dd300c3 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index be6939d32..6ac59f30c 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-skype.md b/docs/install-skype.md index a14dfd78f..4916c40d6 100644 --- a/docs/install-skype.md +++ b/docs/install-skype.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index d8e0ae2da..b85266f0e 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index c0baa7f85..917a87cc6 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index e68325f2c..efcb4d7fc 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index 4eab69917..85d810939 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-twitter.md b/docs/install-twitter.md index 5b8c45d98..7cb4a6138 100644 --- a/docs/install-twitter.md +++ b/docs/install-twitter.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index 1021a5774..d2c7c9a0a 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-updates.md b/docs/install-updates.md index ade411376..a2fcb88dc 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index 188cd8554..d7ba2263c 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index 6534dfd46..b34e5e25c 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index 7ea3857ee..112bd5ce6 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index 335239a6d..504600f19 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index b97d6c5e8..db859ef03 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index 97370baac..bc448dc1b 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index 3fdc3e3c9..3177fadde 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index 0f2d3d3d7..65c525dcb 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index d4593a157..06564cad7 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -120,4 +120,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-apps.md b/docs/list-apps.md index 0c5b4d7ca..5fc95c184 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index 4c56328a5..5dbc4ff14 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index 7bfddb707..7d5a582a2 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index 32ef68e78..b2894f43a 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-bios.md b/docs/list-bios.md index be05e0d93..c138e852d 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 0aefccce1..809233e70 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-branches.md b/docs/list-branches.md index 93af0472c..445eed06a 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index 1c3b654e6..396ab682e 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -245,4 +245,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index 2574c6c5e..ca69936dd 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index 9ca5a1a2b..85978c817 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index e12d7ef49..5a3342ca9 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -358,4 +358,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index 1f9aebe28..bd54c9a1c 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index bd61a187c..0c7b046f9 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index 5a1fae12c..6af8ef6ac 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index 0a569a02f..e472feeea 100644 --- a/docs/list-commit-stats.md +++ b/docs/list-commit-stats.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-commits.md b/docs/list-commits.md index 0f11595f7..c27c08bab 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -120,4 +120,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 72a8d25dc..f9927242f 100644 --- a/docs/list-console-colors.md +++ b/docs/list-console-colors.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-countries.md b/docs/list-countries.md index ff9f3be7d..73cbf5926 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -52,4 +52,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index 64cc0dc6a..87569ba50 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index e41edc924..e3219db34 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index 39f599534..cd86c94d1 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index 542e12fe4..97a4bc436 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index d5b20c41f..4699ce306 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* diff --git a/docs/list-drives.md b/docs/list-drives.md index b5012e82e..5ea4697b6 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index e387ee83a..6599784b8 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index b8f67a2da..4fdf3a991 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 7b6b96e4c..93a72c3c5 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index f8bf4dd15..308a1bdb8 100644 --- a/docs/list-empty-files.md +++ b/docs/list-empty-files.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index 8e8cf9a85..4542631bf 100644 --- a/docs/list-encrypted-files.md +++ b/docs/list-encrypted-files.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index 070a55c98..fb8a9d224 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index ca3b03c29..4fcd8afe3 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index 3cdad51e9..6dc98e2e1 100644 --- a/docs/list-exchange-rates.md +++ b/docs/list-exchange-rates.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-executables.md b/docs/list-executables.md index b8602b733..edd9f2505 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index 449fbbe98..2935c4472 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-files.md b/docs/list-files.md index a408d9cd9..0ca0c15f9 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-folder.md b/docs/list-folder.md index afdc45ea2..ef5ea65c2 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index 1192850ff..6a17abd97 100644 --- a/docs/list-fritzbox-calls.md +++ b/docs/list-fritzbox-calls.md @@ -153,4 +153,4 @@ echo $Result exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index 87cba57a8..256b3034d 100644 --- a/docs/list-fritzbox-devices.md +++ b/docs/list-fritzbox-devices.md @@ -105,4 +105,4 @@ $HostTable | format-table -property Active,IPAddress,MACAddress,HostName,Interfa exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index a96ed563d..046b9dce1 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index 75ac24986..2924c0757 100644 --- a/docs/list-hidden-files.md +++ b/docs/list-hidden-files.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index e64a837ff..47c2e6d4a 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index dcff6919c..d7ac74dca 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index a6d949ebc..449599b20 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index 61f123ad4..fcf1cb3ca 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index 97703d90d..85aa1da92 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index 54e1009f0..ba6ade4b5 100644 --- a/docs/list-latest-tag.md +++ b/docs/list-latest-tag.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index 08d01a846..f2d6a2983 100644 --- a/docs/list-latest-tags.md +++ b/docs/list-latest-tags.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index 839729fe7..c9ca1ac3b 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index 34b482ac2..3b36ca075 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 01/17/2025 08:37:09)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-memos.md b/docs/list-memos.md index f1a6c08bf..02582ae09 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index 29210bc77..a6a917cfb 100644 --- a/docs/list-mysql-tables.md +++ b/docs/list-mysql-tables.md @@ -90,4 +90,4 @@ $result = Invoke-MySqlQuery -ConnectionString "server=$server; database=$databa $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index 7d68cd9aa..eaa8fad31 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index 4439fcd48..f8a73e3ad 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index 020163b9e..2e3d8ccbe 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index 74b8492f0..d60cd890f 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-news.md b/docs/list-news.md index 89ca260d4..e0ae428fb 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-nic.md b/docs/list-nic.md index 65332b10e..2f73f0b09 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index 4eb2e7b25..0ed1d5b84 100644 --- a/docs/list-nina-warnings.md +++ b/docs/list-nina-warnings.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index 9fc2df841..ec881789d 100644 --- a/docs/list-old-branches.md +++ b/docs/list-old-branches.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index 0f711fca7..8efd9d9d0 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index e11b5909e..4909330ef 100644 --- a/docs/list-os-updates.md +++ b/docs/list-os-updates.md @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-os.md b/docs/list-os.md index 6495d3037..679860ebd 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index 780480bb9..7fdf84a77 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index 38787109a..c153840d0 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-passwords.md b/docs/list-passwords.md index 1f2ce3022..6b800e548 100644 --- a/docs/list-passwords.md +++ b/docs/list-passwords.md @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-pins.md b/docs/list-pins.md index 4afd3279d..a2f36fb20 100644 --- a/docs/list-pins.md +++ b/docs/list-pins.md @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index 66cdaded6..b065d77ff 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index 18257e01a..1f98b518c 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index 7cfe60d9c..c0cdf030d 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index 0318377ae..2daeff1c0 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index 0cd2db5da..0fb8027fe 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 18c534ebf..4792f9ed3 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-processes.md b/docs/list-processes.md index 4394a2ae2..0fbafafd8 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index d5864c465..dd7c6a90d 100644 --- a/docs/list-pull-requests.md +++ b/docs/list-pull-requests.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-ram.md b/docs/list-ram.md index 2cd425297..a6ad8f91c 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index a3aafb4fd..0112786d4 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index 3f7e0d8ed..28a819897 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-repos.md b/docs/list-repos.md index 9a51f072e..c6ddd440f 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index 51a5d4b85..c32ebd337 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index 4fa9387f9..fe1519198 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-services.md b/docs/list-services.md index e4c928fde..0df0fe3b7 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index 5e7247d24..da86c3cf2 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index fdf528add..a241c64f4 100644 --- a/docs/list-sql-tables.md +++ b/docs/list-sql-tables.md @@ -93,4 +93,4 @@ $result = Invoke-SqlServerQuery -Credential $creds -ConnectionTimeout 10000 -Dat $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index dd2be1766..0f486ad25 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index ba1eb07fa..c2ab1d57f 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index 783d6c863..71333a88b 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index a6662c3b5..6542998c0 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index 6cf8fd663..e1839ab25 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index a8ee906c2..e5191ed87 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-tags.md b/docs/list-tags.md index 60e3d3863..dc33b87bf 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -110,4 +110,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index b2baf6a3f..cc8221a02 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index 6c9952f40..71e679fbb 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 484c87819..f4d04b736 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index 52dce4a04..47187e300 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index aa973dcb8..0c2b475d8 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-updates.md b/docs/list-updates.md index 4ff0d19b5..ebde8bfbe 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index 6c402afa3..7461586de 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index d7a470d53..15ca4393e 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index 8016e9b23..5dc6e912a 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-voices.md b/docs/list-voices.md index 3b0ef9ea8..1e865c104 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-weather.md b/docs/list-weather.md index 8eab581ca..98171ac7c 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -178,4 +178,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index de13a33b4..9add0a380 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index e12fc76c1..feafbff40 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index 6b149a3b0..a0a74ed34 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index 577adfd1e..b89e17fb7 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/locate-city.md b/docs/locate-city.md index bee428868..fb2fb4e8d 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index 46c81f2fd..1fe37ba40 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -46,4 +46,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index 40d8d8e2b..96467889e 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index 9945a68bc..eecc405d2 100644 --- a/docs/locate-zip-code.md +++ b/docs/locate-zip-code.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index 72e3922c5..eb862d705 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/log-off.md b/docs/log-off.md index 57e656a1f..345f79652 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/make-install.md b/docs/make-install.md index f3996eb5c..052d9ed48 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index 915bc70e9..0af064477 100644 --- a/docs/measure-BubbleSort.md +++ b/docs/measure-BubbleSort.md @@ -92,4 +92,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index 462f2e9b3..c7a6eccad 100644 --- a/docs/measure-BucketSort.md +++ b/docs/measure-BucketSort.md @@ -120,4 +120,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index 10ecdcc73..505f692a5 100644 --- a/docs/measure-CountingSort.md +++ b/docs/measure-CountingSort.md @@ -111,4 +111,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index 5062245b8..dea1d21a2 100644 --- a/docs/measure-HeapSort.md +++ b/docs/measure-HeapSort.md @@ -126,4 +126,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index b04d3bd2e..d2ad2de50 100644 --- a/docs/measure-InsertionSort.md +++ b/docs/measure-InsertionSort.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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index 4ad6418a4..61d638680 100644 --- a/docs/measure-MergeSort.md +++ b/docs/measure-MergeSort.md @@ -120,4 +120,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index f6b675d86..7ec75ff0d 100644 --- a/docs/measure-QuickSort.md +++ b/docs/measure-QuickSort.md @@ -101,4 +101,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index acb80c50f..ef85ae0e6 100644 --- a/docs/measure-SelectionSort.md +++ b/docs/measure-SelectionSort.md @@ -94,4 +94,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index 3cec62375..23b22e648 100644 --- a/docs/measure-sorting-algorithms.md +++ b/docs/measure-sorting-algorithms.md @@ -73,4 +73,4 @@ param([int]$numIntegers = 3000) exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index d1091167a..805ba7478 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index 810e508a8..c3dd591f7 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index 4be4e64c4..20835fb4c 100644 --- a/docs/move-mouse-pointer.md +++ b/docs/move-mouse-pointer.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/move-vm.md b/docs/move-vm.md index 49858740f..e69067138 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/my-profile.md b/docs/my-profile.md index f98ddf6db..4cb547d43 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/new-branch.md b/docs/new-branch.md index 301cc6223..eda28daae 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -128,4 +128,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 4c941e410..1861caf8d 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/new-email.md b/docs/new-email.md index 64ee4bae2..9c61df728 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/new-junction.md b/docs/new-junction.md new file mode 100644 index 000000000..67f8e8cc4 --- /dev/null +++ b/docs/new-junction.md @@ -0,0 +1,88 @@ +The *new-junction.ps1* Script +=========================== + +This PowerShell script creates a new junction, linking to a target. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/new-junction.ps1 [[-junction] ] [[-target] ] [] + +-junction + Specifies the file path to the new junction + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false + +-target + Specifies the file path to the target + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./new-junction.ps1 D:\Win10 C:\Windows +✅ Created new junction 'D:\Windows' linking to: C:\Windows + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Create a junction +.DESCRIPTION + This PowerShell script creates a new junction, linking to a target. +.PARAMETER junction + Specifies the file path to the new junction +.PARAMETER target + Specifies the file path to the target +.EXAMPLE + PS> ./new-junction.ps1 D:\Win10 C:\Windows + ✅ Created new junction 'D:\Windows' linking to: C:\Windows +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$junction = "", [string]$target = "") + +try { + if ($junction -eq "" ) { $symlink = Read-Host "Enter new junction filename" } + if ($target -eq "" ) { $target = Read-Host "Enter path to target" } + + New-Item -path "$symlink" -itemType Junction -value "$target" + if ($lastExitCode -ne "0") { throw "Command 'New-Item' has failed" } + + "✅ Created new junction '$symlink' linking to: $target" + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index 65269f0ac..c365fa926 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/new-power-plan.md b/docs/new-power-plan.md index e2029a740..bcdd08d62 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 6118cad0b..4dba68219 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -110,4 +110,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index 894000e19..40f527bbd 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/new-script.md b/docs/new-script.md index 51eb93e6a..53e08571a 100644 --- a/docs/new-script.md +++ b/docs/new-script.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index d301798c7..5f55a6374 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index a4319a4ff..a3541aced 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index 4cb008b58..80cc5f827 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/new-tag.md b/docs/new-tag.md index 02f82cb59..8709f3853 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/new-user.md b/docs/new-user.md index 63e077df5..63382700e 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index 680a7bc15..f5a355fbc 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index 1165fbce0..84ac1a944 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-URL.md b/docs/open-URL.md index 5fcc0b7a8..0391d065c 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index 91491c114..7c7717efd 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index 0e1369974..3ca50b538 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index e8ea60404..d6fc7d4b8 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index 121f130ee..bb8a9739c 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 01/17/2025 08:37:10)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index b07ad5e9c..23cb3b15e 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index 3db94e3fb..7ee674a1d 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index d4c4ad8bf..46c6ac490 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-clock.md b/docs/open-clock.md index 13fbad5f6..e3a91b067 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index 4d34d1563..0601ef85b 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index 6868348ec..8e13cea9e 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index efa98abe2..299eac808 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index a90d73737..f4022fb52 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index 4f2565cda..89c86d455 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index ece1bcc05..066097658 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index a1bb7b7e2..08c43b5ee 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index 9fb84f603..35fe8e206 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index a94d38040..78aff2ab5 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index 28c9bc478..34c6b6672 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index f7bec0ff0..49aca885e 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-edge.md b/docs/open-edge.md index be0c527fc..90ad4c8d0 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index e98a4345b..fd4131b5c 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index e61261b72..343c13fce 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index c78ed8db9..64d97dc55 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index f28657964..ae7a4ac1a 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index 5a92ce5cb..6f79e366c 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index bf7c0cb19..1b87c2a0f 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index 1dddb638d..c34655b82 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index 06e593e60..5a65521d0 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index ecd45bc69..65a135f5d 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index 620db212c..51472d71d 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index 0c056aed1..aaa7811fd 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index fdb361d9b..3fa65e9c5 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index 66e19c261..1aedd11d9 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 5b0b9cd3e..5b282860a 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index 2e1d54a30..1bf4b42f4 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index 3f9319fa8..96d44522f 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index 0a2ff5a62..fb55487f9 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index f732eae46..1ce41ac59 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index 5fc030e3f..7480ca9b8 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index 42a6bb7c2..ce00f9747 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index 434e6a492..d133c1add 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index a384babbd..2cfd2193f 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index 96139e93d..4bfb389e1 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 39f4549b6..c70449eab 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index 9f406c67f..3112a1839 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index 944f3f5ab..bc610e86d 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index a7a3f4d1d..9a05b07d9 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index ebb71864e..45b2ca79d 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index 8c6cb1578..e3104ed51 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index 221279d71..c28295599 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index 69393e173..e5bb5df4f 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index 558ca8b79..04aea656f 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index 1044790c9..ad219e58e 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index de6188c34..ddb8949dc 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index 95cb7c2d4..47a7dde82 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index 3c6f88212..900699655 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index dd526787a..b48370bb4 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index f57ddc347..8b7e95376 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -47,4 +47,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index 6b9b8a216..163e3e589 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index 9b87aa6c4..789471338 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index 25a33fe0d..e66416b1a 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -64,4 +64,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index f268ba609..f3cb7fd6e 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index 073227794..3dcfbdd5d 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 268eaf502..3711a78ad 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index 46f4fcde6..1fc25f8d6 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index 5472900ca..20202ce4c 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-skype.md b/docs/open-skype.md index d16d86663..4cfa01c5c 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index b626a5a62..55ee04c24 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index ebbeddd2b..778f5ffb9 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index e230bce37..b0de6119b 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index d1dca85fe..b9b0d2ee6 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 2d41024c7..9ee6df1d9 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index 7dd08b561..9c2474829 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index 7cf7b2ae8..f74143e8b 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index 659461b4c..54d7a55cb 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index 9cb0100dd..80eb015e2 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index d6c95f4f0..925751f41 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -45,4 +45,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index da95c3a36..15edd6f52 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index fa72f3f8d..b2ca09f94 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index 0d3a776ea..b5b575eb3 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 33731ba63..502480aa6 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index 393b3ab99..776361e93 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index 060f7b5b7..a6c2e29af 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/open-xing.md b/docs/open-xing.md index c84d59cc5..6ef5fe47c 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index faf0a81b0..ae41ccd15 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -151,4 +151,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/ping-host.md b/docs/ping-host.md index 807693195..c03f8bab3 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index 6901284dc..209deb4e5 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index 92e5740d5..cbdfa7b85 100644 --- a/docs/ping-local-devices.md +++ b/docs/ping-local-devices.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index ae496c710..1199befbb 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index d9ba8d7a2..f05e1861d 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index 7b45a2d42..92c2414dd 100644 --- a/docs/play-beep-sound.md +++ b/docs/play-beep-sound.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index 5069f6977..ed96d7baa 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index 98c7fb90e..dd621973b 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-chess.md b/docs/play-chess.md index 1ab9abebb..12808bdb7 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index 7a8bf8732..732e0e7a6 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index b76fb2d1b..1285b8066 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index d227cdf0d..1305fabb3 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index 13ddbb8ee..639e64d09 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index 05fe74dbe..5fbdd990f 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-files.md b/docs/play-files.md index d32099c9e..9ef2220de 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index 209dd1901..8ea0f2cce 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index b2a32152e..b075ac6ab 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index 024d1f4f5..d5e95203a 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index 10e6b2099..285367b01 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 80fa95cb3..9b0edb4bf 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index d819b32da..eb2f36897 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index ffe989a70..f880a3713 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index 46bf9f4cd..b118d7249 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index cc174fdb9..409cd179f 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index 6589649d6..d046a456c 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index fcb595077..201ebdce8 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index 9117af793..ae7119bc7 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index 15d7334fe..5ede3be32 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-pong.md b/docs/play-pong.md index 8dd59aed5..54ea036bf 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index 74976aec8..3e529bd94 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 336328215..0c4be47cd 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-snake.md b/docs/play-snake.md index 0cb1d6a70..1a9653574 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index 6a3f29d9f..630aab7d5 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index 36a8a492f..2910ba7b9 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index f4ee51564..fc440f4ca 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index 3e0d7c608..2730ca9ae 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index cbb50bd5a..fd26c3ec5 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/poweroff.md b/docs/poweroff.md index 9e27e350c..ba25b3f0c 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/print-image.md b/docs/print-image.md index 35de95d87..da1cf6110 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index 8fbf6c2d3..17f3595c5 100644 --- a/docs/publish-to-ipfs.md +++ b/docs/publish-to-ipfs.md @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index 38397f5a3..c386f2582 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index 91ee231f9..755804ec0 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index 85ac14a77..b5f213dfa 100644 --- a/docs/query-smart-data.md +++ b/docs/query-smart-data.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index 5c878db86..9481ad390 100644 --- a/docs/reboot-fritzbox.md +++ b/docs/reboot-fritzbox.md @@ -152,4 +152,4 @@ echo $Result exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/reboot.md b/docs/reboot.md index 056f3590f..d2923d566 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/remember.md b/docs/remember.md index c6a39bca1..af06e9bd2 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/remind-me.md b/docs/remind-me.md index 89e5b221f..43fabcd88 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/remove-dir-tree.md b/docs/remove-dir-tree.md index 2dc221823..c597a6f77 100644 --- a/docs/remove-dir-tree.md +++ b/docs/remove-dir-tree.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index 2917a637b..5d59370f1 100644 --- a/docs/remove-empty-dirs.md +++ b/docs/remove-empty-dirs.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index 99d3236bd..f400621c8 100644 --- a/docs/remove-old-dirs.md +++ b/docs/remove-old-dirs.md @@ -34,7 +34,8 @@ Parameters Example ------- ```powershell -PS> ./remove-old-dirs.ps1 C:\Temp 90 +PS> ./remove-old-dirs.ps1 C:\Temp 365 +✅ Removed 0 subfolders in 1s (67 skipped). ``` @@ -59,7 +60,8 @@ Script Content .PARAMETER numDays Specifies the number of days (1000 by default) .EXAMPLE - PS> ./remove-old-dirs.ps1 C:\Temp 90 + PS> ./remove-old-dirs.ps1 C:\Temp 365 + ✅ Removed 0 subfolders in 1s (67 skipped). .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -73,7 +75,7 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() if (!(Test-Path -Path "$path" -PathType container)) { throw "Given path doesn't exist - enter a valid path, please" } - Write-Host "⏳ Searching for subfolders at '$path' older than $numDays days..." + Write-Host "⏳ Searching in '$path' for subfolders older than $numDays days..." $numRemoved = $numSkipped = 0 $folders = Get-ChildItem -path "$path" -directory foreach ($folder in $folders) { @@ -88,7 +90,7 @@ try { } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Removed $numRemoved subfolders older than $numDays days in $($elapsed)s ($numSkipped skipped)." + "✅ Removed $numRemoved subfolders in $($elapsed)s ($numSkipped skipped)." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -96,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 1c21d9c4c..11e35f55e 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 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index 57dc4b268..fd4215b20 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/remove-user.md b/docs/remove-user.md index 9e2ff779b..e2483c749 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:11)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index ccb532f06..c5ccbf9fd 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index d998cd73a..6da74523d 100644 --- a/docs/replace-in-files.md +++ b/docs/replace-in-files.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index d4de0c1fe..7cc847555 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index a41691ed1..3124dd038 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index c1d53232b..0cb13d4e7 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index a9e4ccd35..3ebf38f69 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index f2c8e0658..b05025ec0 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/scan-network.md b/docs/scan-network.md index 74b3eaecd..5d373cbad 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index cf9e18c59..aa8ff9aec 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/search-filename.md b/docs/search-filename.md index c043adffe..d463b92fa 100644 --- a/docs/search-filename.md +++ b/docs/search-filename.md @@ -96,4 +96,4 @@ Search-Folder -FilePath $path -SearchTerm $term exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/search-files.md b/docs/search-files.md index ebfc31738..88132870e 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/search-repo.md b/docs/search-repo.md index 19953bcd1..3ede3f5d5 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/send-email.md b/docs/send-email.md index 4a7a40420..6777bec28 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index 82f3f14ef..7a473d28c 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/send-udp.md b/docs/send-udp.md index df515a0c0..47033c412 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/set-timer.md b/docs/set-timer.md index 9b7afb4ca..c833e01ac 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/set-volume.md b/docs/set-volume.md index 726f80be9..0e4a72cd6 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index 766eee4b4..983aecc14 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index a4d0cd585..e3cfdc4d9 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index c81e54009..28bdf18ec 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/show-notification.md b/docs/show-notification.md index 135ccfd76..0b0a808bf 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index 2b66fac88..9460648ad 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index 51d10f597..a44c4f823 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index 982d8fe5b..b1998b518 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -141,4 +141,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 49e55dde9..7e21a1577 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index c0cc7760c..b4ba63fb0 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index 5f27b4569..a207e5740 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index a1317f7fc..0f916f861 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index bd2cedb75..ebcde5276 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index c8d679003..f2914bce3 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/speak-english.md b/docs/speak-english.md index a11ecaaea..5ada836f2 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index 3e78e65ee..28556e2ad 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -139,4 +139,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index bcaba4caf..57a04e77a 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* diff --git a/docs/speak-file.md b/docs/speak-file.md index 5b2969394..e50b40e28 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index bd36f368d..f519471e0 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-french.md b/docs/speak-french.md index dbe8f4f0e..2788f8688 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-german.md b/docs/speak-german.md index dbcc55d8b..87f2368a6 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index 28bfecb0d..470a6a54f 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index 5f480c1e7..ea0357e27 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index c63ea4d1f..6881b72c4 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index 1f87717a9..8cd10c6fe 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index faf0514c9..67ec167c3 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index faccc4908..0c59bcee1 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index 2adaf1e65..929ff07da 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index 4ed4fd3ce..8fbb07b06 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 56a37df03..4dd9c5f42 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index e19a638d9..bedc56408 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index 75170d6d2..ccfc980ce 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index 909fd5481..c413b1b9e 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index 987dba236..e8b0d9c34 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index cd2b38606..131502e6b 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-test.md b/docs/speak-test.md index 0443b30bd..c4271a65b 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-text.md b/docs/speak-text.md index 90cb0bdea..d1f9f77cb 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index 0a323e69b..8e6617314 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index bd01ac688..875dbd183 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index c6bc560ad..0d99b5d1f 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/spell-word.md b/docs/spell-word.md index 7c69e3a6e..177cbcdf3 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index c04bbb385..e46451a65 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/suspend.md b/docs/suspend.md index 00543a1e4..4f5740cc0 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index 046782855..91b912a77 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -126,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index 91d9ad04b..9bbfcb679 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index e8035d632..adcfa3100 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/sync-folder.md b/docs/sync-folder.md index 6df3ee263..6dd8475f0 100644 --- a/docs/sync-folder.md +++ b/docs/sync-folder.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index c08ad707f..0e41f23a4 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index cc9399e68..96240c49a 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index ba4068214..bbf7a4bf0 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index d73456058..bee009509 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index 90dbd81e7..713016807 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index b2a8f3353..a900bd8c1 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index a7fa416eb..4978bf98c 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/translate-file.md b/docs/translate-file.md index 03fc6f07a..b61a2cb76 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -108,4 +108,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/translate-files.md b/docs/translate-files.md index 1083b947b..432da3568 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/translate-text.md b/docs/translate-text.md index 9c68d5594..59f3d7632 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index f00326eaa..424a91088 100644 --- a/docs/turn-volume-down.md +++ b/docs/turn-volume-down.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index e4113497b..57025d205 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index ad51e67d2..f3d44e2ad 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index 53602c944..903dcc77d 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index 295e6af64..01321d23d 100644 --- a/docs/turn-volume-up.md +++ b/docs/turn-volume-up.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index d96e3ac8a..7e0277eea 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index c69f04078..563e3f744 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/uninstall-new-outlook.md b/docs/uninstall-new-outlook.md index 62c83c588..2069ca2aa 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/uninstall-outlook.md b/docs/uninstall-outlook.md index 6cd725376..5efff7beb 100644 --- a/docs/uninstall-outlook.md +++ b/docs/uninstall-outlook.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index 4d03c56b4..a15a4b676 100644 --- a/docs/update-powershell-profile.md +++ b/docs/update-powershell-profile.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index 572da3619..b5e0b3c0f 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/upload-file.md b/docs/upload-file.md index b7d9f33fd..ba54c9c06 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -145,4 +145,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index d31ad36a3..2fec24fd4 100644 --- a/docs/upload-to-dropbox.md +++ b/docs/upload-to-dropbox.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index 0bca0deff..4a977856f 100644 --- a/docs/wake-up-host.md +++ b/docs/wake-up-host.md @@ -120,4 +120,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/wake-up-human.md b/docs/wake-up-human.md index c0a4973d3..ede9291d0 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index cb8ae9676..875cc2065 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/watch-file.md b/docs/watch-file.md index 287c88d76..ac3fdc469 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 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/watch-host.md b/docs/watch-host.md index 00c675c6e..95228c71d 100644 --- a/docs/watch-host.md +++ b/docs/watch-host.md @@ -147,4 +147,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/watch-news.md b/docs/watch-news.md index ea30b3bab..ff626824d 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index 5b2430daa..4d28fd2f8 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -135,4 +135,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/weather-report.md b/docs/weather-report.md index 4010d1dce..a85056c2d 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/weather.md b/docs/weather.md index eb4b4aa94..691c79edf 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/what-is.md b/docs/what-is.md index aab111091..bfdc202a1 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/windefender.md b/docs/windefender.md index e7b107646..6d4745657 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -82,4 +82,4 @@ break } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-animated.md b/docs/write-animated.md index a0596782b..c3dc8a2c0 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:12)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index 9f30bca2b..c8f311f6a 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 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-big.md b/docs/write-big.md index ab3182818..9af722a86 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -471,4 +471,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-blue.md b/docs/write-blue.md index d2a2a8328..2f3a75c49 100644 --- a/docs/write-blue.md +++ b/docs/write-blue.md @@ -64,4 +64,4 @@ write-host -foregroundColor blue "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-braille.md b/docs/write-braille.md index ef6df7337..912d5427e 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -408,4 +408,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-centered.md b/docs/write-centered.md index 3554ba1ac..3115cc40f 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index 1781228f1..2162cd99e 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -154,4 +154,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-chart.md b/docs/write-chart.md index a38dc92d2..596719687 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 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-clock.md b/docs/write-clock.md index 4261ceeba..33804e4a3 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-code.md b/docs/write-code.md index f14a14161..b73d10876 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-credits.md b/docs/write-credits.md index f357d7dd0..038591f9c 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-date.md b/docs/write-date.md index d51688c32..aa8d2664b 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index 588f596d8..0ee602831 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 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-green.md b/docs/write-green.md index 11d820c18..a723cb925 100644 --- a/docs/write-green.md +++ b/docs/write-green.md @@ -63,4 +63,4 @@ write-host -foregroundColor green "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index b62464ad2..538e681e0 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 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-headline.md b/docs/write-headline.md index 08e4293b2..714a47136 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-help.md b/docs/write-help.md index a73bd2e6d..b2d4bfa2d 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index ac7a6c91d..eeed8aef2 100644 --- a/docs/write-in-emojis.md +++ b/docs/write-in-emojis.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 489833fbb..9b6c4ec11 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-location.md b/docs/write-location.md index f6c252e6d..64d42c75d 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index fbff8c70d..eddf264b1 100644 --- a/docs/write-lowercase.md +++ b/docs/write-lowercase.md @@ -65,4 +65,4 @@ Write-Output $text.ToLower() exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index 099041ab5..98f871eac 100644 --- a/docs/write-marquee.md +++ b/docs/write-marquee.md @@ -89,4 +89,4 @@ StartMarquee " exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index 08233d0b8..3d82719f5 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 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-moon.md b/docs/write-moon.md index 0d0230d03..2689e3b14 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index 6d9b0065e..d723aadcf 100644 --- a/docs/write-morse-code.md +++ b/docs/write-morse-code.md @@ -153,4 +153,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-motd.md b/docs/write-motd.md index 60def066b..59399e3fa 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 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-pi.md b/docs/write-pi.md index e57f6af37..5361b42a0 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -117,4 +117,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index 0942c3a4b..c910bf05f 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 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 65eb646e9..96d63c15c 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* diff --git a/docs/write-red.md b/docs/write-red.md index 8d6d111d5..a024ed42a 100644 --- a/docs/write-red.md +++ b/docs/write-red.md @@ -63,4 +63,4 @@ write-host -foregroundcolor red "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index 59d05770e..af40aec74 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* diff --git a/docs/write-shit.md b/docs/write-shit.md index e47d9c141..d6c68f85b 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 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index 39f8ab607..8912b8b29 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 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* diff --git a/docs/write-time.md b/docs/write-time.md index 090730f65..b61c814c9 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index d0416d0ab..894a50c4b 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index 43f40a151..ec0b71d9c 100644 --- a/docs/write-uppercase.md +++ b/docs/write-uppercase.md @@ -65,4 +65,4 @@ Write-Output $text.ToUpper() exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* diff --git a/docs/write-value.md b/docs/write-value.md index e34bababf..cf4eac35f 100644 --- a/docs/write-value.md +++ b/docs/write-value.md @@ -147,4 +147,4 @@ Write-Host "CPU too hot " exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index 21fbb2d04..bd81e98f9 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md index 1a607a4f0..7936c19c0 100644 --- a/docs/write-xmas-tree.md +++ b/docs/write-xmas-tree.md @@ -126,4 +126,4 @@ do { ``` -*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:37:13)* +*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* From 09475addd404c6178dfcfd18632189f2771eea74 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 24 Jan 2025 11:10:30 +0100 Subject: [PATCH 166/737] Updated clean-repo.ps1 --- scripts/clean-repo.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/clean-repo.ps1 b/scripts/clean-repo.ps1 index 11fbaf70d..7d343867c 100755 --- a/scripts/clean-repo.ps1 +++ b/scripts/clean-repo.ps1 @@ -8,11 +8,11 @@ Specifies the file path to the local Git repository (current working directory by default) .EXAMPLE PS> ./clean-repo.ps1 C:\Repos\rust - ⏳ (1/4) Searching for Git executable... git version 2.45.0 + ⏳ (1/4) Searching for Git executable... git version 2.47.0 ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Removing untracked files in repository... ⏳ (4/4) Removing untracked files in submodules... - ✅ Cleaned up repo 📂rust in 2s. + ✅ Cleaned the 📂rust repository in 2s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -45,7 +45,7 @@ try { if ($lastExitCode -ne "0") { throw "'git clean' in the submodules failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Cleaned up repo 📂$repoName in $($elapsed)s." + "✅ Cleaned the 📂$repoName repository in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From eb8ba5bdfc2b0d57155d11a29ae007fab318e9fc Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 27 Jan 2025 16:01:32 +0100 Subject: [PATCH 167/737] Updated clean-repos.ps1 --- scripts/clean-repos.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/clean-repos.ps1 b/scripts/clean-repos.ps1 index e795c05d3..29c80ec7d 100755 --- a/scripts/clean-repos.ps1 +++ b/scripts/clean-repos.ps1 @@ -7,7 +7,7 @@ Specifies the path to the parent folder (current working dir by default) .EXAMPLE PS> ./clean-repos.ps1 C:\MyRepos - ⏳ (1) Searching for Git executable... git version 2.40.1 + ⏳ (1) Searching for Git executable... git version 2.47.1 ⏳ (2) Checking parent folder 📂Repos... 28 subfolders found ⏳ (3/30) Cleaning 📂base256unicode... ... @@ -46,7 +46,7 @@ try { if ($lastExitCode -ne "0") { throw "'git clean -xfd -f' in submodules failed with exit code $lastExitCode" } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Cleaned $numFolders Git repos under 📂$parentDirName in $elapsed sec" + "✅ Cleaned $numFolders Git repositories under 📂$parentDirName in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 13244e37fe75f4a6292fd3c6be03e4f1f2a2718b Mon Sep 17 00:00:00 2001 From: Arash-Seifi Date: Wed, 29 Jan 2025 19:43:42 +0330 Subject: [PATCH 168/737] Added the script for adding fonts to the system by giving a source folder. --- README.md | 1 + docs/install-fonts.md | 41 +++++++++++++++++++++++++++++++++++++++ scripts/install-fonts.ps1 | 26 +++++++++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 docs/install-fonts.md create mode 100644 scripts/install-fonts.ps1 diff --git a/README.md b/README.md index c1419679b..70f472a46 100644 --- a/README.md +++ b/README.md @@ -203,6 +203,7 @@ Mega Collection of PowerShell Scripts | [get-sha1.ps1](scripts/get-sha1.ps1) | Prints the SHA1 checksum of the given file. [Read more...](docs/get-sha1.md) | | [get-sha256.ps1](scripts/get-sha256.ps1) | Prints the SHA256 checksum of the given file. [Read more...](docs/get-sha256.md) | | [inspect-exe.ps1](scripts/inspect-exe.ps1) | Prints basic information of the given executable file. [Read more...](docs/inspect-exe.md) | +| [install-fonts.ps1](scripts/install-fonts.ps1) | installs fonts and updates the registry. [Read more...](docs/install-fonts.md) | | [list-dir-tree.ps1](scripts/list-dir-tree.ps1) | Lists the directory tree content. [Read more...](docs/list-dir-treep.md) | | [list-empty-dirs.ps1](scripts/list-empty-dirs.ps1) | Lists empty subfolders within the given directory tree. [Read more...](docs/list-empty-dirs.md) | | [list-empty-files.ps1](scripts/list-empty-files.ps1) | Lists empty files within the given directory tree. [Read more...](docs/list-empty-files.md) | diff --git a/docs/install-fonts.md b/docs/install-fonts.md new file mode 100644 index 000000000..4c0131c0b --- /dev/null +++ b/docs/install-fonts.md @@ -0,0 +1,41 @@ +The *install-fonts.ps1* Script +=========================== + +install-fonts.ps1 + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Script Content +-------------- +```powershell +$sourceFolder = "D:\related\FONT" + +$fontsFolder = "$env:SystemRoot\Fonts" + +$fontFiles = Get-ChildItem -Path $sourceFolder -Filter *.ttf + +foreach ($font in $fontFiles) { + $destination = "$fontsFolder\$($font.Name)" + Copy-Item -Path $font.FullName -Destination $destination -Force + + $fontName = [System.IO.Path]::GetFileNameWithoutExtension($font.Name) + $fontRegistryPath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" + + $fontType = "TrueType" + + New-ItemProperty -Path $fontRegistryPath -Name "$fontName ($fontType)" -PropertyType String -Value $font.Name -Force +} + +Write-Output "Fonts have been installed successfully." +``` + +*(page generated by convert-ps2md.ps1 as of 01/29/2025 19:36:33)* \ No newline at end of file diff --git a/scripts/install-fonts.ps1 b/scripts/install-fonts.ps1 new file mode 100644 index 000000000..4c8aff6b8 --- /dev/null +++ b/scripts/install-fonts.ps1 @@ -0,0 +1,26 @@ +# Set the source folder containing the fonts, Like the example below +$sourceFolder = "D:\related\FONT" + +# Set the destination folder for fonts, you don't need to change this +$fontsFolder = "$env:SystemRoot\Fonts" + +# Get all font files from the source folder +$fontFiles = Get-ChildItem -Path $sourceFolder -Filter *.ttf + +foreach ($font in $fontFiles) { + # Copy font files to the Fonts folder + $destination = "$fontsFolder\$($font.Name)" + Copy-Item -Path $font.FullName -Destination $destination -Force + + # Add font to registry + $fontName = [System.IO.Path]::GetFileNameWithoutExtension($font.Name) + $fontRegistryPath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" + + # For TrueType fonts + $fontType = "TrueType" + + # Add the registry entry + New-ItemProperty -Path $fontRegistryPath -Name "$fontName ($fontType)" -PropertyType String -Value $font.Name -Force +} + +Write-Output "Fonts have been installed successfully." From 068c711b9450256d2d653473173ec2063252b3c5 Mon Sep 17 00:00:00 2001 From: Arash-Seifi Date: Wed, 29 Jan 2025 20:07:03 +0330 Subject: [PATCH 169/737] Added parameter for source folder with fallback prompt if not provided --- docs/install-fonts.md | 19 ++++++++++++++++--- scripts/install-fonts.ps1 | 10 ++++++++-- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/docs/install-fonts.md b/docs/install-fonts.md index 4c0131c0b..e40075bb9 100644 --- a/docs/install-fonts.md +++ b/docs/install-fonts.md @@ -1,7 +1,7 @@ The *install-fonts.ps1* Script =========================== -install-fonts.ps1 +install-fonts.ps1 [[-sourceFolder] ] Parameters @@ -17,25 +17,38 @@ Parameters Script Content -------------- ```powershell -$sourceFolder = "D:\related\FONT" +param( + [string]$sourceFolder = "" +) +# If no parameter is given, prompt the user for the source folder +if (-not $sourceFolder) { + $sourceFolder = Read-Host "Please enter the path to the source folder" +} + +# Set the destination folder for fonts, you don't need to change this $fontsFolder = "$env:SystemRoot\Fonts" +# Get all font files from the source folder $fontFiles = Get-ChildItem -Path $sourceFolder -Filter *.ttf foreach ($font in $fontFiles) { + # Copy font files to the Fonts folder $destination = "$fontsFolder\$($font.Name)" Copy-Item -Path $font.FullName -Destination $destination -Force + # Add font to registry $fontName = [System.IO.Path]::GetFileNameWithoutExtension($font.Name) $fontRegistryPath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" + # For TrueType fonts $fontType = "TrueType" + # Add the registry entry New-ItemProperty -Path $fontRegistryPath -Name "$fontName ($fontType)" -PropertyType String -Value $font.Name -Force } Write-Output "Fonts have been installed successfully." ``` -*(page generated by convert-ps2md.ps1 as of 01/29/2025 19:36:33)* \ No newline at end of file +*(page generated by convert-ps2md.ps1 as of 01/29/2025 20:04:23)* \ No newline at end of file diff --git a/scripts/install-fonts.ps1 b/scripts/install-fonts.ps1 index 4c8aff6b8..c65d14b23 100644 --- a/scripts/install-fonts.ps1 +++ b/scripts/install-fonts.ps1 @@ -1,5 +1,11 @@ -# Set the source folder containing the fonts, Like the example below -$sourceFolder = "D:\related\FONT" +param( + [string]$sourceFolder = "" +) + +# If no parameter is given, prompt the user for the source folder +if (-not $sourceFolder) { + $sourceFolder = Read-Host "Please enter the path to the source folder" +} # Set the destination folder for fonts, you don't need to change this $fontsFolder = "$env:SystemRoot\Fonts" From 6c86abdd6f7bde493ed3d1b15a65c6ba81768e44 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 31 Jan 2025 12:27:45 +0100 Subject: [PATCH 170/737] Updated list-updates.ps1 --- scripts/list-updates.ps1 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/list-updates.ps1 b/scripts/list-updates.ps1 index 47873e8c5..014ea569e 100755 --- a/scripts/list-updates.ps1 +++ b/scripts/list-updates.ps1 @@ -28,9 +28,12 @@ try { } elseif ($IsMacOS) { throw "Sorry, MacOS not supported yet" } else { - Write-Progress "Querying updates from Microsoft Store and winget..." - " " - & winget upgrade --include-unknown + Write-Progress "Querying available updates from winget..." + Write-Host " " + & winget upgrade --include-unknown --source=winget + Write-Host " " + Write-Progress "Querying available updates from Microsoft Store..." + & winget upgrade --include-unknown --source=msstore Write-Progress -completed "Done." } " " From a03a57e3ef8c3d3f48bb713f963b05dc29fc658a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 31 Jan 2025 12:42:57 +0100 Subject: [PATCH 171/737] Updated list-updates.ps1 --- scripts/list-updates.ps1 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/list-updates.ps1 b/scripts/list-updates.ps1 index 014ea569e..06dd4d894 100755 --- a/scripts/list-updates.ps1 +++ b/scripts/list-updates.ps1 @@ -28,13 +28,11 @@ try { } elseif ($IsMacOS) { throw "Sorry, MacOS not supported yet" } else { - Write-Progress "Querying available updates from winget..." - Write-Host " " + Write-Host "`n === WinGet Store ===" -foregroundColor green & winget upgrade --include-unknown --source=winget - Write-Host " " - Write-Progress "Querying available updates from Microsoft Store..." + + Write-Host "`n === Microsoft Store ===" -foregroundColor green & winget upgrade --include-unknown --source=msstore - Write-Progress -completed "Done." } " " "NOTE: Execute script 'install-updates.ps1' to install the listed updates." From fdc496d115c0e88f4c926a73ecd30ff40e427ac2 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 5 Feb 2025 14:34:04 +0100 Subject: [PATCH 172/737] Updated computing.csv --- data/dicts/computing.csv | 1 + data/dicts/english_dictionary.csv | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/data/dicts/computing.csv b/data/dicts/computing.csv index bdeadede0..1e082f174 100644 --- a/data/dicts/computing.csv +++ b/data/dicts/computing.csv @@ -1069,6 +1069,7 @@ EZ/EC,Empowerment Zone/Enterprise Community FA,Flexible Automation FACTA,Fair and Accurate Credit Transactions Act FAR,Federal Acquisition Regulation +FARM,Field Accessible Reliability Metrics FAS,Final Assembly Schedule FASAB,Federal Accounting Standards Advisory Board FAT,File Allocation Table diff --git a/data/dicts/english_dictionary.csv b/data/dicts/english_dictionary.csv index 0ef8087f3..b3265f884 100644 --- a/data/dicts/english_dictionary.csv +++ b/data/dicts/english_dictionary.csv @@ -7263,19 +7263,19 @@ TERM,MEANING "Farinose","(adv.) Civered with a sort of white, mealy powder, as the leaves of some poplars, and the body of certain insects; mealy." "Farl","(verb trans.) same as Furl." "Farlie","(noun) an unusual or unexpected thing; a wonder. see Fearly." -"Farm","a. & n.","The rent of land, -- originally paid by reservation of part of its products." -"Farm","a. & n.","The term or tenure of a lease of land for cultivation; a leasehold." -"Farm","a. & n.","The land held under lease and by payment of rent for the purpose of cultivation." -"Farm","a. & n.","any tract of land devoted to agricultural purposes, under the management of a tenant or the owner." -"Farm","a. & n.","a district of country leased (or farmed) out for the collection of the revenues of government." -"Farm","a. & n.","a lease of the imposts on particular goods; as, the sugar farm, the silk farm." +Farm,"(a. & n.) the rent of land, -- originally paid by reservation of part of its products." +Farm,"(a. & n.) the term or tenure of a lease of land for cultivation; a leasehold." +Farm,"(a. & n.) the land held under lease and by payment of rent for the purpose of cultivation." +Farm,"(a. & n.) any tract of land devoted to agricultural purposes, under the management of a tenant or the owner." +Farm,"(a. & n.) a district of country leased (or farmed) out for the collection of the revenues of government." +Farm,"(a. & n.) a lease of the imposts on particular goods; as, the sugar farm, the silk farm." "Farmed","imp. & p. p.","of Farm" "Farming","p. pr. & vb. n.","of Farm" -"Farm","(verb trans.) to lease or let for an equivalent, as land for a rent; to yield the use of to proceeds." -"Farm","(verb trans.) to give up to another, as an estate, a business, the revenue, etc., on condition of receiving in return a percentage of what it yields; as, to farm the taxes." -"Farm","(verb trans.) to take at a certain rent or rate." -"Farm","(verb trans.) to devote (land) to agriculture; to cultivate, as land; to till, as a farm." -"Farm","(verb intrans.) to engage in the business of tilling the soil; to labor as a farmer." +Farm,"(verb trans.) to lease or let for an equivalent, as land for a rent; to yield the use of to proceeds." +Farm,"(verb trans.) to give up to another, as an estate, a business, the revenue, etc., on condition of receiving in return a percentage of what it yields; as, to farm the taxes." +Farm,"(verb trans.) to take at a certain rent or rate." +Farm,"(verb trans.) to devote (land) to agriculture; to cultivate, as land; to till, as a farm." +Farm,"(verb intrans.) to engage in the business of tilling the soil; to labor as a farmer." "Farmable","(adv.) Capable of being farmed." "Farmer","(noun) one who farms" "Farmer","(noun) one who hires and cultivates a farm; a cultivator of leased ground; a tenant." From b2bb0b8ca18333a22ea23dd52998ba06de362497 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 6 Feb 2025 15:33:02 +0100 Subject: [PATCH 173/737] Updated ping-host.ps1 --- scripts/ping-host.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index b8e22b057..9658efcf4 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -7,7 +7,7 @@ Specifies the hostname or IP address to ping (x.com by default) .EXAMPLE PS> ./ping-host.ps1 x.com - ✅ Host 'x.com' with 20ms latency at IP 104.244.42.1 is up 👍 + ✅ 'x.com' is up 👍 (20ms to IP 104.244.42.1) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,14 +22,14 @@ try { [Threading.Tasks.Task]::WaitAll($tasks) foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { - Write-Output "✅ Host '$hostname' with $($ping.RoundtripTime)ms latency at IP $($ping.Address) is up 👍" + Write-Output "✅ '$hostname' is up 👍 ($($ping.RoundtripTime / 2)ms to IP $($ping.Address))" exit 0 # success } else { Write-Output "⚠️ No reply from '$hostname' (IP $($ping.Address)) - check the connection or maybe the host is down." exit 1 } } - Write-Output "⚠️ No reply from host '$hostname' - check the connection or maybe the host is down." + Write-Output "⚠️ No reply from '$hostname' - check the connection or maybe the host is down." exit 1 } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From f896e880a38c86d14223f71a1169cf0eedcea30c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 6 Feb 2025 16:39:44 +0100 Subject: [PATCH 174/737] Added write-story.ps1 --- scripts/list-console-colors.ps1 | 19 ++++++++------- scripts/write-story.ps1 | 41 +++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 10 deletions(-) create mode 100644 scripts/write-story.ps1 diff --git a/scripts/list-console-colors.ps1 b/scripts/list-console-colors.ps1 index 918a8a173..a41eefdac 100755 --- a/scripts/list-console-colors.ps1 +++ b/scripts/list-console-colors.ps1 @@ -16,17 +16,16 @@ #> try { - $Colors = [Enum]::GetValues([ConsoleColor]) + $colors = [Enum]::GetValues([ConsoleColor]) "" - "Color As Foreground As Background" - "----- ------------- -------------" - foreach($Color in $Colors) { - $Color = "$Color " - $Color = $Color.substring(0, 15) - write-host -noNewline "$Color" - write-host -noNewline -foregroundcolor $Color "$Color" - write-host -noNewline -backgroundcolor $Color "$Color" - write-host "" + "COLOR FOREGROUND BACKGROUND" + "----- ---------- ----------" + foreach($color in $colors) { + $color = "$color " + $color = $color.substring(0, 15) + Write-Host "$color" -noNewline + Write-Host "$color" -foregroundColor $color -noNewline + Write-Host "$color" -backgroundColor $color } exit 0 # success } catch { diff --git a/scripts/write-story.ps1 b/scripts/write-story.ps1 new file mode 100644 index 000000000..16e87ce4b --- /dev/null +++ b/scripts/write-story.ps1 @@ -0,0 +1,41 @@ +<# +.SYNOPSIS + Writes a story +.DESCRIPTION + This PowerShell script writes a story to the console output. +.EXAMPLE + PS> ./write-story.ps1 + ... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +$story = @( + '' + 'The Lottery Ticket' + '==================' + 'by Anton Pavlovich Chekhov (1860-1904)' + '' + 'Ivan Dmitritch, a middle-class man who lived with his family on an income of twelve hundred a year and was very well satisfied with his lot, sat down on the sofa after supper and began reading the newspaper.' + '' + '"I forgot to look at the newspaper today," his wife said to him as she cleared the table. "Look and see whether the list of drawings is there."' + '' + '"Yes, it is," said Ivan Dmitritch; "but hasnt your ticket lapsed?"' + '' + '"No; I took the interest on Tuesday."' + '' + '"What is the number?"' + '' + '"Series 9,499, number 26."' + '' + '"All right . . . we will look . . . 9,499 and 26."' + '' + 'Ivan Dmitritch had no faith in lottery luck, and would not, as a rule, have consented to look at the lists of winning numbers, but now, as he had nothing else to do and as the newspaper was before his eyes, he passed his finger downwards along the column of numbers. And immediately, as though in mockery of his scepticism, no further than the second line from the top, his eye was caught by the figure 9,499! Unable to believe his eyes, he hurriedly dropped the paper on his knees without looking to see the number of the ticket, and, just as though some one had given him a douche of cold water, he felt an agreeable chill in the pit of the stomach; tingling and terrible and sweet!' +) + +foreach($line in $story) { + & "$PSScriptRoot/write-typewriter.ps1" $line +} +exit 0 # success \ No newline at end of file From 7e4b4e06ced82939c87bef406edb1a8ba945f420 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 10 Feb 2025 16:12:48 +0100 Subject: [PATCH 175/737] Updated list-crypto-rates.ps1 --- scripts/list-crypto-rates.ps1 | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/scripts/list-crypto-rates.ps1 b/scripts/list-crypto-rates.ps1 index 0344a4cd4..57144dfe5 100755 --- a/scripts/list-crypto-rates.ps1 +++ b/scripts/list-crypto-rates.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS List crypto rates .DESCRIPTION - This PowerShell script queries cryptocompare.com and lists the current crypto exchange rates in USD/EUR/RUB/CNY. + This PowerShell script queries the current crypto exchange rates from cryptocompare.com and lists it in USD/EUR/CNY/JPY. .EXAMPLE PS> ./list-crypto-rates.ps1 - CRYPTOCURRENCY USD EUR RUB CNY + CRYPTOCURRENCY USD EUR CNY JPY -------------- --- --- --- --- - 1 Bitcoin (BTC) = 29054.01 26552.23 2786627.84 172521.27 + 1 Bitcoin (BTC) = 97309.81 94385.57 38800 14798679.56 ... .LINK https://github.com/fleschutz/PowerShell @@ -17,24 +17,26 @@ #> function ListCryptoRate { param([string]$Symbol, [string]$Name) - $rates = (Invoke-WebRequest -URI "https://min-api.cryptocompare.com/data/price?fsym=$Symbol&tsyms=USD,EUR,RUB,CNY" -userAgent "curl" -useBasicParsing).Content | ConvertFrom-Json - New-Object PSObject -property @{ 'CRYPTOCURRENCY' = "1 $Name ($Symbol) ="; 'USD' = "$($rates.USD)"; 'EUR' = "$($rates.EUR)"; 'RUB' = "$($rates.RUB)"; 'CNY' = "$($rates.CNY)" } + $rates = (Invoke-WebRequest -URI "https://min-api.cryptocompare.com/data/price?fsym=$Symbol&tsyms=USD,EUR,CNY,JPY" -userAgent "curl" -useBasicParsing).Content | ConvertFrom-Json + New-Object PSObject -property @{ 'CRYPTOCURRENCY' = "1 $Name ($Symbol) ="; 'USD' = "$($rates.USD)"; 'EUR' = "$($rates.EUR)"; 'CNY' = "$($rates.CNY)"; 'JPY' = "$($rates.JPY)" } } function ListCryptoRates { ListCryptoRate BTC "Bitcoin" ListCryptoRate ETH "Ethereum" - ListCryptoRate BUSD "BUSD" + ListCryptoRate SOL "Solana" ListCryptoRate XRP "XRP" + ListCryptoRate USDC "USD Coin" + ListCryptoRate SUI "Sui" + ListCryptoRate DOGE "Dogecoin" + ListCryptoRate TRUMP "Official Trump" ListCryptoRate USDT "Tether" + ListCryptoRate BUSD "BUSD" ListCryptoRate AVAX "Avalanche" ListCryptoRate LTC "Litecoin" - ListCryptoRate SOL "Solana" ListCryptoRate GALA "Gala" - ListCryptoRate DOGE "Dogecoin" ListCryptoRate ADA "Cardano" ListCryptoRate BNB "Binance Coin" - ListCryptoRate USDC "USD Coin" ListCryptoRate DOT "Polkadot" ListCryptoRate UNI "Uniswap" ListCryptoRate BUSD "Binance USD" @@ -48,8 +50,8 @@ function ListCryptoRates { } try { - ListCryptoRates | Format-Table -property @{e='CRYPTOCURRENCY';width=28},USD,EUR,RUB,CNY - Write-Host "(by cryptocompare.com • Crypto is volatile and unregulated • Capital at risk • Taxes may apply)" + ListCryptoRates | Format-Table -property @{e='CRYPTOCURRENCY';width=28},USD,EUR,CNY,JPY + Write-Host "(by https://www.cryptocompare.com • Crypto is volatile and unregulated • Capital at risk • Taxes may apply)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 1540f7cae01a0c147602dcce399c4d746a95ebbc Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 11 Feb 2025 13:45:43 +0100 Subject: [PATCH 176/737] Added convert-dir27z.ps1 --- scripts/convert-dir27z.ps1 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 scripts/convert-dir27z.ps1 diff --git a/scripts/convert-dir27z.ps1 b/scripts/convert-dir27z.ps1 new file mode 100644 index 000000000..14dc2813d --- /dev/null +++ b/scripts/convert-dir27z.ps1 @@ -0,0 +1,38 @@ +<# +.SYNOPSIS + Converts a directory into a .7z file +.DESCRIPTION + This PowerShell script compresses the given directory (including subfolders) into a compressed .7z file. + It also preserves symbolic links and requires that 7-zip is installed. +.PARAMETER dirPath + Specifies the path to the directory (to be entered by default) +.PARAMETER targetFile + Specifies the path to the target file (.7z by default) +.EXAMPLE + PS> ./convert-dir27z.ps1 C:\Windows Win.7z + ✅ Converted 📂C:\Windows into Win.7z in 291s. +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$dirPath = "", [string]$targetFile = "") + +try { + if (-not(Test-Path "C:\Program Files\7-Zip\7z.exe" -pathType leaf)) { throw "Please install 7-Zip" } + if ($dirPath -eq "" ) { $dirPath = Read-Host "Enter the path to the folder" } + + $stopWatch = [system.diagnostics.stopwatch]::startNew() + $dirPath = Resolve-Path $dirPath + if ($targetFile -eq "" ) { $targetFile = "$dirPath.7z" } + + & "C:\Program Files\7-Zip\7z.exe" a -y -snl -t7z $targetFile $dirPath + + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Converted 📂$dirPath into $targetFile in $($elapsed)s." + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} From 9cee4a13f0c5886d61296feb05b2d13b79e5249d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 12 Feb 2025 09:03:05 +0100 Subject: [PATCH 177/737] Renamed to sync-dir.ps1 and updated it --- scripts/{sync-folder.ps1 => sync-dir.ps1} | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) rename scripts/{sync-folder.ps1 => sync-dir.ps1} (75%) diff --git a/scripts/sync-folder.ps1 b/scripts/sync-dir.ps1 similarity index 75% rename from scripts/sync-folder.ps1 rename to scripts/sync-dir.ps1 index c6b8a697c..f068cbc6c 100755 --- a/scripts/sync-folder.ps1 +++ b/scripts/sync-dir.ps1 @@ -1,16 +1,16 @@ <# .SYNOPSIS - Syncronizes two folders + Sync two dirs .DESCRIPTION This PowerShell script synchronizes (mirrors) the content of 2 directory trees by using Robocopy. Typical use cases are backups: at first everything is copied (full backup), afterward only changes are copied (incremental backup). IMPORTANT NOTE: Make sure the target path is correct because the content gets replaced (DATA LOSS)! .PARAMETER sourcePath - Specifies the path to the source folder + Specifies the path to the source dir (to be entered by default) .PARAMETER targetPath - Specifies the path to the target folder + Specifies the path to the target dir (to be entered by default) .EXAMPLE - PS> ./sync-folder.ps1 C:\MyPhotos D:\Backups\MyPhotos + PS> ./sync-dir.ps1 C:\Photos D:\Backups\Photos .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -20,22 +20,23 @@ param([string]$sourcePath = "", [string]$targetPath = "") try { - if ($sourcePath -eq "") { $sourcePath = Read-Host "Enter the path to the source folder" } - if ($targetPath -eq "") { $targetPath = Read-Host "Enter the path to the target folder" } + if ($sourcePath -eq "") { $sourcePath = Read-Host "Enter the path to the source directory" } + if ($targetPath -eq "") { $targetPath = Read-Host "Enter the path to the target directory" } $stopWatch = [system.diagnostics.stopwatch]::startNew() $robocopyParameters = $sourcePath, $targetPath, '/MIR', '/FFT', '/NDL', '/NP', '/NS' + # # /MIR = mirror a directory tree # /FFT = assume FAT file times (2-second granularity) # /NDL = don't log directory names # /NP = don't display percentage copied # /NS = don't log file sizes - - robocopy.exe $robocopyParameters + # + & robocopy.exe $robocopyParameters if ($lastExitCode -gt 3) { throw 'Robocopy failed.' } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Synced 📂$sourcePath to 📂$targetPath in $elapsed sec" + "✅ Synced 📂$sourcePath to 📂$targetPath in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 7ff53658fdf8746f3581022130ba0ffad983d6ad Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 12 Feb 2025 09:38:37 +0100 Subject: [PATCH 178/737] Updated sync-dir.ps1 --- scripts/sync-dir.ps1 | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/scripts/sync-dir.ps1 b/scripts/sync-dir.ps1 index f068cbc6c..0848eb900 100755 --- a/scripts/sync-dir.ps1 +++ b/scripts/sync-dir.ps1 @@ -1,6 +1,6 @@ <# .SYNOPSIS - Sync two dirs + Sync's two dirs .DESCRIPTION This PowerShell script synchronizes (mirrors) the content of 2 directory trees by using Robocopy. Typical use cases are backups: at first everything is copied (full backup), afterward only changes are copied (incremental backup). @@ -11,6 +11,8 @@ Specifies the path to the target dir (to be entered by default) .EXAMPLE PS> ./sync-dir.ps1 C:\Photos D:\Backups\Photos + ⏳ Please wait while syncing content from 📂C:\Photos to 📂D:\Backups\Photos ... + ✅ Synced 📂C:\Photos to 📂D:\Backups\Photos in 32s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -24,16 +26,18 @@ try { if ($targetPath -eq "") { $targetPath = Read-Host "Enter the path to the target directory" } $stopWatch = [system.diagnostics.stopwatch]::startNew() - $robocopyParameters = $sourcePath, $targetPath, '/MIR', '/FFT', '/NDL', '/NP', '/NS' + "⏳ Please wait while syncing content from 📂$sourcePath to 📂$targetPath ..." + & robocopy.exe $sourcePath $targetPath /MIR /FFT /NJH /NDL /NFL /NP /NS # # /MIR = mirror a directory tree # /FFT = assume FAT file times (2-second granularity) - # /NDL = don't log directory names - # /NP = don't display percentage copied - # /NS = don't log file sizes + # /NJH = no job header + # /NDL = no directory list (don't log directory names) + # /NFL = no file list (don't log file names) + # /NP = no progress (don't display percentage copied) + # /NS = no size (don't log file sizes) # - & robocopy.exe $robocopyParameters - if ($lastExitCode -gt 3) { throw 'Robocopy failed.' } + if ($lastExitCode -gt 3) { throw 'Robocopy failed with exit code $lastExitCode.' } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Synced 📂$sourcePath to 📂$targetPath in $($elapsed)s." From 3f0ddc41a0b61b9392b62be0e7182e5c8584c0ed Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 12 Feb 2025 13:58:47 +0100 Subject: [PATCH 179/737] Updated check-symlinks.ps1 and sync-dir.ps1 --- scripts/check-symlinks.ps1 | 43 +++++++++++++++++++------------------- scripts/sync-dir.ps1 | 3 ++- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/scripts/check-symlinks.ps1 b/scripts/check-symlinks.ps1 index 2a734e4df..42111f082 100755 --- a/scripts/check-symlinks.ps1 +++ b/scripts/check-symlinks.ps1 @@ -1,15 +1,14 @@ <# .SYNOPSIS - Checks symlinks in a folder + Checks all symlinks in a folder .DESCRIPTION - This PowerShell script checks every symbolic link in a folder (including subfolders). - It returns the number of broken symlinks as exit value. + This PowerShell script checks all symbolic links in a directory tree. It returns the number of broken symlinks as exit value. .PARAMETER folder Specifies the path to the folder .EXAMPLE - PS> ./check-symlinks C:\Users - ⏳ Checking symlinks at 📂C:\Users including subfolders... - ✅ Found 0 broken symlinks at 📂C:\Users in 60 sec + PS> ./check-symlinks D:\ + ⏳ Please wait while checking symlinks at: 📂D:\ ... + ✅ Found 0 broken symlinks at 📂D:\ in 60s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -19,36 +18,36 @@ param([string]$Folder = "") try { - if ($Folder -eq "" ) { $Folder = read-host "Enter the path to the folder" } + if ($Folder -eq "" ) { $Folder = Read-Host "Enter the path to the folder" } - $StopWatch = [system.diagnostics.stopwatch]::startNew() - $FullPath = Resolve-Path "$Folder" - "⏳ Checking symlinks at 📂$FullPath including subfolders..." + $stopWatch = [system.diagnostics.stopwatch]::startNew() + $fullPath = Resolve-Path "$Folder" + "⏳ Please wait while checking symlinks at 📂$fullPath ..." - [int]$NumTotal = [int]$NumBroken = 0 - Get-ChildItem $FullPath -recurse | Where { $_.Attributes -match "ReparsePoint" } | ForEach-Object { + [int]$numTotal = [int]$numBroken = 0 + Get-ChildItem $fullPath -recurse | Where { $_.Attributes -match "ReparsePoint" } | ForEach-Object { $Symlink = $_.FullName $Target = ($_ | Select-Object -ExpandProperty Target -ErrorAction Ignore) if ($Target) { $path = $_.FullName + "\..\" + ($_ | Select-Object -ExpandProperty Target) $item = Get-Item $path -ErrorAction Ignore if (!$item) { - $NumBroken++ - "Symlink $Symlink to: $Target seems broken (#$NumBroken)" + $numBroken++ + "Broken symlink #$($numBroken) at $Symlink linking to: $Target" } } - $NumTotal++ + $numTotal++ } - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - if ($NumTotal -eq 0) { - "✅ No symlink found at 📂$FullPath in $Elapsed sec" - } elseif ($NumBroken -eq 1) { - "✅ Found $NumBroken broken symlink at 📂$FullPath in $Elapsed sec" + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + if ($numTotal -eq 0) { + "✅ No symlink found at 📂$fullPath in $($elapsed)s." + } elseif ($numBroken -eq 1) { + "✅ Found $numBroken broken symlink at 📂$fullPath in $($elapsed)s ($numTotal symlinks in total)." } else { - "✅ Found $NumBroken broken symlinks at 📂$FullPath in $Elapsed sec" + "✅ Found $numBroken broken symlinks at 📂$fullPath in $($elapsed)s ($numTotal symlinks in total)." } - exit $NumBroken + exit $numBroken } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 diff --git a/scripts/sync-dir.ps1 b/scripts/sync-dir.ps1 index 0848eb900..b8af162e1 100755 --- a/scripts/sync-dir.ps1 +++ b/scripts/sync-dir.ps1 @@ -27,9 +27,10 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() "⏳ Please wait while syncing content from 📂$sourcePath to 📂$targetPath ..." - & robocopy.exe $sourcePath $targetPath /MIR /FFT /NJH /NDL /NFL /NP /NS + & robocopy.exe $sourcePath $targetPath /MIR /SL /FFT /NJH /NDL /NFL /NP /NS # # /MIR = mirror a directory tree + # /SL = copy Symbolic Links as links instead of as the link targets # /FFT = assume FAT file times (2-second granularity) # /NJH = no job header # /NDL = no directory list (don't log directory names) From 8c780998b6601a325110ed2503428bd1e0701537 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 15 Feb 2025 17:52:40 +0100 Subject: [PATCH 180/737] Updated install-updates.ps1 --- scripts/install-updates.ps1 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/install-updates.ps1 b/scripts/install-updates.ps1 index 7f02f43b0..4d5b8f613 100755 --- a/scripts/install-updates.ps1 +++ b/scripts/install-updates.ps1 @@ -23,7 +23,8 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() if ($IsLinux) { - "⏳ (1/5) Checking update requirements..." + "⏳ (1/5) Checking requirements..." + & "$PSScriptRoot/check-power.ps1" & "$PSScriptRoot/check-smart-devices.ps1" & "$PSScriptRoot/check-drive-space.ps1" / & "$PSScriptRoot/check-swap-space.ps1" @@ -45,9 +46,9 @@ try { Write-Progress "⏳ Installing updates..." & sudo softwareupdate -i -a Write-Progress -completed " " - } else { - # Windows: - "⏳ (1/2) Checking update requirements..." + } else { # Windows: + "⏳ (1/2) Checking requirements..." + & "$PSScriptRoot/check-power.ps1" & "$PSScriptRoot/check-smart-devices.ps1" & "$PSScriptRoot/check-drive-space.ps1" C & "$PSScriptRoot/check-swap-space.ps1" From c8bc801efafa3dbd66dcae36715d10584777391c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 17 Feb 2025 10:22:21 +0100 Subject: [PATCH 181/737] Updated clone-repos.ps1 --- scripts/clone-repos.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/clone-repos.ps1 b/scripts/clone-repos.ps1 index 76067556f..307c43b8e 100755 --- a/scripts/clone-repos.ps1 +++ b/scripts/clone-repos.ps1 @@ -10,7 +10,7 @@ ⏳ (1) Searching for Git executable... git version 2.46.0.windows.1 ⏳ (2) Reading data/popular-repos.csv... 29 repos ⏳ (3) Checking target folder... 📂Repos - ⏳ (4/32) Cloning 📂base256 (dev tool) from git@github.com:fleschutz/talk2windows.git (shallow main branch)... + ⏳ (4/32) Cloning 📂base256 (dev tool) from git@github.com:fleschutz/talk2windows.git (main branch only)... ... .LINK https://github.com/fleschutz/PowerShell @@ -51,7 +51,7 @@ try { "⏳ ($step/$($total + 3)) Skipping 📂$folderName ($category): exists already" $skipped++ } elseif ($shallow -eq "yes") { - "⏳ ($step/$($total + 3)) Cloning 📂$folderName ($category) from $URL (shallow $branch branch)..." + "⏳ ($step/$($total + 3)) Cloning 📂$folderName ($category) from $URL ($branch branch only)..." & git clone --branch "$branch" --single-branch --recurse-submodules "$URL" "$targetDir/$folderName" if ($lastExitCode -ne "0") { throw "'git clone --branch $branch $URL' failed with exit code $lastExitCode" } $cloned++ From cead884c6492a728301b28bf4ca4e71220989933 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 17 Feb 2025 11:31:00 +0100 Subject: [PATCH 182/737] Added convert-history2ps1.ps1 --- scripts/convert-history2ps1.ps1 | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 scripts/convert-history2ps1.ps1 diff --git a/scripts/convert-history2ps1.ps1 b/scripts/convert-history2ps1.ps1 new file mode 100644 index 000000000..1313ad5db --- /dev/null +++ b/scripts/convert-history2ps1.ps1 @@ -0,0 +1,35 @@ +<# +.SYNOPSIS + Converts history to PowerShell script +.DESCRIPTION + This PowerShell script converts your command history into a PowerShell script. + It saves all your commands into a script for automation (executed by e.g Jenkins or AutoHotkey). +.PARAMETER path + Specifies the file path of the new script ('script-from-history.ps1' by default) +.EXAMPLE + PS> ./convert-history2ps1.ps1 + ✅ Converted your command history into the PowerShell script: script-from-history.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$path = "script-from-history.ps1") + +try { + $history = Get-History + + foreach ($item in $history) { + Write-Output "`"⏳ Step #$($item.Id): Executing $($item.CommandLine) ...`"" >> $path + Write-Output "& $($item.CommandLine)" >> $path + Write-Output "" >> $path + } + Write-Output "`"✅ PowerShell script finished (source: command history of $($env:USERNAME) on $($env:COMPUTERNAME)).`"" >> $path + Write-Output "exit 0 # success" >> $path + "✅ Converted your command history into PowerShell script: $path" + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} \ No newline at end of file From 5c18bf5bb8db79e5879181da6d8fafc74f50f6c3 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 17 Feb 2025 12:34:47 +0100 Subject: [PATCH 183/737] Updated general.csv --- data/dicts/general.csv | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/data/dicts/general.csv b/data/dicts/general.csv index a6a86810a..52405596e 100644 --- a/data/dicts/general.csv +++ b/data/dicts/general.csv @@ -1148,11 +1148,12 @@ DNS,Domain Name System DO,"Dominican Republic (ISO 3166 digram),Doctor of Osteopathic Medicine" DOA,"Dead On Arrival,Dead or Alive" DOB,Date Of Birth -DOD,U.S. Department of Defense -DODAF,U.S. Department of Defense Architectural Framework -DoDD,U.S. Department of Defense Directive -DoDEA,(U.S.) Department of Defense Education Activity -DOE,U.S. Department of Energy +DoD,Department of Defense (USA) +DODAF,Department of Defense Architectural Framework (USA) +DoDD,Department of Defense Directive (USA) +DoDEA,Department of Defense Education Activity (USA) +DOE,Department of Energy (USA) +DOGE,Department of Government Efficiency (USA) DOHC,Dual-OverHead-Cam engine DOI,U.S. Department of the Interior DOM,Deo optimo maximo (Latin,"to God,the best and greatest"),Document Object Model,Dominican Republic (ISO 3166 trigram) @@ -4699,14 +4700,14 @@ USAID, United States Agency for International Development USAP,"Union Sportive des Arlequins Perpignanais,United States Antarctic Program" USAPATRIOT,Uniting and Strengthening America by Providing Appropriate Tools Required to Intercept and Obstruct Terrorism USAREUR,United States Army Europe -USB,Universal Serial Bus USC,"United States Code,University of South Carolina,University of Southern California" USCG,United States Coast Guard USCINCSPACE,"United States Commander in Chief,Space Command" USDA,United States Department of Agriculture USDI,United States Department of the Interior USDOE,United States Department of Energy -USDRE,(U.S.) Under-Secretary of Defense for Research and Engineering (1978-1986) +USDRE,Under-Secretary of Defense for Research and Engineering (USA, 1978-1986) +USDS,United States Digital Service USEC,United States Enrichment Corporation USFL,United States Football League USFWS,United States Fish and Wildlife Service From ffe40c394d351385b1903f67c52ccc4c921aa940 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 17 Feb 2025 12:57:15 +0100 Subject: [PATCH 184/737] Updated general.csv --- data/dicts/general.csv | 50 +++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/data/dicts/general.csv b/data/dicts/general.csv index 52405596e..d38711cbe 100644 --- a/data/dicts/general.csv +++ b/data/dicts/general.csv @@ -38,7 +38,7 @@ AADAC,Alberta Alcohol and Drug Abuse Commission AADC,area air defense commander,amino acid decarboxylase,aromatic L-amino acid decarboxylase,Australian Antarctic Data Centre AADD,Adult attention deficit disorder AADT,annual average daily traffic -AAFC,U.S. Army Air Corps Ferrying Command (1941-1942),All-America Football Conference (1946-1949) +AAFC,"Army Air Corps Ferrying Command (USA, 1941-1942), All-America Football Conference (1946-1949)" AAFES,Army and Air Force Exchange Service AAIS,advanced airborne interceptor simulator AAM,air-to-air missile @@ -70,7 +70,7 @@ ABC,American-born Chinese ABC,anti-lock brake controller ABC,"atomic, biological, chemical" ABCA,American,British and Canadian Armies (originally),Army Bureau of Current Affairs -ABCS,(U.S.) Army Battle Command System +ABCS,Army Battle Command System (USA) ABET,Accreditation Board for Engineering and Technology ABFIST,Advanced Bradley Full Crew Interactive Skills Trainer ABGI,Addington-Barker Group International @@ -115,13 +115,13 @@ ACLOS,Automatic CLOS (missile control system) ACLS,American Council of Learned Societies ACLU,"American Civil Liberties Union,American Communist Lawyers Union (pejorative slang for the above)" ACM,"many,including Association for Computing Machinery; see entry" -ACMC,(U.S.) Assistant Commandant of the Marine Corps +ACMC,Assistant Commandant of the Marine Corps (USA) ACN,"Airborne Communications Node,Australian Company Number (number issued by the Australian government as registration of a limited liability company)" ACNA,Anglican Church in North America ACO,Airspace Control Order ACOBA,Advisory Committee on Business Appointments ACOG,American College of Obstetricians and Gynecologists -ACOM,(U.S.) Atlantic Command +ACOM,Atlantic Command (USA) ACORN,Association of Community Organizations for Reform Now ACP,"African,Caribbean and Pacific Group of States,Air Control Point" ACR,Advanced Concepts and Requirements @@ -133,7 +133,7 @@ ACST,American Cooperative School of Tunis ACST,Australian Central Standard Time ACT,"Adaptive Control of Thought (cognitive model),American College Test (ing Program),Australian Capital Territory (also postal symbol),ACT UP,AIDS Coalition to Unleash Power" ACTD,Advanced Concept Technology Demonstration -ACTF,"(U.S.) Army Constructive Training Federation,Australian Children's Television Foundation,ACT-R,ACT-Rational (cognitive model),ACT-R/PM,ACT-R/Perceptual-Motor (cognitive model)" +ACTF,"Army Constructive Training Federation (USA),Australian Children's Television Foundation,ACT-R,ACT-Rational (cognitive model),ACT-R/PM,ACT-R/Perceptual-Motor (cognitive model)" ACTU,Australian Council of Trade Unions ACU,American Conservative Union ACUF,"Advisory Committee on Undersea Features,American Conservative Union Foundation" @@ -146,7 +146,7 @@ ADAS,Asiago-DLR Asteroid Survey ADAT,Alesis Digital Audio Tape (recording format) ADATS,"Agricultural Development and Training Society,Air Defence Anti-Tank System,Australian Defence Air Traffic System" ADB,Asian Development Bank -ADC,"Aide De Camp,U.S. Air Defense Command (1946-1992),Apple Display Connector,Program Against Digital Counterfeiting of Currency" +ADC,"Aide De Camp,Air Defense Command (USA, 1946-1992),Apple Display Connector,Program Against Digital Counterfeiting of Currency" ADD,"Analog Digital Digital (CD quality),Attention-Deficit Disorder,Administration on Developmental Disabilities" ADDIE,Analyze Design Develop Implement and Evaluate ADDNS,Advanced Deployable Day/Night Simulation @@ -175,7 +175,7 @@ aet,After extra time (Football) AEW,"Airborne Early Warning,Airborne Electronic Warfare" AF,"Afghanistan (ISO 3166 digram),Air Force,As f*ck" aF,Attofarad -AFA,"U.S. Air Force Academy,Asociación del Fútbol Argentino (Spanish for 'Argentine Football Association')" +AFA,"Air Force Academy (USA),Asociación del Fútbol Argentino (Spanish for 'Argentine Football Association')" AFAIC,As Far As I'm Concerned AFAICT,As Far As I Can Tell AFAIK,As Far As I Know @@ -196,18 +196,18 @@ AFL,American Federation of Labor,American Football League — either the 1960s l AFLAC,American Family Life Assurance Company of Columbus AFM,Army Field Manual (UK; the U.S. more frequently uses just FM),Atomic Force Microscope,Aviation Fleet Maintenance AFO,Association of Field Ornithologists -AFOSR,U.S. Air Force Office of Scientific Research +AFOSR,Air Force Office of Scientific Research (USA) AFP,"Agence France-Presse (French,'French Press Agency'), Australian Federal Police" AFQT,Armed Forces Qualification Test AFRC,Air Force Reserve Command AFRL,Air Force Research Laboratory AFROTC,Air Force Reserve Officer Training Corps -AFRRI,(U.S.) Armed Forces Radiobiology Research Institute +AFRRI,Armed Forces Radiobiology Research Institute (USA) AFRTS,Armed Forces Radio and Television Service AFS,Active Front Steering,Air Facility Sub-System,Amniotic Fluid-derived Stem cell,AFS&A or AFSA,U.S. Air Force Studies and Analysis -AFSC,"U.S. Air Force Staff College (obsolete; replaced with JFSC), U.S. Air Force Systems Command" -AFSCN,U.S. Air Force Satellite Control Network -AFSPC,Air Force Space Command +AFSC,"Air Force Staff College (USA, obsolete; replaced with JFSC), U.S. Air Force Systems Command" +AFSCN,Air Force Satellite Control Network (USA) +AFSPC,Air Force Space Command (USA) AFT,American Farmland Trust AFV,armoured fighting vehicle AFWA,Air Force Weather Agency,Association of Fish and Wildlife Agencies,AG[edit] @@ -248,7 +248,7 @@ AIAA,American Institute of Aeronautics and Astronautics AIC,"African Independent Church,Animal Identification Coordinator" AICD,Australian Institute of Company Directors AICMFP,And I Claim My Five Pounds -AID,U.S. Agency for International Development +AID,Agency for International Development (USA) AIDS,Acquired Immune Deficiency Syndrome AIM,Australian Institute of Management AIMP,Aurora Incremental Modernization Project @@ -294,7 +294,7 @@ AM1,Airman 1st class AMA,American Medical Association,Australian Medical Association AMAPS,Aircraft,Missile,Avionics Performance Simulation AMC,Adaptive modulation and coding (digital communications),U.S. Air Mobility Command,American Motors Corporation,American Movie Classics (TV network; now known simply by the initials),U.S. Army Materiel Command -AMCB,U.S. Army/Marine Corps Board +AMCB,Army/Marine Corps Board (USA) AMFOM,Advanced Missile Fly Out Model AMFR,"Age-specific Marital Fertility Rate,Amplitude Modulation Following Response" AMFRS,"Advanced Multi-Function Radio Frequency System,Automatic Multisensor Feature-based Recognition System" @@ -306,10 +306,10 @@ AMOLED,Active-matrix organic light-emitting diode AMOS,"Advanced MOrtar System,Air Force Maui Optical and Supercomputing observatory" AMP,"Adenosine MonoPhosphate,Automated Mission Planner" AMRAAM,Advanced Medium-Range Air-to-Air Missile -AMRDEC,"U.S. Aviation & Missile Research,Development,& Engineering Center" +AMRDEC,"Aviation & Missile Research,Development & Engineering Center (USA)" AMS,"Agriculture Marketing Service,American Mathematical Society" -AMSAA,U.S. Army Materiel Systems Analysis Activity -AMSO,U.S. Army Model and Simulation Office +AMSAA,Army Materiel Systems Analysis Activity (USA) +AMSO,Army Model and Simulation Office (USA) AMSU,Advanced Microwave Sounding Unit AMTE,UK Admiralty Marine Technology Establishment (1977-1984) AN,"Netherlands Antilles (ISO 3166 digram)" @@ -385,7 +385,7 @@ ARRC,ACE Rapid Reaction Corps ARRF,Allied Rapid Reaction Force ARRL,American Radio Relay League ARSC,Arctic Region Supercomputing Center -ARSPACE,U.S. Army Space Command +ARSPACE,Army Space Command (USA) ART,"Adaptive Resonance Theory, Anti-Retroviral Therapy" ARTCC,Air Route Traffic Control Center ARWG,Army Research Working Group @@ -402,7 +402,7 @@ ASBO,Anti-Social Behaviour Order ASCAP,"American Society of Composers,Authors,and Publishers" ASCC,"Army Service Component Commander,Automatic Sequence Controlled Calculator,Air Standardization Coordinating Committee" ASCII,American Standard Code for Information Interchange -ASD,"(U.S.) Assistant Secretary of Defense,autism spectrum disorder" +ASD,"Assistant Secretary of Defense (USA), autism spectrum disorder" ASDIC,Allied Submarine Detection Investigation Committee (Sonar) ASEAN,Association of Southeast Asian Nations ASFAR,Americans for a Society Free of Age Restrictions @@ -431,7 +431,7 @@ ASUW,AntiSUrface Warfare ASVAB,Armed Services Vocational Aptitude Battery(taken by juniors in high school in the USA) ASVEL,"Association Sportive Villeurbanne Éveil Lyonnais (Association Sportive is French for 'Sporting Association'; the club was founded through the merger of AS Villeurbanne and Éveil Lyonnais)" ASW,AntiSubmarine Warfare -ASWORG,(U.S.) AntiSubmarine Warfare Operations Research Group +ASWORG,AntiSubmarine Warfare Operations Research Group (USA) ASX,"Advanced Stream Redirector,Australian Securities Exchange" AT,"Anti-Tank,Austria (ISO 3166 digram),Advanced Technology (IBM Personal Computer/AT)" At,Astatine @@ -441,7 +441,7 @@ ATAC,Air Transportable Acoustic Communications ATAPI,Advanced Technology Attachment Packet Interface ATAT,Aiken Tactical Airsoft Team / Star Wars vehicle ATB,"Active Time Battle,British Antarctic Territory (ISO 3166 trigram; merged with AQ in 1979)" -ATC,"Air Training Corps, U.S. Air Transport Command (1942-1948), Athletic Trainer,Certified" +ATC,"Air Training Corps, Air Transport Command (USA, 1942-1948), Athletic Trainer,Certified" ATESS,Aerospace and Telecommunications Engineering Support Squadron ATF,"French Southern Territories (ISO 3166 trigram),(U.S.) Bureau of Alcohol,Tobacco,Firearms and Explosives" ATG,Antigua and Barbuda (ISO 3166 and FIFA trigram) @@ -456,7 +456,7 @@ ATM,At The Moment ATN,"Dronning Maud Land (ISO 3166 trigram; merged with AQ in 1983)" ATO,"Air Tasking Order,Australian Taxation Office" ATP,"Adenosine TriPhosphate,Allied Tactical Publication,Ammunition Transfer Point" -ATSD,(U.S.) Assistant Secretary of Defense +ATSD,Assistant Secretary of Defense (USA) ATSDR,Agency for Toxic Substances and Disease Registry ATV,All-Terrain Vehicle ATWA,"Air,Trees,Water,Animals" @@ -773,7 +773,7 @@ CGS,Chief of the General Staff CGT,Capital Gains Tax ch,ch(L) is used to denote the Chern character of a line bundle CH,"Chieftain tank,Switzerland (ISO 3166 digram; from Latin Confoederatio Helvetica)" -CHAMPUS,(U.S.) Civilian Health and Medical Program of the Uniformed Services (now known as TRICARE) +CHAMPUS,Civilian Health and Medical Program of the Uniformed Services (USA, now known as TRICARE) CHAOS,Cambridge Heart Anti-Oxidant Study CHAPS,Clearing House Automated Payment System CHDK,Canon Hack Development Kit (Canon camera firmware hack) @@ -807,7 +807,7 @@ CIPE,(European) Centre for International Political Economy CIR,(Commander's) Critical Information Requirements CIR,Corotating Interaction Region CIS,"Canadian Interuniversity Sport,Commonwealth of Independent States,Command and Information System,Communication and Information System" -CISA,(U.S.) C4I Integration Support Activity +CISA,C4I Integration Support Activity (USA) CISB,Complete In Sealed Box (Internet auction/trading listings) CISPR,Comité international spécial des perturbations radioélectriques (Special International Committee on Radio Interference) CISSP,Certified Information Systems Security Professional @@ -878,7 +878,7 @@ COL,Colombia (ISO 3166 trigram) COLA,Cost Of Living Adjustment COM,Comoros (ISO 3166 trigram),Component Object Model COMECON,Council for Mutual Economic Assistance (economic counterpart of the Warsaw Pact,1949-1991) -CONAD,U.S. Continental Air Defense Command +CONAD,Continental Air Defense Command (USA) CONCACAF,Confederation Of North,Central American and Caribbean Association Football CONMEBOL,"Confederación Sudamericana de Fútbol or Confederação Sul-Americana de Futebol (respectively Spanish and Portuguese for 'South American Football Confederation')" CONUS,Continental United States From 784ebdcf31ae1b34f283c3c9471d23a0f7268250 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 17 Feb 2025 13:03:56 +0100 Subject: [PATCH 185/737] Updated some abbreviations --- data/dicts/computing.csv | 3 +-- data/dicts/general.csv | 9 +-------- data/dicts/organizations.csv | 4 ++++ 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/data/dicts/computing.csv b/data/dicts/computing.csv index 1e082f174..5a1dfc258 100644 --- a/data/dicts/computing.csv +++ b/data/dicts/computing.csv @@ -812,13 +812,12 @@ DND,Dungeons & Dragons (a computer game) DNG,Digital Negative DNIS,Dialed Number Identification Service DNN,DotNetNuke -DNS,domain name system +DNS,Domain Name System DNSSEC,DNS Security Extensions DNT,Do Not Track DO,derived object DOCSIS,Data Over Cable Service Interface Specifications DOD,Direct Outward Dialing -DOE,Department of Energy DOI,Digital Object Identifier DOI,digital object identifier DOL,Department of Labor diff --git a/data/dicts/general.csv b/data/dicts/general.csv index d38711cbe..1ab65bf1a 100644 --- a/data/dicts/general.csv +++ b/data/dicts/general.csv @@ -1144,22 +1144,15 @@ DNDO,U.S. Domestic Nuclear Detection Office DNK,Denmark (ISO 3166 trigram) DNM,Defence Nuclear Material DNR,Do Not Resuscitate -DNS,Domain Name System DO,"Dominican Republic (ISO 3166 digram),Doctor of Osteopathic Medicine" DOA,"Dead On Arrival,Dead or Alive" DOB,Date Of Birth -DoD,Department of Defense (USA) -DODAF,Department of Defense Architectural Framework (USA) -DoDD,Department of Defense Directive (USA) -DoDEA,Department of Defense Education Activity (USA) -DOE,Department of Energy (USA) -DOGE,Department of Government Efficiency (USA) DOHC,Dual-OverHead-Cam engine DOI,U.S. Department of the Interior DOM,Deo optimo maximo (Latin,"to God,the best and greatest"),Document Object Model,Dominican Republic (ISO 3166 trigram) DORA,Defence of the Realm Act DOS,Density of State -DOT,Department of Transportation (U.S. federal or state),Damage Over Time (common in World of Warcraft) +DOT,Damage Over Time (common in World of Warcraft) DOTA,short-form for DEFENSE OF THE ANCIENTS a popular online epic game DotD,Deal of the Day (marketing gimmick) DOTMLPF,Doctrine,Organization,Training,Materiel,Leadership,Personnel,and Facilities (mnemonic) diff --git a/data/dicts/organizations.csv b/data/dicts/organizations.csv index 1f754d908..129455a37 100644 --- a/data/dicts/organizations.csv +++ b/data/dicts/organizations.csv @@ -20,7 +20,11 @@ CPUC,California Public Utilities Commission DHS,Department of Homeland Security (USA) DOC,Department of Commerce (USA) DoD,Department of Defense (USA) +DODAF,Department of Defense Architectural Framework (USA) +DoDD,Department of Defense Directive (USA) +DoDEA,Department of Defense Education Activity (USA) DoE,Department of Energy (USA) +DOGE,Department of Government Efficiency (USA) DOI,Department of the Interior (USA) DOJ,Department of Justice (USA) DOL,Department of Labor (USA) From 49b529496a8496c4f58102e185f11cd30efadc76 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 17 Feb 2025 13:09:04 +0100 Subject: [PATCH 186/737] Improved list-weather.ps1 --- scripts/list-weather.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/list-weather.ps1 b/scripts/list-weather.ps1 index 144b35d51..7c2a4d8a3 100755 --- a/scripts/list-weather.ps1 +++ b/scripts/list-weather.ps1 @@ -47,7 +47,7 @@ function GetDescription([string]$text) { "Moderate snow" { return "❄️ moderate snow" } "Mist" { return "🌫 misty" } "Overcast" { return "☁️ overcast" } - "Partly cloudy" { return "⛅️partly cloudy" } + "Partly cloudy" { return "⛅️ partly cloudy" } "Patchy heavy snow" { return "❄️ patchy heavy snow ⚠️" } "Patchy light drizzle" { return "💧 patchy light drizzle" } "Patchy light rain" { return "💧 patchy light rain" } @@ -61,8 +61,8 @@ function GetDescription([string]$text) { "Patchy snow nearby" { return "❄️ patchy snow nearby" } "Patchy snow possible" { return "❄️ patchy snow possible" } "Sunny" { return "☀️ sunny" } - "Thundery outbreaks possible" { return "⚡️thundery outbreaks possible" } - "Thundery outbreaks in nearby" { return "⚡️thundery outbreaks in nearby" } + "Thundery outbreaks possible" { return "⚡️ thundery outbreaks possible" } + "Thundery outbreaks in nearby" { return "⚡️ thundery outbreaks in nearby" } default { return $text } } } From 6c02b5719de84e4423872802ad29679aef8f9cae Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 17 Feb 2025 13:18:01 +0100 Subject: [PATCH 187/737] Updated list-updates.ps1 --- scripts/list-updates.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/list-updates.ps1 b/scripts/list-updates.ps1 index 06dd4d894..5d5c2e0b2 100755 --- a/scripts/list-updates.ps1 +++ b/scripts/list-updates.ps1 @@ -28,10 +28,10 @@ try { } elseif ($IsMacOS) { throw "Sorry, MacOS not supported yet" } else { - Write-Host "`n === WinGet Store ===" -foregroundColor green + Write-Host "`n === Application Updates from WinGet Store ===" -foregroundColor green & winget upgrade --include-unknown --source=winget - Write-Host "`n === Microsoft Store ===" -foregroundColor green + Write-Host "`n === Application Updates from Microsoft Store ===" -foregroundColor green & winget upgrade --include-unknown --source=msstore } " " From 0fecf9ce78e438b916cd18279ea9c33495bff190 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 19 Feb 2025 09:09:53 +0100 Subject: [PATCH 188/737] Added write-progress-bar.ps1 --- scripts/write-progress-bar.ps1 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scripts/write-progress-bar.ps1 diff --git a/scripts/write-progress-bar.ps1 b/scripts/write-progress-bar.ps1 new file mode 100644 index 000000000..ef4fbc2e9 --- /dev/null +++ b/scripts/write-progress-bar.ps1 @@ -0,0 +1,8 @@ +$progressBar = @('⣾','⣽','⣻','⢿','⡿','⣟','⣯','⣷') +$progressIndex = 0 + +do { + Write-Host "`r$($progressBar[$progressIndex]) Working on something..." -NoNewline + $progressIndex = ($progressIndex + 1) % $progressBar.Length + Start-Sleep -milliseconds 100 +} while ($true) \ No newline at end of file From ec7d84b0e0d7b31006077b9f3739e6c28e9e293a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 19 Feb 2025 09:14:50 +0100 Subject: [PATCH 189/737] Added reboot-into-bios.ps1 --- scripts/reboot-into-bios.ps1 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 scripts/reboot-into-bios.ps1 diff --git a/scripts/reboot-into-bios.ps1 b/scripts/reboot-into-bios.ps1 new file mode 100644 index 000000000..b12eb39ee --- /dev/null +++ b/scripts/reboot-into-bios.ps1 @@ -0,0 +1,25 @@ +# Requires admin privileges to run +if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { + Write-Host "This script requires administrative privileges." -ForegroundColor Red + Write-Host "Please run PowerShell as Administrator and try again." -ForegroundColor Yellow + pause + exit 1 +} + +try { + Write-Host "Preparing to reboot into BIOS/UEFI..." -foregroundColor Yellow + + # Get boot configuration + $bootConfig = bcdedit /enum firmware + if ($lastExitCode -ne 0) { throw "Failed to get boot configuration" } + + # Set the one-time boot to UEFI + $result = shutdown /r /fw /t 0 + if ($lastExitCode -ne 0) { throw "Failed to initiate reboot" } + +} catch { + Write-Host "Error: $_" -ForegroundColor Red + Write-Host "Failed to initiate BIOS reboot." -ForegroundColor Red + pause + exit 1 +} \ No newline at end of file From f1ba19a6adee0acc64b21fe6eb88625d9a588efd Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 19 Feb 2025 14:28:03 +0100 Subject: [PATCH 190/737] Updated cd-repos.ps1 --- scripts/cd-repos.ps1 | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) diff --git a/scripts/cd-repos.ps1 b/scripts/cd-repos.ps1 index bd00cd309..5430557ba 100755 --- a/scripts/cd-repos.ps1 +++ b/scripts/cd-repos.ps1 @@ -2,9 +2,7 @@ .SYNOPSIS Sets the working directory to the Git repos folder .DESCRIPTION - This PowerShell script changes the working directory to the Git repositories folder. -.PARAMETER subpath - Specifies an additional relative subpath (optional) + This PowerShell script changes the working directory to the folder for Git repositories. .EXAMPLE PS> ./cd-repos.ps1 📂C:\Repos @@ -15,26 +13,18 @@ #> try { - if (Test-Path "~/Repos" -pathType Container) { # try short name in home dir - $path = "~/Repos" - } elseif (Test-Path "~/repos" -pathType Container) { - $path = "~/repos" - } elseif (Test-Path "~/Repositories" -pathType Container) { # try long name - $path = "~/Repositories" - } elseif (Test-Path "~/repositories" -pathType Container) { - $path = "~/repositories" - } elseif (Test-Path "/Repos" -pathType Container) { # try short name in root dir - $path = "/Repos" - } elseif (Test-Path "/repos" -pathType Container) { - $path = "/repos" - } elseif (Test-Path "/Repositories" -pathType Container) { # try long name - $path = "/Repositories" - } elseif (Test-Path "/repositories" -pathType Container) { - $path = "/repositories" - } elseif (Test-Path "~/source/repos" -pathType Container) { # try Visual Studio default - $path = "~/source/repos" + if (Test-Path "~/Repos" -pathType container) { $path = "~/Repos" + } elseif (Test-Path "~/repos" -pathType container) { $path = "~/repos" + } elseif (Test-Path "~/Repositories" -pathType container) { $path = "~/Repositories" + } elseif (Test-Path "~/repositories" -pathType container) { $path = "~/repositories" + } elseif (Test-Path "/Repos" -pathType container) { $path = "/Repos" + } elseif (Test-Path "/repos" -pathType container) { $path = "/repos" + } elseif (Test-Path "/Repositories" -pathType container) { $path = "/Repositories" + } 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 Git repositories folder in your home directory or in the root folder yet" + throw "No folder for Git repositories yet (in home or root directory)" } $path = Resolve-Path $path Set-Location "$path" From 0a56175e546fec0cccc44292073bff2b490e6522 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 19 Feb 2025 14:34:23 +0100 Subject: [PATCH 191/737] Updated computing.csv --- data/dicts/computing.csv | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/dicts/computing.csv b/data/dicts/computing.csv index 5a1dfc258..a0c84b053 100644 --- a/data/dicts/computing.csv +++ b/data/dicts/computing.csv @@ -850,6 +850,7 @@ DROP,delivery of real-time execution information protocol DRP,disaster recovery plan DRP,Distribution Requirements Planning DRS,Storage Distributed Resource Scheduler +DSA,Digital Services Act (EU) DSB,Dispute Settlement Body DSC,Digital Still Camera DSL,Domain-Specific Language @@ -2668,6 +2669,7 @@ VLE,virtual learning environment VLER,Virtual Lifetime Electronic Record VLIW,very long instruction word vlog,video blog +VLOP,Very Large Online Platform VLSI,Very Large Scale Integration VLSM,variable-length subnet mask VM,virtual machine From fc487f5f3d7a9fa748adf7dab7fd2ef9d943cb9b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 23 Feb 2025 11:12:27 +0100 Subject: [PATCH 192/737] Updated ping-host.ps1 --- scripts/ping-host.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index 9658efcf4..8bdf86372 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -7,7 +7,7 @@ Specifies the hostname or IP address to ping (x.com by default) .EXAMPLE PS> ./ping-host.ps1 x.com - ✅ 'x.com' is up 👍 (20ms to IP 104.244.42.1) + ✅ 'x.com' is up and running 👍 (20ms to IP 104.244.42.1) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,7 +22,7 @@ try { [Threading.Tasks.Task]::WaitAll($tasks) foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { - Write-Output "✅ '$hostname' is up 👍 ($($ping.RoundtripTime / 2)ms to IP $($ping.Address))" + Write-Output "✅ '$hostname' is up and running 👍 ($($ping.RoundtripTime / 2)ms to IP $($ping.Address))" exit 0 # success } else { Write-Output "⚠️ No reply from '$hostname' (IP $($ping.Address)) - check the connection or maybe the host is down." @@ -34,4 +34,4 @@ try { } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 -} \ No newline at end of file +} From 37075acd8cb1ea802596bd8e6cb51fd81c5e4bbb Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 24 Feb 2025 09:20:40 +0100 Subject: [PATCH 193/737] Updated list-repos.ps1 and switch-branch.ps1 --- scripts/list-repos.ps1 | 12 ++++++------ scripts/switch-branch.ps1 | 14 +++++++------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/scripts/list-repos.ps1 b/scripts/list-repos.ps1 index 75afb10aa..57ea4082a 100755 --- a/scripts/list-repos.ps1 +++ b/scripts/list-repos.ps1 @@ -8,9 +8,9 @@ .EXAMPLE PS> ./list-repos.ps1 C:\MyRepos - REPOSITORY LATEST TAG BRANCH REMOTE URL STATUS - ---------- ---------- ------ ---------- ------ - 📂cmake v3.30.2 master https://github.com/Kitware/CMake ✅clean ↓0 + REPOSITORY LATEST TAG BRANCH REMOTE URL STATUS + ---------- ---------- ------ ---------- ------ + 📂cmake v3.30.2 master https://github.com/Kitware/CMake ↓0 ✅clean ... .LINK https://github.com/fleschutz/PowerShell @@ -36,7 +36,7 @@ function ListRepos { $status = (git -C "$dir" status --short) if ("$status" -eq "") { $status = "✅clean" } elseif ("$status" -like " M *") { $status = "⚠️changed" } - New-Object PSObject -property @{'REPOSITORY'="📂$dirName";'LATEST TAG'="$latestTag";'BRANCH'="$branch";'REMOTE URL'="$remoteURL";'STATUS'="$status ↓$numCommits"} + New-Object PSObject -property @{'REPOSITORY'="📂$dirName";'LATEST TAG'="$latestTag";'BRANCH'="$branch";'REMOTE URL'="$remoteURL ↓$numCommits";'STATUS'="$status"} } } @@ -44,9 +44,9 @@ try { if (-not(Test-Path "$parentDir" -pathType container)) { throw "Can't access parent directory at: $parentDir" } $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } - ListRepos | Format-Table -property @{e='REPOSITORY';width=19},@{e='LATEST TAG';width=16},@{e='BRANCH';width=19},@{e='REMOTE URL';width=47},@{e='STATUS';width=12} + ListRepos | Format-Table -property @{e='REPOSITORY';width=19},@{e='LATEST TAG';width=16},@{e='BRANCH';width=19},@{e='REMOTE URL';width=50},@{e='STATUS';width=10} exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/switch-branch.ps1 b/scripts/switch-branch.ps1 index b608f725d..7185c8fc7 100755 --- a/scripts/switch-branch.ps1 +++ b/scripts/switch-branch.ps1 @@ -31,33 +31,33 @@ try { Write-Host "⏳ (1/6) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2/6) Checking local repository... $pathToRepo" if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access repo folder: $pathToRepo" } $result = (git -C "$pathToRepo" status) - if ($lastExitCode -ne "0") { throw "'git status' in $pathToRepo failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git status' in $pathToRepo failed with exit code $lastExitCode" } if ("$result" -notmatch "nothing to commit, working tree clean") { throw "Git repository is NOT clean: $result" } $repoDirName = (Get-Item "$pathToRepo").Name Write-Host "⏳ (3/6) Fetching remote updates... " -noNewline & git -C "$pathToRepo" remote get-url origin - if ($lastExitCode -ne "0") { throw "'git remote get-url origin' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git remote get-url origin' failed with exit code $lastExitCode" } & git -C "$pathToRepo" fetch --all --prune --prune-tags --force - if ($lastExitCode -ne "0") { throw "'git fetch' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed with exit code $lastExitCode" } "⏳ (4/6) Switching to branch '$branchName'..." & git -C "$pathToRepo" checkout --recurse-submodules "$branchName" - if ($lastExitCode -ne "0") { throw "'git checkout $branchName' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git checkout $branchName' failed with exit code $lastExitCode" } "⏳ (5/6) Pulling remote updates..." & git -C "$pathToRepo" pull --recurse-submodules - if ($lastExitCode -ne "0") { throw "'git pull' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git pull' failed with exit code $lastExitCode" } "⏳ (6/6) Updating submodules..." & git -C "$pathToRepo" submodule update --init --recursive - if ($lastExitCode -ne "0") { throw "'git submodule update' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Switched 📂$repoDirName repo to '$branchName' branch in $($elapsed)s." From c6929fc2667b36c22095442b98303f88491afcc7 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 24 Feb 2025 14:35:24 +0100 Subject: [PATCH 194/737] Updated cd-repo.ps1 --- scripts/cd-repo.ps1 | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/scripts/cd-repo.ps1 b/scripts/cd-repo.ps1 index 55a3f9f93..83c9dd7e8 100755 --- a/scripts/cd-repo.ps1 +++ b/scripts/cd-repo.ps1 @@ -19,24 +19,16 @@ param([string]$folderName = "") try { if ("$folderName" -eq "") { $folderName = Read-Host "Enter the Git repository's folder name" } - if (Test-Path "~/Repos" -pathType Container) { # try short name in home dir - $path = "~/Repos" - } elseif (Test-Path "~/repos" -pathType Container) { - $path = "~/repos" - } elseif (Test-Path "~/Repositories" -pathType Container) { # try long name - $path = "~/Repositories" - } elseif (Test-Path "~/repositories" -pathType Container) { - $path = "~/repositories" - } elseif (Test-Path "/Repos" -pathType Container) { # try short name in root dir - $path = "/Repos" - } elseif (Test-Path "/repos" -pathType Container) { - $path = "/repos" - } elseif (Test-Path "/Repositories" -pathType Container) { # try long name - $path = "/Repositories" - } elseif (Test-Path "/repositories" -pathType Container) { - $path = "/repositories" - } elseif (Test-Path "~/source/repos" -pathType Container) { # try Visual Studio default - $path = "~/source/repos" + if (Test-Path "~/Repos" -pathType container) { $path = "~/Repos" + } elseif (Test-Path "~/repos" -pathType container) { $path = "~/repos" + } elseif (Test-Path "~/Repositories" -pathType container) { $path = "~/Repositories" + } elseif (Test-Path "~/repositories" -pathType container) { $path = "~/repositories" + } elseif (Test-Path "/Repos" -pathType container) { $path = "/Repos" + } elseif (Test-Path "/repos" -pathType container) { $path = "/repos" + } elseif (Test-Path "/Repositories" -pathType container) { $path = "/Repositories" + } 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 Git repositories folder in your home directory or in the root folder yet" } From e36021f3b2cf831fe26a57cf86b735c8b9aaf052 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 24 Feb 2025 20:42:52 +0100 Subject: [PATCH 195/737] Improved check for $lastExitCode --- scripts/build-repo.ps1 | 38 +++++++++++----------- scripts/change-wallpaper.ps1 | 2 +- scripts/check-repo.ps1 | 16 ++++----- scripts/check-smart-devices.ps1 | 2 +- scripts/check-windows-system-files.ps1 | 2 +- scripts/clean-repo.ps1 | 8 ++--- scripts/clean-repos.ps1 | 6 ++-- scripts/clear-recycle-bin.ps1 | 2 +- scripts/clone-repos.ps1 | 6 ++-- scripts/close-edge.ps1 | 2 +- scripts/close-git-extensions.ps1 | 2 +- scripts/close-microsoft-paint.ps1 | 2 +- scripts/close-microsoft-store.ps1 | 2 +- scripts/close-obs-studio.ps1 | 2 +- scripts/close-one-calendar.ps1 | 2 +- scripts/close-outlook.ps1 | 2 +- scripts/close-paint-three-d.ps1 | 2 +- scripts/close-three-d-viewer.ps1 | 2 +- scripts/close-thunderbird.ps1 | 2 +- scripts/close-visual-studio.ps1 | 2 +- scripts/configure-git.ps1 | 8 ++--- scripts/connect-vpn.ps1 | 2 +- scripts/convert-docx2md.ps1 | 2 +- scripts/convert-frames2mp4.ps1 | 2 +- scripts/convert-image2blurred-frames.ps1 | 2 +- scripts/convert-image2pixelated-frames.ps1 | 2 +- scripts/convert-md2html.ps1 | 2 +- scripts/disconnect-vpn.ps1 | 2 +- scripts/download-dir.ps1 | 4 +-- scripts/download-file.ps1 | 4 +-- scripts/edit.ps1 | 2 +- scripts/enter-host.ps1 | 4 +-- scripts/fetch-repo.ps1 | 4 +-- scripts/fetch-repos.ps1 | 4 +-- scripts/install-audacity.ps1 | 2 +- scripts/install-basic-apps.ps1 | 2 +- scripts/install-calibre-server.ps1 | 6 ++-- scripts/install-chrome.ps1 | 2 +- scripts/install-crystal-disk-info.ps1 | 2 +- scripts/install-crystal-disk-mark.ps1 | 2 +- scripts/install-discord.ps1 | 2 +- scripts/install-edge.ps1 | 2 +- scripts/install-firefox.ps1 | 2 +- scripts/install-git-extensions.ps1 | 2 +- scripts/install-git-for-windows.ps1 | 2 +- scripts/install-github-cli.ps1 | 2 +- scripts/install-irfanview.ps1 | 2 +- scripts/install-microsoft-teams.ps1 | 2 +- scripts/install-netflix.ps1 | 2 +- scripts/install-octoprint.ps1 | 2 +- scripts/install-one-calendar.ps1 | 2 +- scripts/install-opera-browser.ps1 | 2 +- scripts/install-opera-gx.ps1 | 2 +- scripts/install-paint-3d.ps1 | 2 +- scripts/install-power-toys.ps1 | 2 +- scripts/install-rufus.ps1 | 2 +- scripts/install-signal-cli.ps1 | 10 +++--- scripts/install-skype.ps1 | 2 +- scripts/install-spotify.ps1 | 2 +- scripts/install-thunderbird.ps1 | 2 +- scripts/install-twitter.ps1 | 2 +- scripts/install-unbound-server.ps1 | 18 +++++----- scripts/install-visual-studio-code.ps1 | 2 +- scripts/install-vivaldi.ps1 | 2 +- scripts/install-vlc.ps1 | 2 +- scripts/install-windows-terminal.ps1 | 2 +- scripts/install-zoom.ps1 | 2 +- scripts/list-branches.ps1 | 6 ++-- scripts/list-commit-stats.ps1 | 6 ++-- scripts/list-commits.ps1 | 8 ++--- scripts/list-latest-tag.ps1 | 2 +- scripts/list-latest-tags.ps1 | 4 +-- scripts/list-old-branches.ps1 | 4 +-- scripts/list-pull-requests.ps1 | 6 ++-- scripts/list-submodules.ps1 | 6 ++-- scripts/list-tags.ps1 | 8 ++--- scripts/new-branch.ps1 | 18 +++++----- scripts/new-junction.ps1 | 2 +- scripts/new-ssh-key.ps1 | 4 +-- scripts/new-symlink.ps1 | 2 +- scripts/new-tag.ps1 | 10 +++--- scripts/pick-commit.ps1 | 20 ++++++------ scripts/publish-to-ipfs.ps1 | 2 +- scripts/pull-repo.ps1 | 10 +++--- scripts/pull-repos.ps1 | 6 ++-- scripts/remove-tag.ps1 | 6 ++-- scripts/search-repo.ps1 | 4 +-- scripts/start-ipfs-server.ps1 | 16 ++++----- scripts/sync-repo.ps1 | 6 ++-- scripts/watch-commits.ps1 | 6 ++-- scripts/write-changelog.ps1 | 4 +-- 91 files changed, 204 insertions(+), 204 deletions(-) diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index 4ed755802..f36572326 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -29,28 +29,28 @@ function BuildInDir([string]$path) { "⏳ (2/4) Executing 'cmake' to generate the Makefile..." & cmake .. - if ($lastExitCode -ne "0") { throw "Executing 'cmake ..' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'cmake ..' exited with error code $lastExitCode" } "⏳ (3/4) Executing 'make -j4' to compile and link..." & make -j4 - if ($lastExitCode -ne "0") { throw "Executing 'make -j4' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' exited with error code $lastExitCode" } "⏳ (4/4) Executing 'ctest -V' to perform tests (optional)..." & ctest -V - if ($lastExitCode -ne "0") { throw "Executing 'ctest -V' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'ctest -V' exited with error code $lastExitCode" } } elseif (Test-Path "$path/autogen.sh" -pathType leaf) { "⏳ Building 📂$dirName by using 'autogen.sh'..." Set-Location "$path/" & ./autogen.sh --force - if ($lastExitCode -ne "0") { throw "Executing './autogen.sh --force' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing './autogen.sh --force' exited with error code $lastExitCode" } & ./configure - if ($lastExitCode -ne "0") { throw "Executing './configure' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing './configure' exited with error code $lastExitCode" } & make -j4 - if ($lastExitCode -ne "0") { throw "Executing 'make -j4' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' exited with error code $lastExitCode" } } elseif (Test-Path "$path/configure" -pathType leaf) { @@ -58,70 +58,70 @@ function BuildInDir([string]$path) { Set-Location "$path/" & ./configure - #if ($lastExitCode -ne "0") { throw "Executing './configure' exited with error code $lastExitCode" } + #if ($lastExitCode -ne 0) { throw "Executing './configure' exited with error code $lastExitCode" } & make -j4 - if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' has failed" } & make test - if ($lastExitCode -ne "0") { throw "Executing 'make test' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make test' has failed" } } elseif (Test-Path "$path/build.gradle" -pathType leaf) { "⏳ Building 📂$dirName by using Gradle..." Set-Location "$path" & gradle build - if ($lastExitCode -ne "0") { throw "Executing 'gradle build' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'gradle build' exited with error code $lastExitCode" } & gradle test - if ($lastExitCode -ne "0") { throw "Executing 'gradle test' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'gradle test' exited with error code $lastExitCode" } } elseif (Test-Path "$path/meson.build" -pathType leaf) { "⏳ Building 📂$dirName by using Meson..." Set-Location "$path" & meson . build --prefix=/usr/local - if ($lastExitCode -ne "0") { throw "Executing 'meson . build' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'meson . build' exited with error code $lastExitCode" } } elseif (Test-Path "$path/Imakefile" -pathType leaf) { "⏳ Building 📂$dirName by using Imakefile..." Set-Location "$path/" & xmkmf - if ($lastExitCode -ne "0") { throw "Executing 'xmkmf' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'xmkmf' has failed" } & make -j4 - if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' has failed" } } elseif (Test-Path "$path/Makefile" -pathType leaf) { "⏳ Building 📂$dirName by using Makefile..." Set-Location "$path" & make -j4 - if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' has failed" } } elseif (Test-Path "$path/makefile" -pathType leaf) { "⏳ Building 📂$dirName by using makefile..." Set-Location "$path" & make -j4 - if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' has failed" } } elseif (Test-Path "$path/compile.sh" -pathType leaf) { "⏳ Building 📂$dirName by using 'compile.sh'..." Set-Location "$path/" & ./compile.sh - if ($lastExitCode -ne "0") { throw "Executing './compile.sh' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing './compile.sh' exited with error code $lastExitCode" } & make -j4 - if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' has failed" } } elseif (Test-Path "$path/attower/src/build/DevBuild/build.bat" -pathType leaf) { "⏳ Building 📂$dirName by using build.bat ..." Set-Location "$path/attower/src/build/DevBuild/" & ./build.bat build-all-release - if ($lastExitCode -ne "0") { throw "Executing 'build.bat build-all-release' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'build.bat build-all-release' exited with error code $lastExitCode" } } elseif (Test-Path "$path/$dirName" -pathType container) { "⏳ No make rule found, trying subfolder 📂$($dirName)..." diff --git a/scripts/change-wallpaper.ps1 b/scripts/change-wallpaper.ps1 index d973cf76a..b31dab091 100755 --- a/scripts/change-wallpaper.ps1 +++ b/scripts/change-wallpaper.ps1 @@ -27,7 +27,7 @@ try { $Path = "$(GetTempDir)/next_wallpaper.jpg" & wget -O $Path "https://source.unsplash.com/3840x2160?$Category" - if ($lastExitCode -ne "0") { throw "Download failed" } + if ($lastExitCode -ne 0) { throw "Download failed" } & "$PSScriptRoot/set-wallpaper.ps1" -ImageFile "$Path" exit 0 # success diff --git a/scripts/check-repo.ps1 b/scripts/check-repo.ps1 index f63310079..89b6364ee 100755 --- a/scripts/check-repo.ps1 +++ b/scripts/check-repo.ps1 @@ -28,7 +28,7 @@ try { Write-Host "⏳ (1/10) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2/10) Checking local repository... " -noNewline $FullPath = Resolve-Path "$pathToRepo" @@ -37,15 +37,15 @@ try { Write-Host "⏳ (3/10) Querying remote URL... " -noNewline & git -C "$FullPath" remote get-url origin - if ($lastExitCode -ne "0") { throw "'git remote get-url origin' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git remote get-url origin' failed with exit code $lastExitCode" } Write-Host "⏳ (4/10) Querying current branch... " -noNewline & git -C "$FullPath" branch --show-current - if ($lastExitCode -ne "0") { throw "'git branch --show-current' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git branch --show-current' failed with exit code $lastExitCode" } Write-Host "⏳ (5/10) Fetching remote updates... " -noNewline & git -C "$FullPath" fetch --all --recurse-submodules --tags --force --quiet - if ($lastExitCode -ne "0") { throw "'git fetch' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed with exit code $lastExitCode" } Write-Host "OK" Write-Host "⏳ (6/10) Querying latest tag... " -noNewline @@ -55,19 +55,19 @@ try { Write-Host "⏳ (7/10) Verifying data integrity..." & git -C "$FullPath" fsck - if ($lastExitCode -ne "0") { throw "'git fsck' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fsck' failed with exit code $lastExitCode" } Write-Host "⏳ (8/10) Running maintenance tasks..." & git -C "$FullPath" maintenance run - if ($lastExitCode -ne "0") { throw "'git maintenance run' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git maintenance run' failed with exit code $lastExitCode" } Write-Host "⏳ (9/10) Checking submodule status..." & git -C "$FullPath" submodule status - if ($lastExitCode -ne "0") { throw "'git submodule status' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git submodule status' failed with exit code $lastExitCode" } Write-Host "⏳ (10/10) Checking repo status... " -noNewline & git -C "$FullPath" status - if ($lastExitCode -ne "0") { throw "'git status --short' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git status --short' failed with exit code $lastExitCode" } $repoDirName = (Get-Item "$FullPath").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds diff --git a/scripts/check-smart-devices.ps1 b/scripts/check-smart-devices.ps1 index 4c37aa8ec..0d34b32f9 100755 --- a/scripts/check-smart-devices.ps1 +++ b/scripts/check-smart-devices.ps1 @@ -30,7 +30,7 @@ function Bytes2String([int64]$bytes) { try { $result = (smartctl --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'smartctl' - make sure smartmontools are installed" } + if ($lastExitCode -ne 0) { throw "Can't execute 'smartctl' - make sure smartmontools are installed" } if ($IsLinux) { $devices = $(sudo smartctl --scan-open) diff --git a/scripts/check-windows-system-files.ps1 b/scripts/check-windows-system-files.ps1 index 6268d61e8..d17d601aa 100755 --- a/scripts/check-windows-system-files.ps1 +++ b/scripts/check-windows-system-files.ps1 @@ -16,7 +16,7 @@ try { sfc /verifyOnly - if ($lastExitCode -ne "0") { throw "'sfc /verifyOnly' failed" } + if ($lastExitCode -ne 0) { throw "'sfc /verifyOnly' failed" } "✅ checked Windows system files" exit 0 # success diff --git a/scripts/clean-repo.ps1 b/scripts/clean-repo.ps1 index 7d343867c..84b79c014 100755 --- a/scripts/clean-repo.ps1 +++ b/scripts/clean-repo.ps1 @@ -26,7 +26,7 @@ try { Write-Host "⏳ (1/4) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } "⏳ (2/4) Checking local repository... $path" if (-not(Test-Path "$path" -pathType container)) { throw "Can't access repo folder '$path' - maybe a typo or missing folder permissions?" } @@ -34,15 +34,15 @@ try { "⏳ (3/4) Removing untracked files in repository..." & git -C "$path" clean -xfd -f # to delete all untracked files in the main repo - if ($lastExitCode -ne "0") { + if ($lastExitCode -ne 0) { Write-Warning "'git clean' failed with exit code $lastExitCode, retrying once..." & git -C "$path" clean -xfd -f - if ($lastExitCode -ne "0") { throw "'git clean' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git clean' failed with exit code $lastExitCode" } } "⏳ (4/4) Removing untracked files in submodules..." & git -C "$path" submodule foreach --recursive git clean -xfd -f # to delete all untracked files in the submodules - if ($lastExitCode -ne "0") { throw "'git clean' in the submodules failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git clean' in the submodules failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Cleaned the 📂$repoName repository in $($elapsed)s." diff --git a/scripts/clean-repos.ps1 b/scripts/clean-repos.ps1 index 29c80ec7d..4802f5a5a 100755 --- a/scripts/clean-repos.ps1 +++ b/scripts/clean-repos.ps1 @@ -24,7 +24,7 @@ try { Write-Host "⏳ (1) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } $parentDirName = (Get-Item "$ParentDir").Name Write-Host "⏳ (2) Checking parent folder 📂$parentDirName... " -noNewline @@ -40,10 +40,10 @@ try { "⏳ ($Step/$($numFolders + 2)) Cleaning 📂$FolderName..." & git -C "$folder" clean -xfd -f # force + recurse into dirs + don't use the standard ignore rules - if ($lastExitCode -ne "0") { throw "'git clean -xfd -f' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git clean -xfd -f' failed with exit code $lastExitCode" } & git -C "$folder" submodule foreach --recursive git clean -xfd -f - if ($lastExitCode -ne "0") { throw "'git clean -xfd -f' in submodules failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git clean -xfd -f' in submodules failed with exit code $lastExitCode" } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Cleaned $numFolders Git repositories under 📂$parentDirName in $($elapsed)s." diff --git a/scripts/clear-recycle-bin.ps1 b/scripts/clear-recycle-bin.ps1 index 2b12e44cb..6d449d186 100755 --- a/scripts/clear-recycle-bin.ps1 +++ b/scripts/clear-recycle-bin.ps1 @@ -14,7 +14,7 @@ try { Clear-RecycleBin -Confirm:$false - if ($lastExitCode -ne "0") { throw "'Clear-RecycleBin' failed" } + if ($lastExitCode -ne 0) { throw "'Clear-RecycleBin' failed" } & "$PSScriptRoot/speak-english.ps1" "It's clean now." exit 0 # success diff --git a/scripts/clone-repos.ps1 b/scripts/clone-repos.ps1 index 307c43b8e..f4a928bb7 100755 --- a/scripts/clone-repos.ps1 +++ b/scripts/clone-repos.ps1 @@ -25,7 +25,7 @@ try { Write-Host "⏳ (1) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2) Reading data/popular-repos.csv... " -noNewline $table = Import-CSV "$PSScriptRoot/../data/popular-repos.csv" @@ -53,12 +53,12 @@ try { } elseif ($shallow -eq "yes") { "⏳ ($step/$($total + 3)) Cloning 📂$folderName ($category) from $URL ($branch branch only)..." & git clone --branch "$branch" --single-branch --recurse-submodules "$URL" "$targetDir/$folderName" - if ($lastExitCode -ne "0") { throw "'git clone --branch $branch $URL' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git clone --branch $branch $URL' failed with exit code $lastExitCode" } $cloned++ } else { "⏳ ($step/$($total + 3)) Cloning 📂$folderName ($category) from $URL (full $branch branch)..." & git clone --branch "$branch" --recurse-submodules "$URL" "$targetDir/$folderName" - if ($lastExitCode -ne "0") { throw "'git clone --branch $branch $URL' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git clone --branch $branch $URL' failed with exit code $lastExitCode" } $clone++ } } diff --git a/scripts/close-edge.ps1 b/scripts/close-edge.ps1 index 1acab460e..5f3b3dbe6 100755 --- a/scripts/close-edge.ps1 +++ b/scripts/close-edge.ps1 @@ -12,7 +12,7 @@ #> TaskKill /im msedge.exe /f /t -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Microsoft Edge isn't running." exit 1 } diff --git a/scripts/close-git-extensions.ps1 b/scripts/close-git-extensions.ps1 index f6ea49a2a..42103b14a 100755 --- a/scripts/close-git-extensions.ps1 +++ b/scripts/close-git-extensions.ps1 @@ -12,7 +12,7 @@ #> TaskKill /im GitExtensions.exe -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Git Extensions isn't running." exit 1 } diff --git a/scripts/close-microsoft-paint.ps1 b/scripts/close-microsoft-paint.ps1 index 5ab05a600..ed96115da 100755 --- a/scripts/close-microsoft-paint.ps1 +++ b/scripts/close-microsoft-paint.ps1 @@ -12,7 +12,7 @@ #> TaskKill /im mspaint.exe -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Microsoft Paint isn't running." exit 1 } diff --git a/scripts/close-microsoft-store.ps1 b/scripts/close-microsoft-store.ps1 index 2529906bb..e50d29ae9 100755 --- a/scripts/close-microsoft-store.ps1 +++ b/scripts/close-microsoft-store.ps1 @@ -12,7 +12,7 @@ #> TaskKill /im WinStore.App.exe /f /t -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Microsoft Store isn't running." exit 1 } diff --git a/scripts/close-obs-studio.ps1 b/scripts/close-obs-studio.ps1 index 482bf1409..c9784d33e 100755 --- a/scripts/close-obs-studio.ps1 +++ b/scripts/close-obs-studio.ps1 @@ -12,7 +12,7 @@ #> TaskKill /im obs64.exe -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, OBS Studio isn't running" exit 1 } diff --git a/scripts/close-one-calendar.ps1 b/scripts/close-one-calendar.ps1 index 30a3f541b..8d63afefd 100755 --- a/scripts/close-one-calendar.ps1 +++ b/scripts/close-one-calendar.ps1 @@ -12,7 +12,7 @@ #> TaskKill /f /im CalendarApp.Gui.Win10.exe -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, OneCalendar isn't running." exit 1 } diff --git a/scripts/close-outlook.ps1 b/scripts/close-outlook.ps1 index 2a239fd4a..4667a8156 100755 --- a/scripts/close-outlook.ps1 +++ b/scripts/close-outlook.ps1 @@ -12,7 +12,7 @@ #> TaskKill /im outlook.exe -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Microsoft Outlook isn't running." exit 1 } diff --git a/scripts/close-paint-three-d.ps1 b/scripts/close-paint-three-d.ps1 index 7c09606e1..02d82d82b 100755 --- a/scripts/close-paint-three-d.ps1 +++ b/scripts/close-paint-three-d.ps1 @@ -12,7 +12,7 @@ #> TaskKill /im PaintStudio.View.exe /f -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Paint 3D isn't running." exit 1 } diff --git a/scripts/close-three-d-viewer.ps1 b/scripts/close-three-d-viewer.ps1 index a2f207026..7ba79d1ad 100755 --- a/scripts/close-three-d-viewer.ps1 +++ b/scripts/close-three-d-viewer.ps1 @@ -12,7 +12,7 @@ #> TaskKill /im 3DViewer.exe /f -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, 3D Viewer isn't running." exit 1 } diff --git a/scripts/close-thunderbird.ps1 b/scripts/close-thunderbird.ps1 index 577ce699d..0e75cf81e 100755 --- a/scripts/close-thunderbird.ps1 +++ b/scripts/close-thunderbird.ps1 @@ -12,7 +12,7 @@ #> TaskKill /im thunderbird.exe -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Mozilla Thunderbird isn't running." exit 1 } diff --git a/scripts/close-visual-studio.ps1 b/scripts/close-visual-studio.ps1 index 5e106911e..86196b2c7 100755 --- a/scripts/close-visual-studio.ps1 +++ b/scripts/close-visual-studio.ps1 @@ -12,7 +12,7 @@ #> TaskKill /im devenv.exe -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Visual Studio isn't running." exit 1 } diff --git a/scripts/configure-git.ps1 b/scripts/configure-git.ps1 index e5a228bec..3bb5815cd 100755 --- a/scripts/configure-git.ps1 +++ b/scripts/configure-git.ps1 @@ -29,7 +29,7 @@ param([string]$fullName = "", [string]$emailAddress = "", [string]$favoriteEdito try { Write-Host "⏳ (1/5) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } "⏳ (2/5) Asking for user details..." if ($fullName -eq "") { $fullName = Read-Host "Enter your full name" } @@ -45,13 +45,13 @@ try { & git config --global merge.renamelimit 99999 # raise the rename limit & git config --global pull.rebase false & git config --global fetch.parallel 0 # enable parallel fetching to improve the speed - if ($lastExitCode -ne "0") { throw "'git config' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git config' failed with exit code $lastExitCode" } "⏳ (4/5) Saving user settings (name,email,editor)..." & git config --global user.name $fullName & git config --global user.email $emailAddress & git config --global core.editor $favoriteEditor - if ($lastExitCode -ne "0") { throw "'git config' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git config' failed with exit code $lastExitCode" } "⏳ (5/5) Saving user shortcuts ('git br', 'git ls', 'git st', etc.)..." & git config --global alias.br "branch" @@ -64,7 +64,7 @@ try { & git config --global alias.ps "push" & git config --global alias.smu "submodule update --init" & git config --global alias.st "status" - if ($lastExitCode -ne "0") { throw "'git config' failed" } + if ($lastExitCode -ne 0) { throw "'git config' failed" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Saved your Git configuration to ~/.gitconfig in $($elapsed)s." diff --git a/scripts/connect-vpn.ps1 b/scripts/connect-vpn.ps1 index c53ad3749..28234bc46 100755 --- a/scripts/connect-vpn.ps1 +++ b/scripts/connect-vpn.ps1 @@ -18,7 +18,7 @@ try { if ($Connection.ConnectionStatus -ne "Disconnected") { continue } "Connecting to VPN $($Connection.Name)..." & rasdial.exe "$($Connection.Name)" - if ($lastExitCode -ne "0") { throw "Cannot establish connection" } + if ($lastExitCode -ne 0) { throw "Cannot establish connection" } "Connected now." exit 0 # success } diff --git a/scripts/convert-docx2md.ps1 b/scripts/convert-docx2md.ps1 index 263d1436a..bfbf65d33 100755 --- a/scripts/convert-docx2md.ps1 +++ b/scripts/convert-docx2md.ps1 @@ -22,7 +22,7 @@ try { Write-Host "⏳ Searching for pandoc..." $null = (pandoc --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'pandoc' - make sure it's installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'pandoc' - make sure it's installed and available" } Write-Host "⏳ Converting..." gci -r -i $FilePattern | foreach { diff --git a/scripts/convert-frames2mp4.ps1 b/scripts/convert-frames2mp4.ps1 index ac6b95a0a..5f47f9526 100755 --- a/scripts/convert-frames2mp4.ps1 +++ b/scripts/convert-frames2mp4.ps1 @@ -24,7 +24,7 @@ try { "⏳ (1/3) Searching for ffmpeg..." & ffmpeg -L - if ($lastExitCode -ne "0") { throw "Can't execute 'ffmpeg' - make sure ffmpeg is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'ffmpeg' - make sure ffmpeg is installed and available" } "⏳ (2/3) Checking file pattern of the image frames..." $Files = (Get-ChildItem -path "$SourcePattern" -attributes !Directory) diff --git a/scripts/convert-image2blurred-frames.ps1 b/scripts/convert-image2blurred-frames.ps1 index 2d8b6d28d..5b2ff15c0 100755 --- a/scripts/convert-image2blurred-frames.ps1 +++ b/scripts/convert-image2blurred-frames.ps1 @@ -29,7 +29,7 @@ try { "⏳ (2/$Frames) Searching for ImageMagick 6..." & convert-im6 --version - if ($lastExitCode -ne "0") { throw "Can't execute 'convert-im6' - make sure ImageMagick 6 is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'convert-im6' - make sure ImageMagick 6 is installed and available" } [int]$centerX = $ImageWidth / 2 [int]$centerY = $ImageHeight / 2 diff --git a/scripts/convert-image2pixelated-frames.ps1 b/scripts/convert-image2pixelated-frames.ps1 index f2e191d06..d50c102e6 100755 --- a/scripts/convert-image2pixelated-frames.ps1 +++ b/scripts/convert-image2pixelated-frames.ps1 @@ -29,7 +29,7 @@ try { "⏳ (2/$Frames) Searching for ImageMagick 6 executable..." & convert-im6 --version - if ($lastExitCode -ne "0") { throw "Can't execute 'convert-im6' - make sure ImageMagick 6 is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'convert-im6' - make sure ImageMagick 6 is installed and available" } $Factor = 0.001 for ($i = 0; $i -lt $Frames; $i++) { diff --git a/scripts/convert-md2html.ps1 b/scripts/convert-md2html.ps1 index 9c7bddd5d..fffea5294 100755 --- a/scripts/convert-md2html.ps1 +++ b/scripts/convert-md2html.ps1 @@ -22,7 +22,7 @@ try { Write-Host "⏳ Searching for pandoc..." $null = (pandoc --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'pandoc' - make sure it's installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'pandoc' - make sure it's installed and available" } Write-Host "⏳ Converting..." gci -r -i $FilePattern | foreach { diff --git a/scripts/disconnect-vpn.ps1 b/scripts/disconnect-vpn.ps1 index fc5548e47..9df8c5045 100755 --- a/scripts/disconnect-vpn.ps1 +++ b/scripts/disconnect-vpn.ps1 @@ -18,7 +18,7 @@ try { if ($Connection.ConnectionStatus -ne "Connected") { continue } "Disconnecting $($Connection.Name)..." & rasdial.exe "$($Connection.Name)" /DISCONNECT - if ($lastExitCode -ne "0") { throw "Disconnect failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Disconnect failed with exit code $lastExitCode" } "Disconnected now." exit 0 # success } diff --git a/scripts/download-dir.ps1 b/scripts/download-dir.ps1 index 729b4b076..c812aa695 100755 --- a/scripts/download-dir.ps1 +++ b/scripts/download-dir.ps1 @@ -21,10 +21,10 @@ try { $StopWatch = [system.diagnostics.stopwatch]::startNew() & wget --version - if ($lastExitCode -ne "0") { throw "Can't execute 'wget' - make sure wget is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'wget' - make sure wget is installed and available" } & wget --mirror --convert-links --adjust-extension --page-requisites --no-parent $URL --directory-prefix . --no-verbose - if ($lastExitCode -ne "0") { throw "Can't execute 'wget --mirror $URL'" } + if ($lastExitCode -ne 0) { throw "Can't execute 'wget --mirror $URL'" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✅ downloaded directory from $URL in $Elapsed sec" diff --git a/scripts/download-file.ps1 b/scripts/download-file.ps1 index 0d3297b54..b6e09d074 100755 --- a/scripts/download-file.ps1 +++ b/scripts/download-file.ps1 @@ -21,10 +21,10 @@ try { $StopWatch = [system.diagnostics.stopwatch]::startNew() & wget --version - if ($lastExitCode -ne "0") { throw "Can't execute 'wget' - make sure wget is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'wget' - make sure wget is installed and available" } & wget --mirror --convert-links --adjust-extension --page-requisites --no-parent $URL --directory-prefix . --no-verbose - if ($lastExitCode -ne "0") { throw "Can't execute 'wget --mirror $URL'" } + if ($lastExitCode -ne 0) { throw "Can't execute 'wget --mirror $URL'" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✅ downloaded file from $URL in $Elapsed sec" diff --git a/scripts/edit.ps1 b/scripts/edit.ps1 index c581777ac..fa7d9f8da 100755 --- a/scripts/edit.ps1 +++ b/scripts/edit.ps1 @@ -19,7 +19,7 @@ function TryEditor { param([string]$editor, [string]$path) try { Write-Host "$editor.." -noNewline & $editor "$path" - if ($lastExitCode -ne "0") { + if ($lastExitCode -ne 0) { "⚠️ Can't execute '$editor' - make sure it's installed and available" exit 1 } diff --git a/scripts/enter-host.ps1 b/scripts/enter-host.ps1 index 0d308458a..6874673e1 100755 --- a/scripts/enter-host.ps1 +++ b/scripts/enter-host.ps1 @@ -31,14 +31,14 @@ try { } & "$PSScriptRoot/ping-host.ps1" $remoteHost - if ($lastExitCode -ne "0") { + if ($lastExitCode -ne 0) { Write-Host "Let's try to wake '$remoteHost' up..." & "$PSScriptRoot/wake-up-host.ps1" } Write-Host "⏳ Connecting as user '$remoteUser' using " -noNewline & ssh -V - if ($lastExitCode -ne "0") { throw "'ssh -V' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'ssh -V' failed with exit code $lastExitCode" } & ssh "$($remoteUser)@$($remoteHost)" exit 0 # success diff --git a/scripts/fetch-repo.ps1 b/scripts/fetch-repo.ps1 index e9f6d57b3..91950eada 100755 --- a/scripts/fetch-repo.ps1 +++ b/scripts/fetch-repo.ps1 @@ -24,7 +24,7 @@ try { Write-Host "⏳ (1/3) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2/3) Checking local repository... $path" if (!(Test-Path "$path" -pathType container)) { throw "Can't access folder: $path" } @@ -32,7 +32,7 @@ try { Write-Host "⏳ (3/3) Fetching updates (including submodules)..." & git -C "$path" fetch --all --recurse-submodules --tags --prune --prune-tags --force --quiet - if ($lastExitCode -ne "0") { throw "'git fetch --all' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch --all' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Updates fetched into 📂$repoDirName repo in $($elapsed)s." diff --git a/scripts/fetch-repos.ps1 b/scripts/fetch-repos.ps1 index ac34a3d5e..da71c71ce 100755 --- a/scripts/fetch-repos.ps1 +++ b/scripts/fetch-repos.ps1 @@ -24,7 +24,7 @@ try { Write-Host "⏳ (1) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2) Checking parent folder... " -noNewline if (-not(Test-Path "$parentDirPath" -pathType container)) { throw "Can't access folder: $parentDirPath" } @@ -39,7 +39,7 @@ try { Write-Host "⏳ ($step/$($numFolders + 2)) Fetching into 📂$folderName...`t`t" & git -C "$folder" fetch --all --recurse-submodules --prune --prune-tags --force - if ($lastExitCode -ne "0") { throw "'git fetch --all' in 📂$folder failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch --all' in 📂$folder failed with exit code $lastExitCode" } $step++ } diff --git a/scripts/install-audacity.ps1 b/scripts/install-audacity.ps1 index 3cf80332e..8eba58b8f 100755 --- a/scripts/install-audacity.ps1 +++ b/scripts/install-audacity.ps1 @@ -15,7 +15,7 @@ try { "Installing Audacity, please wait..." & winget install --id Audacity.Audacity --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Audacity installed successfully." exit 0 # success diff --git a/scripts/install-basic-apps.ps1 b/scripts/install-basic-apps.ps1 index d9363978f..4b67a2e15 100755 --- a/scripts/install-basic-apps.ps1 +++ b/scripts/install-basic-apps.ps1 @@ -42,7 +42,7 @@ try { Write-Host " " Write-Host "⏳ ($step/$($numEntries + 2)) Installing $category '$appName'..." & winget install --id $appID --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { $numSkipped++ } + if ($lastExitCode -ne 0) { $numSkipped++ } $step++ } [int]$numInstalled = ($numEntries - $numSkipped) diff --git a/scripts/install-calibre-server.ps1 b/scripts/install-calibre-server.ps1 index f75941da3..6fe0255a3 100755 --- a/scripts/install-calibre-server.ps1 +++ b/scripts/install-calibre-server.ps1 @@ -32,15 +32,15 @@ try { "`n⏳ (1/5) Updating package infos..." & sudo apt update -y - if ($lastExitCode -ne "0") { throw "'apt update' failed" } + if ($lastExitCode -ne 0) { throw "'apt update' failed" } "`n⏳ (2/5) Installing Calibre package..." & sudo apt install calibre -y - if ($lastExitCode -ne "0") { throw "'apt install calibre' failed" } + if ($lastExitCode -ne 0) { throw "'apt install calibre' failed" } "`n⏳ (3/5) Searching for Calibre server executable..." & calibre-server --version - if ($lastExitCode -ne "0") { throw "Can't execute 'calibre-server' - make sure Calibre server is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'calibre-server' - make sure Calibre server is installed and available" } "`n⏳ (4/5) Creating media folder at: $mediaFolder ... (if non-existent)" & mkdir $mediaFolder diff --git a/scripts/install-chrome.ps1 b/scripts/install-chrome.ps1 index c130f7e35..f45b0b080 100755 --- a/scripts/install-chrome.ps1 +++ b/scripts/install-chrome.ps1 @@ -15,7 +15,7 @@ try { "Installing Google Chrome, please wait..." & winget install --id Google.Chrome --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Google Chrome installed successfully." exit 0 # success diff --git a/scripts/install-crystal-disk-info.ps1 b/scripts/install-crystal-disk-info.ps1 index 9a4699ee2..9f79a4fd5 100755 --- a/scripts/install-crystal-disk-info.ps1 +++ b/scripts/install-crystal-disk-info.ps1 @@ -15,7 +15,7 @@ try { "Installing CrystalDiskInfo, please wait..." & winget install "CrystalDiskInfo" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "CrystalDiskInfo installed successfully." exit 0 # success diff --git a/scripts/install-crystal-disk-mark.ps1 b/scripts/install-crystal-disk-mark.ps1 index cb020f755..7571b8168 100755 --- a/scripts/install-crystal-disk-mark.ps1 +++ b/scripts/install-crystal-disk-mark.ps1 @@ -15,7 +15,7 @@ try { "Installing CrystalDiskMark, please wait..." & winget install "CrystalDiskMark Shizuku Edition" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "CrystalDiskMark installed successfully." exit 0 # success diff --git a/scripts/install-discord.ps1 b/scripts/install-discord.ps1 index 7eea91093..50bfc566d 100755 --- a/scripts/install-discord.ps1 +++ b/scripts/install-discord.ps1 @@ -15,7 +15,7 @@ try { "Installing Discord, please wait..." & winget install "Discord" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Discord installed successfully." exit 0 # success diff --git a/scripts/install-edge.ps1 b/scripts/install-edge.ps1 index 9865dcade..c7667baf4 100755 --- a/scripts/install-edge.ps1 +++ b/scripts/install-edge.ps1 @@ -15,7 +15,7 @@ try { "Installing Microsoft Edge, please wait..." & winget install "Microsoft Edge Browser" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Microsoft Edge installed successfully." exit 0 # success diff --git a/scripts/install-firefox.ps1 b/scripts/install-firefox.ps1 index 3cebf37fd..617c17e99 100755 --- a/scripts/install-firefox.ps1 +++ b/scripts/install-firefox.ps1 @@ -15,7 +15,7 @@ try { "Installing Mozilla Firefox, please wait..." & winget install "Mozilla Firefox Browser" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Mozilla Firefox installed successfully." exit 0 # success diff --git a/scripts/install-git-extensions.ps1 b/scripts/install-git-extensions.ps1 index 306d7d69e..75aeff1c3 100755 --- a/scripts/install-git-extensions.ps1 +++ b/scripts/install-git-extensions.ps1 @@ -15,7 +15,7 @@ try { "Installing Git Extensions, please wait..." & winget install --id GitExtensionsTeam.GitExtensions --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Git Extensions installed successfully." exit 0 # success diff --git a/scripts/install-git-for-windows.ps1 b/scripts/install-git-for-windows.ps1 index 7474f1ef3..77770b8d9 100755 --- a/scripts/install-git-for-windows.ps1 +++ b/scripts/install-git-for-windows.ps1 @@ -15,7 +15,7 @@ try { "Installing Git for Windows, please wait..." & winget install --id Git.Git -e --source winget --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Git for Windows installed successfully." exit 0 # success diff --git a/scripts/install-github-cli.ps1 b/scripts/install-github-cli.ps1 index f82f38903..396c012de 100755 --- a/scripts/install-github-cli.ps1 +++ b/scripts/install-github-cli.ps1 @@ -23,7 +23,7 @@ try { & sudo apt install gh } else { & winget install --id GitHub.cli - if ($lastExitCode -ne "0") { throw "Installation of GitHub CLI failed, maybe it's already installed." } + if ($lastExitCode -ne 0) { throw "Installation of GitHub CLI failed, maybe it's already installed." } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ GitHub CLI installed successfully in $($elapsed)s - to authenticate execute: 'gh auth login'" diff --git a/scripts/install-irfanview.ps1 b/scripts/install-irfanview.ps1 index 8ecbbec73..d3271d41e 100755 --- a/scripts/install-irfanview.ps1 +++ b/scripts/install-irfanview.ps1 @@ -15,7 +15,7 @@ try { "Installing IrfanView, please wait..." & winget install "IrfanView64" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "IrfanView installed successfully." exit 0 # success diff --git a/scripts/install-microsoft-teams.ps1 b/scripts/install-microsoft-teams.ps1 index 491f2572f..4c2065e59 100755 --- a/scripts/install-microsoft-teams.ps1 +++ b/scripts/install-microsoft-teams.ps1 @@ -15,7 +15,7 @@ try { "Installing Microsoft Teams, please wait..." & winget install --id Microsoft.Teams --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Microsoft Teams installed successfully." exit 0 # success diff --git a/scripts/install-netflix.ps1 b/scripts/install-netflix.ps1 index e0c381532..a2775be2a 100755 --- a/scripts/install-netflix.ps1 +++ b/scripts/install-netflix.ps1 @@ -15,7 +15,7 @@ try { "Installing Netflix, please wait..." & winget install "Netflix" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Netflix installed successfully." exit 0 # success diff --git a/scripts/install-octoprint.ps1 b/scripts/install-octoprint.ps1 index faad199c6..1bd055ede 100755 --- a/scripts/install-octoprint.ps1 +++ b/scripts/install-octoprint.ps1 @@ -3,7 +3,7 @@ try { "⏳ Installing OctoPrint (snap 'octoprint-pfs', channel 'edge')..." & sudo snap install octoprint-pfs --edge - if ($lastExitCode -ne "0") { throw "'snap install octoprint-pfs' exited with code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'snap install octoprint-pfs' exited with code $lastExitCode" } "HINT: Access Octoprint's web login at: http://:5000" exit 0 # success diff --git a/scripts/install-one-calendar.ps1 b/scripts/install-one-calendar.ps1 index f214e48a3..10ce0901e 100755 --- a/scripts/install-one-calendar.ps1 +++ b/scripts/install-one-calendar.ps1 @@ -15,7 +15,7 @@ try { "Installing One Calendar, please wait..." & winget install "One Calendar" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "One Calendar installed successfully." exit 0 # success diff --git a/scripts/install-opera-browser.ps1 b/scripts/install-opera-browser.ps1 index cfd1dfb52..829046510 100755 --- a/scripts/install-opera-browser.ps1 +++ b/scripts/install-opera-browser.ps1 @@ -15,7 +15,7 @@ try { "Installing Opera Browser, please wait..." & winget install "Opera Browser" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Opera Browser installed successfully." exit 0 # success diff --git a/scripts/install-opera-gx.ps1 b/scripts/install-opera-gx.ps1 index 480e17ad7..63f7e9a79 100755 --- a/scripts/install-opera-gx.ps1 +++ b/scripts/install-opera-gx.ps1 @@ -15,7 +15,7 @@ try { "Installing Opera GX, please wait..." & winget install "Opera GX" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Opera GX installed successfully." exit 0 # success diff --git a/scripts/install-paint-3d.ps1 b/scripts/install-paint-3d.ps1 index e751a38b4..6d87e4397 100755 --- a/scripts/install-paint-3d.ps1 +++ b/scripts/install-paint-3d.ps1 @@ -15,7 +15,7 @@ try { "Installing Paint 3D, please wait..." & winget install "Paint 3D" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Paint 3D installed successfully." exit 0 # success diff --git a/scripts/install-power-toys.ps1 b/scripts/install-power-toys.ps1 index afaab4b53..d5439f1e6 100755 --- a/scripts/install-power-toys.ps1 +++ b/scripts/install-power-toys.ps1 @@ -15,7 +15,7 @@ try { "Installing Microsoft Powertoys, please wait..." & winget install Microsoft.Powertoys --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Microsoft Powertoys installed successfully." exit 0 # success diff --git a/scripts/install-rufus.ps1 b/scripts/install-rufus.ps1 index e8f768fc8..380f80c7f 100755 --- a/scripts/install-rufus.ps1 +++ b/scripts/install-rufus.ps1 @@ -15,7 +15,7 @@ try { "Installing Rufus, please wait..." & winget install "Rufus" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Rufus installed successfully." exit 0 # success diff --git a/scripts/install-signal-cli.ps1 b/scripts/install-signal-cli.ps1 index 92ccbc4c0..8747ba519 100755 --- a/scripts/install-signal-cli.ps1 +++ b/scripts/install-signal-cli.ps1 @@ -24,19 +24,19 @@ try { set-location /tmp & wget --version - if ($lastExitCode -ne "0") { throw "Can't execute 'wget' - make sure wget is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'wget' - make sure wget is installed and available" } & wget "https://github.com/AsamK/signal-cli/releases/download/v$Version/signal-cli-$($Version).tar.gz" - if ($lastExitCode -ne "0") { throw "'wget' failed" } + if ($lastExitCode -ne 0) { throw "'wget' failed" } sudo tar xf "signal-cli-$Version.tar.gz" -C /opt - if ($lastExitCode -ne "0") { throw "'sudo tar xf' failed" } + if ($lastExitCode -ne 0) { throw "'sudo tar xf' failed" } sudo ln -sf "/opt/signal-cli-$Version/bin/signal-cli" /usr/local/bin/ - if ($lastExitCode -ne "0") { throw "'sudo ln -sf' failed" } + if ($lastExitCode -ne 0) { throw "'sudo ln -sf' failed" } rm "signal-cli-$Version.tar.gz" - if ($lastExitCode -ne "0") { throw "'rm' failed" } + if ($lastExitCode -ne 0) { throw "'rm' failed" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✅ installed signal-cli $Version to /opt and /usr/local/bin in $Elapsed sec" diff --git a/scripts/install-skype.ps1 b/scripts/install-skype.ps1 index d6f9f429e..87b48ba80 100755 --- a/scripts/install-skype.ps1 +++ b/scripts/install-skype.ps1 @@ -15,7 +15,7 @@ try { "Installing Skype, please wait..." & winget install "Skype" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Skype installed successfully." exit 0 # success diff --git a/scripts/install-spotify.ps1 b/scripts/install-spotify.ps1 index b22280eab..91c1d9ae5 100755 --- a/scripts/install-spotify.ps1 +++ b/scripts/install-spotify.ps1 @@ -15,7 +15,7 @@ try { "Installing Spotify, please wait..." & winget install "Spotify - Music and Podcasts" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Spotify installed successfully." exit 0 # success diff --git a/scripts/install-thunderbird.ps1 b/scripts/install-thunderbird.ps1 index d75e5ee95..6d1b33c9e 100755 --- a/scripts/install-thunderbird.ps1 +++ b/scripts/install-thunderbird.ps1 @@ -15,7 +15,7 @@ try { "Installing Mozilla Thunderbird, please wait..." & winget install --id Mozilla.Thunderbird --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Mozilla Thunderbird installed successfully." exit 0 # success diff --git a/scripts/install-twitter.ps1 b/scripts/install-twitter.ps1 index c978056f0..87cdb19f1 100755 --- a/scripts/install-twitter.ps1 +++ b/scripts/install-twitter.ps1 @@ -15,7 +15,7 @@ try { "Installing Twitter, please wait..." & winget install "Twitter" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Twitter installed successfully." exit 0 # success diff --git a/scripts/install-unbound-server.ps1 b/scripts/install-unbound-server.ps1 index 5235e1239..911feae92 100755 --- a/scripts/install-unbound-server.ps1 +++ b/scripts/install-unbound-server.ps1 @@ -18,27 +18,27 @@ try { "⏳ (1/10) Updating package infos..." & sudo apt update -y - if ($lastExitCode -ne "0") { throw "'apt update' failed" } + if ($lastExitCode -ne 0) { throw "'apt update' failed" } "⏳ (2/10) Installing the Unbound packages..." & sudo apt install unbound unbound-anchor -y - if ($lastExitCode -ne "0") { throw "'apt install unbound' failed" } + if ($lastExitCode -ne 0) { throw "'apt install unbound' failed" } "⏳ (3/10) Setting up Unbound..." & sudo unbound-control-setup - if ($lastExitCode -ne "0") { throw "'unbound-control-setup' failed" } + if ($lastExitCode -ne 0) { throw "'unbound-control-setup' failed" } "⏳ (4/10) Updating DNSSEC Root Trust Anchors..." & sudo unbound-anchor - if ($lastExitCode -ne "0") { throw "'unbound-anchor' failed" } + if ($lastExitCode -ne 0) { throw "'unbound-anchor' failed" } "⏳ (5/10) Checking config file..." & unbound-checkconf "$PSScriptRoot/../data/unbound.conf" - if ($lastExitCode -ne "0") { throw "'unbound-checkconf' failed - check the syntax" } + if ($lastExitCode -ne 0) { throw "'unbound-checkconf' failed - check the syntax" } "⏳ (6/10) Copying config file to /etc/unbound/unbound.conf ..." & sudo cp "$PSScriptRoot/../data/unbound.conf" /etc/unbound/unbound.conf - if ($lastExitCode -ne "0") { throw "'cp' failed" } + if ($lastExitCode -ne 0) { throw "'cp' failed" } "⏳ (7/10) Stopping default DNS cache daemon systemd-resolved..." & sudo systemctl stop systemd-resolved @@ -47,15 +47,15 @@ try { "⏳ (8/10) (Re-)starting Unbound..." & sudo unbound-control stop & sudo unbound-control start - if ($lastExitCode -ne "0") { throw "'unbound-control start' failed" } + if ($lastExitCode -ne 0) { throw "'unbound-control start' failed" } "⏳ (9/10) Checking status of Unbound..." & sudo unbound-control status - if ($lastExitCode -ne "0") { throw "'unbound-control status' failed" } + if ($lastExitCode -ne 0) { throw "'unbound-control status' failed" } "⏳ (10/10) Training Unbound with 100 popular domain names..." & "$PSScriptRoot/check-dns.ps1" - if ($lastExitCode -ne "0") { throw "'unbound-control status' failed" } + if ($lastExitCode -ne 0) { throw "'unbound-control status' failed" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✅ Installed Unbound in $Elapsed sec" diff --git a/scripts/install-visual-studio-code.ps1 b/scripts/install-visual-studio-code.ps1 index 51c41ae0c..f1dfc0d47 100755 --- a/scripts/install-visual-studio-code.ps1 +++ b/scripts/install-visual-studio-code.ps1 @@ -15,7 +15,7 @@ try { "Installing Visual Studio Code, please wait..." & winget install --id Microsoft.VisualStudioCode --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Visual Studio Code installed successfully." exit 0 # success diff --git a/scripts/install-vivaldi.ps1 b/scripts/install-vivaldi.ps1 index cc60169ae..4c8218095 100755 --- a/scripts/install-vivaldi.ps1 +++ b/scripts/install-vivaldi.ps1 @@ -15,7 +15,7 @@ try { "Installing Vivaldi, please wait..." & winget install --id VivaldiTechnologies.Vivaldi --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Vivaldi installed successfully." exit 0 # success diff --git a/scripts/install-vlc.ps1 b/scripts/install-vlc.ps1 index 3d5d75b9b..caccb6401 100755 --- a/scripts/install-vlc.ps1 +++ b/scripts/install-vlc.ps1 @@ -18,7 +18,7 @@ try { $StopWatch = [system.diagnostics.stopwatch]::startNew() & winget install --id XPDM1ZW6815MQM --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "Can't install VLC media player, is it already installed?" } + if ($lastExitCode -ne 0) { throw "Can't install VLC media player, is it already installed?" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✅ Installation of VLC media player took $Elapsed sec" diff --git a/scripts/install-windows-terminal.ps1 b/scripts/install-windows-terminal.ps1 index 5d86d30dd..6f7fde514 100755 --- a/scripts/install-windows-terminal.ps1 +++ b/scripts/install-windows-terminal.ps1 @@ -15,7 +15,7 @@ try { "Installing Windows Terminal, please wait..." & winget install --id Microsoft.WindowsTerminal --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Windows Terminal installed successfully." exit 0 # success diff --git a/scripts/install-zoom.ps1 b/scripts/install-zoom.ps1 index f8e381153..7f873e3f1 100755 --- a/scripts/install-zoom.ps1 +++ b/scripts/install-zoom.ps1 @@ -15,7 +15,7 @@ try { "Installing Zoom, please wait..." & winget install --id Zoom.Zoom --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Zoom installed successfully." exit 0 # success diff --git a/scripts/list-branches.ps1 b/scripts/list-branches.ps1 index 813ee99d0..6b0d83c8c 100755 --- a/scripts/list-branches.ps1 +++ b/scripts/list-branches.ps1 @@ -25,13 +25,13 @@ try { if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access repo folder '$pathToRepo' - maybe a typo or missing folder permissions?" } $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } & git -C "$pathToRepo" fetch - if ($lastExitCode -ne "0") { throw "'git fetch' failed" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed" } $branches = $(git -C "$pathToRepo" branch --list --remotes --no-color --no-column) - if ($lastExitCode -ne "0") { throw "'git branch --list' failed" } + if ($lastExitCode -ne 0) { throw "'git branch --list' failed" } "" "List of Git Branches" diff --git a/scripts/list-commit-stats.ps1 b/scripts/list-commit-stats.ps1 index b5e6326f6..d2acb3778 100755 --- a/scripts/list-commit-stats.ps1 +++ b/scripts/list-commit-stats.ps1 @@ -23,14 +23,14 @@ param([string]$path = "$PWD") try { Write-Progress "(1/4) Searching for Git executable..." $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Progress "(2/4) Checking local Git repository..." if (-not(Test-Path "$path" -pathType container)) { throw "Can't access directory: $path" } Write-Progress "(3/4) Fetching updates..." & git -C "$path" fetch --all --quiet - if ($lastExitCode -ne "0") { throw "'git fetch' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed with exit code $lastExitCode" } Write-Progress "(4/4) Querying commits..." " " @@ -38,7 +38,7 @@ try { "------- ------" Write-Progress -completed "Done." git -C "$path" shortlog --summary --numbered --email --no-merges - if ($lastExitCode -ne "0") { throw "'git shortlog' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git shortlog' failed with exit code $lastExitCode" } exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/list-commits.ps1 b/scripts/list-commits.ps1 index 8d41b4fec..96d105e46 100755 --- a/scripts/list-commits.ps1 +++ b/scripts/list-commits.ps1 @@ -26,11 +26,11 @@ try { if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access directory: $pathToRepo" } $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Progress "Fetching latest updates..." & git -C "$pathToRepo" fetch --all --quiet - if ($lastExitCode -ne "0") { throw "'git fetch' failed" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed" } Write-Progress -Completed "Done." if ($format -eq "pretty") { @@ -46,7 +46,7 @@ try { "List of Git Commits" "-------------------" & git -C "$pathToRepo" log --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %C(bold blue)by %an %cr%Creset' --abbrev-commit - if ($lastExitCode -ne "0") { throw "'git log' failed" } + if ($lastExitCode -ne 0) { throw "'git log' failed" } } elseif ($format -eq "JSON") { & git -C "$pathToRepo" log --pretty=format:'{%n "commit": "%H",%n "abbreviated_commit": "%h",%n "tree": "%T",%n "abbreviated_tree": "%t",%n "parent": "%P",%n "abbreviated_parent": "%p",%n "refs": "%D",%n "encoding": "%e",%n "subject": "%s",%n "sanitized_subject_line": "%f",%n "body": "%b",%n "commit_notes": "%N",%n "verification_flag": "%G?",%n "signer": "%GS",%n "signer_key": "%GK",%n "author": {%n "name": "%aN",%n "email": "%aE",%n "date": "%aD"%n },%n "commiter": {%n "name": "%cN",%n "email": "%cE",%n "date": "%cD"%n }%n},' } else { @@ -54,7 +54,7 @@ try { "List of Git Commits" "-------------------" & git -C "$pathToRepo" log - if ($lastExitCode -ne "0") { throw "'git log' failed" } + if ($lastExitCode -ne 0) { throw "'git log' failed" } } exit 0 # success } catch { diff --git a/scripts/list-latest-tag.ps1 b/scripts/list-latest-tag.ps1 index 7111d1869..f88608b75 100755 --- a/scripts/list-latest-tag.ps1 +++ b/scripts/list-latest-tag.ps1 @@ -20,7 +20,7 @@ try { if (-not(Test-Path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" } $Null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } $LatestTagCommit = (git -C "$RepoDir" rev-list --tags --max-count=1) $LatestTagName = (git -C "$RepoDir" describe --tags $LatestTagCommit) diff --git a/scripts/list-latest-tags.ps1 b/scripts/list-latest-tags.ps1 index 18dcb49f9..92c7b9f2f 100755 --- a/scripts/list-latest-tags.ps1 +++ b/scripts/list-latest-tags.ps1 @@ -19,7 +19,7 @@ try { if (-not(test-path "$ParentDir" -pathType container)) { throw "Can't access directory: $ParentDir" } $Null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } $Folders = (get-childItem "$ParentDir" -attributes Directory) $FolderCount = $Folders.Count @@ -30,7 +30,7 @@ try { $FolderName = (get-item "$Folder").Name # & git -C "$Folder" fetch --tags -# if ($lastExitCode -ne "0") { throw "'git fetch --tags' failed" } +# if ($lastExitCode -ne 0) { throw "'git fetch --tags' failed" } $LatestTagCommitID = (git -C "$Folder" rev-list --tags --max-count=1) $LatestTag = (git -C "$Folder" describe --tags $LatestTagCommitID) diff --git a/scripts/list-old-branches.ps1 b/scripts/list-old-branches.ps1 index 6623874d7..624c13952 100755 --- a/scripts/list-old-branches.ps1 +++ b/scripts/list-old-branches.ps1 @@ -14,14 +14,14 @@ param([string]$pathToRepo = "$PWD", [string]$searchPattern = "origin/dev/*") try { "(1/3) Searching for Git executable... " & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } "(2/3) Checking local repository..." if (!(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access repo folder: $pathToRepo" } "(3/3) Querying already merged branches with name '$searchPattern'..." $branches = $(git -C "$pathToRepo" branch --list --remotes --no-color --no-column --merged HEAD "$searchPattern") - if ($lastExitCode -ne "0") { throw "'git branch --list' failed" } + if ($lastExitCode -ne 0) { throw "'git branch --list' failed" } "" "LAST COMMIT DATE BRANCH NAME" diff --git a/scripts/list-pull-requests.ps1 b/scripts/list-pull-requests.ps1 index bf9833754..8452c03a8 100755 --- a/scripts/list-pull-requests.ps1 +++ b/scripts/list-pull-requests.ps1 @@ -18,7 +18,7 @@ param([string]$RepoDir = "$PWD") try { Write-Progress "(1/3) Searching for Git executable... " $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Progress "(2/3) Checking local repository..." if (!(Test-Path "$RepoDir" -pathType container)) { throw "Can't access folder: $RepoDir" } @@ -26,14 +26,14 @@ try { Write-Progress "(3/3) Fetching latest updates..." & git -C "$RepoDir" fetch --all --force --quiet - if ($lastExitCode -ne "0") { throw "'git fetch --all' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch --all' failed with exit code $lastExitCode" } Write-Progress -completed "Done." " " "Commit ID Reference" "--------- ---------" & git -C "$RepoDir" ls-remote origin 'pull/*/head' - if ($lastExitCode -ne "0") { throw "'git ls-remote' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git ls-remote' failed with exit code $lastExitCode" } exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/list-submodules.ps1 b/scripts/list-submodules.ps1 index 345d3f4d8..1e523b1aa 100755 --- a/scripts/list-submodules.ps1 +++ b/scripts/list-submodules.ps1 @@ -18,7 +18,7 @@ param([string]$RepoDir = "$PWD") try { Write-Host "⏳ (1/4) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } $RepoDirName = (Get-Item "$RepoDir").Name Write-Host "⏳ (2/4) Checking Git repository... 📂$RepoDirName" @@ -26,11 +26,11 @@ try { Write-Host "⏳ (3/4) Fetching latest updates... " & git -C "$RepoDir" fetch - if ($lastExitCode -ne "0") { throw "'git fetch' failed" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed" } Write-Host "⏳ (4/4) Listing submodules... " & git -C "$RepoDir" submodule - if ($lastExitCode -ne "0") { throw "'git submodule' failed" } + if ($lastExitCode -ne 0) { throw "'git submodule' failed" } exit 0 # success } catch { diff --git a/scripts/list-tags.ps1 b/scripts/list-tags.ps1 index 4b46b9fd2..d421ceba8 100755 --- a/scripts/list-tags.ps1 +++ b/scripts/list-tags.ps1 @@ -25,25 +25,25 @@ param([string]$repoDir = "$PWD", [string]$searchPattern="*") try { Write-Progress "(1/4) Searching for Git executable... " $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Progress "(2/4) Checking local repository... " if (-not(Test-Path "$repoDir" -pathType container)) { throw "Can't access directory: $repoDir" } Write-Progress "(3/4) Fetching newer Git tags..." & git -C "$repoDir" fetch --tags - if ($lastExitCode -ne "0") { throw "'git fetch --tags' failed" } + if ($lastExitCode -ne 0) { throw "'git fetch --tags' failed" } Write-Progress "(4/4) Fetching out-dated Git tags..." & git -C "$repoDir" fetch --prune-tags - if ($lastExitCode -ne "0") { throw "'git fetch --prune-tags' failed" } + if ($lastExitCode -ne 0) { throw "'git fetch --prune-tags' failed" } Write-Progress -completed "Done." "" "Tag Commit Message" "--- --------------" & git -C "$repoDir" tag --list "$searchPattern" -n - if ($lastExitCode -ne "0") { throw "'git tag --list' failed" } + if ($lastExitCode -ne 0) { throw "'git tag --list' failed" } exit 0 # success } catch { diff --git a/scripts/new-branch.ps1 b/scripts/new-branch.ps1 index 400310241..1632ee511 100755 --- a/scripts/new-branch.ps1 +++ b/scripts/new-branch.ps1 @@ -31,35 +31,35 @@ try { Write-Host "⏳ (1/6) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2/6) Checking local repository... $pathToRepo" if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access repo folder: $pathToRepo" } $result = (git -C "$pathToRepo" status) - if ($lastExitCode -ne "0") { throw "'git status' in $pathToRepo failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git status' in $pathToRepo failed with exit code $lastExitCode" } $repoName = (Get-Item "$pathToRepo").Name Write-Host "⏳ (3/6) Fetching remote updates... " -noNewline & git -C "$pathToRepo" remote get-url origin - if ($lastExitCode -ne "0") { throw "'git remote get-url origin' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git remote get-url origin' failed with exit code $lastExitCode" } & git -C "$pathToRepo" fetch --all --recurse-submodules --prune --prune-tags --force - if ($lastExitCode -ne "0") { throw "'git fetch' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed with exit code $lastExitCode" } $currentBranch = (git -C "$pathToRepo" rev-parse --abbrev-ref HEAD) - if ($lastExitCode -ne "0") { throw "'git rev-parse' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git rev-parse' failed with exit code $lastExitCode" } "⏳ (4/6) Creating new branch..." & git -C "$pathToRepo" checkout -b "$newBranch" - if ($lastExitCode -ne "0") { throw "'git checkout -b $newBranch' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git checkout -b $newBranch' failed with exit code $lastExitCode" } "⏳ (5/6) Pushing updates..." & git -C "$pathToRepo" push origin "$newBranch" - if ($lastExitCode -ne "0") { throw "'git push origin $newBranch' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git push origin $newBranch' failed with exit code $lastExitCode" } "⏳ (6/6) Updating submodules..." & git -C "$pathToRepo" submodule update --init --recursive - if ($lastExitCode -ne "0") { throw "'git submodule update' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Created branch '$newBranch' based on '$currentBranch' in 📂$repoName repo in $($elapsed)s." @@ -67,4 +67,4 @@ try { } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 -} \ No newline at end of file +} diff --git a/scripts/new-junction.ps1 b/scripts/new-junction.ps1 index 81447c1af..0bacc7f53 100755 --- a/scripts/new-junction.ps1 +++ b/scripts/new-junction.ps1 @@ -23,7 +23,7 @@ try { if ($target -eq "" ) { $target = Read-Host "Enter path to target" } New-Item -path "$symlink" -itemType Junction -value "$target" - if ($lastExitCode -ne "0") { throw "Command 'New-Item' has failed" } + if ($lastExitCode -ne 0) { throw "Command 'New-Item' has failed" } "✅ Created new junction '$symlink' linking to: $target" exit 0 # success diff --git a/scripts/new-ssh-key.ps1 b/scripts/new-ssh-key.ps1 index e0be25645..5cfb4dfa5 100755 --- a/scripts/new-ssh-key.ps1 +++ b/scripts/new-ssh-key.ps1 @@ -15,7 +15,7 @@ try { & ssh-keygen - if ($lastExitCode -ne "0") { throw "ssh-keygen failed" } + if ($lastExitCode -ne 0) { throw "ssh-keygen failed" } if (Test-Path "~/.ssh/id_ed25519.pub") { $publicKey = Get-Content "~/.ssh/id_ed25519.pub" @@ -32,4 +32,4 @@ try { } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 -} \ No newline at end of file +} diff --git a/scripts/new-symlink.ps1 b/scripts/new-symlink.ps1 index 2daaea961..6ade6d312 100755 --- a/scripts/new-symlink.ps1 +++ b/scripts/new-symlink.ps1 @@ -23,7 +23,7 @@ try { if ($target -eq "" ) { $target = Read-Host "Enter path to target" } New-Item -path "$symlink" -itemType SymbolicLink -value "$target" - if ($lastExitCode -ne "0") { throw "Command 'New-Item' has failed" } + if ($lastExitCode -ne 0) { throw "Command 'New-Item' has failed" } "✅ Created new symlink '$symlink' linking to: $target" exit 0 # success diff --git a/scripts/new-tag.ps1 b/scripts/new-tag.ps1 index 121a863dc..168cbbe90 100755 --- a/scripts/new-tag.ps1 +++ b/scripts/new-tag.ps1 @@ -26,20 +26,20 @@ try { set-location "$RepoDir" $Null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } $Result = (git status) - if ($lastExitCode -ne "0") { throw "'git status' failed in $RepoDir" } + if ($lastExitCode -ne 0) { throw "'git status' failed in $RepoDir" } if ("$Result" -notmatch "nothing to commit, working tree clean") { throw "Repository is NOT clean: $Result" } & "$PSScriptRoot/fetch-repo.ps1" - if ($lastExitCode -ne "0") { throw "Script 'fetch-repo.ps1' failed" } + if ($lastExitCode -ne 0) { throw "Script 'fetch-repo.ps1' failed" } & git tag "$TagName" - if ($lastExitCode -ne "0") { throw "Error: 'git tag $TagName' failed!" } + if ($lastExitCode -ne 0) { throw "Error: 'git tag $TagName' failed!" } & git push origin "$TagName" - if ($lastExitCode -ne "0") { throw "Error: 'git push origin $TagName' failed!" } + if ($lastExitCode -ne 0) { throw "Error: 'git push origin $TagName' failed!" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✅ created new tag '$TagName' in $Elapsed sec" diff --git a/scripts/pick-commit.ps1 b/scripts/pick-commit.ps1 index 020382dd3..b88271397 100755 --- a/scripts/pick-commit.ps1 +++ b/scripts/pick-commit.ps1 @@ -38,39 +38,39 @@ try { "🍒 Switching to branch $Branch ..." & git checkout --recurse-submodules --force $Branch - if ($lastExitCode -ne "0") { throw "'git checkout $Branch' failed" } + if ($lastExitCode -ne 0) { throw "'git checkout $Branch' failed" } "🍒 Updating submodules..." & git submodule update --init --recursive - if ($lastExitCode -ne "0") { throw "'git submodule update' failed" } + if ($lastExitCode -ne 0) { throw "'git submodule update' failed" } "🍒 Cleaning the repository from untracked files..." & git clean -fdx -f - if ($lastExitCode -ne "0") { throw "'git clean -fdx -f' failed" } + if ($lastExitCode -ne 0) { throw "'git clean -fdx -f' failed" } & git submodule foreach --recursive git clean -fdx -f - if ($lastExitCode -ne "0") { throw "'git clean -fdx -f' in submodules failed" } + if ($lastExitCode -ne 0) { throw "'git clean -fdx -f' in submodules failed" } "🍒 Pulling latest updates..." & git pull --recurse-submodules - if ($lastExitCode -ne "0") { throw "'git pull' failed" } + if ($lastExitCode -ne 0) { throw "'git pull' failed" } "🍒 Checking the status..." $Result = (git status) - if ($lastExitCode -ne "0") { throw "'git status' failed" } + if ($lastExitCode -ne 0) { throw "'git status' failed" } if ("$Result" -notmatch "nothing to commit, working tree clean") { throw "Branch is NOT clean: $Result" } "🍒 Cherry picking..." & git cherry-pick --no-commit "$CommitID" - if ($lastExitCode -ne "0") { throw "'git cherry-pick $CommitID' failed" } + if ($lastExitCode -ne 0) { throw "'git cherry-pick $CommitID' failed" } "🍒 Committing..." & git commit -m "$CommitMessage" - if ($lastExitCode -ne "0") { throw "'git commit' failed" } + if ($lastExitCode -ne 0) { throw "'git commit' failed" } "🍒 Pushing..." & git push - if ($lastExitCode -ne "0") { throw "'git push' failed" } + if ($lastExitCode -ne 0) { throw "'git push' failed" } } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✅ cherry picked $CommitID into $NumBranches branches in $Elapsed sec" @@ -78,4 +78,4 @@ try { } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 -} \ No newline at end of file +} diff --git a/scripts/publish-to-ipfs.ps1 b/scripts/publish-to-ipfs.ps1 index a5a735a31..2368991a5 100755 --- a/scripts/publish-to-ipfs.ps1 +++ b/scripts/publish-to-ipfs.ps1 @@ -26,7 +26,7 @@ try { Write-Host "⏳ (1/3) Searching for IPFS executable..." -NoNewline & ipfs --version - if ($lastExitCode -ne "0") { throw "Can't execute 'ipfs' - make sure IPFS is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'ipfs' - make sure IPFS is installed and available" } if (test-path "$FilePattern" -pathType container) { "⏳ (2/3) Publishing folder $FilePattern/..." diff --git a/scripts/pull-repo.ps1 b/scripts/pull-repo.ps1 index 550d440be..c5dba1636 100755 --- a/scripts/pull-repo.ps1 +++ b/scripts/pull-repo.ps1 @@ -25,7 +25,7 @@ try { Write-Host "⏳ (1/4) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2/4) Checking local repository... $pathToRepo" if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access folder: $pathToRepo" } @@ -35,14 +35,14 @@ try { Write-Host "⏳ (3/4) Pulling remote updates... " -noNewline & git -C "$pathToRepo" remote get-url origin - if ($lastExitCode -ne "0") { throw "'git remote get-url origin' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git remote get-url origin' failed with exit code $lastExitCode" } & git -C "$pathToRepo" pull --recurse-submodules=yes - if ($lastExitCode -ne "0") { throw "'git pull' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git pull' failed with exit code $lastExitCode" } Write-Host "⏳ (4/4) Updating submodules... " & git -C "$pathToRepo" submodule update --init --recursive - if ($lastExitCode -ne "0") { throw "'git submodule update' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Updates pulled into 📂$pathToRepoName repo in $($elapsed)s." @@ -50,4 +50,4 @@ try { } catch { "⚠️ Error: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" exit 1 -} \ No newline at end of file +} diff --git a/scripts/pull-repos.ps1 b/scripts/pull-repos.ps1 index a2f9003d1..4a233771b 100755 --- a/scripts/pull-repos.ps1 +++ b/scripts/pull-repos.ps1 @@ -24,7 +24,7 @@ try { Write-Host "⏳ (1) Searching for Git executable...`t`t" -NoNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2) Checking parent folder...`t`t" -NoNewline if (-not(Test-Path "$parentDir" -pathType container)) { throw "Can't access folder: $parentDir" } @@ -40,10 +40,10 @@ try { Write-Host "⏳ ($step/$($numFolders + 2)) Pulling into 📂$folderName...`t`t" -NoNewline & git -C "$folder" pull --recurse-submodules --jobs=4 - if ($lastExitCode -ne "0") { $failed++; write-warning "'git pull' in 📂$folderName failed" } + if ($lastExitCode -ne 0) { $failed++; write-warning "'git pull' in 📂$folderName failed" } & git -C "$folder" submodule update --init --recursive - if ($lastExitCode -ne "0") { throw "'git submodule update' in 📂$folder failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git submodule update' in 📂$folder failed with exit code $lastExitCode" } $step++ } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds diff --git a/scripts/remove-tag.ps1 b/scripts/remove-tag.ps1 index c01867483..f6c090c94 100755 --- a/scripts/remove-tag.ps1 +++ b/scripts/remove-tag.ps1 @@ -28,18 +28,18 @@ try { if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" } $Null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } if (($Mode -eq "locally") -or ($Mode -eq "both")) { "Removing local tag..." & git -C "$RepoDir" tag --delete $TagName - if ($lastExitCode -ne "0") { throw "'git tag --delete' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git tag --delete' failed with exit code $lastExitCode" } } if (($Mode -eq "remote") -or ($Mode -eq "both")) { "Removing remote tag..." & git -C "$RepoDir" push origin :refs/tags/$TagName - if ($lastExitCode -ne "0") { throw "'git push origin' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git push origin' failed with exit code $lastExitCode" } } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds diff --git a/scripts/search-repo.ps1 b/scripts/search-repo.ps1 index 9758d29a7..7b6ce5588 100755 --- a/scripts/search-repo.ps1 +++ b/scripts/search-repo.ps1 @@ -26,10 +26,10 @@ try { if (-not(Test-Path "$path" -pathType container)) { throw "Can't access Git repository at: $path" } $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } & git -C "$path" grep $textPattern - if ($lastExitCode -ne "0") { throw "'git grep' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git grep' failed with exit code $lastExitCode" } exit 0 # success } catch { diff --git a/scripts/start-ipfs-server.ps1 b/scripts/start-ipfs-server.ps1 index 3012c2f18..68b1dd0fb 100755 --- a/scripts/start-ipfs-server.ps1 +++ b/scripts/start-ipfs-server.ps1 @@ -16,33 +16,33 @@ try { Write-Host "⏳ (1/5) Searching for IPFS executable... " -noNewline & ipfs --version - if ($lastExitCode -ne "0") { throw "Can't execute 'ipfs' - make sure IPFS is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'ipfs' - make sure IPFS is installed and available" } "⏳ (2/5) Init IPFS with profile 'lowpower'..." & ipfs init --profile lowpower "⏳ (3/5) Configuring IPFS..." & ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001 - if ($lastExitCode -ne "0") { throw "'ipfs config Addresses.API' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'ipfs config Addresses.API' failed with exit code $lastExitCode" } & ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/8765 - if ($lastExitCode -ne "0") { throw "'ipfs config Addresses.Gateway' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'ipfs config Addresses.Gateway' failed with exit code $lastExitCode" } $Hostname = $(hostname) & ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '[\"http://miami:5001\", \"http://localhost:3000\", \"http://127.0.0.1:5001\", \"https://webui.ipfs.io\"]' - if ($lastExitCode -ne "0") { throw "'ipfs config Access-Control-Allow-Origin' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'ipfs config Access-Control-Allow-Origin' failed with exit code $lastExitCode" } & ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '[\"PUT\", \"POST\"]' - if ($lastExitCode -ne "0") { throw "'ipfs config Access-Control-Allow-Methods' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'ipfs config Access-Control-Allow-Methods' failed with exit code $lastExitCode" } & ipfs config --json AutoNAT.Throttle.GlobalLimit 1 # (30 by default) - if ($lastExitCode -ne "0") { throw "'ipfs config AutoNAT.Throttle.GlobalLimit 1' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'ipfs config AutoNAT.Throttle.GlobalLimit 1' failed with exit code $lastExitCode" } & ipfs config --json AutoNAT.Throttle.PeerLimit 1 # (3 by default) - if ($lastExitCode -ne "0") { throw "'ipfs config AutoNAT.Throttle.PeerLimit 1' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'ipfs config AutoNAT.Throttle.PeerLimit 1' failed with exit code $lastExitCode" } "" Write-Host "⏳ (4/5) Increasing UDP receive buffer size..." -noNewline & sudo sysctl -w net.core.rmem_max=2500000 - if ($lastExitCode -ne "0") { throw "'sysctl' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'sysctl' failed with exit code $lastExitCode" } "⏳ (5/5) Starting IPFS daemon..." # Start-Process nohup 'ipfs daemon' Start-Process nohup -ArgumentList 'ipfs','daemon' -RedirectStandardOutput "$HOME/console.out" -RedirectStandardError "$HOME/console.err" diff --git a/scripts/sync-repo.ps1 b/scripts/sync-repo.ps1 index 34e7e069d..84497fdf2 100755 --- a/scripts/sync-repo.ps1 +++ b/scripts/sync-repo.ps1 @@ -25,18 +25,18 @@ try { Write-Host "⏳ (1/4) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2/4) Checking local repository... $path" if (!(Test-Path "$path" -pathType container)) { throw "Can't access folder: $path" } Write-Host "⏳ (3/4) Pulling remote updates... " -noNewline & git -C "$path" pull --all --recurse-submodules - if ($lastExitCode -ne "0") { throw "'git pull --all --recurse-submodes' failed" } + if ($lastExitCode -ne 0) { throw "'git pull --all --recurse-submodes' failed" } Write-Host "⏳ (4/4) Pushing local updates... " -noNewline & git -C "$path" push - if ($lastExitCode -ne "0") { throw "'git push' failed" } + if ($lastExitCode -ne 0) { throw "'git push' failed" } $pathName = (Get-Item "$path").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds diff --git a/scripts/watch-commits.ps1 b/scripts/watch-commits.ps1 index 73c32d855..f5d98cacb 100755 --- a/scripts/watch-commits.ps1 +++ b/scripts/watch-commits.ps1 @@ -23,7 +23,7 @@ param([string]$pathToRepo = "$PWD", [int]$updateInterval = 60, [int]$speed = 10) try { Write-Progress "Searching for Git executable..." $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Progress "Checking local Git repository..." if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access directory: $pathToRepo" } @@ -36,10 +36,10 @@ try { $tzOffset = (Get-Timezone).BaseUtcOffset.TotalSeconds for (;;) { & git -C "$pathToRepo" fetch --all --recurse-submodules=no --jobs=1 --quiet - if ($lastExitCode -ne "0") { throw "'git fetch' failed" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed" } $line = (git -C "$pathToRepo" log origin --format=format:'%at %s by %an%d' --max-count=1) - if ($lastExitCode -ne "0") { throw "'git log origin' failed" } + if ($lastExitCode -ne 0) { throw "'git log origin' failed" } if ("$line" -eq "$prevLine") { Start-Sleep -seconds $updateInterval; continue } $unixTimestamp = [int64]$line.Substring(0,10) diff --git a/scripts/write-changelog.ps1 b/scripts/write-changelog.ps1 index 7e2e7f41c..7e5469d1a 100755 --- a/scripts/write-changelog.ps1 +++ b/scripts/write-changelog.ps1 @@ -25,7 +25,7 @@ try { Write-Progress "(1/6) Searching for Git executable..." $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Progress "(2/6) Checking local repository..." if (!(Test-Path "$RepoDir" -pathType container)) { throw "Can't access folder: $RepoDir" } @@ -33,7 +33,7 @@ try { Write-Progress "(3/6) Fetching the latest commits..." & git -C "$RepoDir" fetch --all --force --quiet - if ($lastExitCode -ne "0") { throw "'git fetch --all' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch --all' failed with exit code $lastExitCode" } Write-Progress "(4/6) Listing all Git commit messages..." $commits = (git -C "$RepoDir" log --boundary --pretty=oneline --pretty=format:%s | sort -u) From 72b8c58768d2ed9f7653460d95bbe5867dc45984 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 26 Feb 2025 15:26:32 +0100 Subject: [PATCH 196/737] Updated new-junction.ps1 --- scripts/new-junction.ps1 | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/scripts/new-junction.ps1 b/scripts/new-junction.ps1 index 0bacc7f53..172625293 100755 --- a/scripts/new-junction.ps1 +++ b/scripts/new-junction.ps1 @@ -2,30 +2,30 @@ .SYNOPSIS Create a junction .DESCRIPTION - This PowerShell script creates a new junction, linking to a target. + This PowerShell script creates a new junction, linking to a target folder. The target folder can reside on another disk. .PARAMETER junction - Specifies the file path to the new junction -.PARAMETER target - Specifies the file path to the target + Specifies the path and filename of the new junction +.PARAMETER targetDir + Specifies the path to the target directory .EXAMPLE - PS> ./new-junction.ps1 D:\Win10 C:\Windows - ✅ Created new junction 'D:\Windows' linking to: C:\Windows + PS> ./new-junction.ps1 C:\User\Joe\D_drive D: + ✅ Created a new junction 'C:\User\Joe\D_drive', linking to 📂D: .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$junction = "", [string]$target = "") +param([string]$junction = "", [string]$targetDir = "") try { - if ($junction -eq "" ) { $symlink = Read-Host "Enter new junction filename" } - if ($target -eq "" ) { $target = Read-Host "Enter path to target" } + if ($junction -eq "" ) { $symlink = Read-Host "Enter path and filename of the new junction" } + if ($targetDir -eq "" ) { $target = Read-Host "Enter the path to the target directory" } - New-Item -path "$symlink" -itemType Junction -value "$target" + New-Item -path "$symlink" -itemType Junction -value "$targetDir" if ($lastExitCode -ne 0) { throw "Command 'New-Item' has failed" } - "✅ Created new junction '$symlink' linking to: $target" + "✅ Created a new junction '$symlink', linking to 📂$targetDir" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 5390e1fa7056b1238c4400517353dfffe0121282 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 26 Feb 2025 17:30:18 +0100 Subject: [PATCH 197/737] Updated check-pending-reboot.ps1 --- scripts/check-pending-reboot.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/check-pending-reboot.ps1 b/scripts/check-pending-reboot.ps1 index df69dd0b8..7b588388c 100755 --- a/scripts/check-pending-reboot.ps1 +++ b/scripts/check-pending-reboot.ps1 @@ -5,7 +5,7 @@ This PowerShell script queries pending operating system reboots and prints it. .EXAMPLE ./check-pending-reboot.ps1 - ✅ No pending reboot + ✅ No pending reboot. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,7 +22,7 @@ function Test-RegistryValue { param([parameter(Mandatory=$true)][ValidateNotNull } try { - $reply = "✅ No pending reboot" + [string]$reply = "✅ No pending reboot." if ($IsLinux) { if (Test-Path "/var/run/reboot-required") { $reply = "⚠️ Pending reboot (found: /var/run/reboot-required)" @@ -60,7 +60,7 @@ try { $reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'" } if ($reason -ne "") { - $reply = "⚠️ Pending reboot (registry got $($reason.substring(2)))" + $reply = "⚠️ Pending reboot (found: $($reason.substring(2)) in registry)" } } Write-Host $reply From a0f0ed7814e7d2b48ba4909eac3ca59ea78bfe81 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 26 Feb 2025 20:44:10 +0100 Subject: [PATCH 198/737] Improved check-power.ps1 and install-updates.ps1 --- scripts/check-power.ps1 | 2 +- scripts/install-updates.ps1 | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/scripts/check-power.ps1 b/scripts/check-power.ps1 index 714e16615..4d3868242 100755 --- a/scripts/check-power.ps1 +++ b/scripts/check-power.ps1 @@ -29,7 +29,7 @@ try { } elseif ($percent -ge 95) { $reply = "✅ Battery full ($percent%, power scheme is '$powerScheme')" } else { - $reply = "✅ Battery charging ($percent%, power scheme is '$powerScheme')" + $reply = "✅ Battery $percent% and charging (power scheme is '$powerScheme')" } } else { # must be offline if (($remaining -eq 0) -and ($percent -ge 60)) { diff --git a/scripts/install-updates.ps1 b/scripts/install-updates.ps1 index 4d5b8f613..705ecd9c0 100755 --- a/scripts/install-updates.ps1 +++ b/scripts/install-updates.ps1 @@ -55,10 +55,20 @@ try { & "$PSScriptRoot/check-pending-reboot.ps1" Start-Sleep -seconds 3 "" - "⏳ (2/2) Installing updates from winget..." + "⏳ (2/4) Updating Windows Store apps..." + if (Get-Command winget -ErrorAction SilentlyContinue) { + & winget upgrade --all --source=msstore --include-unknown + } "" - & winget upgrade --all --source=winget - # & winget upgrade --all --source=msstore # does not work + "⏳ (3/4) Updating Chocolatey packages..." + if (Get-Command choco -ErrorAction SilentlyContinue) { + & choco upgrade all -y + } + "" + "⏳ (4/4) Updating Winget packages..." + if (Get-Command winget -ErrorAction SilentlyContinue) { + & winget upgrade --all --source=winget --include-unknown + } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Updates installed in $($elapsed)s." From 9c2bcc5861e974b65c66ee8b5f8f1e2e25fa4174 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 26 Feb 2025 20:49:04 +0100 Subject: [PATCH 199/737] Updated check-swap-space.ps1 --- scripts/check-swap-space.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/check-swap-space.ps1 b/scripts/check-swap-space.ps1 index 64b72b58a..597b79263 100755 --- a/scripts/check-swap-space.ps1 +++ b/scripts/check-swap-space.ps1 @@ -46,16 +46,16 @@ try { [int64]$free = ($total - $used) } if ($total -eq 0) { - Write-Output "⚠️ No swap space configured" + Write-Output "⚠️ No swap space configured." } elseif ($free -eq 0) { - Write-Output "⚠️ Swap space with $(MB2String $total) is FULL !!!" + Write-Output "⚠️ Swap space of $(MB2String $total) is FULL!" } elseif ($free -lt $minLevel) { Write-Output "⚠️ Swap space has only $(MB2String $free) of $(MB2String $total) left!" } elseif ($used -lt 3) { - Write-Output "✅ Swap space has $(MB2String $total) reserved" + Write-Output "✅ Swap space has $(MB2String $total) reserved." } else { [int64]$percent = ($used * 100) / $total - Write-Output "✅ Swap space uses $(MB2String $used) ($percent%) of $(MB2String $total)" + Write-Output "✅ Swap space at $(MB2String $used) ($percent%) of $(MB2String $total)." } exit 0 # success } catch { From a89353b35f5c472f29e4fd970050d1b1e55d5df4 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 28 Feb 2025 14:58:42 +0100 Subject: [PATCH 200/737] Updated install-calibre-server.ps1 --- scripts/install-calibre-server.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install-calibre-server.ps1 b/scripts/install-calibre-server.ps1 index 6fe0255a3..e7c78a420 100755 --- a/scripts/install-calibre-server.ps1 +++ b/scripts/install-calibre-server.ps1 @@ -49,8 +49,8 @@ try { & sudo calibre-server --port $port --num-per-page 100 --userdb $userDB --log $logfile --daemonize $mediaFolder [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Installed and started Calibre server on port $port in $($elapsed)s." - " (media at: $mediaFolder, user DB: $userDB, logging to: $logfile)" + "✅ Calibre server installed in $($elapsed)s." + " (URL=http://$(hostname):$port media=$mediaFolder userDB=$userDB log=$logfile)." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From d07a4e21bb1dafe50a8b4051883b4b6118f5d821 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 1 Mar 2025 12:22:56 +0100 Subject: [PATCH 201/737] Updated pull-repos.ps1 --- scripts/pull-repos.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pull-repos.ps1 b/scripts/pull-repos.ps1 index 4a233771b..8cb3f2e99 100755 --- a/scripts/pull-repos.ps1 +++ b/scripts/pull-repos.ps1 @@ -48,10 +48,10 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($failed -eq 0) { - "✅ Pulled into $numFolders repos at 📂$parentDir in $($elapsed)s." + "✅ Updated $numFolders Git repositories at 📂$parentDir in $($elapsed)s." exit 0 # success } else { - "⚠️ Pulled into $numFolders repos at 📂$parentDir in $($elapsed)s but $failed failed!" + "⚠️⚠️Updated $numFolders Git repositories at 📂$parentDir in $($elapsed)s but $failed failed!" exit 1 } } catch { From 357d02168549f388ec1b9cbb86ddb522d360cc02 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 1 Mar 2025 12:29:00 +0100 Subject: [PATCH 202/737] Updated pull-repos.ps1 --- scripts/pull-repos.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pull-repos.ps1 b/scripts/pull-repos.ps1 index 8cb3f2e99..87d1e2b0b 100755 --- a/scripts/pull-repos.ps1 +++ b/scripts/pull-repos.ps1 @@ -51,7 +51,7 @@ try { "✅ Updated $numFolders Git repositories at 📂$parentDir in $($elapsed)s." exit 0 # success } else { - "⚠️⚠️Updated $numFolders Git repositories at 📂$parentDir in $($elapsed)s but $failed failed!" + "⚠️ Updated $numFolders Git repositories at 📂$parentDir in $($elapsed)s but $failed failed!" exit 1 } } catch { From d760076d39b63e5bbaee137325839cc994d9f9ab Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 3 Mar 2025 14:59:38 +0100 Subject: [PATCH 203/737] Updated build-repo.ps1 and cd-repo.ps1 --- scripts/build-repo.ps1 | 48 ++++++++++++++++++++++++------------------ scripts/cd-repo.ps1 | 4 ++-- 2 files changed, 29 insertions(+), 23 deletions(-) diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index f36572326..df9568762 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -1,15 +1,15 @@ <# .SYNOPSIS - Builds a repository + Builds a repo .DESCRIPTION - This PowerShell script builds a Git repository by supporting build systems such as: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson. + This PowerShell script builds a Git repository by supporting the build systems: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson. .PARAMETER path - Specifies the path to the Git repository (default is current working directory) + Specifies the path to the Git repository (current working directory by default) .EXAMPLE PS> ./build-repo.ps1 C:\Repos\ninja - ⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results... + ⏳ Building 📂ninja by using CMake... ... - ✅ Built 📂ninja repository in 47 sec. + ✅ Repo 📂ninja built successfully in 47s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,10 +18,11 @@ param([string]$path = "$PWD") -function BuildInDir([string]$path) { +function BuildFolder([string]$path) { $dirName = (Get-Item "$path").Name if (Test-Path "$path/CMakeLists.txt" -pathType leaf) { - "⏳ (1/4) Building 📂$dirName by using CMake into 📂$dirName/_Build_Results..." + "⏳ (1/4) Building 📂$dirName by using CMake..." + $global:results = "$path/_Build_Results" if (-not(Test-Path "$path/_Build_Results/" -pathType container)) { & mkdir "$path/_Build_Results/" } @@ -38,9 +39,8 @@ function BuildInDir([string]$path) { "⏳ (4/4) Executing 'ctest -V' to perform tests (optional)..." & ctest -V if ($lastExitCode -ne 0) { throw "Executing 'ctest -V' exited with error code $lastExitCode" } - } elseif (Test-Path "$path/autogen.sh" -pathType leaf) { - "⏳ Building 📂$dirName by using 'autogen.sh'..." + "⏳ Building 📂$dirName by executing 'autogen.sh'..." Set-Location "$path/" & ./autogen.sh --force @@ -52,9 +52,8 @@ function BuildInDir([string]$path) { & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' exited with error code $lastExitCode" } - } elseif (Test-Path "$path/configure" -pathType leaf) { - "⏳ Building 📂$dirName by using 'configure'..." + "⏳ Building 📂$dirName by executing './configure' and 'make'..." Set-Location "$path/" & ./configure @@ -107,7 +106,7 @@ function BuildInDir([string]$path) { if ($lastExitCode -ne 0) { throw "Executing 'make -j4' has failed" } } elseif (Test-Path "$path/compile.sh" -pathType leaf) { - "⏳ Building 📂$dirName by using 'compile.sh'..." + "⏳ Building 📂$dirName by executing 'compile.sh'..." Set-Location "$path/" & ./compile.sh @@ -117,15 +116,16 @@ function BuildInDir([string]$path) { if ($lastExitCode -ne 0) { throw "Executing 'make -j4' has failed" } } elseif (Test-Path "$path/attower/src/build/DevBuild/build.bat" -pathType leaf) { - "⏳ Building 📂$dirName by using build.bat ..." - Set-Location "$path/attower/src/build/DevBuild/" - & ./build.bat build-all-release - if ($lastExitCode -ne 0) { throw "Executing 'build.bat build-all-release' exited with error code $lastExitCode" } + Write-Host "⏳ Building 📂$dirName by executing 'build.bat'..." + Set-Location "$path/attower/src/build/DevBuild/" + & ./build.bat build-core-release + if ($lastExitCode -ne 0) { throw "Executing 'build.bat' exited with error code $lastExitCode" } + $global:results = "$path\attower\Executables\" } elseif (Test-Path "$path/$dirName" -pathType container) { "⏳ No make rule found, trying subfolder 📂$($dirName)..." - BuildInDir "$path/$dirName" + BuildFolder "$path/$dirName" } else { Write-Warning "Sorry, no make rule applies to: 📂$dirName" exit 0 # success @@ -134,18 +134,24 @@ function BuildInDir([string]$path) { try { $stopWatch = [system.diagnostics.stopwatch]::startNew() + $previousPath = Get-Location - if (-not(Test-Path "$path" -pathType container)) { throw "Can't access directory: $path" } + if (-not(Test-Path "$path" -pathType container)) { throw "The file path '$path' doesn't exist (yet)" } - $previousPath = Get-Location - BuildInDir "$path" + $global:results = "" + BuildFolder "$path" Set-Location "$previousPath" $repoDirName = (Get-Item "$path").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Built 📂$repoDirName repository in $elapsed sec." + if ($global:results -eq "") { + "✅ Repo 📂$repoDirName built successfully in $($elapsed)s." + } else { + "✅ Repo 📂$repoDirName built successfully in $($elapsed)s, results at: 📂$($global:results)" + } exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + Set-Location "$previousPath" exit 1 } diff --git a/scripts/cd-repo.ps1 b/scripts/cd-repo.ps1 index 83c9dd7e8..6802935a4 100755 --- a/scripts/cd-repo.ps1 +++ b/scripts/cd-repo.ps1 @@ -17,7 +17,7 @@ param([string]$folderName = "") try { - if ("$folderName" -eq "") { $folderName = Read-Host "Enter the Git repository's folder name" } + if ("$folderName" -eq "") { $folderName = Read-Host "Enter the folder name of the Git repository" } if (Test-Path "~/Repos" -pathType container) { $path = "~/Repos" } elseif (Test-Path "~/repos" -pathType container) { $path = "~/repos" @@ -33,7 +33,7 @@ try { throw "No Git repositories folder in your home directory or in the root folder yet" } $path += "/" + $folderName - if (-not(Test-Path "$path" -pathType container)) { throw "The path to 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { throw "The file path '$path' doesn't exist (yet)" } $path = Resolve-Path "$path" Set-Location "$path" From 49e594032f453f3302fc8e84e228f64faa0ce4ab Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 3 Mar 2025 19:59:11 +0100 Subject: [PATCH 204/737] Updated pull-repos.ps1 --- scripts/pull-repos.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pull-repos.ps1 b/scripts/pull-repos.ps1 index 87d1e2b0b..fba04267e 100755 --- a/scripts/pull-repos.ps1 +++ b/scripts/pull-repos.ps1 @@ -48,10 +48,10 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($failed -eq 0) { - "✅ Updated $numFolders Git repositories at 📂$parentDir in $($elapsed)s." + "✅ $numFolders Git repositories updated at 📂$parentDir in $($elapsed)s." exit 0 # success } else { - "⚠️ Updated $numFolders Git repositories at 📂$parentDir in $($elapsed)s but $failed failed!" + "⚠️ $numFolders Git repositories updated at 📂$parentDir in $($elapsed)s but $failed failed!" exit 1 } } catch { From 763c6d21080115267a8535a95263958b4e1359a4 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 3 Mar 2025 20:06:26 +0100 Subject: [PATCH 205/737] Updated check-power.ps1 --- scripts/check-power.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/check-power.ps1 b/scripts/check-power.ps1 index 4d3868242..2e6211144 100755 --- a/scripts/check-power.ps1 +++ b/scripts/check-power.ps1 @@ -26,8 +26,8 @@ try { if ($details.PowerLineStatus -eq "Online") { if ($details.BatteryChargeStatus -eq "NoSystemBattery") { $reply = "✅ AC powered" - } elseif ($percent -ge 95) { - $reply = "✅ Battery full ($percent%, power scheme is '$powerScheme')" + } elseif ($percent -ge 90) { + $reply = "✅ Battery $percent% full (power scheme is '$powerScheme')" } else { $reply = "✅ Battery $percent% and charging (power scheme is '$powerScheme')" } @@ -43,7 +43,7 @@ try { } elseif ($percent -lt 10) { $reply = "⚠️ Battery $percent% only with $($remaining)min remaining (power scheme is '$powerScheme') " } elseif ($percent -ge 90) { - $reply = "✅ Battery full ($percent%, $($remaining)min remaining, power scheme is '$powerScheme')" + $reply = "✅ Battery $percent% full ($($remaining)min remaining, power scheme is '$powerScheme')" } else { $reply = "✅ Battery $percent% with $($remaining)min remaining (power scheme is '$powerScheme') " } From 44806675e27342f3aabc29839adedc7cd0bf7716 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 3 Mar 2025 20:43:38 +0100 Subject: [PATCH 206/737] Updated build-repo.ps1 --- scripts/build-repo.ps1 | 50 +++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index df9568762..b87e44a4a 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -22,35 +22,35 @@ function BuildFolder([string]$path) { $dirName = (Get-Item "$path").Name if (Test-Path "$path/CMakeLists.txt" -pathType leaf) { "⏳ (1/4) Building 📂$dirName by using CMake..." - $global:results = "$path/_Build_Results" - if (-not(Test-Path "$path/_Build_Results/" -pathType container)) { - & mkdir "$path/_Build_Results/" + $global:results = "$path/_build_results/" + if (-not(Test-Path $global:results -pathType container)) { + & mkdir $global:results } - Set-Location "$path/_Build_Results/" + Set-Location $global:results "⏳ (2/4) Executing 'cmake' to generate the Makefile..." & cmake .. - if ($lastExitCode -ne 0) { throw "Executing 'cmake ..' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'cmake ..' failed with exit code $lastExitCode" } "⏳ (3/4) Executing 'make -j4' to compile and link..." & make -j4 - if ($lastExitCode -ne 0) { throw "Executing 'make -j4' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } - "⏳ (4/4) Executing 'ctest -V' to perform tests (optional)..." + "⏳ (4/4) Executing 'ctest -V'... (if tests are provided)" & ctest -V - if ($lastExitCode -ne 0) { throw "Executing 'ctest -V' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'ctest -V' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/autogen.sh" -pathType leaf) { "⏳ Building 📂$dirName by executing 'autogen.sh'..." Set-Location "$path/" - & ./autogen.sh --force - if ($lastExitCode -ne 0) { throw "Executing './autogen.sh --force' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing './autogen.sh --force' failed with exit code $lastExitCode" } + "⏳ Executing './configure'..." & ./configure - if ($lastExitCode -ne 0) { throw "Executing './configure' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing './configure' failed with exit code $lastExitCode" } & make -j4 - if ($lastExitCode -ne 0) { throw "Executing 'make -j4' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/configure" -pathType leaf) { "⏳ Building 📂$dirName by executing './configure' and 'make'..." @@ -60,67 +60,67 @@ function BuildFolder([string]$path) { #if ($lastExitCode -ne 0) { throw "Executing './configure' exited with error code $lastExitCode" } & make -j4 - if ($lastExitCode -ne 0) { throw "Executing 'make -j4' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } & make test - if ($lastExitCode -ne 0) { throw "Executing 'make test' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make test' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/build.gradle" -pathType leaf) { "⏳ Building 📂$dirName by using Gradle..." Set-Location "$path" & gradle build - if ($lastExitCode -ne 0) { throw "Executing 'gradle build' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'gradle build' failed with exit code $lastExitCode" } & gradle test - if ($lastExitCode -ne 0) { throw "Executing 'gradle test' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'gradle test' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/meson.build" -pathType leaf) { "⏳ Building 📂$dirName by using Meson..." Set-Location "$path" & meson . build --prefix=/usr/local - if ($lastExitCode -ne 0) { throw "Executing 'meson . build' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'meson . build' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/Imakefile" -pathType leaf) { "⏳ Building 📂$dirName by using Imakefile..." Set-Location "$path/" & xmkmf - if ($lastExitCode -ne 0) { throw "Executing 'xmkmf' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'xmkmf' failed with exit code $lastExitCode" } & make -j4 - if ($lastExitCode -ne 0) { throw "Executing 'make -j4' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/Makefile" -pathType leaf) { "⏳ Building 📂$dirName by using Makefile..." Set-Location "$path" & make -j4 - if ($lastExitCode -ne 0) { throw "Executing 'make -j4' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/makefile" -pathType leaf) { "⏳ Building 📂$dirName by using makefile..." Set-Location "$path" & make -j4 - if ($lastExitCode -ne 0) { throw "Executing 'make -j4' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/compile.sh" -pathType leaf) { "⏳ Building 📂$dirName by executing 'compile.sh'..." Set-Location "$path/" & ./compile.sh - if ($lastExitCode -ne 0) { throw "Executing './compile.sh' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing './compile.sh' failed with exit code $lastExitCode" } & make -j4 - if ($lastExitCode -ne 0) { throw "Executing 'make -j4' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/attower/src/build/DevBuild/build.bat" -pathType leaf) { Write-Host "⏳ Building 📂$dirName by executing 'build.bat'..." Set-Location "$path/attower/src/build/DevBuild/" & ./build.bat build-core-release - if ($lastExitCode -ne 0) { throw "Executing 'build.bat' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'build.bat' failed with exit code $lastExitCode" } $global:results = "$path\attower\Executables\" } elseif (Test-Path "$path/$dirName" -pathType container) { @@ -147,7 +147,7 @@ try { if ($global:results -eq "") { "✅ Repo 📂$repoDirName built successfully in $($elapsed)s." } else { - "✅ Repo 📂$repoDirName built successfully in $($elapsed)s, results at: 📂$($global:results)" + "✅ Repo 📂$repoDirName built successfully in $($elapsed)s, results in: 📂$($global:results)" } exit 0 # success } catch { From db7869073ba78cd9c9ad72bca8fbfcf7e17d69ec Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 4 Mar 2025 13:51:17 +0100 Subject: [PATCH 207/737] Updated computing.csv --- data/dicts/computing.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/dicts/computing.csv b/data/dicts/computing.csv index a0c84b053..d5eee8786 100644 --- a/data/dicts/computing.csv +++ b/data/dicts/computing.csv @@ -1778,6 +1778,7 @@ MVMC,Microsoft Virtual Machine Converter MVNO,mobile virtual network operator MVP,Microsoft Most Valuable Professional MVS,Multiple Virtual Storage +MVC,Mobile World Congress (in Barcelona) NaaS,network-as-a-service NAC,network access control NACHA,National Automated Clearing House Association From a5c2ef51b7c37e179236e52f1307a0d0d7a50a73 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 5 Mar 2025 10:49:17 +0100 Subject: [PATCH 208/737] Updated some abbreviations --- data/dicts/general.csv | 1 - data/dicts/military.csv | 1 - data/dicts/organizations.csv | 7 ++++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/data/dicts/general.csv b/data/dicts/general.csv index 1ab65bf1a..79b7274cc 100644 --- a/data/dicts/general.csv +++ b/data/dicts/general.csv @@ -1508,7 +1508,6 @@ FCM,Federation of Canadian Municipalities,Fogarty's Cove Music FCO,UK Foreign and Commonwealth Office FCW,Florida Championship Wrestling FD,Falun Dafa -FDA,Food and Drug Administration (U.S.) FDBK,(I) Feedback FDC,Federal Detention Center (U.S.),Fire Direction Centre FDR,Flight Data Recorder,Franklin Delano Roosevelt diff --git a/data/dicts/military.csv b/data/dicts/military.csv index ca1ece027..dbb06615f 100644 --- a/data/dicts/military.csv +++ b/data/dicts/military.csv @@ -263,7 +263,6 @@ FAV,Fast Attack Vehicle FBW,Fly-by-Wire FCC,Family Child Care FCS,Fire Control System -FDA,U.S. Food and Drug Administration FDO,Flight Deck Officer FEBA,Forward Edge of the Battle Area FEBA,Foward Edge of Battle Area diff --git a/data/dicts/organizations.csv b/data/dicts/organizations.csv index 129455a37..006c3d31d 100644 --- a/data/dicts/organizations.csv +++ b/data/dicts/organizations.csv @@ -9,8 +9,8 @@ AIIB,Asian Infrastructure Investment Bank APEC,Asia-Pacific Economic Cooperation ASEAN,Association of South East Nations AT&T,American Telephone and Telegraph Company -ATF,"U.S. Alcohol, Tobacco, Firearms and Explosives Bureau" -BMW, Bavarian Motor Works +ATF,"Alcohol, Tobacco, Firearms and Explosives Bureau (USA)" +BMW,Bavarian Motor Works BND,Bundesnachrichtendienst (Germany) BVD, Bradley, Voorhees, and Day CERN,European Organization for Nuclear Research @@ -35,7 +35,8 @@ ED,U.S. Department of Education ESA,European Space Agency ESPN, Entertainment and Sports Programming Network FAO,Food and Agriculture Organization -FBI,U.S. Federal Bureau of Investigation +FBI,Federal Bureau of Investigation (USA) +FDA,Food and Drug Administration (USA) FIFA,Fédération Internationale de Football Association GEICO, Government Employees Insurance Company H&M, Hennes and Mauritz From e936628a1bb6e348f096644ff5583c9b11c67790 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 7 Mar 2025 07:32:28 +0100 Subject: [PATCH 209/737] Updated build-repo.ps1 --- scripts/build-repo.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index b87e44a4a..097ef0016 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -9,7 +9,7 @@ PS> ./build-repo.ps1 C:\Repos\ninja ⏳ Building 📂ninja by using CMake... ... - ✅ Repo 📂ninja built successfully in 47s. + ✅ Build of 📂ninja succeeded in 47s, results in: 📂C:\Repos\ninja\_results .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,7 +22,7 @@ function BuildFolder([string]$path) { $dirName = (Get-Item "$path").Name if (Test-Path "$path/CMakeLists.txt" -pathType leaf) { "⏳ (1/4) Building 📂$dirName by using CMake..." - $global:results = "$path/_build_results/" + $global:results = "$path/_results/" if (-not(Test-Path $global:results -pathType container)) { & mkdir $global:results } @@ -121,7 +121,7 @@ function BuildFolder([string]$path) { Set-Location "$path/attower/src/build/DevBuild/" & ./build.bat build-core-release if ($lastExitCode -ne 0) { throw "Executing 'build.bat' failed with exit code $lastExitCode" } - $global:results = "$path\attower\Executables\" + $global:results = "$path\attower\Executables" } elseif (Test-Path "$path/$dirName" -pathType container) { "⏳ No make rule found, trying subfolder 📂$($dirName)..." @@ -145,9 +145,9 @@ try { $repoDirName = (Get-Item "$path").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($global:results -eq "") { - "✅ Repo 📂$repoDirName built successfully in $($elapsed)s." + "✅ Build of 📂$repoDirName succeeded in $($elapsed)s." } else { - "✅ Repo 📂$repoDirName built successfully in $($elapsed)s, results in: 📂$($global:results)" + "✅ Build of 📂$repoDirName succeeded in $($elapsed)s, results in: 📂$($global:results)" } exit 0 # success } catch { From 2d7714c242eecd47a69224c3247251b8999fe7f6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 7 Mar 2025 07:36:16 +0100 Subject: [PATCH 210/737] Updated fetch-repos.ps1 and pull-repos.ps1 --- scripts/fetch-repos.ps1 | 2 +- scripts/pull-repos.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/fetch-repos.ps1 b/scripts/fetch-repos.ps1 index da71c71ce..18cb13a6f 100755 --- a/scripts/fetch-repos.ps1 +++ b/scripts/fetch-repos.ps1 @@ -44,7 +44,7 @@ try { $step++ } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Fetched into $numFolders repos at 📂$parentDirPath in $($elapsed)s." + "✅ Fetched updates into $numFolders Git repositories at 📂$parentDirPath in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/pull-repos.ps1 b/scripts/pull-repos.ps1 index fba04267e..355583774 100755 --- a/scripts/pull-repos.ps1 +++ b/scripts/pull-repos.ps1 @@ -48,10 +48,10 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($failed -eq 0) { - "✅ $numFolders Git repositories updated at 📂$parentDir in $($elapsed)s." + "✅ $numFolders Git repositories at 📂$parentDir updated in $($elapsed)s." exit 0 # success } else { - "⚠️ $numFolders Git repositories updated at 📂$parentDir in $($elapsed)s but $failed failed!" + "⚠️ $numFolders Git repositories at 📂$parentDir updated in $($elapsed)s but $failed failed!" exit 1 } } catch { From ef6d75f1ef99fa9d74fb2da9c9676ccbcb442a89 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 8 Mar 2025 11:22:19 +0100 Subject: [PATCH 211/737] Updated pull-repos.ps1 --- scripts/pull-repos.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/pull-repos.ps1 b/scripts/pull-repos.ps1 index 355583774..147bed512 100755 --- a/scripts/pull-repos.ps1 +++ b/scripts/pull-repos.ps1 @@ -34,24 +34,24 @@ try { Write-Host "$numFolders subfolders" [int]$step = 3 - [int]$failed = 0 + [int]$numFailed = 0 foreach ($folder in $folders) { $folderName = (Get-Item "$folder").Name Write-Host "⏳ ($step/$($numFolders + 2)) Pulling into 📂$folderName...`t`t" -NoNewline & git -C "$folder" pull --recurse-submodules --jobs=4 - if ($lastExitCode -ne 0) { $failed++; write-warning "'git pull' in 📂$folderName failed" } + if ($lastExitCode -ne 0) { $numFailed++; Write-Warning "'git pull' in 📂$folderName failed" } & git -C "$folder" submodule update --init --recursive - if ($lastExitCode -ne 0) { throw "'git submodule update' in 📂$folder failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { $numFailed++; Write-Warning "'git submodule update' in 📂$folderName failed with exit code $lastExitCode" } $step++ } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - if ($failed -eq 0) { - "✅ $numFolders Git repositories at 📂$parentDir updated in $($elapsed)s." + if ($numFailed -eq 0) { + "✅ Update of $numFolders Git repos at 📂$parentDir succeeded in $($elapsed)s." exit 0 # success } else { - "⚠️ $numFolders Git repositories at 📂$parentDir updated in $($elapsed)s but $failed failed!" + "⚠️ Updated $numFolders Git repos at 📂$parentDir in $($elapsed)s but $numFailed failed!" exit 1 } } catch { From 2f133c63d94c10016e0583dc9c128234091652e0 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 9 Mar 2025 10:15:35 +0100 Subject: [PATCH 212/737] Replaced Google by Qwant --- scripts/what-is.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/what-is.ps1 b/scripts/what-is.ps1 index d116430f2..8d223ab68 100755 --- a/scripts/what-is.ps1 +++ b/scripts/what-is.ps1 @@ -30,8 +30,8 @@ try { } } if ($basename -eq "") { - Write-Host "🤷‍ Sorry, '$term' is unknown to me. Ctrl + click here to google it: " -noNewline - Write-Host "https://www.google.com/search?q=what+is+$term" -foregroundColor blue + Write-Host "🤷‍ Sorry, '$term' is new to me. Let's search it at: " -noNewline + Write-Host "https://www.qwant.com/?q=what+is+$term" -foregroundColor blue } exit 0 # success } catch { From 32296612333342646af4f1df50e1ea154634f951 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 9 Mar 2025 10:34:22 +0100 Subject: [PATCH 213/737] Added 'hx' (Helix editor) --- scripts/list-cli-tools.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index 7fa1c90b9..ae9b7da83 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -198,6 +198,7 @@ function List-CLI-Tools { ListTool hostid "--version" ListTool hostname "" ListTool htop "--version" + ListTool hx "--version" # Helix editor ListTool icacls "--version" ListTool iconv "--version" ListTool id "--version" From 107c95797f59c670880b2b389f0b526d8c8db1bc Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 9 Mar 2025 10:52:31 +0100 Subject: [PATCH 214/737] Added support for Helix --- scripts/edit.ps1 | 49 ++++++++++++++++++++---------------------------- 1 file changed, 20 insertions(+), 29 deletions(-) diff --git a/scripts/edit.ps1 b/scripts/edit.ps1 index fa7d9f8da..d605189f8 100755 --- a/scripts/edit.ps1 +++ b/scripts/edit.ps1 @@ -2,9 +2,10 @@ .SYNOPSIS Opens a text editor .DESCRIPTION - This PowerShell script opens a text editor with the given text file. + This PowerShell script opens the installed text editor with the given text file. + Supported are: Emacs, Helix, pico, nano, neovim, Notepad, vi, vim, and Wordpad. .PARAMETER path - Specifies the path to the text file (will be queried if none given) + Specifies the path to the text file (default is to query the user to specify it) .EXAMPLE PS> ./edit.ps1 C:\MyDiary.txt .LINK @@ -17,35 +18,25 @@ param([string]$path = "") function TryEditor { param([string]$editor, [string]$path) try { - Write-Host "$editor.." -noNewline + Write-Host "$editor..." -noNewline & $editor "$path" - if ($lastExitCode -ne 0) { - "⚠️ Can't execute '$editor' - make sure it's installed and available" - exit 1 - } + if ($lastExitCode -ne 0) { "⚠️ Can't execute '$editor' - make sure it's installed and available"; exit 1 } exit 0 # success - } catch { - return - } + } catch { return } } -try { - if ($path -eq "" ) { $path = Read-Host "Enter the path to the text file" } +if ($path -eq "" ) { $path = Read-Host "Enter the path to the text file" } +Write-Host "Trying to open '$path' by " -noNewline +TryEditor "neovim" $path +TryEditor "vim" $path +TryEditor "vi" $path +TryEditor "nano" $path +TryEditor "pico" $path +TryEditor "hx" $path +TryEditor "emacs" $path +TryEditor "notepad.exe" $path +TryEditor "wordpad.exe" $path +Write-Host "" - Write-Host "Searching for " -noNewline - TryEditor "neovim" $path - TryEditor "vim" $path - TryEditor "vi" $path - TryEditor "nano" $path - TryEditor "pico" $path - TryEditor "emacs" $path - TryEditor "notepad.exe" $path - TryEditor "wordpad.exe" $path - Write-Host "" - - throw "No text editor found - use 'winget install' to install your favorite text editor." - exit 0 # success -} catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" - exit 1 -} +"⚠️ Sorry, no text editor found. Please install your favorite one (e.g. by executing 'winget install helix.helix')." +exit 1 \ No newline at end of file From 8928a3bce4d4fdb6cd89cc91ef9ed2f8ee59d0db Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 9 Mar 2025 11:04:43 +0100 Subject: [PATCH 215/737] Added Helix to basic-apps.csv --- data/basic-apps.csv | 1 + scripts/edit.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/basic-apps.csv b/data/basic-apps.csv index 47cce77c1..d2adb1e90 100644 --- a/data/basic-apps.csv +++ b/data/basic-apps.csv @@ -10,6 +10,7 @@ APPLICATION, CATEGORY, APPID, "Google Chrome", "web browser", "Google.Chrome", "Greenshot", "screenshot utility", "9N8Z6RQX8LV8", "grepWin", "search tool", "StefansTools.grepWin", +"Helix", "text editor", "helix.helix", "inSSIDer", "Wifi tool", "MetaGeek.inSSIDer", "IrfanView", "image viewer", "9PJZ3BTL5PV6", "KDiff3", "file compare tool", "KDE.KDiff3", diff --git a/scripts/edit.ps1 b/scripts/edit.ps1 index d605189f8..21a69c5bf 100755 --- a/scripts/edit.ps1 +++ b/scripts/edit.ps1 @@ -18,7 +18,7 @@ param([string]$path = "") function TryEditor { param([string]$editor, [string]$path) try { - Write-Host "$editor..." -noNewline + Write-Host "$editor/" -noNewline & $editor "$path" if ($lastExitCode -ne 0) { "⚠️ Can't execute '$editor' - make sure it's installed and available"; exit 1 } exit 0 # success @@ -26,7 +26,7 @@ function TryEditor { param([string]$editor, [string]$path) } if ($path -eq "" ) { $path = Read-Host "Enter the path to the text file" } -Write-Host "Trying to open '$path' by " -noNewline +Write-Host "⏳ Editing 📄$path by trying " -noNewline TryEditor "neovim" $path TryEditor "vim" $path TryEditor "vi" $path From 8cb81aadace26fa671dd35cee4635b2ea8f76eb5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 10 Mar 2025 08:21:02 +0100 Subject: [PATCH 216/737] Updated edit.ps1 --- scripts/edit.ps1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/edit.ps1 b/scripts/edit.ps1 index 21a69c5bf..561b7fbdd 100755 --- a/scripts/edit.ps1 +++ b/scripts/edit.ps1 @@ -18,7 +18,7 @@ param([string]$path = "") function TryEditor { param([string]$editor, [string]$path) try { - Write-Host "$editor/" -noNewline + Write-Host "$editor..." -noNewline & $editor "$path" if ($lastExitCode -ne 0) { "⚠️ Can't execute '$editor' - make sure it's installed and available"; exit 1 } exit 0 # success @@ -26,7 +26,8 @@ function TryEditor { param([string]$editor, [string]$path) } if ($path -eq "" ) { $path = Read-Host "Enter the path to the text file" } -Write-Host "⏳ Editing 📄$path by trying " -noNewline +if (-not(Test-Path "$path" -pathType leaf)) { throw "Can't access file '$path'" } +Write-Host "⏳ Editing '$path' by executing " -noNewline TryEditor "neovim" $path TryEditor "vim" $path TryEditor "vi" $path @@ -39,4 +40,4 @@ TryEditor "wordpad.exe" $path Write-Host "" "⚠️ Sorry, no text editor found. Please install your favorite one (e.g. by executing 'winget install helix.helix')." -exit 1 \ No newline at end of file +exit 1 From f61be1226a576ee5a5618e96bc585c24e7af0e68 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 10 Mar 2025 09:17:00 +0100 Subject: [PATCH 217/737] Updated edit.ps1 --- scripts/edit.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/edit.ps1 b/scripts/edit.ps1 index 561b7fbdd..8707f7987 100755 --- a/scripts/edit.ps1 +++ b/scripts/edit.ps1 @@ -3,7 +3,7 @@ Opens a text editor .DESCRIPTION This PowerShell script opens the installed text editor with the given text file. - Supported are: Emacs, Helix, pico, nano, neovim, Notepad, vi, vim, and Wordpad. + Supported are: Emacs, Helix, pico, nano, neovim, Notepad, vi, vim, Visual Studio Code and Wordpad. .PARAMETER path Specifies the path to the text file (default is to query the user to specify it) .EXAMPLE @@ -35,6 +35,7 @@ TryEditor "nano" $path TryEditor "pico" $path TryEditor "hx" $path TryEditor "emacs" $path +TryEditor "Code.exe" $path TryEditor "notepad.exe" $path TryEditor "wordpad.exe" $path Write-Host "" From 37c70be932cdd38897e0f15e683c0c3b39c6866e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 10 Mar 2025 09:21:51 +0100 Subject: [PATCH 218/737] Updated edit.ps1 --- scripts/edit.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/edit.ps1 b/scripts/edit.ps1 index 8707f7987..ca85e1b92 100755 --- a/scripts/edit.ps1 +++ b/scripts/edit.ps1 @@ -35,7 +35,7 @@ TryEditor "nano" $path TryEditor "pico" $path TryEditor "hx" $path TryEditor "emacs" $path -TryEditor "Code.exe" $path +TryEditor "Code" $path TryEditor "notepad.exe" $path TryEditor "wordpad.exe" $path Write-Host "" From 3a1a27a9c22a6af2133a95fd3b4816b5508d2874 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 10 Mar 2025 13:19:02 +0100 Subject: [PATCH 219/737] Updated edit.ps1 --- scripts/edit.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/edit.ps1 b/scripts/edit.ps1 index ca85e1b92..f9ba55496 100755 --- a/scripts/edit.ps1 +++ b/scripts/edit.ps1 @@ -28,7 +28,7 @@ function TryEditor { param([string]$editor, [string]$path) if ($path -eq "" ) { $path = Read-Host "Enter the path to the text file" } if (-not(Test-Path "$path" -pathType leaf)) { throw "Can't access file '$path'" } Write-Host "⏳ Editing '$path' by executing " -noNewline -TryEditor "neovim" $path +TryEditor "nvim" $path TryEditor "vim" $path TryEditor "vi" $path TryEditor "nano" $path From 96d7b5a6b8f1ba0da35ee5a9a8105e81a28b63a3 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 10 Mar 2025 13:25:21 +0100 Subject: [PATCH 220/737] Updated computing.csv --- data/dicts/computing.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/dicts/computing.csv b/data/dicts/computing.csv index d5eee8786..ead93edfc 100644 --- a/data/dicts/computing.csv +++ b/data/dicts/computing.csv @@ -1920,6 +1920,7 @@ OODBMS,object-oriented database management system OoOE,out-of-order execution OOP,object-oriented programming OOPSLA,"Object-Oriented Programming Systems, Languages and Applications" +OOTB,out of the box (feature or functionality) OOXML,Office Open Extended Markup Language OPC,OLE for Process Control OpenGL,Open Graphics Library From f5828c0012f51a922cb4d69c02cd5e3aa156013a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 11 Mar 2025 10:50:03 +0100 Subject: [PATCH 221/737] Updated general.csv --- data/dicts/general.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/dicts/general.csv b/data/dicts/general.csv index 79b7274cc..29a83b6bf 100644 --- a/data/dicts/general.csv +++ b/data/dicts/general.csv @@ -1878,7 +1878,7 @@ GSOH,Good Sense Of Humour GSP,Georges St-Pierre (Canadian MMA fighter) GSR,Gun Shot Residue GSS,Generic Security Services -GST,Goods and Services Tax (Australia,Canada,and other countries) +GST,"Gulf Standard Time, Goods and Services Tax (Australia,Canada,and other countries)" GSW,Gunshot wound GT,Gigatesla,Gran Turismo,Grand Touring,Guatemala (ISO 3166 digram) GTB,Get to bed,namely to get a new job after a long time of searching,usually following a phone call From b70257704209e85704c4ce925476e0db1d791e40 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 11 Mar 2025 12:47:30 +0100 Subject: [PATCH 222/737] Updated clean-repo.ps1 and switch-branch.ps1 --- scripts/clean-repo.ps1 | 7 ++----- scripts/switch-branch.ps1 | 6 +++--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/scripts/clean-repo.ps1 b/scripts/clean-repo.ps1 index 84b79c014..c4c7c6c27 100755 --- a/scripts/clean-repo.ps1 +++ b/scripts/clean-repo.ps1 @@ -12,7 +12,7 @@ ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Removing untracked files in repository... ⏳ (4/4) Removing untracked files in submodules... - ✅ Cleaned the 📂rust repository in 2s. + ✅ Repo 📂rust is clean now. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,8 +22,6 @@ param([string]$path = "$PWD") try { - $stopWatch = [system.diagnostics.stopwatch]::startNew() - Write-Host "⏳ (1/4) Searching for Git executable... " -noNewline & git --version if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } @@ -44,8 +42,7 @@ try { & git -C "$path" submodule foreach --recursive git clean -xfd -f # to delete all untracked files in the submodules if ($lastExitCode -ne 0) { throw "'git clean' in the submodules failed with exit code $lastExitCode" } - [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Cleaned the 📂$repoName repository in $($elapsed)s." + "✅ Repo 📂$repoName is clean now." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/switch-branch.ps1 b/scripts/switch-branch.ps1 index 7185c8fc7..c6fb1cdf3 100755 --- a/scripts/switch-branch.ps1 +++ b/scripts/switch-branch.ps1 @@ -15,7 +15,7 @@ ⏳ (4/6) Switching to branch 'main'... ⏳ (5/6) Pulling remote updates... ⏳ (6/6) Updating submodules... - ✅ Switched 📂rust repo to 'main' branch in 22s. + ✅ Repo 📂rust switched to 'main' branch in 22s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -60,9 +60,9 @@ try { if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Switched 📂$repoDirName repo to '$branchName' branch in $($elapsed)s." + "✅ Repo 📂$repoDirName switched to '$branchName' branch in $($elapsed)s." exit 0 # success } catch { "⚠️ Error: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" exit 1 -} \ No newline at end of file +} From 957bbe4c52025b06cc68dd8537b88aa3f4836581 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 12 Mar 2025 08:46:30 +0100 Subject: [PATCH 223/737] Updated list-cli-tools.ps1 --- scripts/list-cli-tools.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index ae9b7da83..0fcef4849 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -134,6 +134,7 @@ function List-CLI-Tools { ListTool dash "--version" ListTool date "" ListTool dd "--version" + ListTool defrag.exe "/?" ListTool delgroup "--version" ListTool deluser "--version" ListTool df "--version" From 40410344ccbf61a8e776f87629e8f4ad20637ada Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 12 Mar 2025 10:29:32 +0100 Subject: [PATCH 224/737] Updated cd-repo.ps1 --- scripts/cd-repo.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cd-repo.ps1 b/scripts/cd-repo.ps1 index 6802935a4..8301ca51e 100755 --- a/scripts/cd-repo.ps1 +++ b/scripts/cd-repo.ps1 @@ -7,7 +7,7 @@ Specifies the folder name of the Git repository .EXAMPLE PS> ./cd-repo.ps1 rust - 📂C:\Repos\rust · on branch: ## main ... origin/main + 📂C:\Repos\rust entered, current branch is: ## main ... origin/main .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -37,7 +37,7 @@ try { $path = Resolve-Path "$path" Set-Location "$path" - Write-Host "📂$path · on branch: " -noNewline + Write-Host "📂$path entered, current branch is: " -noNewline & git status --short --branch --show-stash exit 0 # success } catch { From 372ab71fc2f394eeb0b8d23093afd327e8153188 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 12 Mar 2025 18:10:07 +0100 Subject: [PATCH 225/737] Updated fetch-repos.ps1 and pull-repos.ps1 --- scripts/fetch-repos.ps1 | 2 +- scripts/pull-repos.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/fetch-repos.ps1 b/scripts/fetch-repos.ps1 index 18cb13a6f..8e4bdf075 100755 --- a/scripts/fetch-repos.ps1 +++ b/scripts/fetch-repos.ps1 @@ -44,7 +44,7 @@ try { $step++ } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Fetched updates into $numFolders Git repositories at 📂$parentDirPath in $($elapsed)s." + "✅ Fetched into $numFolders Git repos at 📂$parentDirPath in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/pull-repos.ps1 b/scripts/pull-repos.ps1 index 147bed512..9bdf441d7 100755 --- a/scripts/pull-repos.ps1 +++ b/scripts/pull-repos.ps1 @@ -48,10 +48,10 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($numFailed -eq 0) { - "✅ Update of $numFolders Git repos at 📂$parentDir succeeded in $($elapsed)s." + "✅ Pulled into $numFolders Git repos at 📂$parentDir in $($elapsed)s." exit 0 # success } else { - "⚠️ Updated $numFolders Git repos at 📂$parentDir in $($elapsed)s but $numFailed failed!" + "⚠️ Pulled into $numFolders Git repos at 📂$parentDir but $numFailed failed (took $($elapsed)s)!" exit 1 } } catch { From 3844dabba3fd5ba2001b9f7aa567989402e7563f Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 13 Mar 2025 15:23:53 +0100 Subject: [PATCH 226/737] Updated list-updates.ps1 --- scripts/list-updates.ps1 | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/scripts/list-updates.ps1 b/scripts/list-updates.ps1 index 5d5c2e0b2..779ec0ad7 100755 --- a/scripts/list-updates.ps1 +++ b/scripts/list-updates.ps1 @@ -28,14 +28,21 @@ try { } elseif ($IsMacOS) { throw "Sorry, MacOS not supported yet" } else { - Write-Host "`n === Application Updates from WinGet Store ===" -foregroundColor green - & winget upgrade --include-unknown --source=winget - - Write-Host "`n === Application Updates from Microsoft Store ===" -foregroundColor green - & winget upgrade --include-unknown --source=msstore + if (Get-Command winget -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying updates from WinGet Store..." -foregroundColor green + & winget upgrade --include-unknown --source=winget + } + if (Get-Command winget -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying updates from Microsoft Store..." -foregroundColor green + & winget upgrade --include-unknown --source=msstore + } + if (Get-Command choco -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying updates from Chocolatey..." -foregroundColor green + & choco outdated + } } " " - "NOTE: Execute script 'install-updates.ps1' to install the listed updates." + "💡 Execute the script 'install-updates.ps1' to install the listed updates." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 58bba20351a5d90b8b3a3bb5196dee306771c415 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 13 Mar 2025 17:20:02 +0100 Subject: [PATCH 227/737] Updated list-updates.ps1 --- scripts/list-updates.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/list-updates.ps1 b/scripts/list-updates.ps1 index 779ec0ad7..445fb1a8f 100755 --- a/scripts/list-updates.ps1 +++ b/scripts/list-updates.ps1 @@ -42,7 +42,7 @@ try { } } " " - "💡 Execute the script 'install-updates.ps1' to install the listed updates." + "💡 Execute 'install-updates.ps1' to install the listed updates." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 1c43e33c115d200f965a120d19ec52687b035787 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 14 Mar 2025 08:23:40 +0100 Subject: [PATCH 228/737] Updated cd-repo.ps1 --- scripts/cd-repo.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cd-repo.ps1 b/scripts/cd-repo.ps1 index 8301ca51e..01e3f8fa6 100755 --- a/scripts/cd-repo.ps1 +++ b/scripts/cd-repo.ps1 @@ -38,7 +38,7 @@ try { $path = Resolve-Path "$path" Set-Location "$path" Write-Host "📂$path entered, current branch is: " -noNewline - & git status --short --branch --show-stash + & git status --branch --short exit 0 # success } catch { "⚠️ Error: $($Error[0])" From edc57b01ef070395b0aab5bc5837310bf34e8d88 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 14 Mar 2025 16:37:42 +0100 Subject: [PATCH 229/737] Added tracert --- scripts/list-cli-tools.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index 0fcef4849..ee7556f6f 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -298,6 +298,7 @@ function List-CLI-Tools { ListTool time "" ListTool timeout "" ListTool top "--version" + ListTool tracert "" ListTool tskill "" ListTool typeperf "" ListTool tzsync "--version" From 5873d0dc1c7e1877445d6303cb8672b6dc9d47e0 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 17 Mar 2025 10:30:22 +0100 Subject: [PATCH 230/737] Updated cd-repos.ps1 --- scripts/cd-repos.ps1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/cd-repos.ps1 b/scripts/cd-repos.ps1 index 5430557ba..4a2845dbd 100755 --- a/scripts/cd-repos.ps1 +++ b/scripts/cd-repos.ps1 @@ -1,6 +1,6 @@ <# .SYNOPSIS - Sets the working directory to the Git repos folder + Sets the working dir to the repos folder .DESCRIPTION This PowerShell script changes the working directory to the folder for Git repositories. .EXAMPLE @@ -24,11 +24,12 @@ try { } 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 for Git repositories yet (in home or root directory)" + throw "No folder found for Git repositories (in home or root directory) - Please create one." } $path = Resolve-Path $path Set-Location "$path" - "📂$path" + $subfolders = Get-ChildItem $path -attributes Directory + "📂$path entered, it has $($subfolders.Count) subfolders." exit 0 # success } catch { "⚠️ Error: $($Error[0])" From 225a1ae9025799e175dc39e108bb2a7cc78f3633 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 17 Mar 2025 10:40:51 +0100 Subject: [PATCH 231/737] Updated cd-repos.ps1 and cd-scripts.ps1 --- scripts/cd-repos.ps1 | 2 +- scripts/cd-scripts.ps1 | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/cd-repos.ps1 b/scripts/cd-repos.ps1 index 4a2845dbd..cbcd3e0e3 100755 --- a/scripts/cd-repos.ps1 +++ b/scripts/cd-repos.ps1 @@ -29,7 +29,7 @@ try { $path = Resolve-Path $path Set-Location "$path" $subfolders = Get-ChildItem $path -attributes Directory - "📂$path entered, it has $($subfolders.Count) subfolders." + "📂$path entered, containing $($subfolders.Count) subfolders." exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-scripts.ps1 b/scripts/cd-scripts.ps1 index d17d87563..68bb48311 100755 --- a/scripts/cd-scripts.ps1 +++ b/scripts/cd-scripts.ps1 @@ -15,8 +15,9 @@ try { $path = Resolve-Path "$PSScriptRoot" if (-not(Test-Path "$path" -pathType container)) { throw "PowerShell scripts folder at 📂$path doesn't exist (yet)" } + $files = Get-ChildItem $path -attributes !Directory + "📂$path entered, containing $($files.Count) scripts." Set-Location "$path" - "📂$path" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From d651aad0f898143dc8686820c473b338badfd4f5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 19 Mar 2025 08:53:19 +0100 Subject: [PATCH 232/737] Updated cd-scripts.ps1 and remove-old-dirs.ps1 --- scripts/cd-scripts.ps1 | 4 ++-- scripts/remove-old-dirs.ps1 | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/cd-scripts.ps1 b/scripts/cd-scripts.ps1 index 68bb48311..4daf94576 100755 --- a/scripts/cd-scripts.ps1 +++ b/scripts/cd-scripts.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the PowerShell scripts folder. .EXAMPLE PS> ./cd-scripts.ps1 - 📂C:\Repos\PowerShell\scripts + 📂C:\Repos\PowerShell\scripts entered (has 644 scripts). .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -16,7 +16,7 @@ try { $path = Resolve-Path "$PSScriptRoot" if (-not(Test-Path "$path" -pathType container)) { throw "PowerShell scripts folder at 📂$path doesn't exist (yet)" } $files = Get-ChildItem $path -attributes !Directory - "📂$path entered, containing $($files.Count) scripts." + "📂$path entered (has $($files.Count) scripts)." Set-Location "$path" exit 0 # success } catch { diff --git a/scripts/remove-old-dirs.ps1 b/scripts/remove-old-dirs.ps1 index 502429c35..fd1118148 100755 --- a/scripts/remove-old-dirs.ps1 +++ b/scripts/remove-old-dirs.ps1 @@ -9,7 +9,9 @@ Specifies the number of days (1000 by default) .EXAMPLE PS> ./remove-old-dirs.ps1 C:\Temp 365 - ✅ Removed 0 subfolders in 1s (67 skipped). + ⏳ Scanning C:\Temp for subfolders older than 365 days... + ⏳ Removing old 'TestFolder'... + ✅ Removed 1 of 49 subfolders in 1s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -24,21 +26,19 @@ try { if (!(Test-Path -Path "$path" -PathType container)) { throw "Given path doesn't exist - enter a valid path, please" } Write-Host "⏳ Searching in '$path' for subfolders older than $numDays days..." - $numRemoved = $numSkipped = 0 + $numRemoved = 0 $folders = Get-ChildItem -path "$path" -directory foreach ($folder in $folders) { [datetime]$folderDate = ($folder | Get-ItemProperty -Name LastWriteTime).LastWriteTime if ($folderDate -lt (Get-Date).AddDays(-$numDays)) { - Write-Host "Removing old '$folder'..." + Write-Host "⏳ Removing old '$folder'..." $fullPath = $folder | Select-Object -ExpandProperty FullName Remove-Item -path "$fullPath" -force -recurse $numRemoved++ - } else { - $numSkipped++ } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Removed $numRemoved subfolders in $($elapsed)s ($numSkipped skipped)." + "✅ Removed $numRemoved of $($folders.Count) subfolders in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 2e646cda41e2c997961496af1f6fa192d80e2dc3 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 19 Mar 2025 12:36:06 +0100 Subject: [PATCH 233/737] Updated cd-repos.ps1, cd-scripts.ps1, and new-junction.ps1 --- scripts/cd-repos.ps1 | 2 +- scripts/cd-scripts.ps1 | 2 +- scripts/new-junction.ps1 | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/cd-repos.ps1 b/scripts/cd-repos.ps1 index cbcd3e0e3..b5b592e32 100755 --- a/scripts/cd-repos.ps1 +++ b/scripts/cd-repos.ps1 @@ -29,7 +29,7 @@ try { $path = Resolve-Path $path Set-Location "$path" $subfolders = Get-ChildItem $path -attributes Directory - "📂$path entered, containing $($subfolders.Count) subfolders." + "📂$path entered (has $($subfolders.Count) subfolders)." exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-scripts.ps1 b/scripts/cd-scripts.ps1 index 68bb48311..6e52fa744 100755 --- a/scripts/cd-scripts.ps1 +++ b/scripts/cd-scripts.ps1 @@ -16,7 +16,7 @@ try { $path = Resolve-Path "$PSScriptRoot" if (-not(Test-Path "$path" -pathType container)) { throw "PowerShell scripts folder at 📂$path doesn't exist (yet)" } $files = Get-ChildItem $path -attributes !Directory - "📂$path entered, containing $($files.Count) scripts." + "📂$path entered (has $($files.Count) scripts)." Set-Location "$path" exit 0 # success } catch { diff --git a/scripts/new-junction.ps1 b/scripts/new-junction.ps1 index 172625293..2458792dd 100755 --- a/scripts/new-junction.ps1 +++ b/scripts/new-junction.ps1 @@ -9,7 +9,7 @@ Specifies the path to the target directory .EXAMPLE PS> ./new-junction.ps1 C:\User\Joe\D_drive D: - ✅ Created a new junction 'C:\User\Joe\D_drive', linking to 📂D: + ✅ New junction 'C:\User\Joe\D_drive' created, linking to: 📂D: .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -19,13 +19,13 @@ param([string]$junction = "", [string]$targetDir = "") try { - if ($junction -eq "" ) { $symlink = Read-Host "Enter path and filename of the new junction" } - if ($targetDir -eq "" ) { $target = Read-Host "Enter the path to the target directory" } + if ($junction -eq "" ) { $junction = Read-Host "Enter the new junction's path and filename" } + if ($targetDir -eq "" ) { $target = Read-Host "Enter the path to the target directory " } - New-Item -path "$symlink" -itemType Junction -value "$targetDir" + New-Item -path "$junction" -itemType Junction -value "$targetDir" if ($lastExitCode -ne 0) { throw "Command 'New-Item' has failed" } - "✅ Created a new junction '$symlink', linking to 📂$targetDir" + "✅ New junction '$junction' created, linking to: 📂$targetDir" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 3cca0d75d9e24b90b1ba14b8fda8f64662902d15 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 19 Mar 2025 15:41:06 +0100 Subject: [PATCH 234/737] Updated install-basic-snaps.ps1 --- scripts/install-basic-snaps.ps1 | 50 +++++++++++++++++---------------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/scripts/install-basic-snaps.ps1 b/scripts/install-basic-snaps.ps1 index 21293dafa..ded479961 100755 --- a/scripts/install-basic-snaps.ps1 +++ b/scripts/install-basic-snaps.ps1 @@ -1,10 +1,11 @@ <# .SYNOPSIS - Installs basic Linux snaps + Installs basic Snap apps .DESCRIPTION - This PowerShell script installs 18 basic Linux snaps. + This PowerShell script installs 20 basic Snap apps. .EXAMPLE PS> ./install-basic-snaps.ps1 + ⏳ Installing 20 Snap apps (sorted alphabetically)... .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -15,29 +16,30 @@ try { $StopWatch = [system.diagnostics.stopwatch]::startNew() if (!$IsLinux) { throw "Only Linux currently support snaps" } - "⏳ Installing 19 Snaps (sorted alphabetically)..." - sudo snap install ant - sudo snap install audacity - sudo snap install bashtop - sudo snap install chromium - sudo snap install cmake - sudo snap install cups - sudo snap install emacs --classic - sudo snap install ffmpeg --edge - sudo snap install firefox - sudo snap install gimp - sudo snap install go - sudo snap install gradle --classic - sudo snap install groovy --classic - sudo snap install hugo - sudo snap install jenkins --edge --classic - sudo snap install nano --classic - sudo snap install nextcloud - sudo snap install node --classic - sudo snap install plexmediaserver + "⏳ Installing 20 Snap apps (sorted alphabetically)..." + & sudo snap install ant + & sudo snap install audacity + & sudo snap install bashtop + & sudo snap install blender + & sudo snap install chromium + & sudo snap install cmake + & sudo snap install cups + & sudo snap install emacs --classic + & sudo snap install ffmpeg --edge + & sudo snap install firefox + & sudo snap install gimp + & sudo snap install go + & sudo snap install gradle --classic + & sudo snap install groovy --classic + & sudo snap install hugo + & sudo snap install jenkins --edge --classic + & sudo snap install nano --classic + & sudo snap install nextcloud + & sudo snap install node --classic + & sudo snap install plexmediaserver - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✅ installed 19 Snaps in $Elapsed sec" + [int]$elapsed = $StopWatch.Elapsed.TotalSeconds + "✅ Installed 20 Snap apps in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 03f3b982328697d8bdf93ec4eeb5e4671be652fa Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 19 Mar 2025 15:50:18 +0100 Subject: [PATCH 235/737] Added Blender to install-basic-snaps.ps1 --- scripts/install-basic-snaps.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install-basic-snaps.ps1 b/scripts/install-basic-snaps.ps1 index ded479961..e6758649c 100755 --- a/scripts/install-basic-snaps.ps1 +++ b/scripts/install-basic-snaps.ps1 @@ -2,10 +2,10 @@ .SYNOPSIS Installs basic Snap apps .DESCRIPTION - This PowerShell script installs 20 basic Snap apps. + This PowerShell script installs 20 basic snap apps. .EXAMPLE PS> ./install-basic-snaps.ps1 - ⏳ Installing 20 Snap apps (sorted alphabetically)... + ⏳ Installing 20 snap apps (sorted alphabetically)... .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -16,11 +16,11 @@ try { $StopWatch = [system.diagnostics.stopwatch]::startNew() if (!$IsLinux) { throw "Only Linux currently support snaps" } - "⏳ Installing 20 Snap apps (sorted alphabetically)..." + "⏳ Installing 20 snap apps (sorted alphabetically)..." & sudo snap install ant & sudo snap install audacity & sudo snap install bashtop - & sudo snap install blender + & sudo snap install blender --classic & sudo snap install chromium & sudo snap install cmake & sudo snap install cups @@ -39,7 +39,7 @@ try { & sudo snap install plexmediaserver [int]$elapsed = $StopWatch.Elapsed.TotalSeconds - "✅ Installed 20 Snap apps in $($elapsed)s." + "✅ Installed 20 snap apps in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 28835cf13c9c2df5cee894f01afd3b7f3b81579c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 24 Mar 2025 13:46:54 +0100 Subject: [PATCH 236/737] Updated list-updates.ps1 --- scripts/list-updates.ps1 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/list-updates.ps1 b/scripts/list-updates.ps1 index 445fb1a8f..5808a81a4 100755 --- a/scripts/list-updates.ps1 +++ b/scripts/list-updates.ps1 @@ -4,13 +4,14 @@ .DESCRIPTION This PowerShell script queries the latest available software updates for the local machine and lists it. - NOTE: Use the script 'install-updates.ps1' to install the listed updates. + NOTE: Execute 'install-updates.ps1' to install the listed updates. .EXAMPLE PS> ./list-updates.ps1 + ⏳ Querying updates from Microsoft Store... - Name Id Version Available Source - ------------------------------------------------------------------------------ - Git Git.Git 2.43.0 2.44.0 winget + Name Id Version Available + ---------------------------------------------------------------- + Git Git.Git 2.43.0 2.44.0 ... .LINK https://github.com/fleschutz/PowerShell @@ -28,13 +29,12 @@ try { } elseif ($IsMacOS) { throw "Sorry, MacOS not supported yet" } else { - if (Get-Command winget -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying updates from WinGet Store..." -foregroundColor green - & winget upgrade --include-unknown --source=winget - } if (Get-Command winget -ErrorAction SilentlyContinue) { Write-Host "`n⏳ Querying updates from Microsoft Store..." -foregroundColor green & winget upgrade --include-unknown --source=msstore + + Write-Host "`n⏳ Querying updates from WinGet Store..." -foregroundColor green + & winget upgrade --include-unknown --source=winget } if (Get-Command choco -ErrorAction SilentlyContinue) { Write-Host "`n⏳ Querying updates from Chocolatey..." -foregroundColor green From 7f08428442bd7f36b64bfab3fd5ce2c4e0f8fa31 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 24 Mar 2025 13:57:53 +0100 Subject: [PATCH 237/737] Added new-tab.ps1 --- scripts/new-tab.ps1 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 scripts/new-tab.ps1 diff --git a/scripts/new-tab.ps1 b/scripts/new-tab.ps1 new file mode 100644 index 000000000..4acd942c8 --- /dev/null +++ b/scripts/new-tab.ps1 @@ -0,0 +1,24 @@ +<# +.SYNOPSIS + Create a new tab in Windows Terminal +.DESCRIPTION + This PowerShell script creates and opens a new tab in Windows Terminal. +.EXAMPLE + PS> ./new-tab.ps1 + ✅ Created a new tab in Windows Terminal. +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + & wt.exe --window 0 new-tab + if ($lastExitCode -ne 0) { throw "Executing wt.exe has failed with exit code $lastExitCode" } + + "✅ Created a new tab in Windows Terminal." + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} From 6f6886f88da0bc555932c2aabeb8bf2f08fee67f Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 26 Mar 2025 14:23:42 +0100 Subject: [PATCH 238/737] Updated switch-branch.ps1 --- scripts/switch-branch.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/switch-branch.ps1 b/scripts/switch-branch.ps1 index c6fb1cdf3..d4bc0f8e5 100755 --- a/scripts/switch-branch.ps1 +++ b/scripts/switch-branch.ps1 @@ -12,10 +12,10 @@ ⏳ (1/6) Searching for Git executable... git version 2.43.0.windows.1 ⏳ (2/6) Checking local repository... C:\Repos\rust ⏳ (3/6) Fetching remote updates... - ⏳ (4/6) Switching to branch 'main'... + ⏳ (4/6) Switching to 'main' branch... ⏳ (5/6) Pulling remote updates... ⏳ (6/6) Updating submodules... - ✅ Repo 📂rust switched to 'main' branch in 22s. + ✅ Switched repo 📂rust to 'main' branch in 22s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,7 +47,7 @@ try { & git -C "$pathToRepo" fetch --all --prune --prune-tags --force if ($lastExitCode -ne 0) { throw "'git fetch' failed with exit code $lastExitCode" } - "⏳ (4/6) Switching to branch '$branchName'..." + "⏳ (4/6) Switching to '$branchName' branch..." & git -C "$pathToRepo" checkout --recurse-submodules "$branchName" if ($lastExitCode -ne 0) { throw "'git checkout $branchName' failed with exit code $lastExitCode" } @@ -60,7 +60,7 @@ try { if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Repo 📂$repoDirName switched to '$branchName' branch in $($elapsed)s." + "✅ Switched repo 📂$repoDirName to '$branchName' branch in $($elapsed)s." exit 0 # success } catch { "⚠️ Error: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" From 17f8eea27f8c2edf388c41b76442ddfc9711ce50 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 26 Mar 2025 14:44:20 +0100 Subject: [PATCH 239/737] Add play-drug-wars.ps1 --- scripts/cd-downloads.ps1 | 12 +- scripts/play-drug-wars.ps1 | 5381 ++++++++++++++++++++++++++++++++++++ 2 files changed, 5388 insertions(+), 5 deletions(-) create mode 100644 scripts/play-drug-wars.ps1 diff --git a/scripts/cd-downloads.ps1 b/scripts/cd-downloads.ps1 index c27148295..cd2ec760e 100755 --- a/scripts/cd-downloads.ps1 +++ b/scripts/cd-downloads.ps1 @@ -18,12 +18,14 @@ try { } else { $path = (New-Object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path } - if (Test-Path "$path" -pathType container) { - Set-Location "$path" - "📂$path" - exit 0 # success + if (-not(Test-Path "$path" -pathType container)) { + throw "User's downloads folder at 📂$path doesn't exist (yet)" } - throw "User's downloads folder at 📂$path doesn't exist (yet)" + Set-Location "$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path (has $($files.Count) files and $($folders.Count) folders)" + exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 diff --git a/scripts/play-drug-wars.ps1 b/scripts/play-drug-wars.ps1 new file mode 100644 index 000000000..911f3318c --- /dev/null +++ b/scripts/play-drug-wars.ps1 @@ -0,0 +1,5381 @@ +#Requires -Version 5.1 +param ( + [switch]$SkipConsoleSizeCheck +) + +[float]$script:GameVersion = 0.42 + +######################## +#region Class Definitions +########################## +class GameStats { + [int]$DrugsBought + [int]$DrugsSold + [int]$CitiesVisited + [int]$FlightsTaken + [int]$GunsBought + [int]$CopFights + [int]$EventsExperienced + [int]$MostCashAtOnce + hidden [string[]]$TravelPath + + # Constructor to initialize all properties to 0 or empty array + GameStats() { + $this.DrugsBought = 0 + $this.DrugsSold = 0 + $this.CitiesVisited = 0 + $this.FlightsTaken = 0 + $this.GunsBought = 0 + $this.CopFights = 0 + $this.EventsExperienced = 0 + $this.MostCashAtOnce = 0 + $this.TravelPath = @() + } + + # Method to get all numeric properties as an array of strings + # This method filters the properties of the GameStats object and returns only those with numeric values (int or double). + # Each property name is formatted to split PascalCase or camelCase names, and the result is returned as an array of strings (in the order they are defined in the class). + [string[]] GetPropertiesAsStrings() { + # Get the properties of the GameStats object + $properties = $this.PSObject.Properties + + # Create an array to hold the property values as strings + $result = @() + + foreach ($property in $properties) { + # Check if the property value is numeric + if ($property.Value -is [int] -or $property.Value -is [double]) { + # Perform the replacement inline to split PascalCase or camelCase names + $formattedName = $property.Name -creplace '([a-z])([A-Z])', '$1 $2' + $result += ('{0}: {1}' -f $formattedName, $property.Value) + } + } + + return $result + } + + # Method to set the MostCashAtOnce property if it's lower than the provided amount + [void] UpdateMostCashAtOnce([int]$Cash) { + if ($Cash -gt $this.MostCashAtOnce) { + $this.MostCashAtOnce = $Cash + } + } + + # Method to add a city (name) to the list of visited cities + [void] AddVisitedCity([City]$City) { + if ($null -ne $City -and -not [string]::IsNullOrEmpty($City.Name)) { + $this.TravelPath += $City.Name + $this.CitiesVisited = ($this.GetVisitedCityNames()).Count + $this.FlightsTaken = $this.TravelPath.Count - 1 + } + else { + throw "City object or its Name property cannot be null or empty." + } + } + + # Method to retrieve the full list of visited city names, in the order visited. + [string[]] GetTravelPath() { + return $this.TravelPath + } + + # Method to return the list of (unique) city names visited + [string[]] GetVisitedCityNames() { + return $this.TravelPath | Sort-Object -Unique + } +} + +class Drug { + [string]$Name + [string]$Code + [string]$Description + [int]$BasePrice + [int[]]$PriceRange + [float]$PriceMultiplier + [int]$Quantity + + # Constructor that takes a drug name + Drug([string]$Name) { + $this.Name = $Name + $this.Code = $script:DrugCodes.Keys | Where-Object { $script:DrugCodes[$_] -eq $Name } + $this.Description = $script:DrugsInfo[$this.Code]['History'] + $this.PriceRange = $script:DrugsInfo[$this.Code]['PriceRange'] + $this.PriceMultiplier = 1.0 + $this.Quantity = 0 + $this.SetRandomBasePrice() + } + + # Method to set the hidden BasePrice value to a random value from the drugs PriceRange, rounded to the nearest 10 dollars (Bankers' rounding). + [void]SetRandomBasePrice() { + $this.BasePrice = [int][math]::Round((Get-Random -Minimum $this.PriceRange[0] -Maximum $this.PriceRange[1]) / 10) * 10 + } + + # Calculate the price based on BasePrice and PriceMultiplier, rounded to the nearest 5 dollars (Bankers' rounding). + [int]get_Price() { + $price = [int][math]::Round($this.BasePrice * $this.PriceMultiplier / 5) * 5 + if ($price -lt 5) { + $price = 5 + } + return $price + } +} + +class City { + [string]$Name + [Drug[]]$Drugs + [int]$MaxDrugCount + [string[]]$HomeDrugNames + [float]$HomeDrugSaleMultiplier + [Gun[]]$GunsForSale + [string]$GunShopName + + # Default constructor + City() { + # Drugs are assigned upon visiting the city (so they change each visit) + $this.Drugs = @() + + # Guns are assigned after city is created + $this.GunsForSale = @() + # No name until a gun is added + $this.GunShopName = $null + + # Assign 1 or 2 random 'Home Drugs' to each city + $homeDrugCount = Get-Random -Minimum 1 -Maximum 3 + $this.HomeDrugNames = $script:DrugCodes.Keys | Get-Random -Count $homeDrugCount + + # Home Drugs are drugs that are always sold at a discount (if in stock). Default is 20% of the base price. + $this.HomeDrugSaleMultiplier = .20 + } + + # Method to add a gun to the city's GunsForSale collection + [void]AddGunToShop([Gun]$Gun) { + $this.GunsForSale += $Gun + + $gunShopNames = @( + 'Aim High Ammunition Alley', + 'Ammo-nation', + 'Angry Hank''s Shot Shack', + 'Barrel of Laughs Gun Depot', + 'Bullet Bonanza Emporium', + 'Glock ''n Roll Firearms', + 'Guns ''n'' Giggles', + 'Laugh ''n'' Load Gunsmiths', + 'Lock, Stock, and Two Smokin'' Barrels', + 'Pistol Puns & Rifled Laughs', + 'Shoots & Ladders Armoury', + 'The Bang Theory Firearms', + 'The Bang-Bang Boutique', + 'The Trigger Happy Gun Shop', + 'Trigger Treats Gun Emporium' + ) + + if (-not $this.GunShopName) { + $this.GunShopName = Get-Random -InputObject $gunShopNames + } + } + + # Method ot return if the city has guns for sale + [bool]HasGunShop() { + return $this.GunsForSale.Count -gt 0 + } +} + +class Player { + [string[]]$Clothing + [City]$City + [int]$Cash + [Drug[]]$Drugs + [int]$GameDay + hidden [Gun[]]$Guns + [string]$Initials + hidden [int]$Pockets + + hidden [string[]]$starterClothes = @( + 'Bell-bottom pants', + 'Flannel shirt (buttoned Cholo-style)', + '"I''m with Stupid ->" T-shirt', + 'Over-sized athletic jersey', + 'Pink Floyd T-shirt', + 'Smelly socks', + 'Smelly socks with a hole in them', + 'Terry-cloth bath robe', + 'Underwear, hanging out', + 'Velour track suit', + 'Wife-beater' + ) + + # Default constructor + Player() { + $this.Drugs = @() + $this.Guns = @() + $this.Clothing = $this.starterClothes | Get-Random + $this.Pockets = 0 + $this.GameDay = 1 + } + + # FreePockets method returns the number of pockets minus the total Quntity of all Drugs + [int]get_FreePocketCount() { + $totalQuantity = $this.get_DrugCount() + return $this.Pockets - $totalQuantity + } + + # Method to get pocket count + [int]get_PocketCount() { + return $this.Pockets + } + + # Method to set pocket count + [void]set_PocketCount([int]$Pockets) { + $this.Pockets = $Pockets + } + + # Method to get total drug count from inventory + [int]get_DrugCount() { + $totalQuantity = 0 + $this.Drugs | ForEach-Object { $totalQuantity += $_.Quantity } + return $totalQuantity + } + + # Method to get guns + [Gun[]]get_Guns() { + return $this.Guns + } + + # Method to dump all guns + [void]DumpGuns() { + $this.Guns = @() + } + + [bool]AddGun([Gun]$Gun) { + return $this.AddGun($Gun, $false) + } + + # Method to add a gun to inventory + [bool]AddGun([Gun]$Gun, [bool]$Silent = $false) { + # Maximum two guns + if ($this.Guns.Count -ge 2) { + $tooManyGunsExpressions = @( + "Whoa, slow down, Rambo! Two strapped guns are your limit, fam.`r`nWe don't want you to take off like a helicopter now.", + "Hold your horses, cowboy! You're already packing a pair of heat, pal.`r`nAdding more would be like juggling flaming marshmallows - not a good idea, see?", + "Easy there, gunslinger! Two guns are the magic number, amico.`r`nAdding more would be like trying to salsa dance with three left feet, capisce?", + "Chill, action hero! You've already got a dynamic duo of guns, homey.`r`nAdding more would be like trying to breakdance on a tightrope, playa.", + "Steady on, sharpshooter! You've got a couple of guns already, fella.`r`nAdding another one would be like trying to balance a porcupine on your nose, you hear?", + "Whoa, trigger happy! Two guns are your lucky number, homey.`r`nAdding another one would be like trying to fit a giraffe into a phone booth." + ) + $parts = (Get-Random -InputObject $tooManyGunsExpressions) -split "`r`n" + $firstPart += $parts[0] + $secondPart += $parts[1] + Write-Centered ($firstPart) -ForegroundColor Red + Start-Sleep 2 + Write-Host + Write-Centered ($secondPart) -ForegroundColor DarkGray + Start-Sleep 2 + Write-Host + return $false + } + + if (-not $Silent) { + $newGunExpressions = @( + ('You got a {0}! Nice! Just remember, with great firepower comes great responsibility.' -f $Gun.Name), + ('You got a {0}! Keep it strapped, fam! It''s like having a Swiss Army knife, but, you know, for the streets or some shit.' -f $Gun.Name), + ('Big man! Packin'' heat with a {0}! Who needs biceps when you''ve got barrels, am I right?' -f $Gun.Name), + ('Say hello to my little friend! "Hello {0}."' -f $Gun.Name), + ('Congrats, sharpshooter! You snagged a {0}! The only thing hotter than the barrel is your style.' -f $Gun.Name), + ('Hasta la vista, budget constraints! You''re now the proud owner of a {0}! Pew-pew dreams do come true.' -f $Gun.Name), + ('Well, look who''s the proud parent of a bouncing baby {0}! Parenthood, gun-style, fam.' -f $Gun.Name), + ('You got a {0}! Time to start practicing your action movie one-liners. "Yippee-ki-yay, {0}-lover!"' -f $Gun.Name), + ('Boom shakalaka! You''ve upgraded to a {0}! Watch out, world - you''re armed and hilarious.' -f $Gun.Name), + ('Woo-hoo! You got a {0}! It''s like winning the lottery, but with more pew-pew and fewer numbers.' -f $Gun.Name) + ) + Write-Centered (Get-Random -InputObject $newGunExpressions) + Start-Sleep 2 + } + + $this.Guns += $Gun + return $true + } + + # Method to remove a gun from inventory + [void]RemoveGun([Gun]$Gun) { + $this.Guns = $this.Guns | Where-Object { $_.Name -ne $Gun.Name } + } + + # Method to Buy a gun + [void]BuyGun([Gun]$Gun) { + # If the player doesn't have enough cash, print a message and return + if ($Gun.Price -gt $this.Cash) { + $gunPurchasePhrases = @( + "Oops! Your wallet's on a diet - can't afford that fancy {0} right now.`r`nTime to channel your inner magpie, my friend!", + "Uh-oh! Your cash stash is more elusive than Bigfoot when it comes to buying a {0}, homey.`r`nGet those brainstorming wheels turning, pal!", + "Houston, we have a cash-flow problem! Buying a {0}, fam, requires some next-level haggling skills.`r`nPrepare for liftoff, friend!", + "Breaking news: Your wallet just declared bankruptcy in the face of that {0}, pal.`r`nLet's brainstorm ways to turn pocket lint into gold, buddy!", + "Ay caramba! Your dinero isn't playing nice with the idea of a {0}, amigo.`r`nTime for a financial fiesta, compadre!", + "Eh, capisce? Your wallet's playing hard to get with that {0}.`r`nLet's hustle, my nonna-lovin' friend - maybe she's got a secret stash!" + ) + $parts = (Get-Random -InputObject $gunPurchasePhrases) -split "`r`n" + $firstPart += $parts[0] + $secondPart += $parts[1] + Write-Centered ($firstPart -f $Gun.Name) -ForegroundColor Yellow + Start-Sleep 1 + Write-Centered ($secondPart) -ForegroundColor DarkGray + Start-Sleep 2 + Write-Host + return + } + + # If the player has enough cash, and can add the gun to their inventory, buy the gun. + if ($this.AddGun($Gun)) { + # Pay for gun + $this.Cash -= $Gun.Price + + # Track gun purchase in Game Statistics + $script:GameStats.GunsBought++ + + Write-Host + Write-Centered ('You bought a {0} for ${1}.' -f $Gun.Name, $Gun.Price) -ForegroundColor Green + Start-Sleep -Milliseconds 1500 + Write-Host + # Display the gun's description and history + Write-Centered $Gun.Description -ForegroundColor White + Start-Sleep -Milliseconds 1500 + Write-Centered $Gun.History -ForegroundColor DarkGray + } + Start-Sleep 3 + } + + # Method to sell a gun + [void]SellGun([Gun]$Gun) { + # Find the first gun in the player's inventory that matches the given name + $gunToSell = $this.Guns | Where-Object { $_.Name -eq $Gun.Name } | Select-Object -First 1 + + Write-Host + + # If the gun was found + if ($gunToSell) { + # Increase the player's cash by 70% of the gun's price + $gunSellPrice = $gunToSell.Price * 0.70 + $this.Cash += $gunSellPrice + + # Update MostCashAtOnce stats by comparing player's current cash + $script:GameStats.UpdateMostCashAtOnce($this.Cash) + + # Remove the sold gun from the player's inventory. + $this.Guns = $this.Guns | Where-Object { $_.Name -ne $gunToSell.Name } | Select-Object -First 1 + + Write-Centered ('You sold your {0} for ${1}.' -f $gunToSell.Name, $gunSellPrice) -ForegroundColor Green + } + else { + Write-Centered ('You don''t have a {0} to sell.' -f $gunToSell.Name) -ForegroundColor Red + } + Start-Sleep 3 + Write-Host + } + + # Method to get total stopping power of all guns + [int]get_StoppingPower() { + $stoppingPower = 0 + foreach ($gun in $this.Guns) { + $stoppingPower += $gun.StoppingPower + } + return $stoppingPower + } + + # Method to adjust pocket count up or down + [void]AdjustPocketCount([int]$Pockets) { + if ($Pockets -lt 0) { + # Remove specified number of pockets (by adding the negative amount provided) + $this.Pockets += $Pockets + + # Get a count of all drugs in the player's inventory + $totalQuantity = 0 + $this.Drugs | ForEach-Object { $totalQuantity += $_.Quantity } + + # If the player has more drugs than pockets, remove some excess drugs + if ($totalQuantity -gt $this.Pockets) { + + Write-Centered 'You don''t have enough pockets to hold all your drugs!' -ForegroundColor Yellow + Start-Sleep -Seconds 2 + + $difference = $totalQuantity - $this.Pockets + + # While the difference is greater than 0, cycle through the drugs in inventory, removing 1 of each until the difference is 0. + while ($difference -gt 0) { + foreach ($drug in $this.Drugs) { + $this.RemoveDrugs($drug, 1) + Write-Centered ('You had to throw away 1 {0}.' -f $drug.Name) -ForegroundColor DarkRed + $difference -= 1 + if ($difference -le 0) { + break + } + } + } + } + } + else { + $this.Pockets += $Pockets + } + } + + # Method to add drugs to the player's Drugs collection. + [void]AddDrugs([Drug]$Drug) { + # Minimum Add is 1 + if ($Drug.Quantity -lt 1) { + Write-Host 'You must add at least 1 of a drug.' + return + } + + # Check if there's enough free pockets + if ($this.get_FreePocketCount() -ge $Drug.Quantity) { + # If the player already has some of the drug, add the quantity to the existing drug, otherwise add the drug to the player's Drugs collection. + $myMatchingDrug = $this.Drugs | Where-Object { $_.Name -eq $Drug.Name } + if ($myMatchingDrug) { + $myMatchingDrug.Quantity += $Drug.Quantity + } + else { + $this.Drugs += $Drug + } + } + else { + Write-Host "Not enough free pockets to add this drug." + } + } + + # Method to remove drugs from the player's Drugs collection. + [void]RemoveDrugs([Drug]$Drug, [int]$Quantity) { + # If the player has some of the drug, remove the quantity from the existing drug, otherwise do nothing. + $myMatchingDrug = $this.Drugs | Where-Object { $_.Name -eq $Drug.Name } + if ($myMatchingDrug) { + $myMatchingDrug.Quantity -= $Quantity + if ($myMatchingDrug.Quantity -le 0) { + # None left, remove the Drug object from the Drugs collection. + $this.Drugs = $this.Drugs | Where-Object { $_.Name -ne $Drug.Name } + } + } + else { + Write-Host 'You don''t have any of that drug.' + } + } + + # Method to buy drugs. + [void]BuyDrugs([Drug]$Drug) { + # Get the drug from the city's drug list (if it's available) + $cityDrug = $this.City.Drugs | Where-Object { $_.Name -eq $Drug.Name } + + # Use a switch statement to handle different conditions (run teh first block that's "True") + switch ($true) { + # If the drug is not available in the city, print a message and return + (-not $cityDrug) { + $wachoo = @('Whutchoo talkin'' about, Willis?', 'Are you high?', 'You''re trippin''!', 'You drunk?') + Write-Host ('{0} {1} is not available in {2}.' -f (Get-Random -InputObject $wachoo), $Drug.Name, $this.City.Name) + break + } + # If the quantity is less than 1, print a message and return + ($Drug.Quantity -lt 1) { + Write-Host ('You really trying to buy {0} drugs...?' -f $Drug.Quantity) + $whoyou = @('M.C. Escher', 'Salvador Dali', 'David Blaine', 'Doug Henning') + Write-Host ('Who are you? {0} or some shit?' -f (Get-Random -InputObject $whoyou)) + break + } + # If the drug is available and the quantity is valid, proceed to buy + default { + # Calculate the total price + $totalPrice = $Drug.Quantity * $Drug.get_Price() + # If the player doesn't have enough cash, print a message and return + if ($totalPrice -gt $this.Cash) { + Write-Host ('You don''t have enough cash to buy that much {0}.' -f $Drug.Name) + break + } + # If the quantity being bought is greater than the number of free pockets, print a message and return + $freePockets = $this.get_FreePocketCount() + if ($Drug.Quantity -gt $freePockets) { + Write-Host ('You don''t have enough free pockets to hold that much {0}.' -f $Drug.Name) + break + } + # If the player has enough cash and free pockets, buy the drugs + $this.Cash -= $totalPrice + + Write-Host ('You bought {0} {1} for ${2}.' -f $Drug.Quantity, $Drug.Name, $totalPrice) + $this.AddDrugs($Drug) + + # Track drug purchase in Game Statistics + $script:GameStats.DrugsBought += $Drug.Quantity + } + } + # Pause for 3 seconds before returning + Start-Sleep 3 + } + + # Method to sell drugs. + [void]SellDrugs([Drug]$Drug, [int]$Quantity) { + + # Look up the drug by name in the current City's drug list. + $cityDrug = $this.City.Drugs | Where-Object { $_.Name -eq $Drug.Name } + + # Calculate the total price (using the city's price for the drug) + $totalPrice = $cityDrug.get_Price() * $Quantity + + # Check if the player has enough quantity of the drug + $drugToSell = $this.Drugs | Where-Object { $_.Name -eq $Drug.Name } + if ($drugToSell.Quantity -lt $Quantity) { + Write-Host ('You don''t have enough {0} to sell.' -f $Drug.Name) + return + } + + # If the player has enough quantity of the drug, sell the drugs + $this.RemoveDrugs($Drug, $Quantity) + $this.Cash += $totalPrice + Write-Host ('You sold {0} {1} for ${2}.' -f $Quantity, $Drug.Name, $totalPrice) + + # Track drug sale in Game Statistics + $script:GameStats.DrugsSold += $Quantity + + # Update MostCashAtOnce stats by comparing player's current cash + $script:GameStats.UpdateMostCashAtOnce($script:Player.Cash) + } + + # Method to add items to the player's Clothing collection. + [bool]AddClothing([string]$Item) { + # If the player already has the item, return false + if ($this.Clothing -contains $Item) { + return $false + } + # Otherwise, add the item to the player's Clothing and return true. + else { + $this.Clothing += $Item + return $true + } + } + + # Method to change base outfit. + [string]ChangeOutfit() { + $currentStarterClothes = $this.starterClothes | Where-Object { $this.Clothing -contains $_ } + + # Remove any clothing that is in the starterClothes list. + $this.Clothing = $this.Clothing | Where-Object { $this.starterClothes -notcontains $_ } + + # Put on a random new one, that isn't in $currentStarterClothes + $newClothing = $this.starterClothes | Where-Object { $_ -notin $currentStarterClothes } | Get-Random + + # Add the new clothing to the top of the list + $otherClothes = $this.Clothing + $this.Clothing = @($newClothing) + + # Add the other clothing back to the list (unless it's null) + if ($otherClothes) { + $this.Clothing += $otherClothes + } + + # Return the new clothing + return $newClothing + } +} + +class Gun { + [string]$Name + [string]$Type + [int]$Price + [int]$StoppingPower + [string]$Description + [string]$History + + Gun ($gunInfo) { + $this.Name = $gunInfo.Name + $this.Type = $gunInfo.Type + $this.Price = $gunInfo.Price + $this.StoppingPower = $gunInfo.StoppingPower + $this.Description = $gunInfo.Description + $this.History = $gunInfo.History + } +} +########################### +#endregion Class Definitions +############################# + +########################################## +#region Define Script-Wide Lists and Tables +############################################ +# Define drugs names and codes +$script:DrugCodes = @{ + 'AD' = 'Angel Dust' + 'CD' = 'Codeine' + 'CN' = 'Cocaine' + 'CK' = 'Crack' + 'DM' = 'DMT' + 'EC' = 'Ecstasy' + 'FT' = 'Fentanyl' + 'HN' = 'Heroin' + 'HS' = 'Hash' + 'KM' = 'Ketamine' + 'LD' = 'LSD' + 'LU' = 'Ludes' + 'MC' = 'Mescaline' + 'MN' = 'Morphine' + 'MT' = 'Meth' + 'OP' = 'Opium' + 'OX' = 'Oxy' + 'PA' = 'Peyote' + 'PO' = 'Poppers' + 'RT' = 'Ritalin' + 'SH' = 'Shrooms' + 'SP' = 'Speed' + 'VI' = 'Vicodin' + 'WD' = 'Weed' + 'XN' = 'Xanax' +} + +# Define information about each drug +$script:DrugsInfo = @{ + 'AD' = @{ + 'Name' = 'Angel Dust' + 'StreetNames' = @('PCP', 'Sherm', 'Embalming Fluid') + 'History' = 'Developed as a dissociative anesthetic, Angel Dust gained popularity in the 1960s. Discontinued for medical use due to its unpredictable and severe side effects.' + 'Effects' = 'Hallucinations, distorted perceptions of reality, increased strength, and a dissociative state.' + 'PriceRange' = @(500, 2000) + } + 'CD' = @{ + 'Name' = 'Codeine' + 'StreetNames' = @('Lean', 'Purple Drank', 'Sizzurp') + 'History' = 'Codeine is an opiate used for pain relief. It has been used recreationally, often mixed with soda and candy, particularly in hip-hop culture.' + 'Effects' = 'Euphoria, relaxation, and mild sedation.' + 'PriceRange' = @(20, 150) + } + 'CN' = @{ + 'Name' = 'Cocaine' + 'StreetNames' = @('Coke', 'Blow', 'Snow') + 'History' = 'Derived from coca plants, cocaine became popular in the 1970s and 1980s as a recreational stimulant. Its use is associated with a high risk of addiction.' + 'Effects' = 'Increased energy, alertness, and euphoria.' + 'PriceRange' = @(100, 500) + } + 'CK' = @{ + 'Name' = 'Crack' + 'StreetNames' = @('Freebase', 'Rock', 'Base') + 'History' = 'Crack cocaine is a crystallized form of cocaine. It emerged in the 1980s, contributing to the "crack epidemic" in the United States.' + 'Effects' = 'Intense, short-lived euphoria, increased heart rate, and heightened alertness.' + 'PriceRange' = @(50, 300) + } + 'DM' = @{ + 'Name' = 'DMT' + 'StreetNames' = @('Dimitri', 'Businessman''s Trip') + 'History' = 'DMT is a naturally occurring psychedelic compound found in certain plants. Its use in shamanic rituals dates back centuries.' + 'Effects' = 'Intense, short-lasting hallucinations, a sense of entering otherworldly realms.' + 'PriceRange' = @(100, 1000) + } + 'EC' = @{ + 'Name' = 'Ecstasy' + 'StreetNames' = @('MDMA', 'Molly', 'E', 'X') + 'History' = 'Originally used in psychotherapy, ecstasy gained popularity in the 1980s as a recreational drug.' + 'Effects' = 'Enhanced sensory perception, increased empathy, and heightened emotions.' + 'PriceRange' = @(5, 50) + } + 'FT' = @{ + 'Name' = 'Fentanyl' + 'StreetNames' = @('China White', 'Apache', 'Dance Fever') + 'History' = 'Developed as a potent painkiller, fentanyl has been linked to a surge in opioid-related overdoses due to its high potency.' + 'Effects' = 'Intense euphoria, drowsiness, and respiratory depression.' + 'PriceRange' = @(100, 500) + } + 'HN' = @{ + 'Name' = 'Heroin' + 'StreetNames' = @('Smack', 'Junk', 'H') + 'History' = 'Derived from morphine, heroin was initially marketed as a non-addictive alternative. Its recreational use rose in the mid-20th century.' + 'Effects' = 'Euphoria, sedation, pain relief.' + 'PriceRange' = @(50, 300) + } + 'HS' = @{ + 'Name' = 'Hash' + 'StreetNames' = @('Hashish', 'Hash Oil', 'Dabs') + 'History' = 'Hash is a concentrated form of cannabis resin. It has a long history of use in various cultures for spiritual and recreational purposes.' + 'Effects' = 'Relaxation, euphoria, altered perception of time.' + 'PriceRange' = @(10, 100) + } + 'KM' = @{ + 'Name' = 'Ketamine' + 'StreetNames' = @('Special K', 'K', 'Vitamin K') + 'History' = 'Initially used as an anesthetic, ketamine gained popularity as a recreational drug with dissociative effects.' + 'Effects' = 'Hallucinations, dissociation, altered perception of time and space.' + 'PriceRange' = @(50, 500) + } + 'LD' = @{ + 'Name' = 'LSD' + 'StreetNames' = @('Acid', 'Tabs', 'Blotter') + 'History' = 'Discovered in the 1930s, LSD became popular in the 1960s counter-culture. It''s known for its profound psychedelic effects.' + 'Effects' = 'Hallucinations, altered perception of reality, heightened sensory experiences.' + 'PriceRange' = @(50, 300) + } + 'LU' = @{ + 'Name' = 'Ludes' + 'StreetNames' = @('Quaaludes', 'Disco Biscuits') + 'History' = 'Methaqualone, commonly known as Quaaludes, was a sedative-hypnotic drug popular in the 1970s. It was later classified as a controlled substance.' + 'Effects' = 'Muscle relaxation, sedation, euphoria.' + 'PriceRange' = @(100, 800) + } + 'MC' = @{ + 'Name' = 'Mescaline' + 'StreetNames' = @('Peyote', 'Buttons', 'Cactus') + 'History' = 'Mescaline is a naturally occurring psychedelic found in certain cacti, notably peyote. It has been used in Native American rituals for centuries.' + 'Effects' = 'Visual hallucinations, altered perception, and enhanced sensory experiences.' + 'PriceRange' = @(50, 500) + } + 'MN' = @{ + 'Name' = 'Morphine' + 'StreetNames' = @('Dreamer', 'Mister Blue') + 'History' = 'Derived from opium, morphine has been used for pain relief since the 19th century. It remains a powerful opioid analgesic.' + 'Effects' = 'Pain relief, euphoria, sedation.' + 'PriceRange' = @(50, 300) + } + 'MT' = @{ + 'Name' = 'Meth' + 'StreetNames' = @('Crystal', 'Ice', 'Glass') + 'History' = 'Methamphetamine, a potent stimulant, gained popularity for recreational use and as an illicit substance in the mid-20th century.' + 'Effects' = 'Increased energy, alertness, euphoria.' + 'PriceRange' = @(50, 500) + } + 'OP' = @{ + 'Name' = 'Opium' + 'StreetNames' = @('Dopium', 'Chinese Tobacco', 'Midnight Oil') + 'History' = 'Opium has a long history of use dating back centuries. It was widely used for medicinal and recreational purposes, leading to addiction issues.' + 'Effects' = 'Pain relief, relaxation, euphoria.' + 'PriceRange' = @(100, 800) + } + 'OX' = @{ + 'Name' = 'Oxy' + 'StreetNames' = @('Oxycodone', 'Hillbilly Heroin', 'OxyContin') + 'History' = 'Oxycodone, commonly known as Oxy, is a prescription opioid. It became widely abused for its pain-relieving and euphoric effects.' + 'Effects' = 'Pain relief, relaxation, euphoria.' + 'PriceRange' = @(50, 300) + } + 'PA' = @{ + 'Name' = 'Peyote' + 'StreetNames' = @('Mescaline', 'Buttons', 'Cactus') + 'History' = 'Peyote is a small, spineless cactus containing mescaline. It has been used in Native American religious ceremonies for centuries.' + 'Effects' = 'Visual hallucinations, altered perception, and enhanced sensory experiences.' + 'PriceRange' = @(100, 800) + } + 'PO' = @{ + 'Name' = 'Poppers' + 'StreetNames' = @('Rush', 'Locker Room', 'Snappers') + 'History' = 'Poppers are a type of alkyl nitrite inhalant. They have been used recreationally, especially in club and party scenes, for their brief but intense effects.' + 'Effects' = 'Head rush, warm sensations, and intensified sensory experiences.' + 'PriceRange' = @(5, 50) + } + 'RT' = @{ + 'Name' = 'Ritalin' + 'StreetNames' = @('Rids', 'Vitamin R', 'Skittles') + 'History' = 'Ritalin, or methylphenidate, was developed in the 1950s as a treatment for attention deficit hyperactivity disorder (ADHD). FDA-approved, it has since been prescribed for ADHD and narcolepsy.' + 'Effects' = 'Stimulant effects include increased focus, alertness, and energy.' + 'PriceRange' = @(5, 50) + } + 'SH' = @{ + 'Name' = 'Shrooms' + 'StreetNames' = @('Magic Mushrooms', 'Psilocybin', 'Caps') + 'History' = 'Psychedelic mushrooms, or shrooms, have been used in various cultures for their hallucinogenic properties. They gained popularity in the counterculture movements of the 1960s.' + 'Effects' = 'Altered perception, visual hallucinations, introspective experiences.' + 'PriceRange' = @(20, 200) + } + 'SP' = @{ + 'Name' = 'Speed' + 'StreetNames' = @('Amphetamine', 'Uppers', 'Dexies') + 'History' = 'Amphetamines have a long history of medical use and gained popularity as stimulants in the mid-20th century.' + 'Effects' = 'Increased energy, alertness, heightened focus.' + 'PriceRange' = @(50, 500) + } + 'VI' = @{ + 'Name' = 'Vicodin' + 'StreetNames' = @('Hydro', 'Vikes', 'Watsons') + 'History' = 'Vicodin is a combination of hydrocodone and acetaminophen used for pain relief. It has been widely prescribed but is associated with the risk of addiction.' + 'Effects' = 'Pain relief, relaxation, mild euphoria.' + 'PriceRange' = @(100, 800) + } + 'WD' = @{ + 'Name' = 'Weed' + 'StreetNames' = @('Marijuana', 'Cannabis', 'Pot') + 'History' = 'Cannabis has been used for various purposes for thousands of years. It gained popularity for recreational use in the 20th century.' + 'Effects' = 'Relaxation, euphoria, altered sensory perception.' + 'PriceRange' = @(10, 100) + } + 'XN' = @{ + 'Name' = 'Xanax' + 'StreetNames' = @('Bars', 'Benzos', 'Zannies') + 'History' = 'Xanax, a benzodiazepine, is prescribed for anxiety. Its recreational use has become a concern due to the risk of dependence.' + 'Effects' = 'Relaxation, sedation, anti-anxiety effects.' + 'PriceRange' = @(50, 300) + } +} + +# Define available cities +$script:CityNames = @( + "Acapulco, Mexico", + "Amsterdam, Netherlands", + "Bangkok, Thailand", + "Hong Kong, China", + "Istanbul, Turkey", + "Lisbon, Portugal", + "London, UK", + "Marseilles, France", + "Medellin, Colombia", + "Mexico City, Mexico", + "Miami, USA", + "Marrakesh, Morocco", + "New York City, USA", + "Panama City, Panama", + "Phuket, Thailand", + "San Francisco, USA", + "Sydney, Australia", + "Tehran, Iran", + "Tijuana, Mexico", + "Toronto, Canada", + "Vancouver, Canada" +) + +# Define random events +$script:RandomEvents = @( + @{ + "Name" = "Busted" + "Description" = 'You were busted by the cops!' + "Effect" = { + Start-Sleep -Seconds 3 + # If player has no drugs on them, the cops leave them alone + if ($script:Player.Drugs.Count -eq 0) { + Write-Centered 'You were searched, but you didn''t have any drugs on you!' + Write-Host + + # If the player has any guns, select a random gun from the player's inventory, + # remove it, and display a message indicating which gun was taken. + if ($script:Player.Guns.Count -gt 0) { + $randomIndex = Get-Random -Minimum 0 -Maximum $script:Player.Guns.Count + $gunTaken = $script:Player.Guns[$randomIndex] + $script:Player.RemoveGun($gunTaken) + Write-Centered ('The cops let you go with a warning, but they confiscated your {0}!' -f $gunTaken.Name) -ForegroundColor DarkRed + } + else { + Write-Centered 'The cops let you go with a warning.' -ForegroundColor DarkGreen + } + + $randomNumber = Get-Random -Minimum 1 -Maximum 101 + if (($randomNumber -le 80) -and ($script:Player.Cash -gt 50)) { + Start-Sleep -Seconds 2 + # Cops let you go, but take 5% of your cash (or $50, whichever is higher) + Write-Centered '...and give you a bit of a shake-down.' -ForegroundColor Yellow + Start-Sleep -Seconds 3 + $loss = [math]::Max([int]([math]::Round($script:Player.Cash * 0.05)), 50) + $script:Player.Cash = $script:Player.Cash - $loss + Write-Host + Write-Centered ('They took ${0}!' -f $loss) -ForegroundColor DarkRed + } + + Start-Sleep -Seconds 3 + return + } + + # Calculate the bust chance. The base chance is 0%, and it increases by 5% for each $1000 the player has. Capped at 60%. + [float]$bustChance = 0.0 + if ($script:Player.Cash -gt 0) { + $bustChance = [Math]::Min($script:Player.Cash / 1000 * 0.05, 0.6) + } + + # Generate a random decimal number between 0 and 1 + [float]$randomNumber = Get-Random -Minimum 0.0 -Maximum 1.0 + # If the random number is less than or equal to the bust chance, the cops bust the player + if ($randomNumber -le $bustChance) { + if ($script:Player.get_Guns().Count -gt 0) { + Write-Centered 'You spent the night in jail and lost all your drugs and guns.' -ForegroundColor Red + } + else { + Write-Centered 'You spent the night in jail and lost all your drugs.' -ForegroundColor Red + } + + # Remove all drugs from the player's possession + $script:Player.Drugs = @() + # Remove all the player's guns. + $script:Player.DumpGuns() + # Increment the game day + AdvanceGameDay -SkipPriceUpdate + } + else { + # Create an array of messages + $messages = @( + 'They searched you, but you got away!', + 'You were searched, but managed to slip away!', + 'They tried to catch you, but you were too quick!', + 'You were almost caught, but you escaped!', + 'They attempted to search you, but you evaded them!', + 'You narrowly avoided being searched!', + 'They let you go with a warning!', + 'You played hide and seek with the search party, and you won!', + 'You turned the search into a dance-off and moonwalked out of trouble!', + 'They tried to catch you, but you hit them with your "Invisible Cloak of Inconspicuousness"(tm)!', + 'You transformed the search into a magic show and disappeared in a puff of glitter!', + 'You were almost caught, but you executed the perfect ninja smoke bomb escape!', + 'They attempted to search you, but you pulled out a trombone and started a parade distracting them!', + 'You narrowly avoided being searched by unleashing your inner contortionist and slipping through their fingers!', + 'They let you go with a warning, probably because they were impressed by your interpretive dance routine!' + ) + + # Select a random message + $message = Get-Random -InputObject $messages + + # Display the message + Write-Host + Write-Centered $message -ForegroundColor DarkGreen + } + + Start-Sleep -Seconds 3 + } + }, + @{ + "Name" = "Flash Back" + "Description" = "You trip out and lose a day!" + "Effect" = { + Tripout + AdvanceGameDay -SkipPriceUpdate + } + }, + @{ + "Name" = "Marrakesh Express" + "Description" = "The Marrakesh Express has arrived in town!" + "Effect" = { + # Add some random "Hash" Drugs to the player's inventory, if they already have Hash, just add to its quantity. + $giveAwayQuantity = Get-Random -Minimum 5 -Maximum 26 + Write-Centered ('They''re giving out {0} pockets of free Hash!' -f $giveAwayQuantity) + Write-Host + + # If they have free pockets to hold the Hash, add as much to their inventory as possible. + if ($script:Player.get_FreePocketCount() -ge 1) { + if ($script:Player.get_FreePocketCount() -lt $giveAwayQuantity) { + Write-Centered ('You only have room for {0} pockets of free Hash.' -f $script:Player.get_FreePocketCount()) -ForegroundColor Yellow + Start-Sleep -Seconds 2 + Write-Centered 'But that''s still better than a kick in the ass''! :)' + $giveAwayQuantity = $script:Player.get_FreePocketCount() + } + + $freeHash = $script:Player.Drugs | Where-Object { $_.Name -eq 'Hash' } + if ($freeHash) { + $freeHash.Quantity += $giveAwayQuantity + } + else { + $freeHash = [Drug]::new('Hash') + $freeHash.Quantity = $giveAwayQuantity + $script:Player.AddDrugs($freeHash) + } + + Write-Centered ('Filled {0} pockets with free Hash!' -f $giveAwayQuantity) -ForegroundColor DarkGreen + } + else { + Write-Centered 'Bummer! You don''t have any empty pockets to hold the free Hash.' + Start-Sleep -Seconds 3 + Write-Host + if ((Write-BlockLetters '** BURN!! **' -ForegroundColor Black -BackgroundColor DarkRed -Align Center -VerticalPadding 1) -eq $false) { + Write-Centered ' ' -BackgroundColor DarkRed + Write-Centered '** BURN!! **' -ForegroundColor Black -BackgroundColor DarkRed + Write-Centered ' ' -BackgroundColor DarkRed + } + Start-Sleep -Seconds 2 + } + } + }, + @{ + "Name" = "Bad Batch" + "Description" = "You got a bad batch of drugs. You lose 10% of your cash trying to get rid of it." + "Effect" = { + # Calculate 10% of the player's cash, rounded to the nearest dollar + $loss = [int]([math]::Round($script:Player.Cash * 0.10)) + # Subtract the loss from the player's cash. + $script:Player.Cash -= $loss + + Start-Sleep -Seconds 2 + Write-Host + Write-Centered ('You lost ${0}.' -f $loss) -ForegroundColor DarkRed + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = 'The Shadow' + "Description" = 'A shadowy figure approaches you and whispers, "Psst... I know when the next Home Drug Sale Day is..."' + "Effect" = { + # Figure out when next Home Drug sale day is from $script:HomeDrugSaleDays list + $nextSaleDay = $script:HomeDrugSaleDays | Sort-Object | Where-Object { $_ -gt $script:Player.GameDay } | Select-Object -First 1 + $daysUntilNextSale = $nextSaleDay - $script:Player.GameDay + + Start-Sleep -Seconds 3 + Write-Host + if ($nextSaleDay) { + Write-Centered ('The shadowy figure tells you that the next Home Drug Sale Day is in {0} days, on day {1}.' -f $daysUntilNextSale, $nextSaleDay) -ForegroundColor DarkYellow + } + else { + $noDrugSaleDaysLeftMsg = @( + "Ain't no more Home Drug Sale Days, pal. You snooze, you lose, capisce?", + "That Home Drug Sale Days ship sailed, buddy. Better luck next time!", + "Home Drug Sale Days? Nah, those are long gone, kid. Better ask the boss about 'em.", + "Yo, ain't no more Home Drug Sale Days, fool. Guess you missed the party, huh?", + "No more Home Drug Sale Days, champ. What, you just crawled outta a rock?", + "Those Home Drug Sale Days? Gone quicker than your paycheck, homie.", + "Forget about it! No more Home Drug Sale Days, wiseguy. Try again next year!", + "Aww, you late for Home Drug Sale Days? Too bad, player, game's over.", + "Home Drug Sale Days are history, see? You're gonna have to find your own score now.", + "No Home Drug Sale Days left, sucka. Guess you didn't get the memo!", + "Whoa, man, the Home Drug Sale Days are, like, totally over. You missed the cosmic wave, dude.", + "Home Drug Sale Days? Nah, those are long gone, brother. The universe has spoken.", + "Sorry, friend, no more Home Drug Sale Days. Guess the vibes didn't align this time.", + "Oh, bummer, dude. Home Drug Sale Days? They're, like, a thing of the past now, ya know?", + "Home Drug Sale Days? Yeah, they've floated away with the breeze, man. Better luck next trip!" + ) + + $noSaleDaysLeftMsg = Get-Random -InputObject $noDrugSaleDaysLeftMsg + Write-Centered $noSaleDaysLeftMsg -ForegroundColor DarkYellow + } + + Start-Sleep -Seconds 2 + + Write-Centered ('He then looks around and...') + Start-Sleep -Seconds 3 + $chance = Get-Random -Minimum 0 -Maximum 3 + if ($chance -eq 0) { + $cashToGive = [math]::Round($script:Player.Cash * 0.05) + $script:Player.Cash += $cashToGive + Write-Centered ('You got lucky! The shadowy figure gave you ${0}.' -f $cashToGive) -ForegroundColor DarkGreen + } + elseif ($chance -eq 1) { + $cashToTake = [math]::Round($script:Player.Cash * 0.05) + $script:Player.Cash -= $cashToTake + Write-Centered ('Oh no! The shadowy figure stuck you up and took ${0}.' -f $cashToTake) -ForegroundColor DarkRed + } + else { + Write-Centered 'Nothing happened. Get back to hustlin''!' + } + + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Someone's Wallet" + "Description" = "You found a wallet full of cash laying in the gutter!" + "Effect" = { + $gain = Get-Random -Minimum 100 -Maximum 501 + # Round the gain to the nearest 10 (Bankers' rounding). + $gain = [math]::Round($gain / 10) * 10 + $script:Player.Cash += $gain + + Start-Sleep -Seconds 2 + Write-Host + Write-Centered ('NICE! You gained ${0}.' -f $gain) -ForegroundColor DarkGreen + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Found Vape Pen" + "Description" = "You found a vape pen on the ground. Do you want to use it? (Y/N)" + "Effect" = { + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + if ($choice -eq 'Y' ) { + $experience = Get-Random -Minimum 1 -Maximum 10 + if ($experience -le 3) { + Write-Centered 'Uh oh!' -ForegroundColor DarkGreen + Start-Sleep -Seconds 2 + Write-Centered 'What was in that thing?!' + Start-Sleep -Seconds 1 + Tripout + Write-Centered 'You tripped out hard and lost a day!' + AdvanceGameDay -SkipPriceUpdate + } + else { + Start-Sleep -Milliseconds 500 + Write-Centered 'Puff...' + Start-Sleep -Milliseconds 500 + Write-Centered 'Puff...' + Start-Sleep -Seconds 2 + $randomScore = Get-Random -Minimum 1 -Maximum 12 + switch ($randomScore) { + { $_ -le 3 } { + Write-Centered ('Dude, bummer! Only {0}/10 - Harsh hit. Not exactly riding the good vibes, you know?' -f $randomScore) + } + { $_ -gt 3 -and $_ -le 6 } { + Write-Centered ('Hey cosmic traveler! {0}/10 - Decent hit. Average buzz, man.' -f $randomScore) + } + { $_ -gt 6 -and $_ -le 9 } { + Write-Centered ('Far out, dude! {0}/10 - Good hit. Nice buzz flowing through your soul.' -f $randomScore) + } + { $_ -gt 9 } { + Write-Centered ('Whoa, enlightenment achieved! {0}/10 - Amazing hit. Best vape ever, man!' -f $randomScore) + } + { $_ -gt 10 } { + Write-Host + Write-Centered ('You got so damn high, you actually GAINED A DAY!') -ForegroundColor Yellow + $script:GameDays++ + Start-Sleep -Milliseconds 750 + Write-Centered ('You now have {0} days to make as much cash as possible.' -f $script:GameDays) -ForegroundColor DarkGreen + } + } + + } + } + else { + Write-Centered 'You decided not to use the vape pen, and instead sell it to some skid for $5.' + $script:Player.Cash += 5 + } + + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Cargo Pants" + "Description" = "Groovy, man! You stumbled upon these cosmic cargo pants, packed with pockets for all your trippy treasures!" + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + if ($script:Player.AddClothing('Cargo Pants')) { + $extraPockets = 20 + $script:Player.AdjustPocketCount($extraPockets) + Write-Centered ('Far out! You''ve now got {0} extra pockets! Carryin'' more of your magic stash just got easier.' -f $extraPockets) -ForegroundColor DarkGreen + } + else { + Write-Centered 'You already have a pair of cosmic cargo pants. You decide to sell these for $20.' + $script:Player.Cash += 20 + } + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Hemp Backpack" + "Description" = "Whoa, dude! Check out this Zen hemp backpack! It's like, totally eco-friendly and has space for all your good vibes and herbal remedies." + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + if ($script:Player.AddClothing('Hemp Backpack')) { + $extraPockets = 50 + $script:Player.AdjustPocketCount($extraPockets) + Write-Centered ('Far out! You''ve now got {0} extra pockets! Carryin'' more of your magic stash just got easier.' -f $extraPockets) -ForegroundColor DarkGreen + } + else { + Write-Centered 'You already have a Zen hemp backpack. You decide to sell this one for $50.' + $script:Player.Cash += 50 + } + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Tie-dyed Poncho" + "Description" = "Far-out find, man! You snagged a psychedelic tie-dyed hemp poncho. It's like wearing a kaleidoscope of good vibes!" + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + if ($script:Player.AddClothing('Hemp Poncho')) { + $extraPockets = 10 + $script:Player.AdjustPocketCount($extraPockets) + Write-Centered ('Trippy, right? This tie-dyed hemp poncho adds {0} extra pockets to your cosmic wardrobe. Carry on, peace traveler.' -f $extraPockets) -ForegroundColor DarkGreen + } + else { + Write-Centered 'You already have a tie-dyed hemp poncho. You decide to sell this one for $10.' + $script:Player.Cash += 10 + } + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Fanny Pack" + "Description" = "Radical, dude! You found a totally tubular fanny pack. It's compact, convenient, and has room for all your gnarly gear." + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + if ($script:Player.AddClothing('Fanny Pack')) { + $extraPockets = 15 + $script:Player.AdjustPocketCount($extraPockets) + Write-Centered ('Awesome! You''ve now got {0} extra pockets! Storing your stuff just got a whole lot easier.' -f $extraPockets) -ForegroundColor DarkGreen + } + else { + Write-Centered 'You already have a fanny pack. You decide to sell this one for $15.' + $script:Player.Cash += 15 + } + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Fishing Vest" + "Description" = "Whoa, you've discovered a far-out fishing vest! It's got a whole whack of pockets for all your ""fishing gear""." + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + if ($script:Player.AddClothing('Fishing Vest')) { + $extraPockets = 75 + $script:Player.AdjustPocketCount($extraPockets) + Write-Centered ('Incredible! You''ve now got {0} extra pockets! You''ll never run out of storage space.' -f $extraPockets) -ForegroundColor DarkGreen + Write-Centered '(The loons, Norman! The loons!)' -ForegroundColor DarkGray + } + else { + Write-Centered 'You already have a fishing vest. You decide to sell this one for $75.' + $script:Player.Cash += 75 + } + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Fence Fumble" + "Description" = "Uh-oh! You tried to impressively hop a fence to escape a shady-looking character, but your acrobatics didn't quite go as planned." + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + if ($script:Player.get_PocketCount() -gt 0) { + $lostPockets = Get-Random -Minimum 1 -Maximum 4 + $script:Player.AdjustPocketCount(-$lostPockets) + Write-Centered ('Yikes! You lost {0} pockets in the fence fumble fiasco. Perhaps stealth is more your style.' -f $lostPockets) -ForegroundColor DarkRed + } + else { + Write-Centered 'Phew! Luckily, you had no pockets to lose. Maybe next time stick to a less athletic escape plan, dumpy.' + } + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Lemonade Stand" + "Description" = "Wandering through the gritty streets of Skid-Row, your eyes catch a peculiar sight - a little girl gleefully running a lemonade stand. But, as you approach, you realize this stand has a mysterious twist!" + "Effect" = { + Start-Sleep -Seconds 3 + Write-Host + $extraDrug = $script:GameDrugs | Get-Random + # Pick 5 or 10 at random + $extraDrug.Quantity = Get-Random -InputObject @(5, 10) + + $randomNumber = Get-Random -Minimum 1 -Maximum 101 + if ($script:Player.Cash -gt 2500 -and $randomNumber -le 20) { + # 20% chance of getting mugged for 25-50% of your cash + $muggedAmount = [Math]::Floor((Get-Random -Minimum ($script:Player.Cash * 0.25) -Maximum ($script:Player.Cash * 0.5)) / 10) * 10 + $script:Player.Cash -= $muggedAmount + Write-Centered ('That''s no MF''ing kid!') + Write-Centered ('That dwarf hustler at the Skid-Row Lemonade Stand just pulled a blade and mugged yo'' ass for {0} cash!' -f $muggedAmount) -ForegroundColor Red + } + else { + Write-Centered ('Whoa! The enchanting little hustler at the Skid-Row Lemonade Stand just hooked you up with {0} pockets of {1}!' -f $extraDrug.Quantity, $extraDrug.Name) -ForegroundColor DarkGreen + Write-Centered ('Your spirit is now a little more... unconventional!') + $script:Player.AddDrugs($extraDrug) + } + } + }, + @{ + "Name" = "Pocket Portal" + "Description" = "You stumble upon a mysterious portal while high. Curiosity gets the better of you, and you step through!" + "Effect" = { + Write-Centered 'Whoa, man! This portal takes you to a pocket dimension of infinite possibilities!' + Start-Sleep -Seconds 3 + Write-Host + $choice = Get-Random -Minimum 1 -Maximum 5 + $pocketCost = 10 + switch ($choice) { + 1 { + $extraPockets = 75 + $extraPocketsCost = $pocketCost * $extraPockets + Write-Centered ('You encounter a cosmic, drugged-out vendor selling magical pockets.') + Write-Centered ('Spend ${0} to get {1} extra pockets? (Y/N)' -f $extraPocketsCost, $extraPockets) + if ($script:Player.Cash -ge $extraPocketsCost) { + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + if ($choice -eq 'Y') { + $script:Player.Cash -= $extraPocketsCost + $script:Player.AdjustPocketCount($extraPockets) + Write-Centered ('You made a wise investment and gained {0} extra pockets!' -f $extraPockets) -ForegroundColor DarkGreen + } + else { + Write-Centered 'You decide not to spend your cash, and the cosmic vendor fades away. No extra pockets for you.' + } + } + else { + Write-Centered ('You don''t have enough cash to buy the magical pockets. The cosmic vendor disappears in disappointment. No extra pockets for you.') -ForegroundColor Red + } + } + 2 { + Write-Centered 'You meet a luded-out pocket guru who offers to enhance your inner pocket energy.' + Write-Centered 'Meditate for a chance to gain 10 extra pockets? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + if ($choice -eq 'Y') { + Write-Centered 'Meditating... ' -NoNewline + Start-Sleep -Seconds 2 + Write-Centered 'Ohhhmmmmmm...' + Start-Sleep -Seconds 3 + Write-Host + $success = Get-Random -Minimum 0 -Maximum 2 + if ($success -eq 1) { + $script:Player.AdjustPocketCount(10) + Write-Centered 'After a deep meditation session, you feel your inner pocket energy expand. You gained 10 extra pockets!' -ForegroundColor DarkGreen + } + else { + Write-Centered 'Your meditation doesn''t quite hit the mark, and you gain no extra pockets. Bummer, man.' + } + } + else { + Write-Centered 'You decide not to meditate, and the pocket guru drifts away into the cosmic unknown. No extra pockets for you.' + } + } + 3 { + if ($script:Player.get_PocketCount() -lt 5) { + Write-Centered ('You see a DMT-induced alien shaman, but they''re uninterested in playing a game with someone who doesn''t even have 5 pockets. No extra pockets for you.') -ForegroundColor Red + } + else { + Write-Centered 'A mischievous DMT-induced alien shaman challenges you to a game. Win, and you gain 25 extra pockets. Lose, and you lose 5 pockets.' + Write-Centered 'Play the game? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + if ($choice -eq 'Y') { + $win = Get-Random -Minimum 0 -Maximum 2 + if ($win -eq 1) { + $cosmicGames = @( + 'Hopscotch', + 'Duck, Duck, Goose', + 'Simon Says', + 'Musical Chairs', + 'Hide and Seek', + 'Tic-Tac-Toe' + ) + + $cosmicGame = Get-Random -InputObject $cosmicGames + Write-Centered ('You outwit the alien shaman in a cosmic game of {0}.' -f $cosmicGame) + Start-Sleep -Seconds 2 + $script:Player.AdjustPocketCount(25) + Write-Host + Write-Centered ('You gained 25 extra pockets!') -ForegroundColor DarkGreen + } + else { + Write-Centered 'The alien shaman proves to be a cunning opponent.' + Start-Sleep -Seconds 2 + $script:Player.AdjustPocketCount(-5) + Write-Host + Write-Centered ('You lose 5 pockets in the game. Better luck next time.') -ForegroundColor Red + } + } + else { + Write-Centered 'You decide not to play the game, and the alien shaman disappears in a puff of interdimensional smoke. No extra pockets for you.' + } + } + } + 4 { + Write-Centered 'You find a field of magical pocket flowers. Smelling one might grant you extra pockets.' + Write-Centered 'Smell a flower? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + if ($choice -eq 'Y') { + # Generate a random number between 5 and 26, divide it by 5, round up to the nearest whole number, then multiply by 5 to get the number of pockets to gain + $pocketsToGain = [Math]::Ceiling((Get-Random -Minimum 5 -Maximum 26) / 5) * 5 + Write-Centered 'The magical dank kush aroma of the pocket flower works its wonders.' + Start-Sleep -Seconds 2 + Write-Host + $script:Player.AdjustPocketCount($pocketsToGain) + Write-Centered ('You gained {0} extra pockets!' -f $pocketsToGain) -ForegroundColor DarkGreen + } + else { + Write-Centered 'You decide not to risk it, and the field of pocket flowers fades away.' + Start-Sleep -Seconds 2 + Write-Host + Write-Centered 'No extra pockets for you.' -ForegroundColor Red + } + } + } + } + }, + @{ + "Name" = "Needle Nook" + "Description" = 'You find yourself in a dimly lit alley, known to locals as the Needle Nook.' + "Effect" = { + Write-Host + Start-Sleep -Seconds 2 + $choice = Get-Random -Minimum 1 -Maximum 6 + + switch ($choice) { + 1 { + Write-Centered 'A shady dealer offers you a mysterious drug cocktail. Want to try it? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + + Write-Host + Write-Centered 'Chug! Chug! Chug!' + Start-Sleep 2 + Write-Host + + if ($choice -eq 'Y') { + $randomDrugs = ($script:GameDrugs | Get-Random -Count 4).Name -join ', ' + # replace the last ',' with "and" + $randomDrugs = $randomDrugs -replace ', ([^,]+)$', ' and $1' + $tripOutcome = Get-Random -Minimum 1 -Maximum 11 + if ($tripOutcome -le 5) { + Write-Centered ('The cocktail of {0} hits you hard, and you trip out in a neon-lit dreamscape.' -f $randomDrugs) + Tripout + Write-Centered 'You lose a day as you navigate the surreal landscapes of your mind.' -ForegroundColor Red + AdvanceGameDay -SkipPriceUpdate + } + else { + Write-Centered ('The cocktail of {0} gives you an otherworldly experience.' -f $randomDrugs) + Start-Sleep -Seconds 2 + $cashToAdd = Get-Random -Minimum 20 -Maximum 501 + Write-Centered ('You find some extra cash in your pocket (after you barf and come down)... ${0}!' -f $cashToAdd) -ForegroundColor DarkGreen + $script:Player.Cash += $cashToAdd + } + } + else { + Write-Centered 'You decide to pass on the shady dealer''s offer, and they disappear into the shadows. No risk, no reward.' + } + } + 2 { + Write-Centered 'A grizzled junkie challenges you to a game of street smarts.' + Write-Centered 'Accept the challenge? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + + Write-Host + + if ($choice -eq 'Y') { + Write-Centered 'You and the junkie face off in a battle of wits.' + Start-Sleep 2 + Write-Host + $triviaQuestionsAnswers = @( + @{ + "Question" = "What's the global party favour that's greener than the Hulk and chills everyone out?" + "Answer" = "Cannabis (marijuana)" + }, + @{ + "Question" = "Which drug gets you zooming like The Flash and is known as the life of the party?" + "Answer" = "Amphetamines" + }, + @{ + "Question" = "What's the name for the mood-killer that turns the party into a snoozefest, slowing everyone down?" + "Answer" = "Barbiturates" + }, + @{ + "Question" = "What's the heavy hitter responsible for more dropouts than algebra class?" + "Answer" = "Fentanyl" + }, + @{ + "Question" = "What do you call catching clouds for a mind-altering high in the vape nation?" + "Answer" = "Inhalant abuse" + }, + @{ + "Question" = "Which drug, when injected, can turn your night into a speedball symphony when mixed with the right partner?" + "Answer" = "Cocaine" + }, + @{ + "Question" = "What's the street name for the brain trip derived from a Mexican fungus that'll have you talking to cacti?" + "Answer" = "Psilocybin or 'magic mushrooms'" + }, + @{ + "Question" = "What's the fancy term for playing chemical roulette with multiple substances, cranking up the risk for epic fails?" + "Answer" = "Polydrug use or poly-substance use" + }, + @{ + "Question" = "Snort it, shoot it, and ride the rollercoaster from ecstasy to epic fail. What's the name of this wild ride?" + "Answer" = "Cocaine" + }, + @{ + "Question" = "What's the street slang for the psychedelic joyride fuelled by morning glory seeds that'll have you liberating your mind?" + "Answer" = "LSA or 'liberation'" + }, + @{ + "Question" = "What's the official term for using drugs as a therapist to kick stress, anxiety, and mental drama to the curb?" + "Answer" = "Substance use disorder or addiction" + }, + @{ + "Question" = "What's the name of the stimulant straight outta Hollywood that'll have you buzzing like a hummingbird?" + "Answer" = "Khat" + }, + @{ + "Question" = "What's the street lingo for the trippy journey with the yew tree bark that'll make you see colors even Tim Burton hasn't dreamt of?" + "Answer" = "Amanita muscaria" + }, + @{ + "Question" = "What do you call the backstage pass to superhuman abilities, laser focus, and alertness?" + "Answer" = "Performance-enhancing drugs" + }, + @{ + "Question" = "What's the white powder powerhouse derived from the coca plant that'll turn your night into a blockbuster?" + "Answer" = "Cocaine" + }, + @{ + "Question" = "What's the remedy for a sleepless night that'll have you counting sheep like you're on a psychedelic farm?" + "Answer" = "Sleeping pills" + }, + @{ + "Question" = "What's the street term for the cactus-powered psychedelic voyage that'll make you feel one with the desert?" + "Answer" = "Peyote" + } + ) + + # Display 5 random questions and answers, with a 3 second pause between each. + $triviaQuestionsAnswers | Get-Random -Count 5 | ForEach-Object { + Write-Centered $_.Question -ForegroundColor DarkCyan + Start-Sleep -Milliseconds (Get-Random -Minimum 1000 -Maximum 3001) + if ((Get-Random -Minimum 0 -Maximum 2) -eq 1) { + Write-Centered $_.Answer -ForegroundColor DarkMagenta + Start-Sleep -Milliseconds 750 + Write-Centered 'Right!' -ForegroundColor DarkGreen + } + else { + $randomAnswers = @( + 'Noodle.', + 'Dinosaur.', + 'Yo'' momma!', + 'The answer is 42.', + 'Cows go moo.' + ) + Write-Centered ($randomAnswers | Get-Random) -ForegroundColor DarkYellow + Start-Sleep -Milliseconds 750 + $youWrongStatements = @( + 'Wrong!', + 'Nope!', + 'Not even close!', + 'Dummy!', + 'Are you high?', + 'Incorrect, schmuck!', + 'Lay off the smack, Jack.' + ) + Write-Centered ($youWrongStatements | Get-Random) -ForegroundColor DarkRed + } + Start-Sleep -Seconds 2 + Write-Host + } + + $win = Get-Random -Minimum 0 -Maximum 2 + $amount = Get-Random -Minimum 10 -Maximum 301 + if ($win -eq 1) { + Write-Centered ('You outwit the junkie in a quick game of street trivia. He rewards you with ${0} cash.' -f $amount) -ForegroundColor DarkGreen + $script:Player.Cash += $amount + } + else { + Write-Centered ('The junkie proves to be a street-smart master, and you lose ${0} cash trying to impress him.' -f $amount) -ForegroundColor Red + $script:Player.Cash -= $amount + } + } + else { + Write-Centered 'You decide not to engage in a street smarts competition, and the junkie nods understandingly, returning to his own world.' + } + } + 3 { + Write-Centered 'You come across a hidden stash of drugs. Do you want to take them? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + + Write-Host + Write-Centered 'Yoink!' + Start-Sleep 2 + Write-Host + + if ($choice -eq 'Y') { + $randomDrug = $script:GameDrugs | Get-Random + $randomDrug.Quantity = Get-Random -Minimum 5 -Maximum 16 + $mobBeatChance = Get-Random -Minimum 1 -Maximum 101 + if ($mobBeatChance -le 30) { + Write-Centered ('You find a stash of {0}, but before you can celebrate {1} jumps you!' -f $randomDrug.Name, (Get-Random -InputObject $script:MobBossNames)) + Start-Sleep 2 + Write-Centered ('They beat you up, take back their drugs, and you spend a day recovering in the hospital.') -ForegroundColor Red + AdvanceGameDay -SkipPriceUpdate + } + else { + $script:Player.AddDrugs($randomDrug) + Write-Centered ('You find a {0}-pocket stash of {1}, adding it to your inventory. The alley holds its secrets.' -f $randomDrug.Quantity, $randomDrug.Name) -ForegroundColor DarkGreen + } + } + else { + Write-Centered 'You decide not to take the drugs, leaving the hidden stash undisturbed.' + } + } + 4 { + Write-Centered 'A graffiti-covered door catches your eye. Do you want to enter? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + + Start-Sleep 2 + Write-Host + + if ($choice -eq 'Y') { + Write-Centered 'You cautiously enter the door and discover a hidden underground club. The beats are pumping, and the atmosphere is wild.' + Start-Sleep -Seconds 2 + $randomCash = [math]::Round((Get-Random -Minimum 30 -Maximum 201) / 10) * 10 + $script:Player.Cash += $randomCash + Write-Centered ('You spend the night dancing and end up finding ${0} cash on the dance floor.' -f $randomCash) -ForegroundColor DarkGreen + } + else { + Write-Centered 'You decide not to enter the mysterious door ''cause you''ve got shit to get done.' + } + } + 5 { + Write-Centered 'A disheveled artist offers to sketch your portrait in exchange for some cash. Interested? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + + Start-Sleep 2 + Write-Host + + if ($choice -eq 'Y') { + $portraitCost = [math]::Round((Get-Random -Minimum 5 -Maximum 16) / 5) * 5 + $script:Player.Cash -= $portraitCost + Write-Centered ('The artist captures your essence in a gritty portrait. You pay him ${0} for his unique creation.' -f $portraitCost) + + $hashQuantity = Get-Random -Minimum 1 -Maximum 6 + if ($script:Player.get_FreePocketCount() -ge $hashQuantity) { + Write-Host + Write-Centered ('As a bonus, the artist hands you {0} pockets of Hash.' -f $hashQuantity) -ForegroundColor DarkGreen + $freeHash = [Drug]::new('Hash') + $freeHash.Quantity = $hashQuantity + $script:Player.AddDrugs($freeHash) + } + else { + Write-Centered 'The artist wanted to give you some Hash, but you don''t have enough free pockets. What a bummer!' + } + } + else { + Write-Centered 'You decline the artist''s offer, leaving him to his creative endeavors in the alley.' + } + } + } + } + }, + @{ + "Name" = "Cocaine Conundrum" + "Description" = "Oh dear, you find yourself cornered by a self-proclaimed cocaine connoisseur. This enthusiastic individual insists on sharing their 'expertise' and believes they are the absolute BEST at doing cocaine." + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + Write-Centered 'You try to escape, but the self-proclaimed cocaine expert has you trapped in a pointless conversation about their "skills."' + Start-Sleep -Seconds 3 + + $awkwardnessLevel = Get-Random -Minimum 1 -Maximum 4 + + switch ($awkwardnessLevel) { + 1 { + Write-Centered 'The cocaine aficionado insists their nose is the most finely tuned instrument for the job.' + } + 2 { + Write-Centered 'They start demonstrating their "perfect" snorting technique, much to your dismay.' + } + 3 { + Write-Centered 'In an attempt to impress you, they share a bizarre list of "achievements" related to their cocaine adventures.' + } + default { + Write-Centered 'You can''t help but wonder how you ended up in this peculiar conversation about someone being the BEST at doing cocaine.' + } + } + + Start-Sleep -Seconds 2 + Write-Host + Write-Host 'How would you like to react?' + Write-Host '1. Politely nod and pretend to be impressed.' + Write-Host '2. Burst into laughter and call their bluff.' + Write-Host '3. Attempt to challenge them with your own made-up cocaine "skills."' + + $playerChoice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character + + Write-Host + switch ($playerChoice) { + 1 { + Write-Centered 'You decide to play along, nodding as if genuinely impressed. The cocaine fiend beams with pride, convinced they''ve found an admirer.' + } + 2 { + Write-Centered 'Unable to contain yourself, you burst into laughter. The cocaine expert looks offended, muttering something about "non-believers" before storming off.' + } + 3 { + Write-Centered 'In a bold move, you attempt to challenge their skills with your own absurd and entirely made-up cocaine "techniques"...' + Start-Sleep -Seconds 2 + $cokeTechniques = @( + 'You decided to try the latest trend and indulged in a refreshing Cocaine Snow Cone. That''s some GOOD SLUSHIE!', + 'In a desperate attempt to boost your energy levels, you resorted to the unconventional Cocaine Coffee Enema, which left you feeling both invigorated and mortified.', + 'Three words... Cocaine Chocolate Fondue.', + 'You draw a steaming bubble bath and, with a wicked grin, added a generous dose of Cocaine Infused Bubble Bath, you hop in an scrub until your LIT!', + 'You shove copious amounts of cocaine where the sun don''t shine, and start dancing around while singing "White Lines" by Grandmaster Flash and Melle Mel.' + ) + + $cokeTechnique = Get-Random -InputObject $cokeTechniques + Write-Host + Write-Centered $cokeTechnique + + Start-Sleep -Seconds 2 + Write-Host + Write-Centered 'The fiend is left bewildered, questioning your sanity, but now we all know' + Write-Centered 'YOU''RE THE BEST AT DOING COCAINE!' + } + default { + Write-Centered 'You stand there, paralyzed by the absurdity of the situation. The cocaine fiend continues their monologue, oblivious to your internal crisis.' + } + } + + Start-Sleep -Seconds 3 + Write-Host + Write-Centered 'You finally manage to escape the cocaine connoisseur, but not before losing a day to their ramblings.' -ForegroundColor Red + $cocaine = [Drug]::new('Cocaine') + $cocaine.Quantity = Get-Random -Minimum 2 -Maximum 6 + + # If the user has enough free pockets, add the cocaine to their inventory + if ($script:Player.get_FreePocketCount() -ge $cocaine.Quantity) { + Write-Host + Write-Centered 'But at least they gave you some cocaine to make up for it!' + $script:Player.AddDrugs($cocaine) + Write-Centered ('You gained {0} pockets of Cocaine.' -f $cocaine.Quantity) -ForegroundColor DarkGreen + } + + Write-Host + AdvanceGameDay -SkipPriceUpdate + } + }, + @{ + "Name" = "Stanky Slingshot" + "Description" = "Eww! In the grimy depths under the sink of a public washroom, you stumble upon a slingshot taped to the bottom. It's covered in gunk, but it might come in handy." + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + + # Gather slingshot info + $slingshotInfo = $script:GunInfo | Where-Object { $_.Name -eq 'Slingshot' } + + # Check if player already has a slingshot + $hasSlingshot = $script:Player.get_Guns() | Where-Object { $_.Name -eq 'Slingshot' } + + if (!$hasSlingshot) { + Write-Centered 'You bravely retrieve the slingshot, wiping off the filth as best as you can. It is now added to your inventory.' -ForegroundColor Green + $script:Player.AddGun($slingshotInfo) | Out-Null + } + else { + $sellPrice = [math]::Round($slingshotInfo.Price / 2) + Write-Centered ('You already have a slingshot. You decide to sell it to a hopped-up junkie for ${0}, making a quick profit.' -f $sellPrice) -ForegroundColor Yellow + $script:Player.Cash += $sellPrice + } + Start-Sleep -Seconds 2 + } + } +) + +# Define game guns +$script:GunInfo = @( + @{ + Name = "Slingshot" + Type = "Projectile weapon" + StoppingPower = 1 + Price = 200 + Description = "A projectile weapon with minimal stopping power, often used for hunting small game or as a recreational activity." + History = "Slingshots have been used for thousands of years, with evidence of their use dating back to ancient civilizations such as the Egyptians, Greeks, and Romans." + Onomatopoeia = "Thwack!" + }, + @{ + Name = "Single-shot shotgun" + Type = "Shotgun" + StoppingPower = 2 + Price = 600 + Description = "A traditional shotgun with only one barrel, which has limited stopping power compared to a pump or semi-automatic shotgun." + History = "The shotgun has its origins in the early 18th century, with the invention of the smoothbore, flintlock firearm. Over time, it has evolved into the modern shotguns we know today." + Onomatopoeia = "Boom!" + }, + @{ + Name = ".22 caliber rimfire pistol" + Type = "Pistol" + StoppingPower = 3 + Price = 1000 + Description = "A small-caliber pistol with limited stopping power, often used for target practice and plinking." + History = "The .22 caliber rimfire cartridge was introduced in 1857 by the British firm, Royal Small Arms Factory. It has since become the most popular caliber for firearms worldwide." + Onomatopoeia = "Pew!" + }, + @{ + Name = "Derringer" + Type = "Pistol" + StoppingPower = 4 + Price = 1400 + Description = "A small, pocket-sized pistol with minimal stopping power, typically chambered in .410 gauge or .22 caliber rimfire." + History = "The Derringer was invented by Henry Derringer in the early 19th century and gained popularity as a concealable weapon for personal protection." + Onomatopoeia = "Bang!" + }, + @{ + Name = "Glock 17" + Type = "Pistol" + StoppingPower = 5 + Price = 1800 + Description = "A semi-automatic pistol with moderate stopping power." + History = "The Glock 17 was introduced in 1982 by Austrian gunmaker Gaston Glock. It has since become one of the most popular handguns worldwide, known for its reliability and ease of use." + Onomatopoeia = "Bam!" + }, + @{ + Name = "Desert Eagle" + Type = "Pistol" + StoppingPower = 6 + Price = 2200 + Description = "A large-frame semi-automatic pistol with significant stopping power." + History = "The Desert Eagle was designed by Magnum Research in the late 1970s and early 1980s. It is known for its powerful .50 AE caliber and unique appearance." + Onomatopoeia = "Boom!" + }, + @{ + Name = "M1911" + Type = "Pistol" + StoppingPower = 7 + Price = 2600 + Description = "A semi-automatic pistol with moderate to high stopping power." + History = "The M1911, also known as the Model 1911 or Colt 1911, is a single-action, semi-automatic pistol chambered in .45 ACP. It was designed by John Browning and adopted by the United States Armed Forces in 1911." + Onomatopoeia = "Bang!" + }, + @{ + Name = "Uzi" + Type = "Submachine gun" + StoppingPower = 8 + Price = 3000 + Description = "A submachine gun with moderate stopping power." + History = "The Uzi was designed by Major Uziel Gal of the Israel Defense Forces in the 1940s and 1950s. It became widely known for its use by Israeli military and police forces, as well as various other militaries and law enforcement agencies around the world." + Onomatopoeia = "Rat-a-tat-tat!" + }, + @{ + Name = "MAC-10" + Type = "Submachine gun" + StoppingPower = 9 + Price = 3400 + Description = "A submachine gun with moderate stopping power." + History = "The MAC-10, or Machine Pistol, was designed by George Kolay in the 1960s as a compact and concealable firearm. It gained notoriety in the 1970s and 1980s for its use in criminal activities, earning it the nickname `"Crime-tech`"." + Onomatopoeia = "Rat-a-tat-tat!" + }, + @{ + Name = "Colt Python" + Type = "Revolver" + StoppingPower = 7 + Price = 2700 + Description = "A revolver with high stopping power." + History = "The Colt Python is a large-frame, double-action revolver produced by the Colt's Manufacturing Company. It was introduced in 1955 and is known for its power, accuracy, and reliability." + Onomatopoeia = "Bang!" + }, + @{ + Name = "Tommy Gun" + Type = "Submachine gun" + StoppingPower = 10 + Price = 4200 + Description = "A classic submachine gun with moderate to high stopping power, known for its high rate of fire and ease of use." + History = "The Thompson submachine gun, or Tommy Gun, was designed by John T. Thompson in 1918. It was widely used by law enforcement and military forces in the 1920s and 1930s, and has since become an iconic symbol of the Prohibition era and the gangster culture of that time." + Onomatopoeia = "Rat-a-tat-tat!" + }, + @{ + Name = "Barrett M82" + Type = "Sniper rifle" + StoppingPower = 10 + Price = 4600 + Description = "A powerful .50 caliber sniper rifle, used by drug lords for its long-range accuracy and destructive power." + History = "The Barrett M82, also known as the M82A1, is a .50 caliber anti-materiel rifle developed by the American company Barrett Firearms. It was introduced in the 1980s and has since become one of the most recognized sniper rifles in the world." + Onomatopoeia = "Crack!" + }, + @{ + Name = "AK-47" + Type = "Assault rifle" + StoppingPower = 10 + Price = 5000 + Description = "An assault rifle with high stopping power." + History = "The AK-47, also known as the Kalashnikov or Avtomat Kalashnikova, is a gas-operated, 7.62×39mm assault rifle developed in the Soviet Union by Mikhail Kalashnikov. It was introduced in 1947 and has since become one of the most widely used and recognizable firearms in the world." + Onomatopoeia = "Blam! Blam! Blam! Blam! Blam! Blam..... BLAM!" + }, + @{ + Name = "AR-15" + Type = "Semi-automatic rifle" + StoppingPower = 10 + Price = 5000 + Description = "A semi-automatic rifle with moderate to high stopping power." + History = "The AR-15, developed by American firearms designer Eugene Stoner, was first produced in the early 1960s. It was originally designed as a lightweight, adaptable rifle for various purposes, including sport shooting, hunting, and military use. Over time, it has become one of the most popular semi-automatic rifles in the United States." + Onomatopoeia = "Bang! Bang! Bang! Bang! Bang! Bang! Bang! Bang! Bang!" + }, + @{ + Name = "FN FAL" + Type = "Battle rifle" + StoppingPower = 10 + Price = 5000 + Description = "A battle rifle with high stopping power." + History = "The FN FAL, or Fabrique Nationale Fusil Automatique Leger, is a battle rifle developed by the Belgian firearms manufacturer Fabrique Nationale de Herstal. It was introduced in the late 1940s and was widely used by various militaries around the world during the Cold War era." + Onomatopoeia = "Ka-chunk! Bang!" + } +) + +# Define Mob Boss Names +$script:MobBossNames = @( + 'Angela "Angel Dust" Amato', + 'Benny "LSD Baron" Barzini', + 'Frankie "Crystal Clear" Corleone', + 'Janny "Two-Titz"', + 'Jimmy "Hash Hustler" Capone', + 'Louie "Molly Maestro" Lombardi', + 'Maria "The Mixer" Martino', + 'Mikey "Blow Boss" Moretti', + 'Nick "Narcotics Napper" Napoli', + 'Rocco "Coke Cowboy" Colombo', + 'Sal "Opium Queenpin" Santoro', + 'Tony "White Lines" Bianchi', + 'Vinny "The Chemist" Marino' +) +############################################# +#endregion Define Script-Wide Lists and Tables +############################################### + +########################### +#region Function Definitions +############################# +# Function that will Exit if console size is not at least 80x25. +function CheckConsoleSize { + if ($Host.UI.RawUI.WindowSize.Width -lt 120 -or $Host.UI.RawUI.WindowSize.Height -lt 30) { + Write-Host 'Please resize your console window to at least 120 x 30 and run the script again.' -ForegroundColor Red + Write-Host ('Current size: {0}x{1}' -f $Host.UI.RawUI.WindowSize.Width, $Host.UI.RawUI.WindowSize.Height) -ForegroundColor Red + Exit 666 + } +} + +# Function to move up N lines to overwrite, optionally clearing them. +function OverWriteLastLines { + param ( + [Parameter(Position = 1)] + [int32]$Count = 1, + [switch]$WithClear + ) + + $CurrentLine = $Host.UI.RawUI.CursorPosition.Y + $ConsoleWidth = $Host.UI.RawUI.BufferSize.Width + + if ($WithClear) { + for ($i = 1; $i -le $Count; $i++) { + [Console]::SetCursorPosition(0, ($CurrentLine - $i)) + [Console]::Write("{0,-$ConsoleWidth}" -f ' ') + } + + } + + [Console]::SetCursorPosition(0, ($CurrentLine - $Count)) +} + +# Displays provided text in center of console. +function Write-Centered { + param ( + [Parameter(Mandatory)] + [string]$Text, + [switch]$NoNewline, + [AllowNull()] + $BackgroundColor = $null, + [AllowNull()] + $ForegroundColor = $null + ) + + # Create hashtable of parameters, so we can splat them to Write-Host. + $params = @{ + NoNewline = $NoNewline + BackgroundColor = $BackgroundColor + ForegroundColor = $ForegroundColor + } + + # Create a new hashtable excluding entries with null values. + $filteredParams = @{} + foreach ($key in $params.Keys) { + $value = $params[$key] + if ($null -ne $value) { + $filteredParams[$key] = $value + } + } + + # Get console width + $consoleWidth = $Host.UI.RawUI.WindowSize.Width + + # If the text is longer than the console width -2, split the Text into an array of multiple lines... + # Create a new list to store the lines of text + $textList = New-Object System.Collections.Generic.List[string] + + # Check if the length of the text is greater than the console width minus 2 + if ($Text.Length -gt ($consoleWidth - 2)) { + # Store the length of the text and the maximum line length + $textLength = $Text.Length + $lineLength = $consoleWidth - 2 + + # Loop while there is still text left + while ($textLength -gt 0) { + # Calculate the end index for the substring + $endIndex = [math]::Min($lineLength, $textLength) + # Extract the substring from the text + $stringToAdd = $Text.Substring(0, $endIndex) + + # Check if the string contains a space and if the text length is not equal to the end index + $shouldTruncate = $stringToAdd.Contains(' ') -and ($textLength -ne $endIndex) + if ($shouldTruncate) { + # Find the last space in the string + $lastSpace = $stringToAdd.LastIndexOf(' ') + # Truncate the string at the last space + $stringToAdd = $stringToAdd.Substring(0, $lastSpace + 1) + } + + # Add the string to the list and trim it + $textList.Add($stringToAdd.Trim()) + # Remove the string from the text and trim it + $Text = $Text.Substring($stringToAdd.Length).Trim() + # Update the text length + $textLength = $Text.Length + } + } + else { + # If the text is not longer than the console width minus 2, add it to the list as is + $textList.Add($Text) + } + + # Iterate through each line in the array + foreach ($line in $textList) { + # Calculate padding to center text + $padding = [math]::Max(0, [math]::Floor((($consoleWidth - $line.Length) / 2))) + + # Calculate right padding + $rightPadding = $consoleWidth - $line.Length - $padding + + # If right padding is negative, set it to zero + if ($rightPadding -lt 0) { + $rightPadding = 0 + } + + # Write text to console with padding, using the filtered parameters. + Write-Host ((' ' * $padding) + $line + (' ' * $rightPadding)) @filteredParams + } +} + +# Function to write large block letters to the console, based on provided text. +function Write-BlockLetters { + param ( + [Parameter(Mandatory = $true)] + [string]$Text, + [ValidateSet("Left", "Center", "Right")] + [string]$Align = "Left", + [ConsoleColor]$ForegroundColor = $Host.UI.RawUI.ForegroundColor, + [ConsoleColor]$BackgroundColor = $Host.UI.RawUI.BackgroundColor, + [int]$VerticalPadding = 0 + ) + + # Define the mapping of characters to their block letter representations + $blockLetters = @{ + 'A' = @( + " # ", + " # # ", + "#####", + "# #", + "# #" + ) + 'B' = @( + "#### ", + "# #", + "#### ", + "# #", + "#### " + ) + 'C' = @( + " ### ", + "# #", + "# ", + "# #", + " ### " + ) + 'D' = @( + "#### ", + "# #", + "# #", + "# #", + "#### " + ) + 'E' = @( + "#####", + "# ", + "#### ", + "# ", + "#####" + ) + 'F' = @( + "#####", + "# ", + "#### ", + "# ", + "# " + ) + 'G' = @( + " ### ", + "# ", + "# ##", + "# #", + " ### " + ) + 'H' = @( + "# #", + "# #", + "#####", + "# #", + "# #" + ) + 'I' = @( + "#####", + " # ", + " # ", + " # ", + "#####" + ) + 'J' = @( + "#####", + " # ", + " # ", + "# # ", + " ## " + ) + 'K' = @( + "# #", + "# # ", + "### ", + "# # ", + "# #" + ) + 'L' = @( + "# ", + "# ", + "# ", + "# ", + "#####" + ) + 'M' = @( + "# #", + "## ##", + "# # #", + "# #", + "# #" + ) + 'N' = @( + "# #", + "## #", + "# # #", + "# ##", + "# #" + ) + 'O' = @( + " ### ", + "# #", + "# #", + "# #", + " ### " + ) + 'P' = @( + "#### ", + "# #", + "#### ", + "# ", + "# " + ) + 'Q' = @( + " ### ", + "# #", + "# # #", + "# # ", + " ## #" + ) + 'R' = @( + "#### ", + "# #", + "#### ", + "# # ", + "# ##" + ) + 'S' = @( + " ####", + "# ", + " ### ", + " #", + "#### " + ) + 'T' = @( + "#####", + " # ", + " # ", + " # ", + " # " + ) + 'U' = @( + "# #", + "# #", + "# #", + "# #", + " ### " + ) + 'V' = @( + "# #", + "# #", + "# #", + " # # ", + " # " + ) + 'W' = @( + "# #", + "# #", + "# # #", + "## ##", + "# #" + ) + 'X' = @( + "# #", + " # # ", + " # ", + " # # ", + "# #" + ) + 'Y' = @( + "# #", + " # # ", + " # ", + " # ", + " # " + ) + 'Z' = @( + "#####", + " # ", + " # ", + " # ", + "#####" + ) + '0' = @( + " ### ", + "# #", + "# # #", + "# #", + " ### " + ) + '1' = @( + " # ", + "## ", + " # ", + " # ", + "###" + ) + '2' = @( + " ### ", + "# #", + " ## ", + " # ", + "#####" + ) + '3' = @( + " ### ", + "# #", + " ## ", + "# #", + " ### " + ) + '4' = @( + "# # ", + "# # ", + "#####", + " # ", + " # " + ) + '5' = @( + "#####", + "# ", + "#### ", + " #", + "#### " + ) + '6' = @( + " ### ", + "# ", + "#### ", + "# #", + " ### " + ) + '7' = @( + "#####", + " # ", + " # ", + " # ", + "# " + ) + '8' = @( + " ### ", + "# #", + " ### ", + "# #", + " ### " + ) + '9' = @( + " ### ", + "# #", + " ####", + " #", + " ### " + ) + '.' = @( + " ", + " ", + " ", + " ", + " # " + ) + '?' = @( + " ### ", + "# #", + " # ", + " ", + " # " + ) + '!' = @( + "##", + "##", + "##", + " ", + "##" + ) + '$' = @( + " ### ", + "# # ", + " ### ", + " # #", + " ### " + ) + '-' = @( + " ", + " ", + "####", + " ", + " " + ) + '+' = @( + " ", + " # ", + "###", + " # ", + " " + ) + '=' = @( + " ", + "####", + " ", + "####", + " " + ) + '_' = @( + " ", + " ", + " ", + " ", + "####" + ) + ' ' = @( + " ", + " ", + " ", + " ", + " " + ) + '<' = @( + " #", + " # ", + "# ", + " # ", + " #" + ) + '>' = @( + "# ", + " # ", + " #", + " # ", + "# " + ) + '@' = @( + " ### ", + "# #", + "# ###", + "# # #", + "# ###" + ) + '#' = @( + " # # ", + "#####", + " # # ", + "#####", + " # # " + ) + '%' = @( + "# #", + " # ", + " # ", + " # ", + "# #" + ) + '^' = @( + " # ", + "# #", + " ", + " ", + " " + ) + '&' = @( + " ## ", + "# # ", + " ## ", + "# # ", + " ## #" + ) + '*' = @( + " # ", + "# # #", + " ### ", + "# # #", + " # " + ) + '(' = @( + " #", + "# ", + "# ", + "# ", + " #" + ) + ')' = @( + "# ", + " #", + " #", + " #", + "# " + ) + ':' = @( + " ", + "#", + " ", + "#", + " " + ) + ';' = @( + " ", + " #", + " ", + " #", + "# " + ) + ',' = @( + " ", + " ", + " ", + " #", + "# " + ) + '''' = @( + " #", + "# ", + " ", + " ", + " " + ) + '"' = @( + " # # ", + " # # ", + " ", + " ", + " " + ) + } + + # Convert the input text to block letters and create an array of lines containing the block letters + $TextUpper = $Text.ToUpper() + $lines = for ($i = 0; $i -lt 5; $i++) { + $line = foreach ($char in [char[]]$TextUpper) { + $char = $char.ToString() + if ($blockLetters.ContainsKey($char)) { + $blockLetters[$char][$i] + " " + } + else { + $blockLetters['?'][$i] + " " + } + } + # Join the line array into a string and trim the last character + $joinedLine = $line -join "" + $joinedLine.Substring(0, $joinedLine.Length - 1) + } + + # Get width of the longest line (as integer) + $longestLine = ($lines | Measure-Object -Property Length -Maximum).Maximum + + # Add blank vertical padding lines to the top and bottom $lines array that are as wide as the longest line. + for ($i = 0; $i -lt $VerticalPadding; $i++) { + $lines = @(" " * $longestLine) + $lines + @(" " * $longestLine) + } + + # Get the console width + $consoleWidth = $Host.UI.RawUI.WindowSize.Width + + # Calculate the padding based on the chosen alignment and console width + switch ($Align) { + "Left" { + $leftPadding = 0 + } + "Center" { + $leftPadding = [Math]::Floor(($consoleWidth - $longestLine) / 2) + if ($leftPadding -lt 0) { + $leftPadding = 0 + } + $rightPadding = $consoleWidth - $longestLine - $leftPadding + if ($rightPadding -lt 0) { + $rightPadding = 0 + } + } + "Right" { + $leftPadding = $consoleWidth - $longestLine + } + } + + if ($consoleWidth -lt ($longestLine + 2)) { + # If the console width is less than the longest line plus 2, return false + return $false + } + else { + # Write the text to the console as block characters, line by line. + $lines | ForEach-Object { + $line = $_ + + if ($Align -eq "Center") { + # Right padding is added so we can fill it with spaces/background colour when using centered alignment. + $line = (" " * $leftPadding) + $line + (" " * $rightPadding) + } + else { + $line = (" " * $leftPadding) + $line + } + + # If $line is empty (i.e. all spaces), write the line as a whole + if ($line.Trim().Length -eq 0) { + Write-Host $line -NoNewline -BackgroundColor $BackgroundColor + } + else { + # Write the line to the console, character by character + for ($i = 0; $i -lt $line.Length; $i++) { + $char = $line[$i] + + # If the character is a space, write a space with the background color, otherwise write a space with the foreground color (to represent a lit pixel in the character). + if ($char -eq " ") { + Write-Host " " -NoNewline -BackgroundColor $BackgroundColor + } + else { + Write-Host " " -NoNewline -BackgroundColor $ForegroundColor + } + } + } + + # Add New Line to end. + Write-Host + } + } +} + +# Generates a list of distinct sale days, ensuring each is a certain number of days apart. +function GenerateSaleDays { + param ( + [Parameter(Mandatory = $true)] + [int]$SaleDaysCount, + [Parameter(Mandatory = $true)] + [int]$DaysApart + ) + + $saleDays = @() + + while ($saleDays.Count -lt $SaleDaysCount) { + $randomDay = Get-Random -Minimum 1 -Maximum $script:GameDays + if ($saleDays.Count -eq 0) { + $saleDays += $randomDay + } + else { + $validDay = $true + foreach ($day in $saleDays) { + if ([math]::Abs($day - $randomDay) -lt $DaysApart) { + $validDay = $false + break + } + } + if ($validDay) { + $saleDays += $randomDay + } + } + } + + return $saleDays +} + +function IsHomeDrugSaleDay { + param ( + [int]$Day = $script:Player.GameDay + ) + + return [bool]($script:HomeDrugSaleDays -contains $Day) +} + +# Initialize game state +function InitGame { + # Game settings + $startingCash = 2000 + $startingPockets = 100 + $cityCount = 8 + $gameDrugCount = 10 + $cityDrugCount = 6 + + $script:GameDays = 30 + $script:GameOver = $false + $script:RandomEventChance_Start = 10 # Percentage + $script:RandomEventChance_Current = $script:RandomEventChance_Start + + # Creat object to hold Game Statistics + $script:GameStats = [GameStats]::new() + + # Setup Home Drug sale days + $script:HomeDrugSaleDays = GenerateSaleDays -SaleDaysCount 4 -DaysApart 5 + + # Create and populate the drugs available for this game session. + [Drug[]]$script:GameDrugs = InitGameDrugs -DrugCount $gameDrugCount + + # Create and populate the cities available for this game session. + [City[]]$script:GameCities = InitGameCities -CityCount $cityCount -MaxDrugCount $cityDrugCount + + # Create player object, and populate with game-starting values. + [Player]$script:Player = [Player]::new() + $script:Player.Cash = $startingCash + $script:Player.City = $script:GameCities | Get-Random + $script:Player.set_PocketCount($startingPockets) + + # Fill starting City with random drugs. + $script:Player.City.Drugs = $script:GameDrugs | Get-Random -Count $script:Player.City.MaxDrugCount + + # Update travel statistics + $script:GameStats.AddVisitedCity($script:Player.City) +} + +# Populates an array of City objects, using randomly chosen, unique names from the CityNames array. +function InitGameCities { + param ( + [int]$CityCount = 8, + [int]$MaxDrugCount = 6, + [int]$GunShops = 2 # Number of cities to add guns to. + ) + + $cities = @() + + $gameCityNames = $script:CityNames | Get-Random -Count $CityCount | Sort-Object -Unique + $gameCityNames | ForEach-Object { + $city = [City]::new() + $city.Name = $_ + $city.Drugs = @() + $city.MaxDrugCount = $MaxDrugCount + $city.HomeDrugNames = @() + $city.HomeDrugSaleMultiplier = .20 + + # Assign 1 or 2 random 'Home Drugs' to each city. These will stay the same for the entire game. + # Home Drugs are drugs that are always sold at a discount (if in stock). + $homeDrugCount = Get-Random -Minimum 1 -Maximum 3 + $script:GameDrugs | Get-Random -Count $homeDrugCount | ForEach-Object { + $city.HomeDrugNames += $_.Name + } + + $cities += $city + } + + # Pick random cities to add guns to + $gunShopCities = $cities | Get-Random -Count $GunShops + foreach ($city in $gunShopCities) { + # Add 6 random guns to this city + $script:GunInfo | Get-Random -Count 6 | ForEach-Object { + $city.AddGunToShop($_) + } + } + + return $cities +} + +# Populates an array of Drug objects, using randomly chosen, unique names from the DrugNames array. +function InitGameDrugs { + param ( + [int]$DrugCount = 10 + ) + + $drugs = @() + + $drugCodes = $script:DrugCodes.Keys | Get-Random -Count $DrugCount | Sort-Object -Unique + $drugCodes | ForEach-Object { + $drug = [Drug]::new($script:DrugsInfo[$_]['Name']) + $drug.Code = $_ + $drug.PriceRange = $script:DrugsInfo[$_]['PriceRange'] + $drug.PriceMultiplier = 1.0 + $drug.Quantity = 0 + + $drugs += $drug + } + + return $drugs +} + +# Function to display list of provided cities in two alphabetized columns to the console. +function DisplayCities { + param ( + [Parameter(Mandatory)] + [City[]]$Cities + ) + + $sortedCities = $Cities.Name | Sort-Object + $halfCount = [math]::Ceiling($sortedCities.Count / 2) + + $boxWidth = 96 + $leftColumnWidth = 45 + $rightColumnWidth = 45 + $gutterWidth = 1 + + # Top border + Write-Centered ('┌' + ('─' * ($boxWidth - 1)) + '┐') + + for ($i = 0; $i -lt $halfCount; $i++) { + $leftCity = "$($i + 1). $($sortedCities[$i])" + $rightCity = "$($i + $halfCount + 1). $($sortedCities[$i + $halfCount])" + + $leftCity = $leftCity.PadRight($leftColumnWidth) + $rightCity = $rightCity.PadRight($rightColumnWidth) + + # Left gutter + Write-Centered ('│' + (' ' * $gutterWidth) + $leftCity + (' ' * $gutterWidth) + '│' + (' ' * $gutterWidth) + $rightCity + (' ' * $gutterWidth) + '│') + + # Middle border + if ($i -eq $halfCount - 1) { + Write-Centered ('└' + ('─' * ($leftColumnWidth + $gutterWidth * 2)) + ('┴' + ('─' * ($rightColumnWidth + $gutterWidth * 2))) + '┘') + } + else { + Write-Centered ('│' + (' ' * $gutterWidth) + ('─' * $leftColumnWidth) + (' ' * $gutterWidth) + '│' + (' ' * $gutterWidth) + ('─' * $rightColumnWidth) + (' ' * $gutterWidth) + '│') + } + } +} + +# This function generates a string of drug names, separated by commas, based on the indices provided in the 'HomeDrugNames' array. +function GetHomeDrugString { + param ( + [Parameter(Mandatory)] + [string[]]$HomeDrugNames + ) + + $homeDrugString = '' + for ($i = 0; $i -lt $HomeDrugNames.Count; $i++) { + $homeDrugString += $HomeDrugNames[$i] + if ($i -lt ($HomeDrugNames.Count - 1)) { + $homeDrugString += ', ' + } + } + return $homeDrugString +} + +# This function displays a menu header with the player's current cash, city, and home drug information in a formatted string. +function ShowHeader { + $homeDrugString = GetHomeDrugString -HomeDrugNames $script:Player.City.HomeDrugNames + + Write-Host ('·' + ('═' * ($Host.UI.RawUI.WindowSize.Width - 2)) + '·') -ForegroundColor DarkGray + Write-Centered ('Drug Wars :: Day {3} :: {1} ({2})' -f $script:Player.Cash, $script:Player.City.Name, $homeDrugString, $script:Player.GameDay) + Write-centered ('Cash: ${0} :: Free Pockets: {1}/{2}' -f $script:Player.Cash, $script:Player.get_FreePocketCount(), $script:Player.Pockets) + Write-Host ('·' + ('═' * ($Host.UI.RawUI.WindowSize.Width - 2)) + '·') -ForegroundColor DarkGray +} + +# This function displays a psychedelic animation to the console. +function Tripout { + param ( + [int]$LoopTime = 8 + ) + + # Loop for X seconds (default 8) + $startTime = Get-Date + while ((Get-Date) -lt ($startTime.AddSeconds($LoopTime))) { + # Get the current cursor position and buffer size + $cursor = $Host.UI.RawUI.CursorPosition + $buffer = $Host.UI.RawUI.BufferSize + + # Create a rectangle that covers the screen buffer from the top left corner to the cursor position + $rect = New-Object System.Management.Automation.Host.Rectangle 0, 0, ($buffer.Width - 1), $cursor.Y + + # Get the buffer contents as an array of BufferCell objects + $cells = $Host.UI.RawUI.GetBufferContents($rect) + + # Set the cursor position to the top left corner + $Host.UI.RawUI.CursorPosition = New-Object System.Management.Automation.Host.Coordinates 0, 0 + + # Loop through the array and write each character with its original background color + foreach ($cell in $cells) { + # Convert the character to a string + $charString = [string]$cell.Character + + # Randomly choose to convert the character to uppercase or lowercase + $char = if ((Get-Random -Minimum 0 -Maximum 2) -eq 0) { + $charString.ToUpper() + } + else { + $charString.ToLower() + } + + Write-Host $char -NoNewline -ForegroundColor $(Get-Random -Minimum 1 -Maximum 16) -BackgroundColor $cell.BackgroundColor + } + + Start-Sleep -Milliseconds $(Get-Random -Minimum 1 -Maximum 180) + } +} + +# This function displays the "Drug-o-peida". +function ShowDrugopedia { + Clear-Host + ShowHeader + Write-Host + Write-Centered '--------------' + Write-Centered 'Drug-o-pedia' + Write-Centered '--------------' + Write-Host + Write-Centered 'Information about the drugs currently active in this game session.' + Write-Host + $script:GameDrugs | ForEach-Object -Process { + # This block is executed for each element in the array + Write-Host ('· {0} ({1})' -f $_.Name, $_.Code) + Write-Host ('· Base Price Range: ${0}-${1}' -f $_.PriceRange[0], $_.PriceRange[1]) + Write-Host ('· History: {0}' -f $script:DrugsInfo[$_.Code].History) + Write-Host ('· Effects: {0}' -f $script:DrugsInfo[$_.Code].Effects) + $streetNames = $script:DrugsInfo[$_.Code].StreetNames -join ', ' + Write-Host ('· Other Street Names: {0}' -f $streetNames) + Write-Host + + # Check if the cursor position is near the bottom of the console window + if ($host.UI.RawUI.CursorPosition.Y -ge ($host.UI.RawUI.WindowSize.Height - 6)) { + PressEnterPrompt + Clear-Host + } + } -End { + # This block is executed once after processing all elements + Write-Host 'End of list.' + PressEnterPrompt + } +} + +# This function displays the main menu of the game. +function ShowMainMenu { + Clear-Host + ShowHeader + + Write-Host + + #region Display Inventory + # Define the column width + $columnWidth = 40 + + if ($script:Player.get_Guns().Count -gt 0) { + # Combine Clothing and Guns into OtherInventory for display. + [string[]]$gunEntries = $script:Player.get_Guns() | ForEach-Object { + '{0} (Power: {1})' -f $_.Name, $_.StoppingPower + } + } + else { + $gunEntries = @() + } + + $otherInventory = $script:Player.Clothing + $gunEntries + + # Print the headers + Write-Centered ("{0,-$columnWidth} {1,-$columnWidth}" -f "Your drugs:", "Other Inventory:") + + # Get the maximum count between the three collections + $maxCount = [Math]::Max($script:Player.Drugs.Count, $otherInventory.Count) + + # Loop that many times + for ($i = 0; $i -lt $maxCount; $i++) { + # Get the drug, clothing, and gun at the current index, or null if the index is out of range + $dispDrug = if ($i -lt $script:Player.Drugs.Count) { + '· {0} {1}' -f $script:Player.Drugs[$i].Quantity, $script:Player.Drugs[$i].Name + } + elseif ($i -eq 0) { + '· You have 0 marijuanas.' + } + + $dispOtherInventory = if ($i -lt $otherInventory.Count) { + '· {0}' -f $otherInventory[$i] + } + elseif ($i -eq 0) { + '· You are naked.' + } + + Write-Centered ("{0,-$columnWidth} {1,-$columnWidth}" -f $dispDrug, $dispOtherInventory) + } + #endregion Display Inventory + + #region Display menu options + Write-Host + Write-Host '[B]uy drugs' + Write-Host '[S]ell drugs' + Write-Host '[F]lush drugs' + Write-Host + Write-Host '[J]et to another city' + # If this city has a Gun Shop show the Gun shop menu item + if ($script:Player.City.HasGunShop()) { + Write-Host '[G]un shop' + } + Write-Host + Write-Host '[D]rug-o-pedia' + Write-Host 's[T]atistics' + Write-Host + Write-Host '[Q]uit' + Write-Host '[?]Help' + Write-Host + Write-Host 'What now, boss? ' -NoNewline + #endregion Display menu options + + # Wait for user to press a valid key + $choices = @('B', 'S', 'F', 'J', 'D', 'Q', 'T', '?', '!') + # If there is gunshop include 'G' in choices + if ($script:Player.City.HasGunShop()) { + $choices += 'G' + } + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + + # Return the Character of the key that was pressed (upper case) + return $choice +} + +# Function to display guns available in a city in a two column display +function ShowCityGuns { + param ( + [Parameter(Mandatory)] + [City]$City + ) + + $gunCount = $City.GunsForSale.Count + $halfCount = [math]::Ceiling($gunCount / 2) + $boxWidth = 96 + $leftColumnWidth = 45 + $rightColumnWidth = 45 + $gutterWidth = 1 + + # Top border + Write-Centered ('┌' + ('─' * ($boxWidth - 1)) + '┐') + + for ($i = 0; $i -lt $halfCount; $i++) { + + $leftGunName = '{0}' -f $City.GunsForSale[$i].Name + $rightGunName = '{0}' -f $City.GunsForSale[$i + $halfCount].Name + + $leftGun = ('{0}. {1} ({2}) - ${3}' -f ($i + 1), $leftGunName, $City.GunsForSale[$i].StoppingPower, $City.GunsForSale[$i].get_Price()) + $rightGun = ('{0}. {1} ({2}) - ${3}' -f ($i + $halfCount + 1), $rightGunName, $City.GunsForSale[$i + $halfCount].StoppingPower, $City.GunsForSale[$i + $halfCount].get_Price()) + + $leftGun = $leftGun.PadRight($leftColumnWidth) + $rightGun = $rightGun.PadRight($rightColumnWidth) + + # Left gutter + Write-Centered ('│' + (' ' * $gutterWidth) + $leftGun + (' ' * $gutterWidth) + '│' + (' ' * $gutterWidth) + $rightGun + (' ' * $gutterWidth) + '│') + + # Middle border + if ($i -eq $halfCount - 1) { + Write-Centered ('└' + ('─' * ($leftColumnWidth + $gutterWidth * 2)) + ('┴' + ('─' * ($rightColumnWidth + $gutterWidth * 2))) + '┘') + } + else { + Write-Centered ('│' + (' ' * $gutterWidth) + ('─' * $leftColumnWidth) + (' ' * $gutterWidth) + '│' + (' ' * $gutterWidth) + ('─' * $rightColumnWidth) + (' ' * $gutterWidth) + '│') + } + } +} + +# This function displays the gun shop menu. +function ShowGunshopMenu { + + function ShopSellsGun { + param ( + [Parameter(Mandatory)] + [int]$GunNumber + ) + + # Create clone of gun object for transaction. + $cityGun = $script:Player.City.GunsForSale[$GunNumber - 1] + $gunToBuy = [Gun]::new($cityGun) + + # Confirm the user wants to buy it. + Write-Host + Write-Host + Write-Centered ('Are you sure you want to buy a {0} for ${1}? (Y/N)' -f $gunToBuy.Name, $gunToBuy.Price) -NoNewline + + do { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } until ($key -in @('Y', 'N')) + + if ($key -eq 'N') { + $gunToBuy = $null + return + } + + # Buy the gun. + Write-Host + Write-Host + $script:Player.BuyGun($gunToBuy) + Write-Host + PressEnterPrompt + } + + function ShopBuysGun { + $playerGunCount = $script:Player.get_Guns().Count + + Write-Host + # If the player has no guns, return. + if ($playerGunCount -eq 0) { + Write-Host + Write-Centered 'Hey, high-boy! You have no guns to sell.' -ForegroundColor Red + Start-Sleep -Seconds 2 + Write-Host + $getLostMessages = @( + 'Take a hike.', + 'Hit the road.', + 'Go away.', + 'Get lost.', + 'Scram.' + ) + Write-Centered (Get-Random -InputObject $getLostMessages) + Start-Sleep -Seconds 2 + Write-Host + PressEnterPrompt + return + } + + # Display the player's guns. + Write-Host + for ($i = 0; $i -lt $playerGunCount; $i++) { + $gun = $script:Player.get_Guns()[$i] + Write-Centered ('{0}. {1} ({2})' -f ($i + 1), $gun.Name, $gun.StoppingPower) + } + + # Prompt the player to choose a gun to sell. + Write-Host + Write-Centered ('Enter the number of the gun you want to sell (1-{0}), or "Q" to return to the gun shop menu' -f $playerGunCount) -NoNewline + + do { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString() + } until ($key -in '1'.."$playerGunCount" -or $key -in @('q', 'Q')) + + if ($key -in '1'.."$playerGunCount") { + $gunNumber = [int]$key + $gunToSell = $script:Player.get_Guns()[$gunNumber - 1] + } + elseif ($key -in 'q', 'Q') { + return + } + + # Sell the gun. + $script:Player.SellGun($gunToSell) + Write-Host + PressEnterPrompt + } + + $gunSlang = @( + 'piece', + 'burner', + 'gat', + 'iron', + 'blaster', + 'gun', + 'heater', + 'strap' + ) + + do { + Clear-Host + ShowHeader + Write-Host + Write-Centered ('Welcome to {0}!' -f $script:Player.City.GunShopName) + Write-Host + Write-Centered 'We have the following heat for sale:' -ForegroundColor DarkGray + Write-Host + ShowCityGuns $script:Player.City + Write-Host + $gunCount = $script:Player.City.GunsForSale.Count + Write-Centered ('Enter the number of the {0} you want to buy (1-{1}), "S" to sell, or "Q" to return to the main menu' -f (Get-Random -InputObject $gunSlang) , $gunCount) -NoNewline + + do { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString() + } until ($key -in '1'.."$gunCount" -or $key -in @('s', 'S', 'q', 'Q')) + + switch ($key) { + { $_ -in '1'.."$gunCount" } { + # Convert $key string to an integer + $gunNumber = [int]$key + ShopSellsGun -GunNumber $gunNumber; + break + } + { $_ -in 's', 'S' } { + ShopBuysGun; + break + } + { $_ -in 'q', 'Q' } { + break + } + } + } until ($key -in 'q', 'Q') +} + +# Function to display drugs available in a city in a two column display +function ShowCityDrugs { + param ( + [Parameter(Mandatory)] + [City]$City + ) + + function GetFormattedDrugName { + param ( + [Parameter(Mandatory)] + [string]$DrugName, + [Parameter(Mandatory)] + [string[]]$HomeDrugNames, + [Parameter(Mandatory)] + [bool]$IsHomeDrugSaleDay + ) + + if (($DrugName -in $HomeDrugNames) -and $IsHomeDrugSaleDay) { + $DrugName += " (Sale!)" + } + return $DrugName + } + + $drugCount = $City.Drugs.Count + $halfCount = [math]::Ceiling($drugCount / 2) + $boxWidth = 96 + $leftColumnWidth = 45 + $rightColumnWidth = 45 + $gutterWidth = 1 + + # Top border + Write-Centered ('┌' + ('─' * ($boxWidth - 1)) + '┐') + + for ($i = 0; $i -lt $halfCount; $i++) { + $isSaleDay = IsHomeDrugSaleDay + + $leftDrugName = GetFormattedDrugName ` + -DrugName $City.Drugs[$i].Name ` + -HomeDrugNames $City.HomeDrugNames ` + -IsHomeDrugSaleDay $isSaleDay + + $rightDrugName = GetFormattedDrugName ` + -DrugName $City.Drugs[$i + $halfCount].Name ` + -HomeDrugNames $City.HomeDrugNames ` + -IsHomeDrugSaleDay $isSaleDay + + $leftDrug = ('{0}. {1} - ${2}' -f ($i + 1), $leftDrugName, $City.Drugs[$i].get_Price()) + $rightDrug = ('{0}. {1} - ${2}' -f ($i + $halfCount + 1), $rightDrugName, $City.Drugs[$i + $halfCount].get_Price()) + + $leftDrug = $leftDrug.PadRight($leftColumnWidth) + $rightDrug = $rightDrug.PadRight($rightColumnWidth) + + # Left gutter + Write-Centered ('│' + (' ' * $gutterWidth) + $leftDrug + (' ' * $gutterWidth) + '│' + (' ' * $gutterWidth) + $rightDrug + (' ' * $gutterWidth) + '│') + + # Middle border + if ($i -eq $halfCount - 1) { + Write-Centered ('└' + ('─' * ($leftColumnWidth + $gutterWidth * 2)) + ('┴' + ('─' * ($rightColumnWidth + $gutterWidth * 2))) + '┘') + } + else { + Write-Centered ('│' + (' ' * $gutterWidth) + ('─' * $leftColumnWidth) + (' ' * $gutterWidth) + '│' + (' ' * $gutterWidth) + ('─' * $rightColumnWidth) + (' ' * $gutterWidth) + '│') + } + } +} + +# This function displays the drug buying menu. +function ShowBuyDrugsMenu { + Clear-Host + ShowHeader + Write-Host + Write-Centered "Buy Drugs" + Write-Host + ShowCityDrugs $script:Player.City + Write-Host + $drugCount = $script:Player.City.Drugs.Count + Write-Centered "Enter the number of the drug you want to buy (1-$drugCount, or 'Q' to return to the main menu) " -NoNewline + $drugNumber = $null + while (-not $drugNumber) { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString() + switch ($key) { + { $_ -in '1'.."$drugCount" } { $drugNumber = [int]$key; break } + { $_ -in 'q', 'Q' } { return } + } + } + + Write-Host + # Create clone of drug object for transaction. + $cityDrug = $script:Player.City.Drugs[$drugNumber - 1] + $drugToBuy = [Drug]::new($cityDrug.Name) + $drugToBuy.BasePrice = $cityDrug.BasePrice + $drugToBuy.PriceMultiplier = $cityDrug.PriceMultiplier + + $maxQuantity = [math]::Floor($script:Player.Cash / $drugToBuy.get_Price()) + + # Ask how many they want to buy. + $quantity = Read-Host "Enter the quantity you want to buy (max $maxQuantity)" + $quantityInt = 0 + if (-not [int]::TryParse($quantity, [ref]$quantityInt) -or $quantityInt -lt 1) { + Write-Centered "Invalid quantity." + PressEnterPrompt + return + } + + # Buy the drugs. + $drugToBuy.Quantity = $quantityInt + $script:Player.BuyDrugs($drugToBuy) + + PressEnterPrompt +} + +# This function displays the drug selling menu. +function ShowSellDrugsMenu { + Clear-Host + ShowHeader + Write-Host + Write-Centered "Sell Drugs" + Write-Host + ShowCityDrugs $script:Player.City + Write-Host + $drugCount = $script:Player.City.Drugs.Count + + # Ask which drug they want to sell. + Write-Centered "Enter the number of the drug you want to sell (1-$drugCount, or 'Q' to return to the main menu) " -NoNewline + $drugNumber = $null + while (-not $drugNumber) { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString() + switch ($key) { + { $_ -in '1'.."$drugCount" } { $drugNumber = [int]$key; break } + { $_ -in 'q', 'Q' } { return } + } + } + + Write-Host + $nameOfDrugToSell = $script:Player.City.Drugs[$drugNumber - 1].Name + $drugToSell = $script:Player.Drugs | Where-Object { $_.Name -eq $nameOfDrugToSell } + + + if (!$drugToSell) { + Write-Centered ('You don''t have any {0} to sell!' -f $nameOfDrugToSell) + PressEnterPrompt + return + } + + $maxQuantity = $drugToSell.Quantity + + # Ask how many they want to sell. + $quantity = Read-Host ('Enter the quantity you want to sell (max {0})' -f $maxQuantity) + $quantityInt = 0 + if (-not [int]::TryParse($quantity, [ref]$quantityInt) -or $quantityInt -lt 1) { + Write-Centered "Invalid quantity." + PressEnterPrompt + return + } + + # Sell the drugs. + $script:Player.SellDrugs($drugToSell, $quantityInt) + + PressEnterPrompt +} + +# This function displays the drug flushing menu. +function ShowFlushDrugsMenu { + Clear-Host + ShowHeader + Write-Host + + # If the user has no drugs, display a message and exit the function. + if ($script:Player.Drugs.Count -eq 0) { + + $phrases = @( + 'Are you on cloud nine?', + 'Ever notice that...', + 'Hey, guess what?', + 'How high are you?', + 'I guess you missed it on the main screen...?', + 'In case you didn''t notice...', + 'Just a heads up...', + 'On a scale from 1 to 10, how lifted are you?', + 'Pssst...', + 'You high?', + 'You must be so broke, you can''t even pay attention!', + 'You seem spaced out.' + ) + + $insults = @( + 'amigo', + 'bud', + 'chump', + 'homey', + 'mate', + 'pal', + 'punk', + 'tea-head', + 'wiseguy' + ) + + Write-Centered (Get-Random -InputObject $phrases) + Start-Sleep 1 + Write-Host + Write-BlockLetters 'You have' -Align Center -ForegroundColor White -BackgroundColor DarkRed -VerticalPadding 1 + Write-BlockLetters '0 marijuanas!' -Align Center -ForegroundColor White -BackgroundColor DarkRed -VerticalPadding 1 + Start-Sleep 1 + Write-Host + Write-Centered ('What are you gonna flush, {0}?' -f (Get-Random -InputObject $insults)) + Start-Sleep 2 + Write-Centered 'Nothing, that''s what!' -ForegroundColor DarkMagenta + Write-Host + Start-Sleep 1 + PressEnterPrompt + return + } + + #region Display Drug Inventory + Write-Centered "Your drugs:" + Write-Host + + # Create an empty array to store the drug menu + $drugMenu = @() + $drugNumber = 1 + + # Iterate through each drug in the player's inventory + foreach ($drug in $script:Player.Drugs) { + # Create a custom object to store drug information + $drugInfo = [PSCustomObject]@{ + Number = $drugNumber + Name = $drug.Name + Quantity = [int]$drug.Quantity + } + # Add the drug information to the drug menu array + $drugMenu += $drugInfo + $drugNumber++ + } + + # Get the length of the longest line + $longestLength = 0 + foreach ($drugInfo in $drugMenu) { + $currentLength = ('{0}. {1} ({2})' -f $drugInfo.Number, $drugInfo.Name, $drugInfo.Quantity).Length + if ($currentLength -gt $longestLength) { + $longestLength = $currentLength + } + } + + # Display the drug list + foreach ($drugInfo in $drugMenu) { + $dispDrug = '{0}. {1} ({2})' -f $drugInfo.Number, $drugInfo.Name, $drugInfo.Quantity + $paddedDispDrug = $dispDrug.PadRight($longestLength) + $centeredDispDrug = $paddedDispDrug.PadLeft(($paddedDispDrug.Length + $longestLength) / 2) + Write-Centered $centeredDispDrug + } + #endregion Display Drug Inventory + + Write-Host + + # Ask which drug they want to flush. + $drugCount = $drugMenu.Count + Write-Centered ('Enter the number of the drug you want to flush (1-{0}, or ''Q'' to return to the main menu)' -f $drugCount) -NoNewline + $drugNumber = $null + while (-not $drugNumber) { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString() + switch ($key) { + { $_ -in '1'.."$drugCount" } { $drugNumber = [int]$key; break } + { $_ -in 'q', 'Q' } { return } + } + } + + # Get quantity to flush. + [int]$maxQuantity = $drugMenu[$drugNumber - 1].Quantity + $quantityToFlush = Read-Host -Prompt ('Enter the quantity you want to flush (max {0})' -f $maxQuantity) + [int]$parsedResult = $null + while ((-not [int]::TryParse($quantityToFlush, [ref]$parsedResult)) -or ($parsedResult -gt $maxQuantity) -or ($parsedResult -lt 0)) { + # Move up a line and back to the start. + $y = $host.UI.RawUI.CursorPosition.Y - 1 + $host.UI.RawUI.CursorPosition = New-Object System.Management.Automation.Host.Coordinates 0, $y + + # Clear the line + Write-Host (' ' * $host.UI.RawUI.BufferSize.Width) -NoNewline + $host.UI.RawUI.CursorPosition = New-Object System.Management.Automation.Host.Coordinates 0, $host.UI.RawUI.CursorPosition.Y + + # Re-display the prompt + $quantityToFlush = Read-Host -Prompt ('Enter the quantity you want to flush (max {0})' -f $maxQuantity) + } + $quantityToFlush = $parsedResult + + # If the quality to flush is 0, exit the function. + if ($quantityToFlush -eq 0) { + Write-Host + Write-Centered 'You decide not to flush the stuff.' + Start-Sleep 2 + Write-Host + PressEnterPrompt + return + } + + Write-Host + # Create clone of drug object for flushing action. + $nameOfDrugToFlush = $drugMenu[$drugNumber - 1].Name + $drugToFlush = $script:Player.Drugs | Where-Object { $_.Name -eq $nameOfDrugToFlush } + + # There's a 1 in 3 chance it'll offer you to take the drugs instead of flushing them + if ((Get-Random -Minimum 1 -Maximum 4) -eq 1) { + + $drugCompliments = @( + 'tempting', + 'tasty', + 'yummy', + 'inviting', + 'finger-lickin''', + 'scrum-dilly-umptious' + ) + + # Determine if the drug name ends in an 's' or not, and use the appropriate words in the sentence. + $wordsToUse = if ($nameOfDrugToFlush.EndsWith('s')) { + @('Those', 'are') + } + else { + @('That', 'is') + } + + Write-Host + + Write-Centered ('{0} {1} {2} looking pretty {3}!' -f $wordsToUse[0], $nameOfDrugToFlush, $wordsToUse[1], (Get-Random -InputObject $drugCompliments)) -ForegroundColor Yellow + Start-Sleep 2 + Write-Centered 'You want to take them instead of flushing them (Y/N)?' + $choice = $null + while (-not $choice) { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString() + switch ($key) { + { $_ -in 'y', 'Y' } { $choice = 'take'; break } + { $_ -in 'n', 'N' } { $choice = 'flush'; break } + } + } + + if ($choice -eq 'take') { + # Ingest the drugs. + $script:Player.RemoveDrugs($drugToFlush, $quantityToFlush) + Write-Host + + # Generate a random number between 1 and 10. + $randomNumber = Get-Random -Minimum 1 -Maximum 11 + + # There's a 20% chance (2 out of 10) for a bad trip. + if ($randomNumber -le 2) { + Write-Centered 'Uh oh...' + Start-Sleep 2 + Write-BlockLetters 'Bad Trip!' -Align Center -ForegroundColor DarkMagenta -VerticalPadding 1 + Write-Host + Tripout + Write-Centered 'You lose a day exploring the insides of your mind.' -ForegroundColor Red + Start-Sleep 3 + $script:GameDays-- + Write-Centered ('Days left: {0}' -f ($script:GameDays - $script:Player.GameDay)) + } + # There's a 20% chance (2 out of 10) for feeling euphoric. + elseif ($randomNumber -le 4) { + Write-Centered 'You feel euphoric.' -ForegroundColor Cyan + Start-Sleep 2 + # There's a 50% chance at this point (1 out of 2) for gaining a game day. + if ((Get-Random -Minimum 1 -Maximum 3) -eq 1) { + Write-Centered 'You feel like you could do anything!' + Start-Sleep 2 + Write-BlockLetters 'Gained a day!' -ForegroundColor Green -VerticalPadding 1 -Align Center + + # Add a day to the game + $script:GameDays++ + Write-Centered ('Days left: {0}' -f ($script:GameDays - $script:Player.GameDay)) + } + } + # There's a 60% chance (6 out of 10) for feeling a little buzzed. + else { + Write-Centered 'You feel a little buzzed.' -ForegroundColor Yellow + } + + Write-Host + PressEnterPrompt + return + } + } + + # Flush the drugs. + Clear-Host + ShowHeader + Write-Host + + $script:Player.RemoveDrugs($drugToFlush, $quantityToFlush) + Write-BlockLetters ('Flushed' -f $quantityToFlush, $nameOfDrugToFlush) -Align Center -ForegroundColor White -BackgroundColor DarkGreen -VerticalPadding 1 + Write-BlockLetters ('{0} {1}!' -f $quantityToFlush, $nameOfDrugToFlush) -Align Center -ForegroundColor White -BackgroundColor DarkGreen -VerticalPadding 1 + + Start-Sleep 2 + Write-Host + PressEnterPrompt +} + +# This function displays a list of cities to the console, and prompts the user to select a city to travel to. +function Jet { + Clear-Host + ShowHeader + Write-Host + Write-Centered "Jet to Another City" + Write-Host + DisplayCities -Cities $script:GameCities + Write-Host + $cityCount = $script:GameCities.Count + + $ticketPrice = 100 + # If the player can't pay the ticket price, tell them and then exit the function. + if ($script:Player.Cash -lt $ticketPrice) { + Write-Centered ('You don''t have enough cash to buy a ticket, Chum...p!') -ForegroundColor Red + Start-Sleep 3 + PressEnterPrompt + return + } + + $newCity = $null + Write-Centered "Enter the city you want to jet to (1-$cityCount, or 'Q' to return to the main menu) " -NoNewline + while (-not $newCity) { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString() + switch ($key) { + { $_ -in '1'.."$cityCount" } { $newCity = [int]$key; break } + { $_ -in 'q', 'Q' } { return } + } + } + Write-Host + + # Alphabetize the cities by name, then assign the selected city. + [City[]]$alphabetizedCities = $script:GameCities | Sort-Object -Property Name + $destinationCity = $alphabetizedCities[$newCity - 1] + + # If the new city is different from the player's current city, then travel to the new city. + if ($script:Player.City -ne $destinationCity) { + Write-Host + Write-Centered ('You hit the airport and catch a flight to {0}.' -f $destinationCity.Name) + Start-Sleep -Milliseconds 500 + + if ($script:Player.GameDay -eq $script:GameDays) { + # Last flight of the game is free. + Write-Centered 'You are whisked through to your flight as a VIP, and the ticket is free!' -ForegroundColor Green + } + else { + Write-Centered ('The ticket costs you ${0}, and the trip will take a day.' -f $ticketPrice) -ForegroundColor Yellow + + # Subtract ticket price from player's cash. + $script:Player.Cash -= $ticketPrice + + # If the player has a gun, they migth get busted by air marshals. + if ($script:Player.get_Guns().Count -gt 0) { + Start-Sleep 1 + Write-Host + Write-Centered 'You head on through the metal-detector, and...' + Start-Sleep 2 + + # Retrieve the player's stopping power + $stoppingPower = $script:Player.get_StoppingPower() + + # Calculate the percentage chance of getting busted based on the player's stopping power. + # The chance is a quarter of the player's stopping power, with a minimum of 1% and a maximum of 5%. + $percentageChanceOfGettingBusted = [math]::Max(1, [math]::Min($stoppingPower * 0.25, 5)) + + # Generate a random number between 1 and 100 (inclusive) for use in determining if the player gets busted. + $randomNumber = Get-Random -Minimum 1 -Maximum 101 + if ($randomNumber -le $percentageChanceOfGettingBusted) { + Write-Host + $colors = @('DarkRed', 'Blue') + for ($i = 0; $i -lt 3; $i++) { + foreach ($color in $colors) { + Write-Centered "Beep!`a" -ForegroundColor $color -NoNewline + Write-Host "`r" -NoNewline + Start-Sleep -Milliseconds 750 + } + } + Write-Centered "Beeeeeeeeeeep!`a`a`a" -ForegroundColor Red + Start-Sleep -Seconds 2 + Write-Host + $weaponSlang = @( + 'piece', + 'burner', + 'gat', + 'blaster', + 'gun', + 'heater', + 'strap', + 'weapon' + ) + + Write-Centered ('The air marshals discover your {0}!' -f (Get-Random -InputObject $weaponSlang)) -ForegroundColor Yellow + Start-Sleep 3 + Write-Host + PressEnterPrompt + StartRandomEvent -EventName 'Busted' + # If the player is busted, return (back to main menu) + return + } + else { + $nothinHappensPhrases = @( + 'straight up, nothing pops off. You good, homey.', + 'ain''t nobody doin'' nothin''.', + 'nothin'', capisce?', + 'nada, man. All good.', + 'nothing happens.', + 'they don''t find shit.', + 'the inspectors are apparently blind.', + 'your connections have helped again. You got waved through.', + 'you breeze through security without a hitch.', + 'the air marshals are too busy chatting to notice anything.', + 'the metal-detector malfunctions and you walk right through.', + 'the air marshals mistake you for a celebrity and let you pass.' + ) + + Write-Centered ('...{0}' -f (Get-Random -InputObject $nothinHappensPhrases)) -ForegroundColor DarkGray + } + } + } + Start-Sleep 3 + Write-Host + + # Travel takes a day, change clothes + AdvanceGameDay -ChangeOutfit + + # Set player's new location. + $script:Player.City = $destinationCity + + # Update travel statistics. + $script:GameStats.AddVisitedCity($destinationCity) + + # Fill landing City with random drugs. + $script:Player.City.Drugs = $script:GameDrugs | Get-Random -Count $script:Player.City.MaxDrugCount + + # If it's sale day, adjust multiplier for the new city's home drugs. + if (IsHomeDrugSaleDay) { + $params = @{ + DrugNames = $script:Player.City.HomeDrugNames + Multiplier = $script:Player.City.HomeDrugSaleMultiplier + } + SetDrugPriceMultiplier @params + } + + $arrivalMessages = @( + 'You arrive in {0} and immidiately hit the streets.', + 'Welcome to beautiful {0}!', + 'You arrive in {0} and get to hustlin''.', + 'As you arrive in {0}, you can''t help but notice the smell of {1} in the air.', + 'Welcome to {0}. What a shit-hole.' + ) + + $arrivalMessage = Get-Random -InputObject $arrivalMessages + Write-Host + Write-Centered ($arrivalMessage -f $destinationCity.Name, $destinationCity.HomeDrugNames[0]) -ForegroundColor Green + } + else { + Write-Host + Write-Centered ('Lay off your stash man! You''re already in {0}!' -f $script:Player.City.Name) -ForegroundColor Yellow + } + + Start-Sleep 2 + Write-Host + PressEnterPrompt +} + +# This function handles a random event. +function StartRandomEvent { + param ( + [string]$EventName + ) + + # Track Event in Game Statistics + $script:GameStats.EventsExperienced++ + + # If no Event Name is specified do a random event (usual usage) + if (!$EventName) { + # Set the base chance for a cop fight to 10% + $baseChance = 10 + + # Set the increase in chance per $5000 the player has to 2% + $increasePer5000 = 2 + + # Calculate the increased chance for a cop fight based on the player's cash + # For every $5000 the player has, the chance for a cop fight increases by $increasePer5000 (max. 60%) + $increasedChance = [Math]::Min(60, $baseChance + (($script:Player.Cash / 5000) * $increasePer5000)) + + # Generate a random number between 1 and 100 + $randomNumber = Get-Random -Minimum 1 -Maximum 101 + if ($randomNumber -le $increasedChance) { + CopFight + return + } + else { + $randomEvent = $script:RandomEvents | Get-Random + } + } + else { + # For debugging purposes... + + # If the event name is 'Cops' or 'CopFight', then call the CopFight function and return. + if ($EventName -eq 'Cops' -or $EventName -eq 'CopFight') { + CopFight + return + } + + # If the event name is 'Jail', then call the JailForLife function. + if ($EventName -eq 'Jail') { + JailForLife + return + } + + # If the event name is 'Whale', then add $100000 to the player's cash. + if ($EventName -eq 'Whale') { + $script:Player.Cash += 100000 + Write-Host + Write-Centered 'You found a whale!' -ForegroundColor Green + Write-Centered 'You get $100,000!' -ForegroundColor Green + Write-Host + PressEnterPrompt + return + } + + # If the event name is 'TimeTravel', then let player pick the day to transport to (must be more than 0, and less than $script:GameDays) + if ($EventName -eq 'TimeTravel') { + $newDay = Read-Host ('Enter the day you want to travel to (1-{0})' -f $script:GameDays) + $newDayInt = 0 + if (-not [int]::TryParse($newDay, [ref]$newDayInt) -or $newDayInt -lt 1 -or $newDayInt -gt $script:GameDays) { + Write-Centered "Invalid day." + PressEnterPrompt + return + } + + $script:Player.GameDay = $newDayInt + Write-Host + Write-Centered ('Dr. Who music plays...') -ForegroundColor DarkGray + Write-Centered ('You travel in time to day {0}!' -f $newDayInt) -ForegroundColor Green + Write-Host + PressEnterPrompt + return + } + + # Otherwise, set the random event to the event with the specified name. + $randomEvent = $script:RandomEvents | Where-Object { $_.Name -eq $EventName } + } + + Clear-Host + ShowHeader + Write-Host + $eventName = ('{0}!' -f $randomEvent.Name) + if ((Write-BlockLetters $eventName -Align Center) -eq $false) { + Write-Centered $eventName + } + Write-Host + Write-Host + Write-Centered $randomEvent.Description + # Execute the effect of the random event + & $randomEvent.Effect + + # Update MostCashAtOnce stats by comparing player's current cash + $script:GameStats.UpdateMostCashAtOnce($script:Player.Cash) + + Write-Host + PressEnterPrompt +} + +# This function displays a prompt to the user to press Enter to continue. +function PressEnterPrompt { + # Clear existing keyboard buffer + $Host.UI.RawUI.Flushinputbuffer() + Write-Centered 'Press Enter to continue' -NoNewline + $choice = $null + while ($choice.VirtualKeyCode -ne 13) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown') + } + $Host.UI.RawUI.Flushinputbuffer() +} + +# Function to show 'goign to jail for life' screen/end game. +function JailForLife { + # Function display the Jail graphic. + function DrawJailGraphic { + $jailASCII = @( + ' _________________________', + ' || || || ||', + ' || ||, , ,|| ||', + ' || (||/|/(\||/ ||', + ' || ||| _''_`||| ||', + ' || || o o || ||', + ' || (|| - `||) ||', + ' || || = || ||', + ' || ||\___/|| ||', + ' ||___||) , (||___||', + ' /||---||-\_/-||---||\', + ' / ||--_||_____||_--|| \', + ' (_(||)-| P[no]-42 |-(||)_)', + '|"""""""""""""""""""""""""""|', + '| Enjoy the next 25-life, |', + '| [name] |', + ' """""""""""""""""""""""""""' + ) + + # Generate a random "prisoner number". + $pNumberText = (Get-Random -Minimum 100 -Maximum 999).ToString() + + # Array of nicknames for prisoner + $pNames = @( + 'bro', + 'bruh', + 'chump', + 'dummy', + 'fish', + 'fool', + 'homie', + 'j-cat', + 'lad', + 'playa', + 'sucka', + 'tuffy' + ) + + # Select a random name from the $pNames array and append an exclamation mark to it + $paddedName = "{0}!" -f ($pNames | Get-Random) + + # Calculate the padding length for the name + $paddingLength = [Math]::Max(0, (6 - $paddedName.Length) / 2) + + # Pad the name with spaces + $paddedName = $paddedName.PadLeft($paddingLength + $paddedName.Length).PadRight(6) + + # Determine the longest line in the jail ASCII + $maxLength = ($jailASCII | Measure-Object -Property Length -Maximum).Maximum + + foreach ($line in $jailASCII) { + $formattedLine = $line ` + -replace '\[no\]', $pNumberText ` + -replace '\[name\]', $paddedName + + # Pad each line to the length of the longest line + $formattedLine = $formattedLine.PadRight($maxLength) + + Write-Centered $formattedLine -ForegroundColor White + } + } + + $goingToJailPhrases = @( + 'Act dumb, get dumped.', + 'If you poke the bear, expect to get bit.', + 'If you wanna play, you gotta pay.', + 'Play stupid games, win stupid prizes.', + 'Spark negativity, catch a cosmic slap.', + 'Start beef, catch grief.', + 'You mess with the bull, you get the horns.', + 'You play with fire, you get burned.' + ) + + $caughtByPolicePhrases = @( + 'The cops roll up and snatch you!', + 'The cops sieze their chance and grab you!', + 'The pigs nabbed yer ass!', + 'You got clipped by the flatfoots!', + 'You got pinched by the G-men!' + ) + + Clear-Host + ShowHeader + Write-Host + Write-Centered $(Get-Random -InputObject $caughtByPolicePhrases) -ForegroundColor Red + DrawJailGraphic + Write-Host + Write-Centered $(Get-Random -InputObject $goingToJailPhrases) -ForegroundColor DarkGray + Start-Sleep 2 + Write-Host + + # Remove players Drugs and Guns + if ($script:Player.Drugs.Count -gt 0) { + Write-Centered 'Drugs...' + Start-Sleep 1 + $script:Player.Drugs = @() + Write-Centered 'Gone!' -ForegroundColor DarkGray + Write-Host + } + + if ($script:Player.get_Guns().Count -gt 0) { + Write-Centered 'Guns...' + Start-Sleep 1 + $script:Player.DumpGuns() + Write-Centered 'Gone!' -ForegroundColor DarkGray + Write-Host + } + + if ($script:Player.Cash -gt 10) { + # Calculate the lawyer fees (90% of their cash) + $lawyerFees = [Math]::Round($script:Player.Cash * 0.9) + + # Deduct the lawyer fees from the player's cash + $script:Player.Cash -= $lawyerFees + + Write-Centered 'Lawyer fees:' + Start-Sleep 1 + Write-Centered ('${0} deducted from your cash.' -f $lawyerFees) -ForegroundColor Yellow + Write-Host + } + + PressEnterPrompt + EndGame +} + +# This function is called when the player chooses to quit the game. +function QuitGame { + # Check if they're sure they want to quit. + Write-Host + Write-Centered 'Are you sure you want to quit? (Y/N)' -NoNewline + # Wait for user to press a valid key + $Host.UI.RawUI.Flushinputbuffer() + do { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } while ('Y', 'N' -notcontains $choice) + + if ($choice -eq 'Y') { + EndGame + } +} + +# This function is called to end the game. +function EndGame { + Clear-Host + Write-Host + $days = $script:Player.GameDay + $daysLabel = if ($days -eq 1) { 'day' } else { 'days' } + Write-Centered ('You survived {0} {1}, and ended up with ${2} in cash.' -f $days, $daysLabel, $script:Player.Cash) + if ($script:Player.Drugs.Count -gt 0) { + Write-Host + Write-Centered 'Drugs left over:' + $script:Player.Drugs | ForEach-Object { + Write-Centered ('· {0} {1}' -f $_.Quantity, $_.Name) + } + } + Write-Host + if ((Write-BlockLetters 'Thanks for playing!' -Align Center -BackgroundColor Blue -VerticalPadding 1) -eq $false) { + Write-Centered 'Thanks for playing!' -BackgroundColor Blue + } + + if (IsHighScore -Score $script:Player.Cash) { + Write-Host + Write-Centered 'You got a high score!' -ForegroundColor Green + Write-Host + Write-Centered 'Enter your initials to save it to the high score list:' + Write-Host + + # Figure out leftpadding for input of initials + $leftPadding = [Math]::Floor(($Host.UI.RawUI.WindowSize.Width - 3) / 2) + Write-Host (' ' * $leftPadding) -NoNewline + + $initials = "" + $Host.UI.RawUI.Flushinputbuffer() + while ($true) { + $key = [System.Console]::ReadKey($true) + if ($key.Key -eq "Enter") { + break + } + elseif ($key.Key -eq "Backspace") { + if ($initials.Length -gt 0) { + $initials = $initials.Substring(0, $initials.Length - 1) + [System.Console]::Write("`b `b") # erase the last character + } + } + elseif ($initials.Length -lt 3) { + $upperCasedChar = $key.KeyChar.ToString().ToUpper() + $initials += $upperCasedChar + [System.Console]::Write($upperCasedChar) + } + } + Write-Host + + # Convert the initials to uppercase, and save them to the player object. + $script:Player.Initials = $initials.ToUpper() + + # Add the high score to the high score list. + AddHighScore -Initials $script:Player.Initials -Score $script:Player.Cash + } + + # Display high scores center justified on screen, with a header + Write-Host + Write-Centered '-----------------' + Write-Centered 'Highest Dealers' + Write-Centered '-----------------' + Write-Host + $highScores = GetHighScores + $maxScoreLength = ($highScores | Measure-Object -Property Score -Maximum).Maximum.ToString().Length + + $highScores | ForEach-Object { + $score = $_.Score.ToString().PadRight($maxScoreLength) + if ($_.Initials -eq $script:Player.Initials -and $_.Score -eq $script:Player.Cash) { + Write-Centered ('-> {0} - ${1} <-' -f $_.Initials, $score) -ForegroundColor Green + } + elseif ($_.Initials -eq $highScores[0].Initials -and $_.Score -eq $highScores[0].Score) { + Write-Centered ('{0} - ${1}' -f $_.Initials, $score) -ForegroundColor Yellow + } + elseif ($_.Initials -eq $highScores[1].Initials -and $_.Score -eq $highScores[1].Score) { + Write-Centered ('{0} - ${1}' -f $_.Initials, $score) -ForegroundColor Gray + } + elseif ($_.Initials -eq $highScores[2].Initials -and $_.Score -eq $highScores[2].Score) { + Write-Centered ('{0} - ${1}' -f $_.Initials, $score) -ForegroundColor DarkYellow + } + else { + Write-Centered ('{0} - ${1}' -f $_.Initials, $score) -ForegroundColor DarkGray + } + } + + $script:GameOver = $true + + Write-Host + Write-Centered 'Would you like to play again? (Y/N)' -NoNewline + # Wait for user to press a valid key + $Host.UI.RawUI.Flushinputbuffer() + do { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } while ('Y', 'N' -notcontains $choice) + + if ($choice -eq 'N') { + $script:Playing = $false + } +} + +# This function displays the game over screen when the player runs out of days. +function ShowGameOverCuzDays { + param ( + [int]$GameDays + ) + + Clear-Host + ShowHeader + Write-Host + + # Define an array of colors + $colours = [System.ConsoleColor]::GetValues([System.ConsoleColor]) + + # Loop through each color in the array (skipping black) + foreach ($colour in $colours) { + if ($colour -eq [System.ConsoleColor]::Black) { + continue + } + + Write-BlockLetters ('Day {0}!' -f ($GameDays + 1)) -ForegroundColor $colour -VerticalPadding 1 -Align Center + + if ($colour -eq $colours[-1]) { + break + } + OverWriteLastLines -Count 7 + } + + Start-Sleep -Seconds 2 + Write-Host + Write-Centered 'Time''s up, boss!' -ForegroundColor Green + Start-Sleep -Seconds 3 + Write-Host + PressEnterPrompt + EndGame +} + + +# This function displays the help screen. +function ShowHelp { + Clear-Host + ShowHeader + Write-Host + Write-Centered '------' + Write-Centered 'Help' + Write-Centered '------' + Write-Host + Write-Centered 'Drug Wars is a text-based game where you buy and sell drugs in various cities around the world.' + Write-Centered ('The goal is to make as much cash money as possible in {0} days.' -f $script:GameDays) + Write-Host + Write-Host 'Main Menu' + Write-Host '---------' + Write-Host '[B]uy drugs' + Write-Host '[S]ell drugs' + Write-Host '[F]lush drugs' + Write-Host '[G]un shop' + Write-Host '[J]et to another city' + Write-Host '[D]rug-o-pedia' + Write-Host '[Q]uit' + Write-Host + Write-Host 'Buy Drugs' + Write-Host '---------' + Write-Host 'This displays the current prices of all drugs in the city you are in.' + Write-Host 'Enter the name of the drug you want to buy, and the quantity you want to buy.' + Write-Host 'You can only buy as much as you can afford, and as much as you have room for in your pockets.' + Write-Host + Write-Host 'Sell Drugs' + Write-Host '----------' + Write-Host 'This displays the current prices of all drugs in the city you are in.' + Write-Host 'Enter the name of the drug you want to sell, and the quantity you want to sell.' + Write-Host 'You can only sell as much as you have in your inventory.' + Write-Host + Write-Host 'Flush Drugs' + Write-Host '-----------' + Write-Host 'This displays the current drugs in your inventory.' + Write-Host 'Enter the name of the drug you want to flush, and the quantity you want to flush.' + Write-Host 'You can only flush as much as you have in your inventory.' + Write-Host 'Flushing drugs is a good way to get rid of evidence and unmarketable drugs, and sometimes leads to a good time.' + Write-Host + Write-Host 'Gun Shop' + Write-Host '--------' + Write-Host 'This displays a list of guns you can buy.' + Write-Host 'Buying a gun costs cash, and can help you in a fight.' + Write-Host 'You can also sell your guns (at a discount, of course).' + Write-Host 'You can only carry up to two guns at a time.' + Write-Host 'There are only two gun stores in the game, in random cities.' + Write-Host + Write-Host 'Jet to Another City' + Write-Host '-------------------' + Write-Host 'This displays a list of cities you can travel to.' + Write-Host 'Enter the number of the city you want to travel to.' + Write-Host 'Traveling to another city takes a day, and costs some cash (don''t get stuck!).' + Write-Host + Write-Host 'Drug-o-pedia' + Write-Host '------------' + Write-Host 'This displays detailed information about the drugs currently active in this game session.' + Write-Host + Write-Host 'Quit' + Write-Host '----' + Write-Host 'This exits the game.' + Write-Host + Write-Host 'Random Events' + Write-Host '-------------' + Write-Host 'Random events can occur at any time.' + Write-Host 'Some are good, some are bad.' + Write-Host + PressEnterPrompt +} + +# This function displays tag line prompt (for title screen) +function ShowTaglinePrompt { + param ( + [string]$Text + ) + + function GetTagLineAlternateText { + $startPromptWords = @( + 'activate', + 'begin', + 'blaze up', + 'do this', + 'fire it up', + 'hit it off', + 'launch', + 'lift off', + 'roll out', + 'spark one up', + 'square off', + 'start', + 'throw down' + ) + + return ('Press Enter to {0}' -f (Get-Random -InputObject $startPromptWords)) + } + + # Define an array of taglines to be used for the text + $tagLines = @( + '"My version is better." - John E. Dell', + 'In Drug Wars, it''s not personal; it''s strictly business.', + 'Red pill or Blue pill? Why not both?', + 'To infinity and beyond (the law).', + 'Life is like a box of narcotics; you never know what you''re gonna get.', + 'There''s no crying In Drug Wars!', + 'I see dead people... dealing drugs in Drug Wars.', + 'Frankly, my dear, I don''t give a gram.', + 'We''re gonna need a bigger syndicate.', + 'Keep your friends close and your narcotics closer.', + 'In Drug Wars, the first rule is you do talk about Drug Wars.', + 'I''ll be back... after I conquer the drug trade.', + 'Where every decision could be your last.', + 'The stakes have never been higher. (Get it?)', + 'In the shadows of a city gripped by vice, every move has consequences.', + 'Say hello to my little bag of weed.', + 'I feel the need... the need for speed! And by speed, I mean Amphetamines.', + 'May the force be with you, druggie.', + 'There''s no place like the seedy underbelly of a city.', + '"Grandma loves it; reminds her of the good ol'' days." - Sarcastic Sally Says', + '"Pixelated corner store trip. Play hide and seek with the cops!" - StonerGamer420', + '"High scores as wild as my weekend. Like Mario Kart, but with banana peels." - Captain Cannabis', + '"Monopoly''s side hustle. Laughed so hard, neighbours thought I was on something!" - ChuckleMaster69', + '"Five stars for unexpected therapy!" - Johnny Two-eyes', + '"In-game lawyer pricier than virtual stash. Legal drama with pixels, fewer objections." - The Gamer''s Ass', + '"Meh" - Most People', + 'Dedicated to the big boss, Janny "Two-Titz". ♥' + ) + + # If no text is supplied, randomly pick a tagline to use as $text + if ([string]::IsNullOrEmpty($Text)) { + $Text = Get-Random -InputObject $tagLines + $useTagLines = $true + } + + # Define an array of colors to be used for the tag text fade steps + $colours = @('DarkGray', 'Gray') + for ($i = 0; $i -lt 20; $i++) { + $colours += 'White' + } + $colours += @('Gray', 'DarkGray') + for ($i = 0; $i -lt 10; $i++) { + $colours += 'Black' + } + + # Store the original cursor position + $originalCursorPosition = $host.UI.RawUI.CursorPosition + + $alternateText = GetTagLineAlternateText + + $counter = 1 + + # Start an infinite loop + while ($true) { + # Loop through each color in the colors array + foreach ($colour in $colours) { + # Reset the cursor position to the original position + $host.UI.RawUI.CursorPosition = $originalCursorPosition + + # Write the text to the host with the current color, without a newline at the end + if ($colour -eq "Black") { + # If the color is black, clear the line instead. + Write-Centered (' ' * $Text.Length) -NoNewline + $host.UI.RawUI.CursorPosition = $originalCursorPosition + } + else { + Write-Centered $Text -ForegroundColor $colour -NoNewline + } + + # Set the sleep duration based on the current color + $sleepDuration = 125 + + # Pause execution for the specified duration + Start-Sleep -Milliseconds $sleepDuration + + # Check if a key has been pressed + if ([System.Console]::KeyAvailable) { + # Read the key that was pressed + $key = [System.Console]::ReadKey($true) + # If the Enter key was pressed, exit the loop + if ($key.Key -eq "Enter") { + Write-Host + # Exit the function + return + } + } + } + + # Swap the text and the alternate text + if ($useTagLines) { + if ($counter % 2 -eq 0) { + $Text = Get-Random -InputObject $tagLines + } + else { + $Text = GetTagLineAlternateText + } + $counter++ + } + else { + $temp = $Text + $Text = $alternateText + $alternateText = $temp + } + } +} + +# Function to show the title screen +function ShowTitleScreen { + $titleBlocks = @( + @( + ' ( ____', + ' )\ ) ( ( | /', + '(()/( ( ( ( ( )\))( '' ) ( | /', + ' /(_)) )( ))\ )\))( ((_)()\ ) ( /( )( ( | /', + '(_))_ (()\ /((_)((_))\ _(())\_)() )(_))(()\ )\ |/', + ' | \ ((_)(_))( (()(_) \ \((_)/ /((_)_ ((_)((_) (', + ' | |) || ''_|| || |/ _` | \ \/\/ / / _` || ''_|(_-< )\', + ' |___/ |_| \_,_|\__, | \_/\_/ \__,_||_| /__/((_)', + ' |___/' + ), + @( + '________ __ __ ._.', + '\______ \ _______ __ __ ____ / \ / \_____ _______ ______| |', + ' | | \\_ __ \| | \ / ___\ \ \/\/ /\__ \ \_ __ \/ ___/| |', + ' | ` \| | \/| | // /_/ > \ / / __ \_| | \/\___ \ \|', + '/_______ /|__| |____/ \___ / \__/\ / (____ /|__| /____ > __', + ' \/ /_____/ \/ \/ \/ \/' + ), + @( + ' _______ .______ __ __ _______ ____ __ ____ ___ .______ _______. __', + '| \ | _ \ | | | | / _____| \ \ / \ / / / \ | _ \ / || |', + '| .--. || |_) | | | | | | | __ \ \/ \/ / / ^ \ | |_) | | (----`| |', + '| | | || / | | | | | | |_ | \ / / /_\ \ | / \ \ | |', + '| ''--'' || |\ \----.| `--'' | | |__| | \ /\ / / _____ \ | |\ \----..----) | |__|', + '|_______/ | _| `._____| \______/ \______| \__/ \__/ /__/ \__\ | _| `._____||_______/ (__)' + ), + @( + ' ,---,', + ' .'' .'' `\', + ',---.'' \ __ ,-. ,--,', + '| | .`\ |,'' ,''/ /| ,''_ /| ,----._,.', + ': : | '' |'' | |'' | .--. | | : / / '' /', + '| '' '' ; :| | ,'',''_ /| : . || : |', + ' | ; . |'' : / | '' | | . .| | .\ .', + '| | : | ''| | '' | | '' | | |. ; ''; |', + ' : | / ; ; : | : | : ; ; |'' . . |', + '| | ''` ,/ | , ; '' : `--'' \`---`-''| |', + '; : .'' ---'' : , .-./.''__/\_: | ,---,', + '| ,.'' `--`----'' | : : ,`--.'' |', + '---'' .---. \ \ / | : :', + ' /. ./| `--`-'' '' '' ;', + ' .--''. '' ; __ ,-. | | |', + ' /__./ \ : | ,'' ,''/ /| .--.--. '' : ;', + ' .--''. '' \'' . ,--.--. '' | |'' | / / '' | | ', + '/___/ \ | '' '' / \ | | ,''| : /`./ '' : |', + '; \ \; :.--. .-. |'' : / | : ;_ ; | ;', + ' \ ; ` | \__\/: . .| | '' \ \ `. `---''. |', + ' . \ .\ ; ," .--.; |; : | `----. \ `--..`;', + ' \ \ '' \ |/ / ,. || , ; / /`--'' /.--,_', + ' : '' |--"; : .'' \---'' ''--''. / | |`.', + ' \ \ ; | , .-./ `--''---'' `-- -`, ;', + ' ''---" `--`---'' ''---`"''' + ), + @( + '... ... . . . ................. ... ......... ............. .........', + '....... ......... . . ..... .......... ......... ..............', + '..... i2gBBBBBDJi . ..... ... .........', + '...... ZBBBBBBBBBBBBZ: .7 iSgR5r .:jY ..... :Bg .i7J5jvi. ........', + '..... dBBB: .SBBQJ .dQRBBBBBBBb MBBQ ... .BBBr .dBQBBBBBBBj .......', + '..... iQBQs rBBBr BBBBQ. :: BBBS .... .QBB: :BBBg. ......', + '..... .BQBj . . PQBS qQBB: BBBJ . 1BQQ LBQB. JBBBL .....', + '...... .BBB1 . JBBD rBBB: ... BBBg :BBBi BBBB: rBBBBQB ....', + '..... :BBBi :BBB7 QBQg .... iQBQQ:. .UBBBL 5BBBBBQBQSQBQ. .....', + '...... rQBBr:vUbMBBBBBr XBBQr ... .ZBBBBBBBBE. . rXQDI: BBBi ....', + '..... iBZguXQBBBBBJ: . rZbb: .... .irii: ... :BBB. .....', + '...... : ... ....... ..... .QBBU .....', + '....... . ..... . . ........... . . ....... PQv::::jBQBBv ......', + '.... . . ..... . ....... ....................... . :BBBBBQBBEi ......', + '. ............. . 7J . . . ..... . .. . .....', + '. .sL .............. 2BB ..... .. :ri. .rJLr: .....', + '. vBBB. ... ..... ZBBd iuKRQQZXr. .. .2B7dQBBBBBr iBQBBBBBQBB1. ....', + '. :BBBi . ... :BBBi i2BBBBBBBBBu .BBBBB7 .rK7:BBBs .vgY ...', + '. ZBBQ sBQQi . SBBE .:7JBBBB. QBBB: .BBBBEggRggEIi. ..', + '.. rBBB7 iBQBBB. rBBB. .qBBBBQPvPQBB. XBBR . .uDBBBQBMQBBBv .', + '. SBBB. BBBBBBB iBBB: BBBs gBBU .BBB7 ... .i. 5QBg. .', + '.. XQBBBBBM:ZBBP JBBQi . jBBBv7rr::dBBB. DBBB. .... sBBBBsr:::KBBBi ..', + '... iQBBBQ. .PBQBBBQ: ... :bQBQBBBBBBBv KBBBi .... .7ZBBQBBBBBL .', + '.... .r7r. ..... . ..... . ..', + '....... . . ........... .... ......... . .....' + ), + @( + ' .', + ' .__ M . .', + ' | \._.. . _ dM | | _.._. __', + ' |__/[ (_|(_] MMr |/\|(_][ _)', + ' ._| 4MMML .', + ' MMMMM. xf', + ' . "MMMMM .MM-', + ' Mh.. +MMMMMM .MMMM', + ' .MMM. .MMMMML. MMMMMh', + ' )MMMh. MMMMMM MMMMMMM', + ' 3MMMMx. ''MMMMMMf xnMMMMMM"', + ' ''*MMMMM MMMMMM. nMMMMMMP"', + ' *MMMMMx "MMMMM\ .MMMMMMM=', + ' *MMMMMh "MMMMM" JMMMMMMP', + ' MMMMMM 3MMMM. dMMMMMM .', + ' MMMMMM "MMMM .MMMMM( .nnMP"', + '=.. *MMMMx MMM" dMMMM" .nnMMMMM*', + ' "MMn... ''MMMMr ''MM MMM" .nMMMMMMM*"', + ' "4MMMMnn.. *MMM MM MMP" .dMMMMMMM""', + ' ^MMMMMMMMx. *ML "M .M* .MMMMMM**"', + ' *PMMMMMMhn. *x > M .MMMM**""', + ' ""**MMMMhx/.h/ .=*"', + ' .3P"%....', + ' nP" "*MMnx' + ) + ) + + # Change the foreground and background colors to gray and black + $host.UI.RawUI.ForegroundColor = "Gray" + $host.UI.RawUI.BackgroundColor = "Black" + Clear-Host + + # Pick a random title block + [string[]]$titleBlock = Get-Random -InputObject $titleBlocks + + # Figure out how many characters wide the longest line is. + $longestLineLength = 0 + $titleBlock | ForEach-Object { + if ($_.Length -gt $longestLineLength) { + $longestLineLength = $_.Length + } + } + + $blockHeight = $titleBlock.Length + + # Based on the console height and width print the block centered verticalland horizontally + $consoleWidth = $Host.UI.RawUI.WindowSize.Width + $consoleHeight = $Host.UI.RawUI.WindowSize.Height + + # Calculate the left padding + $leftPadding = [math]::Floor(($consoleWidth - $longestLineLength) / 2) + + # Calculate the top padding + $topPadding = [math]::Floor(($consoleHeight - $blockHeight) / 2) + + # Remove some lines from the padding to make room for tagline + $topPadding -= 3 + + # Ensure top padding is not negative + $topPadding = [math]::max(0, $topPadding) + # Add top padding + 1..$topPadding | ForEach-Object { Write-Host } + + # Randomly pick a colour for the block + $foreColour = Get-Random -InputObject @('DarkBlue', 'DarkGreen', 'DarkRed', 'White', 'DarkMagenta') + + # Print the block + $titleBlock | ForEach-Object { + Write-Host (' ' * $leftPadding) $_ -ForegroundColor $foreColour + } + + # Capture the curent cursor position + $originalCursorPosition = $host.UI.RawUI.CursorPosition + + # Move the cursor to the bottom left corner of the UI + $host.UI.RawUI.CursorPosition = New-Object System.Management.Automation.Host.Coordinates 0, ($consoleHeight - 2) + # Show GameVersion as "v1.00" padded to two decimal places + Write-Host ('(v{0:0.00})' -f $script:GameVersion) -NoNewline -ForegroundColor DarkGray + # Move the cursor back to the original position + $host.UI.RawUI.CursorPosition = $originalCursorPosition + + Write-Host + Write-Host + ShowTaglinePrompt +} + +# Function to load the high scores from the highscores.json file +function GetHighScores { + $highScores = @() + if (Test-Path -Path "highscores.json") { + $highScores = Get-Content -Path "highscores.json" | ConvertFrom-Json + } + else { + # Create default high score file with 10 made up initals and scores between 1000 and 100000 + $highScores = 1..10 | ForEach-Object { + [PSCustomObject]@{ + # Generate 3 random uppercase letters for the initals. + Initials = ('{0}{1}{2}' -f [char](Get-Random -Minimum 65 -Maximum 91), [char](Get-Random -Minimum 65 -Maximum 91), [char](Get-Random -Minimum 65 -Maximum 91)) + # Generate a random number between 1000 and 100000 that is a multiple of 10 + Score = [int][Math]::Ceiling((Get-Random -Minimum 1000 -Maximum 100001) / 10) * 10 + Date = (Get-Date).ToString("yyyy-MM-dd") + } + } + + # Save them to the json file + $highScores | ConvertTo-Json | Out-File -FilePath "highscores.json" -Force + } + return $highScores | Sort-Object -Property Score -Descending +} + +# Check if given score will make it onto the high score list +function IsHighScore { + param ( + [Parameter(Mandatory = $true)] + [int]$Score + ) + + $highScores = @(GetHighScores) + $lowerScore = $highScores | Where-Object { $_.Score -lt $Score } | Select-Object -First 1 + + return $null -ne $lowerScore +} + +# Function to add a new score to the high scores list +function AddHighScore { + param ( + [Parameter(Mandatory = $true)] + [int]$Score, + [Parameter(Mandatory = $true)] + [string]$Initials + ) + + $highScores = @(GetHighScores) + $newScore = [PSCustomObject]@{ + Initials = $Initials + Score = $Score + Date = (Get-Date).ToString("yyyy-MM-dd") + } + $highScores += $newScore + + # Sort the high scores by score, descending, and keep the top 10 + $highScores | Sort-Object -Property Score -Descending | Select-Object -First 10 | ConvertTo-Json | Out-File -FilePath "highscores.json" -Force +} + +# Function to advance to the game day +function AdvanceGameDay { + param ( + [int]$Days = 1, + [switch]$ChangeOutfit, + [switch]$SkipPriceUpdate + ) + + # Advance the game day + $script:Player.GameDay += $Days + + if ($script:Player.GameDay -gt $script:GameDays) { + return + } + + Write-Centered ('Welcome to day {0}! ({1} days left)' -f $script:Player.GameDay, ($script:GameDays - $script:Player.GameDay)) -ForegroundColor Yellow + + # If today is a Home Drug Sale day, announce it + if (IsHomeDrugSaleDay) { + Write-Host + Write-Centered ('*** Today is a home drug sale day! ***') -ForegroundColor Green + Write-Centered ('Cities will be selling their home drugs for CHEAP!') -ForegroundColor DarkGray + Start-Sleep 3 + } + + # Reset the random event chance for the day. + $script:RandomEventChance_Current = $script:RandomEventChance_Start + + # Change your clothes + if ($ChangeOutfit) { + $clothesChangePhrases = @( + 'Yo, gotta switch up the fit, you know?', + 'Rollin'' with the fashion vibes, gotta keep them threads on point, staying icy for the streets, man.', + 'It''s all about that wardrobe rotation, staying lit and rockin'' those looks that scream realness, keeping it one hunnid, ya feel?', + '''Cuz you gotta keep them threads fresh, homey.', + 'Time for a style upgrade, switchin'' it up like a boss!', + 'Stepping into a new aesthetic, changing lanes in the fashion game.', + 'Closet remix time, gotta keep the outfit playlist on shuffle!', + 'Switchin'' gears, stayin'' fierce in every wardrobe transition.', + 'Fresh threads alert! Changing the game one outfit at a time.', + 'Wardrobe evolution in progress, level up those fashion stats!', + 'Transforming the look, embracing the fashion chameleon within.', + 'Outfit switch: Engage! It''s like a style mission every day.', + 'Breaking out the fashion artillery, time for a sartorial revolution.', + 'Clothes swap mode: ON. Let the style adventure begin!', + 'Changin'' the attire game, making every outfit a masterpiece.', + 'Adios, old threads! Time for a stylish reincarnation.', + 'Fashion forward, always. Switchin'' up the narrative, one outfit at a time.', + 'Clothes metamorphosis unlocked: Embrace the style transformation!', + 'Upgrade the threads, amplify the vibes. It''s a fashion manifesto!', + 'Clothing alchemy in progress: Turning basics into bold statements.' + ) + + # Change the player's outfit, and capture the new outfit name + $newOutfit = $script:Player.ChangeOutfit() + + # Lower-case the first character + $newOutfit = $newOutfit.Substring(0, 1).ToLower() + $newOutfit.Substring(1) + Write-Host + Write-Centered ('You change your clothes, putting on your favourite {0}.' -f $newOutfit) + Write-Centered ('({0})' -f (Get-Random -InputObject $clothesChangePhrases)) -ForegroundColor DarkGray + Start-Sleep -Milliseconds 750 + } + + if (!$SkipPriceUpdate) { + # Randomize the drug prices for the day + SetGameDrugMultipliers + } +} + +# This function sets a random price multiplier for each drug in the game. +function SetGameDrugMultipliers { + $drugs = $script:GameDrugs + foreach ($drug in $drugs) { + $drug.PriceMultiplier = Get-Random -Minimum 0.5 -Maximum 2.6 + } +} + +# This function sets the price multiplier for a specified game drug to a specified multipler. +function SetDrugPriceMultiplier { + param ( + [Parameter(Mandatory = $true)] + [string[]]$DrugNames, + [Parameter(Mandatory = $true)] + [double]$Multiplier + ) + + foreach ($name in $DrugNames) { + $drug = $script:GameDrugs | Where-Object { $_.Name -eq $name } + $drug.PriceMultiplier = $Multiplier + } +} + +# Function to simulate a cop encounter +function CopFight { + #region Function Definitions + + # Function to simulate getting arrested + function GetArrested { + param ( + [int]$CopsKilled = 0 + ) + + if ($CopsKilled -lt 1) { + StartRandomEvent -EventName 'Busted' + } + else { + JailForLife + } + } + + # Function to simulate getting shot dead by cops + function GetShotDead { + $shotDeadStrings = @( + 'The cops shoot you dead!', + 'The pigs spray you with lead!', + 'The cops turn you into a human pinata!', + 'The pigs serve you a hot plate of justice!', + 'The flatfoots send you on a one-way ticket to the afterlife!', + 'The pigs give you a front-row seat to the great beyond!', + 'The flatfoots send you on an express elevator to the afterlife!', + 'The cops give you a golden ticket to paradise!', + 'The flatfoots whisk you away on a magical mystery tour of the great beyond!', + 'The pigs upgrade your ticket to first class on the cosmic express!', + 'The flatfoots give you a VIP pass to the celestial realm!' + ) + + Clear-Host + ShowHeader + Write-Host + + Write-BlockLetters 'Blammo!' -BackgroundColor DarkRed -ForegroundColor DarkGray -Align Center -VerticalPadding 1 + Start-Sleep -Seconds 3 + Write-Host + Write-Centered (Get-Random -InputObject $shotDeadStrings) -ForegroundColor Red + Start-Sleep -Seconds 2 + Write-Host + Write-Centered ('You dead.') -ForegroundColor DarkRed + Write-Host + PressEnterPrompt + EndGame + } + + # Function to calculate the number of cops based on player money and inventory + function CalculateCops { + param ( + [Parameter(Mandatory = $true)] + [int]$PlayerMoney, + [Parameter(Mandatory = $true)] + [int]$PlayerInventoryCount + ) + # For every $5000 in player money, add 1 cop + $numCopsMoney = [math]::Ceiling($PlayerMoney / 5000) + # For every 50 items in player inventory, add 1 cop + $numCopsInventory = [math]::Ceiling($PlayerInventoryCount / 50) + + # Add the two calculated values to get the total number of cops (Min. 1) + $totalCops = $numCopsMoney + $numCopsInventory + return [math]::Max($totalCops, 1) + } + + #endregion Function Definitions + + Clear-Host + ShowHeader + Write-Host + $grawlixes = @( + '$#@%', + '#@*&', + '%$#@', + '*&%$', + '@#$%', + '$@*%', + 'F***' + ) + $grawlix = Get-Random -InputObject $grawlixes + + $copNames = @( + 'cops', + 'pigs', + 'law', + 'fuzz', + 'po-po' + ) + $copName = Get-Random -InputObject $copNames + + Write-BlockLetters ('{0}! It''s the {1}!' -f $grawlix, $copName) -BackgroundColor DarkRed -ForegroundColor Blue -Align Center -VerticalPadding 1 + + # Calculate the number of cops + $numCops = CalculateCops -PlayerMoney $script:Player.Cash -PlayerInventoryCount $script:Player.get_DrugCount() + + # Display encounter message + Write-Host + if ($numCops -eq 1) { + Write-Centered ('You encounter 1 cop!') -ForegroundColor Red + } + else { + Write-Centered ('You encounter {0} cops!' -f $numCops) -ForegroundColor Red + # if there's more than 5 cops, add a little extra drama + if ($numCops -gt 5 -and $numCops -le 10) { + Write-Centered ('It''s a whole squad of cops!') -ForegroundColor DarkGray + } + + # if there's more than 10 cops, add even more drama + if ($numCops -gt 10) { + Write-Centered ('It''s a full-blown police raid!') -ForegroundColor DarkGray + } + } + Start-Sleep -Seconds 2 + # Display player weapon level + Write-Centered ('Your weapon stopping power: {0}' -f $script:Player.get_StoppingPower()) + Start-Sleep -Milliseconds 500 + + # Display options + Write-Host + $options = @( + '1. Attempt to bribe', + '2. Try to flee', + '3. Fight' + ) + + # Find the length of the longest string + $maxLength = ($options | Measure-Object -Property Length -Maximum).Maximum + + $line = '·' + ('=' * $maxLength) + '·' + Write-Centered $line -ForegroundColor DarkGray + + # Loop through each option, pad it to the maximum length, and print it + foreach ($option in $options) { + Write-Centered ($option.PadRight($maxLength)) -ForegroundColor White + } + + Write-Centered $line -ForegroundColor DarkGray + + # Get player choice + Write-Host + Write-Centered 'Choose an option:' -NoNewline + $validOptions = '1', '2', '3' + $choice = $null + while ($choice -notin $validOptions) { + $key = [System.Console]::ReadKey($true) + $choice = $key.KeyChar.ToString() + } + Write-Host + + OverWriteLastLines -Count 8 -WithClear + + # Calculate the chance of getting shot (10% + 2% per cop) + $shotChance = 10 + ($numCops * 2) + + # Process player choice + switch ($choice) { + 1 { + # Attempt to bribe (costs 20% of player's money or $250, per cop, whichever is higher) + $bribeAmount = [math]::Max($script:Player.Cash * 0.2, 250) * $numCops + + Write-Host + # Cops think about it for a moment + if ($numCops -eq 1) { + Write-Centered 'The cop considers your offer...' -ForegroundColor Yellow + } + else { + Write-Centered 'The cops consider your offer...' -ForegroundColor Yellow + } + + Start-Sleep -Seconds 5 + Write-Host + if ($script:Player.Cash -ge $bribeAmount) { + Write-Centered ('Bribe successful! You avoid legal consequences. You paid ${0} in bribes.' -f $bribeAmount) -ForegroundColor Green + $script:Player.Cash -= $bribeAmount + Start-Sleep -Seconds 2 + Write-Host + PressEnterPrompt + } + else { + if ($numCops -eq 1) { + Write-Centered 'Bribe failed! You don''t have enough money to bribe the cop.' -ForegroundColor DarkRed + } + else { + Write-Centered 'Bribe failed! You don''t have enough money to bribe all the cops.' -ForegroundColor DarkRed + } + Start-Sleep -Seconds 2 + Write-Host + PressEnterPrompt + GetArrested + } + } + 2 { + # Try to flee + $fleeSuccess = [bool](Get-Random -Maximum 2) + + if ($fleeSuccess) { + Write-Host + $fleeQuotes = @( + 'You successfully flee from the police!', + 'You manage to escape the cops!', + 'You evade the cops and make a clean getaway!', + 'You dodge the cops and disappear into the shadows!', + 'You give the cops the slip and vanish into thin air!', + 'You outmaneuver the cops and make a daring escape!', + 'Deke left, deke right... you out!', + 'You hoof it full bore and leave the cops in the dust!', + 'Damn! Look at you! You''re like Usain Bolt or some shit.' + 'Dude, you totally transcended the law! Freedom vibes!', + 'Far out, man! You''ve slipped the cuffs and danced into the night!', + 'Whoa, like magic, man! You''ve vanished from the pigs'' radar!', + 'Groovy maneuvers, dude! You''ve melted into the cosmic ether!', + 'You''ve become one with the shadows, man! The cops are clueless!', + 'Incredible, dude! You''ve unlocked the groove and escaped the fuzz!', + 'You zigged and zagged, man! Now you''re surfing the freedom wave!', + 'Running like the wind, man! You''re a free spirit, unstoppable!', + 'Unbelievable speed, man! You''re like a mythical creature or something.' + ) + Write-Centered (Get-Random -InputObject $fleeQuotes) -ForegroundColor Green + Start-Sleep -Seconds 2 + Write-Host + PressEnterPrompt + } + else { + Write-Host + $fleeFailedQuotes = @( + 'Flee attempt failed! The cop(s) nab you.', + 'You need to loose some weight homey, you just got caught.', + 'Hey noodle legs, you need to work out. They got ya!', + 'Whoa, man! Looks like the fuzz crashed your party!', + 'Dude, the cops totally harshed your mellow. Bummer.', + 'Far out, man! You''re like, busted by the po-po.', + 'Heavy vibes, bro. The heat''s got you in their trip.', + 'Hey, spaced-out soul, they''ve got you in their cosmic net.', + 'Groovy idea, man, but they''ve got you in their buzzkill zone.', + 'Wipeout, dude! The authorities have totally buzzed your high.', + 'Dang, you''re caught in their freaky fun-sucking vortex.', + 'Cosmic fail, dude! You''re snagged in their astral lasso.', + 'Bummer deal, man! The pigs have crashed your psychedelic party.' + ) + Write-Centered (Get-Random -InputObject $fleeFailedQuotes) -ForegroundColor DarkRed + Start-Sleep -Seconds 3 + Write-Host + PressEnterPrompt + GetArrested + } + } + 3 { + # Track the cop fight in Game Statistics + $script:GameStats.CopFights++ + + # Pull out yer weapons... + Write-Host + $gunCount = $script:Player.get_Guns().Count + + if ($gunCount -gt 0) { + $gunOutActions = @( + 'bust', + 'pop', + 'pull', + 'whip', + 'yank' + ) + $gunOutAction = Get-Random -InputObject $gunOutActions + + if ($gunCount -gt 1) { + $gunName = $script:Player.get_Guns()[0].Name + $gunName2 = $script:Player.get_Guns()[1].Name + Write-Centered ('You {0} out your {1} and {2} and prepare to fight!' -f $gunOutAction, $gunName, $gunName2) -ForegroundColor Yellow + } + else { + $gunName = $script:Player.get_Guns()[0].Name + Write-Centered ('You {0} out your {1} and prepare to fight!' -f $gunOutAction, $gunName)-ForegroundColor Yellow + } + } + else { + $fistDrawMessages = @( + 'You bust out yo'' fists.', + 'You gear up to throw down.', + 'You get ready to knuckle up.', + 'You square up for a brawl.', + 'You lace up for a fistfight.', + 'You glove up for a scrap.', + 'You get your hands ready for a tussle.', + 'You''re about to throw some punches.', + 'You''re gearing up to duke it out.', + 'You''re prepping to throw some knuckles.', + 'You''re getting set for a bare-knuckle showdown.', + 'You ''bout to throw down, fists up!', + 'You gettin'' ready to knuckle up, homie!', + 'You fixin'' to throw dem hands, gettin'' yo'' game face on!', + 'You ''bout to bust out them fists, gettin'' in the zone!', + 'You gearin'' up for a street brawl, fists cocked!', + 'You ''bout to lay the smackdown, fists clenched!', + 'You gettin'' set to throw dem bones, ready to rumble!', + 'You gettin'' your fists primed, ready to throw some heat!', + 'You preppin'' to duke it out, fists ready to fly!', + 'You gettin'' your knuckles ready for a throwdown, ain''t holdin'' back!' + ) + Write-Centered (Get-Random -InputObject $fistDrawMessages) -ForegroundColor Yellow + } + + Start-Sleep -Seconds 2 + Write-Host + + # Initialize shootout variables + $copsKilled = 0 + $playerCaught = $false + + # Calculate chance of killing a cop. Kill chance is between 1% and 90%, with +5% for each stopping power. + $killChance = [math]::Max([math]::Min($script:Player.get_StoppingPower() * 5, 90), 1) + + # Loop until all cops are killed or player is caught or shot + while ($numCops -gt 0 -and -not $playerCaught) { + if ($gunCount -gt 0) { + $aboutToShootPhrases = @( + 'Crosshairs aligned, breath held... Blam!', + 'One squeeze, one shot...', + 'Ready, aim, fire!', + 'The moment of truth...', + 'With precision honed, the shot rings out...', + 'You fire off a shot...', + 'You get a cop in your sights...', + 'Onomatopoeia' + ) + $randomAboutToShootPhrase = Get-Random -InputObject $aboutToShootPhrases + if ($randomAboutToShootPhrase -eq 'Onomatopoeia') { + $randomIndex = Get-Random -Minimum 0 -Maximum $script:Player.Guns.Count + $randomGun = $script:Player.Guns[$randomIndex] + $randomAboutToShootPhrase = $randomGun.Onomatopoeia + } + + Write-Centered $randomAboutToShootPhrase -ForegroundColor White + } + else { + $punchPhrase = GetRandomPunchPhrase + Write-Centered $punchPhrase + } + + Start-Sleep -Seconds 2 + + # Shooting at cops. + $killedCop = [bool]((Get-Random -Maximum 100) -lt $killChance) + + # If the cop was killed, decrease the cop count + if ($killedCop) { + $numCops-- + $copsKilled++ + + $copKilledPhrases = @( + 'You killed a cop!', + 'You took out a cop!', + 'You smoked a flatfoot!', + 'You iced a pig!', + 'You dropped a cop!', + 'You capped his ass!', + 'Yo, you just dropped a badge!', + 'Coolin'' some of that heat! Nice.', + 'Cop''s down, respect.', + 'One less pig on the streets, good job.', + 'You just made the streets safer, playa.', + 'RIP, officer. Good work.', + 'Damn, you smoked a cop!', + 'You just made a serious statement, son.', + 'Pig''s out of commission. Well done.', + 'You handled that blue uniform smooth, like a boss.', + 'You just rubbed out a flatfoot, see?', + 'That copper won''t be walking the beat no more, see?', + 'Yous made the big boss proud by knocking off that cop.', + 'You just sent that bull on a one-way trip to the morgue.', + 'That badge ain''t shining no more, thanks to you, see?', + 'Yous just made the headlines, kid. Cop down!', + 'You just made your bones with the family, taking out that cop.', + 'That flatfoot won''t be hassling nobody else, not after you got to him.', + 'You just earned yourself some serious respect in this town, see?' + ) + $randomCopKilledPhrase = Get-Random -InputObject $copKilledPhrases + + if ($copsKilled -gt 1) { + $replacements = @{ + 'a cop' = 'another cop' + 'a flatfoot' = 'another flatfoot' + 'a pig' = 'another pig' + } + + foreach ($key in $replacements.Keys) { + $randomCopKilledPhrase = $randomCopKilledPhrase.Replace($key, $replacements[$key]) + } + } + Write-Centered $randomCopKilledPhrase -ForegroundColor Green + + # Increase chance of them shooting you in retaliation by 10%, max 90% + $shotChance = [math]::Min($shotChance + 10, 90) + } + else { + $youMissedPhrases = @( + 'Close, but no cigar!', + 'Come on, man, you gotta aim better than that!', + 'Dude, you''re like, totally off target, but keep grooving!', + 'Far out, that was way off! Channel your inner zen next time.', + 'Haha, you shootin'' blanks, son!', + 'Nice try, but you ain''t hitting nothin'' today.', + 'Nice try, but your aim''s about as good as a broken compass!', + 'Not even close, homey.', + 'Not even close, man, but keep spreading those good vibes!', + 'Swing! And a miss.', + 'That was so far off, it''s in a different zip code!', + 'Yo, you aiming with your eyes closed or what?!', + 'You missed!', + 'You missed, but hey, the universe still loves you!' + ) + Write-Centered (Get-Random -InputObject $youMissedPhrases) -ForegroundColor Red + } + + Start-Sleep -Seconds 1 + Write-Centered ('{0} cops remaining.' -f $numCops) -ForegroundColor Blue + + if ($numCops -gt 0) { + # Increase chance of them shooting you in retaliation by 2%, max 90% + $shotChance = [math]::Min($shotChance + 2, 90) + Write-Host + + $copMovePhrase = @( + 'The cops make their move...', + 'The fuzz starts shufflin''...', + 'The po-po''s rollin'' in on ya...', + 'The law''s makin'' their play...', + 'The authorities are throwin'' down...', + 'The 5-0''s bustin'' a move...', + 'The heat''s comin'' down...', + 'The boys in blue are makin'' a move...', + 'The badges are makin'' their move...', + 'The law dogs are on the scent...' + ) + Write-Centered (Get-Random -InputObject $copMovePhrase) -ForegroundColor Blue + Start-Sleep -Seconds 2 + # 50% chance of losing the fight right now + if ((Get-Random -Maximum 100) -lt 50) { + $playerCaught = $true + } + else { + $copsMissedPhrases = @( + 'The cops miss their shot!', + 'The pigs'' shot goes wide!', + 'The law''s aim is off!', + 'The fuzz missed their mark!', + 'You dodge the cops'' shot!', + 'Duck and cover - the cops miss!', + 'Zing! Just missed you!', + 'You pull some Matrix-like shit and dodge the shots!' + ) + Write-Centered (Get-Random -InputObject $copsMissedPhrases) -ForegroundColor Green + + Start-Sleep -Seconds 5 + OverWriteLastLines -Count 6 -WithClear + } + } + } + + Write-Host + if (!$playerCaught) { + $fightSuccessPhrases = @( + 'You straight-up owned that scrap, ain''t no legal mess stuck to you.' + 'You handled your business, no court bothered with you.' + 'You won the brawl, no cops breathed down your neck.' + 'You came out on top, no judge messed with you.' + 'You dominated the fight, no legal drama touched you.' + 'You took care of business, no courtroom saw your face.' + 'You smashed it, no law hassled you.' + 'You crushed it, no legal stuff stuck to you.' + 'You handled that rumble, no court dealt with you.' + 'You came out on top, no legal mess stuck to you.' + 'You handled that scrap, no judge messed with you.' + 'You handled your business, no legal mess touched you.' + 'You took care of business, no legal heat came your way.' + 'You won the showdown, no legal trouble came atcha.' + 'You came out on top, no legal mess stuck to you.' + ) + + Write-Centered (Get-Random -InputObject $fightSuccessPhrases) -ForegroundColor Green + Start-Sleep -Seconds 2 + + if ($copsKilled -gt 0) { + # Get paid by the mob for each cop you killed + $bossName = $script:MobBossNames | Get-Random + $mobPayment = $copsKilled * 5000 + $script:Player.Cash += $mobPayment + Write-Host + if ($copsKilled -eq 1) { + Write-Centered ('{0} pays you ${1} for taking out a cop!' -f $bossName, $mobPayment) -ForegroundColor Green + } + else { + Write-Centered ('{0} pays you ${1} for taking out {2} cops!' -f $bossName, $mobPayment, $copsKilled) -ForegroundColor Green + } + + $mobAppreciationPhrases = @( + 'Thanks, you''re making the family proud.', + 'Appreciate your loyalty, keep up the good work.', + 'Solid work, you''re earning your stripes.', + 'You''re a real stand-up guy, thanks for holding it down.', + 'Good looks, your efforts don''t go unnoticed.', + 'Thanks for keeping things running smooth, capisce?', + 'Much obliged, you''re an asset to the operation.', + 'You''re an ace in our deck, thanks for your hustle.', + 'Respect for putting in the work, it''s noticed.', + 'Thanks, you''re keeping the wheels greased and turning.' + ) + Write-Centered (Get-Random -InputObject $mobAppreciationPhrases) -ForegroundColor DarkGray + } + + Write-Host + PressEnterPrompt + } + else { + $copsGotYouPhrases = @( + 'You lose the fight!', + 'They got ya, fam!', + 'The cops take you down!', + 'Pastafazool! They got you!', + 'Damn! They got you!' + ) + Write-Centered (Get-Random -InputObject $copsGotYouPhrases) -ForegroundColor Red + Start-Sleep -Seconds 2 + + Write-Centered 'Uh oh...' -ForegroundColor DarkGray + Start-Sleep -Seconds 2 + Write-Host + PressEnterPrompt + + # Calculate the chance of getting shot + if ((Get-Random -Maximum 100) -lt $shotChance) { + GetShotDead + } + else { + GetArrested -CopsKilled $copsKilled + } + } + } + } +} + +# Function to generate a random punch phrase +function GetRandomPunchPhrase { + $punchNames = @( + 'backfist', + 'bitch slap', + 'body blow', + 'hammer fist', + 'haymaker', + 'hook', + 'jab', + 'overhand', + 'slap', + 'sucker punch', + 'superman punch', + 'thorat punch', + 'uppercut' + ) + + $punchPhrases = @( + 'You swing your arm like a pro, aiming for greatness with your best PUNCH_NAME...', + 'You unleash your inner boxer, swinging and hoping for the best with your PUNCH_NAME...', + 'You throw caution to the wind and your fist forward, attempting your most spectacular PUNCH_NAME...', + 'You channel your inner Rocky Balboa, swinging for the stars with your best PUNCH_NAME...', + 'You take a wild swing, hoping your PUNCH_NAME hits the mark like a comedic punchline...', + 'You throw your arm into the fray, attempting your PUNCH_NAME with the finesse of a clumsy superhero...', + 'You wind up like a cartoon character and deliver your PUNCH_NAME with all the gusto of a Saturday morning slapstick routine...', + 'You take a swing, aiming for glory with your PUNCH_NAME, like a clumsy knight in a medieval comedy...', + 'You give it your all, swinging your PUNCH_NAME like a dad trying to impress his kids with a wild dance move at a family party...' + ) + + # Select a random punch name and phrase + $randomPunchName = $punchNames | Get-Random + $randomPunchPhrase = $punchPhrases | Get-Random + + # Replace "PUNCH_NAME" placeholder with the selected punch name + $randomPunchPhrase = $randomPunchPhrase -replace 'PUNCH_NAME', $randomPunchName + + return $randomPunchPhrase +} + +function ShowGameStatsScreen { + param ( + [int]$HeightReduction = 1, # Default to 1 line shorter (for prompt) + [string[]]$Content, # Array of strings to display inside border + [ConsoleColor]$BorderColor = [ConsoleColor]::DarkGray, + [ConsoleColor]$ContentColor = [ConsoleColor]::White + ) + + # Get the current console size + $width = $Host.UI.RawUI.WindowSize.Width + $height = $Host.UI.RawUI.WindowSize.Height - $HeightReduction + + # Clear the console + Clear-Host + + # Display the header (as top border) + ShowHeader + + # Define the side borders for content area + $sideBorderThin = '|' + (' ' * ($width - 2)) + '|' + $sideBorderThick = '║' + (' ' * ($width - 2)) + '║' + + # Draw the border for the content area + Write-Host $sideBorderThin -ForegroundColor $BorderColor + for ($i = 0; $i -lt ($height - 6); $i++) { + Write-Host $sideBorderThick -ForegroundColor $BorderColor + } + + # Draw the bottom border with conditional middle pattern + if (($width - 4) % 2 -eq 0) { + # Even width: + $middle = '-· ·-' + } + else { + # Odd width: + $middle = '-· ·-' + } + + # Calculate the left and right part lengths (without the middle pattern) + $leftPartLength = [Math]::Floor(($width - 4 - $middle.Length) / 2) + 1 + $rightPartLength = $width - 2 - $leftPartLength - $middle.Length + + # Draw the bottom border + $bottomBorder = '╚' + ('═' * $leftPartLength) + $middle + ('═' * $rightPartLength) + '╝' + Write-Host $bottomBorder -ForegroundColor $BorderColor + + # Calculate the starting row for content placement (vertical centering) + $currentRow = [Math]::Floor(($height - $Content.Length) / 2) + + # Place content at the correct locations (centered horizontally) + foreach ($line in $Content) { + $lineLength = $line.Length + $padding = [Math]::Floor(($width - 2 - $lineLength) / 2) + + # Move cursor to the correct position and write the line + $Host.UI.RawUI.CursorPosition = New-Object System.Management.Automation.Host.Coordinates($padding, $currentRow) + Write-Host $line -ForegroundColor $ContentColor -NoNewline + + # Move to the next row + $currentRow++ + } + + # Set the cursor position to the line below the bottom border + $Host.UI.RawUI.CursorPosition = New-Object System.Management.Automation.Host.Coordinates(0, $height) + + PressEnterPrompt +} +############################## +#endregion Function Definitions +################################ + +################# +# Main Entry Point +################### + +# Set default error action +$ErrorActionPreference = 'Stop' + +# Confirm that the console window is large enough to display the game. +if (!$SkipConsoleSizeCheck) { + CheckConsoleSize +} + +# Commence playing! +$script:Playing = $true + +while ($script:Playing) { + # Show title screen + ShowTitleScreen + + # Initialize game state. + InitGame + + # Main game loop. + while (!$script:GameOver) { + + # Update MostCashAtOnce stats by comparing player's current cash + $script:GameStats.UpdateMostCashAtOnce($script:Player.Cash) + + # Show main menu and get user choice + $choice = ShowMainMenu + switch ($choice) { + "B" { + ShowBuyDrugsMenu + } + "D" { + ShowDrugopedia + } + "F" { + ShowFlushDrugsMenu + } + "J" { + Jet + } + "Q" { + QuitGame + } + "S" { + ShowSellDrugsMenu + } + "T" { + ShowGameStatsScreen -Content $script:GameStats.GetPropertiesAsStrings() + } + "?" { + ShowHelp + } + "!" { + $secondKey = [Console]::ReadKey($true).KeyChar.ToString() + if ($secondKey -eq ")") { + StartRandomEvent -EventName (Read-Host -Prompt 'Enter event name') + } + } + "G" { + if ($script:Player.City.HasGunShop) { + ShowGunshopMenu + } + else { + Write-Host + Write-Centered 'Invalid choice' + Start-Sleep -Milliseconds 500 + } + } + default { + Write-Host + Write-Centered 'Invalid choice' + Start-Sleep -Milliseconds 500 + } + } + + # User is quitting, or the game is over, break out of the loop. + if ((!$script:Playing) -or $script:GameOver) { + break + } + + # Random events have an X% chance of happening each day. + if ((Get-Random -Maximum 100) -lt $script:RandomEventChance_Current) { + StartRandomEvent + + # Each time one random event fires off, the chance of getting another that day is halved. + $script:RandomEventChance_Current = [math]::Floor($script:RandomEventChance_Current / 2) + + # If the chance is less than 1% set it to 0. + if ($script:RandomEventChance_Current -lt 1) { + $script:RandomEventChance_Current = 0 + } + } + + # No cash and no drugs, game over + if ($script:Player.Cash -le 0 -and $script:Player.Drugs.Count -eq 0) { + Clear-Host + ShowHeader + Write-Host + Write-Centered 'You''re broke and you have no drugs left.' -ForegroundColor DarkRed + Start-Sleep -Seconds 3 + Write-Centered 'You''re not really cut out for this business.' -ForegroundColor DarkGray + Start-Sleep -Seconds 4 + Write-Host + Write-BlockLetters 'Game over.' -ForegroundColor Black -BackgroundColor DarkRed -VerticalPadding 1 -Align Center + Write-Host + PressEnterPrompt + EndGame + } + + # Out of days, game over. + if ($script:Player.GameDay -gt $script:GameDays) { + ShowGameOverCuzDays -GameDay $script:GameDays + } + } +} \ No newline at end of file From 3ea90eaf4d5ca47bab8735b3d305010474ab1dc8 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 26 Mar 2025 14:48:55 +0100 Subject: [PATCH 240/737] Updated play-rick.ps1 --- scripts/play-rick.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/play-rick.ps1 b/scripts/play-rick.ps1 index a0281255d..9867cf228 100755 --- a/scripts/play-rick.ps1 +++ b/scripts/play-rick.ps1 @@ -12,5 +12,5 @@ #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.youtube.com/watch?v=v7ScGV5128A" -"You've been Rick-Rolled 🤣" +"Sorry, you've been Rick-Rolled by Markus 🤣" exit 0 # success From ec33cb8829a09310114a31d97b22545ab5724595 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 27 Mar 2025 08:32:38 +0100 Subject: [PATCH 241/737] Set permissions for execution --- scripts/cd-scripts.ps1 | 4 ++-- scripts/convert-dir27z.ps1 | 0 scripts/convert-history2ps1.ps1 | 0 scripts/install-fonts.ps1 | 0 scripts/new-tab.ps1 | 0 scripts/play-drug-wars.ps1 | 0 scripts/reboot-into-bios.ps1 | 0 scripts/write-progress-bar.ps1 | 0 scripts/write-story.ps1 | 0 9 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 scripts/convert-dir27z.ps1 mode change 100644 => 100755 scripts/convert-history2ps1.ps1 mode change 100644 => 100755 scripts/install-fonts.ps1 mode change 100644 => 100755 scripts/new-tab.ps1 mode change 100644 => 100755 scripts/play-drug-wars.ps1 mode change 100644 => 100755 scripts/reboot-into-bios.ps1 mode change 100644 => 100755 scripts/write-progress-bar.ps1 mode change 100644 => 100755 scripts/write-story.ps1 diff --git a/scripts/cd-scripts.ps1 b/scripts/cd-scripts.ps1 index 4daf94576..0f7310b77 100755 --- a/scripts/cd-scripts.ps1 +++ b/scripts/cd-scripts.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the PowerShell scripts folder. .EXAMPLE PS> ./cd-scripts.ps1 - 📂C:\Repos\PowerShell\scripts entered (has 644 scripts). + 📂C:\Repos\PowerShell\scripts entered (has 645 scripts) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -16,7 +16,7 @@ try { $path = Resolve-Path "$PSScriptRoot" if (-not(Test-Path "$path" -pathType container)) { throw "PowerShell scripts folder at 📂$path doesn't exist (yet)" } $files = Get-ChildItem $path -attributes !Directory - "📂$path entered (has $($files.Count) scripts)." + "📂$path entered (has $($files.Count) scripts)" Set-Location "$path" exit 0 # success } catch { diff --git a/scripts/convert-dir27z.ps1 b/scripts/convert-dir27z.ps1 old mode 100644 new mode 100755 diff --git a/scripts/convert-history2ps1.ps1 b/scripts/convert-history2ps1.ps1 old mode 100644 new mode 100755 diff --git a/scripts/install-fonts.ps1 b/scripts/install-fonts.ps1 old mode 100644 new mode 100755 diff --git a/scripts/new-tab.ps1 b/scripts/new-tab.ps1 old mode 100644 new mode 100755 diff --git a/scripts/play-drug-wars.ps1 b/scripts/play-drug-wars.ps1 old mode 100644 new mode 100755 diff --git a/scripts/reboot-into-bios.ps1 b/scripts/reboot-into-bios.ps1 old mode 100644 new mode 100755 diff --git a/scripts/write-progress-bar.ps1 b/scripts/write-progress-bar.ps1 old mode 100644 new mode 100755 diff --git a/scripts/write-story.ps1 b/scripts/write-story.ps1 old mode 100644 new mode 100755 From be820bb0cfb14e0290068671cad2aec09e9e9793 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 27 Mar 2025 08:37:13 +0100 Subject: [PATCH 242/737] Updated cd-repos.ps1 --- scripts/cd-repos.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cd-repos.ps1 b/scripts/cd-repos.ps1 index b5b592e32..b4b2c68ae 100755 --- a/scripts/cd-repos.ps1 +++ b/scripts/cd-repos.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the folder for Git repositories. .EXAMPLE PS> ./cd-repos.ps1 - 📂C:\Repos + 📂C:\Repos (has 33 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -29,7 +29,7 @@ try { $path = Resolve-Path $path Set-Location "$path" $subfolders = Get-ChildItem $path -attributes Directory - "📂$path entered (has $($subfolders.Count) subfolders)." + "📂$path entered (has $($subfolders.Count) subfolders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" From 37fb994ed5edd23bfc5f901d87ea82a991ec4b59 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 27 Mar 2025 09:00:15 +0100 Subject: [PATCH 243/737] Updated some cd-*.ps1 scripts --- scripts/cd-crashdumps.ps1 | 6 ++++-- scripts/cd-docs.ps1 | 6 ++++-- scripts/cd-downloads.ps1 | 4 ++-- scripts/cd-home.ps1 | 6 ++++-- scripts/cd-music.ps1 | 14 ++++++++------ scripts/cd-pics.ps1 | 6 ++++-- scripts/cd-root.ps1 | 6 ++++-- scripts/cd-screenshots.ps1 | 6 ++++-- 8 files changed, 34 insertions(+), 20 deletions(-) diff --git a/scripts/cd-crashdumps.ps1 b/scripts/cd-crashdumps.ps1 index eae4441c6..b9734e341 100755 --- a/scripts/cd-crashdumps.ps1 +++ b/scripts/cd-crashdumps.ps1 @@ -5,7 +5,7 @@ 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 + 📂C:\Users\Markus\AppData\Local\CrashDumps entered (has 3 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -21,7 +21,9 @@ try { $path += "\AppData\Local\CrashDumps" if (!(Test-Path "$path" -pathType container)) { throw "Crashdumps directory at $path doesn't exist (yet)" } Set-Location "$Path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/cd-docs.ps1 b/scripts/cd-docs.ps1 index acea329e1..efbdab17e 100755 --- a/scripts/cd-docs.ps1 +++ b/scripts/cd-docs.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the documents folder. .EXAMPLE PS> ./cd-docs - 📂C:\Users\Markus\Documents + 📂C:\Users\Markus\Documents entered (has 3 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,7 +22,9 @@ try { throw "Documents folder at 📂$path doesn't exist (yet)" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/cd-downloads.ps1 b/scripts/cd-downloads.ps1 index cd2ec760e..bb697e3cb 100755 --- a/scripts/cd-downloads.ps1 +++ b/scripts/cd-downloads.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's downloads folder. .EXAMPLE PS> ./cd-downloads - 📂C:\Users\Markus\Downloads + 📂C:\Users\Markus\Downloads entered (has 0 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -24,7 +24,7 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path (has $($files.Count) files and $($folders.Count) folders)" + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/cd-home.ps1 b/scripts/cd-home.ps1 index 3c0475782..18a764b3c 100755 --- a/scripts/cd-home.ps1 +++ b/scripts/cd-home.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's home directory. .EXAMPLE PS> ./cd-home.ps1 - 📂C:\Users\Markus + 📂C:\Users\Markus entered (has 4 files and 7 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -16,7 +16,9 @@ try { $path = Resolve-Path "~" if (-not(Test-Path "$path" -pathType container)) { throw "Home folder at $path doesn't exist (yet)" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/cd-music.ps1 b/scripts/cd-music.ps1 index daa69fc93..6760f7440 100755 --- a/scripts/cd-music.ps1 +++ b/scripts/cd-music.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's music folder. .EXAMPLE PS> ./cd-music - 📂C:\Users\Markus\Music + 📂C:\Users\Markus\Music entered (has 0 files and 3 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,12 +18,14 @@ try { } else { $path = [Environment]::GetFolderPath('MyMusic') } - if (Test-Path "$path" -pathType container) { - Set-Location "$path" - "📂$path" - exit 0 # success + if (-not(Test-Path "$path" -pathType container)) { + throw "User's music folder at 📂$path doesn't exist (yet)" } - throw "User's music folder at 📂$path doesn't exist (yet)" + Set-Location "$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" + exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 diff --git a/scripts/cd-pics.ps1 b/scripts/cd-pics.ps1 index b1ebbb1dc..1ce3959eb 100755 --- a/scripts/cd-pics.ps1 +++ b/scripts/cd-pics.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's pictures folder. .EXAMPLE PS> ./cd-pics - 📂C:\Users\Markus\Pictures + 📂C:\Users\Markus\Pictures entered (has 7 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -20,7 +20,9 @@ try { } if (-not(Test-Path "$path" -pathType container)) { throw "Pictures folder at 📂$path doesn't exist (yet)" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/cd-root.ps1 b/scripts/cd-root.ps1 index 2dab1d93a..db402b47f 100755 --- a/scripts/cd-root.ps1 +++ b/scripts/cd-root.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the current working directory to the root directory (C:\ on Windows). .EXAMPLE PS> ./cd-root - 📂C:\ + 📂C:\ entered (has 0 files and 7 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -15,7 +15,9 @@ try { if ($IsLinux) { $path = "/" } else { $path = "C:\" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/cd-screenshots.ps1 b/scripts/cd-screenshots.ps1 index ff9463c02..8bd1f885c 100755 --- a/scripts/cd-screenshots.ps1 +++ b/scripts/cd-screenshots.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's screenshots folder. .EXAMPLE PS> ./cd-screenshots - 📂C:\Users\Markus\Pictures\Screenshots + 📂C:\Users\Markus\Pictures\Screenshots (has 7 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -28,7 +28,9 @@ function GetScreenshotsFolder { try { $path = GetScreenshotsFolder Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From ea112a42bd6b961909095836cf5b9a085a893ae4 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 27 Mar 2025 12:22:40 +0100 Subject: [PATCH 244/737] Updated the cd-*.ps1 scripts --- scripts/cd-autostart.ps1 | 4 ++-- scripts/cd-crashdumps.ps1 | 6 +++--- scripts/cd-desktop.ps1 | 12 ++++++------ scripts/cd-docs.ps1 | 4 ++-- scripts/cd-downloads.ps1 | 4 ++-- scripts/cd-dropbox.ps1 | 4 +++- scripts/cd-etc.ps1 | 4 ++-- scripts/cd-fonts.ps1 | 4 ++-- scripts/cd-home.ps1 | 4 ++-- scripts/cd-jenkins.ps1 | 6 ++++-- scripts/cd-logs.ps1 | 2 +- scripts/cd-music.ps1 | 8 ++++---- scripts/cd-nextcloud.ps1 | 10 +++++++--- scripts/cd-onedrive.ps1 | 10 +++++++--- scripts/cd-pics.ps1 | 10 ++++++---- scripts/cd-public.ps1 | 12 ++++++++---- scripts/cd-recent.ps1 | 8 +++++--- scripts/cd-recycle-bin.ps1 | 12 ++++++++---- scripts/cd-root.ps1 | 2 +- scripts/cd-screenshots.ps1 | 2 +- scripts/cd-scripts.ps1 | 8 +++++--- scripts/cd-ssh.ps1 | 9 ++++++--- scripts/cd-temp.ps1 | 12 ++++++++---- scripts/cd-templates.ps1 | 12 ++++++++---- scripts/cd-trash.ps1 | 12 ++++++++---- scripts/cd-users.ps1 | 12 ++++++++---- scripts/cd-videos.ps1 | 12 ++++++++---- scripts/cd-windows.ps1 | 12 ++++++++---- 28 files changed, 135 insertions(+), 82 deletions(-) diff --git a/scripts/cd-autostart.ps1 b/scripts/cd-autostart.ps1 index 96115f247..6f6cbd7ec 100755 --- a/scripts/cd-autostart.ps1 +++ b/scripts/cd-autostart.ps1 @@ -15,12 +15,12 @@ try { $path = Resolve-Path "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" if (-not(Test-Path "$path" -pathType container)) { - throw "Autostart folder at 📂$path doesn't exist (yet)" + throw "No autostart folder at 📂$path" } Set-Location "$path" "📂$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-crashdumps.ps1 b/scripts/cd-crashdumps.ps1 index b9734e341..13c63da60 100755 --- a/scripts/cd-crashdumps.ps1 +++ b/scripts/cd-crashdumps.ps1 @@ -16,16 +16,16 @@ try { if ($IsLinux) { throw "Sorry, Windows only" } [string]$path = Resolve-Path -Path "~" - if (!(Test-Path "$path" -pathType container)) { throw "Home directory at $path doesn't exist (yet)" } + if (!(Test-Path "$path" -pathType container)) { throw "No home directory at $path" } $path += "\AppData\Local\CrashDumps" - if (!(Test-Path "$path" -pathType container)) { throw "Crashdumps directory at $path doesn't exist (yet)" } + if (!(Test-Path "$path" -pathType container)) { throw "No crashdumps folder at $path" } Set-Location "$Path" $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 in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-desktop.ps1 b/scripts/cd-desktop.ps1 index 90c2fcd51..e36c9a153 100755 --- a/scripts/cd-desktop.ps1 +++ b/scripts/cd-desktop.ps1 @@ -18,13 +18,13 @@ try { } else { $path = [Environment]::GetFolderPath('DesktopDirectory') } - if (Test-Path "$path" -pathType container) { - Set-Location "$path" - "📂$path" - exit 0 # success + if (-not(Test-Path "$path" -pathType container)) { + throw "No desktop folder at 📂$path" } - throw "User's desktop folder at 📂$path doesn't exist (yet)" + Set-Location "$path" + "📂$path" + exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-docs.ps1 b/scripts/cd-docs.ps1 index efbdab17e..dfa88a1aa 100755 --- a/scripts/cd-docs.ps1 +++ b/scripts/cd-docs.ps1 @@ -19,7 +19,7 @@ try { $path = [Environment]::GetFolderPath('MyDocuments') } if (-not(Test-Path "$path" -pathType container)) { - throw "Documents folder at 📂$path doesn't exist (yet)" + throw "No documents folder at 📂$path" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory @@ -27,6 +27,6 @@ try { "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-downloads.ps1 b/scripts/cd-downloads.ps1 index bb697e3cb..a3a44f765 100755 --- a/scripts/cd-downloads.ps1 +++ b/scripts/cd-downloads.ps1 @@ -19,7 +19,7 @@ try { $path = (New-Object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path } if (-not(Test-Path "$path" -pathType container)) { - throw "User's downloads folder at 📂$path doesn't exist (yet)" + throw "No downloads folder at 📂$path" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory @@ -27,6 +27,6 @@ try { "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-dropbox.ps1 b/scripts/cd-dropbox.ps1 index 15c7c9817..8d0cab2dd 100755 --- a/scripts/cd-dropbox.ps1 +++ b/scripts/cd-dropbox.ps1 @@ -14,7 +14,9 @@ try { $path = Resolve-Path "~/Dropbox" - if (-not(Test-Path "$path" -pathType container)) { throw "No Dropbox folder at 📂$path - is Dropbox installed?" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No Dropbox folder at 📂$path - is Dropbox installed?" + } Set-Location "$path" "📂$path" exit 0 # success diff --git a/scripts/cd-etc.ps1 b/scripts/cd-etc.ps1 index 0eaff8a0b..b2886dbb9 100755 --- a/scripts/cd-etc.ps1 +++ b/scripts/cd-etc.ps1 @@ -19,12 +19,12 @@ try { $path = Resolve-Path "$env:WINDIR\System32\drivers\etc" } if (-not(Test-Path "$path" -pathType container)) { - throw "/etc directory at 📂$path doesn't exist (yet)" + throw "No /etc directory at 📂$path" } Set-Location "$path" "📂$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-fonts.ps1 b/scripts/cd-fonts.ps1 index d755eca84..e6ef247ff 100755 --- a/scripts/cd-fonts.ps1 +++ b/scripts/cd-fonts.ps1 @@ -15,12 +15,12 @@ try { $path = [Environment]::GetFolderPath('Fonts') if (-not(Test-Path "$path" -pathType container)) { - throw "Fonts folder at 📂$path doesn't exist (yet)" + throw "No fonts folder at 📂$path" } Set-Location "$path" "📂$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-home.ps1 b/scripts/cd-home.ps1 index 18a764b3c..6f56b4cdc 100755 --- a/scripts/cd-home.ps1 +++ b/scripts/cd-home.ps1 @@ -14,13 +14,13 @@ try { $path = Resolve-Path "~" - if (-not(Test-Path "$path" -pathType container)) { throw "Home folder at $path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { throw "No home 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) folders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-jenkins.ps1 b/scripts/cd-jenkins.ps1 index 9e91593a7..3514eb5c6 100755 --- a/scripts/cd-jenkins.ps1 +++ b/scripts/cd-jenkins.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the Jenkins home directory. .EXAMPLE PS> ./cd-jenkins - 📂C:\Users\Markus\.jenkins + 📂C:\Users\Markus\.jenkins entered (has 2 files and 21 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -21,7 +21,9 @@ try { throw "No Jenkins home directory found - is Jenkins installed?" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-logs.ps1 b/scripts/cd-logs.ps1 index 20caf9fab..1f4cc98d5 100755 --- a/scripts/cd-logs.ps1 +++ b/scripts/cd-logs.ps1 @@ -24,6 +24,6 @@ try { "📂$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-music.ps1 b/scripts/cd-music.ps1 index 6760f7440..15241901c 100755 --- a/scripts/cd-music.ps1 +++ b/scripts/cd-music.ps1 @@ -5,7 +5,7 @@ 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 folders) + 📂C:\Users\Markus\Music entered (has 0 files and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -19,14 +19,14 @@ try { $path = [Environment]::GetFolderPath('MyMusic') } if (-not(Test-Path "$path" -pathType container)) { - throw "User's music folder at 📂$path doesn't exist (yet)" + 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) folders)" + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-nextcloud.ps1 b/scripts/cd-nextcloud.ps1 index b7c64d11a..d405cf728 100755 --- a/scripts/cd-nextcloud.ps1 +++ b/scripts/cd-nextcloud.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's NextCloud folder. .EXAMPLE PS> ./cd-nextcloud - 📂C:\Users\Markus\NextCloud + 📂C:\Users\Markus\NextCloud entered (has 2 files and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -14,9 +14,13 @@ 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 "$path" -pathType container)) { + throw "No NextCloud folder at $path - is NextCloud installed?" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-onedrive.ps1 b/scripts/cd-onedrive.ps1 index b84c31024..af66cb4f3 100755 --- a/scripts/cd-onedrive.ps1 +++ b/scripts/cd-onedrive.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's OneDrive folder. .EXAMPLE PS> ./cd-onedrive - 📂C:\Users\Markus\OneDrive + 📂C:\Users\Markus\OneDrive entered (has 2 files and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -14,9 +14,13 @@ 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 "$path" -pathType container)) { + throw "No OneDrive folder at $path - is OneDrive installed?" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-pics.ps1 b/scripts/cd-pics.ps1 index 1ce3959eb..2a760438c 100755 --- a/scripts/cd-pics.ps1 +++ b/scripts/cd-pics.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's pictures folder. .EXAMPLE PS> ./cd-pics - 📂C:\Users\Markus\Pictures entered (has 7 files and 0 folders) + 📂C:\Users\Markus\Pictures entered (has 7 files and 0 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,13 +18,15 @@ try { } else { $path = [Environment]::GetFolderPath('MyPictures') } - if (-not(Test-Path "$path" -pathType container)) { throw "Pictures folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "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) folders)" + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-public.ps1 b/scripts/cd-public.ps1 index 4876174f6..262e8434b 100755 --- a/scripts/cd-public.ps1 +++ b/scripts/cd-public.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the Public folder. .EXAMPLE PS> ./cd-public - 📂C:\Users\Public + 📂C:\Users\Public entered (has 2 files and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,11 +18,15 @@ try { } else { $path = Resolve-Path "~/../Public" } - if (-not(Test-Path "$path" -pathType container)) { throw "Public folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No public folder at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-recent.ps1 b/scripts/cd-recent.ps1 index 602703077..840934985 100755 --- a/scripts/cd-recent.ps1 +++ b/scripts/cd-recent.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the 'recent' folder. .EXAMPLE PS> ./cd-recent - 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent + 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent entered (has 2 files and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -15,10 +15,12 @@ try { $path = [Environment]::GetFolderPath('Recent') if (-not(Test-Path "$path" -pathType container)) { - throw "Recent folder at 📂$path doesn't exist (yet)" + throw "No recent folder at $path" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/cd-recycle-bin.ps1 b/scripts/cd-recycle-bin.ps1 index eecb1c249..2f301e50c 100755 --- a/scripts/cd-recycle-bin.ps1 +++ b/scripts/cd-recycle-bin.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's recycle bin folder. .EXAMPLE PS> ./cd-recycle-bin - 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 + 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 entered (has 2 files and 0 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -24,11 +24,15 @@ try { } else { $path = "C:\`$Recycle.Bin\$(GetCurrentUserSID)" } - if (-not(Test-Path "$path" -pathType container)) { throw "Recycle bin folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No recycle bin folder at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-root.ps1 b/scripts/cd-root.ps1 index db402b47f..4a09d4fa4 100755 --- a/scripts/cd-root.ps1 +++ b/scripts/cd-root.ps1 @@ -20,6 +20,6 @@ try { "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-screenshots.ps1 b/scripts/cd-screenshots.ps1 index 8bd1f885c..809e6e0ac 100755 --- a/scripts/cd-screenshots.ps1 +++ b/scripts/cd-screenshots.ps1 @@ -33,6 +33,6 @@ try { "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-scripts.ps1 b/scripts/cd-scripts.ps1 index 0f7310b77..c7fb9a27b 100755 --- a/scripts/cd-scripts.ps1 +++ b/scripts/cd-scripts.ps1 @@ -14,12 +14,14 @@ try { $path = Resolve-Path "$PSScriptRoot" - if (-not(Test-Path "$path" -pathType container)) { throw "PowerShell scripts folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No PowerShell scripts folder at 📂$path" + } + Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory "📂$path entered (has $($files.Count) scripts)" - Set-Location "$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-ssh.ps1 b/scripts/cd-ssh.ps1 index bde81a09f..d0e33c68e 100755 --- a/scripts/cd-ssh.ps1 +++ b/scripts/cd-ssh.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's secure shell (SSH) folder. .EXAMPLE PS> ./cd-ssh.ps1 - 📂C:\Users\Markus\.ssh + 📂C:\Users\Markus\.ssh entered (has 4 files) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -14,10 +14,13 @@ try { $path = "~/.ssh" - if (-not(Test-Path "$path" -pathType container)) { throw "Your secure shell (SSH) folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No secure shell (SSH) folder at $path" + } $path = Resolve-Path "$path" Set-Location "$path" - "📂$Path" + $files = Get-ChildItem $path -attributes !Directory + "📂$path entered (has $($files.Count) files)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-temp.ps1 b/scripts/cd-temp.ps1 index 6403c7616..b518c4e9d 100755 --- a/scripts/cd-temp.ps1 +++ b/scripts/cd-temp.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the temporary folder. .EXAMPLE PS> ./cd-temp - 📂C:\Users\Markus\AppData\Local\Temp + 📂C:\Users\Markus\AppData\Local\Temp (has 2 files and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -21,11 +21,15 @@ function GetTempDir { try { $path = GetTempDir - if (-not(Test-Path "$path" -pathType container)) { throw "Temporary folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { throw + "No temporary folder at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-templates.ps1 b/scripts/cd-templates.ps1 index 8988b56a2..bc0294016 100755 --- a/scripts/cd-templates.ps1 +++ b/scripts/cd-templates.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the templates folder. .EXAMPLE PS> ./cd-templates - 📂/home/Markus/Templates + 📂/home/Markus/Templates entered (has 3 files and 0 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,11 +18,15 @@ try { } else { $path = [Environment]::GetFolderPath('Templates') } - if (-not(Test-Path "$path" -pathType container)) { throw "Templates folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No templates folder at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-trash.ps1 b/scripts/cd-trash.ps1 index fa32e4a44..5289ecb4c 100755 --- a/scripts/cd-trash.ps1 +++ b/scripts/cd-trash.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's trash folder. .EXAMPLE PS> ./cd-trash - 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 + 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 entered (has 4 files and 0 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -24,11 +24,15 @@ try { } else { $path = "C:\`$Recycle.Bin\$(GetCurrentUserSID)" } - if (-not(Test-Path "$path" -pathType container)) { throw "Trash folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No trash folder at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-users.ps1 b/scripts/cd-users.ps1 index 338fb9ee7..861ddcb3d 100755 --- a/scripts/cd-users.ps1 +++ b/scripts/cd-users.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the users directory. .EXAMPLE PS> ./cd-users - 📂C:\Users + 📂C:\Users entered (has 0 files and 4 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -14,11 +14,15 @@ try { $path = Resolve-Path "~/.." - if (-not(Test-Path "$path" -pathType container)) { throw "Users directory at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No users directory at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-videos.ps1 b/scripts/cd-videos.ps1 index 8cf4db75e..90be1ab74 100755 --- a/scripts/cd-videos.ps1 +++ b/scripts/cd-videos.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's videos folder. .EXAMPLE PS> ./cd-videos - 📂C:\Users\Markus\Videos + 📂C:\Users\Markus\Videos entered (has 3 files and 0 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,11 +18,15 @@ try { } else { $path = [Environment]::GetFolderPath('MyVideos') } - if (-not(Test-Path "$path" -pathType container)) { throw "Videos folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No videos folder at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/cd-windows.ps1 b/scripts/cd-windows.ps1 index 8f6cfe96a..3b3d4e87f 100755 --- a/scripts/cd-windows.ps1 +++ b/scripts/cd-windows.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the Windows directory. .EXAMPLE PS> ./cd-windows - 📂C:\Windows + 📂C:\Windows entered (has 7 files and 42 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -14,11 +14,15 @@ try { $path = Resolve-Path "$env:WINDIR" - if (-not(Test-Path "$path" -pathType container)) { throw "Windows directory at 📂$path doesn't exist" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No Windows directory at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } From af3fffb4dde463f3827552452d7cb5529bd1b7d8 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 28 Mar 2025 08:25:17 +0100 Subject: [PATCH 245/737] Updated install-updates.ps1 and list-updates.ps1 --- scripts/install-updates.ps1 | 18 +++++++++--------- scripts/list-updates.ps1 | 8 ++++---- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/scripts/install-updates.ps1 b/scripts/install-updates.ps1 index 705ecd9c0..0842bf2f6 100755 --- a/scripts/install-updates.ps1 +++ b/scripts/install-updates.ps1 @@ -11,7 +11,7 @@ ✅ Swap space has 1GB free (2% of 1GB used) ✅ No pending system reboot - ⏳ (2/2) Installing updates from winget and Microsoft Store... + ⏳ (2/2) Updating Microsoft Store apps... ... .LINK https://github.com/fleschutz/PowerShell @@ -55,19 +55,19 @@ try { & "$PSScriptRoot/check-pending-reboot.ps1" Start-Sleep -seconds 3 "" - "⏳ (2/4) Updating Windows Store apps..." - if (Get-Command winget -ErrorAction SilentlyContinue) { + "⏳ (2/4) Updating Microsoft Store apps..." + if (Get-Command winget -errorAction SilentlyContinue) { & winget upgrade --all --source=msstore --include-unknown } "" - "⏳ (3/4) Updating Chocolatey packages..." - if (Get-Command choco -ErrorAction SilentlyContinue) { - & choco upgrade all -y + "⏳ (3/4) Updating WinGet Store apps..." + if (Get-Command winget -errorAction SilentlyContinue) { + & winget upgrade --all --source=winget --include-unknown } "" - "⏳ (4/4) Updating Winget packages..." - if (Get-Command winget -ErrorAction SilentlyContinue) { - & winget upgrade --all --source=winget --include-unknown + "⏳ (4/4) Updating Chocolatey packages..." + if (Get-Command choco -errorAction SilentlyContinue) { + & choco upgrade all -y } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds diff --git a/scripts/list-updates.ps1 b/scripts/list-updates.ps1 index 5808a81a4..d3f778d83 100755 --- a/scripts/list-updates.ps1 +++ b/scripts/list-updates.ps1 @@ -7,7 +7,7 @@ NOTE: Execute 'install-updates.ps1' to install the listed updates. .EXAMPLE PS> ./list-updates.ps1 - ⏳ Querying updates from Microsoft Store... + ⏳ Querying Microsoft Store updates... Name Id Version Available ---------------------------------------------------------------- @@ -30,14 +30,14 @@ try { throw "Sorry, MacOS not supported yet" } else { if (Get-Command winget -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying updates from Microsoft Store..." -foregroundColor green + Write-Host "`n⏳ Querying Microsoft Store updates..." -foregroundColor green & winget upgrade --include-unknown --source=msstore - Write-Host "`n⏳ Querying updates from WinGet Store..." -foregroundColor green + Write-Host "`n⏳ Querying WinGet Store updates..." -foregroundColor green & winget upgrade --include-unknown --source=winget } if (Get-Command choco -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying updates from Chocolatey..." -foregroundColor green + Write-Host "`n⏳ Querying Chocolatey updates..." -foregroundColor green & choco outdated } } From ae1cd750dca90e2c732015e3980b42eebce921d5 Mon Sep 17 00:00:00 2001 From: Jonas Kamsker Date: Sat, 29 Mar 2025 17:56:16 +0100 Subject: [PATCH 246/737] Add convert-images2webp.ps1 script and documentation for image conversion to WebP format --- README.md | 1 + docs/convert-images2webp.md | 39 +++++++ scripts/convert-images2webp.ps1 | 194 ++++++++++++++++++++++++++++++++ 3 files changed, 234 insertions(+) create mode 100644 docs/convert-images2webp.md create mode 100644 scripts/convert-images2webp.ps1 diff --git a/README.md b/README.md index 70f472a46..180c3676a 100644 --- a/README.md +++ b/README.md @@ -230,6 +230,7 @@ Mega Collection of PowerShell Scripts | Script | Description | | ------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- | | [convert-csv2txt.ps1](scripts/convert-csv2txt.ps1) | Converts a .CSV file to a text file. [Read more »](docs/convert-csv2txt.md) | +| [convert-images2webp.ps1](scripts/convert-images2webp.ps1) | Converts images in a directory or a single image file to WebP format in parallel. [More »](docs/convert-images2webp.md) | | [convert-mysql2csv.ps1](scripts/convert-mysql2csv.ps1) | Converts a MySQL database table to a .CSV file. [More »](docs/convert-mysql2csv.md) | | [convert-ps2bat.ps1](scripts/convert-ps2bat.ps1) | Converts a PowerShell script to a Batch script. [More »](docs/convert-ps2bat.md) | | [convert-ps2md.ps1](scripts/convert-ps2md.ps1) | Converts the comment-based help of a PowerShell script to Markdown. [More »](docs/convert-ps2md.md) | diff --git a/docs/convert-images2webp.md b/docs/convert-images2webp.md new file mode 100644 index 000000000..7d4e6a203 --- /dev/null +++ b/docs/convert-images2webp.md @@ -0,0 +1,39 @@ +# convert-images.ps1 + +This PowerShell script converts images in a directory or a single image file to WebP format in parallel. + +## Parameters + +| Parameter | Description | +| --- | --- | +| `-InputPath` | The path to the input directory containing images or a single image file. | +| `-OutputDir` | The path to the directory where the converted WebP files will be saved. It will be created if it doesn't exist. | +| `-Quality` | The quality setting for the WebP conversion (0-100). Lower values mean smaller files but potentially lower quality. Defaults to 50. | +| `-Lossless` | Specifies whether to use lossless WebP compression ($true) or lossy compression ($false). Defaults to $true. | +| `-MaxParallel` | The maximum number of image conversions to run concurrently. Defaults to 10. | + +## Description + +The script takes advantage of PowerShell's parallel processing capabilities to efficiently convert multiple image files. It supports various input formats including: +- jpg/jpeg +- png +- gif +- bmp +- tiff + +The converted files are saved in WebP format, which often provides superior compression while maintaining quality. + +## Examples + +```powershell +# Convert all images in a directory +./convert-images.ps1 -InputPath .\covers -OutputDir .\covers-webp -Quality 50 -Lossless $true -MaxParallel 10 + +# Convert a single image +./convert-images.ps1 -InputPath .\my_image.png -OutputDir .\output -Quality 80 -Lossless $false +``` + +## Requirements + +- PowerShell 7.0 or higher (required for ForEach-Object -Parallel) +- ImageMagick must be installed and accessible via the 'magick' command in your PATH diff --git a/scripts/convert-images2webp.ps1 b/scripts/convert-images2webp.ps1 new file mode 100644 index 000000000..88c9005c6 --- /dev/null +++ b/scripts/convert-images2webp.ps1 @@ -0,0 +1,194 @@ +#Requires -Version 7.0 + +<# +.SYNOPSIS +Converts images in a directory or a single image file to WebP format in parallel. + +.DESCRIPTION +This script takes an input directory containing images (jpg, jpeg, png, gif, bmp, tiff) or a single image file, +and converts them to the WebP format using ImageMagick's 'magick' command. +The conversion process runs in parallel to speed up processing large numbers of files. +The level of parallelism can be controlled. + +.PARAMETER InputPath +The path to the input directory containing images or a single image file. + +.PARAMETER OutputDir +The path to the directory where the converted WebP files will be saved. It will be created if it doesn't exist. + +.PARAMETER Quality +The quality setting for the WebP conversion (0-100). Lower values mean smaller files but potentially lower quality. Defaults to 50. + +.PARAMETER Lossless +Specifies whether to use lossless WebP compression ($true) or lossy compression ($false). Defaults to $true. + +.PARAMETER MaxParallel +The maximum number of image conversions to run concurrently. Defaults to 10. + +.EXAMPLE +.\convert_parallel.ps1 -InputPath .\covers -OutputDir .\covers-webp -Quality 50 -Lossless $true -MaxParallel 10 +Converts all supported images in the '.\covers' directory to WebP in '.\covers-webp' using quality 50, lossless compression, running up to 10 conversions simultaneously. + +.EXAMPLE +.\convert_parallel.ps1 -InputPath .\my_image.png -OutputDir .\output -Quality 80 -Lossless $false +Converts the single file '.\my_image.png' to WebP in '.\output' using quality 80 and lossy compression. Parallelism doesn't apply to single files. + +.NOTES +Requires PowerShell 7.0 or higher for ForEach-Object -Parallel. +Requires ImageMagick to be installed and accessible via the 'magick' command in your PATH. +Progress reporting for parallel operations is limited; output messages might appear interleaved. +#> +param ( + [Parameter(Mandatory=$true)] + [string]$InputPath, + + [Parameter(Mandatory=$true)] + [string]$OutputDir, + + [ValidateRange(0,100)] + [int]$Quality = 50, + + [bool]$Lossless = $true, + + [ValidateRange(1, [int]::MaxValue)] # Ensure at least 1 parallel task + [int]$MaxParallel = 10 +) + +# --- Input Validation and Setup --- + +# Check if input exists +if (-not (Test-Path $InputPath)) { + Write-Error "Input path does not exist: $InputPath" + exit 1 +} + +# Create output directory if it doesn't exist +if (-not (Test-Path $OutputDir -PathType Container)) { + Write-Host "Creating output directory: $OutputDir" + try { + New-Item -ItemType Directory -Path $OutputDir -ErrorAction Stop | Out-Null + } catch { + Write-Error "Failed to create output directory '$OutputDir': $_" + exit 1 + } +} + +# Check if ImageMagick is installed and accessible +if (-not (Get-Command magick -ErrorAction SilentlyContinue)) { + Write-Error "ImageMagick is not installed or not in your PATH. Please install it from https://imagemagick.org/." + exit 1 +} + +# Check if input is a file or directory +$InputItem = Get-Item $InputPath +$isFileInput = $InputItem -is [System.IO.FileInfo] + +# Convert lossless parameter to string for command +$losslessValue = $Lossless.ToString().ToLower() + +Write-Host "Starting conversion..." +Write-Host "Input: $InputPath" +Write-Host "Output: $OutputDir" +Write-Host "Quality: $Quality" +Write-Host "Lossless: $Lossless" +if (!$isFileInput) { + Write-Host "Max Parallelism: $MaxParallel" +} +Write-Host "-------------------------------------" + +# --- Conversion Functions --- + +# Function to convert a single file (used for non-parallel case) +function Convert-SingleFile { + param ( + [string]$FilePath, + [string]$OutDir, + [int]$ConvQuality, + [string]$ConvLosslessValue + ) + + $fileName = [System.IO.Path]::GetFileName($FilePath) + $fileNameWithoutExt = [System.IO.Path]::GetFileNameWithoutExtension($FilePath) + $outputFilePath = Join-Path $OutDir "$fileNameWithoutExt.webp" + + Write-Host "Converting '$fileName' to WebP..." + try { + # Use Start-Process to capture stderr better if needed, or stick with '&' for simplicity + & magick $FilePath -quality $ConvQuality -define webp:lossless=$ConvLosslessValue $outputFilePath + Write-Host "Successfully converted '$fileName' to '$outputFilePath'" -ForegroundColor Green + } + catch { + Write-Error "Failed to convert '$fileName': $_" + # Consider adding specific error details from stderr if using Start-Process + } +} + +# --- Main Conversion Logic --- + +$startTime = Get-Date + +if ($isFileInput) { + # Process single file directly + Convert-SingleFile -FilePath $InputPath -OutDir $OutputDir -ConvQuality $Quality -ConvLosslessValue $losslessValue + $totalFiles = 1 +} +else { + # Process all image files in directory using parallel processing + Write-Host "Gathering image files from '$InputPath'..." + $imageFiles = Get-ChildItem -Path $InputPath -File | Where-Object { + $_.Extension -match '\.(jpg|jpeg|png|gif|bmp|tiff)$' + } + + $totalFiles = $imageFiles.Count + $processedCount = 0 # Simple counter, not perfectly synced for progress bar + + if ($totalFiles -eq 0) { + Write-Warning "No supported image files found in '$InputPath'." + exit 0 + } + + Write-Host "Found $totalFiles image files. Starting parallel conversion (MaxParallel = $MaxParallel)..." + + $imageFiles | ForEach-Object -Parallel { + # Variables from the outer scope need $using: + $currentFile = $_ + $fName = $currentFile.Name + $fNameWithoutExt = $currentFile.BaseName + $outputFPath = Join-Path $using:OutputDir "$fNameWithoutExt.webp" + + Write-Host "($PID) Starting conversion: $fName" # ($PID) shows the process ID handling this item + + try { + # Execute ImageMagick command + & magick $currentFile.FullName -quality $using:Quality -define webp:lossless=$using:losslessValue $outputFPath + + # Basic success message (output might be interleaved) + Write-Host "($PID) Finished conversion: $fName -> $outputFPath" -ForegroundColor Cyan + } + catch { + # Basic error message (output might be interleaved) + Write-Error "($PID) Failed to convert '$fName': $_" + } + + # Incrementing a counter for precise progress in parallel is complex. + # This provides a basic idea but isn't a reliable progress bar. + # [System.Threading.Interlocked]::Increment([ref]$using:processedCount) | Out-Null + # $prog = [math]::Round(($using:processedCount / $using:totalFiles) * 100) + # Write-Progress -Activity "Converting images to WebP (Parallel)" -Status "Processed approx. $using:processedCount of $using:totalFiles" -PercentComplete $prog -Id 1 + + } -ThrottleLimit $MaxParallel # Control the number of parallel runs + + # Write-Progress -Activity "Converting images to WebP (Parallel)" -Completed -Id 1 + Write-Host "-------------------------------------" + Write-Host "Parallel conversion process finished." +} + +$endTime = Get-Date +$duration = $endTime - $startTime + +Write-Host "=====================================" +Write-Host "Conversion Summary" +Write-Host "Total files processed: $totalFiles" +Write-Host "Duration: $($duration.ToString())" +Write-Host "Output directory: $OutputDir" +Write-Host "=====================================" -ForegroundColor Green \ No newline at end of file From 7c366db69dee6502e972767ba2f074165357de26 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 30 Mar 2025 10:23:59 +0200 Subject: [PATCH 247/737] Update README.md --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 180c3676a..7c91ff69e 100644 --- a/README.md +++ b/README.md @@ -227,13 +227,20 @@ Mega Collection of PowerShell Scripts ♻️ Scripts to Convert Files --------------------------- -| Script | Description | -| ------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- | -| [convert-csv2txt.ps1](scripts/convert-csv2txt.ps1) | Converts a .CSV file to a text file. [Read more »](docs/convert-csv2txt.md) | -| [convert-images2webp.ps1](scripts/convert-images2webp.ps1) | Converts images in a directory or a single image file to WebP format in parallel. [More »](docs/convert-images2webp.md) | +| Script | Description | +| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------- | +| [convert-csv2txt.ps1](scripts/convert-csv2txt.ps1) | Converts a .CSV file to a text file. [Read more »](docs/convert-csv2txt.md) | +| [convert-dir27z.ps1](scripts/convert-dir27z.ps1) | Converts a directory tree to a compressed .7z file. [Read more »](docs/convert-dir27z.md) | +| [convert-dir2zip.ps1](scripts/convert-dir2zip.ps1) | Converts a directory tree to a compressed .ZIP file. [Read more »](docs/convert-dir2zip.md) | +| [convert-history2ps1.ps1](scripts/convert-history2ps1.ps1) | Converts your command history to a PowerShell script. [Read more »](docs/convert-history2ps1.md) | +| [convert-image2ascii.ps1](scripts/convert-image2ascii.ps1) | Converts images to ASCII art. [Read more »](docs/convert-image2ascii.md) | +| [convert-images2webp.ps1](scripts/convert-images2webp.ps1) | Converts images in a directory or a single image file to WebP format in parallel. [More »](docs/convert-images2webp.md) | | [convert-mysql2csv.ps1](scripts/convert-mysql2csv.ps1) | Converts a MySQL database table to a .CSV file. [More »](docs/convert-mysql2csv.md) | | [convert-ps2bat.ps1](scripts/convert-ps2bat.ps1) | Converts a PowerShell script to a Batch script. [More »](docs/convert-ps2bat.md) | | [convert-ps2md.ps1](scripts/convert-ps2md.ps1) | Converts the comment-based help of a PowerShell script to Markdown. [More »](docs/convert-ps2md.md) | +| [convert-md2docx.ps1](scripts/convert-md2docx.ps1) | Converts Markdown file(s) to .DOCX format. [Read more »](docs/convert-md2docx.md) | +| [convert-md2html.ps1](scripts/convert-md2html.ps1) | Converts Markdown file(s) to HTML format. [Read more »](docs/convert-md2html.md) | +| [convert-md2pdf.ps1](scripts/convert-md2pdf.ps1) | Converts Markdown file(s) to PDF format. [Read more »](docs/convert-md2pdf.md) | | [convert-sql2csv.ps1](scripts/convert-sql2csv.ps1) | Converts a SQL database table to a .CSV file. [More »](docs/convert-sql2csv.md) | | [convert-txt2wav.ps1](scripts/convert-txt2wav.ps1) | Converts text to a .WAV audio file. [More »](docs/convert-txt2wav.md) | | [export-to-manuals.ps1](scripts/export-to-manuals.ps1) | Exports all scripts as manuals. [More »](docs/export-to-manuals.md) | From 14eeec7f6ae54c4473e8387dc5f9cba1c60fbf8e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 31 Mar 2025 14:21:42 +0200 Subject: [PATCH 248/737] Updated aviation.csv --- data/dicts/aviation.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index b8eaf4813..8e690a08f 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -43,6 +43,7 @@ ACARS,Aircraft Communications Addressing and Reporting System ACAS,Airborne Collision Avoidance System ACC,Area Control Center ACE,Airport airside Capacity Enhancement +ACFT,Aircraft ACI,"Airports Council International, Area of Common Interest" ACP,Accept AD,Air Defence From c5ad5a71417da77d05c91d67e78baf5704b8aa7e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 31 Mar 2025 15:18:16 +0200 Subject: [PATCH 249/737] Updated list-cli-tools.ps1 --- scripts/list-cli-tools.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index ee7556f6f..b58e1e09b 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -323,6 +323,7 @@ function List-CLI-Tools { ListTool wsl "--version" ListTool xcopy "--version" ListTool yes "--version" + ListTool zig "--version" ListTool zip "--version" ListTool zipcloak "--version" ListTool zipdetails "" @@ -331,6 +332,7 @@ function List-CLI-Tools { ListTool zipnote "" ListTool zipsplit "" ListTool zsh "--version" + ListTool zvm "--version" } try { From 9690e65de6e12e76ed0f3a4ed36b1c8736129bba Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 1 Apr 2025 07:22:15 +0200 Subject: [PATCH 250/737] Updated aviation.csv --- data/dicts/aviation.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index 8e690a08f..6ca7a7953 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -426,6 +426,7 @@ RASP,Recognised Air and Surveillance Picture RB,Relative Bearing RBI,Relative Bearing Indicator RBAF,Royal Belgium Armed Forces +RBL,Range Bearing Line RCAF,Royal Canadian Air Force RCC,Rescue Coordination Center RCL,Runway Centre Line Lighting From c37bf0e1e165d006b36f127cb99d50fe92f10107 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 8 Apr 2025 09:49:40 +0200 Subject: [PATCH 251/737] Updated ICAO_airport_codes.csv --- data/dicts/ICAO_airport_codes.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/dicts/ICAO_airport_codes.csv b/data/dicts/ICAO_airport_codes.csv index 1da8f72f4..0c6f0344e 100644 --- a/data/dicts/ICAO_airport_codes.csv +++ b/data/dicts/ICAO_airport_codes.csv @@ -38833,7 +38833,7 @@ KWLW,Willows Glenn County Airport (USA) KWMC,Winnemucca Municipal Airport (USA) KWP,West Point Village Seaplane Base (USA) KWRB,Robins Air Force Base (USA) -KWRI,Mc Guire Air Force Base (USA) +KWRI,McGuire Air Force Base (New Jersey, USA) KWRL,Worland Municipal Airport (USA) KWSD,Condron Army Air Field (USA) KWST,Westerly State Airport (USA) From a21e7542a7870c630c696282b27bfb671ccaa2af Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 9 Apr 2025 16:20:45 +0200 Subject: [PATCH 252/737] Updated enter-host.ps1 and ping-host.ps1 --- scripts/enter-host.ps1 | 2 +- scripts/ping-host.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/enter-host.ps1 b/scripts/enter-host.ps1 index 6874673e1..bae0532d7 100755 --- a/scripts/enter-host.ps1 +++ b/scripts/enter-host.ps1 @@ -7,7 +7,7 @@ Specifies the remote hostname or IP address .EXAMPLE PS> ./enter-host.ps1 tux - ✅ tux is up and running (3ms latency). + ✅ tux is online (3ms latency to 192.168.1.179) ⏳ Connecting as user 'markus' using OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 markus@tux's password: ... diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index 8bdf86372..511c0798c 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -7,7 +7,7 @@ Specifies the hostname or IP address to ping (x.com by default) .EXAMPLE PS> ./ping-host.ps1 x.com - ✅ 'x.com' is up and running 👍 (20ms to IP 104.244.42.1) + ✅ 'x.com' is online (20ms to IP 104.244.42.1) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,7 +22,7 @@ try { [Threading.Tasks.Task]::WaitAll($tasks) foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { - Write-Output "✅ '$hostname' is up and running 👍 ($($ping.RoundtripTime / 2)ms to IP $($ping.Address))" + Write-Output "✅ '$hostname' is online ($($ping.RoundtripTime / 2)ms to IP $($ping.Address))" exit 0 # success } else { Write-Output "⚠️ No reply from '$hostname' (IP $($ping.Address)) - check the connection or maybe the host is down." From 7105ba31ecddd2bf81e2cdba2d03fc07298386bd Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 14 Apr 2025 07:22:39 +0200 Subject: [PATCH 253/737] Added Google Tasks --- data/popular-dashboards.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/popular-dashboards.csv b/data/popular-dashboards.csv index 886ce977a..8bc838266 100644 --- a/data/popular-dashboards.csv +++ b/data/popular-dashboards.csv @@ -5,6 +5,7 @@ NAME,URL, "Google Keep","https://keep.google.com/", "Google Photos","https://photos.google.com/", "Google News","https://news.google.com", +"Google Tasks","https://tasks.google.com/tasks/", "Outlook Mail","https://outlook.office.com/mail/", "CNN News","https://edition.cnn.com", "GitHub Explore","https://github.com/explore", From e7eeeb06feb01f180884e2dd1f5f982cf183d301 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 14 Apr 2025 09:37:28 +0200 Subject: [PATCH 254/737] Updated ICAO_airport_codes.csv --- data/dicts/ICAO_airport_codes.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/dicts/ICAO_airport_codes.csv b/data/dicts/ICAO_airport_codes.csv index 0c6f0344e..0b8e4245e 100644 --- a/data/dicts/ICAO_airport_codes.csv +++ b/data/dicts/ICAO_airport_codes.csv @@ -50656,7 +50656,7 @@ RO02,Lester Helo Pad Nº 2 (Japan) RO04,White Beach Helipad CFAO (Japan) ROAH,Naha Airport / JASDF Naha Air Base (Japan) RODE,Iejima Auxiliary Air Base (Japan) -RODN,Kadena Air Base (Japan) +RODN,Kadena Air Base (Okinawa, Japan) ROIG,Ishigaki Airport (Japan) ROKJ,Kumejima Airport (Japan) ROKR,Kerama Airport (Japan) From a343594ab095b1f15c70e6b81593c7d77ca4add7 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 14 Apr 2025 09:38:57 +0200 Subject: [PATCH 255/737] Fixed typo --- data/dicts/ICAO_airport_codes.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/dicts/ICAO_airport_codes.csv b/data/dicts/ICAO_airport_codes.csv index 0b8e4245e..c66d744ac 100644 --- a/data/dicts/ICAO_airport_codes.csv +++ b/data/dicts/ICAO_airport_codes.csv @@ -50656,7 +50656,7 @@ RO02,Lester Helo Pad Nº 2 (Japan) RO04,White Beach Helipad CFAO (Japan) ROAH,Naha Airport / JASDF Naha Air Base (Japan) RODE,Iejima Auxiliary Air Base (Japan) -RODN,Kadena Air Base (Okinawa, Japan) +RODN,"Kadena Air Base (Okinawa, Japan)" ROIG,Ishigaki Airport (Japan) ROKJ,Kumejima Airport (Japan) ROKR,Kerama Airport (Japan) From 9e9c94ea71e82b751cec7fa587530fe63a541a7e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 15 Apr 2025 13:34:41 +0200 Subject: [PATCH 256/737] Updated list-updates.ps1 --- scripts/list-updates.ps1 | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/scripts/list-updates.ps1 b/scripts/list-updates.ps1 index d3f778d83..e4701c4e2 100755 --- a/scripts/list-updates.ps1 +++ b/scripts/list-updates.ps1 @@ -3,8 +3,7 @@ Lists software updates .DESCRIPTION This PowerShell script queries the latest available software updates for the - local machine and lists it. - NOTE: Execute 'install-updates.ps1' to install the listed updates. + local machine and lists it (for installation use 'install-updates.ps1'). .EXAMPLE PS> ./list-updates.ps1 ⏳ Querying Microsoft Store updates... @@ -21,25 +20,36 @@ try { if ($IsLinux) { - "⏳ (1/2) Querying package updates..." - & sudo apt update - & sudo apt list --upgradable - "⏳ (2/2) Querying Snap updates..." - & sudo snap refresh --list + if (Get-Command apt -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying APT package updates..." -foregroundColor green + & sudo apt update + & sudo apt list --upgradable + } + if (Get-Command snap -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Snap updates..." -foregroundColor green + & sudo snap refresh --list + } } elseif ($IsMacOS) { - throw "Sorry, MacOS not supported yet" + if (Get-Command brew -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Homebrew updates..." -foregroundColor green + & brew outdated + } } else { if (Get-Command winget -ErrorAction SilentlyContinue) { Write-Host "`n⏳ Querying Microsoft Store updates..." -foregroundColor green & winget upgrade --include-unknown --source=msstore - Write-Host "`n⏳ Querying WinGet Store updates..." -foregroundColor green + Write-Host "`n⏳ Querying WinGet updates..." -foregroundColor green & winget upgrade --include-unknown --source=winget } if (Get-Command choco -ErrorAction SilentlyContinue) { Write-Host "`n⏳ Querying Chocolatey updates..." -foregroundColor green & choco outdated } + if (Get-Command scoop -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Scoop updates..." -foregroundColor green + & scoop status + } } " " "💡 Execute 'install-updates.ps1' to install the listed updates." From 315ef40d6f74380eb761107b675540fb553ec276 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 15 Apr 2025 13:55:30 +0200 Subject: [PATCH 257/737] Added install-scoop.ps1 --- scripts/install-scoop.ps1 | 1 + 1 file changed, 1 insertion(+) create mode 100644 scripts/install-scoop.ps1 diff --git a/scripts/install-scoop.ps1 b/scripts/install-scoop.ps1 new file mode 100644 index 000000000..f3513ffce --- /dev/null +++ b/scripts/install-scoop.ps1 @@ -0,0 +1 @@ +Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression From 67dc2a2d41ff9cacafa73c10f360e84c40552979 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 18 Apr 2025 17:46:13 +0200 Subject: [PATCH 258/737] Updated list-cli-tools.ps1 --- scripts/list-cli-tools.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index b58e1e09b..073d22e6a 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -6,8 +6,8 @@ .EXAMPLE PS> ./list-cli-tools.ps1 - TOOL VERSION INSTALLATION PATH - ---- ------- ----------------- + NAME VERSION PATH + ---- ------- ---- arp 10.0.22621.4111 C:\Windows\system32\ARP.EXE (45K) ... .LINK @@ -53,7 +53,7 @@ function ListTool([string]$Name, [string]$VersionArg) { } else { $Size = 0 } - New-Object PSObject -Property @{ 'TOOL'=$Name; 'VERSION'=$Version; 'INSTALLATION PATH'="$Path ($(Bytes2String $Size))" } + New-Object PSObject -Property @{ 'NAME'=$Name; 'VERSION'=$Version; 'PATH'="$Path ($(Bytes2String $Size))" } } catch { return } @@ -336,7 +336,7 @@ function List-CLI-Tools { } try { - List-CLI-Tools | Format-Table -property @{e='TOOL';width=15},@{e='VERSION';width=16},@{e='INSTALLATION PATH';width=90} + List-CLI-Tools | Format-Table -property @{e='NAME';width=15},@{e='VERSION';width=16},@{e='PATH';width=90} exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 1e8c6ba7577980846d98fa1a6e6797ff714fdbb9 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 22 Apr 2025 17:45:03 +0200 Subject: [PATCH 259/737] Improved check-gpu.ps1 for multiple GPU's (issue #30) --- scripts/check-gpu.ps1 | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/scripts/check-gpu.ps1 b/scripts/check-gpu.ps1 index aa4789e20..d5f4f7ff4 100755 --- a/scripts/check-gpu.ps1 +++ b/scripts/check-gpu.ps1 @@ -9,7 +9,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz | License: CC0 + Author: Markus Fleschutz, Tyler MacInnis | License: CC0 #> function Bytes2String { param([int64]$Bytes) @@ -29,15 +29,17 @@ try { # TODO } else { $Details = Get-WmiObject Win32_VideoController - $Model = $Details.Caption - $RAMSize = $Details.AdapterRAM - $ResWidth = $Details.CurrentHorizontalResolution - $ResHeight = $Details.CurrentVerticalResolution - $BitsPerPixel = $Details.CurrentBitsPerPixel - $RefreshRate = $Details.CurrentRefreshRate - $DriverVersion = $Details.DriverVersion - $Status = $Details.Status - Write-Host "✅ $Model GPU ($(Bytes2String $RAMSize) RAM, $($ResWidth)x$($ResHeight) pixels, $($BitsPerPixel)-bit, $($RefreshRate)Hz, driver $DriverVersion) - status $Status" + foreach ($GPU in $Details) { + $Model = $GPU.Caption + $RAMSize = $GPU.AdapterRAM + $ResWidth = $GPU.CurrentHorizontalResolution + $ResHeight = $GPU.CurrentVerticalResolution + $BitsPerPixel = $GPU.CurrentBitsPerPixel + $RefreshRate = $GPU.CurrentRefreshRate + $DriverVersion = $GPU.DriverVersion + $Status = $GPU.Status + Write-Host "✅ $Model GPU ($(Bytes2String $RAMSize) RAM, $($ResWidth)x$($ResHeight) pixels, $($BitsPerPixel)-bit, $($RefreshRate)Hz, driver $DriverVersion) - status $Status" + } } exit 0 # success } catch { From 246d829014f02349a9947bc2410c79918ad84923 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 23 Apr 2025 12:09:35 +0200 Subject: [PATCH 260/737] Updated list-cli-tools.ps1 --- scripts/list-cli-tools.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index 073d22e6a..737f21bdb 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -90,10 +90,10 @@ function List-CLI-Tools { ListTool bzip2 "--version" ListTool bzip2recover "--version" ListTool captoinfo "-V" - ListTool cat "-version" + ListTool cat "--version" ListTool cc "--version" ListTool certutil "/?" - ListTool chattr "--version" + ListTool chattr "--help" ListTool chcon "--version" ListTool chcpu "--version" ListTool chdsk "" @@ -106,7 +106,7 @@ function List-CLI-Tools { ListTool chmem "--version" ListTool choice "/?" ListTool chown "--version" - ListTool chpasswd "--version" + ListTool chpasswd "--help" ListTool chroot "--version" ListTool choco "--version" ListTool cipher "" @@ -170,7 +170,7 @@ function List-CLI-Tools { ListTool fmt "--version" ListTool fold "--version" ListTool ftp "-?" - ListTool funzip "--version" + ListTool funzip "-version" ListTool gawk "--version" ListTool gencat "--version" ListTool getconf "--version" From 4535c4aa2d3ca7585139e4fdfbbf5b078ae9cc5c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 23 Apr 2025 12:13:20 +0200 Subject: [PATCH 261/737] Updated list-cli-tools.ps1 --- scripts/list-cli-tools.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index 737f21bdb..46db229f6 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -182,6 +182,7 @@ function List-CLI-Tools { ListTool git "--version" ListTool gkill "--version" ListTool gmondump "--version" + ListTool go "version" ListTool gpg "--version" ListTool gpg-agent "--version" ListTool gpgconf "--version" From f027e1f9142849612cdfad683ef5cde4d77f50ba Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 23 Apr 2025 12:21:23 +0200 Subject: [PATCH 262/737] Added vlc --- scripts/list-cli-tools.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index 46db229f6..28990b147 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -307,6 +307,7 @@ function List-CLI-Tools { ListTool uniq "--version" ListTool vi "--version" ListTool vim "--version" + ListTool vlc "--version" ListTool vssadmin "/?" ListTool vulkaninfo "--version" ListTool w32tm "/?" From 257c2c3d82927506863c6ad6721c3a041b522c57 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 23 Apr 2025 12:32:13 +0200 Subject: [PATCH 263/737] Updated cd-downloads.ps1 --- scripts/cd-downloads.ps1 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/scripts/cd-downloads.ps1 b/scripts/cd-downloads.ps1 index a3a44f765..bb7839d45 100755 --- a/scripts/cd-downloads.ps1 +++ b/scripts/cd-downloads.ps1 @@ -13,13 +13,16 @@ #> try { - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { + if (-not(Test-Path "~/Downloads" -pathType container)) { + throw "No downloads folder at ~/Downloads 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" + if (-not(Test-Path "$path" -pathType container)) { + throw "No downloads folder at 📂$path" + } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory From c35fcd8ea0311f9e7f4f74ca08d766ae6e7154b0 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 23 Apr 2025 13:22:05 +0200 Subject: [PATCH 264/737] Improved some cd-*.ps1 scripts --- scripts/cd-desktop.ps1 | 11 +++++++---- scripts/cd-docs.ps1 | 11 +++++++---- scripts/cd-downloads.ps1 | 2 +- scripts/cd-dropbox.ps1 | 12 +++++++----- scripts/cd-etc.ps1 | 8 +++++--- scripts/cd-fonts.ps1 | 6 ++++-- scripts/cd-home.ps1 | 6 +++--- scripts/cd-logs.ps1 | 8 +++++--- 8 files changed, 39 insertions(+), 25 deletions(-) diff --git a/scripts/cd-desktop.ps1 b/scripts/cd-desktop.ps1 index e36c9a153..017e34e3f 100755 --- a/scripts/cd-desktop.ps1 +++ b/scripts/cd-desktop.ps1 @@ -13,13 +13,16 @@ #> try { - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { + if (-not(Test-Path "~/Desktop" -pathType container)) { + 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" + if (-not(Test-Path "$path" -pathType container)) { + throw "No desktop folder at 📂$path yet" + } } Set-Location "$path" "📂$path" diff --git a/scripts/cd-docs.ps1 b/scripts/cd-docs.ps1 index dfa88a1aa..1e99115f0 100755 --- a/scripts/cd-docs.ps1 +++ b/scripts/cd-docs.ps1 @@ -13,13 +13,16 @@ #> try { - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { + if (-not(Test-Path "~/Documents" -pathType container)) { + 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" + if (-not(Test-Path "$path" -pathType container)) { + throw "No documents folder at 📂$path yet" + } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory diff --git a/scripts/cd-downloads.ps1 b/scripts/cd-downloads.ps1 index bb7839d45..acdbc1c3f 100755 --- a/scripts/cd-downloads.ps1 +++ b/scripts/cd-downloads.ps1 @@ -15,7 +15,7 @@ try { if ($IsLinux -or $IsMacOS) { if (-not(Test-Path "~/Downloads" -pathType container)) { - throw "No downloads folder at ~/Downloads yet" + throw "No 📂Downloads folder in your home directory yet" } $path = Resolve-Path "~/Downloads" } else { diff --git a/scripts/cd-dropbox.ps1 b/scripts/cd-dropbox.ps1 index 8d0cab2dd..0d515c101 100755 --- a/scripts/cd-dropbox.ps1 +++ b/scripts/cd-dropbox.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's Dropbox folder. .EXAMPLE PS> ./cd-dropbox - 📂C:\Users\Markus\Dropbox + 📂C:\Users\Markus\Dropbox (has 2 files and 4 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -13,12 +13,14 @@ #> try { - $path = Resolve-Path "~/Dropbox" - if (-not(Test-Path "$path" -pathType container)) { - throw "No Dropbox folder at 📂$path - is Dropbox installed?" + if (-not(Test-Path "~/Dropbox" -pathType container)) { + throw "No 📂Dropbox folder in your home directory - is Dropbox installed?" } + $path = Resolve-Path "~/Dropbox" Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-etc.ps1 b/scripts/cd-etc.ps1 index b2886dbb9..49fd48bf9 100755 --- a/scripts/cd-etc.ps1 +++ b/scripts/cd-etc.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the /etc directory. .EXAMPLE PS> ./cd-etc - 📂C:\Windows\System32\drivers\etc + 📂C:\Windows\System32\drivers\etc (has 2 files and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -13,7 +13,7 @@ #> try { - if ($IsLinx) { + if ($IsLinux -or $IsMacOS) { $path = "/etc" } else { $path = Resolve-Path "$env:WINDIR\System32\drivers\etc" @@ -22,7 +22,9 @@ try { throw "No /etc directory at 📂$path" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-fonts.ps1 b/scripts/cd-fonts.ps1 index e6ef247ff..4a07c88b8 100755 --- a/scripts/cd-fonts.ps1 +++ b/scripts/cd-fonts.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the fonts folder. .EXAMPLE PS> ./cd-fonts - 📂C:\Windows\Fonts + 📂C:\Windows\Fonts (has 2 file and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,7 +18,9 @@ try { throw "No fonts folder at 📂$path" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-home.ps1 b/scripts/cd-home.ps1 index 6f56b4cdc..4bc04e130 100755 --- a/scripts/cd-home.ps1 +++ b/scripts/cd-home.ps1 @@ -5,7 +5,7 @@ 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 folders) + 📂C:\Users\Markus entered (has 4 files and 7 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -13,12 +13,12 @@ #> try { + if (-not(Test-Path "~" -pathType container)) { throw "No home directory at $path" } $path = Resolve-Path "~" - if (-not(Test-Path "$path" -pathType container)) { throw "No home 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) folders)" + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-logs.ps1 b/scripts/cd-logs.ps1 index 1f4cc98d5..31a5e7023 100755 --- a/scripts/cd-logs.ps1 +++ b/scripts/cd-logs.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the current working directory to the logs directory. .EXAMPLE PS> ./cd-logs - 📂/var/logs + 📂/var/logs entered (has 3 files and 2 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -13,7 +13,7 @@ #> function GetLogsDir { - if ($IsLinux) { return "/var/logs" } + if ($IsLinux -or $IsMacOS) { return "/var/logs" } $WinDir = [System.Environment]::GetFolderPath('Windows') return "$WinDir\Logs" } @@ -21,7 +21,9 @@ function GetLogsDir { try { $path = GetLogsDir Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" From 000cea967a345d7f2600bb18bd471155deed62d6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 24 Apr 2025 15:12:14 +0200 Subject: [PATCH 265/737] Updated list-crypto-rates.ps1 --- scripts/list-crypto-rates.ps1 | 36 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/scripts/list-crypto-rates.ps1 b/scripts/list-crypto-rates.ps1 index 57144dfe5..3d6809c53 100755 --- a/scripts/list-crypto-rates.ps1 +++ b/scripts/list-crypto-rates.ps1 @@ -18,35 +18,33 @@ function ListCryptoRate { param([string]$Symbol, [string]$Name) $rates = (Invoke-WebRequest -URI "https://min-api.cryptocompare.com/data/price?fsym=$Symbol&tsyms=USD,EUR,CNY,JPY" -userAgent "curl" -useBasicParsing).Content | ConvertFrom-Json - New-Object PSObject -property @{ 'CRYPTOCURRENCY' = "1 $Name ($Symbol) ="; 'USD' = "$($rates.USD)"; 'EUR' = "$($rates.EUR)"; 'CNY' = "$($rates.CNY)"; 'JPY' = "$($rates.JPY)" } + New-Object PSObject -property @{ 'CRYPTOCURRENCY' = "1 $Symbol ($Name) ="; 'USD' = "$($rates.USD)"; 'EUR' = "$($rates.EUR)"; 'CNY' = "$($rates.CNY)"; 'JPY' = "$($rates.JPY)" } } function ListCryptoRates { - ListCryptoRate BTC "Bitcoin" - ListCryptoRate ETH "Ethereum" - ListCryptoRate SOL "Solana" - ListCryptoRate XRP "XRP" - ListCryptoRate USDC "USD Coin" - ListCryptoRate SUI "Sui" - ListCryptoRate DOGE "Dogecoin" - ListCryptoRate TRUMP "Official Trump" - ListCryptoRate USDT "Tether" - ListCryptoRate BUSD "BUSD" - ListCryptoRate AVAX "Avalanche" - ListCryptoRate LTC "Litecoin" - ListCryptoRate GALA "Gala" ListCryptoRate ADA "Cardano" + ListCryptoRate AVAX "Avalanche" + ListCryptoRate BCH "Bitcoin Cash" ListCryptoRate BNB "Binance Coin" - ListCryptoRate DOT "Polkadot" - ListCryptoRate UNI "Uniswap" + ListCryptoRate BTC "Bitcoin" ListCryptoRate BUSD "Binance USD" - ListCryptoRate BCH "Bitcoin Cash" + ListCryptoRate DOGE "Dogecoin" + ListCryptoRate DOT "Polkadot" + ListCryptoRate GALA "Gala" + ListCryptoRate ETH "Ethereum" ListCryptoRate LINK "Chainlink" + ListCryptoRate LTC "Litecoin" ListCryptoRate LUNA "Terra" - ListCryptoRate ICP "Internet Computer" - ListCryptoRate WBTC "Wrapped Bitcoin" ListCryptoRate MATIC "Polygon" + ListCryptoRate SOL "Solana" + ListCryptoRate SUI "Sui" + ListCryptoRate TRUMP "Official Trump" + ListCryptoRate WBTC "Wrapped Bitcoin" ListCryptoRate XLM "Stellar" + ListCryptoRate XRP "XRP" + ListCryptoRate UNI "Uniswap" + ListCryptoRate USDC "USD Coin" + ListCryptoRate USDT "Tether" } try { From 35e3d05ae745dc114de6a9db0d75ee164474097b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 24 Apr 2025 15:17:17 +0200 Subject: [PATCH 266/737] Added watch-crypto-rates.ps1 --- scripts/watch-crypto-rates.ps1 | 61 ++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 scripts/watch-crypto-rates.ps1 diff --git a/scripts/watch-crypto-rates.ps1 b/scripts/watch-crypto-rates.ps1 new file mode 100644 index 000000000..d5ef291e6 --- /dev/null +++ b/scripts/watch-crypto-rates.ps1 @@ -0,0 +1,61 @@ +<# +.SYNOPSIS + Watches crypto rates +.DESCRIPTION + This PowerShell script queries the current crypto exchange rates from cryptocompare.com and lists it in USD/EUR/CNY/JPY. +.EXAMPLE + PS> ./watch-crypto-rates.ps1 + + CRYPTOCURRENCY USD EUR CNY JPY + -------------- --- --- --- --- + 1 Bitcoin (BTC) = 97309.81 94385.57 38800 14798679.56 + ... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +function ListCryptoRate { param([string]$Symbol, [string]$Name) + $rates = (Invoke-WebRequest -URI "https://min-api.cryptocompare.com/data/price?fsym=$Symbol&tsyms=USD,EUR,CNY,JPY" -userAgent "curl" -useBasicParsing).Content | ConvertFrom-Json + New-Object PSObject -property @{ 'CRYPTOCURRENCY' = "1 $Symbol ($Name) ="; 'USD' = "$($rates.USD)"; 'EUR' = "$($rates.EUR)"; 'CNY' = "$($rates.CNY)"; 'JPY' = "$($rates.JPY)" } +} + +function ListCryptoRates { + ListCryptoRate ADA "Cardano" + ListCryptoRate AVAX "Avalanche" + ListCryptoRate BCH "Bitcoin Cash" + ListCryptoRate BNB "Binance Coin" + ListCryptoRate BTC "Bitcoin" + ListCryptoRate BUSD "Binance USD" + ListCryptoRate DOGE "Dogecoin" + ListCryptoRate DOT "Polkadot" + ListCryptoRate GALA "Gala" + ListCryptoRate ETH "Ethereum" + ListCryptoRate LINK "Chainlink" + ListCryptoRate LTC "Litecoin" + ListCryptoRate LUNA "Terra" + ListCryptoRate MATIC "Polygon" + ListCryptoRate SOL "Solana" + ListCryptoRate SUI "Sui" + ListCryptoRate TRUMP "Official Trump" + ListCryptoRate WBTC "Wrapped Bitcoin" + ListCryptoRate XLM "Stellar" + ListCryptoRate XRP "XRP" + ListCryptoRate UNI "Uniswap" + ListCryptoRate USDC "USD Coin" + ListCryptoRate USDT "Tether" +} + +try { + do { + Clear-Host + ListCryptoRates | Format-Table -property @{e='CRYPTOCURRENCY';width=28},USD,EUR,CNY,JPY + Write-Host "(by https://www.cryptocompare.com • Crypto is volatile and unregulated • Capital at risk • Taxes may apply)" + Start-Sleep -milliseconds 20000 + } while ($true) + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} From 6b09062dcada085b517cb91323eb7459e6dcd416 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 24 Apr 2025 15:39:26 +0200 Subject: [PATCH 267/737] Updated cd-repo.ps1 --- scripts/cd-repo.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cd-repo.ps1 b/scripts/cd-repo.ps1 index 01e3f8fa6..31cf7c548 100755 --- a/scripts/cd-repo.ps1 +++ b/scripts/cd-repo.ps1 @@ -17,7 +17,7 @@ param([string]$folderName = "") try { - if ("$folderName" -eq "") { $folderName = Read-Host "Enter the folder name of the Git repository" } + if ("$folderName" -eq "") { $folderName = Read-Host "Please enter the Git repository's folder name" } if (Test-Path "~/Repos" -pathType container) { $path = "~/Repos" } elseif (Test-Path "~/repos" -pathType container) { $path = "~/repos" From 678f50e2a7db3462c0eb155e0ac5dec82c5c45d2 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 25 Apr 2025 14:53:12 +0200 Subject: [PATCH 268/737] Added Microsoft Teams Dashboard --- data/popular-dashboards.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/popular-dashboards.csv b/data/popular-dashboards.csv index 8bc838266..745ced21e 100644 --- a/data/popular-dashboards.csv +++ b/data/popular-dashboards.csv @@ -7,6 +7,7 @@ NAME,URL, "Google News","https://news.google.com", "Google Tasks","https://tasks.google.com/tasks/", "Outlook Mail","https://outlook.office.com/mail/", +"Microsoft Teams","https://teams.microsoft.com/v2/", "CNN News","https://edition.cnn.com", "GitHub Explore","https://github.com/explore", "FlightRadar24","https://www.flightradar24.com/27.63,-6.98/3", From 074d98bc9ab791431b2fe4e61de8fd3aad210750 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 25 Apr 2025 14:56:46 +0200 Subject: [PATCH 269/737] Updated open-dashboards.ps1 --- scripts/open-dashboards.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/open-dashboards.ps1 b/scripts/open-dashboards.ps1 index a8457debd..5f9683b31 100755 --- a/scripts/open-dashboards.ps1 +++ b/scripts/open-dashboards.ps1 @@ -1,13 +1,13 @@ <# .SYNOPSIS - Open 20 web dashboards + Open Web dashboards .DESCRIPTION - This PowerShell script launches the Web browser with 20 tabs of popular dashboard websites. + This PowerShell script launches the Web browser with 24 tabs of popular dashboard websites. .PARAMETER timeInterval Specifies the time interval between each tab (110ms per default) .EXAMPLE PS> ./open-dashboards.ps1 - ✅ Launching Web browser with 20 tabs: Toggl Track•Google Calendar•Google Mail, ... + ✅ Launching Web browser with 24 tabs: Toggl Track•Google Calendar•Google Mail, ... NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically. ... .LINK @@ -23,7 +23,7 @@ try { $table = Import-CSV "$PSScriptRoot/../data/popular-dashboards.csv" Write-Progress -completed "Done." - Write-Host "✅ Launching Web browser with 20 tabs: " -noNewline + Write-Host "✅ Launching Web browser with $($table.Count) tabs: " -noNewline foreach($row in $table) { Write-Host "$($row.NAME)•" -noNewline & "$PSScriptRoot/open-default-browser.ps1" "$($row.URL)" From d0a492bcf4250b6d8aa286c8fd6c1c2019b8cff4 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 27 Apr 2025 19:11:33 +0200 Subject: [PATCH 270/737] Replaced Typora (non-free) by Typedown (free) --- data/basic-apps.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/basic-apps.csv b/data/basic-apps.csv index d2adb1e90..e161862f5 100644 --- a/data/basic-apps.csv +++ b/data/basic-apps.csv @@ -32,7 +32,7 @@ APPLICATION, CATEGORY, APPID, "Signal", "messenger", "OpenWhisperSystems.Signal", "smartmontools", "HDD/SSD utility", "smartmontools.smartmontools", "Spotify", "audio player", "9NCBCSZSJRSB", -"Typora", "Markdown editor", "Typora.Typora", +"Typedown", "Markdown editor", "9P8TCW4H2HB4", "Visual Studio Code", "code editor", "XP9KHM4BK9FZ7Q", "VLC", "video player", "XPDM1ZW6815MQM", "Windows Terminal", "console terminal", "9N0DX20HK701", From 7bc050921163d9d0a4ebb1a2552519fe7687eb06 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 30 Apr 2025 10:48:13 +0200 Subject: [PATCH 271/737] Updated check-xml-file.ps1 --- scripts/check-xml-file.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/check-xml-file.ps1 b/scripts/check-xml-file.ps1 index 16fd38ef5..62078923c 100755 --- a/scripts/check-xml-file.ps1 +++ b/scripts/check-xml-file.ps1 @@ -7,7 +7,7 @@ Specifies the path to the XML file .EXAMPLE PS> ./check-xml-file.ps1 myfile.xml - ✅ Valid XML in 📄myfile.xml + ✅ myfile.xml is valid XML .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -34,7 +34,7 @@ try { if ($script:ErrorCount -gt 0) { throw "Invalid XML" } - "✅ Valid XML in 📄$path" + "✅ $path is valid XML" exit 0 # success } catch { "⚠️ $($Error[0]) in 📄$path" From 6683e179fce44ea231cb289c6d9de21a107aa719 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 30 Apr 2025 17:06:19 +0200 Subject: [PATCH 272/737] Updated install-powershell.ps1 --- scripts/install-powershell.ps1 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/install-powershell.ps1 b/scripts/install-powershell.ps1 index fc5326749..90cba07b1 100755 --- a/scripts/install-powershell.ps1 +++ b/scripts/install-powershell.ps1 @@ -135,7 +135,7 @@ function Remove-Destination([string]$Destination) { } } } else { - Write-Host "⏳ (3/4) Moving old installation to $($Destination).old... " + Write-Host "⏳ (3/5) Moving old installation to $($Destination).old... " # Unix systems don't keep open file handles so you can just move files/folders even if in use sudo mv "$Destination" "$($Destination).old" } @@ -355,7 +355,7 @@ try { tar zxf $packagePath -C $contentPath } } else { - Write-Host "⏳ (1/4) Querying infos from https://raw.githubusercontent.com ..." + Write-Host "⏳ (1/5) Querying infos from https://raw.githubusercontent.com ..." $metadata = Invoke-RestMethod https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/metadata.json if ($Preview) { $release = $metadata.PreviewReleaseTag -replace '^v' @@ -381,7 +381,7 @@ try { Write-Host " Latest release is $release for $architecture, package name is: $packageName" $downloadURL = "https://github.com/PowerShell/PowerShell/releases/download/v${release}/${packageName}" - Write-Host "⏳ (2/4) Loading $downloadURL" + Write-Host "⏳ (2/5) Loading $downloadURL" $packagePath = Join-Path -Path $tempDir -ChildPath $packageName if (!$PSVersionTable.ContainsKey('PSEdition') -or $PSVersionTable.PSEdition -eq "Desktop") { @@ -424,13 +424,13 @@ try { Expand-ArchiveInternal -Path $packagePath -DestinationPath $contentPath } } else { - Write-Host "⏳ (3/4) Extracting package to: $contentPath..." + Write-Host "⏳ (3/5) Extracting package to $contentPath..." tar zxf $packagePath -C $contentPath } } if (-not $UseMSI) { - Write-Host "⏳ (4/5) Removing current installation at: $Destination ..." + Write-Host "⏳ (4/5) Removing old installation at $Destination ..." if ($IsLinuxEnv) { & sudo rm -rf "$Destination" } else { @@ -438,18 +438,18 @@ try { } if (Test-Path $Destination) { - Write-Host "⏳ (4/4) Copying files to $Destination... " + Write-Host "⏳ (4/5) Copying files to $Destination... " # only copy files as folders will already exist at $Destination Get-ChildItem -Recurse -Path "$contentPath" -File | ForEach-Object { $DestinationFilePath = Join-Path $Destination $_.fullname.replace($contentPath, "") Copy-Item $_.fullname -Destination $DestinationFilePath } } elseif ($IsWinEnv) { - Write-Host "⏳ (4/4) Moving new installation to $Destination... " + Write-Host "⏳ (4/5) Moving new installation to $Destination... " $null = New-Item -Path (Split-Path -Path $Destination -Parent) -ItemType Directory -ErrorAction SilentlyContinue Move-Item -Path $contentPath -Destination $Destination } else { - Write-Host "⏳ (4/4) Moving new installation to $Destination... " + Write-Host "⏳ (4/5) Moving new installation to $Destination... " & sudo mv "$contentPath" "$Destination" } } @@ -519,7 +519,7 @@ try { } if (-not $UseMSI) { - Write-Host "✅ Installed PowerShell $release at $Destination" -noNewline + Write-Host "✅ PowerShell $release installed at $Destination" -noNewline if ($Destination -eq $PSHOME) { Write-Host " - Please restart pwsh now." } else { From a4fa175203ff2e99b398bcd459dd852586142e20 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 30 Apr 2025 17:07:58 +0200 Subject: [PATCH 273/737] Updated install-powershell.ps1 --- scripts/install-powershell.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install-powershell.ps1 b/scripts/install-powershell.ps1 index 90cba07b1..3cf7e3bf2 100755 --- a/scripts/install-powershell.ps1 +++ b/scripts/install-powershell.ps1 @@ -438,18 +438,18 @@ try { } if (Test-Path $Destination) { - Write-Host "⏳ (4/5) Copying files to $Destination... " + Write-Host "⏳ (5/5) Copying files to $Destination... " # only copy files as folders will already exist at $Destination Get-ChildItem -Recurse -Path "$contentPath" -File | ForEach-Object { $DestinationFilePath = Join-Path $Destination $_.fullname.replace($contentPath, "") Copy-Item $_.fullname -Destination $DestinationFilePath } } elseif ($IsWinEnv) { - Write-Host "⏳ (4/5) Moving new installation to $Destination... " + Write-Host "⏳ (5/5) Moving new installation to $Destination... " $null = New-Item -Path (Split-Path -Path $Destination -Parent) -ItemType Directory -ErrorAction SilentlyContinue Move-Item -Path $contentPath -Destination $Destination } else { - Write-Host "⏳ (4/5) Moving new installation to $Destination... " + Write-Host "⏳ (5/5) Moving new installation to $Destination... " & sudo mv "$contentPath" "$Destination" } } From 5febddcaf58339efb26f2edba42cb24509fa7e34 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 30 Apr 2025 17:12:54 +0200 Subject: [PATCH 274/737] Updated install-powershell.ps1 --- scripts/install-powershell.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install-powershell.ps1 b/scripts/install-powershell.ps1 index 3cf7e3bf2..79f7e2ac3 100755 --- a/scripts/install-powershell.ps1 +++ b/scripts/install-powershell.ps1 @@ -378,7 +378,7 @@ try { } elseif ($IsMacOSEnv) { $packageName = "powershell-${release}-osx-${architecture}.tar.gz" } - Write-Host " Latest release is $release for $architecture, package name is: $packageName" + Write-Host " Latest release is $release for $architecture (package name: $packageName)" $downloadURL = "https://github.com/PowerShell/PowerShell/releases/download/v${release}/${packageName}" Write-Host "⏳ (2/5) Loading $downloadURL" @@ -424,8 +424,8 @@ try { Expand-ArchiveInternal -Path $packagePath -DestinationPath $contentPath } } else { - Write-Host "⏳ (3/5) Extracting package to $contentPath..." - tar zxf $packagePath -C $contentPath + Write-Host "⏳ (3/5) Extracting to $contentPath..." + & tar zxf $packagePath -C $contentPath } } From c053eeafa54b3886b010b2d246079bfba3757f40 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 2 May 2025 13:01:58 +0200 Subject: [PATCH 275/737] Updated list-crypto-rates.ps1 --- scripts/list-crypto-rates.ps1 | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/scripts/list-crypto-rates.ps1 b/scripts/list-crypto-rates.ps1 index 3d6809c53..d7376f418 100755 --- a/scripts/list-crypto-rates.ps1 +++ b/scripts/list-crypto-rates.ps1 @@ -6,7 +6,7 @@ .EXAMPLE PS> ./list-crypto-rates.ps1 - CRYPTOCURRENCY USD EUR CNY JPY + CRYPTOCURRENCY US$ €UR CN¥Y JPY -------------- --- --- --- --- 1 Bitcoin (BTC) = 97309.81 94385.57 38800 14798679.56 ... @@ -18,37 +18,37 @@ function ListCryptoRate { param([string]$Symbol, [string]$Name) $rates = (Invoke-WebRequest -URI "https://min-api.cryptocompare.com/data/price?fsym=$Symbol&tsyms=USD,EUR,CNY,JPY" -userAgent "curl" -useBasicParsing).Content | ConvertFrom-Json - New-Object PSObject -property @{ 'CRYPTOCURRENCY' = "1 $Symbol ($Name) ="; 'USD' = "$($rates.USD)"; 'EUR' = "$($rates.EUR)"; 'CNY' = "$($rates.CNY)"; 'JPY' = "$($rates.JPY)" } + New-Object PSObject -property @{ 'CRYPTOCURRENCY' = "1 $Name ($Symbol) ="; 'US$' = "$($rates.USD)"; '€' = "$($rates.EUR)"; 'CN¥' = "$($rates.CNY)"; 'JP¥' = "$($rates.JPY)" } } function ListCryptoRates { - ListCryptoRate ADA "Cardano" ListCryptoRate AVAX "Avalanche" - ListCryptoRate BCH "Bitcoin Cash" ListCryptoRate BNB "Binance Coin" ListCryptoRate BTC "Bitcoin" + ListCryptoRate BCH "Bitcoin Cash" ListCryptoRate BUSD "Binance USD" + ListCryptoRate ADA "Cardano" + ListCryptoRate LINK "Chainlink" ListCryptoRate DOGE "Dogecoin" - ListCryptoRate DOT "Polkadot" ListCryptoRate GALA "Gala" ListCryptoRate ETH "Ethereum" - ListCryptoRate LINK "Chainlink" ListCryptoRate LTC "Litecoin" - ListCryptoRate LUNA "Terra" + ListCryptoRate TRUMP "Official Trump" + ListCryptoRate DOT "Polkadot" ListCryptoRate MATIC "Polygon" ListCryptoRate SOL "Solana" + ListCryptoRate XLM "Stellar" ListCryptoRate SUI "Sui" - ListCryptoRate TRUMP "Official Trump" + ListCryptoRate LUNA "Terra" + ListCryptoRate USDT "Tether" ListCryptoRate WBTC "Wrapped Bitcoin" - ListCryptoRate XLM "Stellar" ListCryptoRate XRP "XRP" ListCryptoRate UNI "Uniswap" ListCryptoRate USDC "USD Coin" - ListCryptoRate USDT "Tether" } try { - ListCryptoRates | Format-Table -property @{e='CRYPTOCURRENCY';width=28},USD,EUR,CNY,JPY + ListCryptoRates | Format-Table -property @{e='CRYPTOCURRENCY';width=28},'US$','€','CN¥','JP¥' Write-Host "(by https://www.cryptocompare.com • Crypto is volatile and unregulated • Capital at risk • Taxes may apply)" exit 0 # success } catch { From 4da060321fc8a86cf157e82cbcac646a02f52573 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 7 May 2025 08:34:34 +0200 Subject: [PATCH 276/737] Updated install-calibre-server.ps1 --- scripts/install-calibre-server.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install-calibre-server.ps1 b/scripts/install-calibre-server.ps1 index e7c78a420..342c0ab80 100755 --- a/scripts/install-calibre-server.ps1 +++ b/scripts/install-calibre-server.ps1 @@ -46,7 +46,7 @@ try { & mkdir $mediaFolder "`n⏳ (5/5) Starting Calibre server as background process..." - & sudo calibre-server --port $port --num-per-page 100 --userdb $userDB --log $logfile --daemonize $mediaFolder + & sudo calibre-server --port $port --num-per-page 100 --userdb $userDB --log $logfile --disable-use-bonjour $mediaFolder & [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Calibre server installed in $($elapsed)s." From 3582303033b45ae5e41595ff1bec534cd74ed15e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 8 May 2025 17:04:04 +0200 Subject: [PATCH 277/737] Updated install-calibre-server.ps1 --- scripts/install-calibre-server.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install-calibre-server.ps1 b/scripts/install-calibre-server.ps1 index 342c0ab80..bf98226b6 100755 --- a/scripts/install-calibre-server.ps1 +++ b/scripts/install-calibre-server.ps1 @@ -46,7 +46,7 @@ try { & mkdir $mediaFolder "`n⏳ (5/5) Starting Calibre server as background process..." - & sudo calibre-server --port $port --num-per-page 100 --userdb $userDB --log $logfile --disable-use-bonjour $mediaFolder & + & nohup sudo calibre-server --port $port --num-per-page 100 --userdb $userDB --log $logfile --disable-use-bonjour $mediaFolder & [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Calibre server installed in $($elapsed)s." From 3add3bef6bae988e8bcbaf71c3cf8305cf9c07fa Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 9 May 2025 11:05:38 +0200 Subject: [PATCH 278/737] Added list-installed-hotfixes.ps1 --- scripts/list-installed-hotfixes.ps1 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 scripts/list-installed-hotfixes.ps1 diff --git a/scripts/list-installed-hotfixes.ps1 b/scripts/list-installed-hotfixes.ps1 new file mode 100644 index 000000000..e0fcd2910 --- /dev/null +++ b/scripts/list-installed-hotfixes.ps1 @@ -0,0 +1,24 @@ +<# +.SYNOPSIS + Lists the installed hotfixes +.DESCRIPTION + This PowerShell script lists the installed hotfixes. +.EXAMPLE + PS> ./list-installed-hotfixes.ps1 + + Source Description HotFixID InstalledBy InstalledOn + ------ ----------- -------- ----------- ----------- + MyPC Update KB5054977 NT AUTHORITY\SYSTEM 4/10/2025 12:00:00 AM +.NOTES + https://github.com/fleschutz/PowerShell +.LINK + Author: Markus Fleschutz | License: CC0 +#> + +try { + Get-Hotfix + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} From 17ca5ec974ac7b6453ff084f6df4f0a32abdaf93 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 9 May 2025 11:30:57 +0200 Subject: [PATCH 279/737] Updated new-script.ps1 --- scripts/new-script.ps1 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/new-script.ps1 b/scripts/new-script.ps1 index 5bebf39e1..0df107b25 100755 --- a/scripts/new-script.ps1 +++ b/scripts/new-script.ps1 @@ -7,7 +7,7 @@ Specifies the path and filename to the new script .EXAMPLE PS> ./new-script myscript.ps1 - ✅ Created the new 'myscript.ps1' PowerShell script in 1 sec + ✅ New PowerShell script 'myscript.ps1' created from: C:\PowerShell\data\template.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,12 +18,11 @@ param([string]$filename = "") try { if ($filename -eq "" ) { $filename = Read-Host "Enter the new filename" } - $stopWatch = [system.diagnostics.stopwatch]::startNew() - Copy-Item "$PSScriptRoot/../data/template.ps1" "$filename" + $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/template.ps1" + Copy-Item $pathToTemplate "$filename" - [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Created the new '$filename' PowerShell script in $elapsed sec" + "✅ New PowerShell script '$filename' created from: $pathToTemplate" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 4abee2a2acdf693ad87fe6686e78e5b017ef8677 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 9 May 2025 17:46:13 +0200 Subject: [PATCH 280/737] Updated install-vlc.ps1 --- scripts/install-vlc.ps1 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/install-vlc.ps1 b/scripts/install-vlc.ps1 index caccb6401..493de6ebd 100755 --- a/scripts/install-vlc.ps1 +++ b/scripts/install-vlc.ps1 @@ -5,8 +5,8 @@ This PowerShell script installs the VLC media player. .EXAMPLE PS> ./install-vlc.ps1 - ⏳ Installing VLC media player... - ✅ Installation of VLC media player took 25 sec + ⏳ Installing VLC media player from Winget... + ✅ VLC media player installed successfully in 25s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -14,16 +14,16 @@ #> try { - "⏳ Installing VLC media player..." - $StopWatch = [system.diagnostics.stopwatch]::startNew() + "⏳ Installing VLC media player from WinGet..." + $stopWatch = [system.diagnostics.stopwatch]::startNew() - & winget install --id XPDM1ZW6815MQM --accept-package-agreements --accept-source-agreements + & winget install --id VideoLAN.VLC --accept-package-agreements --accept-source-agreements if ($lastExitCode -ne 0) { throw "Can't install VLC media player, is it already installed?" } - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✅ Installation of VLC media player took $Elapsed sec" + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ VLC media player installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } From c895894c10a53bbbc56a5171d57d47d01b681986 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 10 May 2025 14:44:39 +0200 Subject: [PATCH 281/737] Updated list-updates.ps1 --- scripts/list-updates.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/list-updates.ps1 b/scripts/list-updates.ps1 index e4701c4e2..e1370d2aa 100755 --- a/scripts/list-updates.ps1 +++ b/scripts/list-updates.ps1 @@ -6,7 +6,7 @@ local machine and lists it (for installation use 'install-updates.ps1'). .EXAMPLE PS> ./list-updates.ps1 - ⏳ Querying Microsoft Store updates... + ⏳ Querying Microsoft Store... Name Id Version Available ---------------------------------------------------------------- @@ -36,18 +36,18 @@ try { } } else { if (Get-Command winget -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying Microsoft Store updates..." -foregroundColor green + Write-Host "`n⏳ Querying Microsoft Store..." -foregroundColor green & winget upgrade --include-unknown --source=msstore - Write-Host "`n⏳ Querying WinGet updates..." -foregroundColor green + Write-Host "`n⏳ Querying WinGet..." -foregroundColor green & winget upgrade --include-unknown --source=winget } if (Get-Command choco -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying Chocolatey updates..." -foregroundColor green + Write-Host "`n⏳ Querying Chocolatey..." -foregroundColor green & choco outdated } if (Get-Command scoop -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying Scoop updates..." -foregroundColor green + Write-Host "`n⏳ Querying Scoop..." -foregroundColor green & scoop status } } From c623ffdb06b2fbb870b19252a29858374a94a87b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 11 May 2025 10:35:36 +0200 Subject: [PATCH 282/737] Update FAQ.md --- docs/FAQ.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/FAQ.md b/docs/FAQ.md index debaf6e78..395b6a44e 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -142,6 +142,12 @@ Want to use the PowerShell scripts everywhere on the command-line? Then you need * **For Windows Terminal:** open Settings > Profiles > Windows PowerShell > Command line and add " -nologo". +
Where to find more PowerShell scripts? + +* [https://www.sharescripts.io](ShareScripts.io) +
+ +
How to write good PowerShell scripts? **Good PowerShell scripts are both user-friendly and platform-independent. As a starting point I recommend the following:** From 0defed2875cfa81133ac38c866673e60b7d84eb8 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 11 May 2025 10:38:54 +0200 Subject: [PATCH 283/737] Update FAQ.md --- docs/FAQ.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 395b6a44e..84183dd49 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -142,9 +142,9 @@ Want to use the PowerShell scripts everywhere on the command-line? Then you need * **For Windows Terminal:** open Settings > Profiles > Windows PowerShell > Command line and add " -nologo".
-
Where to find more PowerShell scripts? +
Where to find even more scripts? -* [https://www.sharescripts.io](ShareScripts.io) +* [https://www.scriptshare.io/](ScriptShare.io) - ScriptShare is an evergrowing library of scripts and automations.
From 792f4192df8959958518100982b73947a44f0989 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 11 May 2025 10:39:53 +0200 Subject: [PATCH 284/737] Update FAQ.md --- docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 84183dd49..15d2034b5 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -144,7 +144,7 @@ Want to use the PowerShell scripts everywhere on the command-line? Then you need
Where to find even more scripts? -* [https://www.scriptshare.io/](ScriptShare.io) - ScriptShare is an evergrowing library of scripts and automations. +* [ScriptShare.io](https://www.scriptshare.io/) - ScriptShare is an evergrowing library of scripts and automations.
From 196275970809cfe0a9b6a950c322b94295cd627b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 12 May 2025 15:48:41 +0200 Subject: [PATCH 285/737] Added new-markdown-file.ps1 --- data/templates/Markdown.md | 7 +++++ .../PowerShell.ps1} | 0 scripts/new-markdown-file.ps1 | 31 +++++++++++++++++++ scripts/new-script.ps1 | 23 +++++++------- 4 files changed, 50 insertions(+), 11 deletions(-) create mode 100644 data/templates/Markdown.md rename data/{template.ps1 => templates/PowerShell.ps1} (100%) create mode 100644 scripts/new-markdown-file.ps1 diff --git a/data/templates/Markdown.md b/data/templates/Markdown.md new file mode 100644 index 000000000..e3acd8a88 --- /dev/null +++ b/data/templates/Markdown.md @@ -0,0 +1,7 @@ +Your Headline +============ + +Some introductory words... + +- Point 1 +- Point 2 diff --git a/data/template.ps1 b/data/templates/PowerShell.ps1 similarity index 100% rename from data/template.ps1 rename to data/templates/PowerShell.ps1 diff --git a/scripts/new-markdown-file.ps1 b/scripts/new-markdown-file.ps1 new file mode 100644 index 000000000..5e744aaf4 --- /dev/null +++ b/scripts/new-markdown-file.ps1 @@ -0,0 +1,31 @@ +<# +.SYNOPSIS + Creates a new Markdown file +.DESCRIPTION + This PowerShell script creates a new Markdown file from template file at: ../data/templates/Markdown.md. +.PARAMETER path + Specifies the path and new filename +.EXAMPLE + PS> ./new-markdown-file.ps1 letter.md + ✅ New Markdown file 'letter.md' created from template 'Markdown.md'. +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$path = "") + +try { + if ($path -eq "" ) { $path = Read-Host "Enter the new filename" } + + $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/Markdown.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'." + exit 0 # success +} catch { + "⚠️ Error: $($Error[0])" + exit 1 +} diff --git a/scripts/new-script.ps1 b/scripts/new-script.ps1 index 0df107b25..53925d970 100755 --- a/scripts/new-script.ps1 +++ b/scripts/new-script.ps1 @@ -2,29 +2,30 @@ .SYNOPSIS Creates a new PowerShell script .DESCRIPTION - This PowerShell script creates a new PowerShell script file by using the template file ../data/template.ps1. -.PARAMETER filename - Specifies the path and filename to the new script + This PowerShell script creates a new PowerShell script file by using the template file at: ../data/templates/PowerShell.ps1. +.PARAMETER path + Specifies the path and new filename .EXAMPLE - PS> ./new-script myscript.ps1 - ✅ New PowerShell script 'myscript.ps1' created from: C:\PowerShell\data\template.ps1 + PS> ./new-script.ps1 bot.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]$filename = "") +param([string]$path = "") try { - if ($filename -eq "" ) { $filename = Read-Host "Enter the new filename" } + if ($path -eq "" ) { $path = Read-Host "Enter the new filename" } - $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/template.ps1" - Copy-Item $pathToTemplate "$filename" + $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/PowerShell.ps1" + Copy-Item $pathToTemplate "$path" + if ($lastExitCode -ne 0) { throw "Can't copy to: $path" } - "✅ New PowerShell script '$filename' created from: $pathToTemplate" + "✅ New PowerShell script '$path' created from template 'PowerShell.ps1'." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } From b4997ff74b73e0fa6e2927c8bd092528261377b0 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 12 May 2025 16:47:45 +0200 Subject: [PATCH 286/737] Added new-text-file.ps1 --- data/templates/Markdown.md | 6 +++--- data/templates/Text.txt | 7 +++++++ scripts/new-text-file.ps1 | 31 +++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 data/templates/Text.txt create mode 100644 scripts/new-text-file.ps1 diff --git a/data/templates/Markdown.md b/data/templates/Markdown.md index e3acd8a88..c0c9556e8 100644 --- a/data/templates/Markdown.md +++ b/data/templates/Markdown.md @@ -1,7 +1,7 @@ Your Headline -============ +============= Some introductory words... -- Point 1 -- Point 2 +1. Do this... +2. Do that... diff --git a/data/templates/Text.txt b/data/templates/Text.txt new file mode 100644 index 000000000..c0c9556e8 --- /dev/null +++ b/data/templates/Text.txt @@ -0,0 +1,7 @@ +Your Headline +============= + +Some introductory words... + +1. Do this... +2. Do that... diff --git a/scripts/new-text-file.ps1 b/scripts/new-text-file.ps1 new file mode 100644 index 000000000..2a3e965e4 --- /dev/null +++ b/scripts/new-text-file.ps1 @@ -0,0 +1,31 @@ +<# +.SYNOPSIS + Creates a new text file +.DESCRIPTION + This PowerShell script creates a new .txt file from template file at: ../data/templates/Text.txt. +.PARAMETER path + Specifies the path and new filename +.EXAMPLE + PS> ./new-text-file.ps1 README.txt + ✅ New text file 'README.txt' created from template 'Text.txt'. +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$path = "") + +try { + if ($path -eq "" ) { $path = Read-Host "Enter the new filename" } + + $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/Text.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'." + exit 0 # success +} catch { + "⚠️ Error: $($Error[0])" + exit 1 +} From b3cdf19f4ad4fe8bf95168ea3207e89483c88cf4 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 12 May 2025 22:01:54 +0200 Subject: [PATCH 287/737] Updated play-beep-sound.ps1 --- scripts/convert-images2webp.ps1 | 0 scripts/install-scoop.ps1 | 0 scripts/list-installed-hotfixes.ps1 | 0 scripts/new-markdown-file.ps1 | 0 scripts/new-text-file.ps1 | 0 scripts/play-beep-sound.ps1 | 11 +++-------- scripts/watch-crypto-rates.ps1 | 0 7 files changed, 3 insertions(+), 8 deletions(-) mode change 100644 => 100755 scripts/convert-images2webp.ps1 mode change 100644 => 100755 scripts/install-scoop.ps1 mode change 100644 => 100755 scripts/list-installed-hotfixes.ps1 mode change 100644 => 100755 scripts/new-markdown-file.ps1 mode change 100644 => 100755 scripts/new-text-file.ps1 mode change 100644 => 100755 scripts/watch-crypto-rates.ps1 diff --git a/scripts/convert-images2webp.ps1 b/scripts/convert-images2webp.ps1 old mode 100644 new mode 100755 diff --git a/scripts/install-scoop.ps1 b/scripts/install-scoop.ps1 old mode 100644 new mode 100755 diff --git a/scripts/list-installed-hotfixes.ps1 b/scripts/list-installed-hotfixes.ps1 old mode 100644 new mode 100755 diff --git a/scripts/new-markdown-file.ps1 b/scripts/new-markdown-file.ps1 old mode 100644 new mode 100755 diff --git a/scripts/new-text-file.ps1 b/scripts/new-text-file.ps1 old mode 100644 new mode 100755 diff --git a/scripts/play-beep-sound.ps1 b/scripts/play-beep-sound.ps1 index ea6df342d..9e39c7e02 100755 --- a/scripts/play-beep-sound.ps1 +++ b/scripts/play-beep-sound.ps1 @@ -12,11 +12,6 @@ Author: Markus Fleschutz | License: CC0 #> -try { - [System.Console]::Beep(500,300) - Start-Sleep -milliseconds 300 - exit 0 # success -} catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" - exit 1 -} +[System.Console]::Beep(500, 300) +Start-Sleep -milliseconds 300 +exit 0 # success diff --git a/scripts/watch-crypto-rates.ps1 b/scripts/watch-crypto-rates.ps1 old mode 100644 new mode 100755 From 09eb3d1808d84f8db305e772a08ec6aa22e15d44 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 12 May 2025 22:04:02 +0200 Subject: [PATCH 288/737] Updated the manuals --- docs/add-firewall-rules.md | 5 +- docs/alert.md | 3 +- docs/build-repo.md | 105 +- docs/build-repos.md | 3 +- docs/cd-autostart.md | 6 +- docs/cd-crashdumps.md | 16 +- docs/cd-desktop.md | 21 +- docs/cd-docs.md | 23 +- docs/cd-downloads.md | 27 +- docs/cd-dropbox.md | 14 +- docs/cd-etc.md | 16 +- docs/cd-fonts.md | 14 +- docs/cd-home.md | 14 +- docs/cd-jenkins.md | 10 +- docs/cd-logs.md | 12 +- docs/cd-music.md | 20 +- docs/cd-nextcloud.md | 14 +- docs/cd-onedrive.md | 14 +- docs/cd-pics.md | 16 +- docs/cd-public.md | 16 +- docs/cd-recent.md | 12 +- docs/cd-recycle-bin.md | 14 +- docs/cd-repo.md | 43 +- docs/cd-repos.md | 47 +- docs/cd-root.md | 12 +- docs/cd-screenshots.md | 10 +- docs/cd-scripts.md | 15 +- docs/cd-ssh.md | 13 +- docs/cd-temp.md | 14 +- docs/cd-templates.md | 16 +- docs/cd-trash.md | 14 +- docs/cd-up.md | 2 +- docs/cd-up2.md | 2 +- docs/cd-up3.md | 2 +- docs/cd-up4.md | 2 +- docs/cd-users.md | 16 +- docs/cd-videos.md | 16 +- docs/cd-windows.md | 16 +- docs/change-wallpaper.md | 5 +- docs/check-admin.md | 2 +- docs/check-apps.md | 2 +- docs/check-bios.md | 2 +- docs/check-cpu.md | 2 +- docs/check-credentials.md | 3 +- docs/check-day.md | 2 +- docs/check-dns.md | 2 +- docs/check-drive-space.md | 4 +- docs/check-drives.md | 3 +- docs/check-dusk.md | 2 +- docs/check-easter-sunday.md | 2 +- docs/check-file-system.md | 3 +- docs/check-file.md | 3 +- docs/check-firewall.md | 2 +- docs/check-gpu.md | 24 +- docs/check-hardware.md | 2 +- docs/check-health.md | 2 +- docs/check-independence-day.md | 2 +- docs/check-ipv4-address.md | 3 +- docs/check-ipv6-address.md | 3 +- docs/check-iss-position.md | 2 +- docs/check-mac-address.md | 3 +- 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 | 3 +- docs/check-pending-reboot.md | 8 +- docs/check-pnp-devices.md | 2 +- docs/check-power.md | 10 +- docs/check-powershell.md | 2 +- docs/check-ps1-file.md | 3 +- docs/check-ram.md | 2 +- docs/check-repo.md | 19 +- docs/check-repos.md | 3 +- docs/check-santa.md | 2 +- docs/check-smart-devices.md | 4 +- docs/check-software.md | 2 +- docs/check-subnet-mask.md | 3 +- docs/check-swap-space.md | 11 +- docs/check-symlinks.md | 55 +- docs/check-time-zone.md | 2 +- docs/check-uptime.md | 2 +- docs/check-vpn.md | 2 +- docs/check-weather.md | 3 +- docs/check-week.md | 2 +- docs/check-wind.md | 3 +- docs/check-windows-system-files.md | 4 +- docs/check-xml-file.md | 9 +- docs/check-xml-files.md | 3 +- docs/clean-repo.md | 24 +- docs/clean-repos.md | 15 +- docs/clear-dns-cache.md | 2 +- docs/clear-recycle-bin.md | 4 +- docs/clone-repos.md | 15 +- docs/clone-shallow.md | 3 +- docs/close-calculator.md | 2 +- docs/close-chrome.md | 2 +- docs/close-cortana.md | 2 +- docs/close-edge.md | 4 +- docs/close-file-explorer.md | 2 +- docs/close-firefox.md | 2 +- docs/close-git-extensions.md | 4 +- docs/close-magnifier.md | 2 +- docs/close-microsoft-paint.md | 4 +- docs/close-microsoft-store.md | 4 +- docs/close-netflix.md | 2 +- docs/close-notepad.md | 2 +- docs/close-obs-studio.md | 4 +- docs/close-one-calendar.md | 4 +- docs/close-outlook.md | 4 +- docs/close-paint-three-d.md | 4 +- docs/close-program.md | 5 +- 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 | 4 +- docs/close-thunderbird.md | 4 +- docs/close-visual-studio.md | 4 +- docs/close-vlc.md | 2 +- docs/close-windows-terminal.md | 2 +- docs/configure-git.md | 13 +- docs/connect-vpn.md | 4 +- docs/convert-csv2txt.md | 3 +- docs/convert-dir27z.md | 96 + docs/convert-dir2zip.md | 4 +- docs/convert-docx2md.md | 5 +- docs/convert-frames2mp4.md | 4 +- docs/convert-history2ps1.md | 83 + docs/convert-image2ascii.md | 2 +- docs/convert-image2blurred-frames.md | 4 +- docs/convert-image2pixelated-frames.md | 4 +- docs/convert-images2webp.md | 303 +- docs/convert-md2docx.md | 2 +- docs/convert-md2html.md | 5 +- docs/convert-md2pdf.md | 2 +- docs/convert-mysql2csv.md | 7 +- docs/convert-ps2bat.md | 3 +- docs/convert-ps2md.md | 3 +- docs/convert-sql2csv.md | 7 +- docs/convert-txt2wav.md | 4 +- docs/copy-photos-sorted.md | 4 +- docs/count-characters.md | 3 +- docs/count-lines.md | 3 +- docs/decrypt-file.md | 4 +- docs/disable-ipv6.md | 2 +- docs/disconnect-vpn.md | 4 +- docs/download-dir.md | 7 +- docs/download-file.md | 7 +- docs/edit.md | 59 +- docs/enable-crash-dumps.md | 2 +- docs/enable-god-mode.md | 2 +- docs/enable-ipv6.md | 2 +- docs/encrypt-file.md | 4 +- docs/enter-chat.md | 2 +- docs/enter-host.md | 11 +- docs/export-to-manuals.md | 4 +- docs/fetch-repo.md | 7 +- docs/fetch-repos.md | 9 +- docs/firefox-installer.md | 2 +- docs/get-md5.md | 3 +- docs/get-sha1.md | 3 +- docs/get-sha256.md | 3 +- docs/get-sha512.md | 3 +- docs/hello-world.md | 2 +- docs/hibernate.md | 2 +- docs/import-vm.md | 2 +- docs/inspect-exe.md | 3 +- docs/install-audacity.md | 4 +- docs/install-basic-apps.md | 4 +- docs/install-basic-snaps.md | 55 +- docs/install-calibre-server.md | 18 +- docs/install-chocolatey.md | 2 +- docs/install-chrome.md | 4 +- docs/install-crystal-disk-info.md | 4 +- docs/install-crystal-disk-mark.md | 4 +- docs/install-discord.md | 4 +- docs/install-edge.md | 4 +- docs/install-evcc.md | 2 +- docs/install-firefox.md | 4 +- docs/install-fonts.md | 10 +- docs/install-git-extensions.md | 4 +- docs/install-git-for-windows.md | 4 +- docs/install-github-cli.md | 4 +- docs/install-gitlab.md | 2 +- docs/install-h2static.md | 4 +- docs/install-irfanview.md | 4 +- docs/install-jenkins-agent.md | 5 +- docs/install-knot-resolver.md | 2 +- docs/install-microsoft-teams.md | 4 +- docs/install-mini-dlna.md | 2 +- docs/install-netflix.md | 4 +- docs/install-obs-studio.md | 2 +- docs/install-octoprint.md | 4 +- docs/install-one-calendar.md | 4 +- docs/install-opera-browser.md | 4 +- docs/install-opera-gx.md | 4 +- docs/install-paint-3d.md | 4 +- docs/install-power-toys.md | 4 +- docs/install-powershell.md | 33 +- docs/install-rufus.md | 4 +- docs/install-salesforce-cli.md | 2 +- docs/install-scoop.md | 23 + docs/install-signal-cli.md | 13 +- docs/install-skype.md | 4 +- docs/install-spotify.md | 4 +- docs/install-ssh-client.md | 2 +- docs/install-ssh-server.md | 2 +- docs/install-thunderbird.md | 4 +- docs/install-twitter.md | 4 +- docs/install-unbound-server.md | 20 +- docs/install-updates.md | 31 +- docs/install-visual-studio-code.md | 4 +- docs/install-vivaldi.md | 4 +- docs/install-vlc.md | 24 +- docs/install-windows-terminal.md | 4 +- docs/install-wsl.md | 2 +- docs/install-zoom.md | 4 +- docs/introduce-powershell.md | 2 +- docs/list-aliases.md | 2 +- docs/list-anagrams.md | 4 +- 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 | 10 +- docs/list-calendar.md | 4 +- docs/list-cheat-sheet.md | 2 +- docs/list-city-weather.md | 2 +- docs/list-cli-tools.md | 25 +- docs/list-clipboard.md | 2 +- docs/list-cmdlets.md | 2 +- docs/list-coffee-prices.md | 2 +- docs/list-commit-stats.md | 9 +- docs/list-commits.md | 12 +- docs/list-console-colors.md | 21 +- docs/list-countries.md | 2 +- docs/list-cpu.md | 2 +- docs/list-crypto-rates.md | 50 +- docs/list-defender-settings.md | 2 +- docs/list-dir-tree.md | 3 +- docs/list-dns-servers.md | 2 +- docs/list-drives.md | 2 +- docs/list-earthquakes.md | 3 +- docs/list-emojis.md | 2 +- docs/list-empty-dirs.md | 3 +- docs/list-empty-files.md | 3 +- docs/list-encrypted-files.md | 3 +- docs/list-environment-variables.md | 2 +- docs/list-error-types.md | 2 +- docs/list-exchange-rates.md | 3 +- docs/list-executables.md | 3 +- docs/list-fibonacci.md | 2 +- docs/list-files.md | 3 +- docs/list-folder.md | 3 +- docs/list-fritzbox-calls.md | 4 +- docs/list-fritzbox-devices.md | 4 +- docs/list-headlines.md | 4 +- docs/list-hidden-files.md | 3 +- docs/list-installed-hotfixes.md | 68 + 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 | 5 +- docs/list-latest-tags.md | 7 +- docs/list-local-ip.md | 2 +- docs/list-mDNS.md | 2 +- docs/list-memos.md | 2 +- docs/list-mysql-tables.md | 6 +- 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 | 5 +- docs/list-nic.md | 2 +- docs/list-nina-warnings.md | 3 +- docs/list-old-branches.md | 8 +- docs/list-os-releases.md | 2 +- docs/list-os-updates.md | 4 +- docs/list-os.md | 2 +- docs/list-outlook-inbox.md | 2 +- docs/list-outlook-sent.md | 2 +- docs/list-passwords.md | 5 +- docs/list-pins.md | 5 +- 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 | 9 +- docs/list-ram.md | 2 +- docs/list-read-only-files.md | 3 +- docs/list-recycle-bin.md | 2 +- docs/list-repos.md | 21 +- 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 | 6 +- docs/list-ssh-key.md | 2 +- docs/list-submodules.md | 9 +- docs/list-suggestions.md | 3 +- docs/list-system-devices.md | 2 +- docs/list-system-files.md | 3 +- docs/list-system-info.md | 2 +- docs/list-tags.md | 12 +- 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 | 4 +- docs/list-updates.md | 62 +- 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 | 9 +- 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 | 3 +- docs/locate-ipaddress.md | 2 +- docs/locate-my-phone.md | 2 +- docs/locate-zip-code.md | 4 +- docs/lock-desktop.md | 2 +- docs/log-off.md | 2 +- docs/make-install.md | 2 +- docs/measure-BubbleSort.md | 3 +- docs/measure-BucketSort.md | 3 +- docs/measure-CountingSort.md | 3 +- docs/measure-HeapSort.md | 3 +- docs/measure-InsertionSort.md | 3 +- docs/measure-MergeSort.md | 3 +- docs/measure-QuickSort.md | 3 +- docs/measure-SelectionSort.md | 3 +- docs/measure-sorting-algorithms.md | 3 +- docs/merry-christmas.md | 2 +- docs/minimize-all-windows.md | 2 +- docs/move-mouse-pointer.md | 4 +- docs/move-vm.md | 2 +- docs/my-profile.md | 2 +- docs/new-branch.md | 20 +- docs/new-dir.md | 3 +- docs/new-email.md | 3 +- docs/new-junction.md | 42 +- docs/new-linux-vm.md | 2 +- docs/new-markdown-file.md | 78 + docs/new-power-plan.md | 2 +- docs/new-qrcode.md | 5 +- docs/new-reboot-task.md | 2 +- docs/new-script.md | 39 +- docs/new-shortcut.md | 5 +- docs/new-ssh-key.md | 4 +- docs/new-symlink.md | 6 +- docs/new-tab.md | 61 + docs/new-tag.md | 14 +- docs/new-text-file.md | 78 + docs/new-user.md | 3 +- docs/new-windows-vm.md | 2 +- docs/on-desktop-login.md | 2 +- docs/open-URL.md | 4 +- 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 | 3 +- docs/open-clock.md | 2 +- docs/open-cortana.md | 2 +- docs/open-d-drive.md | 2 +- docs/open-dashboards.md | 15 +- docs/open-deep-l-translator.md | 2 +- docs/open-default-browser.md | 3 +- 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 | 3 +- docs/open-fire-place.md | 2 +- docs/open-firefox.md | 3 +- 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 | 3 +- 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 | 24 +- docs/ping-host.md | 11 +- docs/ping-internet.md | 3 +- docs/ping-local-devices.md | 3 +- docs/ping-weather.md | 4 +- docs/play-bee-sound.md | 2 +- docs/play-beep-sound.md | 13 +- 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 | 5403 ++++++++++++++++++++ docs/play-elephant-sound.md | 2 +- docs/play-elk-sound.md | 2 +- docs/play-files.md | 3 +- 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 | 3 +- docs/play-mission-impossible.md | 2 +- docs/play-mp3.md | 3 +- 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 | 4 +- 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 | 3 +- docs/publish-to-ipfs.md | 7 +- docs/pull-repo.md | 11 +- docs/pull-repos.md | 17 +- docs/query-smart-data.md | 3 +- docs/reboot-fritzbox.md | 4 +- docs/reboot-into-bios.md | 47 + docs/reboot.md | 2 +- docs/remember.md | 5 +- docs/remind-me.md | 4 +- docs/remove-dir-tree.md | 3 +- docs/remove-empty-dirs.md | 3 +- docs/remove-old-dirs.md | 20 +- docs/remove-print-jobs.md | 2 +- docs/remove-tag.md | 11 +- docs/remove-user.md | 3 +- docs/remove-vm.md | 2 +- docs/replace-in-files.md | 5 +- docs/restart-network-adapters.md | 2 +- docs/roll-a-dice.md | 2 +- docs/save-credentials.md | 3 +- docs/save-screenshot.md | 3 +- docs/scan-folder.md | 3 +- docs/scan-network.md | 2 +- docs/scan-ports.md | 2 +- docs/search-filename.md | 4 +- docs/search-files.md | 4 +- docs/search-repo.md | 8 +- docs/send-email.md | 7 +- docs/send-tcp.md | 5 +- docs/send-udp.md | 5 +- docs/set-timer.md | 3 +- docs/set-volume.md | 3 +- docs/set-wallpaper.md | 4 +- docs/show-lightnings.md | 2 +- docs/show-notification-motivation-quote.md | 2 +- docs/show-notification.md | 5 +- docs/show-traffic.md | 2 +- docs/simulate-presence.md | 3 +- docs/smart-data2csv.md | 3 +- docs/speak-arabic.md | 3 +- docs/speak-checklist.md | 3 +- docs/speak-countdown.md | 3 +- docs/speak-croatian.md | 3 +- docs/speak-danish.md | 3 +- docs/speak-dutch.md | 3 +- docs/speak-english.md | 3 +- docs/speak-epub.md | 3 +- docs/speak-esperanto.md | 3 +- docs/speak-file.md | 3 +- docs/speak-finnish.md | 3 +- docs/speak-french.md | 3 +- docs/speak-german.md | 3 +- docs/speak-greek.md | 3 +- docs/speak-hebrew.md | 3 +- docs/speak-hindi.md | 3 +- docs/speak-italian.md | 3 +- docs/speak-japanese.md | 3 +- docs/speak-korean.md | 3 +- docs/speak-latin.md | 3 +- docs/speak-mandarin.md | 3 +- docs/speak-norwegian.md | 3 +- docs/speak-polish.md | 3 +- docs/speak-portuguese.md | 3 +- docs/speak-russian.md | 3 +- docs/speak-spanish.md | 3 +- docs/speak-swedish.md | 3 +- docs/speak-test.md | 2 +- docs/speak-text.md | 3 +- docs/speak-thai.md | 3 +- docs/speak-turkish.md | 3 +- docs/speak-ukrainian.md | 3 +- docs/spell-word.md | 3 +- docs/start-ipfs-server.md | 18 +- docs/suspend.md | 2 +- docs/switch-branch.md | 30 +- docs/switch-shelly1.md | 5 +- docs/switch-tabs.md | 3 +- docs/sync-dir.md | 109 + docs/sync-repo.md | 9 +- 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/translate-file.md | 5 +- docs/translate-files.md | 3 +- docs/translate-text.md | 5 +- docs/turn-volume-down.md | 3 +- docs/turn-volume-fully-up.md | 2 +- docs/turn-volume-off.md | 2 +- docs/turn-volume-on.md | 2 +- docs/turn-volume-up.md | 3 +- 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 | 3 +- docs/upgrade-ubuntu.md | 2 +- docs/upload-file.md | 6 +- docs/upload-to-dropbox.md | 3 +- docs/wake-up-host.md | 6 +- docs/wake-up-human.md | 2 +- docs/watch-commits.md | 11 +- docs/watch-crypto-rates.md | 83 + docs/watch-file.md | 2 +- docs/watch-host.md | 2 +- docs/watch-news.md | 4 +- docs/watch-ping.md | 4 +- docs/weather-report.md | 3 +- docs/weather.md | 3 +- docs/what-is.md | 7 +- docs/windefender.md | 2 +- docs/write-animated.md | 4 +- docs/write-ascii-image.md | 2 +- docs/write-big.md | 3 +- docs/write-blue.md | 3 +- docs/write-braille.md | 3 +- docs/write-centered.md | 3 +- docs/write-changelog.md | 7 +- docs/write-chart.md | 2 +- docs/write-clock.md | 2 +- docs/write-code.md | 4 +- docs/write-credits.md | 2 +- docs/write-date.md | 2 +- docs/write-fractal.md | 2 +- docs/write-green.md | 3 +- docs/write-hands-off.md | 2 +- docs/write-headline.md | 3 +- docs/write-help.md | 2 +- docs/write-in-emojis.md | 3 +- docs/write-joke.md | 2 +- docs/write-location.md | 2 +- docs/write-lowercase.md | 3 +- docs/write-marquee.md | 4 +- docs/write-matrix.md | 2 +- docs/write-moon.md | 2 +- docs/write-morse-code.md | 4 +- docs/write-motd.md | 2 +- docs/write-pi.md | 3 +- docs/write-progress-bar.md | 30 + docs/write-qr-code.md | 2 +- docs/write-quote.md | 2 +- docs/write-red.md | 3 +- docs/write-rot13.md | 3 +- docs/write-shit.md | 2 +- docs/write-sine-curves.md | 2 +- docs/write-story.md | 78 + docs/write-time.md | 2 +- docs/write-typewriter.md | 4 +- docs/write-uppercase.md | 3 +- docs/write-value.md | 8 +- docs/write-vertical.md | 3 +- docs/write-xmas-tree.md | 8 +- 651 files changed, 8355 insertions(+), 1398 deletions(-) create mode 100644 docs/convert-dir27z.md create mode 100644 docs/convert-history2ps1.md create mode 100644 docs/install-scoop.md create mode 100644 docs/list-installed-hotfixes.md create mode 100644 docs/new-markdown-file.md create mode 100644 docs/new-tab.md create mode 100644 docs/new-text-file.md create mode 100644 docs/play-drug-wars.md create mode 100644 docs/reboot-into-bios.md create mode 100644 docs/sync-dir.md create mode 100644 docs/watch-crypto-rates.md create mode 100644 docs/write-progress-bar.md create mode 100644 docs/write-story.md diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index e212f2528..4e5d1fcdf 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Direction @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Inbound Accept pipeline input? false + Aliases Accept wildcard characters? false -FirewallProfile @@ -32,6 +34,7 @@ Parameters Position? 3 Default value @("Domain", "Private") Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -113,4 +116,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/alert.md b/docs/alert.md index 33ddda859..fd71aa85f 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -71,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/build-repo.md b/docs/build-repo.md index 7fbeb2a2b..67afb950a 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -1,7 +1,7 @@ The *build-repo.ps1* Script =========================== -This PowerShell script builds a Git repository by supporting build systems such as: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson. +This PowerShell script builds a Git repository by supporting the build systems: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson. Parameters ---------- @@ -9,12 +9,13 @@ Parameters /Repos/PowerShell/scripts/build-repo.ps1 [[-path] ] [] -path - Specifies the path to the Git repository (default is current working directory) + Specifies the path to the Git repository (current working directory by default) Required? false Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -26,9 +27,9 @@ Example ------- ```powershell PS> ./build-repo.ps1 C:\Repos\ninja -⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results... +⏳ Building 📂ninja by using CMake... ... -✅ Built 📂ninja repository in 47 sec. +✅ Build of 📂ninja succeeded in 47s, results in: 📂C:\Repos\ninja\_results ``` @@ -45,16 +46,16 @@ Script Content ```powershell <# .SYNOPSIS - Builds a repository + Builds a repo .DESCRIPTION - This PowerShell script builds a Git repository by supporting build systems such as: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson. + This PowerShell script builds a Git repository by supporting the build systems: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson. .PARAMETER path - Specifies the path to the Git repository (default is current working directory) + Specifies the path to the Git repository (current working directory by default) .EXAMPLE PS> ./build-repo.ps1 C:\Repos\ninja - ⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results... + ⏳ Building 📂ninja by using CMake... ... - ✅ Built 📂ninja repository in 47 sec. + ✅ Build of 📂ninja succeeded in 47s, results in: 📂C:\Repos\ninja\_results .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -63,114 +64,114 @@ Script Content param([string]$path = "$PWD") -function BuildInDir([string]$path) { +function BuildFolder([string]$path) { $dirName = (Get-Item "$path").Name if (Test-Path "$path/CMakeLists.txt" -pathType leaf) { - "⏳ (1/4) Building 📂$dirName by using CMake into 📂$dirName/_Build_Results..." - if (-not(Test-Path "$path/_Build_Results/" -pathType container)) { - & mkdir "$path/_Build_Results/" + "⏳ (1/4) Building 📂$dirName by using CMake..." + $global:results = "$path/_results/" + if (-not(Test-Path $global:results -pathType container)) { + & mkdir $global:results } - Set-Location "$path/_Build_Results/" + Set-Location $global:results "⏳ (2/4) Executing 'cmake' to generate the Makefile..." & cmake .. - if ($lastExitCode -ne "0") { throw "Executing 'cmake ..' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'cmake ..' failed with exit code $lastExitCode" } "⏳ (3/4) Executing 'make -j4' to compile and link..." & make -j4 - if ($lastExitCode -ne "0") { throw "Executing 'make -j4' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } - "⏳ (4/4) Executing 'ctest -V' to perform tests (optional)..." + "⏳ (4/4) Executing 'ctest -V'... (if tests are provided)" & ctest -V - if ($lastExitCode -ne "0") { throw "Executing 'ctest -V' exited with error code $lastExitCode" } - + if ($lastExitCode -ne 0) { throw "Executing 'ctest -V' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/autogen.sh" -pathType leaf) { - "⏳ Building 📂$dirName by using 'autogen.sh'..." + "⏳ Building 📂$dirName by executing 'autogen.sh'..." Set-Location "$path/" - & ./autogen.sh --force - if ($lastExitCode -ne "0") { throw "Executing './autogen.sh --force' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing './autogen.sh --force' failed with exit code $lastExitCode" } + "⏳ Executing './configure'..." & ./configure - if ($lastExitCode -ne "0") { throw "Executing './configure' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing './configure' failed with exit code $lastExitCode" } & make -j4 - if ($lastExitCode -ne "0") { throw "Executing 'make -j4' exited with error code $lastExitCode" } - + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/configure" -pathType leaf) { - "⏳ Building 📂$dirName by using 'configure'..." + "⏳ Building 📂$dirName by executing './configure' and 'make'..." Set-Location "$path/" & ./configure - #if ($lastExitCode -ne "0") { throw "Executing './configure' exited with error code $lastExitCode" } + #if ($lastExitCode -ne 0) { throw "Executing './configure' exited with error code $lastExitCode" } & make -j4 - if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } & make test - if ($lastExitCode -ne "0") { throw "Executing 'make test' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make test' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/build.gradle" -pathType leaf) { "⏳ Building 📂$dirName by using Gradle..." Set-Location "$path" & gradle build - if ($lastExitCode -ne "0") { throw "Executing 'gradle build' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'gradle build' failed with exit code $lastExitCode" } & gradle test - if ($lastExitCode -ne "0") { throw "Executing 'gradle test' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'gradle test' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/meson.build" -pathType leaf) { "⏳ Building 📂$dirName by using Meson..." Set-Location "$path" & meson . build --prefix=/usr/local - if ($lastExitCode -ne "0") { throw "Executing 'meson . build' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing 'meson . build' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/Imakefile" -pathType leaf) { "⏳ Building 📂$dirName by using Imakefile..." Set-Location "$path/" & xmkmf - if ($lastExitCode -ne "0") { throw "Executing 'xmkmf' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'xmkmf' failed with exit code $lastExitCode" } & make -j4 - if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/Makefile" -pathType leaf) { "⏳ Building 📂$dirName by using Makefile..." Set-Location "$path" & make -j4 - if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/makefile" -pathType leaf) { "⏳ Building 📂$dirName by using makefile..." Set-Location "$path" & make -j4 - if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/compile.sh" -pathType leaf) { - "⏳ Building 📂$dirName by using 'compile.sh'..." + "⏳ Building 📂$dirName by executing 'compile.sh'..." Set-Location "$path/" & ./compile.sh - if ($lastExitCode -ne "0") { throw "Executing './compile.sh' exited with error code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Executing './compile.sh' failed with exit code $lastExitCode" } & make -j4 - if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" } + if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/attower/src/build/DevBuild/build.bat" -pathType leaf) { - "⏳ Building 📂$dirName by using build.bat ..." - Set-Location "$path/attower/src/build/DevBuild/" - & ./build.bat build-all-release - if ($lastExitCode -ne "0") { throw "Executing 'build.bat build-all-release' exited with error code $lastExitCode" } + Write-Host "⏳ Building 📂$dirName by executing 'build.bat'..." + Set-Location "$path/attower/src/build/DevBuild/" + & ./build.bat build-core-release + if ($lastExitCode -ne 0) { throw "Executing 'build.bat' failed with exit code $lastExitCode" } + $global:results = "$path\attower\Executables" } elseif (Test-Path "$path/$dirName" -pathType container) { "⏳ No make rule found, trying subfolder 📂$($dirName)..." - BuildInDir "$path/$dirName" + BuildFolder "$path/$dirName" } else { Write-Warning "Sorry, no make rule applies to: 📂$dirName" exit 0 # success @@ -179,21 +180,27 @@ function BuildInDir([string]$path) { try { $stopWatch = [system.diagnostics.stopwatch]::startNew() + $previousPath = Get-Location - if (-not(Test-Path "$path" -pathType container)) { throw "Can't access directory: $path" } + if (-not(Test-Path "$path" -pathType container)) { throw "The file path '$path' doesn't exist (yet)" } - $previousPath = Get-Location - BuildInDir "$path" + $global:results = "" + BuildFolder "$path" Set-Location "$previousPath" $repoDirName = (Get-Item "$path").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Built 📂$repoDirName repository in $elapsed sec." + if ($global:results -eq "") { + "✅ Build of 📂$repoDirName succeeded in $($elapsed)s." + } else { + "✅ Build of 📂$repoDirName succeeded in $($elapsed)s, results in: 📂$($global:results)" + } exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + Set-Location "$previousPath" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/build-repos.md b/docs/build-repos.md index d7c58503b..de6015ef1 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -82,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index b716ef311..018499945 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -49,15 +49,15 @@ Script Content try { $path = Resolve-Path "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" if (-not(Test-Path "$path" -pathType container)) { - throw "Autostart folder at 📂$path doesn't exist (yet)" + throw "No autostart folder at 📂$path" } Set-Location "$path" "📂$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index 01a4efbc3..b3092bb0a 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-crashdumps -📂C:\Users\Markus\AppData\Local\CrashDumps +📂C:\Users\Markus\AppData\Local\CrashDumps entered (has 3 files and 0 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash. .EXAMPLE PS> ./cd-crashdumps - 📂C:\Users\Markus\AppData\Local\CrashDumps + 📂C:\Users\Markus\AppData\Local\CrashDumps entered (has 3 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -50,17 +50,19 @@ try { if ($IsLinux) { throw "Sorry, Windows only" } [string]$path = Resolve-Path -Path "~" - if (!(Test-Path "$path" -pathType container)) { throw "Home directory at $path doesn't exist (yet)" } + if (!(Test-Path "$path" -pathType container)) { throw "No home directory at $path" } $path += "\AppData\Local\CrashDumps" - if (!(Test-Path "$path" -pathType container)) { throw "Crashdumps directory at $path doesn't exist (yet)" } + if (!(Test-Path "$path" -pathType container)) { throw "No crashdumps folder at $path" } Set-Location "$Path" - "📂$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 in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index 02053fb57..b0f5659db 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -47,21 +47,24 @@ Script Content #> try { - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { + if (-not(Test-Path "~/Desktop" -pathType container)) { + 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" + } } - if (Test-Path "$path" -pathType container) { - Set-Location "$path" - "📂$path" - exit 0 # success - } - throw "User's desktop folder at 📂$path doesn't exist (yet)" + Set-Location "$path" + "📂$path" + exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index 663435c51..935b9ab53 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-docs -📂C:\Users\Markus\Documents +📂C:\Users\Markus\Documents entered (has 3 files and 0 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the documents folder. .EXAMPLE PS> ./cd-docs - 📂C:\Users\Markus\Documents + 📂C:\Users\Markus\Documents entered (has 3 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,21 +47,26 @@ Script Content #> try { - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { + if (-not(Test-Path "~/Documents" -pathType container)) { + 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 "Documents folder at 📂$path doesn't exist (yet)" + if (-not(Test-Path "$path" -pathType container)) { + throw "No documents folder at 📂$path yet" + } } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index 80cf276f0..284ee6aa7 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-downloads -📂C:\Users\Markus\Downloads +📂C:\Users\Markus\Downloads entered (has 0 files and 0 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the user's downloads folder. .EXAMPLE PS> ./cd-downloads - 📂C:\Users\Markus\Downloads + 📂C:\Users\Markus\Downloads entered (has 0 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,21 +47,26 @@ Script Content #> try { - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { + if (-not(Test-Path "~/Downloads" -pathType container)) { + 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" + } } - if (Test-Path "$path" -pathType container) { - Set-Location "$path" - "📂$path" - exit 0 # success - } - throw "User's downloads folder at 📂$path doesn't exist (yet)" + Set-Location "$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" + exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index 8ed034d47..a9ceec2e9 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-dropbox -📂C:\Users\Markus\Dropbox +📂C:\Users\Markus\Dropbox (has 2 files and 4 subfolders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the user's Dropbox folder. .EXAMPLE PS> ./cd-dropbox - 📂C:\Users\Markus\Dropbox + 📂C:\Users\Markus\Dropbox (has 2 files and 4 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,10 +47,14 @@ Script Content #> try { + if (-not(Test-Path "~/Dropbox" -pathType container)) { + throw "No 📂Dropbox folder in your home directory - is Dropbox installed?" + } $path = Resolve-Path "~/Dropbox" - if (-not(Test-Path "$path" -pathType container)) { throw "No Dropbox folder at 📂$path - is Dropbox installed?" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -58,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index d5c74d57d..e0f3ff825 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 +📂C:\Windows\System32\drivers\etc (has 2 files and 3 subfolders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the /etc directory. .EXAMPLE PS> ./cd-etc - 📂C:\Windows\System32\drivers\etc + 📂C:\Windows\System32\drivers\etc (has 2 files and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,21 +47,23 @@ Script Content #> try { - if ($IsLinx) { + if ($IsLinux -or $IsMacOS) { $path = "/etc" } else { $path = Resolve-Path "$env:WINDIR\System32\drivers\etc" } if (-not(Test-Path "$path" -pathType container)) { - throw "/etc directory at 📂$path doesn't exist (yet)" + throw "No /etc directory at 📂$path" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index 3f0c9051e..b9a1314d1 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-fonts -📂C:\Windows\Fonts +📂C:\Windows\Fonts (has 2 file and 3 subfolders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the fonts folder. .EXAMPLE PS> ./cd-fonts - 📂C:\Windows\Fonts + 📂C:\Windows\Fonts (has 2 file and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,15 +49,17 @@ Script Content try { $path = [Environment]::GetFolderPath('Fonts') if (-not(Test-Path "$path" -pathType container)) { - throw "Fonts folder at 📂$path doesn't exist (yet)" + throw "No fonts folder at 📂$path" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-home.md b/docs/cd-home.md index 7e70233fd..46ca7aefe 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-home.ps1 -📂C:\Users\Markus +📂C:\Users\Markus entered (has 4 files and 7 subfolders) ``` @@ -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 + 📂C:\Users\Markus entered (has 4 files and 7 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,15 +47,17 @@ Script Content #> try { + if (-not(Test-Path "~" -pathType container)) { throw "No home directory at $path" } $path = Resolve-Path "~" - if (-not(Test-Path "$path" -pathType container)) { throw "Home folder at $path doesn't exist (yet)" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index 6e590e7a9..58ca1cc32 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-jenkins -📂C:\Users\Markus\.jenkins +📂C:\Users\Markus\.jenkins entered (has 2 files and 21 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the Jenkins home directory. .EXAMPLE PS> ./cd-jenkins - 📂C:\Users\Markus\.jenkins + 📂C:\Users\Markus\.jenkins entered (has 2 files and 21 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -55,7 +55,9 @@ try { throw "No Jenkins home directory found - is Jenkins installed?" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -63,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index 829b736e9..bee1b0f22 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -24,7 +24,7 @@ Script Content This PowerShell script changes the current working directory to the logs directory. .EXAMPLE PS> ./cd-logs - 📂/var/logs + 📂/var/logs entered (has 3 files and 2 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -32,7 +32,7 @@ Script Content #> function GetLogsDir { - if ($IsLinux) { return "/var/logs" } + if ($IsLinux -or $IsMacOS) { return "/var/logs" } $WinDir = [System.Environment]::GetFolderPath('Windows') return "$WinDir\Logs" } @@ -40,12 +40,14 @@ function GetLogsDir { try { $path = GetLogsDir Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-music.md b/docs/cd-music.md index 2452914aa..f4aca02c1 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-music -📂C:\Users\Markus\Music +📂C:\Users\Markus\Music entered (has 0 files and 3 subfolders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the user's music folder. .EXAMPLE PS> ./cd-music - 📂C:\Users\Markus\Music + 📂C:\Users\Markus\Music entered (has 0 files and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -52,16 +52,18 @@ try { } else { $path = [Environment]::GetFolderPath('MyMusic') } - if (Test-Path "$path" -pathType container) { - Set-Location "$path" - "📂$path" - exit 0 # success + if (-not(Test-Path "$path" -pathType container)) { + throw "No music folder at 📂$path" } - throw "User's music folder at 📂$path doesn't exist (yet)" + Set-Location "$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" + exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index a755a501a..4ac91b61a 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-nextcloud -📂C:\Users\Markus\NextCloud +📂C:\Users\Markus\NextCloud entered (has 2 files and 3 subfolders) ``` @@ -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 + 📂C:\Users\Markus\NextCloud entered (has 2 files and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,9 +48,13 @@ 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 "$path" -pathType container)) { + throw "No NextCloud folder at $path - is NextCloud installed?" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -58,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index 08a71cc0a..7ab75d8d5 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-onedrive -📂C:\Users\Markus\OneDrive +📂C:\Users\Markus\OneDrive entered (has 2 files and 3 subfolders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the user's OneDrive folder. .EXAMPLE PS> ./cd-onedrive - 📂C:\Users\Markus\OneDrive + 📂C:\Users\Markus\OneDrive entered (has 2 files and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,9 +48,13 @@ 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 "$path" -pathType container)) { + throw "No OneDrive folder at $path - is OneDrive installed?" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -58,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index 88f15ae40..70a0e2e0d 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-pics -📂C:\Users\Markus\Pictures +📂C:\Users\Markus\Pictures entered (has 7 files and 0 subfolders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the user's pictures folder. .EXAMPLE PS> ./cd-pics - 📂C:\Users\Markus\Pictures + 📂C:\Users\Markus\Pictures entered (has 7 files and 0 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -52,14 +52,18 @@ try { } else { $path = [Environment]::GetFolderPath('MyPictures') } - if (-not(Test-Path "$path" -pathType container)) { throw "Pictures folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No pictures folder at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-public.md b/docs/cd-public.md index c87e0c7fe..c8482b937 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-public -📂C:\Users\Public +📂C:\Users\Public entered (has 2 files and 3 subfolders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the Public folder. .EXAMPLE PS> ./cd-public - 📂C:\Users\Public + 📂C:\Users\Public entered (has 2 files and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -52,14 +52,18 @@ try { } else { $path = Resolve-Path "~/../Public" } - if (-not(Test-Path "$path" -pathType container)) { throw "Public folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No public folder at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index df3e6b537..3bfd82105 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-recent -📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent +📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent entered (has 2 files and 3 subfolders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the 'recent' folder. .EXAMPLE PS> ./cd-recent - 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent + 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent entered (has 2 files and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,10 +49,12 @@ Script Content try { $path = [Environment]::GetFolderPath('Recent') if (-not(Test-Path "$path" -pathType container)) { - throw "Recent folder at 📂$path doesn't exist (yet)" + throw "No recent folder at $path" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -60,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index 1358728ed..38a4d72ff 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -24,7 +24,7 @@ Script Content This PowerShell script changes the working directory to the user's recycle bin folder. .EXAMPLE PS> ./cd-recycle-bin - 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 + 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 entered (has 2 files and 0 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -43,14 +43,18 @@ try { } else { $path = "C:\`$Recycle.Bin\$(GetCurrentUserSID)" } - if (-not(Test-Path "$path" -pathType container)) { throw "Recycle bin folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No recycle bin folder at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index d8954238e..fd9cded48 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -26,7 +27,7 @@ Example ------- ```powershell PS> ./cd-repo.ps1 rust -📂C:\Repos\rust · on branch: ## main ... origin/main +📂C:\Repos\rust entered, current branch is: ## main ... origin/main ``` @@ -50,7 +51,7 @@ Script Content Specifies the folder name of the Git repository .EXAMPLE PS> ./cd-repo.ps1 rust - 📂C:\Repos\rust · on branch: ## main ... origin/main + 📂C:\Repos\rust entered, current branch is: ## main ... origin/main .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -60,36 +61,28 @@ Script Content param([string]$folderName = "") try { - if ("$folderName" -eq "") { $folderName = Read-Host "Enter the Git repository's folder name" } + if ("$folderName" -eq "") { $folderName = Read-Host "Please enter the Git repository's folder name" } - if (Test-Path "~/Repos" -pathType Container) { # try short name in home dir - $path = "~/Repos" - } elseif (Test-Path "~/repos" -pathType Container) { - $path = "~/repos" - } elseif (Test-Path "~/Repositories" -pathType Container) { # try long name - $path = "~/Repositories" - } elseif (Test-Path "~/repositories" -pathType Container) { - $path = "~/repositories" - } elseif (Test-Path "/Repos" -pathType Container) { # try short name in root dir - $path = "/Repos" - } elseif (Test-Path "/repos" -pathType Container) { - $path = "/repos" - } elseif (Test-Path "/Repositories" -pathType Container) { # try long name - $path = "/Repositories" - } elseif (Test-Path "/repositories" -pathType Container) { - $path = "/repositories" - } elseif (Test-Path "~/source/repos" -pathType Container) { # try Visual Studio default - $path = "~/source/repos" + if (Test-Path "~/Repos" -pathType container) { $path = "~/Repos" + } elseif (Test-Path "~/repos" -pathType container) { $path = "~/repos" + } elseif (Test-Path "~/Repositories" -pathType container) { $path = "~/Repositories" + } elseif (Test-Path "~/repositories" -pathType container) { $path = "~/repositories" + } elseif (Test-Path "/Repos" -pathType container) { $path = "/Repos" + } elseif (Test-Path "/repos" -pathType container) { $path = "/repos" + } elseif (Test-Path "/Repositories" -pathType container) { $path = "/Repositories" + } 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 Git repositories folder in your home directory or in the root folder yet" } $path += "/" + $folderName - if (-not(Test-Path "$path" -pathType container)) { throw "The path to 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { throw "The file path '$path' doesn't exist (yet)" } $path = Resolve-Path "$path" Set-Location "$path" - Write-Host "📂$path · on branch: " -noNewline - & git status --short --branch --show-stash + Write-Host "📂$path entered, current branch is: " -noNewline + & git status --branch --short exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -97,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index 2c0b1fae7..d48ca449c 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -1,7 +1,7 @@ The *cd-repos.ps1* Script =========================== -This PowerShell script changes the working directory to the Git repositories folder. +This PowerShell script changes the working directory to the folder for Git repositories. Parameters ---------- @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-repos.ps1 -📂C:\Repos +📂C:\Repos (has 33 subfolders) ``` @@ -34,14 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to the Git repos folder + Sets the working dir to the repos folder .DESCRIPTION - This PowerShell script changes the working directory to the Git repositories folder. -.PARAMETER subpath - Specifies an additional relative subpath (optional) + This PowerShell script changes the working directory to the folder for Git repositories. .EXAMPLE PS> ./cd-repos.ps1 - 📂C:\Repos + 📂C:\Repos (has 33 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,30 +47,23 @@ Script Content #> try { - if (Test-Path "~/Repos" -pathType Container) { # try short name in home dir - $path = "~/Repos" - } elseif (Test-Path "~/repos" -pathType Container) { - $path = "~/repos" - } elseif (Test-Path "~/Repositories" -pathType Container) { # try long name - $path = "~/Repositories" - } elseif (Test-Path "~/repositories" -pathType Container) { - $path = "~/repositories" - } elseif (Test-Path "/Repos" -pathType Container) { # try short name in root dir - $path = "/Repos" - } elseif (Test-Path "/repos" -pathType Container) { - $path = "/repos" - } elseif (Test-Path "/Repositories" -pathType Container) { # try long name - $path = "/Repositories" - } elseif (Test-Path "/repositories" -pathType Container) { - $path = "/repositories" - } elseif (Test-Path "~/source/repos" -pathType Container) { # try Visual Studio default - $path = "~/source/repos" + if (Test-Path "~/Repos" -pathType container) { $path = "~/Repos" + } elseif (Test-Path "~/repos" -pathType container) { $path = "~/repos" + } elseif (Test-Path "~/Repositories" -pathType container) { $path = "~/Repositories" + } elseif (Test-Path "~/repositories" -pathType container) { $path = "~/repositories" + } elseif (Test-Path "/Repos" -pathType container) { $path = "/Repos" + } elseif (Test-Path "/repos" -pathType container) { $path = "/repos" + } elseif (Test-Path "/Repositories" -pathType container) { $path = "/Repositories" + } 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 Git repositories folder in your home directory or in the root folder yet" + throw "No folder found for Git repositories (in home or root directory) - Please create one." } $path = Resolve-Path $path Set-Location "$path" - "📂$path" + $subfolders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($subfolders.Count) subfolders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -80,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-root.md b/docs/cd-root.md index 21bb1d19b..174a2654c 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-root -📂C:\ +📂C:\ entered (has 0 files and 7 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the current working directory to the root directory (C:\ on Windows). .EXAMPLE PS> ./cd-root - 📂C:\ + 📂C:\ entered (has 0 files and 7 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,12 +49,14 @@ Script Content try { if ($IsLinux) { $path = "/" } else { $path = "C:\" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index 7ceba9ce5..d8a427cce 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -24,7 +24,7 @@ Script Content This PowerShell script changes the working directory to the user's screenshots folder. .EXAMPLE PS> ./cd-screenshots - 📂C:\Users\Markus\Pictures\Screenshots + 📂C:\Users\Markus\Pictures\Screenshots (has 7 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,12 +47,14 @@ function GetScreenshotsFolder { try { $path = GetScreenshotsFolder Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index 68d5a7d12..f45469d3d 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 +📂C:\Repos\PowerShell\scripts entered (has 645 scripts) ``` @@ -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 + 📂C:\Repos\PowerShell\scripts entered (has 645 scripts) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,14 +48,17 @@ Script Content try { $path = Resolve-Path "$PSScriptRoot" - if (-not(Test-Path "$path" -pathType container)) { throw "PowerShell scripts folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No PowerShell scripts folder at 📂$path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + "📂$path entered (has $($files.Count) scripts)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index 93b887915..5ef1ed7df 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-ssh.ps1 -📂C:\Users\Markus\.ssh +📂C:\Users\Markus\.ssh entered (has 4 files) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the user's secure shell (SSH) folder. .EXAMPLE PS> ./cd-ssh.ps1 - 📂C:\Users\Markus\.ssh + 📂C:\Users\Markus\.ssh entered (has 4 files) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,10 +48,13 @@ Script Content try { $path = "~/.ssh" - if (-not(Test-Path "$path" -pathType container)) { throw "Your secure shell (SSH) folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No secure shell (SSH) folder at $path" + } $path = Resolve-Path "$path" Set-Location "$path" - "📂$Path" + $files = Get-ChildItem $path -attributes !Directory + "📂$path entered (has $($files.Count) files)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -59,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index 2adb94e42..1006c9c23 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -24,7 +24,7 @@ Script Content This PowerShell script changes the working directory to the temporary folder. .EXAMPLE PS> ./cd-temp - 📂C:\Users\Markus\AppData\Local\Temp + 📂C:\Users\Markus\AppData\Local\Temp (has 2 files and 3 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -40,14 +40,18 @@ function GetTempDir { try { $path = GetTempDir - if (-not(Test-Path "$path" -pathType container)) { throw "Temporary folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { throw + "No temporary folder at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index 2a8f6d3da..cf22a4369 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-templates -📂/home/Markus/Templates +📂/home/Markus/Templates entered (has 3 files and 0 subfolders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the templates folder. .EXAMPLE PS> ./cd-templates - 📂/home/Markus/Templates + 📂/home/Markus/Templates entered (has 3 files and 0 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -52,14 +52,18 @@ try { } else { $path = [Environment]::GetFolderPath('Templates') } - if (-not(Test-Path "$path" -pathType container)) { throw "Templates folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No templates folder at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index 04a423abf..82bcc50e3 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -24,7 +24,7 @@ Script Content This PowerShell script changes the working directory to the user's trash folder. .EXAMPLE PS> ./cd-trash - 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 + 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 entered (has 4 files and 0 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -43,14 +43,18 @@ try { } else { $path = "C:\`$Recycle.Bin\$(GetCurrentUserSID)" } - if (-not(Test-Path "$path" -pathType container)) { throw "Trash folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No trash folder at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-up.md b/docs/cd-up.md index 94028b2f2..7b0d118d1 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index 6c1e96957..47051bcdf 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index 7647b780b..0d3c5702a 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index e3fe148ba..91c1f509c 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-users.md b/docs/cd-users.md index f01f549dd..3ba865d0e 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-users -📂C:\Users +📂C:\Users entered (has 0 files and 4 subfolders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the users directory. .EXAMPLE PS> ./cd-users - 📂C:\Users + 📂C:\Users entered (has 0 files and 4 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,14 +48,18 @@ Script Content try { $path = Resolve-Path "~/.." - if (-not(Test-Path "$path" -pathType container)) { throw "Users directory at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No users directory at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index 5923dac91..d719d22a9 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-videos -📂C:\Users\Markus\Videos +📂C:\Users\Markus\Videos entered (has 3 files and 0 subfolders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the user's videos folder. .EXAMPLE PS> ./cd-videos - 📂C:\Users\Markus\Videos + 📂C:\Users\Markus\Videos entered (has 3 files and 0 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -52,14 +52,18 @@ try { } else { $path = [Environment]::GetFolderPath('MyVideos') } - if (-not(Test-Path "$path" -pathType container)) { throw "Videos folder at 📂$path doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No videos folder at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index a587480e4..1ba91dc09 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-windows -📂C:\Windows +📂C:\Windows entered (has 7 files and 42 subfolders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the Windows directory. .EXAMPLE PS> ./cd-windows - 📂C:\Windows + 📂C:\Windows entered (has 7 files and 42 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,14 +48,18 @@ Script Content try { $path = Resolve-Path "$env:WINDIR" - if (-not(Test-Path "$path" -pathType container)) { throw "Windows directory at 📂$path doesn't exist" } + if (-not(Test-Path "$path" -pathType container)) { + throw "No Windows directory at $path" + } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index bf6406096..262dac274 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -69,7 +70,7 @@ try { $Path = "$(GetTempDir)/next_wallpaper.jpg" & wget -O $Path "https://source.unsplash.com/3840x2160?$Category" - if ($lastExitCode -ne "0") { throw "Download failed" } + if ($lastExitCode -ne 0) { throw "Download failed" } & "$PSScriptRoot/set-wallpaper.ps1" -ImageFile "$Path" exit 0 # success @@ -79,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/check-admin.md b/docs/check-admin.md index f0fe9ce7b..057e284fb 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/check-apps.md b/docs/check-apps.md index d87ee3c88..63a3b65fb 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/check-bios.md b/docs/check-bios.md index 8186aab6a..5b8ca68e8 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index 3289d414a..6b831856d 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index 2ee6f1cf2..b37a39dcb 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$HOME\my.credentials" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -82,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/check-day.md b/docs/check-day.md index 9e8821451..3020acaae 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/check-dns.md b/docs/check-dns.md index 5b641ad1c..6442d49af 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index 408aae77e..e6180c57f 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -minLevel @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 10000000 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -110,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/check-drives.md b/docs/check-drives.md index f80129050..e50008349 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 5368709120 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -102,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index 350fd7487..9d0174fd9 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index 49f7791f9..37429bbd0 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 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index 9f774b909..a99e32c04 100644 --- a/docs/check-file-system.md +++ b/docs/check-file-system.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* diff --git a/docs/check-file.md b/docs/check-file.md index 6ac83cb9b..9436c943a 100644 --- a/docs/check-file.md +++ b/docs/check-file.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -170,4 +171,4 @@ function Check-Header { param( $path ) Check-Header $Path ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index f25c47343..911b3013c 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index e99b026ef..01d8532c7 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -28,7 +28,7 @@ Script Content .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz | License: CC0 + Author: Markus Fleschutz, Tyler MacInnis | License: CC0 #> function Bytes2String { param([int64]$Bytes) @@ -48,15 +48,17 @@ try { # TODO } else { $Details = Get-WmiObject Win32_VideoController - $Model = $Details.Caption - $RAMSize = $Details.AdapterRAM - $ResWidth = $Details.CurrentHorizontalResolution - $ResHeight = $Details.CurrentVerticalResolution - $BitsPerPixel = $Details.CurrentBitsPerPixel - $RefreshRate = $Details.CurrentRefreshRate - $DriverVersion = $Details.DriverVersion - $Status = $Details.Status - Write-Host "✅ $Model GPU ($(Bytes2String $RAMSize) RAM, $($ResWidth)x$($ResHeight) pixels, $($BitsPerPixel)-bit, $($RefreshRate)Hz, driver $DriverVersion) - status $Status" + foreach ($GPU in $Details) { + $Model = $GPU.Caption + $RAMSize = $GPU.AdapterRAM + $ResWidth = $GPU.CurrentHorizontalResolution + $ResHeight = $GPU.CurrentVerticalResolution + $BitsPerPixel = $GPU.CurrentBitsPerPixel + $RefreshRate = $GPU.CurrentRefreshRate + $DriverVersion = $GPU.DriverVersion + $Status = $GPU.Status + Write-Host "✅ $Model GPU ($(Bytes2String $RAMSize) RAM, $($ResWidth)x$($ResHeight) pixels, $($BitsPerPixel)-bit, $($RefreshRate)Hz, driver $DriverVersion) - status $Status" + } } exit 0 # success } catch { @@ -65,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index b8504f636..53782f286 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 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-health.md b/docs/check-health.md index 8645cbc89..3ad0c4f16 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 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index 124996bf4..92c8847a1 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 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index f702b8231..3db956780 100644 --- a/docs/check-ipv4-address.md +++ b/docs/check-ipv4-address.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -84,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index 3eba11694..9ad9e8051 100644 --- a/docs/check-ipv6-address.md +++ b/docs/check-ipv6-address.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -98,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index 23c967b04..c133c7aea 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 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index 7e2f050ef..2f39a8e0d 100644 --- a/docs/check-mac-address.md +++ b/docs/check-mac-address.md @@ -16,6 +16,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -87,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index c1f09ffe0..13b057c20 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-month.md b/docs/check-month.md index 56bc2e76f..a75bd1987 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index fe302fed3..be7715b52 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 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index 99b0bb9d7..b48407e05 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-network.md b/docs/check-network.md index 09769e9dc..1a5b003b8 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 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-noon.md b/docs/check-noon.md index 6a74468bd..740d45346 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-os.md b/docs/check-os.md index 6e9bf59d0..06d7a370a 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index abfe30955..cdf701676 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-password.md b/docs/check-password.md index 820b0bc2c..896d830a4 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -14,6 +14,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -94,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index cfcf1b1e1..d052698a6 100644 --- a/docs/check-pending-reboot.md +++ b/docs/check-pending-reboot.md @@ -24,7 +24,7 @@ Script Content This PowerShell script queries pending operating system reboots and prints it. .EXAMPLE ./check-pending-reboot.ps1 - ✅ No pending reboot + ✅ No pending reboot. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -41,7 +41,7 @@ function Test-RegistryValue { param([parameter(Mandatory=$true)][ValidateNotNull } try { - $reply = "✅ No pending reboot" + [string]$reply = "✅ No pending reboot." if ($IsLinux) { if (Test-Path "/var/run/reboot-required") { $reply = "⚠️ Pending reboot (found: /var/run/reboot-required)" @@ -79,7 +79,7 @@ try { $reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'" } if ($reason -ne "") { - $reply = "⚠️ Pending reboot (registry got $($reason.substring(2)))" + $reply = "⚠️ Pending reboot (found: $($reason.substring(2)) in registry)" } } Write-Host $reply @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index b960b85ba..76cfc7896 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-power.md b/docs/check-power.md index 17b0c5154..35188c8ac 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -60,10 +60,10 @@ try { if ($details.PowerLineStatus -eq "Online") { if ($details.BatteryChargeStatus -eq "NoSystemBattery") { $reply = "✅ AC powered" - } elseif ($percent -ge 95) { - $reply = "✅ Battery full ($percent%, power scheme is '$powerScheme')" + } elseif ($percent -ge 90) { + $reply = "✅ Battery $percent% full (power scheme is '$powerScheme')" } else { - $reply = "✅ Battery charging ($percent%, power scheme is '$powerScheme')" + $reply = "✅ Battery $percent% and charging (power scheme is '$powerScheme')" } } else { # must be offline if (($remaining -eq 0) -and ($percent -ge 60)) { @@ -77,7 +77,7 @@ try { } elseif ($percent -lt 10) { $reply = "⚠️ Battery $percent% only with $($remaining)min remaining (power scheme is '$powerScheme') " } elseif ($percent -ge 90) { - $reply = "✅ Battery full ($percent%, $($remaining)min remaining, power scheme is '$powerScheme')" + $reply = "✅ Battery $percent% full ($($remaining)min remaining, power scheme is '$powerScheme')" } else { $reply = "✅ Battery $percent% with $($remaining)min remaining (power scheme is '$powerScheme') " } @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index 2dc260084..79b53176e 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 1dce4622b..3e5a70b1d 100644 --- a/docs/check-ps1-file.md +++ b/docs/check-ps1-file.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -76,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-ram.md b/docs/check-ram.md index 6606b2b1e..b11126236 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-repo.md b/docs/check-repo.md index 4e0f8eadd..1b219198b 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -78,7 +79,7 @@ try { Write-Host "⏳ (1/10) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2/10) Checking local repository... " -noNewline $FullPath = Resolve-Path "$pathToRepo" @@ -87,15 +88,15 @@ try { Write-Host "⏳ (3/10) Querying remote URL... " -noNewline & git -C "$FullPath" remote get-url origin - if ($lastExitCode -ne "0") { throw "'git remote get-url origin' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git remote get-url origin' failed with exit code $lastExitCode" } Write-Host "⏳ (4/10) Querying current branch... " -noNewline & git -C "$FullPath" branch --show-current - if ($lastExitCode -ne "0") { throw "'git branch --show-current' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git branch --show-current' failed with exit code $lastExitCode" } Write-Host "⏳ (5/10) Fetching remote updates... " -noNewline & git -C "$FullPath" fetch --all --recurse-submodules --tags --force --quiet - if ($lastExitCode -ne "0") { throw "'git fetch' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed with exit code $lastExitCode" } Write-Host "OK" Write-Host "⏳ (6/10) Querying latest tag... " -noNewline @@ -105,19 +106,19 @@ try { Write-Host "⏳ (7/10) Verifying data integrity..." & git -C "$FullPath" fsck - if ($lastExitCode -ne "0") { throw "'git fsck' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fsck' failed with exit code $lastExitCode" } Write-Host "⏳ (8/10) Running maintenance tasks..." & git -C "$FullPath" maintenance run - if ($lastExitCode -ne "0") { throw "'git maintenance run' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git maintenance run' failed with exit code $lastExitCode" } Write-Host "⏳ (9/10) Checking submodule status..." & git -C "$FullPath" submodule status - if ($lastExitCode -ne "0") { throw "'git submodule status' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git submodule status' failed with exit code $lastExitCode" } Write-Host "⏳ (10/10) Checking repo status... " -noNewline & git -C "$FullPath" status - if ($lastExitCode -ne "0") { throw "'git status --short' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git status --short' failed with exit code $lastExitCode" } $repoDirName = (Get-Item "$FullPath").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds @@ -129,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-repos.md b/docs/check-repos.md index de1cdcd91..a5e68efc0 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -91,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-santa.md b/docs/check-santa.md index 40c0b73b0..ac84e919a 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index 586ba7251..377af7213 100644 --- a/docs/check-smart-devices.md +++ b/docs/check-smart-devices.md @@ -49,7 +49,7 @@ function Bytes2String([int64]$bytes) { try { $result = (smartctl --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'smartctl' - make sure smartmontools are installed" } + if ($lastExitCode -ne 0) { throw "Can't execute 'smartctl' - make sure smartmontools are installed" } if ($IsLinux) { $devices = $(sudo smartctl --scan-open) @@ -120,4 +120,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-software.md b/docs/check-software.md index f49e1d625..dc3585251 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index e492fd576..9fe0c4eda 100644 --- a/docs/check-subnet-mask.md +++ b/docs/check-subnet-mask.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -84,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index 42b2e71e7..cf65afe10 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 10 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -89,16 +90,16 @@ try { [int64]$free = ($total - $used) } if ($total -eq 0) { - Write-Output "⚠️ No swap space configured" + Write-Output "⚠️ No swap space configured." } elseif ($free -eq 0) { - Write-Output "⚠️ Swap space with $(MB2String $total) is FULL !!!" + Write-Output "⚠️ Swap space of $(MB2String $total) is FULL!" } elseif ($free -lt $minLevel) { Write-Output "⚠️ Swap space has only $(MB2String $free) of $(MB2String $total) left!" } elseif ($used -lt 3) { - Write-Output "✅ Swap space has $(MB2String $total) reserved" + Write-Output "✅ Swap space has $(MB2String $total) reserved." } else { [int64]$percent = ($used * 100) / $total - Write-Output "✅ Swap space uses $(MB2String $used) ($percent%) of $(MB2String $total)" + Write-Output "✅ Swap space at $(MB2String $used) ($percent%) of $(MB2String $total)." } exit 0 # success } catch { @@ -107,4 +108,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index eafaa0602..1439d8646 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -1,8 +1,7 @@ The *check-symlinks.ps1* Script =========================== -This PowerShell script checks every symbolic link in a folder (including subfolders). -It returns the number of broken symlinks as exit value. +This PowerShell script checks all symbolic links in a directory tree. It returns the number of broken symlinks as exit value. Parameters ---------- @@ -16,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -26,9 +26,9 @@ Parameters Example ------- ```powershell -PS> ./check-symlinks C:\Users -⏳ Checking symlinks at 📂C:\Users including subfolders... -✅ Found 0 broken symlinks at 📂C:\Users in 60 sec +PS> ./check-symlinks D:\ +⏳ Please wait while checking symlinks at: 📂D:\ ... +✅ Found 0 broken symlinks at 📂D:\ in 60s. ``` @@ -45,16 +45,15 @@ Script Content ```powershell <# .SYNOPSIS - Checks symlinks in a folder + Checks all symlinks in a folder .DESCRIPTION - This PowerShell script checks every symbolic link in a folder (including subfolders). - It returns the number of broken symlinks as exit value. + This PowerShell script checks all symbolic links in a directory tree. It returns the number of broken symlinks as exit value. .PARAMETER folder Specifies the path to the folder .EXAMPLE - PS> ./check-symlinks C:\Users - ⏳ Checking symlinks at 📂C:\Users including subfolders... - ✅ Found 0 broken symlinks at 📂C:\Users in 60 sec + PS> ./check-symlinks D:\ + ⏳ Please wait while checking symlinks at: 📂D:\ ... + ✅ Found 0 broken symlinks at 📂D:\ in 60s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -64,40 +63,40 @@ Script Content param([string]$Folder = "") try { - if ($Folder -eq "" ) { $Folder = read-host "Enter the path to the folder" } + if ($Folder -eq "" ) { $Folder = Read-Host "Enter the path to the folder" } - $StopWatch = [system.diagnostics.stopwatch]::startNew() - $FullPath = Resolve-Path "$Folder" - "⏳ Checking symlinks at 📂$FullPath including subfolders..." + $stopWatch = [system.diagnostics.stopwatch]::startNew() + $fullPath = Resolve-Path "$Folder" + "⏳ Please wait while checking symlinks at 📂$fullPath ..." - [int]$NumTotal = [int]$NumBroken = 0 - Get-ChildItem $FullPath -recurse | Where { $_.Attributes -match "ReparsePoint" } | ForEach-Object { + [int]$numTotal = [int]$numBroken = 0 + Get-ChildItem $fullPath -recurse | Where { $_.Attributes -match "ReparsePoint" } | ForEach-Object { $Symlink = $_.FullName $Target = ($_ | Select-Object -ExpandProperty Target -ErrorAction Ignore) if ($Target) { $path = $_.FullName + "\..\" + ($_ | Select-Object -ExpandProperty Target) $item = Get-Item $path -ErrorAction Ignore if (!$item) { - $NumBroken++ - "Symlink $Symlink to: $Target seems broken (#$NumBroken)" + $numBroken++ + "Broken symlink #$($numBroken) at $Symlink linking to: $Target" } } - $NumTotal++ + $numTotal++ } - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - if ($NumTotal -eq 0) { - "✅ No symlink found at 📂$FullPath in $Elapsed sec" - } elseif ($NumBroken -eq 1) { - "✅ Found $NumBroken broken symlink at 📂$FullPath in $Elapsed sec" + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + if ($numTotal -eq 0) { + "✅ No symlink found at 📂$fullPath in $($elapsed)s." + } elseif ($numBroken -eq 1) { + "✅ Found $numBroken broken symlink at 📂$fullPath in $($elapsed)s ($numTotal symlinks in total)." } else { - "✅ Found $NumBroken broken symlinks at 📂$FullPath in $Elapsed sec" + "✅ Found $numBroken broken symlinks at 📂$fullPath in $($elapsed)s ($numTotal symlinks in total)." } - exit $NumBroken + exit $numBroken } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index 1685e9a65..a25ca4bb5 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index fa47f3cd0..fd6e68f59 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index 0e5ba52cb..fe9abcdde 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-weather.md b/docs/check-weather.md index eeeb6580f..613775882 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -81,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-week.md b/docs/check-week.md index 7f634af93..3e4d33e68 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-wind.md b/docs/check-wind.md index cc3bf9eaf..e9bda17c1 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -72,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index a27b3a3b8..78d6e3b5f 100644 --- a/docs/check-windows-system-files.md +++ b/docs/check-windows-system-files.md @@ -50,7 +50,7 @@ Script Content try { sfc /verifyOnly - if ($lastExitCode -ne "0") { throw "'sfc /verifyOnly' failed" } + if ($lastExitCode -ne 0) { throw "'sfc /verifyOnly' failed" } "✅ checked Windows system files" exit 0 # success @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index d16e05934..5e50692ba 100644 --- a/docs/check-xml-file.md +++ b/docs/check-xml-file.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -26,7 +27,7 @@ Example ------- ```powershell PS> ./check-xml-file.ps1 myfile.xml -✅ Valid XML in 📄myfile.xml +✅ myfile.xml is valid XML ``` @@ -50,7 +51,7 @@ Script Content Specifies the path to the XML file .EXAMPLE PS> ./check-xml-file.ps1 myfile.xml - ✅ Valid XML in 📄myfile.xml + ✅ myfile.xml is valid XML .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -77,7 +78,7 @@ try { if ($script:ErrorCount -gt 0) { throw "Invalid XML" } - "✅ Valid XML in 📄$path" + "✅ $path is valid XML" exit 0 # success } catch { "⚠️ $($Error[0]) in 📄$path" @@ -85,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index 1eaac784b..c74d90e54 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -83,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index 5fbfe2e39..c8ab57e78 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -16,6 +16,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -27,11 +28,11 @@ Example ------- ```powershell PS> ./clean-repo.ps1 C:\Repos\rust -⏳ (1/4) Searching for Git executable... git version 2.45.0 +⏳ (1/4) Searching for Git executable... git version 2.47.0 ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Removing untracked files in repository... ⏳ (4/4) Removing untracked files in submodules... -✅ Cleaned up repo 📂rust in 2s. +✅ Repo 📂rust is clean now. ``` @@ -56,11 +57,11 @@ Script Content Specifies the file path to the local Git repository (current working directory by default) .EXAMPLE PS> ./clean-repo.ps1 C:\Repos\rust - ⏳ (1/4) Searching for Git executable... git version 2.45.0 + ⏳ (1/4) Searching for Git executable... git version 2.47.0 ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Removing untracked files in repository... ⏳ (4/4) Removing untracked files in submodules... - ✅ Cleaned up repo 📂rust in 2s. + ✅ Repo 📂rust is clean now. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -70,11 +71,9 @@ Script Content param([string]$path = "$PWD") try { - $stopWatch = [system.diagnostics.stopwatch]::startNew() - Write-Host "⏳ (1/4) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } "⏳ (2/4) Checking local repository... $path" if (-not(Test-Path "$path" -pathType container)) { throw "Can't access repo folder '$path' - maybe a typo or missing folder permissions?" } @@ -82,18 +81,17 @@ try { "⏳ (3/4) Removing untracked files in repository..." & git -C "$path" clean -xfd -f # to delete all untracked files in the main repo - if ($lastExitCode -ne "0") { + if ($lastExitCode -ne 0) { Write-Warning "'git clean' failed with exit code $lastExitCode, retrying once..." & git -C "$path" clean -xfd -f - if ($lastExitCode -ne "0") { throw "'git clean' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git clean' failed with exit code $lastExitCode" } } "⏳ (4/4) Removing untracked files in submodules..." & git -C "$path" submodule foreach --recursive git clean -xfd -f # to delete all untracked files in the submodules - if ($lastExitCode -ne "0") { throw "'git clean' in the submodules failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git clean' in the submodules failed with exit code $lastExitCode" } - [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Cleaned up repo 📂$repoName in $($elapsed)s." + "✅ Repo 📂$repoName is clean now." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -101,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index e1b78ae31..571b6e0cc 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -26,7 +27,7 @@ Example ------- ```powershell PS> ./clean-repos.ps1 C:\MyRepos -⏳ (1) Searching for Git executable... git version 2.40.1 +⏳ (1) Searching for Git executable... git version 2.47.1 ⏳ (2) Checking parent folder 📂Repos... 28 subfolders found ⏳ (3/30) Cleaning 📂base256unicode... ... @@ -53,7 +54,7 @@ Script Content Specifies the path to the parent folder (current working dir by default) .EXAMPLE PS> ./clean-repos.ps1 C:\MyRepos - ⏳ (1) Searching for Git executable... git version 2.40.1 + ⏳ (1) Searching for Git executable... git version 2.47.1 ⏳ (2) Checking parent folder 📂Repos... 28 subfolders found ⏳ (3/30) Cleaning 📂base256unicode... ... @@ -70,7 +71,7 @@ try { Write-Host "⏳ (1) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } $parentDirName = (Get-Item "$ParentDir").Name Write-Host "⏳ (2) Checking parent folder 📂$parentDirName... " -noNewline @@ -86,13 +87,13 @@ try { "⏳ ($Step/$($numFolders + 2)) Cleaning 📂$FolderName..." & git -C "$folder" clean -xfd -f # force + recurse into dirs + don't use the standard ignore rules - if ($lastExitCode -ne "0") { throw "'git clean -xfd -f' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git clean -xfd -f' failed with exit code $lastExitCode" } & git -C "$folder" submodule foreach --recursive git clean -xfd -f - if ($lastExitCode -ne "0") { throw "'git clean -xfd -f' in submodules failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git clean -xfd -f' in submodules failed with exit code $lastExitCode" } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Cleaned $numFolders Git repos under 📂$parentDirName in $elapsed sec" + "✅ Cleaned $numFolders Git repositories under 📂$parentDirName in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -100,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index 5f7575bb3..14fe9b3fc 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index 9366dc6f7..b86e3051d 100644 --- a/docs/clear-recycle-bin.md +++ b/docs/clear-recycle-bin.md @@ -48,7 +48,7 @@ Script Content try { Clear-RecycleBin -Confirm:$false - if ($lastExitCode -ne "0") { throw "'Clear-RecycleBin' failed" } + if ($lastExitCode -ne 0) { throw "'Clear-RecycleBin' failed" } & "$PSScriptRoot/speak-english.ps1" "It's clean now." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index 03b76f63e..601a70374 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -29,7 +30,7 @@ PS> ./clone-repos C:\MyRepos ⏳ (1) Searching for Git executable... git version 2.46.0.windows.1 ⏳ (2) Reading data/popular-repos.csv... 29 repos ⏳ (3) Checking target folder... 📂Repos -⏳ (4/32) Cloning 📂base256 (dev tool) from git@github.com:fleschutz/talk2windows.git (shallow main branch)... +⏳ (4/32) Cloning 📂base256 (dev tool) from git@github.com:fleschutz/talk2windows.git (main branch only)... ... ``` @@ -57,7 +58,7 @@ Script Content ⏳ (1) Searching for Git executable... git version 2.46.0.windows.1 ⏳ (2) Reading data/popular-repos.csv... 29 repos ⏳ (3) Checking target folder... 📂Repos - ⏳ (4/32) Cloning 📂base256 (dev tool) from git@github.com:fleschutz/talk2windows.git (shallow main branch)... + ⏳ (4/32) Cloning 📂base256 (dev tool) from git@github.com:fleschutz/talk2windows.git (main branch only)... ... .LINK https://github.com/fleschutz/PowerShell @@ -72,7 +73,7 @@ try { Write-Host "⏳ (1) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2) Reading data/popular-repos.csv... " -noNewline $table = Import-CSV "$PSScriptRoot/../data/popular-repos.csv" @@ -98,14 +99,14 @@ try { "⏳ ($step/$($total + 3)) Skipping 📂$folderName ($category): exists already" $skipped++ } elseif ($shallow -eq "yes") { - "⏳ ($step/$($total + 3)) Cloning 📂$folderName ($category) from $URL (shallow $branch branch)..." + "⏳ ($step/$($total + 3)) Cloning 📂$folderName ($category) from $URL ($branch branch only)..." & git clone --branch "$branch" --single-branch --recurse-submodules "$URL" "$targetDir/$folderName" - if ($lastExitCode -ne "0") { throw "'git clone --branch $branch $URL' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git clone --branch $branch $URL' failed with exit code $lastExitCode" } $cloned++ } else { "⏳ ($step/$($total + 3)) Cloning 📂$folderName ($category) from $URL (full $branch branch)..." & git clone --branch "$branch" --recurse-submodules "$URL" "$targetDir/$folderName" - if ($lastExitCode -ne "0") { throw "'git clone --branch $branch $URL' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git clone --branch $branch $URL' failed with exit code $lastExitCode" } $clone++ } } @@ -118,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index 19a4ca644..f456d7b89 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -74,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index 9a0add9ed..991694e35 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index f874f8701..aaa2d6c28 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index db598feb7..46f2c8773 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-edge.md b/docs/close-edge.md index 45c6fa1b8..6e2bb578c 100644 --- a/docs/close-edge.md +++ b/docs/close-edge.md @@ -45,11 +45,11 @@ Script Content #> TaskKill /im msedge.exe /f /t -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Microsoft Edge isn't running." exit 1 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index 192894a61..e1c29f354 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index b3f09ccfc..d27fedb49 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index 7d4ea1d39..7ed6a4657 100644 --- a/docs/close-git-extensions.md +++ b/docs/close-git-extensions.md @@ -45,11 +45,11 @@ Script Content #> TaskKill /im GitExtensions.exe -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Git Extensions isn't running." exit 1 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index 98fe84cb0..dab958d14 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 92b914201..a1df8e9de 100644 --- a/docs/close-microsoft-paint.md +++ b/docs/close-microsoft-paint.md @@ -45,11 +45,11 @@ Script Content #> TaskKill /im mspaint.exe -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Microsoft Paint isn't running." exit 1 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index 98ae2a54e..11da6e86a 100644 --- a/docs/close-microsoft-store.md +++ b/docs/close-microsoft-store.md @@ -45,11 +45,11 @@ Script Content #> TaskKill /im WinStore.App.exe /f /t -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Microsoft Store isn't running." exit 1 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index 16b2c55b5..657284abf 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index 77b403c9f..1ef2a68fd 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index 3030deb6f..f71d7ad0a 100644 --- a/docs/close-obs-studio.md +++ b/docs/close-obs-studio.md @@ -45,11 +45,11 @@ Script Content #> TaskKill /im obs64.exe -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, OBS Studio isn't running" exit 1 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index ac440ce69..f03e2d2d2 100644 --- a/docs/close-one-calendar.md +++ b/docs/close-one-calendar.md @@ -45,11 +45,11 @@ Script Content #> TaskKill /f /im CalendarApp.Gui.Win10.exe -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, OneCalendar isn't running." exit 1 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index 0c9616cee..78395c628 100644 --- a/docs/close-outlook.md +++ b/docs/close-outlook.md @@ -45,11 +45,11 @@ Script Content #> TaskKill /im outlook.exe -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Microsoft Outlook isn't running." exit 1 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index d1e3942d8..c1ef8e800 100644 --- a/docs/close-paint-three-d.md +++ b/docs/close-paint-three-d.md @@ -45,11 +45,11 @@ Script Content #> TaskKill /im PaintStudio.View.exe /f -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Paint 3D isn't running." exit 1 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-program.md b/docs/close-program.md index df6dcbd5f..99c7df1ad 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -programName @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -programAliasName @@ -33,6 +35,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -118,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index 9496f748e..2646b5201 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index 9f88a58d9..17c23e551 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index ae81d53a0..f5cacdc1e 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 6345d28ba..6babf1b84 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index 3bd0a186f..dd5c0c01a 100644 --- a/docs/close-three-d-viewer.md +++ b/docs/close-three-d-viewer.md @@ -45,11 +45,11 @@ Script Content #> TaskKill /im 3DViewer.exe /f -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, 3D Viewer isn't running." exit 1 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index 1785c6f63..41fa25a23 100644 --- a/docs/close-thunderbird.md +++ b/docs/close-thunderbird.md @@ -45,11 +45,11 @@ Script Content #> TaskKill /im thunderbird.exe -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Mozilla Thunderbird isn't running." exit 1 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index 21cfd4546..34a593d95 100644 --- a/docs/close-visual-studio.md +++ b/docs/close-visual-studio.md @@ -45,11 +45,11 @@ Script Content #> TaskKill /im devenv.exe -if ($lastExitCode -ne "0") { +if ($lastExitCode -ne 0) { & "$PSScriptRoot/speak-english.ps1" "Sorry, Visual Studio isn't running." exit 1 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index 651e17d86..a12f6055f 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index d70577beb..a08ef1e33 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/configure-git.md b/docs/configure-git.md index cf731f67e..a380a1287 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -emailAddress @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -favoriteEditor @@ -33,6 +35,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -95,7 +98,7 @@ param([string]$fullName = "", [string]$emailAddress = "", [string]$favoriteEdito try { Write-Host "⏳ (1/5) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } "⏳ (2/5) Asking for user details..." if ($fullName -eq "") { $fullName = Read-Host "Enter your full name" } @@ -111,13 +114,13 @@ try { & git config --global merge.renamelimit 99999 # raise the rename limit & git config --global pull.rebase false & git config --global fetch.parallel 0 # enable parallel fetching to improve the speed - if ($lastExitCode -ne "0") { throw "'git config' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git config' failed with exit code $lastExitCode" } "⏳ (4/5) Saving user settings (name,email,editor)..." & git config --global user.name $fullName & git config --global user.email $emailAddress & git config --global core.editor $favoriteEditor - if ($lastExitCode -ne "0") { throw "'git config' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git config' failed with exit code $lastExitCode" } "⏳ (5/5) Saving user shortcuts ('git br', 'git ls', 'git st', etc.)..." & git config --global alias.br "branch" @@ -130,7 +133,7 @@ try { & git config --global alias.ps "push" & git config --global alias.smu "submodule update --init" & git config --global alias.st "status" - if ($lastExitCode -ne "0") { throw "'git config' failed" } + if ($lastExitCode -ne 0) { throw "'git config' failed" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Saved your Git configuration to ~/.gitconfig in $($elapsed)s." @@ -141,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index 79e26a333..9f430b721 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -51,7 +51,7 @@ try { if ($Connection.ConnectionStatus -ne "Disconnected") { continue } "Connecting to VPN $($Connection.Name)..." & rasdial.exe "$($Connection.Name)" - if ($lastExitCode -ne "0") { throw "Cannot establish connection" } + if ($lastExitCode -ne 0) { throw "Cannot establish connection" } "Connected now." exit 0 # success } @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index d64470c55..614282426 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -72,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/convert-dir27z.md b/docs/convert-dir27z.md new file mode 100644 index 000000000..b762a3652 --- /dev/null +++ b/docs/convert-dir27z.md @@ -0,0 +1,96 @@ +The *convert-dir27z.ps1* Script +=========================== + +This PowerShell script compresses the given directory (including subfolders) into a compressed .7z file. +It also preserves symbolic links and requires that 7-zip is installed. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/convert-dir27z.ps1 [[-dirPath] ] [[-targetFile] ] [] + +-dirPath + Specifies the path to the directory (to be entered by default) + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +-targetFile + Specifies the path to the target file (.7z by default) + + 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> ./convert-dir27z.ps1 C:\Windows Win.7z +✅ Converted 📂C:\Windows into Win.7z in 291s. + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Converts a directory into a .7z file +.DESCRIPTION + This PowerShell script compresses the given directory (including subfolders) into a compressed .7z file. + It also preserves symbolic links and requires that 7-zip is installed. +.PARAMETER dirPath + Specifies the path to the directory (to be entered by default) +.PARAMETER targetFile + Specifies the path to the target file (.7z by default) +.EXAMPLE + PS> ./convert-dir27z.ps1 C:\Windows Win.7z + ✅ Converted 📂C:\Windows into Win.7z in 291s. +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$dirPath = "", [string]$targetFile = "") + +try { + if (-not(Test-Path "C:\Program Files\7-Zip\7z.exe" -pathType leaf)) { throw "Please install 7-Zip" } + if ($dirPath -eq "" ) { $dirPath = Read-Host "Enter the path to the folder" } + + $stopWatch = [system.diagnostics.stopwatch]::startNew() + $dirPath = Resolve-Path $dirPath + if ($targetFile -eq "" ) { $targetFile = "$dirPath.7z" } + + & "C:\Program Files\7-Zip\7z.exe" a -y -snl -t7z $targetFile $dirPath + + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Converted 📂$dirPath into $targetFile in $($elapsed)s." + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index 10b3ac493..d2446d76a 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -zipPath @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -88,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index 6d3e93aa2..8499b050e 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -64,7 +65,7 @@ try { Write-Host "⏳ Searching for pandoc..." $null = (pandoc --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'pandoc' - make sure it's installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'pandoc' - make sure it's installed and available" } Write-Host "⏳ Converting..." gci -r -i $FilePattern | foreach { @@ -81,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index 63d91ac1e..01a3a7bf2 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -43,7 +43,7 @@ try { "⏳ (1/3) Searching for ffmpeg..." & ffmpeg -L - if ($lastExitCode -ne "0") { throw "Can't execute 'ffmpeg' - make sure ffmpeg is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'ffmpeg' - make sure ffmpeg is installed and available" } "⏳ (2/3) Checking file pattern of the image frames..." $Files = (Get-ChildItem -path "$SourcePattern" -attributes !Directory) @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/convert-history2ps1.md b/docs/convert-history2ps1.md new file mode 100644 index 000000000..bf73de5d0 --- /dev/null +++ b/docs/convert-history2ps1.md @@ -0,0 +1,83 @@ +The *convert-history2ps1.ps1* Script +=========================== + +This PowerShell script converts your command history into a PowerShell script. +It saves all your commands into a script for automation (executed by e.g Jenkins or AutoHotkey). + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/convert-history2ps1.ps1 [[-path] ] [] + +-path + Specifies the file path of the new script ('script-from-history.ps1' by default) + + Required? false + Position? 1 + Default value script-from-history.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> ./convert-history2ps1.ps1 +✅ Converted your command history into the PowerShell script: script-from-history.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Converts history to PowerShell script +.DESCRIPTION + This PowerShell script converts your command history into a PowerShell script. + It saves all your commands into a script for automation (executed by e.g Jenkins or AutoHotkey). +.PARAMETER path + Specifies the file path of the new script ('script-from-history.ps1' by default) +.EXAMPLE + PS> ./convert-history2ps1.ps1 + ✅ Converted your command history into the PowerShell script: script-from-history.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$path = "script-from-history.ps1") + +try { + $history = Get-History + + foreach ($item in $history) { + Write-Output "`"⏳ Step #$($item.Id): Executing $($item.CommandLine) ...`"" >> $path + Write-Output "& $($item.CommandLine)" >> $path + Write-Output "" >> $path + } + Write-Output "`"✅ PowerShell script finished (source: command history of $($env:USERNAME) on $($env:COMPUTERNAME)).`"" >> $path + Write-Output "exit 0 # success" >> $path + "✅ Converted your command history into PowerShell script: $path" + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index 932a721ed..ce17b0245 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index a251c79ef..0aa746a4d 100644 --- a/docs/convert-image2blurred-frames.md +++ b/docs/convert-image2blurred-frames.md @@ -48,7 +48,7 @@ try { "⏳ (2/$Frames) Searching for ImageMagick 6..." & convert-im6 --version - if ($lastExitCode -ne "0") { throw "Can't execute 'convert-im6' - make sure ImageMagick 6 is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'convert-im6' - make sure ImageMagick 6 is installed and available" } [int]$centerX = $ImageWidth / 2 [int]$centerY = $ImageHeight / 2 @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index e55618187..c4500ecc0 100644 --- a/docs/convert-image2pixelated-frames.md +++ b/docs/convert-image2pixelated-frames.md @@ -48,7 +48,7 @@ try { "⏳ (2/$Frames) Searching for ImageMagick 6 executable..." & convert-im6 --version - if ($lastExitCode -ne "0") { throw "Can't execute 'convert-im6' - make sure ImageMagick 6 is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'convert-im6' - make sure ImageMagick 6 is installed and available" } $Factor = 0.001 for ($i = 0; $i -lt $Frames; $i++) { @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/convert-images2webp.md b/docs/convert-images2webp.md index 7d4e6a203..a1ad412c1 100644 --- a/docs/convert-images2webp.md +++ b/docs/convert-images2webp.md @@ -1,39 +1,290 @@ -# convert-images.ps1 +The *convert-images2webp.ps1* Script +=========================== -This PowerShell script converts images in a directory or a single image file to WebP format in parallel. +This script takes an input directory containing images (jpg, jpeg, png, gif, bmp, tiff) or a single image file, +and converts them to the WebP format using ImageMagick's 'magick' command. +The conversion process runs in parallel to speed up processing large numbers of files. +The level of parallelism can be controlled. -## Parameters +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/convert-images2webp.ps1 [-InputPath] [-OutputDir] [[-Quality] ] [[-Lossless] ] [[-MaxParallel] ] [] + +-InputPath + The path to the input directory containing images or a single image file. + + Required? true + Position? 1 + Default value + Accept pipeline input? false + Aliases + Accept wildcard characters? false -| Parameter | Description | -| --- | --- | -| `-InputPath` | The path to the input directory containing images or a single image file. | -| `-OutputDir` | The path to the directory where the converted WebP files will be saved. It will be created if it doesn't exist. | -| `-Quality` | The quality setting for the WebP conversion (0-100). Lower values mean smaller files but potentially lower quality. Defaults to 50. | -| `-Lossless` | Specifies whether to use lossless WebP compression ($true) or lossy compression ($false). Defaults to $true. | -| `-MaxParallel` | The maximum number of image conversions to run concurrently. Defaults to 10. | +-OutputDir + The path to the directory where the converted WebP files will be saved. It will be created if it doesn't exist. + + Required? true + Position? 2 + Default value + Accept pipeline input? false + Aliases + Accept wildcard characters? false -## Description +-Quality + The quality setting for the WebP conversion (0-100). Lower values mean smaller files but potentially lower quality. Defaults to 50. + + Required? false + Position? 3 + Default value 50 + Accept pipeline input? false + Aliases + Accept wildcard characters? false -The script takes advantage of PowerShell's parallel processing capabilities to efficiently convert multiple image files. It supports various input formats including: -- jpg/jpeg -- png -- gif -- bmp -- tiff +-Lossless + Specifies whether to use lossless WebP compression ($true) or lossy compression ($false). Defaults to $true. + + Required? false + Position? 4 + Default value True + Accept pipeline input? false + Aliases + Accept wildcard characters? false -The converted files are saved in WebP format, which often provides superior compression while maintaining quality. +-MaxParallel + The maximum number of image conversions to run concurrently. Defaults to 10. + + Required? false + Position? 5 + Default value 10 + 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. +``` -## Examples +Example +------- +```powershell +PS > .\convert_parallel.ps1 -InputPath .\covers -OutputDir .\covers-webp -Quality 50 -Lossless $true -MaxParallel 10 +Converts all supported images in the '.\covers' directory to WebP in '.\covers-webp' using quality 50, lossless compression, running up to 10 conversions simultaneously. + +``` +Example +------- ```powershell -# Convert all images in a directory -./convert-images.ps1 -InputPath .\covers -OutputDir .\covers-webp -Quality 50 -Lossless $true -MaxParallel 10 +PS > .\convert_parallel.ps1 -InputPath .\my_image.png -OutputDir .\output -Quality 80 -Lossless $false +Converts the single file '.\my_image.png' to WebP in '.\output' using quality 80 and lossy compression. Parallelism doesn't apply to single files. -# Convert a single image -./convert-images.ps1 -InputPath .\my_image.png -OutputDir .\output -Quality 80 -Lossless $false ``` -## Requirements +Notes +----- +Requires PowerShell 7.0 or higher for ForEach-Object -Parallel. +Requires ImageMagick to be installed and accessible via the 'magick' command in your PATH. +Progress reporting for parallel operations is limited; output messages might appear interleaved. + +Script Content +-------------- +```powershell +#Requires -Version 7.0 + +<# +.SYNOPSIS +Converts images in a directory or a single image file to WebP format in parallel. + +.DESCRIPTION +This script takes an input directory containing images (jpg, jpeg, png, gif, bmp, tiff) or a single image file, +and converts them to the WebP format using ImageMagick's 'magick' command. +The conversion process runs in parallel to speed up processing large numbers of files. +The level of parallelism can be controlled. + +.PARAMETER InputPath +The path to the input directory containing images or a single image file. + +.PARAMETER OutputDir +The path to the directory where the converted WebP files will be saved. It will be created if it doesn't exist. + +.PARAMETER Quality +The quality setting for the WebP conversion (0-100). Lower values mean smaller files but potentially lower quality. Defaults to 50. + +.PARAMETER Lossless +Specifies whether to use lossless WebP compression ($true) or lossy compression ($false). Defaults to $true. + +.PARAMETER MaxParallel +The maximum number of image conversions to run concurrently. Defaults to 10. + +.EXAMPLE +.\convert_parallel.ps1 -InputPath .\covers -OutputDir .\covers-webp -Quality 50 -Lossless $true -MaxParallel 10 +Converts all supported images in the '.\covers' directory to WebP in '.\covers-webp' using quality 50, lossless compression, running up to 10 conversions simultaneously. + +.EXAMPLE +.\convert_parallel.ps1 -InputPath .\my_image.png -OutputDir .\output -Quality 80 -Lossless $false +Converts the single file '.\my_image.png' to WebP in '.\output' using quality 80 and lossy compression. Parallelism doesn't apply to single files. + +.NOTES +Requires PowerShell 7.0 or higher for ForEach-Object -Parallel. +Requires ImageMagick to be installed and accessible via the 'magick' command in your PATH. +Progress reporting for parallel operations is limited; output messages might appear interleaved. +#> +param ( + [Parameter(Mandatory=$true)] + [string]$InputPath, + + [Parameter(Mandatory=$true)] + [string]$OutputDir, + + [ValidateRange(0,100)] + [int]$Quality = 50, + + [bool]$Lossless = $true, + + [ValidateRange(1, [int]::MaxValue)] # Ensure at least 1 parallel task + [int]$MaxParallel = 10 +) + +# --- Input Validation and Setup --- + +# Check if input exists +if (-not (Test-Path $InputPath)) { + Write-Error "Input path does not exist: $InputPath" + exit 1 +} + +# Create output directory if it doesn't exist +if (-not (Test-Path $OutputDir -PathType Container)) { + Write-Host "Creating output directory: $OutputDir" + try { + New-Item -ItemType Directory -Path $OutputDir -ErrorAction Stop | Out-Null + } catch { + Write-Error "Failed to create output directory '$OutputDir': $_" + exit 1 + } +} + +# Check if ImageMagick is installed and accessible +if (-not (Get-Command magick -ErrorAction SilentlyContinue)) { + Write-Error "ImageMagick is not installed or not in your PATH. Please install it from https://imagemagick.org/." + exit 1 +} + +# Check if input is a file or directory +$InputItem = Get-Item $InputPath +$isFileInput = $InputItem -is [System.IO.FileInfo] + +# Convert lossless parameter to string for command +$losslessValue = $Lossless.ToString().ToLower() + +Write-Host "Starting conversion..." +Write-Host "Input: $InputPath" +Write-Host "Output: $OutputDir" +Write-Host "Quality: $Quality" +Write-Host "Lossless: $Lossless" +if (!$isFileInput) { + Write-Host "Max Parallelism: $MaxParallel" +} +Write-Host "-------------------------------------" + +# --- Conversion Functions --- + +# Function to convert a single file (used for non-parallel case) +function Convert-SingleFile { + param ( + [string]$FilePath, + [string]$OutDir, + [int]$ConvQuality, + [string]$ConvLosslessValue + ) + + $fileName = [System.IO.Path]::GetFileName($FilePath) + $fileNameWithoutExt = [System.IO.Path]::GetFileNameWithoutExtension($FilePath) + $outputFilePath = Join-Path $OutDir "$fileNameWithoutExt.webp" + + Write-Host "Converting '$fileName' to WebP..." + try { + # Use Start-Process to capture stderr better if needed, or stick with '&' for simplicity + & magick $FilePath -quality $ConvQuality -define webp:lossless=$ConvLosslessValue $outputFilePath + Write-Host "Successfully converted '$fileName' to '$outputFilePath'" -ForegroundColor Green + } + catch { + Write-Error "Failed to convert '$fileName': $_" + # Consider adding specific error details from stderr if using Start-Process + } +} + +# --- Main Conversion Logic --- + +$startTime = Get-Date + +if ($isFileInput) { + # Process single file directly + Convert-SingleFile -FilePath $InputPath -OutDir $OutputDir -ConvQuality $Quality -ConvLosslessValue $losslessValue + $totalFiles = 1 +} +else { + # Process all image files in directory using parallel processing + Write-Host "Gathering image files from '$InputPath'..." + $imageFiles = Get-ChildItem -Path $InputPath -File | Where-Object { + $_.Extension -match '\.(jpg|jpeg|png|gif|bmp|tiff)$' + } + + $totalFiles = $imageFiles.Count + $processedCount = 0 # Simple counter, not perfectly synced for progress bar + + if ($totalFiles -eq 0) { + Write-Warning "No supported image files found in '$InputPath'." + exit 0 + } + + Write-Host "Found $totalFiles image files. Starting parallel conversion (MaxParallel = $MaxParallel)..." + + $imageFiles | ForEach-Object -Parallel { + # Variables from the outer scope need $using: + $currentFile = $_ + $fName = $currentFile.Name + $fNameWithoutExt = $currentFile.BaseName + $outputFPath = Join-Path $using:OutputDir "$fNameWithoutExt.webp" + + Write-Host "($PID) Starting conversion: $fName" # ($PID) shows the process ID handling this item + + try { + # Execute ImageMagick command + & magick $currentFile.FullName -quality $using:Quality -define webp:lossless=$using:losslessValue $outputFPath + + # Basic success message (output might be interleaved) + Write-Host "($PID) Finished conversion: $fName -> $outputFPath" -ForegroundColor Cyan + } + catch { + # Basic error message (output might be interleaved) + Write-Error "($PID) Failed to convert '$fName': $_" + } + + # Incrementing a counter for precise progress in parallel is complex. + # This provides a basic idea but isn't a reliable progress bar. + # [System.Threading.Interlocked]::Increment([ref]$using:processedCount) | Out-Null + # $prog = [math]::Round(($using:processedCount / $using:totalFiles) * 100) + # Write-Progress -Activity "Converting images to WebP (Parallel)" -Status "Processed approx. $using:processedCount of $using:totalFiles" -PercentComplete $prog -Id 1 + + } -ThrottleLimit $MaxParallel # Control the number of parallel runs + + # Write-Progress -Activity "Converting images to WebP (Parallel)" -Completed -Id 1 + Write-Host "-------------------------------------" + Write-Host "Parallel conversion process finished." +} + +$endTime = Get-Date +$duration = $endTime - $startTime + +Write-Host "=====================================" +Write-Host "Conversion Summary" +Write-Host "Total files processed: $totalFiles" +Write-Host "Duration: $($duration.ToString())" +Write-Host "Output directory: $OutputDir" +Write-Host "=====================================" -ForegroundColor Green +``` -- PowerShell 7.0 or higher (required for ForEach-Object -Parallel) -- ImageMagick must be installed and accessible via the 'magick' command in your PATH +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index 7f52d2c24..9433edaa6 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index f1288ee95..b7fc3d5f1 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -64,7 +65,7 @@ try { Write-Host "⏳ Searching for pandoc..." $null = (pandoc --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'pandoc' - make sure it's installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'pandoc' - make sure it's installed and available" } Write-Host "⏳ Converting..." gci -r -i $FilePattern | foreach { @@ -80,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index 6b7b7177d..4977a0123 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 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index 314e9c76f..934b4383d 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -database @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -username @@ -33,6 +35,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -password @@ -42,6 +45,7 @@ Parameters Position? 4 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -query @@ -51,6 +55,7 @@ Parameters Position? 5 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -119,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index b34356218..e75581e13 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -89,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index 48626604c..c0dce5a9f 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -185,4 +186,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index d9daa08ae..5aa5a8904 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -database @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -username @@ -33,6 +35,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -password @@ -42,6 +45,7 @@ Parameters Position? 4 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -query @@ -51,6 +55,7 @@ Parameters Position? 5 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -120,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index 84b4cb48d..88a85985f 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -WavFile @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -84,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index 39b3e5d34..378b2915f 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -targetDir @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -149,4 +151,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/count-characters.md b/docs/count-characters.md index ee29b93ec..98f8816bc 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -71,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/count-lines.md b/docs/count-lines.md index 0347446b0..828503e60 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -83,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index b072b4db3..09b178a5c 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Password @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -197,4 +199,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index 2123823df..6bec375f9 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index 77c7515b2..093b02c22 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -52,7 +52,7 @@ try { if ($Connection.ConnectionStatus -ne "Connected") { continue } "Disconnecting $($Connection.Name)..." & rasdial.exe "$($Connection.Name)" /DISCONNECT - if ($lastExitCode -ne "0") { throw "Disconnect failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "Disconnect failed with exit code $lastExitCode" } "Disconnected now." exit 0 # success } @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/download-dir.md b/docs/download-dir.md index 666eccad4..670561a2f 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -63,10 +64,10 @@ try { $StopWatch = [system.diagnostics.stopwatch]::startNew() & wget --version - if ($lastExitCode -ne "0") { throw "Can't execute 'wget' - make sure wget is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'wget' - make sure wget is installed and available" } & wget --mirror --convert-links --adjust-extension --page-requisites --no-parent $URL --directory-prefix . --no-verbose - if ($lastExitCode -ne "0") { throw "Can't execute 'wget --mirror $URL'" } + if ($lastExitCode -ne 0) { throw "Can't execute 'wget --mirror $URL'" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✅ downloaded directory from $URL in $Elapsed sec" @@ -77,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/download-file.md b/docs/download-file.md index bf2a74c70..37c11678a 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -63,10 +64,10 @@ try { $StopWatch = [system.diagnostics.stopwatch]::startNew() & wget --version - if ($lastExitCode -ne "0") { throw "Can't execute 'wget' - make sure wget is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'wget' - make sure wget is installed and available" } & wget --mirror --convert-links --adjust-extension --page-requisites --no-parent $URL --directory-prefix . --no-verbose - if ($lastExitCode -ne "0") { throw "Can't execute 'wget --mirror $URL'" } + if ($lastExitCode -ne 0) { throw "Can't execute 'wget --mirror $URL'" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✅ downloaded file from $URL in $Elapsed sec" @@ -77,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/edit.md b/docs/edit.md index f937139e6..2b9f1cc5e 100644 --- a/docs/edit.md +++ b/docs/edit.md @@ -1,7 +1,8 @@ The *edit.ps1* Script =========================== -This PowerShell script opens a text editor with the given text file. +This PowerShell script opens the installed text editor with the given text file. +Supported are: Emacs, Helix, pico, nano, neovim, Notepad, vi, vim, Visual Studio Code and Wordpad. Parameters ---------- @@ -9,12 +10,13 @@ Parameters /Repos/PowerShell/scripts/edit.ps1 [[-path] ] [] -path - Specifies the path to the text file (will be queried if none given) + Specifies the path to the text file (default is to query the user to specify it) Required? false Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -44,9 +46,10 @@ Script Content .SYNOPSIS Opens a text editor .DESCRIPTION - This PowerShell script opens a text editor with the given text file. + This PowerShell script opens the installed text editor with the given text file. + Supported are: Emacs, Helix, pico, nano, neovim, Notepad, vi, vim, Visual Studio Code and Wordpad. .PARAMETER path - Specifies the path to the text file (will be queried if none given) + Specifies the path to the text file (default is to query the user to specify it) .EXAMPLE PS> ./edit.ps1 C:\MyDiary.txt .LINK @@ -59,38 +62,30 @@ param([string]$path = "") function TryEditor { param([string]$editor, [string]$path) try { - Write-Host "$editor.." -noNewline + Write-Host "$editor..." -noNewline & $editor "$path" - if ($lastExitCode -ne "0") { - "⚠️ Can't execute '$editor' - make sure it's installed and available" - exit 1 - } + if ($lastExitCode -ne 0) { "⚠️ Can't execute '$editor' - make sure it's installed and available"; exit 1 } exit 0 # success - } catch { - return - } + } catch { return } } -try { - if ($path -eq "" ) { $path = Read-Host "Enter the path to the text file" } +if ($path -eq "" ) { $path = Read-Host "Enter the path to the text file" } +if (-not(Test-Path "$path" -pathType leaf)) { throw "Can't access file '$path'" } +Write-Host "⏳ Editing '$path' by executing " -noNewline +TryEditor "nvim" $path +TryEditor "vim" $path +TryEditor "vi" $path +TryEditor "nano" $path +TryEditor "pico" $path +TryEditor "hx" $path +TryEditor "emacs" $path +TryEditor "Code" $path +TryEditor "notepad.exe" $path +TryEditor "wordpad.exe" $path +Write-Host "" - Write-Host "Searching for " -noNewline - TryEditor "neovim" $path - TryEditor "vim" $path - TryEditor "vi" $path - TryEditor "nano" $path - TryEditor "pico" $path - TryEditor "emacs" $path - TryEditor "notepad.exe" $path - TryEditor "wordpad.exe" $path - Write-Host "" - - throw "No text editor found - use 'winget install' to install your favorite text editor." - exit 0 # success -} catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" - exit 1 -} +"⚠️ Sorry, no text editor found. Please install your favorite one (e.g. by executing 'winget install helix.helix')." +exit 1 ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 58df0dbf8..3d3d986d9 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index a2157833e..8731c3eae 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index f6d074391..4d3aa6a29 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index 069ea720f..4a38e2e98 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Password @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -182,4 +184,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index 458dd3680..387afc7cf 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/enter-host.md b/docs/enter-host.md index 318f78ad1..9f105b374 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -26,7 +27,7 @@ Example ------- ```powershell PS> ./enter-host.ps1 tux -✅ tux is up and running (3ms latency). +✅ tux is online (3ms latency to 192.168.1.179) ⏳ Connecting as user 'markus' using OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 markus@tux's password: ... @@ -53,7 +54,7 @@ Script Content Specifies the remote hostname or IP address .EXAMPLE PS> ./enter-host.ps1 tux - ✅ tux is up and running (3ms latency). + ✅ tux is online (3ms latency to 192.168.1.179) ⏳ Connecting as user 'markus' using OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 markus@tux's password: ... @@ -77,14 +78,14 @@ try { } & "$PSScriptRoot/ping-host.ps1" $remoteHost - if ($lastExitCode -ne "0") { + if ($lastExitCode -ne 0) { Write-Host "Let's try to wake '$remoteHost' up..." & "$PSScriptRoot/wake-up-host.ps1" } Write-Host "⏳ Connecting as user '$remoteUser' using " -noNewline & ssh -V - if ($lastExitCode -ne "0") { throw "'ssh -V' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'ssh -V' failed with exit code $lastExitCode" } & ssh "$($remoteUser)@$($remoteHost)" exit 0 # success @@ -94,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index 919c9d8f1..aad6484a2 100644 --- a/docs/export-to-manuals.md +++ b/docs/export-to-manuals.md @@ -14,6 +14,7 @@ Parameters Position? 1 Default value "$PSScriptRoot/*.ps1" Accept pipeline input? false + Aliases Accept wildcard characters? false -targetDir @@ -22,6 +23,7 @@ Parameters Position? 2 Default value "$PSScriptRoot/../docs" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -90,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index cefb320dc..0d13ed181 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -70,7 +71,7 @@ try { Write-Host "⏳ (1/3) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2/3) Checking local repository... $path" if (!(Test-Path "$path" -pathType container)) { throw "Can't access folder: $path" } @@ -78,7 +79,7 @@ try { Write-Host "⏳ (3/3) Fetching updates (including submodules)..." & git -C "$path" fetch --all --recurse-submodules --tags --prune --prune-tags --force --quiet - if ($lastExitCode -ne "0") { throw "'git fetch --all' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch --all' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Updates fetched into 📂$repoDirName repo in $($elapsed)s." @@ -89,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 83a3224a2..4acb6d71d 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -70,7 +71,7 @@ try { Write-Host "⏳ (1) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2) Checking parent folder... " -noNewline if (-not(Test-Path "$parentDirPath" -pathType container)) { throw "Can't access folder: $parentDirPath" } @@ -85,12 +86,12 @@ try { Write-Host "⏳ ($step/$($numFolders + 2)) Fetching into 📂$folderName...`t`t" & git -C "$folder" fetch --all --recurse-submodules --prune --prune-tags --force - if ($lastExitCode -ne "0") { throw "'git fetch --all' in 📂$folder failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch --all' in 📂$folder failed with exit code $lastExitCode" } $step++ } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Fetched into $numFolders repos at 📂$parentDirPath in $($elapsed)s." + "✅ Fetched into $numFolders Git repos at 📂$parentDirPath in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -98,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index ef6edb1ed..e2c6432aa 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -64,4 +64,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 2361306c9..1290fee09 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -16,6 +16,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index cf1a4881f..ef339487a 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -16,6 +16,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index e6c663cd8..cc6f50c36 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -73,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/get-sha512.md b/docs/get-sha512.md index 53b10a4a6..0bb75f8aa 100644 --- a/docs/get-sha512.md +++ b/docs/get-sha512.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -73,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/hello-world.md b/docs/hello-world.md index 168cd4120..aee6812d3 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 68dba8730..1a6b44006 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/import-vm.md b/docs/import-vm.md index b6337a9a8..bf12ec4a5 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index 0c3a69ef8..e17b79574 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -68,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index 9b9cee974..ebf2ec7ab 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -48,7 +48,7 @@ try { "Installing Audacity, please wait..." & winget install --id Audacity.Audacity --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Audacity installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index cdd94184a..ba215c113 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -80,7 +80,7 @@ try { Write-Host " " Write-Host "⏳ ($step/$($numEntries + 2)) Installing $category '$appName'..." & winget install --id $appID --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { $numSkipped++ } + if ($lastExitCode -ne 0) { $numSkipped++ } $step++ } [int]$numInstalled = ($numEntries - $numSkipped) @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 83b1561f4..f8bcabc41 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -1,7 +1,7 @@ The *install-basic-snaps.ps1* Script =========================== -This PowerShell script installs 18 basic Linux snaps. +This PowerShell script installs 20 basic snap apps. Parameters ---------- @@ -17,6 +17,7 @@ Example ------- ```powershell PS> ./install-basic-snaps.ps1 +⏳ Installing 20 snap apps (sorted alphabetically)... ``` @@ -33,11 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Installs basic Linux snaps + Installs basic Snap apps .DESCRIPTION - This PowerShell script installs 18 basic Linux snaps. + This PowerShell script installs 20 basic snap apps. .EXAMPLE PS> ./install-basic-snaps.ps1 + ⏳ Installing 20 snap apps (sorted alphabetically)... .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,29 +50,30 @@ try { $StopWatch = [system.diagnostics.stopwatch]::startNew() if (!$IsLinux) { throw "Only Linux currently support snaps" } - "⏳ Installing 19 Snaps (sorted alphabetically)..." - sudo snap install ant - sudo snap install audacity - sudo snap install bashtop - sudo snap install chromium - sudo snap install cmake - sudo snap install cups - sudo snap install emacs --classic - sudo snap install ffmpeg --edge - sudo snap install firefox - sudo snap install gimp - sudo snap install go - sudo snap install gradle --classic - sudo snap install groovy --classic - sudo snap install hugo - sudo snap install jenkins --edge --classic - sudo snap install nano --classic - sudo snap install nextcloud - sudo snap install node --classic - sudo snap install plexmediaserver + "⏳ Installing 20 snap apps (sorted alphabetically)..." + & sudo snap install ant + & sudo snap install audacity + & sudo snap install bashtop + & sudo snap install blender --classic + & sudo snap install chromium + & sudo snap install cmake + & sudo snap install cups + & sudo snap install emacs --classic + & sudo snap install ffmpeg --edge + & sudo snap install firefox + & sudo snap install gimp + & sudo snap install go + & sudo snap install gradle --classic + & sudo snap install groovy --classic + & sudo snap install hugo + & sudo snap install jenkins --edge --classic + & sudo snap install nano --classic + & sudo snap install nextcloud + & sudo snap install node --classic + & sudo snap install plexmediaserver - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✅ installed 19 Snaps in $Elapsed sec" + [int]$elapsed = $StopWatch.Elapsed.TotalSeconds + "✅ Installed 20 snap apps in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -78,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index 5f1e3db6d..a2194c4d0 100644 --- a/docs/install-calibre-server.md +++ b/docs/install-calibre-server.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 8099 Accept pipeline input? false + Aliases Accept wildcard characters? false -mediaFolder @@ -24,6 +25,7 @@ Parameters Position? 2 Default value /opt/Calibre Library Accept pipeline input? false + Aliases Accept wildcard characters? false -userDB @@ -33,6 +35,7 @@ Parameters Position? 3 Default value /opt/CalibreUsers.sqlite Accept pipeline input? false + Aliases Accept wildcard characters? false -logfile @@ -42,6 +45,7 @@ Parameters Position? 4 Default value /opt/CalibreServer.log Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -103,25 +107,25 @@ try { "`n⏳ (1/5) Updating package infos..." & sudo apt update -y - if ($lastExitCode -ne "0") { throw "'apt update' failed" } + if ($lastExitCode -ne 0) { throw "'apt update' failed" } "`n⏳ (2/5) Installing Calibre package..." & sudo apt install calibre -y - if ($lastExitCode -ne "0") { throw "'apt install calibre' failed" } + if ($lastExitCode -ne 0) { throw "'apt install calibre' failed" } "`n⏳ (3/5) Searching for Calibre server executable..." & calibre-server --version - if ($lastExitCode -ne "0") { throw "Can't execute 'calibre-server' - make sure Calibre server is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'calibre-server' - make sure Calibre server is installed and available" } "`n⏳ (4/5) Creating media folder at: $mediaFolder ... (if non-existent)" & mkdir $mediaFolder "`n⏳ (5/5) Starting Calibre server as background process..." - & sudo calibre-server --port $port --num-per-page 100 --userdb $userDB --log $logfile --daemonize $mediaFolder + & nohup sudo calibre-server --port $port --num-per-page 100 --userdb $userDB --log $logfile --disable-use-bonjour $mediaFolder & [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Installed and started Calibre server on port $port in $($elapsed)s." - " (media at: $mediaFolder, user DB: $userDB, logging to: $logfile)" + "✅ Calibre server installed in $($elapsed)s." + " (URL=http://$(hostname):$port media=$mediaFolder userDB=$userDB log=$logfile)." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -129,4 +133,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index ecace249f..8e2e6af99 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index 72ec0c751..91a2d4778 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -48,7 +48,7 @@ try { "Installing Google Chrome, please wait..." & winget install --id Google.Chrome --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Google Chrome installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index 4b0de9632..85dab7021 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -48,7 +48,7 @@ try { "Installing CrystalDiskInfo, please wait..." & winget install "CrystalDiskInfo" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "CrystalDiskInfo installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index 812cf8bad..496ffda8a 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -48,7 +48,7 @@ try { "Installing CrystalDiskMark, please wait..." & winget install "CrystalDiskMark Shizuku Edition" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "CrystalDiskMark installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-discord.md b/docs/install-discord.md index fef3ff96b..ab13afa8b 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -48,7 +48,7 @@ try { "Installing Discord, please wait..." & winget install "Discord" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Discord installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-edge.md b/docs/install-edge.md index f83bbfe82..de0cf4c3e 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -48,7 +48,7 @@ try { "Installing Microsoft Edge, please wait..." & winget install "Microsoft Edge Browser" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Microsoft Edge installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index 760146925..666d2b02f 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index 48c666b5f..6b143fa99 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -48,7 +48,7 @@ try { "Installing Mozilla Firefox, please wait..." & winget install "Mozilla Firefox Browser" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Mozilla Firefox installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-fonts.md b/docs/install-fonts.md index e40075bb9..a7962e455 100644 --- a/docs/install-fonts.md +++ b/docs/install-fonts.md @@ -10,7 +10,7 @@ Parameters [] - This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` @@ -36,14 +36,14 @@ foreach ($font in $fontFiles) { # Copy font files to the Fonts folder $destination = "$fontsFolder\$($font.Name)" Copy-Item -Path $font.FullName -Destination $destination -Force - + # Add font to registry $fontName = [System.IO.Path]::GetFileNameWithoutExtension($font.Name) $fontRegistryPath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" - + # For TrueType fonts $fontType = "TrueType" - + # Add the registry entry New-ItemProperty -Path $fontRegistryPath -Name "$fontName ($fontType)" -PropertyType String -Value $font.Name -Force } @@ -51,4 +51,4 @@ foreach ($font in $fontFiles) { Write-Output "Fonts have been installed successfully." ``` -*(page generated by convert-ps2md.ps1 as of 01/29/2025 20:04:23)* \ No newline at end of file +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index 819dfaaad..28a75c504 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -48,7 +48,7 @@ try { "Installing Git Extensions, please wait..." & winget install --id GitExtensionsTeam.GitExtensions --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Git Extensions installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index 6d04b4b97..9c5023063 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -48,7 +48,7 @@ try { "Installing Git for Windows, please wait..." & winget install --id Git.Git -e --source winget --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Git for Windows installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index 80be6912e..579fced95 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -58,7 +58,7 @@ try { & sudo apt install gh } else { & winget install --id GitHub.cli - if ($lastExitCode -ne "0") { throw "Installation of GitHub CLI failed, maybe it's already installed." } + if ($lastExitCode -ne 0) { throw "Installation of GitHub CLI failed, maybe it's already installed." } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ GitHub CLI installed successfully in $($elapsed)s - to authenticate execute: 'gh auth login'" @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index 9afad6e29..410350d67 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-h2static.md b/docs/install-h2static.md index ca3a47dee..cffe55402 100644 --- a/docs/install-h2static.md +++ b/docs/install-h2static.md @@ -14,6 +14,7 @@ Parameters Position? 1 Default value 8070 Accept pipeline input? false + Aliases Accept wildcard characters? false -pathToMedia @@ -22,6 +23,7 @@ Parameters Position? 2 Default value /media/ Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -90,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index ab5960fa4..53fabb4b0 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -48,7 +48,7 @@ try { "Installing IrfanView, please wait..." & winget install "IrfanView64" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "IrfanView installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-jenkins-agent.md b/docs/install-jenkins-agent.md index f4876c4a7..3aef811d3 100644 --- a/docs/install-jenkins-agent.md +++ b/docs/install-jenkins-agent.md @@ -14,6 +14,7 @@ Parameters Position? 1 Default value /opt/jenkins-agent Accept pipeline input? false + Aliases Accept wildcard characters? false -jenkinsURL @@ -22,6 +23,7 @@ Parameters Position? 2 Default value http://tux:8080 Accept pipeline input? false + Aliases Accept wildcard characters? false -secretKey @@ -30,6 +32,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -91,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index b6916fa7b..1824aacb1 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index a6860815c..8e89c826e 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -48,7 +48,7 @@ try { "Installing Microsoft Teams, please wait..." & winget install --id Microsoft.Teams --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Microsoft Teams installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-mini-dlna.md b/docs/install-mini-dlna.md index ba4749053..831e24695 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index 9e626a5ff..045a06bbb 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -48,7 +48,7 @@ try { "Installing Netflix, please wait..." & winget install "Netflix" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Netflix installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index 174d8f0bd..1f4ca0460 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index 8d998a550..947559625 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -22,7 +22,7 @@ try { "⏳ Installing OctoPrint (snap 'octoprint-pfs', channel 'edge')..." & sudo snap install octoprint-pfs --edge - if ($lastExitCode -ne "0") { throw "'snap install octoprint-pfs' exited with code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'snap install octoprint-pfs' exited with code $lastExitCode" } "HINT: Access Octoprint's web login at: http://:5000" exit 0 # success @@ -32,4 +32,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index 6306251b0..2e4c4dc47 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -48,7 +48,7 @@ try { "Installing One Calendar, please wait..." & winget install "One Calendar" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "One Calendar installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index 2c0dd2186..bf455a405 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -48,7 +48,7 @@ try { "Installing Opera Browser, please wait..." & winget install "Opera Browser" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Opera Browser installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index 3aa690fdc..70b6e43ea 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -48,7 +48,7 @@ try { "Installing Opera GX, please wait..." & winget install "Opera GX" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Opera GX installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index cf772f5b6..ad203771a 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -48,7 +48,7 @@ try { "Installing Paint 3D, please wait..." & winget install "Paint 3D" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Paint 3D installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index 3f08f5ec0..ff07ce5ad 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -48,7 +48,7 @@ try { "Installing Microsoft Powertoys, please wait..." & winget install Microsoft.Powertoys --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Microsoft Powertoys installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index a053a3770..739fffea3 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -18,6 +18,7 @@ Parameters Position? named Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Daily [] @@ -28,6 +29,7 @@ Parameters Position? named Default value False Accept pipeline input? false + Aliases Accept wildcard characters? false -DoNotOverwrite [] @@ -37,6 +39,7 @@ Parameters Position? named Default value False Accept pipeline input? false + Aliases Accept wildcard characters? false -AddToPath [] @@ -48,6 +51,7 @@ Parameters Position? named Default value False Accept pipeline input? false + Aliases Accept wildcard characters? false -UseMSI [] @@ -56,6 +60,7 @@ Parameters Position? named Default value False Accept pipeline input? false + Aliases Accept wildcard characters? false -Quiet [] @@ -64,6 +69,7 @@ Parameters Position? named Default value False Accept pipeline input? false + Aliases Accept wildcard characters? false -AddExplorerContextMenu [] @@ -72,6 +78,7 @@ Parameters Position? named Default value False Accept pipeline input? false + Aliases Accept wildcard characters? false -EnablePSRemoting [] @@ -80,6 +87,7 @@ Parameters Position? named Default value False Accept pipeline input? false + Aliases Accept wildcard characters? false -Preview [] @@ -88,6 +96,7 @@ Parameters Position? named Default value False Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -251,7 +260,7 @@ function Remove-Destination([string]$Destination) { } } } else { - Write-Host "⏳ (3/4) Moving old installation to $($Destination).old... " + Write-Host "⏳ (3/5) Moving old installation to $($Destination).old... " # Unix systems don't keep open file handles so you can just move files/folders even if in use sudo mv "$Destination" "$($Destination).old" } @@ -471,7 +480,7 @@ try { tar zxf $packagePath -C $contentPath } } else { - Write-Host "⏳ (1/4) Querying infos from https://raw.githubusercontent.com ..." + Write-Host "⏳ (1/5) Querying infos from https://raw.githubusercontent.com ..." $metadata = Invoke-RestMethod https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/metadata.json if ($Preview) { $release = $metadata.PreviewReleaseTag -replace '^v' @@ -494,10 +503,10 @@ try { } elseif ($IsMacOSEnv) { $packageName = "powershell-${release}-osx-${architecture}.tar.gz" } - Write-Host " Latest release is $release for $architecture, package name is: $packageName" + Write-Host " Latest release is $release for $architecture (package name: $packageName)" $downloadURL = "https://github.com/PowerShell/PowerShell/releases/download/v${release}/${packageName}" - Write-Host "⏳ (2/4) Loading $downloadURL" + Write-Host "⏳ (2/5) Loading $downloadURL" $packagePath = Join-Path -Path $tempDir -ChildPath $packageName if (!$PSVersionTable.ContainsKey('PSEdition') -or $PSVersionTable.PSEdition -eq "Desktop") { @@ -540,13 +549,13 @@ try { Expand-ArchiveInternal -Path $packagePath -DestinationPath $contentPath } } else { - Write-Host "⏳ (3/4) Extracting package to: $contentPath..." - tar zxf $packagePath -C $contentPath + Write-Host "⏳ (3/5) Extracting to $contentPath..." + & tar zxf $packagePath -C $contentPath } } if (-not $UseMSI) { - Write-Host "⏳ (4/5) Removing current installation at: $Destination ..." + Write-Host "⏳ (4/5) Removing old installation at $Destination ..." if ($IsLinuxEnv) { & sudo rm -rf "$Destination" } else { @@ -554,18 +563,18 @@ try { } if (Test-Path $Destination) { - Write-Host "⏳ (4/4) Copying files to $Destination... " + Write-Host "⏳ (5/5) Copying files to $Destination... " # only copy files as folders will already exist at $Destination Get-ChildItem -Recurse -Path "$contentPath" -File | ForEach-Object { $DestinationFilePath = Join-Path $Destination $_.fullname.replace($contentPath, "") Copy-Item $_.fullname -Destination $DestinationFilePath } } elseif ($IsWinEnv) { - Write-Host "⏳ (4/4) Moving new installation to $Destination... " + Write-Host "⏳ (5/5) Moving new installation to $Destination... " $null = New-Item -Path (Split-Path -Path $Destination -Parent) -ItemType Directory -ErrorAction SilentlyContinue Move-Item -Path $contentPath -Destination $Destination } else { - Write-Host "⏳ (4/4) Moving new installation to $Destination... " + Write-Host "⏳ (5/5) Moving new installation to $Destination... " & sudo mv "$contentPath" "$Destination" } } @@ -635,7 +644,7 @@ try { } if (-not $UseMSI) { - Write-Host "✅ Installed PowerShell $release at $Destination" -noNewline + Write-Host "✅ PowerShell $release installed at $Destination" -noNewline if ($Destination -eq $PSHOME) { Write-Host " - Please restart pwsh now." } else { @@ -651,4 +660,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index 29c10e084..4a7e283f2 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -48,7 +48,7 @@ try { "Installing Rufus, please wait..." & winget install "Rufus" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Rufus installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index b6dd300c3..1cdd2113e 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-scoop.md b/docs/install-scoop.md new file mode 100644 index 000000000..e732d2b88 --- /dev/null +++ b/docs/install-scoop.md @@ -0,0 +1,23 @@ +The *install-scoop.ps1* Script +=========================== + +install-scoop.ps1 + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Script Content +-------------- +```powershell +Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression +``` + +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index 6ac59f30c..1267c0f44 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -16,6 +16,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -67,19 +68,19 @@ try { set-location /tmp & wget --version - if ($lastExitCode -ne "0") { throw "Can't execute 'wget' - make sure wget is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'wget' - make sure wget is installed and available" } & wget "https://github.com/AsamK/signal-cli/releases/download/v$Version/signal-cli-$($Version).tar.gz" - if ($lastExitCode -ne "0") { throw "'wget' failed" } + if ($lastExitCode -ne 0) { throw "'wget' failed" } sudo tar xf "signal-cli-$Version.tar.gz" -C /opt - if ($lastExitCode -ne "0") { throw "'sudo tar xf' failed" } + if ($lastExitCode -ne 0) { throw "'sudo tar xf' failed" } sudo ln -sf "/opt/signal-cli-$Version/bin/signal-cli" /usr/local/bin/ - if ($lastExitCode -ne "0") { throw "'sudo ln -sf' failed" } + if ($lastExitCode -ne 0) { throw "'sudo ln -sf' failed" } rm "signal-cli-$Version.tar.gz" - if ($lastExitCode -ne "0") { throw "'rm' failed" } + if ($lastExitCode -ne 0) { throw "'rm' failed" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✅ installed signal-cli $Version to /opt and /usr/local/bin in $Elapsed sec" @@ -90,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-skype.md b/docs/install-skype.md index 4916c40d6..34fd7bd8f 100644 --- a/docs/install-skype.md +++ b/docs/install-skype.md @@ -48,7 +48,7 @@ try { "Installing Skype, please wait..." & winget install "Skype" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Skype installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index b85266f0e..2e4d41822 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -48,7 +48,7 @@ try { "Installing Spotify, please wait..." & winget install "Spotify - Music and Podcasts" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Spotify installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index 917a87cc6..928c7462d 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index efcb4d7fc..74be9a077 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index 85d810939..6d52b5e5b 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -48,7 +48,7 @@ try { "Installing Mozilla Thunderbird, please wait..." & winget install --id Mozilla.Thunderbird --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Mozilla Thunderbird installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-twitter.md b/docs/install-twitter.md index 7cb4a6138..7dae03ec9 100644 --- a/docs/install-twitter.md +++ b/docs/install-twitter.md @@ -48,7 +48,7 @@ try { "Installing Twitter, please wait..." & winget install "Twitter" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Twitter installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index d2c7c9a0a..5493cf208 100644 --- a/docs/install-unbound-server.md +++ b/docs/install-unbound-server.md @@ -51,27 +51,27 @@ try { "⏳ (1/10) Updating package infos..." & sudo apt update -y - if ($lastExitCode -ne "0") { throw "'apt update' failed" } + if ($lastExitCode -ne 0) { throw "'apt update' failed" } "⏳ (2/10) Installing the Unbound packages..." & sudo apt install unbound unbound-anchor -y - if ($lastExitCode -ne "0") { throw "'apt install unbound' failed" } + if ($lastExitCode -ne 0) { throw "'apt install unbound' failed" } "⏳ (3/10) Setting up Unbound..." & sudo unbound-control-setup - if ($lastExitCode -ne "0") { throw "'unbound-control-setup' failed" } + if ($lastExitCode -ne 0) { throw "'unbound-control-setup' failed" } "⏳ (4/10) Updating DNSSEC Root Trust Anchors..." & sudo unbound-anchor - if ($lastExitCode -ne "0") { throw "'unbound-anchor' failed" } + if ($lastExitCode -ne 0) { throw "'unbound-anchor' failed" } "⏳ (5/10) Checking config file..." & unbound-checkconf "$PSScriptRoot/../data/unbound.conf" - if ($lastExitCode -ne "0") { throw "'unbound-checkconf' failed - check the syntax" } + if ($lastExitCode -ne 0) { throw "'unbound-checkconf' failed - check the syntax" } "⏳ (6/10) Copying config file to /etc/unbound/unbound.conf ..." & sudo cp "$PSScriptRoot/../data/unbound.conf" /etc/unbound/unbound.conf - if ($lastExitCode -ne "0") { throw "'cp' failed" } + if ($lastExitCode -ne 0) { throw "'cp' failed" } "⏳ (7/10) Stopping default DNS cache daemon systemd-resolved..." & sudo systemctl stop systemd-resolved @@ -80,15 +80,15 @@ try { "⏳ (8/10) (Re-)starting Unbound..." & sudo unbound-control stop & sudo unbound-control start - if ($lastExitCode -ne "0") { throw "'unbound-control start' failed" } + if ($lastExitCode -ne 0) { throw "'unbound-control start' failed" } "⏳ (9/10) Checking status of Unbound..." & sudo unbound-control status - if ($lastExitCode -ne "0") { throw "'unbound-control status' failed" } + if ($lastExitCode -ne 0) { throw "'unbound-control status' failed" } "⏳ (10/10) Training Unbound with 100 popular domain names..." & "$PSScriptRoot/check-dns.ps1" - if ($lastExitCode -ne "0") { throw "'unbound-control status' failed" } + if ($lastExitCode -ne 0) { throw "'unbound-control status' failed" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✅ Installed Unbound in $Elapsed sec" @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-updates.md b/docs/install-updates.md index a2fcb88dc..596fa947d 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -25,7 +25,7 @@ PS> ./install-updates.ps1 -⏳ (2/2) Installing updates from winget and Microsoft Store... +⏳ (2/2) Updating Microsoft Store apps... ... ``` @@ -54,7 +54,7 @@ Script Content ✅ Swap space has 1GB free (2% of 1GB used) ✅ No pending system reboot - ⏳ (2/2) Installing updates from winget and Microsoft Store... + ⏳ (2/2) Updating Microsoft Store apps... ... .LINK https://github.com/fleschutz/PowerShell @@ -66,7 +66,8 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() if ($IsLinux) { - "⏳ (1/5) Checking update requirements..." + "⏳ (1/5) Checking requirements..." + & "$PSScriptRoot/check-power.ps1" & "$PSScriptRoot/check-smart-devices.ps1" & "$PSScriptRoot/check-drive-space.ps1" / & "$PSScriptRoot/check-swap-space.ps1" @@ -88,19 +89,29 @@ try { Write-Progress "⏳ Installing updates..." & sudo softwareupdate -i -a Write-Progress -completed " " - } else { - # Windows: - "⏳ (1/2) Checking update requirements..." + } else { # Windows: + "⏳ (1/2) Checking requirements..." + & "$PSScriptRoot/check-power.ps1" & "$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/2) Installing updates from winget..." + "⏳ (2/4) Updating Microsoft Store apps..." + if (Get-Command winget -errorAction SilentlyContinue) { + & winget upgrade --all --source=msstore --include-unknown + } "" - & winget upgrade --all --source=winget - # & winget upgrade --all --source=msstore # does not work + "⏳ (3/4) Updating WinGet Store apps..." + if (Get-Command winget -errorAction SilentlyContinue) { + & winget upgrade --all --source=winget --include-unknown + } + "" + "⏳ (4/4) Updating Chocolatey packages..." + if (Get-Command choco -errorAction SilentlyContinue) { + & choco upgrade all -y + } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Updates installed in $($elapsed)s." @@ -111,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index d7ba2263c..970acdaa3 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -48,7 +48,7 @@ try { "Installing Visual Studio Code, please wait..." & winget install --id Microsoft.VisualStudioCode --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Visual Studio Code installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index b34e5e25c..478519af1 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -48,7 +48,7 @@ try { "Installing Vivaldi, please wait..." & winget install --id VivaldiTechnologies.Vivaldi --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Vivaldi installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index 112bd5ce6..ae79529f3 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -17,8 +17,8 @@ Example ------- ```powershell PS> ./install-vlc.ps1 -⏳ Installing VLC media player... -✅ Installation of VLC media player took 25 sec +⏳ Installing VLC media player from Winget... +✅ VLC media player installed successfully in 25s. ``` @@ -40,8 +40,8 @@ Script Content This PowerShell script installs the VLC media player. .EXAMPLE PS> ./install-vlc.ps1 - ⏳ Installing VLC media player... - ✅ Installation of VLC media player took 25 sec + ⏳ Installing VLC media player from Winget... + ✅ VLC media player installed successfully in 25s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,19 +49,19 @@ Script Content #> try { - "⏳ Installing VLC media player..." - $StopWatch = [system.diagnostics.stopwatch]::startNew() + "⏳ Installing VLC media player from WinGet..." + $stopWatch = [system.diagnostics.stopwatch]::startNew() - & winget install --id XPDM1ZW6815MQM --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "Can't install VLC media player, is it already installed?" } + & winget install --id VideoLAN.VLC --accept-package-agreements --accept-source-agreements + if ($lastExitCode -ne 0) { throw "Can't install VLC media player, is it already installed?" } - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✅ Installation of VLC media player took $Elapsed sec" + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ VLC media player 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index 504600f19..aff597116 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -48,7 +48,7 @@ try { "Installing Windows Terminal, please wait..." & winget install --id Microsoft.WindowsTerminal --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Windows Terminal installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index db859ef03..8946acb22 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index bc448dc1b..b64bfaded 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -48,7 +48,7 @@ try { "Installing Zoom, please wait..." & winget install --id Zoom.Zoom --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne "0") { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "'winget install' failed" } "Zoom installed successfully." exit 0 # success @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index 3177fadde..a1e54b8bb 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index 65c525dcb..f4c67803d 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index 06564cad7..37084a183 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Columns @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 8 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -120,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-apps.md b/docs/list-apps.md index 5fc95c184..456823417 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index 5dbc4ff14..b37402c7b 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index 7d5a582a2..6f93e10c7 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index b2894f43a..68e9e5d1a 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-bios.md b/docs/list-bios.md index c138e852d..c20dcc032 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 809233e70..eb73d64e5 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-branches.md b/docs/list-branches.md index 445eed06a..8ce9fd376 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false -searchPattern @@ -24,6 +25,7 @@ Parameters Position? 2 Default value * Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -82,13 +84,13 @@ try { if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access repo folder '$pathToRepo' - maybe a typo or missing folder permissions?" } $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } & git -C "$pathToRepo" fetch - if ($lastExitCode -ne "0") { throw "'git fetch' failed" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed" } $branches = $(git -C "$pathToRepo" branch --list --remotes --no-color --no-column) - if ($lastExitCode -ne "0") { throw "'git branch --list' failed" } + if ($lastExitCode -ne 0) { throw "'git branch --list' failed" } "" "List of Git Branches" @@ -107,4 +109,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index 396ab682e..4e735552b 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value (Get-Date).Month Accept pipeline input? false + Aliases Accept wildcard characters? false -Year @@ -24,6 +25,7 @@ Parameters Position? 2 Default value (Get-Date).Year Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -245,4 +247,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index ca69936dd..a6b87d42c 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index 85978c817..e7cbee878 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index 5a3342ca9..c31cbae5b 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -25,8 +25,8 @@ Script Content .EXAMPLE PS> ./list-cli-tools.ps1 - TOOL VERSION INSTALLATION PATH - ---- ------- ----------------- + NAME VERSION PATH + ---- ------- ---- arp 10.0.22621.4111 C:\Windows\system32\ARP.EXE (45K) ... .LINK @@ -72,7 +72,7 @@ function ListTool([string]$Name, [string]$VersionArg) { } else { $Size = 0 } - New-Object PSObject -Property @{ 'TOOL'=$Name; 'VERSION'=$Version; 'INSTALLATION PATH'="$Path ($(Bytes2String $Size))" } + New-Object PSObject -Property @{ 'NAME'=$Name; 'VERSION'=$Version; 'PATH'="$Path ($(Bytes2String $Size))" } } catch { return } @@ -109,10 +109,10 @@ function List-CLI-Tools { ListTool bzip2 "--version" ListTool bzip2recover "--version" ListTool captoinfo "-V" - ListTool cat "-version" + ListTool cat "--version" ListTool cc "--version" ListTool certutil "/?" - ListTool chattr "--version" + ListTool chattr "--help" ListTool chcon "--version" ListTool chcpu "--version" ListTool chdsk "" @@ -125,7 +125,7 @@ function List-CLI-Tools { ListTool chmem "--version" ListTool choice "/?" ListTool chown "--version" - ListTool chpasswd "--version" + ListTool chpasswd "--help" ListTool chroot "--version" ListTool choco "--version" ListTool cipher "" @@ -153,6 +153,7 @@ function List-CLI-Tools { ListTool dash "--version" ListTool date "" ListTool dd "--version" + ListTool defrag.exe "/?" ListTool delgroup "--version" ListTool deluser "--version" ListTool df "--version" @@ -188,7 +189,7 @@ function List-CLI-Tools { ListTool fmt "--version" ListTool fold "--version" ListTool ftp "-?" - ListTool funzip "--version" + ListTool funzip "-version" ListTool gawk "--version" ListTool gencat "--version" ListTool getconf "--version" @@ -200,6 +201,7 @@ function List-CLI-Tools { ListTool git "--version" ListTool gkill "--version" ListTool gmondump "--version" + ListTool go "version" ListTool gpg "--version" ListTool gpg-agent "--version" ListTool gpgconf "--version" @@ -217,6 +219,7 @@ function List-CLI-Tools { ListTool hostid "--version" ListTool hostname "" ListTool htop "--version" + ListTool hx "--version" # Helix editor ListTool icacls "--version" ListTool iconv "--version" ListTool id "--version" @@ -315,6 +318,7 @@ function List-CLI-Tools { ListTool time "" ListTool timeout "" ListTool top "--version" + ListTool tracert "" ListTool tskill "" ListTool typeperf "" ListTool tzsync "--version" @@ -322,6 +326,7 @@ function List-CLI-Tools { ListTool uniq "--version" ListTool vi "--version" ListTool vim "--version" + ListTool vlc "--version" ListTool vssadmin "/?" ListTool vulkaninfo "--version" ListTool w32tm "/?" @@ -339,6 +344,7 @@ function List-CLI-Tools { ListTool wsl "--version" ListTool xcopy "--version" ListTool yes "--version" + ListTool zig "--version" ListTool zip "--version" ListTool zipcloak "--version" ListTool zipdetails "" @@ -347,10 +353,11 @@ function List-CLI-Tools { ListTool zipnote "" ListTool zipsplit "" ListTool zsh "--version" + ListTool zvm "--version" } try { - List-CLI-Tools | Format-Table -property @{e='TOOL';width=15},@{e='VERSION';width=16},@{e='INSTALLATION PATH';width=90} + List-CLI-Tools | Format-Table -property @{e='NAME';width=15},@{e='VERSION';width=16},@{e='PATH';width=90} exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -358,4 +365,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index bd54c9a1c..db545b1ce 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index 0c7b046f9..7331e14de 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index 6af8ef6ac..e935204da 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index e472feeea..84ec76422 100644 --- a/docs/list-commit-stats.md +++ b/docs/list-commit-stats.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -70,14 +71,14 @@ param([string]$path = "$PWD") try { Write-Progress "(1/4) Searching for Git executable..." $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Progress "(2/4) Checking local Git repository..." if (-not(Test-Path "$path" -pathType container)) { throw "Can't access directory: $path" } Write-Progress "(3/4) Fetching updates..." & git -C "$path" fetch --all --quiet - if ($lastExitCode -ne "0") { throw "'git fetch' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed with exit code $lastExitCode" } Write-Progress "(4/4) Querying commits..." " " @@ -85,7 +86,7 @@ try { "------- ------" Write-Progress -completed "Done." git -C "$path" shortlog --summary --numbered --email --no-merges - if ($lastExitCode -ne "0") { throw "'git shortlog' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git shortlog' failed with exit code $lastExitCode" } exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -93,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-commits.md b/docs/list-commits.md index c27c08bab..407974d51 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -14,6 +14,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false -format @@ -23,6 +24,7 @@ Parameters Position? 2 Default value pretty Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -83,11 +85,11 @@ try { if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access directory: $pathToRepo" } $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Progress "Fetching latest updates..." & git -C "$pathToRepo" fetch --all --quiet - if ($lastExitCode -ne "0") { throw "'git fetch' failed" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed" } Write-Progress -Completed "Done." if ($format -eq "pretty") { @@ -103,7 +105,7 @@ try { "List of Git Commits" "-------------------" & git -C "$pathToRepo" log --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %C(bold blue)by %an %cr%Creset' --abbrev-commit - if ($lastExitCode -ne "0") { throw "'git log' failed" } + if ($lastExitCode -ne 0) { throw "'git log' failed" } } elseif ($format -eq "JSON") { & git -C "$pathToRepo" log --pretty=format:'{%n "commit": "%H",%n "abbreviated_commit": "%h",%n "tree": "%T",%n "abbreviated_tree": "%t",%n "parent": "%P",%n "abbreviated_parent": "%p",%n "refs": "%D",%n "encoding": "%e",%n "subject": "%s",%n "sanitized_subject_line": "%f",%n "body": "%b",%n "commit_notes": "%N",%n "verification_flag": "%G?",%n "signer": "%GS",%n "signer_key": "%GK",%n "author": {%n "name": "%aN",%n "email": "%aE",%n "date": "%aD"%n },%n "commiter": {%n "name": "%cN",%n "email": "%cE",%n "date": "%cD"%n }%n},' } else { @@ -111,7 +113,7 @@ try { "List of Git Commits" "-------------------" & git -C "$pathToRepo" log - if ($lastExitCode -ne "0") { throw "'git log' failed" } + if ($lastExitCode -ne 0) { throw "'git log' failed" } } exit 0 # success } catch { @@ -120,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index f9927242f..45b820048 100644 --- a/docs/list-console-colors.md +++ b/docs/list-console-colors.md @@ -55,17 +55,16 @@ Script Content #> try { - $Colors = [Enum]::GetValues([ConsoleColor]) + $colors = [Enum]::GetValues([ConsoleColor]) "" - "Color As Foreground As Background" - "----- ------------- -------------" - foreach($Color in $Colors) { - $Color = "$Color " - $Color = $Color.substring(0, 15) - write-host -noNewline "$Color" - write-host -noNewline -foregroundcolor $Color "$Color" - write-host -noNewline -backgroundcolor $Color "$Color" - write-host "" + "COLOR FOREGROUND BACKGROUND" + "----- ---------- ----------" + foreach($color in $colors) { + $color = "$color " + $color = $color.substring(0, 15) + Write-Host "$color" -noNewline + Write-Host "$color" -foregroundColor $color -noNewline + Write-Host "$color" -backgroundColor $color } exit 0 # success } catch { @@ -74,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-countries.md b/docs/list-countries.md index 73cbf5926..2029b097a 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -52,4 +52,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index 87569ba50..f819f61b2 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index e3219db34..bd7fc0a69 100644 --- a/docs/list-crypto-rates.md +++ b/docs/list-crypto-rates.md @@ -21,13 +21,13 @@ Script Content .SYNOPSIS List crypto rates .DESCRIPTION - This PowerShell script queries cryptocompare.com and lists the current crypto exchange rates in USD/EUR/RUB/CNY. + This PowerShell script queries the current crypto exchange rates from cryptocompare.com and lists it in USD/EUR/CNY/JPY. .EXAMPLE PS> ./list-crypto-rates.ps1 - CRYPTOCURRENCY USD EUR RUB CNY + CRYPTOCURRENCY US$ €UR CN¥Y JPY -------------- --- --- --- --- - 1 Bitcoin (BTC) = 29054.01 26552.23 2786627.84 172521.27 + 1 Bitcoin (BTC) = 97309.81 94385.57 38800 14798679.56 ... .LINK https://github.com/fleschutz/PowerShell @@ -36,39 +36,39 @@ Script Content #> function ListCryptoRate { param([string]$Symbol, [string]$Name) - $rates = (Invoke-WebRequest -URI "https://min-api.cryptocompare.com/data/price?fsym=$Symbol&tsyms=USD,EUR,RUB,CNY" -userAgent "curl" -useBasicParsing).Content | ConvertFrom-Json - New-Object PSObject -property @{ 'CRYPTOCURRENCY' = "1 $Name ($Symbol) ="; 'USD' = "$($rates.USD)"; 'EUR' = "$($rates.EUR)"; 'RUB' = "$($rates.RUB)"; 'CNY' = "$($rates.CNY)" } + $rates = (Invoke-WebRequest -URI "https://min-api.cryptocompare.com/data/price?fsym=$Symbol&tsyms=USD,EUR,CNY,JPY" -userAgent "curl" -useBasicParsing).Content | ConvertFrom-Json + New-Object PSObject -property @{ 'CRYPTOCURRENCY' = "1 $Name ($Symbol) ="; 'US$' = "$($rates.USD)"; '€' = "$($rates.EUR)"; 'CN¥' = "$($rates.CNY)"; 'JP¥' = "$($rates.JPY)" } } function ListCryptoRates { - ListCryptoRate BTC "Bitcoin" - ListCryptoRate ETH "Ethereum" - ListCryptoRate BUSD "BUSD" - ListCryptoRate XRP "XRP" - ListCryptoRate USDT "Tether" ListCryptoRate AVAX "Avalanche" - ListCryptoRate LTC "Litecoin" - ListCryptoRate SOL "Solana" - ListCryptoRate GALA "Gala" - ListCryptoRate DOGE "Dogecoin" - ListCryptoRate ADA "Cardano" ListCryptoRate BNB "Binance Coin" - ListCryptoRate USDC "USD Coin" - ListCryptoRate DOT "Polkadot" - ListCryptoRate UNI "Uniswap" - ListCryptoRate BUSD "Binance USD" + ListCryptoRate BTC "Bitcoin" ListCryptoRate BCH "Bitcoin Cash" + ListCryptoRate BUSD "Binance USD" + ListCryptoRate ADA "Cardano" ListCryptoRate LINK "Chainlink" - ListCryptoRate LUNA "Terra" - ListCryptoRate ICP "Internet Computer" - ListCryptoRate WBTC "Wrapped Bitcoin" + ListCryptoRate DOGE "Dogecoin" + ListCryptoRate GALA "Gala" + ListCryptoRate ETH "Ethereum" + ListCryptoRate LTC "Litecoin" + ListCryptoRate TRUMP "Official Trump" + ListCryptoRate DOT "Polkadot" ListCryptoRate MATIC "Polygon" + ListCryptoRate SOL "Solana" ListCryptoRate XLM "Stellar" + ListCryptoRate SUI "Sui" + ListCryptoRate LUNA "Terra" + ListCryptoRate USDT "Tether" + ListCryptoRate WBTC "Wrapped Bitcoin" + ListCryptoRate XRP "XRP" + ListCryptoRate UNI "Uniswap" + ListCryptoRate USDC "USD Coin" } try { - ListCryptoRates | Format-Table -property @{e='CRYPTOCURRENCY';width=28},USD,EUR,RUB,CNY - Write-Host "(by cryptocompare.com • Crypto is volatile and unregulated • Capital at risk • Taxes may apply)" + ListCryptoRates | Format-Table -property @{e='CRYPTOCURRENCY';width=28},'US$','€','CN¥','JP¥' + Write-Host "(by https://www.cryptocompare.com • Crypto is volatile and unregulated • Capital at risk • Taxes may apply)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index cd86c94d1..dfd300860 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index 97a4bc436..a4c179580 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -125,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index 4699ce306..7d4dec1db 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 01/23/2025 12:15:21)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-drives.md b/docs/list-drives.md index 5ea4697b6..4f1bd915c 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index 6599784b8..f396aa0e1 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 5.5 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -93,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index 4fdf3a991..c336b3b48 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 93a72c3c5..286726e6a 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -81,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index 308a1bdb8..a6e18c80c 100644 --- a/docs/list-empty-files.md +++ b/docs/list-empty-files.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -81,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index 4542631bf..247bd60f0 100644 --- a/docs/list-encrypted-files.md +++ b/docs/list-encrypted-files.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -81,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index fb8a9d224..5a25a5901 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index 4fcd8afe3..98cc409f3 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index 6dc98e2e1..4c2c65866 100644 --- a/docs/list-exchange-rates.md +++ b/docs/list-exchange-rates.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value USD Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -95,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-executables.md b/docs/list-executables.md index edd9f2505..2fc840ef5 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -83,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index 2935c4472..33519f01d 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-files.md b/docs/list-files.md index 0ca0c15f9..ce5964a52 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -68,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-folder.md b/docs/list-folder.md index ef5ea65c2..b518ec879 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value * Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -91,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index 6a17abd97..a6e3b539a 100644 --- a/docs/list-fritzbox-calls.md +++ b/docs/list-fritzbox-calls.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Password @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -153,4 +155,4 @@ echo $Result exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index 256b3034d..399eff315 100644 --- a/docs/list-fritzbox-devices.md +++ b/docs/list-fritzbox-devices.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Password @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -105,4 +107,4 @@ $HostTable | format-table -property Active,IPAddress,MACAddress,HostName,Interfa exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index 046b9dce1..6aa995890 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value https://news.yahoo.com/rss/world Accept pipeline input? false + Aliases Accept wildcard characters? false -maxLines @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 24 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -89,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index 2924c0757..ea2ea8662 100644 --- a/docs/list-hidden-files.md +++ b/docs/list-hidden-files.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -81,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-installed-hotfixes.md b/docs/list-installed-hotfixes.md new file mode 100644 index 000000000..feb941e20 --- /dev/null +++ b/docs/list-installed-hotfixes.md @@ -0,0 +1,68 @@ +The *list-installed-hotfixes.ps1* Script +=========================== + +This PowerShell script lists the installed hotfixes. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/list-installed-hotfixes.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./list-installed-hotfixes.ps1 + + + +Source Description HotFixID InstalledBy InstalledOn +------ ----------- -------- ----------- ----------- +MyPC Update KB5054977 NT AUTHORITY\SYSTEM 4/10/2025 12:00:00 AM + +``` + +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 + Lists the installed hotfixes +.DESCRIPTION + This PowerShell script lists the installed hotfixes. +.EXAMPLE + PS> ./list-installed-hotfixes.ps1 + + Source Description HotFixID InstalledBy InstalledOn + ------ ----------- -------- ----------- ----------- + MyPC Update KB5054977 NT AUTHORITY\SYSTEM 4/10/2025 12:00:00 AM +.NOTES + https://github.com/fleschutz/PowerShell +.LINK + Author: Markus Fleschutz | License: CC0 +#> + +try { + Get-Hotfix + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index 47c2e6d4a..a404daba1 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index d7ac74dca..64e78e18d 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index 449599b20..c8cd20f60 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index fcf1cb3ca..df3c7b510 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index 85aa1da92..14f09ae6a 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index ba6ade4b5..9f2122faa 100644 --- a/docs/list-latest-tag.md +++ b/docs/list-latest-tag.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -63,7 +64,7 @@ try { if (-not(Test-Path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" } $Null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } $LatestTagCommit = (git -C "$RepoDir" rev-list --tags --max-count=1) $LatestTagName = (git -C "$RepoDir" describe --tags $LatestTagCommit) @@ -77,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index f2d6a2983..8e2dc2433 100644 --- a/docs/list-latest-tags.md +++ b/docs/list-latest-tags.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -61,7 +62,7 @@ try { if (-not(test-path "$ParentDir" -pathType container)) { throw "Can't access directory: $ParentDir" } $Null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } $Folders = (get-childItem "$ParentDir" -attributes Directory) $FolderCount = $Folders.Count @@ -72,7 +73,7 @@ try { $FolderName = (get-item "$Folder").Name # & git -C "$Folder" fetch --tags -# if ($lastExitCode -ne "0") { throw "'git fetch --tags' failed" } +# if ($lastExitCode -ne 0) { throw "'git fetch --tags' failed" } $LatestTagCommitID = (git -C "$Folder" rev-list --tags --max-count=1) $LatestTag = (git -C "$Folder" describe --tags $LatestTagCommitID) @@ -85,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index c9ca1ac3b..00caae41a 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index 3b36ca075..4a480e64e 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-memos.md b/docs/list-memos.md index 02582ae09..0968a96da 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index a6a917cfb..97e61d1ab 100644 --- a/docs/list-mysql-tables.md +++ b/docs/list-mysql-tables.md @@ -14,6 +14,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -database @@ -22,6 +23,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -dbuser @@ -30,6 +32,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -dbpass @@ -38,6 +41,7 @@ Parameters Position? 4 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -90,4 +94,4 @@ $result = Invoke-MySqlQuery -ConnectionString "server=$server; database=$databa $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index eaa8fad31..2aa4301ef 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index f8a73e3ad..ac0787049 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index 2e3d8ccbe..0fafb0d2e 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index d60cd890f..a876b9e74 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-news.md b/docs/list-news.md index e0ae428fb..d0ec67ce8 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value https://news.yahoo.com/rss/world Accept pipeline input? false + Aliases Accept wildcard characters? false -maxLines @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 24 Accept pipeline input? false + Aliases Accept wildcard characters? false -speed @@ -33,6 +35,7 @@ Parameters Position? 3 Default value 5 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -111,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-nic.md b/docs/list-nic.md index 2f73f0b09..79f4b099c 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index 0ed1d5b84..7d8ed17e4 100644 --- a/docs/list-nina-warnings.md +++ b/docs/list-nina-warnings.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -104,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index ec881789d..5a6947719 100644 --- a/docs/list-old-branches.md +++ b/docs/list-old-branches.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false -searchPattern @@ -23,6 +24,7 @@ Parameters Position? 2 Default value origin/dev/* Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -57,14 +59,14 @@ param([string]$pathToRepo = "$PWD", [string]$searchPattern = "origin/dev/*") try { "(1/3) Searching for Git executable... " & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } "(2/3) Checking local repository..." if (!(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access repo folder: $pathToRepo" } "(3/3) Querying already merged branches with name '$searchPattern'..." $branches = $(git -C "$pathToRepo" branch --list --remotes --no-color --no-column --merged HEAD "$searchPattern") - if ($lastExitCode -ne "0") { throw "'git branch --list' failed" } + if ($lastExitCode -ne 0) { throw "'git branch --list' failed" } "" "LAST COMMIT DATE BRANCH NAME" @@ -84,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index 8efd9d9d0..d41216415 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index 4909330ef..af7835073 100644 --- a/docs/list-os-updates.md +++ b/docs/list-os-updates.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value https://distrowatch.com/news/dwd.xml Accept pipeline input? false + Aliases Accept wildcard characters? false -MaxCount @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 30 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -89,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-os.md b/docs/list-os.md index 679860ebd..cbb699430 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index 7fdf84a77..bdd2f24ba 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index c153840d0..44e65073d 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-passwords.md b/docs/list-passwords.md index 6b800e548..3c79360aa 100644 --- a/docs/list-passwords.md +++ b/docs/list-passwords.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 15 Accept pipeline input? false + Aliases Accept wildcard characters? false -Columns @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 6 Accept pipeline input? false + Aliases Accept wildcard characters? false -Rows @@ -33,6 +35,7 @@ Parameters Position? 3 Default value 30 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -111,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-pins.md b/docs/list-pins.md index a2f36fb20..76368a830 100644 --- a/docs/list-pins.md +++ b/docs/list-pins.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 5 Accept pipeline input? false + Aliases Accept wildcard characters? false -Columns @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 12 Accept pipeline input? false + Aliases Accept wildcard characters? false -Rows @@ -33,6 +35,7 @@ Parameters Position? 3 Default value 30 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -100,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index b065d77ff..9d03b46e5 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index 1f98b518c..510447e01 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index c0cdf030d..3f57e9dad 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index 2daeff1c0..877514755 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index 0fb8027fe..7f4a8fb81 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 4792f9ed3..2c1b67369 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-processes.md b/docs/list-processes.md index 0fbafafd8..34fe2c4c8 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index dd7c6a90d..01f5efb83 100644 --- a/docs/list-pull-requests.md +++ b/docs/list-pull-requests.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -60,7 +61,7 @@ param([string]$RepoDir = "$PWD") try { Write-Progress "(1/3) Searching for Git executable... " $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Progress "(2/3) Checking local repository..." if (!(Test-Path "$RepoDir" -pathType container)) { throw "Can't access folder: $RepoDir" } @@ -68,14 +69,14 @@ try { Write-Progress "(3/3) Fetching latest updates..." & git -C "$RepoDir" fetch --all --force --quiet - if ($lastExitCode -ne "0") { throw "'git fetch --all' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch --all' failed with exit code $lastExitCode" } Write-Progress -completed "Done." " " "Commit ID Reference" "--------- ---------" & git -C "$RepoDir" ls-remote origin 'pull/*/head' - if ($lastExitCode -ne "0") { throw "'git ls-remote' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git ls-remote' failed with exit code $lastExitCode" } exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -83,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-ram.md b/docs/list-ram.md index a6ad8f91c..1d28aaadc 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index 0112786d4..5989b3f8f 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -81,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index 28a819897..8994c9167 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-repos.md b/docs/list-repos.md index c6ddd440f..d117b6607 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -29,9 +30,9 @@ PS> ./list-repos.ps1 C:\MyRepos -REPOSITORY LATEST TAG BRANCH REMOTE URL STATUS ----------- ---------- ------ ---------- ------ -📂cmake v3.30.2 master https://github.com/Kitware/CMake ✅clean ↓0 +REPOSITORY LATEST TAG BRANCH REMOTE URL STATUS +---------- ---------- ------ ---------- ------ +📂cmake v3.30.2 master https://github.com/Kitware/CMake ↓0 ✅clean ... ``` @@ -57,9 +58,9 @@ Script Content .EXAMPLE PS> ./list-repos.ps1 C:\MyRepos - REPOSITORY LATEST TAG BRANCH REMOTE URL STATUS - ---------- ---------- ------ ---------- ------ - 📂cmake v3.30.2 master https://github.com/Kitware/CMake ✅clean ↓0 + REPOSITORY LATEST TAG BRANCH REMOTE URL STATUS + ---------- ---------- ------ ---------- ------ + 📂cmake v3.30.2 master https://github.com/Kitware/CMake ↓0 ✅clean ... .LINK https://github.com/fleschutz/PowerShell @@ -85,7 +86,7 @@ function ListRepos { $status = (git -C "$dir" status --short) if ("$status" -eq "") { $status = "✅clean" } elseif ("$status" -like " M *") { $status = "⚠️changed" } - New-Object PSObject -property @{'REPOSITORY'="📂$dirName";'LATEST TAG'="$latestTag";'BRANCH'="$branch";'REMOTE URL'="$remoteURL";'STATUS'="$status ↓$numCommits"} + New-Object PSObject -property @{'REPOSITORY'="📂$dirName";'LATEST TAG'="$latestTag";'BRANCH'="$branch";'REMOTE URL'="$remoteURL ↓$numCommits";'STATUS'="$status"} } } @@ -93,9 +94,9 @@ try { if (-not(Test-Path "$parentDir" -pathType container)) { throw "Can't access parent directory at: $parentDir" } $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } - ListRepos | Format-Table -property @{e='REPOSITORY';width=19},@{e='LATEST TAG';width=16},@{e='BRANCH';width=19},@{e='REMOTE URL';width=47},@{e='STATUS';width=12} + ListRepos | Format-Table -property @{e='REPOSITORY';width=19},@{e='LATEST TAG';width=16},@{e='BRANCH';width=19},@{e='REMOTE URL';width=50},@{e='STATUS';width=10} exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -103,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index c32ebd337..cdf0d664f 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index fe1519198..582d23f07 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-services.md b/docs/list-services.md index 0df0fe3b7..1b686e3e5 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index da86c3cf2..39fd68325 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index a241c64f4..8219504f4 100644 --- a/docs/list-sql-tables.md +++ b/docs/list-sql-tables.md @@ -16,6 +16,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -database @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -username @@ -32,6 +34,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -password @@ -40,6 +43,7 @@ Parameters Position? 4 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -93,4 +97,4 @@ $result = Invoke-SqlServerQuery -Credential $creds -ConnectionTimeout 10000 -Dat $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index 0f486ad25..6dbb2bd81 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index c2ab1d57f..88c46ecc5 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -60,7 +61,7 @@ param([string]$RepoDir = "$PWD") try { Write-Host "⏳ (1/4) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } $RepoDirName = (Get-Item "$RepoDir").Name Write-Host "⏳ (2/4) Checking Git repository... 📂$RepoDirName" @@ -68,11 +69,11 @@ try { Write-Host "⏳ (3/4) Fetching latest updates... " & git -C "$RepoDir" fetch - if ($lastExitCode -ne "0") { throw "'git fetch' failed" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed" } Write-Host "⏳ (4/4) Listing submodules... " & git -C "$RepoDir" submodule - if ($lastExitCode -ne "0") { throw "'git submodule' failed" } + if ($lastExitCode -ne 0) { throw "'git submodule' failed" } exit 0 # success } catch { @@ -81,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index 71333a88b..7efa66b33 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index 6542998c0..a066eea74 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index e1839ab25..f3612df96 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -81,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index e5191ed87..c01006818 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-tags.md b/docs/list-tags.md index dc33b87bf..43aa73985 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false -searchPattern @@ -24,6 +25,7 @@ Parameters Position? 2 Default value * Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -83,25 +85,25 @@ param([string]$repoDir = "$PWD", [string]$searchPattern="*") try { Write-Progress "(1/4) Searching for Git executable... " $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Progress "(2/4) Checking local repository... " if (-not(Test-Path "$repoDir" -pathType container)) { throw "Can't access directory: $repoDir" } Write-Progress "(3/4) Fetching newer Git tags..." & git -C "$repoDir" fetch --tags - if ($lastExitCode -ne "0") { throw "'git fetch --tags' failed" } + if ($lastExitCode -ne 0) { throw "'git fetch --tags' failed" } Write-Progress "(4/4) Fetching out-dated Git tags..." & git -C "$repoDir" fetch --prune-tags - if ($lastExitCode -ne "0") { throw "'git fetch --prune-tags' failed" } + if ($lastExitCode -ne 0) { throw "'git fetch --prune-tags' failed" } Write-Progress -completed "Done." "" "Tag Commit Message" "--- --------------" & git -C "$repoDir" tag --list "$searchPattern" -n - if ($lastExitCode -ne "0") { throw "'git tag --list' failed" } + if ($lastExitCode -ne 0) { throw "'git tag --list' failed" } exit 0 # success } catch { @@ -110,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index cc8221a02..b81d9d79d 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index 71e679fbb..dc9e0df56 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index f4d04b736..878c7782c 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index 47187e300..49b4ff185 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index 0c2b475d8..3f444fccc 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false -days @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 100 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -95,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-updates.md b/docs/list-updates.md index ebde8bfbe..ca29a2bd7 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -2,8 +2,7 @@ The *list-updates.ps1* Script =========================== This PowerShell script queries the latest available software updates for the -local machine and lists it. -NOTE: Use the script 'install-updates.ps1' to install the listed updates. +local machine and lists it (for installation use 'install-updates.ps1'). Parameters ---------- @@ -19,12 +18,13 @@ Example ------- ```powershell PS> ./list-updates.ps1 +⏳ Querying Microsoft Store... -Name Id Version Available Source ------------------------------------------------------------------------------- -Git Git.Git 2.43.0 2.44.0 winget +Name Id Version Available +---------------------------------------------------------------- +Git Git.Git 2.43.0 2.44.0 ... ``` @@ -45,14 +45,14 @@ Script Content Lists software updates .DESCRIPTION This PowerShell script queries the latest available software updates for the - local machine and lists it. - NOTE: Use the script 'install-updates.ps1' to install the listed updates. + local machine and lists it (for installation use 'install-updates.ps1'). .EXAMPLE PS> ./list-updates.ps1 + ⏳ Querying Microsoft Store... - Name Id Version Available Source - ------------------------------------------------------------------------------ - Git Git.Git 2.43.0 2.44.0 winget + Name Id Version Available + ---------------------------------------------------------------- + Git Git.Git 2.43.0 2.44.0 ... .LINK https://github.com/fleschutz/PowerShell @@ -62,21 +62,39 @@ Script Content try { if ($IsLinux) { - "⏳ (1/2) Querying package updates..." - & sudo apt update - & sudo apt list --upgradable - "⏳ (2/2) Querying Snap updates..." - & sudo snap refresh --list + if (Get-Command apt -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying APT package updates..." -foregroundColor green + & sudo apt update + & sudo apt list --upgradable + } + if (Get-Command snap -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Snap updates..." -foregroundColor green + & sudo snap refresh --list + } } elseif ($IsMacOS) { - throw "Sorry, MacOS not supported yet" + if (Get-Command brew -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Homebrew updates..." -foregroundColor green + & brew outdated + } } else { - Write-Progress "Querying updates from Microsoft Store and winget..." - " " - & winget upgrade --include-unknown - Write-Progress -completed "Done." + if (Get-Command winget -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Microsoft Store..." -foregroundColor green + & winget upgrade --include-unknown --source=msstore + + Write-Host "`n⏳ Querying WinGet..." -foregroundColor green + & winget upgrade --include-unknown --source=winget + } + if (Get-Command choco -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Chocolatey..." -foregroundColor green + & choco outdated + } + if (Get-Command scoop -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Scoop..." -foregroundColor green + & scoop status + } } " " - "NOTE: Execute script 'install-updates.ps1' to install the listed updates." + "💡 Execute 'install-updates.ps1' to install the listed updates." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -84,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index 7461586de..cc7cb276f 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 15ca4393e..1e8d28143 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index 5dc6e912a..bbbd00444 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-voices.md b/docs/list-voices.md index 1e865c104..2fb813de6 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-weather.md b/docs/list-weather.md index 98171ac7c..14a680523 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -92,7 +93,7 @@ function GetDescription([string]$text) { "Moderate snow" { return "❄️ moderate snow" } "Mist" { return "🌫 misty" } "Overcast" { return "☁️ overcast" } - "Partly cloudy" { return "⛅️partly cloudy" } + "Partly cloudy" { return "⛅️ partly cloudy" } "Patchy heavy snow" { return "❄️ patchy heavy snow ⚠️" } "Patchy light drizzle" { return "💧 patchy light drizzle" } "Patchy light rain" { return "💧 patchy light rain" } @@ -106,8 +107,8 @@ function GetDescription([string]$text) { "Patchy snow nearby" { return "❄️ patchy snow nearby" } "Patchy snow possible" { return "❄️ patchy snow possible" } "Sunny" { return "☀️ sunny" } - "Thundery outbreaks possible" { return "⚡️thundery outbreaks possible" } - "Thundery outbreaks in nearby" { return "⚡️thundery outbreaks in nearby" } + "Thundery outbreaks possible" { return "⚡️ thundery outbreaks possible" } + "Thundery outbreaks in nearby" { return "⚡️ thundery outbreaks in nearby" } default { return $text } } } @@ -178,4 +179,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index 9add0a380..596bafa9f 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index feafbff40..cf91ee90f 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index a0a74ed34..344ea1eb4 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index b89e17fb7..7ad02d4ac 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 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/locate-city.md b/docs/locate-city.md index fb2fb4e8d..f894f1dab 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -87,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index 1fe37ba40..b99ff0fec 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -46,4 +46,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:22)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index 96467889e..66cc7feb5 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index eecc405d2..7131f44b9 100644 --- a/docs/locate-zip-code.md +++ b/docs/locate-zip-code.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -ZipCode @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -101,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index eb862d705..f2b7a162f 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/log-off.md b/docs/log-off.md index 345f79652..c0620bdd2 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/make-install.md b/docs/make-install.md index 052d9ed48..5fab3d54f 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index 0af064477..d2db95946 100644 --- a/docs/measure-BubbleSort.md +++ b/docs/measure-BubbleSort.md @@ -19,6 +19,7 @@ Parameters Position? 1 Default value 1000 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -92,4 +93,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index c7a6eccad..d1f91f8e7 100644 --- a/docs/measure-BucketSort.md +++ b/docs/measure-BucketSort.md @@ -24,6 +24,7 @@ Parameters Position? 1 Default value 1000 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -120,4 +121,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index 505f692a5..750f7518b 100644 --- a/docs/measure-CountingSort.md +++ b/docs/measure-CountingSort.md @@ -24,6 +24,7 @@ Parameters Position? 1 Default value 1000 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -111,4 +112,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index dea1d21a2..393c48122 100644 --- a/docs/measure-HeapSort.md +++ b/docs/measure-HeapSort.md @@ -22,6 +22,7 @@ Parameters Position? 1 Default value 1000 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -126,4 +127,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index d2ad2de50..fed9dcb82 100644 --- a/docs/measure-InsertionSort.md +++ b/docs/measure-InsertionSort.md @@ -18,6 +18,7 @@ Parameters Position? 1 Default value 1000 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -95,4 +96,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index 61d638680..a8297c390 100644 --- a/docs/measure-MergeSort.md +++ b/docs/measure-MergeSort.md @@ -20,6 +20,7 @@ Parameters Position? 1 Default value 1000 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -120,4 +121,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index 7ec75ff0d..42180aba9 100644 --- a/docs/measure-QuickSort.md +++ b/docs/measure-QuickSort.md @@ -19,6 +19,7 @@ Parameters Position? 1 Default value 1000 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -101,4 +102,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index ef85ae0e6..4bd4fa2ff 100644 --- a/docs/measure-SelectionSort.md +++ b/docs/measure-SelectionSort.md @@ -20,6 +20,7 @@ Parameters Position? 1 Default value 1000 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -94,4 +95,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index 23b22e648..57e748469 100644 --- a/docs/measure-sorting-algorithms.md +++ b/docs/measure-sorting-algorithms.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 3000 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -73,4 +74,4 @@ param([int]$numIntegers = 3000) exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index 805ba7478..ec6d41f8e 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index c3dd591f7..81a594426 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index 20835fb4c..4d9320dc8 100644 --- a/docs/move-mouse-pointer.md +++ b/docs/move-mouse-pointer.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value -1 Accept pipeline input? false + Aliases Accept wildcard characters? false -y @@ -24,6 +25,7 @@ Parameters Position? 2 Default value -1 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -84,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/move-vm.md b/docs/move-vm.md index e69067138..414c37f86 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/my-profile.md b/docs/my-profile.md index 4cb547d43..50739d5db 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-branch.md b/docs/new-branch.md index eda28daae..137254033 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -pathToRepo @@ -24,6 +25,7 @@ Parameters Position? 2 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -89,35 +91,35 @@ try { Write-Host "⏳ (1/6) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2/6) Checking local repository... $pathToRepo" if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access repo folder: $pathToRepo" } $result = (git -C "$pathToRepo" status) - if ($lastExitCode -ne "0") { throw "'git status' in $pathToRepo failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git status' in $pathToRepo failed with exit code $lastExitCode" } $repoName = (Get-Item "$pathToRepo").Name Write-Host "⏳ (3/6) Fetching remote updates... " -noNewline & git -C "$pathToRepo" remote get-url origin - if ($lastExitCode -ne "0") { throw "'git remote get-url origin' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git remote get-url origin' failed with exit code $lastExitCode" } & git -C "$pathToRepo" fetch --all --recurse-submodules --prune --prune-tags --force - if ($lastExitCode -ne "0") { throw "'git fetch' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed with exit code $lastExitCode" } $currentBranch = (git -C "$pathToRepo" rev-parse --abbrev-ref HEAD) - if ($lastExitCode -ne "0") { throw "'git rev-parse' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git rev-parse' failed with exit code $lastExitCode" } "⏳ (4/6) Creating new branch..." & git -C "$pathToRepo" checkout -b "$newBranch" - if ($lastExitCode -ne "0") { throw "'git checkout -b $newBranch' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git checkout -b $newBranch' failed with exit code $lastExitCode" } "⏳ (5/6) Pushing updates..." & git -C "$pathToRepo" push origin "$newBranch" - if ($lastExitCode -ne "0") { throw "'git push origin $newBranch' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git push origin $newBranch' failed with exit code $lastExitCode" } "⏳ (6/6) Updating submodules..." & git -C "$pathToRepo" submodule update --init --recursive - if ($lastExitCode -ne "0") { throw "'git submodule update' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Created branch '$newBranch' based on '$currentBranch' in 📂$repoName repo in $($elapsed)s." @@ -128,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 1861caf8d..5a77c18d0 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-email.md b/docs/new-email.md index 9c61df728..5cd2e001d 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value markus@fleschutz.de Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -67,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-junction.md b/docs/new-junction.md index 67f8e8cc4..3fbc86dc1 100644 --- a/docs/new-junction.md +++ b/docs/new-junction.md @@ -1,29 +1,31 @@ The *new-junction.ps1* Script =========================== -This PowerShell script creates a new junction, linking to a target. +This PowerShell script creates a new junction, linking to a target folder. The target folder can reside on another disk. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-junction.ps1 [[-junction] ] [[-target] ] [] +/Repos/PowerShell/scripts/new-junction.ps1 [[-junction] ] [[-targetDir] ] [] -junction - Specifies the file path to the new junction + Specifies the path and filename of the new junction Required? false Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false --target - Specifies the file path to the target +-targetDir + Specifies the path to the target directory Required? false Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -34,8 +36,8 @@ Parameters Example ------- ```powershell -PS> ./new-junction.ps1 D:\Win10 C:\Windows -✅ Created new junction 'D:\Windows' linking to: C:\Windows +PS> ./new-junction.ps1 C:\User\Joe\D_drive D: +✅ New junction 'C:\User\Joe\D_drive' created, linking to: 📂D: ``` @@ -54,30 +56,30 @@ Script Content .SYNOPSIS Create a junction .DESCRIPTION - This PowerShell script creates a new junction, linking to a target. + This PowerShell script creates a new junction, linking to a target folder. The target folder can reside on another disk. .PARAMETER junction - Specifies the file path to the new junction -.PARAMETER target - Specifies the file path to the target + Specifies the path and filename of the new junction +.PARAMETER targetDir + Specifies the path to the target directory .EXAMPLE - PS> ./new-junction.ps1 D:\Win10 C:\Windows - ✅ Created new junction 'D:\Windows' linking to: C:\Windows + PS> ./new-junction.ps1 C:\User\Joe\D_drive D: + ✅ New junction 'C:\User\Joe\D_drive' created, linking to: 📂D: .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$junction = "", [string]$target = "") +param([string]$junction = "", [string]$targetDir = "") try { - if ($junction -eq "" ) { $symlink = Read-Host "Enter new junction filename" } - if ($target -eq "" ) { $target = Read-Host "Enter path to target" } + if ($junction -eq "" ) { $junction = Read-Host "Enter the new junction's path and filename" } + if ($targetDir -eq "" ) { $target = Read-Host "Enter the path to the target directory " } - New-Item -path "$symlink" -itemType Junction -value "$target" - if ($lastExitCode -ne "0") { throw "Command 'New-Item' has failed" } + New-Item -path "$junction" -itemType Junction -value "$targetDir" + if ($lastExitCode -ne 0) { throw "Command 'New-Item' has failed" } - "✅ Created new junction '$symlink' linking to: $target" + "✅ New junction '$junction' created, linking to: 📂$targetDir" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -85,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index c365fa926..fcf8931f1 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-markdown-file.md b/docs/new-markdown-file.md new file mode 100644 index 000000000..8f8d77e18 --- /dev/null +++ b/docs/new-markdown-file.md @@ -0,0 +1,78 @@ +The *new-markdown-file.ps1* Script +=========================== + +This PowerShell script creates a new Markdown file from template file at: ../data/templates/Markdown.md. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/new-markdown-file.ps1 [[-path] ] [] + +-path + Specifies the path and new filename + + 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> ./new-markdown-file.ps1 letter.md +✅ New Markdown file 'letter.md' created from template 'Markdown.md'. + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Creates a new Markdown file +.DESCRIPTION + This PowerShell script creates a new Markdown file from template file at: ../data/templates/Markdown.md. +.PARAMETER path + Specifies the path and new filename +.EXAMPLE + PS> ./new-markdown-file.ps1 letter.md + ✅ New Markdown file 'letter.md' created from template 'Markdown.md'. +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$path = "") + +try { + if ($path -eq "" ) { $path = Read-Host "Enter the new filename" } + + $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/Markdown.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'." + exit 0 # success +} catch { + "⚠️ Error: $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-power-plan.md b/docs/new-power-plan.md index bcdd08d62..d2cec6e02 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 4dba68219..97ba836b4 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -imageSize @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -fileFormat @@ -33,6 +35,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -110,4 +113,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index 40f527bbd..8afdf1684 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-script.md b/docs/new-script.md index 53e08571a..05df11623 100644 --- a/docs/new-script.md +++ b/docs/new-script.md @@ -1,20 +1,21 @@ The *new-script.ps1* Script =========================== -This PowerShell script creates a new PowerShell script file by using the template file ../data/template.ps1. +This PowerShell script creates a new PowerShell script file by using the template file at: ../data/templates/PowerShell.ps1. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-script.ps1 [[-filename] ] [] +/Repos/PowerShell/scripts/new-script.ps1 [[-path] ] [] --filename - Specifies the path and filename to the new script +-path + Specifies the path and new filename Required? false Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -25,8 +26,8 @@ Parameters Example ------- ```powershell -PS> ./new-script myscript.ps1 -✅ Created the new 'myscript.ps1' PowerShell script in 1 sec +PS> ./new-script.ps1 bot.ps1 +✅ New PowerShell script 'bot.ps1' created from template 'PowerShell.ps1'. ``` @@ -45,33 +46,33 @@ Script Content .SYNOPSIS Creates a new PowerShell script .DESCRIPTION - This PowerShell script creates a new PowerShell script file by using the template file ../data/template.ps1. -.PARAMETER filename - Specifies the path and filename to the new script + This PowerShell script creates a new PowerShell script file by using the template file at: ../data/templates/PowerShell.ps1. +.PARAMETER path + Specifies the path and new filename .EXAMPLE - PS> ./new-script myscript.ps1 - ✅ Created the new 'myscript.ps1' PowerShell script in 1 sec + PS> ./new-script.ps1 bot.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]$filename = "") +param([string]$path = "") try { - if ($filename -eq "" ) { $filename = Read-Host "Enter the new filename" } - $stopWatch = [system.diagnostics.stopwatch]::startNew() + if ($path -eq "" ) { $path = Read-Host "Enter the new filename" } - Copy-Item "$PSScriptRoot/../data/template.ps1" "$filename" + $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/PowerShell.ps1" + Copy-Item $pathToTemplate "$path" + if ($lastExitCode -ne 0) { throw "Can't copy to: $path" } - [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Created the new '$filename' PowerShell script in $elapsed sec" + "✅ New PowerShell script '$path' created from template 'PowerShell.ps1'." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index 5f55a6374..c9e47d708 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -target @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -description @@ -33,6 +35,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -100,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index a3541aced..4903f35b5 100644 --- a/docs/new-ssh-key.md +++ b/docs/new-ssh-key.md @@ -50,7 +50,7 @@ Script Content try { & ssh-keygen - if ($lastExitCode -ne "0") { throw "ssh-keygen failed" } + if ($lastExitCode -ne 0) { throw "ssh-keygen failed" } if (Test-Path "~/.ssh/id_ed25519.pub") { $publicKey = Get-Content "~/.ssh/id_ed25519.pub" @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index 80cc5f827..5240772ab 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -target @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,7 +77,7 @@ try { if ($target -eq "" ) { $target = Read-Host "Enter path to target" } New-Item -path "$symlink" -itemType SymbolicLink -value "$target" - if ($lastExitCode -ne "0") { throw "Command 'New-Item' has failed" } + if ($lastExitCode -ne 0) { throw "Command 'New-Item' has failed" } "✅ Created new symlink '$symlink' linking to: $target" exit 0 # success @@ -85,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-tab.md b/docs/new-tab.md new file mode 100644 index 000000000..fc048e434 --- /dev/null +++ b/docs/new-tab.md @@ -0,0 +1,61 @@ +The *new-tab.ps1* Script +=========================== + +This PowerShell script creates and opens a new tab in Windows Terminal. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/new-tab.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./new-tab.ps1 +✅ Created a new tab in Windows Terminal. + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Create a new tab in Windows Terminal +.DESCRIPTION + This PowerShell script creates and opens a new tab in Windows Terminal. +.EXAMPLE + PS> ./new-tab.ps1 + ✅ Created a new tab in Windows Terminal. +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + & wt.exe --window 0 new-tab + if ($lastExitCode -ne 0) { throw "Executing wt.exe has failed with exit code $lastExitCode" } + + "✅ Created a new tab in Windows Terminal." + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-tag.md b/docs/new-tag.md index 8709f3853..8711fe44e 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -RepoDir @@ -24,6 +25,7 @@ Parameters Position? 2 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -77,20 +79,20 @@ try { set-location "$RepoDir" $Null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } $Result = (git status) - if ($lastExitCode -ne "0") { throw "'git status' failed in $RepoDir" } + if ($lastExitCode -ne 0) { throw "'git status' failed in $RepoDir" } if ("$Result" -notmatch "nothing to commit, working tree clean") { throw "Repository is NOT clean: $Result" } & "$PSScriptRoot/fetch-repo.ps1" - if ($lastExitCode -ne "0") { throw "Script 'fetch-repo.ps1' failed" } + if ($lastExitCode -ne 0) { throw "Script 'fetch-repo.ps1' failed" } & git tag "$TagName" - if ($lastExitCode -ne "0") { throw "Error: 'git tag $TagName' failed!" } + if ($lastExitCode -ne 0) { throw "Error: 'git tag $TagName' failed!" } & git push origin "$TagName" - if ($lastExitCode -ne "0") { throw "Error: 'git push origin $TagName' failed!" } + if ($lastExitCode -ne 0) { throw "Error: 'git push origin $TagName' failed!" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✅ created new tag '$TagName' in $Elapsed sec" @@ -101,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-text-file.md b/docs/new-text-file.md new file mode 100644 index 000000000..d66cfe4fc --- /dev/null +++ b/docs/new-text-file.md @@ -0,0 +1,78 @@ +The *new-text-file.ps1* Script +=========================== + +This PowerShell script creates a new .txt file from template file at: ../data/templates/Text.txt. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/new-text-file.ps1 [[-path] ] [] + +-path + Specifies the path and new filename + + 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> ./new-text-file.ps1 README.txt +✅ New text file 'README.txt' created from template 'Text.txt'. + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Creates a new text file +.DESCRIPTION + This PowerShell script creates a new .txt file from template file at: ../data/templates/Text.txt. +.PARAMETER path + Specifies the path and new filename +.EXAMPLE + PS> ./new-text-file.ps1 README.txt + ✅ New text file 'README.txt' created from template 'Text.txt'. +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$path = "") + +try { + if ($path -eq "" ) { $path = Read-Host "Enter the new filename" } + + $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/Text.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'." + exit 0 # success +} catch { + "⚠️ Error: $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-user.md b/docs/new-user.md index 63382700e..bac830aaf 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -14,6 +14,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -76,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index f5a355fbc..e6d50b0e6 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index 84ac1a944..0df1067ed 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/open-URL.md b/docs/open-URL.md index 0391d065c..f76842553 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -text @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -86,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index 7c7717efd..6e2fcde0a 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index 3ca50b538..ab786efa7 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index d6fc7d4b8..1cc5b6012 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index bb8a9739c..980036813 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index 23cb3b15e..401c35c08 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index 7ee674a1d..d622c89f0 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index 46c6ac490..3c37b155c 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value http://www.fleschutz.de Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -66,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-clock.md b/docs/open-clock.md index e3a91b067..bbc8c92cf 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index 0601ef85b..3b20e55f1 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index 8e13cea9e..78f8ad30e 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 299eac808..725ce7c2b 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -1,7 +1,7 @@ The *open-dashboards.ps1* Script =========================== -This PowerShell script launches the Web browser with 20 tabs of popular dashboard websites. +This PowerShell script launches the Web browser with 24 tabs of popular dashboard websites. Parameters ---------- @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 120 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -26,7 +27,7 @@ Example ------- ```powershell PS> ./open-dashboards.ps1 -✅ Launching Web browser with 20 tabs: Toggl Track•Google Calendar•Google Mail, ... +✅ Launching Web browser with 24 tabs: Toggl Track•Google Calendar•Google Mail, ... NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically. ... @@ -45,14 +46,14 @@ Script Content ```powershell <# .SYNOPSIS - Open 20 web dashboards + Open Web dashboards .DESCRIPTION - This PowerShell script launches the Web browser with 20 tabs of popular dashboard websites. + This PowerShell script launches the Web browser with 24 tabs of popular dashboard websites. .PARAMETER timeInterval Specifies the time interval between each tab (110ms per default) .EXAMPLE PS> ./open-dashboards.ps1 - ✅ Launching Web browser with 20 tabs: Toggl Track•Google Calendar•Google Mail, ... + ✅ Launching Web browser with 24 tabs: Toggl Track•Google Calendar•Google Mail, ... NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically. ... .LINK @@ -68,7 +69,7 @@ try { $table = Import-CSV "$PSScriptRoot/../data/popular-dashboards.csv" Write-Progress -completed "Done." - Write-Host "✅ Launching Web browser with 20 tabs: " -noNewline + Write-Host "✅ Launching Web browser with $($table.Count) tabs: " -noNewline foreach($row in $table) { Write-Host "$($row.NAME)•" -noNewline & "$PSScriptRoot/open-default-browser.ps1" "$($row.URL)" @@ -83,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index f4022fb52..418b17cf7 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index 89c86d455..cdcd6db7e 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value http://www.fleschutz.de Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -66,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index 066097658..02c761a71 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index 08c43b5ee..6d3cc3356 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index 35fe8e206..061108c9d 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index 78aff2ab5..1f24cbcec 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index 34c6b6672..01132f99d 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index 49aca885e..0c0aa6cac 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-edge.md b/docs/open-edge.md index 90ad4c8d0..4e6d4e43b 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index fd4131b5c..e93974fd0 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index 343c13fce..36ec5a911 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index 64d97dc55..efb15c425 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index ae7a4ac1a..92f18dca4 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -70,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index 6f79e366c..614d07628 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index 1b87c2a0f..eb7b53b22 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value http://www.fleschutz.de Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -73,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index c34655b82..177d20267 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index 5a65521d0..9332b5545 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index 65a135f5d..3871329dd 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index 51472d71d..cc454af44 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index aaa7811fd..fdd8cb995 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index 3fa65e9c5..728f7a2cc 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index 1aedd11d9..faaac50ef 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 5b282860a..9f26a33d1 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index 1bf4b42f4..812ff9874 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index 96d44522f..d73860699 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index fb55487f9..e992c57c4 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index 1ce41ac59..fbbd27d02 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index 7480ca9b8..447af703d 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index ce00f9747..7942dfd65 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index d133c1add..a391cd760 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index 2cfd2193f..07b894301 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index 4bfb389e1..46acc51fc 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index c70449eab..81f06db6b 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index 3112a1839..ba794d0b3 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index bc610e86d..4cfbc8e25 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index 9a05b07d9..b43992df7 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index 45b2ca79d..fe6d7d4ed 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index e3104ed51..582df9d76 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index c28295599..9889ef95c 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index e5bb5df4f..84f45e2b9 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index 04aea656f..7b41bc1d5 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index ad219e58e..2dc4c6c11 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index ddb8949dc..bdc311054 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index 47a7dde82..b3d428dc7 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index 900699655..58a1d36c6 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index b48370bb4..6fd36a574 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index 8b7e95376..0a2b602b6 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -47,4 +47,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index 163e3e589..63635130a 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index 789471338..522726bc4 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index e66416b1a..14b9974dd 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -64,4 +65,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index f3cb7fd6e..1cd75275f 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index 3dcfbdd5d..869d8e309 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 3711a78ad..1f0597eee 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index 1fc25f8d6..6b9e81558 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index 20202ce4c..777d071c6 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-skype.md b/docs/open-skype.md index 4cfa01c5c..b1f73b65c 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index 55ee04c24..9d8ba8b13 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index 778f5ffb9..0f461f62c 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index b0de6119b..103f2250a 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index b9b0d2ee6..8cbfc3808 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 9ee6df1d9..31be41f02 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index 9c2474829..6557a2c7d 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index f74143e8b..7638ac383 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index 54d7a55cb..d61d71d5d 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index 80eb015e2..23bd77062 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 01/23/2025 12:15:23)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index 925751f41..3e96a188f 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -45,4 +45,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index 15edd6f52..f2bcf0ad1 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index b2ca09f94..ad8f6cb9d 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index b5b575eb3..48c2e226f 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 502480aa6..415582716 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index 776361e93..355d6e1f5 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index a6c2e29af..acc07f5f4 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/open-xing.md b/docs/open-xing.md index 6ef5fe47c..f7f1d5a6a 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index ae41ccd15..6aee80027 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -16,6 +16,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -CommitMessage @@ -25,6 +26,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Branches @@ -34,6 +36,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -RepoDir @@ -43,6 +46,7 @@ Parameters Position? 4 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -108,39 +112,39 @@ try { "🍒 Switching to branch $Branch ..." & git checkout --recurse-submodules --force $Branch - if ($lastExitCode -ne "0") { throw "'git checkout $Branch' failed" } + if ($lastExitCode -ne 0) { throw "'git checkout $Branch' failed" } "🍒 Updating submodules..." & git submodule update --init --recursive - if ($lastExitCode -ne "0") { throw "'git submodule update' failed" } + if ($lastExitCode -ne 0) { throw "'git submodule update' failed" } "🍒 Cleaning the repository from untracked files..." & git clean -fdx -f - if ($lastExitCode -ne "0") { throw "'git clean -fdx -f' failed" } + if ($lastExitCode -ne 0) { throw "'git clean -fdx -f' failed" } & git submodule foreach --recursive git clean -fdx -f - if ($lastExitCode -ne "0") { throw "'git clean -fdx -f' in submodules failed" } + if ($lastExitCode -ne 0) { throw "'git clean -fdx -f' in submodules failed" } "🍒 Pulling latest updates..." & git pull --recurse-submodules - if ($lastExitCode -ne "0") { throw "'git pull' failed" } + if ($lastExitCode -ne 0) { throw "'git pull' failed" } "🍒 Checking the status..." $Result = (git status) - if ($lastExitCode -ne "0") { throw "'git status' failed" } + if ($lastExitCode -ne 0) { throw "'git status' failed" } if ("$Result" -notmatch "nothing to commit, working tree clean") { throw "Branch is NOT clean: $Result" } "🍒 Cherry picking..." & git cherry-pick --no-commit "$CommitID" - if ($lastExitCode -ne "0") { throw "'git cherry-pick $CommitID' failed" } + if ($lastExitCode -ne 0) { throw "'git cherry-pick $CommitID' failed" } "🍒 Committing..." & git commit -m "$CommitMessage" - if ($lastExitCode -ne "0") { throw "'git commit' failed" } + if ($lastExitCode -ne 0) { throw "'git commit' failed" } "🍒 Pushing..." & git push - if ($lastExitCode -ne "0") { throw "'git push' failed" } + if ($lastExitCode -ne 0) { throw "'git push' failed" } } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✅ cherry picked $CommitID into $NumBranches branches in $Elapsed sec" @@ -151,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/ping-host.md b/docs/ping-host.md index c03f8bab3..2a05270bc 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value x.com Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -26,7 +27,7 @@ Example ------- ```powershell PS> ./ping-host.ps1 x.com -✅ Host 'x.com' with 20ms latency at IP 104.244.42.1 is up 👍 +✅ 'x.com' is online (20ms to IP 104.244.42.1) ``` @@ -50,7 +51,7 @@ Script Content Specifies the hostname or IP address to ping (x.com by default) .EXAMPLE PS> ./ping-host.ps1 x.com - ✅ Host 'x.com' with 20ms latency at IP 104.244.42.1 is up 👍 + ✅ 'x.com' is online (20ms to IP 104.244.42.1) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -65,14 +66,14 @@ try { [Threading.Tasks.Task]::WaitAll($tasks) foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { - Write-Output "✅ Host '$hostname' with $($ping.RoundtripTime)ms latency at IP $($ping.Address) is up 👍" + Write-Output "✅ '$hostname' is online ($($ping.RoundtripTime / 2)ms to IP $($ping.Address))" exit 0 # success } else { Write-Output "⚠️ No reply from '$hostname' (IP $($ping.Address)) - check the connection or maybe the host is down." exit 1 } } - Write-Output "⚠️ No reply from host '$hostname' - check the connection or maybe the host is down." + Write-Output "⚠️ No reply from '$hostname' - check the connection or maybe the host is down." exit 1 } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -80,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index 209deb4e5..31bf363e3 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value bing.com,cnn.com,dropbox.com,github.com,google.com,ibm.com,live.com,meta.com,x.com,youtube.com Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -91,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index cbdfa7b85..6d9c09fa7 100644 --- a/docs/ping-local-devices.md +++ b/docs/ping-local-devices.md @@ -14,6 +14,7 @@ Parameters Position? 1 Default value 600 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -81,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index 1199befbb..4fafb2a99 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -UpdateInterval @@ -23,6 +24,7 @@ Parameters Position? 2 Default value 600 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -99,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index f05e1861d..2050bc0c0 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index 92c2414dd..90b6c39ca 100644 --- a/docs/play-beep-sound.md +++ b/docs/play-beep-sound.md @@ -46,14 +46,9 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -try { - [System.Console]::Beep(500,300) - Start-Sleep -milliseconds 300 - exit 0 # success -} catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" - exit 1 -} +[System.Console]::Beep(500, 300) +Start-Sleep -milliseconds 300 +exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index ed96d7baa..e880152d3 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index dd621973b..1062f6d9d 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-chess.md b/docs/play-chess.md index 12808bdb7..c85c8f2a8 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index 732e0e7a6..152d5e249 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index 1285b8066..464de086d 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index 1305fabb3..38bdb5e91 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-drug-wars.md b/docs/play-drug-wars.md new file mode 100644 index 000000000..600ec57da --- /dev/null +++ b/docs/play-drug-wars.md @@ -0,0 +1,5403 @@ +The *play-drug-wars.ps1* Script +=========================== + +play-drug-wars.ps1 [-SkipConsoleSizeCheck] + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Script Content +-------------- +```powershell +#Requires -Version 5.1 +param ( + [switch]$SkipConsoleSizeCheck +) + +[float]$script:GameVersion = 0.42 + +######################## +#region Class Definitions +########################## +class GameStats { + [int]$DrugsBought + [int]$DrugsSold + [int]$CitiesVisited + [int]$FlightsTaken + [int]$GunsBought + [int]$CopFights + [int]$EventsExperienced + [int]$MostCashAtOnce + hidden [string[]]$TravelPath + + # Constructor to initialize all properties to 0 or empty array + GameStats() { + $this.DrugsBought = 0 + $this.DrugsSold = 0 + $this.CitiesVisited = 0 + $this.FlightsTaken = 0 + $this.GunsBought = 0 + $this.CopFights = 0 + $this.EventsExperienced = 0 + $this.MostCashAtOnce = 0 + $this.TravelPath = @() + } + + # Method to get all numeric properties as an array of strings + # This method filters the properties of the GameStats object and returns only those with numeric values (int or double). + # Each property name is formatted to split PascalCase or camelCase names, and the result is returned as an array of strings (in the order they are defined in the class). + [string[]] GetPropertiesAsStrings() { + # Get the properties of the GameStats object + $properties = $this.PSObject.Properties + + # Create an array to hold the property values as strings + $result = @() + + foreach ($property in $properties) { + # Check if the property value is numeric + if ($property.Value -is [int] -or $property.Value -is [double]) { + # Perform the replacement inline to split PascalCase or camelCase names + $formattedName = $property.Name -creplace '([a-z])([A-Z])', '$1 $2' + $result += ('{0}: {1}' -f $formattedName, $property.Value) + } + } + + return $result + } + + # Method to set the MostCashAtOnce property if it's lower than the provided amount + [void] UpdateMostCashAtOnce([int]$Cash) { + if ($Cash -gt $this.MostCashAtOnce) { + $this.MostCashAtOnce = $Cash + } + } + + # Method to add a city (name) to the list of visited cities + [void] AddVisitedCity([City]$City) { + if ($null -ne $City -and -not [string]::IsNullOrEmpty($City.Name)) { + $this.TravelPath += $City.Name + $this.CitiesVisited = ($this.GetVisitedCityNames()).Count + $this.FlightsTaken = $this.TravelPath.Count - 1 + } + else { + throw "City object or its Name property cannot be null or empty." + } + } + + # Method to retrieve the full list of visited city names, in the order visited. + [string[]] GetTravelPath() { + return $this.TravelPath + } + + # Method to return the list of (unique) city names visited + [string[]] GetVisitedCityNames() { + return $this.TravelPath | Sort-Object -Unique + } +} + +class Drug { + [string]$Name + [string]$Code + [string]$Description + [int]$BasePrice + [int[]]$PriceRange + [float]$PriceMultiplier + [int]$Quantity + + # Constructor that takes a drug name + Drug([string]$Name) { + $this.Name = $Name + $this.Code = $script:DrugCodes.Keys | Where-Object { $script:DrugCodes[$_] -eq $Name } + $this.Description = $script:DrugsInfo[$this.Code]['History'] + $this.PriceRange = $script:DrugsInfo[$this.Code]['PriceRange'] + $this.PriceMultiplier = 1.0 + $this.Quantity = 0 + $this.SetRandomBasePrice() + } + + # Method to set the hidden BasePrice value to a random value from the drugs PriceRange, rounded to the nearest 10 dollars (Bankers' rounding). + [void]SetRandomBasePrice() { + $this.BasePrice = [int][math]::Round((Get-Random -Minimum $this.PriceRange[0] -Maximum $this.PriceRange[1]) / 10) * 10 + } + + # Calculate the price based on BasePrice and PriceMultiplier, rounded to the nearest 5 dollars (Bankers' rounding). + [int]get_Price() { + $price = [int][math]::Round($this.BasePrice * $this.PriceMultiplier / 5) * 5 + if ($price -lt 5) { + $price = 5 + } + return $price + } +} + +class City { + [string]$Name + [Drug[]]$Drugs + [int]$MaxDrugCount + [string[]]$HomeDrugNames + [float]$HomeDrugSaleMultiplier + [Gun[]]$GunsForSale + [string]$GunShopName + + # Default constructor + City() { + # Drugs are assigned upon visiting the city (so they change each visit) + $this.Drugs = @() + + # Guns are assigned after city is created + $this.GunsForSale = @() + # No name until a gun is added + $this.GunShopName = $null + + # Assign 1 or 2 random 'Home Drugs' to each city + $homeDrugCount = Get-Random -Minimum 1 -Maximum 3 + $this.HomeDrugNames = $script:DrugCodes.Keys | Get-Random -Count $homeDrugCount + + # Home Drugs are drugs that are always sold at a discount (if in stock). Default is 20% of the base price. + $this.HomeDrugSaleMultiplier = .20 + } + + # Method to add a gun to the city's GunsForSale collection + [void]AddGunToShop([Gun]$Gun) { + $this.GunsForSale += $Gun + + $gunShopNames = @( + 'Aim High Ammunition Alley', + 'Ammo-nation', + 'Angry Hank''s Shot Shack', + 'Barrel of Laughs Gun Depot', + 'Bullet Bonanza Emporium', + 'Glock ''n Roll Firearms', + 'Guns ''n'' Giggles', + 'Laugh ''n'' Load Gunsmiths', + 'Lock, Stock, and Two Smokin'' Barrels', + 'Pistol Puns & Rifled Laughs', + 'Shoots & Ladders Armoury', + 'The Bang Theory Firearms', + 'The Bang-Bang Boutique', + 'The Trigger Happy Gun Shop', + 'Trigger Treats Gun Emporium' + ) + + if (-not $this.GunShopName) { + $this.GunShopName = Get-Random -InputObject $gunShopNames + } + } + + # Method ot return if the city has guns for sale + [bool]HasGunShop() { + return $this.GunsForSale.Count -gt 0 + } +} + +class Player { + [string[]]$Clothing + [City]$City + [int]$Cash + [Drug[]]$Drugs + [int]$GameDay + hidden [Gun[]]$Guns + [string]$Initials + hidden [int]$Pockets + + hidden [string[]]$starterClothes = @( + 'Bell-bottom pants', + 'Flannel shirt (buttoned Cholo-style)', + '"I''m with Stupid ->" T-shirt', + 'Over-sized athletic jersey', + 'Pink Floyd T-shirt', + 'Smelly socks', + 'Smelly socks with a hole in them', + 'Terry-cloth bath robe', + 'Underwear, hanging out', + 'Velour track suit', + 'Wife-beater' + ) + + # Default constructor + Player() { + $this.Drugs = @() + $this.Guns = @() + $this.Clothing = $this.starterClothes | Get-Random + $this.Pockets = 0 + $this.GameDay = 1 + } + + # FreePockets method returns the number of pockets minus the total Quntity of all Drugs + [int]get_FreePocketCount() { + $totalQuantity = $this.get_DrugCount() + return $this.Pockets - $totalQuantity + } + + # Method to get pocket count + [int]get_PocketCount() { + return $this.Pockets + } + + # Method to set pocket count + [void]set_PocketCount([int]$Pockets) { + $this.Pockets = $Pockets + } + + # Method to get total drug count from inventory + [int]get_DrugCount() { + $totalQuantity = 0 + $this.Drugs | ForEach-Object { $totalQuantity += $_.Quantity } + return $totalQuantity + } + + # Method to get guns + [Gun[]]get_Guns() { + return $this.Guns + } + + # Method to dump all guns + [void]DumpGuns() { + $this.Guns = @() + } + + [bool]AddGun([Gun]$Gun) { + return $this.AddGun($Gun, $false) + } + + # Method to add a gun to inventory + [bool]AddGun([Gun]$Gun, [bool]$Silent = $false) { + # Maximum two guns + if ($this.Guns.Count -ge 2) { + $tooManyGunsExpressions = @( + "Whoa, slow down, Rambo! Two strapped guns are your limit, fam.`r`nWe don't want you to take off like a helicopter now.", + "Hold your horses, cowboy! You're already packing a pair of heat, pal.`r`nAdding more would be like juggling flaming marshmallows - not a good idea, see?", + "Easy there, gunslinger! Two guns are the magic number, amico.`r`nAdding more would be like trying to salsa dance with three left feet, capisce?", + "Chill, action hero! You've already got a dynamic duo of guns, homey.`r`nAdding more would be like trying to breakdance on a tightrope, playa.", + "Steady on, sharpshooter! You've got a couple of guns already, fella.`r`nAdding another one would be like trying to balance a porcupine on your nose, you hear?", + "Whoa, trigger happy! Two guns are your lucky number, homey.`r`nAdding another one would be like trying to fit a giraffe into a phone booth." + ) + $parts = (Get-Random -InputObject $tooManyGunsExpressions) -split "`r`n" + $firstPart += $parts[0] + $secondPart += $parts[1] + Write-Centered ($firstPart) -ForegroundColor Red + Start-Sleep 2 + Write-Host + Write-Centered ($secondPart) -ForegroundColor DarkGray + Start-Sleep 2 + Write-Host + return $false + } + + if (-not $Silent) { + $newGunExpressions = @( + ('You got a {0}! Nice! Just remember, with great firepower comes great responsibility.' -f $Gun.Name), + ('You got a {0}! Keep it strapped, fam! It''s like having a Swiss Army knife, but, you know, for the streets or some shit.' -f $Gun.Name), + ('Big man! Packin'' heat with a {0}! Who needs biceps when you''ve got barrels, am I right?' -f $Gun.Name), + ('Say hello to my little friend! "Hello {0}."' -f $Gun.Name), + ('Congrats, sharpshooter! You snagged a {0}! The only thing hotter than the barrel is your style.' -f $Gun.Name), + ('Hasta la vista, budget constraints! You''re now the proud owner of a {0}! Pew-pew dreams do come true.' -f $Gun.Name), + ('Well, look who''s the proud parent of a bouncing baby {0}! Parenthood, gun-style, fam.' -f $Gun.Name), + ('You got a {0}! Time to start practicing your action movie one-liners. "Yippee-ki-yay, {0}-lover!"' -f $Gun.Name), + ('Boom shakalaka! You''ve upgraded to a {0}! Watch out, world - you''re armed and hilarious.' -f $Gun.Name), + ('Woo-hoo! You got a {0}! It''s like winning the lottery, but with more pew-pew and fewer numbers.' -f $Gun.Name) + ) + Write-Centered (Get-Random -InputObject $newGunExpressions) + Start-Sleep 2 + } + + $this.Guns += $Gun + return $true + } + + # Method to remove a gun from inventory + [void]RemoveGun([Gun]$Gun) { + $this.Guns = $this.Guns | Where-Object { $_.Name -ne $Gun.Name } + } + + # Method to Buy a gun + [void]BuyGun([Gun]$Gun) { + # If the player doesn't have enough cash, print a message and return + if ($Gun.Price -gt $this.Cash) { + $gunPurchasePhrases = @( + "Oops! Your wallet's on a diet - can't afford that fancy {0} right now.`r`nTime to channel your inner magpie, my friend!", + "Uh-oh! Your cash stash is more elusive than Bigfoot when it comes to buying a {0}, homey.`r`nGet those brainstorming wheels turning, pal!", + "Houston, we have a cash-flow problem! Buying a {0}, fam, requires some next-level haggling skills.`r`nPrepare for liftoff, friend!", + "Breaking news: Your wallet just declared bankruptcy in the face of that {0}, pal.`r`nLet's brainstorm ways to turn pocket lint into gold, buddy!", + "Ay caramba! Your dinero isn't playing nice with the idea of a {0}, amigo.`r`nTime for a financial fiesta, compadre!", + "Eh, capisce? Your wallet's playing hard to get with that {0}.`r`nLet's hustle, my nonna-lovin' friend - maybe she's got a secret stash!" + ) + $parts = (Get-Random -InputObject $gunPurchasePhrases) -split "`r`n" + $firstPart += $parts[0] + $secondPart += $parts[1] + Write-Centered ($firstPart -f $Gun.Name) -ForegroundColor Yellow + Start-Sleep 1 + Write-Centered ($secondPart) -ForegroundColor DarkGray + Start-Sleep 2 + Write-Host + return + } + + # If the player has enough cash, and can add the gun to their inventory, buy the gun. + if ($this.AddGun($Gun)) { + # Pay for gun + $this.Cash -= $Gun.Price + + # Track gun purchase in Game Statistics + $script:GameStats.GunsBought++ + + Write-Host + Write-Centered ('You bought a {0} for ${1}.' -f $Gun.Name, $Gun.Price) -ForegroundColor Green + Start-Sleep -Milliseconds 1500 + Write-Host + # Display the gun's description and history + Write-Centered $Gun.Description -ForegroundColor White + Start-Sleep -Milliseconds 1500 + Write-Centered $Gun.History -ForegroundColor DarkGray + } + Start-Sleep 3 + } + + # Method to sell a gun + [void]SellGun([Gun]$Gun) { + # Find the first gun in the player's inventory that matches the given name + $gunToSell = $this.Guns | Where-Object { $_.Name -eq $Gun.Name } | Select-Object -First 1 + + Write-Host + + # If the gun was found + if ($gunToSell) { + # Increase the player's cash by 70% of the gun's price + $gunSellPrice = $gunToSell.Price * 0.70 + $this.Cash += $gunSellPrice + + # Update MostCashAtOnce stats by comparing player's current cash + $script:GameStats.UpdateMostCashAtOnce($this.Cash) + + # Remove the sold gun from the player's inventory. + $this.Guns = $this.Guns | Where-Object { $_.Name -ne $gunToSell.Name } | Select-Object -First 1 + + Write-Centered ('You sold your {0} for ${1}.' -f $gunToSell.Name, $gunSellPrice) -ForegroundColor Green + } + else { + Write-Centered ('You don''t have a {0} to sell.' -f $gunToSell.Name) -ForegroundColor Red + } + Start-Sleep 3 + Write-Host + } + + # Method to get total stopping power of all guns + [int]get_StoppingPower() { + $stoppingPower = 0 + foreach ($gun in $this.Guns) { + $stoppingPower += $gun.StoppingPower + } + return $stoppingPower + } + + # Method to adjust pocket count up or down + [void]AdjustPocketCount([int]$Pockets) { + if ($Pockets -lt 0) { + # Remove specified number of pockets (by adding the negative amount provided) + $this.Pockets += $Pockets + + # Get a count of all drugs in the player's inventory + $totalQuantity = 0 + $this.Drugs | ForEach-Object { $totalQuantity += $_.Quantity } + + # If the player has more drugs than pockets, remove some excess drugs + if ($totalQuantity -gt $this.Pockets) { + + Write-Centered 'You don''t have enough pockets to hold all your drugs!' -ForegroundColor Yellow + Start-Sleep -Seconds 2 + + $difference = $totalQuantity - $this.Pockets + + # While the difference is greater than 0, cycle through the drugs in inventory, removing 1 of each until the difference is 0. + while ($difference -gt 0) { + foreach ($drug in $this.Drugs) { + $this.RemoveDrugs($drug, 1) + Write-Centered ('You had to throw away 1 {0}.' -f $drug.Name) -ForegroundColor DarkRed + $difference -= 1 + if ($difference -le 0) { + break + } + } + } + } + } + else { + $this.Pockets += $Pockets + } + } + + # Method to add drugs to the player's Drugs collection. + [void]AddDrugs([Drug]$Drug) { + # Minimum Add is 1 + if ($Drug.Quantity -lt 1) { + Write-Host 'You must add at least 1 of a drug.' + return + } + + # Check if there's enough free pockets + if ($this.get_FreePocketCount() -ge $Drug.Quantity) { + # If the player already has some of the drug, add the quantity to the existing drug, otherwise add the drug to the player's Drugs collection. + $myMatchingDrug = $this.Drugs | Where-Object { $_.Name -eq $Drug.Name } + if ($myMatchingDrug) { + $myMatchingDrug.Quantity += $Drug.Quantity + } + else { + $this.Drugs += $Drug + } + } + else { + Write-Host "Not enough free pockets to add this drug." + } + } + + # Method to remove drugs from the player's Drugs collection. + [void]RemoveDrugs([Drug]$Drug, [int]$Quantity) { + # If the player has some of the drug, remove the quantity from the existing drug, otherwise do nothing. + $myMatchingDrug = $this.Drugs | Where-Object { $_.Name -eq $Drug.Name } + if ($myMatchingDrug) { + $myMatchingDrug.Quantity -= $Quantity + if ($myMatchingDrug.Quantity -le 0) { + # None left, remove the Drug object from the Drugs collection. + $this.Drugs = $this.Drugs | Where-Object { $_.Name -ne $Drug.Name } + } + } + else { + Write-Host 'You don''t have any of that drug.' + } + } + + # Method to buy drugs. + [void]BuyDrugs([Drug]$Drug) { + # Get the drug from the city's drug list (if it's available) + $cityDrug = $this.City.Drugs | Where-Object { $_.Name -eq $Drug.Name } + + # Use a switch statement to handle different conditions (run teh first block that's "True") + switch ($true) { + # If the drug is not available in the city, print a message and return + (-not $cityDrug) { + $wachoo = @('Whutchoo talkin'' about, Willis?', 'Are you high?', 'You''re trippin''!', 'You drunk?') + Write-Host ('{0} {1} is not available in {2}.' -f (Get-Random -InputObject $wachoo), $Drug.Name, $this.City.Name) + break + } + # If the quantity is less than 1, print a message and return + ($Drug.Quantity -lt 1) { + Write-Host ('You really trying to buy {0} drugs...?' -f $Drug.Quantity) + $whoyou = @('M.C. Escher', 'Salvador Dali', 'David Blaine', 'Doug Henning') + Write-Host ('Who are you? {0} or some shit?' -f (Get-Random -InputObject $whoyou)) + break + } + # If the drug is available and the quantity is valid, proceed to buy + default { + # Calculate the total price + $totalPrice = $Drug.Quantity * $Drug.get_Price() + # If the player doesn't have enough cash, print a message and return + if ($totalPrice -gt $this.Cash) { + Write-Host ('You don''t have enough cash to buy that much {0}.' -f $Drug.Name) + break + } + # If the quantity being bought is greater than the number of free pockets, print a message and return + $freePockets = $this.get_FreePocketCount() + if ($Drug.Quantity -gt $freePockets) { + Write-Host ('You don''t have enough free pockets to hold that much {0}.' -f $Drug.Name) + break + } + # If the player has enough cash and free pockets, buy the drugs + $this.Cash -= $totalPrice + + Write-Host ('You bought {0} {1} for ${2}.' -f $Drug.Quantity, $Drug.Name, $totalPrice) + $this.AddDrugs($Drug) + + # Track drug purchase in Game Statistics + $script:GameStats.DrugsBought += $Drug.Quantity + } + } + # Pause for 3 seconds before returning + Start-Sleep 3 + } + + # Method to sell drugs. + [void]SellDrugs([Drug]$Drug, [int]$Quantity) { + + # Look up the drug by name in the current City's drug list. + $cityDrug = $this.City.Drugs | Where-Object { $_.Name -eq $Drug.Name } + + # Calculate the total price (using the city's price for the drug) + $totalPrice = $cityDrug.get_Price() * $Quantity + + # Check if the player has enough quantity of the drug + $drugToSell = $this.Drugs | Where-Object { $_.Name -eq $Drug.Name } + if ($drugToSell.Quantity -lt $Quantity) { + Write-Host ('You don''t have enough {0} to sell.' -f $Drug.Name) + return + } + + # If the player has enough quantity of the drug, sell the drugs + $this.RemoveDrugs($Drug, $Quantity) + $this.Cash += $totalPrice + Write-Host ('You sold {0} {1} for ${2}.' -f $Quantity, $Drug.Name, $totalPrice) + + # Track drug sale in Game Statistics + $script:GameStats.DrugsSold += $Quantity + + # Update MostCashAtOnce stats by comparing player's current cash + $script:GameStats.UpdateMostCashAtOnce($script:Player.Cash) + } + + # Method to add items to the player's Clothing collection. + [bool]AddClothing([string]$Item) { + # If the player already has the item, return false + if ($this.Clothing -contains $Item) { + return $false + } + # Otherwise, add the item to the player's Clothing and return true. + else { + $this.Clothing += $Item + return $true + } + } + + # Method to change base outfit. + [string]ChangeOutfit() { + $currentStarterClothes = $this.starterClothes | Where-Object { $this.Clothing -contains $_ } + + # Remove any clothing that is in the starterClothes list. + $this.Clothing = $this.Clothing | Where-Object { $this.starterClothes -notcontains $_ } + + # Put on a random new one, that isn't in $currentStarterClothes + $newClothing = $this.starterClothes | Where-Object { $_ -notin $currentStarterClothes } | Get-Random + + # Add the new clothing to the top of the list + $otherClothes = $this.Clothing + $this.Clothing = @($newClothing) + + # Add the other clothing back to the list (unless it's null) + if ($otherClothes) { + $this.Clothing += $otherClothes + } + + # Return the new clothing + return $newClothing + } +} + +class Gun { + [string]$Name + [string]$Type + [int]$Price + [int]$StoppingPower + [string]$Description + [string]$History + + Gun ($gunInfo) { + $this.Name = $gunInfo.Name + $this.Type = $gunInfo.Type + $this.Price = $gunInfo.Price + $this.StoppingPower = $gunInfo.StoppingPower + $this.Description = $gunInfo.Description + $this.History = $gunInfo.History + } +} +########################### +#endregion Class Definitions +############################# + +########################################## +#region Define Script-Wide Lists and Tables +############################################ +# Define drugs names and codes +$script:DrugCodes = @{ + 'AD' = 'Angel Dust' + 'CD' = 'Codeine' + 'CN' = 'Cocaine' + 'CK' = 'Crack' + 'DM' = 'DMT' + 'EC' = 'Ecstasy' + 'FT' = 'Fentanyl' + 'HN' = 'Heroin' + 'HS' = 'Hash' + 'KM' = 'Ketamine' + 'LD' = 'LSD' + 'LU' = 'Ludes' + 'MC' = 'Mescaline' + 'MN' = 'Morphine' + 'MT' = 'Meth' + 'OP' = 'Opium' + 'OX' = 'Oxy' + 'PA' = 'Peyote' + 'PO' = 'Poppers' + 'RT' = 'Ritalin' + 'SH' = 'Shrooms' + 'SP' = 'Speed' + 'VI' = 'Vicodin' + 'WD' = 'Weed' + 'XN' = 'Xanax' +} + +# Define information about each drug +$script:DrugsInfo = @{ + 'AD' = @{ + 'Name' = 'Angel Dust' + 'StreetNames' = @('PCP', 'Sherm', 'Embalming Fluid') + 'History' = 'Developed as a dissociative anesthetic, Angel Dust gained popularity in the 1960s. Discontinued for medical use due to its unpredictable and severe side effects.' + 'Effects' = 'Hallucinations, distorted perceptions of reality, increased strength, and a dissociative state.' + 'PriceRange' = @(500, 2000) + } + 'CD' = @{ + 'Name' = 'Codeine' + 'StreetNames' = @('Lean', 'Purple Drank', 'Sizzurp') + 'History' = 'Codeine is an opiate used for pain relief. It has been used recreationally, often mixed with soda and candy, particularly in hip-hop culture.' + 'Effects' = 'Euphoria, relaxation, and mild sedation.' + 'PriceRange' = @(20, 150) + } + 'CN' = @{ + 'Name' = 'Cocaine' + 'StreetNames' = @('Coke', 'Blow', 'Snow') + 'History' = 'Derived from coca plants, cocaine became popular in the 1970s and 1980s as a recreational stimulant. Its use is associated with a high risk of addiction.' + 'Effects' = 'Increased energy, alertness, and euphoria.' + 'PriceRange' = @(100, 500) + } + 'CK' = @{ + 'Name' = 'Crack' + 'StreetNames' = @('Freebase', 'Rock', 'Base') + 'History' = 'Crack cocaine is a crystallized form of cocaine. It emerged in the 1980s, contributing to the "crack epidemic" in the United States.' + 'Effects' = 'Intense, short-lived euphoria, increased heart rate, and heightened alertness.' + 'PriceRange' = @(50, 300) + } + 'DM' = @{ + 'Name' = 'DMT' + 'StreetNames' = @('Dimitri', 'Businessman''s Trip') + 'History' = 'DMT is a naturally occurring psychedelic compound found in certain plants. Its use in shamanic rituals dates back centuries.' + 'Effects' = 'Intense, short-lasting hallucinations, a sense of entering otherworldly realms.' + 'PriceRange' = @(100, 1000) + } + 'EC' = @{ + 'Name' = 'Ecstasy' + 'StreetNames' = @('MDMA', 'Molly', 'E', 'X') + 'History' = 'Originally used in psychotherapy, ecstasy gained popularity in the 1980s as a recreational drug.' + 'Effects' = 'Enhanced sensory perception, increased empathy, and heightened emotions.' + 'PriceRange' = @(5, 50) + } + 'FT' = @{ + 'Name' = 'Fentanyl' + 'StreetNames' = @('China White', 'Apache', 'Dance Fever') + 'History' = 'Developed as a potent painkiller, fentanyl has been linked to a surge in opioid-related overdoses due to its high potency.' + 'Effects' = 'Intense euphoria, drowsiness, and respiratory depression.' + 'PriceRange' = @(100, 500) + } + 'HN' = @{ + 'Name' = 'Heroin' + 'StreetNames' = @('Smack', 'Junk', 'H') + 'History' = 'Derived from morphine, heroin was initially marketed as a non-addictive alternative. Its recreational use rose in the mid-20th century.' + 'Effects' = 'Euphoria, sedation, pain relief.' + 'PriceRange' = @(50, 300) + } + 'HS' = @{ + 'Name' = 'Hash' + 'StreetNames' = @('Hashish', 'Hash Oil', 'Dabs') + 'History' = 'Hash is a concentrated form of cannabis resin. It has a long history of use in various cultures for spiritual and recreational purposes.' + 'Effects' = 'Relaxation, euphoria, altered perception of time.' + 'PriceRange' = @(10, 100) + } + 'KM' = @{ + 'Name' = 'Ketamine' + 'StreetNames' = @('Special K', 'K', 'Vitamin K') + 'History' = 'Initially used as an anesthetic, ketamine gained popularity as a recreational drug with dissociative effects.' + 'Effects' = 'Hallucinations, dissociation, altered perception of time and space.' + 'PriceRange' = @(50, 500) + } + 'LD' = @{ + 'Name' = 'LSD' + 'StreetNames' = @('Acid', 'Tabs', 'Blotter') + 'History' = 'Discovered in the 1930s, LSD became popular in the 1960s counter-culture. It''s known for its profound psychedelic effects.' + 'Effects' = 'Hallucinations, altered perception of reality, heightened sensory experiences.' + 'PriceRange' = @(50, 300) + } + 'LU' = @{ + 'Name' = 'Ludes' + 'StreetNames' = @('Quaaludes', 'Disco Biscuits') + 'History' = 'Methaqualone, commonly known as Quaaludes, was a sedative-hypnotic drug popular in the 1970s. It was later classified as a controlled substance.' + 'Effects' = 'Muscle relaxation, sedation, euphoria.' + 'PriceRange' = @(100, 800) + } + 'MC' = @{ + 'Name' = 'Mescaline' + 'StreetNames' = @('Peyote', 'Buttons', 'Cactus') + 'History' = 'Mescaline is a naturally occurring psychedelic found in certain cacti, notably peyote. It has been used in Native American rituals for centuries.' + 'Effects' = 'Visual hallucinations, altered perception, and enhanced sensory experiences.' + 'PriceRange' = @(50, 500) + } + 'MN' = @{ + 'Name' = 'Morphine' + 'StreetNames' = @('Dreamer', 'Mister Blue') + 'History' = 'Derived from opium, morphine has been used for pain relief since the 19th century. It remains a powerful opioid analgesic.' + 'Effects' = 'Pain relief, euphoria, sedation.' + 'PriceRange' = @(50, 300) + } + 'MT' = @{ + 'Name' = 'Meth' + 'StreetNames' = @('Crystal', 'Ice', 'Glass') + 'History' = 'Methamphetamine, a potent stimulant, gained popularity for recreational use and as an illicit substance in the mid-20th century.' + 'Effects' = 'Increased energy, alertness, euphoria.' + 'PriceRange' = @(50, 500) + } + 'OP' = @{ + 'Name' = 'Opium' + 'StreetNames' = @('Dopium', 'Chinese Tobacco', 'Midnight Oil') + 'History' = 'Opium has a long history of use dating back centuries. It was widely used for medicinal and recreational purposes, leading to addiction issues.' + 'Effects' = 'Pain relief, relaxation, euphoria.' + 'PriceRange' = @(100, 800) + } + 'OX' = @{ + 'Name' = 'Oxy' + 'StreetNames' = @('Oxycodone', 'Hillbilly Heroin', 'OxyContin') + 'History' = 'Oxycodone, commonly known as Oxy, is a prescription opioid. It became widely abused for its pain-relieving and euphoric effects.' + 'Effects' = 'Pain relief, relaxation, euphoria.' + 'PriceRange' = @(50, 300) + } + 'PA' = @{ + 'Name' = 'Peyote' + 'StreetNames' = @('Mescaline', 'Buttons', 'Cactus') + 'History' = 'Peyote is a small, spineless cactus containing mescaline. It has been used in Native American religious ceremonies for centuries.' + 'Effects' = 'Visual hallucinations, altered perception, and enhanced sensory experiences.' + 'PriceRange' = @(100, 800) + } + 'PO' = @{ + 'Name' = 'Poppers' + 'StreetNames' = @('Rush', 'Locker Room', 'Snappers') + 'History' = 'Poppers are a type of alkyl nitrite inhalant. They have been used recreationally, especially in club and party scenes, for their brief but intense effects.' + 'Effects' = 'Head rush, warm sensations, and intensified sensory experiences.' + 'PriceRange' = @(5, 50) + } + 'RT' = @{ + 'Name' = 'Ritalin' + 'StreetNames' = @('Rids', 'Vitamin R', 'Skittles') + 'History' = 'Ritalin, or methylphenidate, was developed in the 1950s as a treatment for attention deficit hyperactivity disorder (ADHD). FDA-approved, it has since been prescribed for ADHD and narcolepsy.' + 'Effects' = 'Stimulant effects include increased focus, alertness, and energy.' + 'PriceRange' = @(5, 50) + } + 'SH' = @{ + 'Name' = 'Shrooms' + 'StreetNames' = @('Magic Mushrooms', 'Psilocybin', 'Caps') + 'History' = 'Psychedelic mushrooms, or shrooms, have been used in various cultures for their hallucinogenic properties. They gained popularity in the counterculture movements of the 1960s.' + 'Effects' = 'Altered perception, visual hallucinations, introspective experiences.' + 'PriceRange' = @(20, 200) + } + 'SP' = @{ + 'Name' = 'Speed' + 'StreetNames' = @('Amphetamine', 'Uppers', 'Dexies') + 'History' = 'Amphetamines have a long history of medical use and gained popularity as stimulants in the mid-20th century.' + 'Effects' = 'Increased energy, alertness, heightened focus.' + 'PriceRange' = @(50, 500) + } + 'VI' = @{ + 'Name' = 'Vicodin' + 'StreetNames' = @('Hydro', 'Vikes', 'Watsons') + 'History' = 'Vicodin is a combination of hydrocodone and acetaminophen used for pain relief. It has been widely prescribed but is associated with the risk of addiction.' + 'Effects' = 'Pain relief, relaxation, mild euphoria.' + 'PriceRange' = @(100, 800) + } + 'WD' = @{ + 'Name' = 'Weed' + 'StreetNames' = @('Marijuana', 'Cannabis', 'Pot') + 'History' = 'Cannabis has been used for various purposes for thousands of years. It gained popularity for recreational use in the 20th century.' + 'Effects' = 'Relaxation, euphoria, altered sensory perception.' + 'PriceRange' = @(10, 100) + } + 'XN' = @{ + 'Name' = 'Xanax' + 'StreetNames' = @('Bars', 'Benzos', 'Zannies') + 'History' = 'Xanax, a benzodiazepine, is prescribed for anxiety. Its recreational use has become a concern due to the risk of dependence.' + 'Effects' = 'Relaxation, sedation, anti-anxiety effects.' + 'PriceRange' = @(50, 300) + } +} + +# Define available cities +$script:CityNames = @( + "Acapulco, Mexico", + "Amsterdam, Netherlands", + "Bangkok, Thailand", + "Hong Kong, China", + "Istanbul, Turkey", + "Lisbon, Portugal", + "London, UK", + "Marseilles, France", + "Medellin, Colombia", + "Mexico City, Mexico", + "Miami, USA", + "Marrakesh, Morocco", + "New York City, USA", + "Panama City, Panama", + "Phuket, Thailand", + "San Francisco, USA", + "Sydney, Australia", + "Tehran, Iran", + "Tijuana, Mexico", + "Toronto, Canada", + "Vancouver, Canada" +) + +# Define random events +$script:RandomEvents = @( + @{ + "Name" = "Busted" + "Description" = 'You were busted by the cops!' + "Effect" = { + Start-Sleep -Seconds 3 + # If player has no drugs on them, the cops leave them alone + if ($script:Player.Drugs.Count -eq 0) { + Write-Centered 'You were searched, but you didn''t have any drugs on you!' + Write-Host + + # If the player has any guns, select a random gun from the player's inventory, + # remove it, and display a message indicating which gun was taken. + if ($script:Player.Guns.Count -gt 0) { + $randomIndex = Get-Random -Minimum 0 -Maximum $script:Player.Guns.Count + $gunTaken = $script:Player.Guns[$randomIndex] + $script:Player.RemoveGun($gunTaken) + Write-Centered ('The cops let you go with a warning, but they confiscated your {0}!' -f $gunTaken.Name) -ForegroundColor DarkRed + } + else { + Write-Centered 'The cops let you go with a warning.' -ForegroundColor DarkGreen + } + + $randomNumber = Get-Random -Minimum 1 -Maximum 101 + if (($randomNumber -le 80) -and ($script:Player.Cash -gt 50)) { + Start-Sleep -Seconds 2 + # Cops let you go, but take 5% of your cash (or $50, whichever is higher) + Write-Centered '...and give you a bit of a shake-down.' -ForegroundColor Yellow + Start-Sleep -Seconds 3 + $loss = [math]::Max([int]([math]::Round($script:Player.Cash * 0.05)), 50) + $script:Player.Cash = $script:Player.Cash - $loss + Write-Host + Write-Centered ('They took ${0}!' -f $loss) -ForegroundColor DarkRed + } + + Start-Sleep -Seconds 3 + return + } + + # Calculate the bust chance. The base chance is 0%, and it increases by 5% for each $1000 the player has. Capped at 60%. + [float]$bustChance = 0.0 + if ($script:Player.Cash -gt 0) { + $bustChance = [Math]::Min($script:Player.Cash / 1000 * 0.05, 0.6) + } + + # Generate a random decimal number between 0 and 1 + [float]$randomNumber = Get-Random -Minimum 0.0 -Maximum 1.0 + # If the random number is less than or equal to the bust chance, the cops bust the player + if ($randomNumber -le $bustChance) { + if ($script:Player.get_Guns().Count -gt 0) { + Write-Centered 'You spent the night in jail and lost all your drugs and guns.' -ForegroundColor Red + } + else { + Write-Centered 'You spent the night in jail and lost all your drugs.' -ForegroundColor Red + } + + # Remove all drugs from the player's possession + $script:Player.Drugs = @() + # Remove all the player's guns. + $script:Player.DumpGuns() + # Increment the game day + AdvanceGameDay -SkipPriceUpdate + } + else { + # Create an array of messages + $messages = @( + 'They searched you, but you got away!', + 'You were searched, but managed to slip away!', + 'They tried to catch you, but you were too quick!', + 'You were almost caught, but you escaped!', + 'They attempted to search you, but you evaded them!', + 'You narrowly avoided being searched!', + 'They let you go with a warning!', + 'You played hide and seek with the search party, and you won!', + 'You turned the search into a dance-off and moonwalked out of trouble!', + 'They tried to catch you, but you hit them with your "Invisible Cloak of Inconspicuousness"(tm)!', + 'You transformed the search into a magic show and disappeared in a puff of glitter!', + 'You were almost caught, but you executed the perfect ninja smoke bomb escape!', + 'They attempted to search you, but you pulled out a trombone and started a parade distracting them!', + 'You narrowly avoided being searched by unleashing your inner contortionist and slipping through their fingers!', + 'They let you go with a warning, probably because they were impressed by your interpretive dance routine!' + ) + + # Select a random message + $message = Get-Random -InputObject $messages + + # Display the message + Write-Host + Write-Centered $message -ForegroundColor DarkGreen + } + + Start-Sleep -Seconds 3 + } + }, + @{ + "Name" = "Flash Back" + "Description" = "You trip out and lose a day!" + "Effect" = { + Tripout + AdvanceGameDay -SkipPriceUpdate + } + }, + @{ + "Name" = "Marrakesh Express" + "Description" = "The Marrakesh Express has arrived in town!" + "Effect" = { + # Add some random "Hash" Drugs to the player's inventory, if they already have Hash, just add to its quantity. + $giveAwayQuantity = Get-Random -Minimum 5 -Maximum 26 + Write-Centered ('They''re giving out {0} pockets of free Hash!' -f $giveAwayQuantity) + Write-Host + + # If they have free pockets to hold the Hash, add as much to their inventory as possible. + if ($script:Player.get_FreePocketCount() -ge 1) { + if ($script:Player.get_FreePocketCount() -lt $giveAwayQuantity) { + Write-Centered ('You only have room for {0} pockets of free Hash.' -f $script:Player.get_FreePocketCount()) -ForegroundColor Yellow + Start-Sleep -Seconds 2 + Write-Centered 'But that''s still better than a kick in the ass''! :)' + $giveAwayQuantity = $script:Player.get_FreePocketCount() + } + + $freeHash = $script:Player.Drugs | Where-Object { $_.Name -eq 'Hash' } + if ($freeHash) { + $freeHash.Quantity += $giveAwayQuantity + } + else { + $freeHash = [Drug]::new('Hash') + $freeHash.Quantity = $giveAwayQuantity + $script:Player.AddDrugs($freeHash) + } + + Write-Centered ('Filled {0} pockets with free Hash!' -f $giveAwayQuantity) -ForegroundColor DarkGreen + } + else { + Write-Centered 'Bummer! You don''t have any empty pockets to hold the free Hash.' + Start-Sleep -Seconds 3 + Write-Host + if ((Write-BlockLetters '** BURN!! **' -ForegroundColor Black -BackgroundColor DarkRed -Align Center -VerticalPadding 1) -eq $false) { + Write-Centered ' ' -BackgroundColor DarkRed + Write-Centered '** BURN!! **' -ForegroundColor Black -BackgroundColor DarkRed + Write-Centered ' ' -BackgroundColor DarkRed + } + Start-Sleep -Seconds 2 + } + } + }, + @{ + "Name" = "Bad Batch" + "Description" = "You got a bad batch of drugs. You lose 10% of your cash trying to get rid of it." + "Effect" = { + # Calculate 10% of the player's cash, rounded to the nearest dollar + $loss = [int]([math]::Round($script:Player.Cash * 0.10)) + # Subtract the loss from the player's cash. + $script:Player.Cash -= $loss + + Start-Sleep -Seconds 2 + Write-Host + Write-Centered ('You lost ${0}.' -f $loss) -ForegroundColor DarkRed + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = 'The Shadow' + "Description" = 'A shadowy figure approaches you and whispers, "Psst... I know when the next Home Drug Sale Day is..."' + "Effect" = { + # Figure out when next Home Drug sale day is from $script:HomeDrugSaleDays list + $nextSaleDay = $script:HomeDrugSaleDays | Sort-Object | Where-Object { $_ -gt $script:Player.GameDay } | Select-Object -First 1 + $daysUntilNextSale = $nextSaleDay - $script:Player.GameDay + + Start-Sleep -Seconds 3 + Write-Host + if ($nextSaleDay) { + Write-Centered ('The shadowy figure tells you that the next Home Drug Sale Day is in {0} days, on day {1}.' -f $daysUntilNextSale, $nextSaleDay) -ForegroundColor DarkYellow + } + else { + $noDrugSaleDaysLeftMsg = @( + "Ain't no more Home Drug Sale Days, pal. You snooze, you lose, capisce?", + "That Home Drug Sale Days ship sailed, buddy. Better luck next time!", + "Home Drug Sale Days? Nah, those are long gone, kid. Better ask the boss about 'em.", + "Yo, ain't no more Home Drug Sale Days, fool. Guess you missed the party, huh?", + "No more Home Drug Sale Days, champ. What, you just crawled outta a rock?", + "Those Home Drug Sale Days? Gone quicker than your paycheck, homie.", + "Forget about it! No more Home Drug Sale Days, wiseguy. Try again next year!", + "Aww, you late for Home Drug Sale Days? Too bad, player, game's over.", + "Home Drug Sale Days are history, see? You're gonna have to find your own score now.", + "No Home Drug Sale Days left, sucka. Guess you didn't get the memo!", + "Whoa, man, the Home Drug Sale Days are, like, totally over. You missed the cosmic wave, dude.", + "Home Drug Sale Days? Nah, those are long gone, brother. The universe has spoken.", + "Sorry, friend, no more Home Drug Sale Days. Guess the vibes didn't align this time.", + "Oh, bummer, dude. Home Drug Sale Days? They're, like, a thing of the past now, ya know?", + "Home Drug Sale Days? Yeah, they've floated away with the breeze, man. Better luck next trip!" + ) + + $noSaleDaysLeftMsg = Get-Random -InputObject $noDrugSaleDaysLeftMsg + Write-Centered $noSaleDaysLeftMsg -ForegroundColor DarkYellow + } + + Start-Sleep -Seconds 2 + + Write-Centered ('He then looks around and...') + Start-Sleep -Seconds 3 + $chance = Get-Random -Minimum 0 -Maximum 3 + if ($chance -eq 0) { + $cashToGive = [math]::Round($script:Player.Cash * 0.05) + $script:Player.Cash += $cashToGive + Write-Centered ('You got lucky! The shadowy figure gave you ${0}.' -f $cashToGive) -ForegroundColor DarkGreen + } + elseif ($chance -eq 1) { + $cashToTake = [math]::Round($script:Player.Cash * 0.05) + $script:Player.Cash -= $cashToTake + Write-Centered ('Oh no! The shadowy figure stuck you up and took ${0}.' -f $cashToTake) -ForegroundColor DarkRed + } + else { + Write-Centered 'Nothing happened. Get back to hustlin''!' + } + + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Someone's Wallet" + "Description" = "You found a wallet full of cash laying in the gutter!" + "Effect" = { + $gain = Get-Random -Minimum 100 -Maximum 501 + # Round the gain to the nearest 10 (Bankers' rounding). + $gain = [math]::Round($gain / 10) * 10 + $script:Player.Cash += $gain + + Start-Sleep -Seconds 2 + Write-Host + Write-Centered ('NICE! You gained ${0}.' -f $gain) -ForegroundColor DarkGreen + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Found Vape Pen" + "Description" = "You found a vape pen on the ground. Do you want to use it? (Y/N)" + "Effect" = { + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + if ($choice -eq 'Y' ) { + $experience = Get-Random -Minimum 1 -Maximum 10 + if ($experience -le 3) { + Write-Centered 'Uh oh!' -ForegroundColor DarkGreen + Start-Sleep -Seconds 2 + Write-Centered 'What was in that thing?!' + Start-Sleep -Seconds 1 + Tripout + Write-Centered 'You tripped out hard and lost a day!' + AdvanceGameDay -SkipPriceUpdate + } + else { + Start-Sleep -Milliseconds 500 + Write-Centered 'Puff...' + Start-Sleep -Milliseconds 500 + Write-Centered 'Puff...' + Start-Sleep -Seconds 2 + $randomScore = Get-Random -Minimum 1 -Maximum 12 + switch ($randomScore) { + { $_ -le 3 } { + Write-Centered ('Dude, bummer! Only {0}/10 - Harsh hit. Not exactly riding the good vibes, you know?' -f $randomScore) + } + { $_ -gt 3 -and $_ -le 6 } { + Write-Centered ('Hey cosmic traveler! {0}/10 - Decent hit. Average buzz, man.' -f $randomScore) + } + { $_ -gt 6 -and $_ -le 9 } { + Write-Centered ('Far out, dude! {0}/10 - Good hit. Nice buzz flowing through your soul.' -f $randomScore) + } + { $_ -gt 9 } { + Write-Centered ('Whoa, enlightenment achieved! {0}/10 - Amazing hit. Best vape ever, man!' -f $randomScore) + } + { $_ -gt 10 } { + Write-Host + Write-Centered ('You got so damn high, you actually GAINED A DAY!') -ForegroundColor Yellow + $script:GameDays++ + Start-Sleep -Milliseconds 750 + Write-Centered ('You now have {0} days to make as much cash as possible.' -f $script:GameDays) -ForegroundColor DarkGreen + } + } + + } + } + else { + Write-Centered 'You decided not to use the vape pen, and instead sell it to some skid for $5.' + $script:Player.Cash += 5 + } + + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Cargo Pants" + "Description" = "Groovy, man! You stumbled upon these cosmic cargo pants, packed with pockets for all your trippy treasures!" + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + if ($script:Player.AddClothing('Cargo Pants')) { + $extraPockets = 20 + $script:Player.AdjustPocketCount($extraPockets) + Write-Centered ('Far out! You''ve now got {0} extra pockets! Carryin'' more of your magic stash just got easier.' -f $extraPockets) -ForegroundColor DarkGreen + } + else { + Write-Centered 'You already have a pair of cosmic cargo pants. You decide to sell these for $20.' + $script:Player.Cash += 20 + } + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Hemp Backpack" + "Description" = "Whoa, dude! Check out this Zen hemp backpack! It's like, totally eco-friendly and has space for all your good vibes and herbal remedies." + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + if ($script:Player.AddClothing('Hemp Backpack')) { + $extraPockets = 50 + $script:Player.AdjustPocketCount($extraPockets) + Write-Centered ('Far out! You''ve now got {0} extra pockets! Carryin'' more of your magic stash just got easier.' -f $extraPockets) -ForegroundColor DarkGreen + } + else { + Write-Centered 'You already have a Zen hemp backpack. You decide to sell this one for $50.' + $script:Player.Cash += 50 + } + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Tie-dyed Poncho" + "Description" = "Far-out find, man! You snagged a psychedelic tie-dyed hemp poncho. It's like wearing a kaleidoscope of good vibes!" + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + if ($script:Player.AddClothing('Hemp Poncho')) { + $extraPockets = 10 + $script:Player.AdjustPocketCount($extraPockets) + Write-Centered ('Trippy, right? This tie-dyed hemp poncho adds {0} extra pockets to your cosmic wardrobe. Carry on, peace traveler.' -f $extraPockets) -ForegroundColor DarkGreen + } + else { + Write-Centered 'You already have a tie-dyed hemp poncho. You decide to sell this one for $10.' + $script:Player.Cash += 10 + } + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Fanny Pack" + "Description" = "Radical, dude! You found a totally tubular fanny pack. It's compact, convenient, and has room for all your gnarly gear." + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + if ($script:Player.AddClothing('Fanny Pack')) { + $extraPockets = 15 + $script:Player.AdjustPocketCount($extraPockets) + Write-Centered ('Awesome! You''ve now got {0} extra pockets! Storing your stuff just got a whole lot easier.' -f $extraPockets) -ForegroundColor DarkGreen + } + else { + Write-Centered 'You already have a fanny pack. You decide to sell this one for $15.' + $script:Player.Cash += 15 + } + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Fishing Vest" + "Description" = "Whoa, you've discovered a far-out fishing vest! It's got a whole whack of pockets for all your ""fishing gear""." + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + if ($script:Player.AddClothing('Fishing Vest')) { + $extraPockets = 75 + $script:Player.AdjustPocketCount($extraPockets) + Write-Centered ('Incredible! You''ve now got {0} extra pockets! You''ll never run out of storage space.' -f $extraPockets) -ForegroundColor DarkGreen + Write-Centered '(The loons, Norman! The loons!)' -ForegroundColor DarkGray + } + else { + Write-Centered 'You already have a fishing vest. You decide to sell this one for $75.' + $script:Player.Cash += 75 + } + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Fence Fumble" + "Description" = "Uh-oh! You tried to impressively hop a fence to escape a shady-looking character, but your acrobatics didn't quite go as planned." + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + if ($script:Player.get_PocketCount() -gt 0) { + $lostPockets = Get-Random -Minimum 1 -Maximum 4 + $script:Player.AdjustPocketCount(-$lostPockets) + Write-Centered ('Yikes! You lost {0} pockets in the fence fumble fiasco. Perhaps stealth is more your style.' -f $lostPockets) -ForegroundColor DarkRed + } + else { + Write-Centered 'Phew! Luckily, you had no pockets to lose. Maybe next time stick to a less athletic escape plan, dumpy.' + } + Start-Sleep -Seconds 2 + } + }, + @{ + "Name" = "Lemonade Stand" + "Description" = "Wandering through the gritty streets of Skid-Row, your eyes catch a peculiar sight - a little girl gleefully running a lemonade stand. But, as you approach, you realize this stand has a mysterious twist!" + "Effect" = { + Start-Sleep -Seconds 3 + Write-Host + $extraDrug = $script:GameDrugs | Get-Random + # Pick 5 or 10 at random + $extraDrug.Quantity = Get-Random -InputObject @(5, 10) + + $randomNumber = Get-Random -Minimum 1 -Maximum 101 + if ($script:Player.Cash -gt 2500 -and $randomNumber -le 20) { + # 20% chance of getting mugged for 25-50% of your cash + $muggedAmount = [Math]::Floor((Get-Random -Minimum ($script:Player.Cash * 0.25) -Maximum ($script:Player.Cash * 0.5)) / 10) * 10 + $script:Player.Cash -= $muggedAmount + Write-Centered ('That''s no MF''ing kid!') + Write-Centered ('That dwarf hustler at the Skid-Row Lemonade Stand just pulled a blade and mugged yo'' ass for {0} cash!' -f $muggedAmount) -ForegroundColor Red + } + else { + Write-Centered ('Whoa! The enchanting little hustler at the Skid-Row Lemonade Stand just hooked you up with {0} pockets of {1}!' -f $extraDrug.Quantity, $extraDrug.Name) -ForegroundColor DarkGreen + Write-Centered ('Your spirit is now a little more... unconventional!') + $script:Player.AddDrugs($extraDrug) + } + } + }, + @{ + "Name" = "Pocket Portal" + "Description" = "You stumble upon a mysterious portal while high. Curiosity gets the better of you, and you step through!" + "Effect" = { + Write-Centered 'Whoa, man! This portal takes you to a pocket dimension of infinite possibilities!' + Start-Sleep -Seconds 3 + Write-Host + $choice = Get-Random -Minimum 1 -Maximum 5 + $pocketCost = 10 + switch ($choice) { + 1 { + $extraPockets = 75 + $extraPocketsCost = $pocketCost * $extraPockets + Write-Centered ('You encounter a cosmic, drugged-out vendor selling magical pockets.') + Write-Centered ('Spend ${0} to get {1} extra pockets? (Y/N)' -f $extraPocketsCost, $extraPockets) + if ($script:Player.Cash -ge $extraPocketsCost) { + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + if ($choice -eq 'Y') { + $script:Player.Cash -= $extraPocketsCost + $script:Player.AdjustPocketCount($extraPockets) + Write-Centered ('You made a wise investment and gained {0} extra pockets!' -f $extraPockets) -ForegroundColor DarkGreen + } + else { + Write-Centered 'You decide not to spend your cash, and the cosmic vendor fades away. No extra pockets for you.' + } + } + else { + Write-Centered ('You don''t have enough cash to buy the magical pockets. The cosmic vendor disappears in disappointment. No extra pockets for you.') -ForegroundColor Red + } + } + 2 { + Write-Centered 'You meet a luded-out pocket guru who offers to enhance your inner pocket energy.' + Write-Centered 'Meditate for a chance to gain 10 extra pockets? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + if ($choice -eq 'Y') { + Write-Centered 'Meditating... ' -NoNewline + Start-Sleep -Seconds 2 + Write-Centered 'Ohhhmmmmmm...' + Start-Sleep -Seconds 3 + Write-Host + $success = Get-Random -Minimum 0 -Maximum 2 + if ($success -eq 1) { + $script:Player.AdjustPocketCount(10) + Write-Centered 'After a deep meditation session, you feel your inner pocket energy expand. You gained 10 extra pockets!' -ForegroundColor DarkGreen + } + else { + Write-Centered 'Your meditation doesn''t quite hit the mark, and you gain no extra pockets. Bummer, man.' + } + } + else { + Write-Centered 'You decide not to meditate, and the pocket guru drifts away into the cosmic unknown. No extra pockets for you.' + } + } + 3 { + if ($script:Player.get_PocketCount() -lt 5) { + Write-Centered ('You see a DMT-induced alien shaman, but they''re uninterested in playing a game with someone who doesn''t even have 5 pockets. No extra pockets for you.') -ForegroundColor Red + } + else { + Write-Centered 'A mischievous DMT-induced alien shaman challenges you to a game. Win, and you gain 25 extra pockets. Lose, and you lose 5 pockets.' + Write-Centered 'Play the game? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + if ($choice -eq 'Y') { + $win = Get-Random -Minimum 0 -Maximum 2 + if ($win -eq 1) { + $cosmicGames = @( + 'Hopscotch', + 'Duck, Duck, Goose', + 'Simon Says', + 'Musical Chairs', + 'Hide and Seek', + 'Tic-Tac-Toe' + ) + + $cosmicGame = Get-Random -InputObject $cosmicGames + Write-Centered ('You outwit the alien shaman in a cosmic game of {0}.' -f $cosmicGame) + Start-Sleep -Seconds 2 + $script:Player.AdjustPocketCount(25) + Write-Host + Write-Centered ('You gained 25 extra pockets!') -ForegroundColor DarkGreen + } + else { + Write-Centered 'The alien shaman proves to be a cunning opponent.' + Start-Sleep -Seconds 2 + $script:Player.AdjustPocketCount(-5) + Write-Host + Write-Centered ('You lose 5 pockets in the game. Better luck next time.') -ForegroundColor Red + } + } + else { + Write-Centered 'You decide not to play the game, and the alien shaman disappears in a puff of interdimensional smoke. No extra pockets for you.' + } + } + } + 4 { + Write-Centered 'You find a field of magical pocket flowers. Smelling one might grant you extra pockets.' + Write-Centered 'Smell a flower? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + if ($choice -eq 'Y') { + # Generate a random number between 5 and 26, divide it by 5, round up to the nearest whole number, then multiply by 5 to get the number of pockets to gain + $pocketsToGain = [Math]::Ceiling((Get-Random -Minimum 5 -Maximum 26) / 5) * 5 + Write-Centered 'The magical dank kush aroma of the pocket flower works its wonders.' + Start-Sleep -Seconds 2 + Write-Host + $script:Player.AdjustPocketCount($pocketsToGain) + Write-Centered ('You gained {0} extra pockets!' -f $pocketsToGain) -ForegroundColor DarkGreen + } + else { + Write-Centered 'You decide not to risk it, and the field of pocket flowers fades away.' + Start-Sleep -Seconds 2 + Write-Host + Write-Centered 'No extra pockets for you.' -ForegroundColor Red + } + } + } + } + }, + @{ + "Name" = "Needle Nook" + "Description" = 'You find yourself in a dimly lit alley, known to locals as the Needle Nook.' + "Effect" = { + Write-Host + Start-Sleep -Seconds 2 + $choice = Get-Random -Minimum 1 -Maximum 6 + + switch ($choice) { + 1 { + Write-Centered 'A shady dealer offers you a mysterious drug cocktail. Want to try it? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + + Write-Host + Write-Centered 'Chug! Chug! Chug!' + Start-Sleep 2 + Write-Host + + if ($choice -eq 'Y') { + $randomDrugs = ($script:GameDrugs | Get-Random -Count 4).Name -join ', ' + # replace the last ',' with "and" + $randomDrugs = $randomDrugs -replace ', ([^,]+)$', ' and $1' + $tripOutcome = Get-Random -Minimum 1 -Maximum 11 + if ($tripOutcome -le 5) { + Write-Centered ('The cocktail of {0} hits you hard, and you trip out in a neon-lit dreamscape.' -f $randomDrugs) + Tripout + Write-Centered 'You lose a day as you navigate the surreal landscapes of your mind.' -ForegroundColor Red + AdvanceGameDay -SkipPriceUpdate + } + else { + Write-Centered ('The cocktail of {0} gives you an otherworldly experience.' -f $randomDrugs) + Start-Sleep -Seconds 2 + $cashToAdd = Get-Random -Minimum 20 -Maximum 501 + Write-Centered ('You find some extra cash in your pocket (after you barf and come down)... ${0}!' -f $cashToAdd) -ForegroundColor DarkGreen + $script:Player.Cash += $cashToAdd + } + } + else { + Write-Centered 'You decide to pass on the shady dealer''s offer, and they disappear into the shadows. No risk, no reward.' + } + } + 2 { + Write-Centered 'A grizzled junkie challenges you to a game of street smarts.' + Write-Centered 'Accept the challenge? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + + Write-Host + + if ($choice -eq 'Y') { + Write-Centered 'You and the junkie face off in a battle of wits.' + Start-Sleep 2 + Write-Host + $triviaQuestionsAnswers = @( + @{ + "Question" = "What's the global party favour that's greener than the Hulk and chills everyone out?" + "Answer" = "Cannabis (marijuana)" + }, + @{ + "Question" = "Which drug gets you zooming like The Flash and is known as the life of the party?" + "Answer" = "Amphetamines" + }, + @{ + "Question" = "What's the name for the mood-killer that turns the party into a snoozefest, slowing everyone down?" + "Answer" = "Barbiturates" + }, + @{ + "Question" = "What's the heavy hitter responsible for more dropouts than algebra class?" + "Answer" = "Fentanyl" + }, + @{ + "Question" = "What do you call catching clouds for a mind-altering high in the vape nation?" + "Answer" = "Inhalant abuse" + }, + @{ + "Question" = "Which drug, when injected, can turn your night into a speedball symphony when mixed with the right partner?" + "Answer" = "Cocaine" + }, + @{ + "Question" = "What's the street name for the brain trip derived from a Mexican fungus that'll have you talking to cacti?" + "Answer" = "Psilocybin or 'magic mushrooms'" + }, + @{ + "Question" = "What's the fancy term for playing chemical roulette with multiple substances, cranking up the risk for epic fails?" + "Answer" = "Polydrug use or poly-substance use" + }, + @{ + "Question" = "Snort it, shoot it, and ride the rollercoaster from ecstasy to epic fail. What's the name of this wild ride?" + "Answer" = "Cocaine" + }, + @{ + "Question" = "What's the street slang for the psychedelic joyride fuelled by morning glory seeds that'll have you liberating your mind?" + "Answer" = "LSA or 'liberation'" + }, + @{ + "Question" = "What's the official term for using drugs as a therapist to kick stress, anxiety, and mental drama to the curb?" + "Answer" = "Substance use disorder or addiction" + }, + @{ + "Question" = "What's the name of the stimulant straight outta Hollywood that'll have you buzzing like a hummingbird?" + "Answer" = "Khat" + }, + @{ + "Question" = "What's the street lingo for the trippy journey with the yew tree bark that'll make you see colors even Tim Burton hasn't dreamt of?" + "Answer" = "Amanita muscaria" + }, + @{ + "Question" = "What do you call the backstage pass to superhuman abilities, laser focus, and alertness?" + "Answer" = "Performance-enhancing drugs" + }, + @{ + "Question" = "What's the white powder powerhouse derived from the coca plant that'll turn your night into a blockbuster?" + "Answer" = "Cocaine" + }, + @{ + "Question" = "What's the remedy for a sleepless night that'll have you counting sheep like you're on a psychedelic farm?" + "Answer" = "Sleeping pills" + }, + @{ + "Question" = "What's the street term for the cactus-powered psychedelic voyage that'll make you feel one with the desert?" + "Answer" = "Peyote" + } + ) + + # Display 5 random questions and answers, with a 3 second pause between each. + $triviaQuestionsAnswers | Get-Random -Count 5 | ForEach-Object { + Write-Centered $_.Question -ForegroundColor DarkCyan + Start-Sleep -Milliseconds (Get-Random -Minimum 1000 -Maximum 3001) + if ((Get-Random -Minimum 0 -Maximum 2) -eq 1) { + Write-Centered $_.Answer -ForegroundColor DarkMagenta + Start-Sleep -Milliseconds 750 + Write-Centered 'Right!' -ForegroundColor DarkGreen + } + else { + $randomAnswers = @( + 'Noodle.', + 'Dinosaur.', + 'Yo'' momma!', + 'The answer is 42.', + 'Cows go moo.' + ) + Write-Centered ($randomAnswers | Get-Random) -ForegroundColor DarkYellow + Start-Sleep -Milliseconds 750 + $youWrongStatements = @( + 'Wrong!', + 'Nope!', + 'Not even close!', + 'Dummy!', + 'Are you high?', + 'Incorrect, schmuck!', + 'Lay off the smack, Jack.' + ) + Write-Centered ($youWrongStatements | Get-Random) -ForegroundColor DarkRed + } + Start-Sleep -Seconds 2 + Write-Host + } + + $win = Get-Random -Minimum 0 -Maximum 2 + $amount = Get-Random -Minimum 10 -Maximum 301 + if ($win -eq 1) { + Write-Centered ('You outwit the junkie in a quick game of street trivia. He rewards you with ${0} cash.' -f $amount) -ForegroundColor DarkGreen + $script:Player.Cash += $amount + } + else { + Write-Centered ('The junkie proves to be a street-smart master, and you lose ${0} cash trying to impress him.' -f $amount) -ForegroundColor Red + $script:Player.Cash -= $amount + } + } + else { + Write-Centered 'You decide not to engage in a street smarts competition, and the junkie nods understandingly, returning to his own world.' + } + } + 3 { + Write-Centered 'You come across a hidden stash of drugs. Do you want to take them? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + + Write-Host + Write-Centered 'Yoink!' + Start-Sleep 2 + Write-Host + + if ($choice -eq 'Y') { + $randomDrug = $script:GameDrugs | Get-Random + $randomDrug.Quantity = Get-Random -Minimum 5 -Maximum 16 + $mobBeatChance = Get-Random -Minimum 1 -Maximum 101 + if ($mobBeatChance -le 30) { + Write-Centered ('You find a stash of {0}, but before you can celebrate {1} jumps you!' -f $randomDrug.Name, (Get-Random -InputObject $script:MobBossNames)) + Start-Sleep 2 + Write-Centered ('They beat you up, take back their drugs, and you spend a day recovering in the hospital.') -ForegroundColor Red + AdvanceGameDay -SkipPriceUpdate + } + else { + $script:Player.AddDrugs($randomDrug) + Write-Centered ('You find a {0}-pocket stash of {1}, adding it to your inventory. The alley holds its secrets.' -f $randomDrug.Quantity, $randomDrug.Name) -ForegroundColor DarkGreen + } + } + else { + Write-Centered 'You decide not to take the drugs, leaving the hidden stash undisturbed.' + } + } + 4 { + Write-Centered 'A graffiti-covered door catches your eye. Do you want to enter? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + + Start-Sleep 2 + Write-Host + + if ($choice -eq 'Y') { + Write-Centered 'You cautiously enter the door and discover a hidden underground club. The beats are pumping, and the atmosphere is wild.' + Start-Sleep -Seconds 2 + $randomCash = [math]::Round((Get-Random -Minimum 30 -Maximum 201) / 10) * 10 + $script:Player.Cash += $randomCash + Write-Centered ('You spend the night dancing and end up finding ${0} cash on the dance floor.' -f $randomCash) -ForegroundColor DarkGreen + } + else { + Write-Centered 'You decide not to enter the mysterious door ''cause you''ve got shit to get done.' + } + } + 5 { + Write-Centered 'A disheveled artist offers to sketch your portrait in exchange for some cash. Interested? (Y/N)' + # Wait for user to press a valid key + $choices = @('Y', 'N') + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + + Start-Sleep 2 + Write-Host + + if ($choice -eq 'Y') { + $portraitCost = [math]::Round((Get-Random -Minimum 5 -Maximum 16) / 5) * 5 + $script:Player.Cash -= $portraitCost + Write-Centered ('The artist captures your essence in a gritty portrait. You pay him ${0} for his unique creation.' -f $portraitCost) + + $hashQuantity = Get-Random -Minimum 1 -Maximum 6 + if ($script:Player.get_FreePocketCount() -ge $hashQuantity) { + Write-Host + Write-Centered ('As a bonus, the artist hands you {0} pockets of Hash.' -f $hashQuantity) -ForegroundColor DarkGreen + $freeHash = [Drug]::new('Hash') + $freeHash.Quantity = $hashQuantity + $script:Player.AddDrugs($freeHash) + } + else { + Write-Centered 'The artist wanted to give you some Hash, but you don''t have enough free pockets. What a bummer!' + } + } + else { + Write-Centered 'You decline the artist''s offer, leaving him to his creative endeavors in the alley.' + } + } + } + } + }, + @{ + "Name" = "Cocaine Conundrum" + "Description" = "Oh dear, you find yourself cornered by a self-proclaimed cocaine connoisseur. This enthusiastic individual insists on sharing their 'expertise' and believes they are the absolute BEST at doing cocaine." + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + Write-Centered 'You try to escape, but the self-proclaimed cocaine expert has you trapped in a pointless conversation about their "skills."' + Start-Sleep -Seconds 3 + + $awkwardnessLevel = Get-Random -Minimum 1 -Maximum 4 + + switch ($awkwardnessLevel) { + 1 { + Write-Centered 'The cocaine aficionado insists their nose is the most finely tuned instrument for the job.' + } + 2 { + Write-Centered 'They start demonstrating their "perfect" snorting technique, much to your dismay.' + } + 3 { + Write-Centered 'In an attempt to impress you, they share a bizarre list of "achievements" related to their cocaine adventures.' + } + default { + Write-Centered 'You can''t help but wonder how you ended up in this peculiar conversation about someone being the BEST at doing cocaine.' + } + } + + Start-Sleep -Seconds 2 + Write-Host + Write-Host 'How would you like to react?' + Write-Host '1. Politely nod and pretend to be impressed.' + Write-Host '2. Burst into laughter and call their bluff.' + Write-Host '3. Attempt to challenge them with your own made-up cocaine "skills."' + + $playerChoice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character + + Write-Host + switch ($playerChoice) { + 1 { + Write-Centered 'You decide to play along, nodding as if genuinely impressed. The cocaine fiend beams with pride, convinced they''ve found an admirer.' + } + 2 { + Write-Centered 'Unable to contain yourself, you burst into laughter. The cocaine expert looks offended, muttering something about "non-believers" before storming off.' + } + 3 { + Write-Centered 'In a bold move, you attempt to challenge their skills with your own absurd and entirely made-up cocaine "techniques"...' + Start-Sleep -Seconds 2 + $cokeTechniques = @( + 'You decided to try the latest trend and indulged in a refreshing Cocaine Snow Cone. That''s some GOOD SLUSHIE!', + 'In a desperate attempt to boost your energy levels, you resorted to the unconventional Cocaine Coffee Enema, which left you feeling both invigorated and mortified.', + 'Three words... Cocaine Chocolate Fondue.', + 'You draw a steaming bubble bath and, with a wicked grin, added a generous dose of Cocaine Infused Bubble Bath, you hop in an scrub until your LIT!', + 'You shove copious amounts of cocaine where the sun don''t shine, and start dancing around while singing "White Lines" by Grandmaster Flash and Melle Mel.' + ) + + $cokeTechnique = Get-Random -InputObject $cokeTechniques + Write-Host + Write-Centered $cokeTechnique + + Start-Sleep -Seconds 2 + Write-Host + Write-Centered 'The fiend is left bewildered, questioning your sanity, but now we all know' + Write-Centered 'YOU''RE THE BEST AT DOING COCAINE!' + } + default { + Write-Centered 'You stand there, paralyzed by the absurdity of the situation. The cocaine fiend continues their monologue, oblivious to your internal crisis.' + } + } + + Start-Sleep -Seconds 3 + Write-Host + Write-Centered 'You finally manage to escape the cocaine connoisseur, but not before losing a day to their ramblings.' -ForegroundColor Red + $cocaine = [Drug]::new('Cocaine') + $cocaine.Quantity = Get-Random -Minimum 2 -Maximum 6 + + # If the user has enough free pockets, add the cocaine to their inventory + if ($script:Player.get_FreePocketCount() -ge $cocaine.Quantity) { + Write-Host + Write-Centered 'But at least they gave you some cocaine to make up for it!' + $script:Player.AddDrugs($cocaine) + Write-Centered ('You gained {0} pockets of Cocaine.' -f $cocaine.Quantity) -ForegroundColor DarkGreen + } + + Write-Host + AdvanceGameDay -SkipPriceUpdate + } + }, + @{ + "Name" = "Stanky Slingshot" + "Description" = "Eww! In the grimy depths under the sink of a public washroom, you stumble upon a slingshot taped to the bottom. It's covered in gunk, but it might come in handy." + "Effect" = { + Start-Sleep -Seconds 2 + Write-Host + + # Gather slingshot info + $slingshotInfo = $script:GunInfo | Where-Object { $_.Name -eq 'Slingshot' } + + # Check if player already has a slingshot + $hasSlingshot = $script:Player.get_Guns() | Where-Object { $_.Name -eq 'Slingshot' } + + if (!$hasSlingshot) { + Write-Centered 'You bravely retrieve the slingshot, wiping off the filth as best as you can. It is now added to your inventory.' -ForegroundColor Green + $script:Player.AddGun($slingshotInfo) | Out-Null + } + else { + $sellPrice = [math]::Round($slingshotInfo.Price / 2) + Write-Centered ('You already have a slingshot. You decide to sell it to a hopped-up junkie for ${0}, making a quick profit.' -f $sellPrice) -ForegroundColor Yellow + $script:Player.Cash += $sellPrice + } + Start-Sleep -Seconds 2 + } + } +) + +# Define game guns +$script:GunInfo = @( + @{ + Name = "Slingshot" + Type = "Projectile weapon" + StoppingPower = 1 + Price = 200 + Description = "A projectile weapon with minimal stopping power, often used for hunting small game or as a recreational activity." + History = "Slingshots have been used for thousands of years, with evidence of their use dating back to ancient civilizations such as the Egyptians, Greeks, and Romans." + Onomatopoeia = "Thwack!" + }, + @{ + Name = "Single-shot shotgun" + Type = "Shotgun" + StoppingPower = 2 + Price = 600 + Description = "A traditional shotgun with only one barrel, which has limited stopping power compared to a pump or semi-automatic shotgun." + History = "The shotgun has its origins in the early 18th century, with the invention of the smoothbore, flintlock firearm. Over time, it has evolved into the modern shotguns we know today." + Onomatopoeia = "Boom!" + }, + @{ + Name = ".22 caliber rimfire pistol" + Type = "Pistol" + StoppingPower = 3 + Price = 1000 + Description = "A small-caliber pistol with limited stopping power, often used for target practice and plinking." + History = "The .22 caliber rimfire cartridge was introduced in 1857 by the British firm, Royal Small Arms Factory. It has since become the most popular caliber for firearms worldwide." + Onomatopoeia = "Pew!" + }, + @{ + Name = "Derringer" + Type = "Pistol" + StoppingPower = 4 + Price = 1400 + Description = "A small, pocket-sized pistol with minimal stopping power, typically chambered in .410 gauge or .22 caliber rimfire." + History = "The Derringer was invented by Henry Derringer in the early 19th century and gained popularity as a concealable weapon for personal protection." + Onomatopoeia = "Bang!" + }, + @{ + Name = "Glock 17" + Type = "Pistol" + StoppingPower = 5 + Price = 1800 + Description = "A semi-automatic pistol with moderate stopping power." + History = "The Glock 17 was introduced in 1982 by Austrian gunmaker Gaston Glock. It has since become one of the most popular handguns worldwide, known for its reliability and ease of use." + Onomatopoeia = "Bam!" + }, + @{ + Name = "Desert Eagle" + Type = "Pistol" + StoppingPower = 6 + Price = 2200 + Description = "A large-frame semi-automatic pistol with significant stopping power." + History = "The Desert Eagle was designed by Magnum Research in the late 1970s and early 1980s. It is known for its powerful .50 AE caliber and unique appearance." + Onomatopoeia = "Boom!" + }, + @{ + Name = "M1911" + Type = "Pistol" + StoppingPower = 7 + Price = 2600 + Description = "A semi-automatic pistol with moderate to high stopping power." + History = "The M1911, also known as the Model 1911 or Colt 1911, is a single-action, semi-automatic pistol chambered in .45 ACP. It was designed by John Browning and adopted by the United States Armed Forces in 1911." + Onomatopoeia = "Bang!" + }, + @{ + Name = "Uzi" + Type = "Submachine gun" + StoppingPower = 8 + Price = 3000 + Description = "A submachine gun with moderate stopping power." + History = "The Uzi was designed by Major Uziel Gal of the Israel Defense Forces in the 1940s and 1950s. It became widely known for its use by Israeli military and police forces, as well as various other militaries and law enforcement agencies around the world." + Onomatopoeia = "Rat-a-tat-tat!" + }, + @{ + Name = "MAC-10" + Type = "Submachine gun" + StoppingPower = 9 + Price = 3400 + Description = "A submachine gun with moderate stopping power." + History = "The MAC-10, or Machine Pistol, was designed by George Kolay in the 1960s as a compact and concealable firearm. It gained notoriety in the 1970s and 1980s for its use in criminal activities, earning it the nickname `"Crime-tech`"." + Onomatopoeia = "Rat-a-tat-tat!" + }, + @{ + Name = "Colt Python" + Type = "Revolver" + StoppingPower = 7 + Price = 2700 + Description = "A revolver with high stopping power." + History = "The Colt Python is a large-frame, double-action revolver produced by the Colt's Manufacturing Company. It was introduced in 1955 and is known for its power, accuracy, and reliability." + Onomatopoeia = "Bang!" + }, + @{ + Name = "Tommy Gun" + Type = "Submachine gun" + StoppingPower = 10 + Price = 4200 + Description = "A classic submachine gun with moderate to high stopping power, known for its high rate of fire and ease of use." + History = "The Thompson submachine gun, or Tommy Gun, was designed by John T. Thompson in 1918. It was widely used by law enforcement and military forces in the 1920s and 1930s, and has since become an iconic symbol of the Prohibition era and the gangster culture of that time." + Onomatopoeia = "Rat-a-tat-tat!" + }, + @{ + Name = "Barrett M82" + Type = "Sniper rifle" + StoppingPower = 10 + Price = 4600 + Description = "A powerful .50 caliber sniper rifle, used by drug lords for its long-range accuracy and destructive power." + History = "The Barrett M82, also known as the M82A1, is a .50 caliber anti-materiel rifle developed by the American company Barrett Firearms. It was introduced in the 1980s and has since become one of the most recognized sniper rifles in the world." + Onomatopoeia = "Crack!" + }, + @{ + Name = "AK-47" + Type = "Assault rifle" + StoppingPower = 10 + Price = 5000 + Description = "An assault rifle with high stopping power." + History = "The AK-47, also known as the Kalashnikov or Avtomat Kalashnikova, is a gas-operated, 7.62×39mm assault rifle developed in the Soviet Union by Mikhail Kalashnikov. It was introduced in 1947 and has since become one of the most widely used and recognizable firearms in the world." + Onomatopoeia = "Blam! Blam! Blam! Blam! Blam! Blam..... BLAM!" + }, + @{ + Name = "AR-15" + Type = "Semi-automatic rifle" + StoppingPower = 10 + Price = 5000 + Description = "A semi-automatic rifle with moderate to high stopping power." + History = "The AR-15, developed by American firearms designer Eugene Stoner, was first produced in the early 1960s. It was originally designed as a lightweight, adaptable rifle for various purposes, including sport shooting, hunting, and military use. Over time, it has become one of the most popular semi-automatic rifles in the United States." + Onomatopoeia = "Bang! Bang! Bang! Bang! Bang! Bang! Bang! Bang! Bang!" + }, + @{ + Name = "FN FAL" + Type = "Battle rifle" + StoppingPower = 10 + Price = 5000 + Description = "A battle rifle with high stopping power." + History = "The FN FAL, or Fabrique Nationale Fusil Automatique Leger, is a battle rifle developed by the Belgian firearms manufacturer Fabrique Nationale de Herstal. It was introduced in the late 1940s and was widely used by various militaries around the world during the Cold War era." + Onomatopoeia = "Ka-chunk! Bang!" + } +) + +# Define Mob Boss Names +$script:MobBossNames = @( + 'Angela "Angel Dust" Amato', + 'Benny "LSD Baron" Barzini', + 'Frankie "Crystal Clear" Corleone', + 'Janny "Two-Titz"', + 'Jimmy "Hash Hustler" Capone', + 'Louie "Molly Maestro" Lombardi', + 'Maria "The Mixer" Martino', + 'Mikey "Blow Boss" Moretti', + 'Nick "Narcotics Napper" Napoli', + 'Rocco "Coke Cowboy" Colombo', + 'Sal "Opium Queenpin" Santoro', + 'Tony "White Lines" Bianchi', + 'Vinny "The Chemist" Marino' +) +############################################# +#endregion Define Script-Wide Lists and Tables +############################################### + +########################### +#region Function Definitions +############################# +# Function that will Exit if console size is not at least 80x25. +function CheckConsoleSize { + if ($Host.UI.RawUI.WindowSize.Width -lt 120 -or $Host.UI.RawUI.WindowSize.Height -lt 30) { + Write-Host 'Please resize your console window to at least 120 x 30 and run the script again.' -ForegroundColor Red + Write-Host ('Current size: {0}x{1}' -f $Host.UI.RawUI.WindowSize.Width, $Host.UI.RawUI.WindowSize.Height) -ForegroundColor Red + Exit 666 + } +} + +# Function to move up N lines to overwrite, optionally clearing them. +function OverWriteLastLines { + param ( + [Parameter(Position = 1)] + [int32]$Count = 1, + [switch]$WithClear + ) + + $CurrentLine = $Host.UI.RawUI.CursorPosition.Y + $ConsoleWidth = $Host.UI.RawUI.BufferSize.Width + + if ($WithClear) { + for ($i = 1; $i -le $Count; $i++) { + [Console]::SetCursorPosition(0, ($CurrentLine - $i)) + [Console]::Write("{0,-$ConsoleWidth}" -f ' ') + } + + } + + [Console]::SetCursorPosition(0, ($CurrentLine - $Count)) +} + +# Displays provided text in center of console. +function Write-Centered { + param ( + [Parameter(Mandatory)] + [string]$Text, + [switch]$NoNewline, + [AllowNull()] + $BackgroundColor = $null, + [AllowNull()] + $ForegroundColor = $null + ) + + # Create hashtable of parameters, so we can splat them to Write-Host. + $params = @{ + NoNewline = $NoNewline + BackgroundColor = $BackgroundColor + ForegroundColor = $ForegroundColor + } + + # Create a new hashtable excluding entries with null values. + $filteredParams = @{} + foreach ($key in $params.Keys) { + $value = $params[$key] + if ($null -ne $value) { + $filteredParams[$key] = $value + } + } + + # Get console width + $consoleWidth = $Host.UI.RawUI.WindowSize.Width + + # If the text is longer than the console width -2, split the Text into an array of multiple lines... + # Create a new list to store the lines of text + $textList = New-Object System.Collections.Generic.List[string] + + # Check if the length of the text is greater than the console width minus 2 + if ($Text.Length -gt ($consoleWidth - 2)) { + # Store the length of the text and the maximum line length + $textLength = $Text.Length + $lineLength = $consoleWidth - 2 + + # Loop while there is still text left + while ($textLength -gt 0) { + # Calculate the end index for the substring + $endIndex = [math]::Min($lineLength, $textLength) + # Extract the substring from the text + $stringToAdd = $Text.Substring(0, $endIndex) + + # Check if the string contains a space and if the text length is not equal to the end index + $shouldTruncate = $stringToAdd.Contains(' ') -and ($textLength -ne $endIndex) + if ($shouldTruncate) { + # Find the last space in the string + $lastSpace = $stringToAdd.LastIndexOf(' ') + # Truncate the string at the last space + $stringToAdd = $stringToAdd.Substring(0, $lastSpace + 1) + } + + # Add the string to the list and trim it + $textList.Add($stringToAdd.Trim()) + # Remove the string from the text and trim it + $Text = $Text.Substring($stringToAdd.Length).Trim() + # Update the text length + $textLength = $Text.Length + } + } + else { + # If the text is not longer than the console width minus 2, add it to the list as is + $textList.Add($Text) + } + + # Iterate through each line in the array + foreach ($line in $textList) { + # Calculate padding to center text + $padding = [math]::Max(0, [math]::Floor((($consoleWidth - $line.Length) / 2))) + + # Calculate right padding + $rightPadding = $consoleWidth - $line.Length - $padding + + # If right padding is negative, set it to zero + if ($rightPadding -lt 0) { + $rightPadding = 0 + } + + # Write text to console with padding, using the filtered parameters. + Write-Host ((' ' * $padding) + $line + (' ' * $rightPadding)) @filteredParams + } +} + +# Function to write large block letters to the console, based on provided text. +function Write-BlockLetters { + param ( + [Parameter(Mandatory = $true)] + [string]$Text, + [ValidateSet("Left", "Center", "Right")] + [string]$Align = "Left", + [ConsoleColor]$ForegroundColor = $Host.UI.RawUI.ForegroundColor, + [ConsoleColor]$BackgroundColor = $Host.UI.RawUI.BackgroundColor, + [int]$VerticalPadding = 0 + ) + + # Define the mapping of characters to their block letter representations + $blockLetters = @{ + 'A' = @( + " # ", + " # # ", + "#####", + "# #", + "# #" + ) + 'B' = @( + "#### ", + "# #", + "#### ", + "# #", + "#### " + ) + 'C' = @( + " ### ", + "# #", + "# ", + "# #", + " ### " + ) + 'D' = @( + "#### ", + "# #", + "# #", + "# #", + "#### " + ) + 'E' = @( + "#####", + "# ", + "#### ", + "# ", + "#####" + ) + 'F' = @( + "#####", + "# ", + "#### ", + "# ", + "# " + ) + 'G' = @( + " ### ", + "# ", + "# ##", + "# #", + " ### " + ) + 'H' = @( + "# #", + "# #", + "#####", + "# #", + "# #" + ) + 'I' = @( + "#####", + " # ", + " # ", + " # ", + "#####" + ) + 'J' = @( + "#####", + " # ", + " # ", + "# # ", + " ## " + ) + 'K' = @( + "# #", + "# # ", + "### ", + "# # ", + "# #" + ) + 'L' = @( + "# ", + "# ", + "# ", + "# ", + "#####" + ) + 'M' = @( + "# #", + "## ##", + "# # #", + "# #", + "# #" + ) + 'N' = @( + "# #", + "## #", + "# # #", + "# ##", + "# #" + ) + 'O' = @( + " ### ", + "# #", + "# #", + "# #", + " ### " + ) + 'P' = @( + "#### ", + "# #", + "#### ", + "# ", + "# " + ) + 'Q' = @( + " ### ", + "# #", + "# # #", + "# # ", + " ## #" + ) + 'R' = @( + "#### ", + "# #", + "#### ", + "# # ", + "# ##" + ) + 'S' = @( + " ####", + "# ", + " ### ", + " #", + "#### " + ) + 'T' = @( + "#####", + " # ", + " # ", + " # ", + " # " + ) + 'U' = @( + "# #", + "# #", + "# #", + "# #", + " ### " + ) + 'V' = @( + "# #", + "# #", + "# #", + " # # ", + " # " + ) + 'W' = @( + "# #", + "# #", + "# # #", + "## ##", + "# #" + ) + 'X' = @( + "# #", + " # # ", + " # ", + " # # ", + "# #" + ) + 'Y' = @( + "# #", + " # # ", + " # ", + " # ", + " # " + ) + 'Z' = @( + "#####", + " # ", + " # ", + " # ", + "#####" + ) + '0' = @( + " ### ", + "# #", + "# # #", + "# #", + " ### " + ) + '1' = @( + " # ", + "## ", + " # ", + " # ", + "###" + ) + '2' = @( + " ### ", + "# #", + " ## ", + " # ", + "#####" + ) + '3' = @( + " ### ", + "# #", + " ## ", + "# #", + " ### " + ) + '4' = @( + "# # ", + "# # ", + "#####", + " # ", + " # " + ) + '5' = @( + "#####", + "# ", + "#### ", + " #", + "#### " + ) + '6' = @( + " ### ", + "# ", + "#### ", + "# #", + " ### " + ) + '7' = @( + "#####", + " # ", + " # ", + " # ", + "# " + ) + '8' = @( + " ### ", + "# #", + " ### ", + "# #", + " ### " + ) + '9' = @( + " ### ", + "# #", + " ####", + " #", + " ### " + ) + '.' = @( + " ", + " ", + " ", + " ", + " # " + ) + '?' = @( + " ### ", + "# #", + " # ", + " ", + " # " + ) + '!' = @( + "##", + "##", + "##", + " ", + "##" + ) + '$' = @( + " ### ", + "# # ", + " ### ", + " # #", + " ### " + ) + '-' = @( + " ", + " ", + "####", + " ", + " " + ) + '+' = @( + " ", + " # ", + "###", + " # ", + " " + ) + '=' = @( + " ", + "####", + " ", + "####", + " " + ) + '_' = @( + " ", + " ", + " ", + " ", + "####" + ) + ' ' = @( + " ", + " ", + " ", + " ", + " " + ) + '<' = @( + " #", + " # ", + "# ", + " # ", + " #" + ) + '>' = @( + "# ", + " # ", + " #", + " # ", + "# " + ) + '@' = @( + " ### ", + "# #", + "# ###", + "# # #", + "# ###" + ) + '#' = @( + " # # ", + "#####", + " # # ", + "#####", + " # # " + ) + '%' = @( + "# #", + " # ", + " # ", + " # ", + "# #" + ) + '^' = @( + " # ", + "# #", + " ", + " ", + " " + ) + '&' = @( + " ## ", + "# # ", + " ## ", + "# # ", + " ## #" + ) + '*' = @( + " # ", + "# # #", + " ### ", + "# # #", + " # " + ) + '(' = @( + " #", + "# ", + "# ", + "# ", + " #" + ) + ')' = @( + "# ", + " #", + " #", + " #", + "# " + ) + ':' = @( + " ", + "#", + " ", + "#", + " " + ) + ';' = @( + " ", + " #", + " ", + " #", + "# " + ) + ',' = @( + " ", + " ", + " ", + " #", + "# " + ) + '''' = @( + " #", + "# ", + " ", + " ", + " " + ) + '"' = @( + " # # ", + " # # ", + " ", + " ", + " " + ) + } + + # Convert the input text to block letters and create an array of lines containing the block letters + $TextUpper = $Text.ToUpper() + $lines = for ($i = 0; $i -lt 5; $i++) { + $line = foreach ($char in [char[]]$TextUpper) { + $char = $char.ToString() + if ($blockLetters.ContainsKey($char)) { + $blockLetters[$char][$i] + " " + } + else { + $blockLetters['?'][$i] + " " + } + } + # Join the line array into a string and trim the last character + $joinedLine = $line -join "" + $joinedLine.Substring(0, $joinedLine.Length - 1) + } + + # Get width of the longest line (as integer) + $longestLine = ($lines | Measure-Object -Property Length -Maximum).Maximum + + # Add blank vertical padding lines to the top and bottom $lines array that are as wide as the longest line. + for ($i = 0; $i -lt $VerticalPadding; $i++) { + $lines = @(" " * $longestLine) + $lines + @(" " * $longestLine) + } + + # Get the console width + $consoleWidth = $Host.UI.RawUI.WindowSize.Width + + # Calculate the padding based on the chosen alignment and console width + switch ($Align) { + "Left" { + $leftPadding = 0 + } + "Center" { + $leftPadding = [Math]::Floor(($consoleWidth - $longestLine) / 2) + if ($leftPadding -lt 0) { + $leftPadding = 0 + } + $rightPadding = $consoleWidth - $longestLine - $leftPadding + if ($rightPadding -lt 0) { + $rightPadding = 0 + } + } + "Right" { + $leftPadding = $consoleWidth - $longestLine + } + } + + if ($consoleWidth -lt ($longestLine + 2)) { + # If the console width is less than the longest line plus 2, return false + return $false + } + else { + # Write the text to the console as block characters, line by line. + $lines | ForEach-Object { + $line = $_ + + if ($Align -eq "Center") { + # Right padding is added so we can fill it with spaces/background colour when using centered alignment. + $line = (" " * $leftPadding) + $line + (" " * $rightPadding) + } + else { + $line = (" " * $leftPadding) + $line + } + + # If $line is empty (i.e. all spaces), write the line as a whole + if ($line.Trim().Length -eq 0) { + Write-Host $line -NoNewline -BackgroundColor $BackgroundColor + } + else { + # Write the line to the console, character by character + for ($i = 0; $i -lt $line.Length; $i++) { + $char = $line[$i] + + # If the character is a space, write a space with the background color, otherwise write a space with the foreground color (to represent a lit pixel in the character). + if ($char -eq " ") { + Write-Host " " -NoNewline -BackgroundColor $BackgroundColor + } + else { + Write-Host " " -NoNewline -BackgroundColor $ForegroundColor + } + } + } + + # Add New Line to end. + Write-Host + } + } +} + +# Generates a list of distinct sale days, ensuring each is a certain number of days apart. +function GenerateSaleDays { + param ( + [Parameter(Mandatory = $true)] + [int]$SaleDaysCount, + [Parameter(Mandatory = $true)] + [int]$DaysApart + ) + + $saleDays = @() + + while ($saleDays.Count -lt $SaleDaysCount) { + $randomDay = Get-Random -Minimum 1 -Maximum $script:GameDays + if ($saleDays.Count -eq 0) { + $saleDays += $randomDay + } + else { + $validDay = $true + foreach ($day in $saleDays) { + if ([math]::Abs($day - $randomDay) -lt $DaysApart) { + $validDay = $false + break + } + } + if ($validDay) { + $saleDays += $randomDay + } + } + } + + return $saleDays +} + +function IsHomeDrugSaleDay { + param ( + [int]$Day = $script:Player.GameDay + ) + + return [bool]($script:HomeDrugSaleDays -contains $Day) +} + +# Initialize game state +function InitGame { + # Game settings + $startingCash = 2000 + $startingPockets = 100 + $cityCount = 8 + $gameDrugCount = 10 + $cityDrugCount = 6 + + $script:GameDays = 30 + $script:GameOver = $false + $script:RandomEventChance_Start = 10 # Percentage + $script:RandomEventChance_Current = $script:RandomEventChance_Start + + # Creat object to hold Game Statistics + $script:GameStats = [GameStats]::new() + + # Setup Home Drug sale days + $script:HomeDrugSaleDays = GenerateSaleDays -SaleDaysCount 4 -DaysApart 5 + + # Create and populate the drugs available for this game session. + [Drug[]]$script:GameDrugs = InitGameDrugs -DrugCount $gameDrugCount + + # Create and populate the cities available for this game session. + [City[]]$script:GameCities = InitGameCities -CityCount $cityCount -MaxDrugCount $cityDrugCount + + # Create player object, and populate with game-starting values. + [Player]$script:Player = [Player]::new() + $script:Player.Cash = $startingCash + $script:Player.City = $script:GameCities | Get-Random + $script:Player.set_PocketCount($startingPockets) + + # Fill starting City with random drugs. + $script:Player.City.Drugs = $script:GameDrugs | Get-Random -Count $script:Player.City.MaxDrugCount + + # Update travel statistics + $script:GameStats.AddVisitedCity($script:Player.City) +} + +# Populates an array of City objects, using randomly chosen, unique names from the CityNames array. +function InitGameCities { + param ( + [int]$CityCount = 8, + [int]$MaxDrugCount = 6, + [int]$GunShops = 2 # Number of cities to add guns to. + ) + + $cities = @() + + $gameCityNames = $script:CityNames | Get-Random -Count $CityCount | Sort-Object -Unique + $gameCityNames | ForEach-Object { + $city = [City]::new() + $city.Name = $_ + $city.Drugs = @() + $city.MaxDrugCount = $MaxDrugCount + $city.HomeDrugNames = @() + $city.HomeDrugSaleMultiplier = .20 + + # Assign 1 or 2 random 'Home Drugs' to each city. These will stay the same for the entire game. + # Home Drugs are drugs that are always sold at a discount (if in stock). + $homeDrugCount = Get-Random -Minimum 1 -Maximum 3 + $script:GameDrugs | Get-Random -Count $homeDrugCount | ForEach-Object { + $city.HomeDrugNames += $_.Name + } + + $cities += $city + } + + # Pick random cities to add guns to + $gunShopCities = $cities | Get-Random -Count $GunShops + foreach ($city in $gunShopCities) { + # Add 6 random guns to this city + $script:GunInfo | Get-Random -Count 6 | ForEach-Object { + $city.AddGunToShop($_) + } + } + + return $cities +} + +# Populates an array of Drug objects, using randomly chosen, unique names from the DrugNames array. +function InitGameDrugs { + param ( + [int]$DrugCount = 10 + ) + + $drugs = @() + + $drugCodes = $script:DrugCodes.Keys | Get-Random -Count $DrugCount | Sort-Object -Unique + $drugCodes | ForEach-Object { + $drug = [Drug]::new($script:DrugsInfo[$_]['Name']) + $drug.Code = $_ + $drug.PriceRange = $script:DrugsInfo[$_]['PriceRange'] + $drug.PriceMultiplier = 1.0 + $drug.Quantity = 0 + + $drugs += $drug + } + + return $drugs +} + +# Function to display list of provided cities in two alphabetized columns to the console. +function DisplayCities { + param ( + [Parameter(Mandatory)] + [City[]]$Cities + ) + + $sortedCities = $Cities.Name | Sort-Object + $halfCount = [math]::Ceiling($sortedCities.Count / 2) + + $boxWidth = 96 + $leftColumnWidth = 45 + $rightColumnWidth = 45 + $gutterWidth = 1 + + # Top border + Write-Centered ('┌' + ('─' * ($boxWidth - 1)) + '┐') + + for ($i = 0; $i -lt $halfCount; $i++) { + $leftCity = "$($i + 1). $($sortedCities[$i])" + $rightCity = "$($i + $halfCount + 1). $($sortedCities[$i + $halfCount])" + + $leftCity = $leftCity.PadRight($leftColumnWidth) + $rightCity = $rightCity.PadRight($rightColumnWidth) + + # Left gutter + Write-Centered ('│' + (' ' * $gutterWidth) + $leftCity + (' ' * $gutterWidth) + '│' + (' ' * $gutterWidth) + $rightCity + (' ' * $gutterWidth) + '│') + + # Middle border + if ($i -eq $halfCount - 1) { + Write-Centered ('└' + ('─' * ($leftColumnWidth + $gutterWidth * 2)) + ('┴' + ('─' * ($rightColumnWidth + $gutterWidth * 2))) + '┘') + } + else { + Write-Centered ('│' + (' ' * $gutterWidth) + ('─' * $leftColumnWidth) + (' ' * $gutterWidth) + '│' + (' ' * $gutterWidth) + ('─' * $rightColumnWidth) + (' ' * $gutterWidth) + '│') + } + } +} + +# This function generates a string of drug names, separated by commas, based on the indices provided in the 'HomeDrugNames' array. +function GetHomeDrugString { + param ( + [Parameter(Mandatory)] + [string[]]$HomeDrugNames + ) + + $homeDrugString = '' + for ($i = 0; $i -lt $HomeDrugNames.Count; $i++) { + $homeDrugString += $HomeDrugNames[$i] + if ($i -lt ($HomeDrugNames.Count - 1)) { + $homeDrugString += ', ' + } + } + return $homeDrugString +} + +# This function displays a menu header with the player's current cash, city, and home drug information in a formatted string. +function ShowHeader { + $homeDrugString = GetHomeDrugString -HomeDrugNames $script:Player.City.HomeDrugNames + + Write-Host ('·' + ('═' * ($Host.UI.RawUI.WindowSize.Width - 2)) + '·') -ForegroundColor DarkGray + Write-Centered ('Drug Wars :: Day {3} :: {1} ({2})' -f $script:Player.Cash, $script:Player.City.Name, $homeDrugString, $script:Player.GameDay) + Write-centered ('Cash: ${0} :: Free Pockets: {1}/{2}' -f $script:Player.Cash, $script:Player.get_FreePocketCount(), $script:Player.Pockets) + Write-Host ('·' + ('═' * ($Host.UI.RawUI.WindowSize.Width - 2)) + '·') -ForegroundColor DarkGray +} + +# This function displays a psychedelic animation to the console. +function Tripout { + param ( + [int]$LoopTime = 8 + ) + + # Loop for X seconds (default 8) + $startTime = Get-Date + while ((Get-Date) -lt ($startTime.AddSeconds($LoopTime))) { + # Get the current cursor position and buffer size + $cursor = $Host.UI.RawUI.CursorPosition + $buffer = $Host.UI.RawUI.BufferSize + + # Create a rectangle that covers the screen buffer from the top left corner to the cursor position + $rect = New-Object System.Management.Automation.Host.Rectangle 0, 0, ($buffer.Width - 1), $cursor.Y + + # Get the buffer contents as an array of BufferCell objects + $cells = $Host.UI.RawUI.GetBufferContents($rect) + + # Set the cursor position to the top left corner + $Host.UI.RawUI.CursorPosition = New-Object System.Management.Automation.Host.Coordinates 0, 0 + + # Loop through the array and write each character with its original background color + foreach ($cell in $cells) { + # Convert the character to a string + $charString = [string]$cell.Character + + # Randomly choose to convert the character to uppercase or lowercase + $char = if ((Get-Random -Minimum 0 -Maximum 2) -eq 0) { + $charString.ToUpper() + } + else { + $charString.ToLower() + } + + Write-Host $char -NoNewline -ForegroundColor $(Get-Random -Minimum 1 -Maximum 16) -BackgroundColor $cell.BackgroundColor + } + + Start-Sleep -Milliseconds $(Get-Random -Minimum 1 -Maximum 180) + } +} + +# This function displays the "Drug-o-peida". +function ShowDrugopedia { + Clear-Host + ShowHeader + Write-Host + Write-Centered '--------------' + Write-Centered 'Drug-o-pedia' + Write-Centered '--------------' + Write-Host + Write-Centered 'Information about the drugs currently active in this game session.' + Write-Host + $script:GameDrugs | ForEach-Object -Process { + # This block is executed for each element in the array + Write-Host ('· {0} ({1})' -f $_.Name, $_.Code) + Write-Host ('· Base Price Range: ${0}-${1}' -f $_.PriceRange[0], $_.PriceRange[1]) + Write-Host ('· History: {0}' -f $script:DrugsInfo[$_.Code].History) + Write-Host ('· Effects: {0}' -f $script:DrugsInfo[$_.Code].Effects) + $streetNames = $script:DrugsInfo[$_.Code].StreetNames -join ', ' + Write-Host ('· Other Street Names: {0}' -f $streetNames) + Write-Host + + # Check if the cursor position is near the bottom of the console window + if ($host.UI.RawUI.CursorPosition.Y -ge ($host.UI.RawUI.WindowSize.Height - 6)) { + PressEnterPrompt + Clear-Host + } + } -End { + # This block is executed once after processing all elements + Write-Host 'End of list.' + PressEnterPrompt + } +} + +# This function displays the main menu of the game. +function ShowMainMenu { + Clear-Host + ShowHeader + + Write-Host + + #region Display Inventory + # Define the column width + $columnWidth = 40 + + if ($script:Player.get_Guns().Count -gt 0) { + # Combine Clothing and Guns into OtherInventory for display. + [string[]]$gunEntries = $script:Player.get_Guns() | ForEach-Object { + '{0} (Power: {1})' -f $_.Name, $_.StoppingPower + } + } + else { + $gunEntries = @() + } + + $otherInventory = $script:Player.Clothing + $gunEntries + + # Print the headers + Write-Centered ("{0,-$columnWidth} {1,-$columnWidth}" -f "Your drugs:", "Other Inventory:") + + # Get the maximum count between the three collections + $maxCount = [Math]::Max($script:Player.Drugs.Count, $otherInventory.Count) + + # Loop that many times + for ($i = 0; $i -lt $maxCount; $i++) { + # Get the drug, clothing, and gun at the current index, or null if the index is out of range + $dispDrug = if ($i -lt $script:Player.Drugs.Count) { + '· {0} {1}' -f $script:Player.Drugs[$i].Quantity, $script:Player.Drugs[$i].Name + } + elseif ($i -eq 0) { + '· You have 0 marijuanas.' + } + + $dispOtherInventory = if ($i -lt $otherInventory.Count) { + '· {0}' -f $otherInventory[$i] + } + elseif ($i -eq 0) { + '· You are naked.' + } + + Write-Centered ("{0,-$columnWidth} {1,-$columnWidth}" -f $dispDrug, $dispOtherInventory) + } + #endregion Display Inventory + + #region Display menu options + Write-Host + Write-Host '[B]uy drugs' + Write-Host '[S]ell drugs' + Write-Host '[F]lush drugs' + Write-Host + Write-Host '[J]et to another city' + # If this city has a Gun Shop show the Gun shop menu item + if ($script:Player.City.HasGunShop()) { + Write-Host '[G]un shop' + } + Write-Host + Write-Host '[D]rug-o-pedia' + Write-Host 's[T]atistics' + Write-Host + Write-Host '[Q]uit' + Write-Host '[?]Help' + Write-Host + Write-Host 'What now, boss? ' -NoNewline + #endregion Display menu options + + # Wait for user to press a valid key + $choices = @('B', 'S', 'F', 'J', 'D', 'Q', 'T', '?', '!') + # If there is gunshop include 'G' in choices + if ($script:Player.City.HasGunShop()) { + $choices += 'G' + } + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + while (-not $choices.Contains($choice)) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } + + # Return the Character of the key that was pressed (upper case) + return $choice +} + +# Function to display guns available in a city in a two column display +function ShowCityGuns { + param ( + [Parameter(Mandatory)] + [City]$City + ) + + $gunCount = $City.GunsForSale.Count + $halfCount = [math]::Ceiling($gunCount / 2) + $boxWidth = 96 + $leftColumnWidth = 45 + $rightColumnWidth = 45 + $gutterWidth = 1 + + # Top border + Write-Centered ('┌' + ('─' * ($boxWidth - 1)) + '┐') + + for ($i = 0; $i -lt $halfCount; $i++) { + + $leftGunName = '{0}' -f $City.GunsForSale[$i].Name + $rightGunName = '{0}' -f $City.GunsForSale[$i + $halfCount].Name + + $leftGun = ('{0}. {1} ({2}) - ${3}' -f ($i + 1), $leftGunName, $City.GunsForSale[$i].StoppingPower, $City.GunsForSale[$i].get_Price()) + $rightGun = ('{0}. {1} ({2}) - ${3}' -f ($i + $halfCount + 1), $rightGunName, $City.GunsForSale[$i + $halfCount].StoppingPower, $City.GunsForSale[$i + $halfCount].get_Price()) + + $leftGun = $leftGun.PadRight($leftColumnWidth) + $rightGun = $rightGun.PadRight($rightColumnWidth) + + # Left gutter + Write-Centered ('│' + (' ' * $gutterWidth) + $leftGun + (' ' * $gutterWidth) + '│' + (' ' * $gutterWidth) + $rightGun + (' ' * $gutterWidth) + '│') + + # Middle border + if ($i -eq $halfCount - 1) { + Write-Centered ('└' + ('─' * ($leftColumnWidth + $gutterWidth * 2)) + ('┴' + ('─' * ($rightColumnWidth + $gutterWidth * 2))) + '┘') + } + else { + Write-Centered ('│' + (' ' * $gutterWidth) + ('─' * $leftColumnWidth) + (' ' * $gutterWidth) + '│' + (' ' * $gutterWidth) + ('─' * $rightColumnWidth) + (' ' * $gutterWidth) + '│') + } + } +} + +# This function displays the gun shop menu. +function ShowGunshopMenu { + + function ShopSellsGun { + param ( + [Parameter(Mandatory)] + [int]$GunNumber + ) + + # Create clone of gun object for transaction. + $cityGun = $script:Player.City.GunsForSale[$GunNumber - 1] + $gunToBuy = [Gun]::new($cityGun) + + # Confirm the user wants to buy it. + Write-Host + Write-Host + Write-Centered ('Are you sure you want to buy a {0} for ${1}? (Y/N)' -f $gunToBuy.Name, $gunToBuy.Price) -NoNewline + + do { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } until ($key -in @('Y', 'N')) + + if ($key -eq 'N') { + $gunToBuy = $null + return + } + + # Buy the gun. + Write-Host + Write-Host + $script:Player.BuyGun($gunToBuy) + Write-Host + PressEnterPrompt + } + + function ShopBuysGun { + $playerGunCount = $script:Player.get_Guns().Count + + Write-Host + # If the player has no guns, return. + if ($playerGunCount -eq 0) { + Write-Host + Write-Centered 'Hey, high-boy! You have no guns to sell.' -ForegroundColor Red + Start-Sleep -Seconds 2 + Write-Host + $getLostMessages = @( + 'Take a hike.', + 'Hit the road.', + 'Go away.', + 'Get lost.', + 'Scram.' + ) + Write-Centered (Get-Random -InputObject $getLostMessages) + Start-Sleep -Seconds 2 + Write-Host + PressEnterPrompt + return + } + + # Display the player's guns. + Write-Host + for ($i = 0; $i -lt $playerGunCount; $i++) { + $gun = $script:Player.get_Guns()[$i] + Write-Centered ('{0}. {1} ({2})' -f ($i + 1), $gun.Name, $gun.StoppingPower) + } + + # Prompt the player to choose a gun to sell. + Write-Host + Write-Centered ('Enter the number of the gun you want to sell (1-{0}), or "Q" to return to the gun shop menu' -f $playerGunCount) -NoNewline + + do { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString() + } until ($key -in '1'.."$playerGunCount" -or $key -in @('q', 'Q')) + + if ($key -in '1'.."$playerGunCount") { + $gunNumber = [int]$key + $gunToSell = $script:Player.get_Guns()[$gunNumber - 1] + } + elseif ($key -in 'q', 'Q') { + return + } + + # Sell the gun. + $script:Player.SellGun($gunToSell) + Write-Host + PressEnterPrompt + } + + $gunSlang = @( + 'piece', + 'burner', + 'gat', + 'iron', + 'blaster', + 'gun', + 'heater', + 'strap' + ) + + do { + Clear-Host + ShowHeader + Write-Host + Write-Centered ('Welcome to {0}!' -f $script:Player.City.GunShopName) + Write-Host + Write-Centered 'We have the following heat for sale:' -ForegroundColor DarkGray + Write-Host + ShowCityGuns $script:Player.City + Write-Host + $gunCount = $script:Player.City.GunsForSale.Count + Write-Centered ('Enter the number of the {0} you want to buy (1-{1}), "S" to sell, or "Q" to return to the main menu' -f (Get-Random -InputObject $gunSlang) , $gunCount) -NoNewline + + do { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString() + } until ($key -in '1'.."$gunCount" -or $key -in @('s', 'S', 'q', 'Q')) + + switch ($key) { + { $_ -in '1'.."$gunCount" } { + # Convert $key string to an integer + $gunNumber = [int]$key + ShopSellsGun -GunNumber $gunNumber; + break + } + { $_ -in 's', 'S' } { + ShopBuysGun; + break + } + { $_ -in 'q', 'Q' } { + break + } + } + } until ($key -in 'q', 'Q') +} + +# Function to display drugs available in a city in a two column display +function ShowCityDrugs { + param ( + [Parameter(Mandatory)] + [City]$City + ) + + function GetFormattedDrugName { + param ( + [Parameter(Mandatory)] + [string]$DrugName, + [Parameter(Mandatory)] + [string[]]$HomeDrugNames, + [Parameter(Mandatory)] + [bool]$IsHomeDrugSaleDay + ) + + if (($DrugName -in $HomeDrugNames) -and $IsHomeDrugSaleDay) { + $DrugName += " (Sale!)" + } + return $DrugName + } + + $drugCount = $City.Drugs.Count + $halfCount = [math]::Ceiling($drugCount / 2) + $boxWidth = 96 + $leftColumnWidth = 45 + $rightColumnWidth = 45 + $gutterWidth = 1 + + # Top border + Write-Centered ('┌' + ('─' * ($boxWidth - 1)) + '┐') + + for ($i = 0; $i -lt $halfCount; $i++) { + $isSaleDay = IsHomeDrugSaleDay + + $leftDrugName = GetFormattedDrugName ` + -DrugName $City.Drugs[$i].Name ` + -HomeDrugNames $City.HomeDrugNames ` + -IsHomeDrugSaleDay $isSaleDay + + $rightDrugName = GetFormattedDrugName ` + -DrugName $City.Drugs[$i + $halfCount].Name ` + -HomeDrugNames $City.HomeDrugNames ` + -IsHomeDrugSaleDay $isSaleDay + + $leftDrug = ('{0}. {1} - ${2}' -f ($i + 1), $leftDrugName, $City.Drugs[$i].get_Price()) + $rightDrug = ('{0}. {1} - ${2}' -f ($i + $halfCount + 1), $rightDrugName, $City.Drugs[$i + $halfCount].get_Price()) + + $leftDrug = $leftDrug.PadRight($leftColumnWidth) + $rightDrug = $rightDrug.PadRight($rightColumnWidth) + + # Left gutter + Write-Centered ('│' + (' ' * $gutterWidth) + $leftDrug + (' ' * $gutterWidth) + '│' + (' ' * $gutterWidth) + $rightDrug + (' ' * $gutterWidth) + '│') + + # Middle border + if ($i -eq $halfCount - 1) { + Write-Centered ('└' + ('─' * ($leftColumnWidth + $gutterWidth * 2)) + ('┴' + ('─' * ($rightColumnWidth + $gutterWidth * 2))) + '┘') + } + else { + Write-Centered ('│' + (' ' * $gutterWidth) + ('─' * $leftColumnWidth) + (' ' * $gutterWidth) + '│' + (' ' * $gutterWidth) + ('─' * $rightColumnWidth) + (' ' * $gutterWidth) + '│') + } + } +} + +# This function displays the drug buying menu. +function ShowBuyDrugsMenu { + Clear-Host + ShowHeader + Write-Host + Write-Centered "Buy Drugs" + Write-Host + ShowCityDrugs $script:Player.City + Write-Host + $drugCount = $script:Player.City.Drugs.Count + Write-Centered "Enter the number of the drug you want to buy (1-$drugCount, or 'Q' to return to the main menu) " -NoNewline + $drugNumber = $null + while (-not $drugNumber) { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString() + switch ($key) { + { $_ -in '1'.."$drugCount" } { $drugNumber = [int]$key; break } + { $_ -in 'q', 'Q' } { return } + } + } + + Write-Host + # Create clone of drug object for transaction. + $cityDrug = $script:Player.City.Drugs[$drugNumber - 1] + $drugToBuy = [Drug]::new($cityDrug.Name) + $drugToBuy.BasePrice = $cityDrug.BasePrice + $drugToBuy.PriceMultiplier = $cityDrug.PriceMultiplier + + $maxQuantity = [math]::Floor($script:Player.Cash / $drugToBuy.get_Price()) + + # Ask how many they want to buy. + $quantity = Read-Host "Enter the quantity you want to buy (max $maxQuantity)" + $quantityInt = 0 + if (-not [int]::TryParse($quantity, [ref]$quantityInt) -or $quantityInt -lt 1) { + Write-Centered "Invalid quantity." + PressEnterPrompt + return + } + + # Buy the drugs. + $drugToBuy.Quantity = $quantityInt + $script:Player.BuyDrugs($drugToBuy) + + PressEnterPrompt +} + +# This function displays the drug selling menu. +function ShowSellDrugsMenu { + Clear-Host + ShowHeader + Write-Host + Write-Centered "Sell Drugs" + Write-Host + ShowCityDrugs $script:Player.City + Write-Host + $drugCount = $script:Player.City.Drugs.Count + + # Ask which drug they want to sell. + Write-Centered "Enter the number of the drug you want to sell (1-$drugCount, or 'Q' to return to the main menu) " -NoNewline + $drugNumber = $null + while (-not $drugNumber) { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString() + switch ($key) { + { $_ -in '1'.."$drugCount" } { $drugNumber = [int]$key; break } + { $_ -in 'q', 'Q' } { return } + } + } + + Write-Host + $nameOfDrugToSell = $script:Player.City.Drugs[$drugNumber - 1].Name + $drugToSell = $script:Player.Drugs | Where-Object { $_.Name -eq $nameOfDrugToSell } + + + if (!$drugToSell) { + Write-Centered ('You don''t have any {0} to sell!' -f $nameOfDrugToSell) + PressEnterPrompt + return + } + + $maxQuantity = $drugToSell.Quantity + + # Ask how many they want to sell. + $quantity = Read-Host ('Enter the quantity you want to sell (max {0})' -f $maxQuantity) + $quantityInt = 0 + if (-not [int]::TryParse($quantity, [ref]$quantityInt) -or $quantityInt -lt 1) { + Write-Centered "Invalid quantity." + PressEnterPrompt + return + } + + # Sell the drugs. + $script:Player.SellDrugs($drugToSell, $quantityInt) + + PressEnterPrompt +} + +# This function displays the drug flushing menu. +function ShowFlushDrugsMenu { + Clear-Host + ShowHeader + Write-Host + + # If the user has no drugs, display a message and exit the function. + if ($script:Player.Drugs.Count -eq 0) { + + $phrases = @( + 'Are you on cloud nine?', + 'Ever notice that...', + 'Hey, guess what?', + 'How high are you?', + 'I guess you missed it on the main screen...?', + 'In case you didn''t notice...', + 'Just a heads up...', + 'On a scale from 1 to 10, how lifted are you?', + 'Pssst...', + 'You high?', + 'You must be so broke, you can''t even pay attention!', + 'You seem spaced out.' + ) + + $insults = @( + 'amigo', + 'bud', + 'chump', + 'homey', + 'mate', + 'pal', + 'punk', + 'tea-head', + 'wiseguy' + ) + + Write-Centered (Get-Random -InputObject $phrases) + Start-Sleep 1 + Write-Host + Write-BlockLetters 'You have' -Align Center -ForegroundColor White -BackgroundColor DarkRed -VerticalPadding 1 + Write-BlockLetters '0 marijuanas!' -Align Center -ForegroundColor White -BackgroundColor DarkRed -VerticalPadding 1 + Start-Sleep 1 + Write-Host + Write-Centered ('What are you gonna flush, {0}?' -f (Get-Random -InputObject $insults)) + Start-Sleep 2 + Write-Centered 'Nothing, that''s what!' -ForegroundColor DarkMagenta + Write-Host + Start-Sleep 1 + PressEnterPrompt + return + } + + #region Display Drug Inventory + Write-Centered "Your drugs:" + Write-Host + + # Create an empty array to store the drug menu + $drugMenu = @() + $drugNumber = 1 + + # Iterate through each drug in the player's inventory + foreach ($drug in $script:Player.Drugs) { + # Create a custom object to store drug information + $drugInfo = [PSCustomObject]@{ + Number = $drugNumber + Name = $drug.Name + Quantity = [int]$drug.Quantity + } + # Add the drug information to the drug menu array + $drugMenu += $drugInfo + $drugNumber++ + } + + # Get the length of the longest line + $longestLength = 0 + foreach ($drugInfo in $drugMenu) { + $currentLength = ('{0}. {1} ({2})' -f $drugInfo.Number, $drugInfo.Name, $drugInfo.Quantity).Length + if ($currentLength -gt $longestLength) { + $longestLength = $currentLength + } + } + + # Display the drug list + foreach ($drugInfo in $drugMenu) { + $dispDrug = '{0}. {1} ({2})' -f $drugInfo.Number, $drugInfo.Name, $drugInfo.Quantity + $paddedDispDrug = $dispDrug.PadRight($longestLength) + $centeredDispDrug = $paddedDispDrug.PadLeft(($paddedDispDrug.Length + $longestLength) / 2) + Write-Centered $centeredDispDrug + } + #endregion Display Drug Inventory + + Write-Host + + # Ask which drug they want to flush. + $drugCount = $drugMenu.Count + Write-Centered ('Enter the number of the drug you want to flush (1-{0}, or ''Q'' to return to the main menu)' -f $drugCount) -NoNewline + $drugNumber = $null + while (-not $drugNumber) { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString() + switch ($key) { + { $_ -in '1'.."$drugCount" } { $drugNumber = [int]$key; break } + { $_ -in 'q', 'Q' } { return } + } + } + + # Get quantity to flush. + [int]$maxQuantity = $drugMenu[$drugNumber - 1].Quantity + $quantityToFlush = Read-Host -Prompt ('Enter the quantity you want to flush (max {0})' -f $maxQuantity) + [int]$parsedResult = $null + while ((-not [int]::TryParse($quantityToFlush, [ref]$parsedResult)) -or ($parsedResult -gt $maxQuantity) -or ($parsedResult -lt 0)) { + # Move up a line and back to the start. + $y = $host.UI.RawUI.CursorPosition.Y - 1 + $host.UI.RawUI.CursorPosition = New-Object System.Management.Automation.Host.Coordinates 0, $y + + # Clear the line + Write-Host (' ' * $host.UI.RawUI.BufferSize.Width) -NoNewline + $host.UI.RawUI.CursorPosition = New-Object System.Management.Automation.Host.Coordinates 0, $host.UI.RawUI.CursorPosition.Y + + # Re-display the prompt + $quantityToFlush = Read-Host -Prompt ('Enter the quantity you want to flush (max {0})' -f $maxQuantity) + } + $quantityToFlush = $parsedResult + + # If the quality to flush is 0, exit the function. + if ($quantityToFlush -eq 0) { + Write-Host + Write-Centered 'You decide not to flush the stuff.' + Start-Sleep 2 + Write-Host + PressEnterPrompt + return + } + + Write-Host + # Create clone of drug object for flushing action. + $nameOfDrugToFlush = $drugMenu[$drugNumber - 1].Name + $drugToFlush = $script:Player.Drugs | Where-Object { $_.Name -eq $nameOfDrugToFlush } + + # There's a 1 in 3 chance it'll offer you to take the drugs instead of flushing them + if ((Get-Random -Minimum 1 -Maximum 4) -eq 1) { + + $drugCompliments = @( + 'tempting', + 'tasty', + 'yummy', + 'inviting', + 'finger-lickin''', + 'scrum-dilly-umptious' + ) + + # Determine if the drug name ends in an 's' or not, and use the appropriate words in the sentence. + $wordsToUse = if ($nameOfDrugToFlush.EndsWith('s')) { + @('Those', 'are') + } + else { + @('That', 'is') + } + + Write-Host + + Write-Centered ('{0} {1} {2} looking pretty {3}!' -f $wordsToUse[0], $nameOfDrugToFlush, $wordsToUse[1], (Get-Random -InputObject $drugCompliments)) -ForegroundColor Yellow + Start-Sleep 2 + Write-Centered 'You want to take them instead of flushing them (Y/N)?' + $choice = $null + while (-not $choice) { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString() + switch ($key) { + { $_ -in 'y', 'Y' } { $choice = 'take'; break } + { $_ -in 'n', 'N' } { $choice = 'flush'; break } + } + } + + if ($choice -eq 'take') { + # Ingest the drugs. + $script:Player.RemoveDrugs($drugToFlush, $quantityToFlush) + Write-Host + + # Generate a random number between 1 and 10. + $randomNumber = Get-Random -Minimum 1 -Maximum 11 + + # There's a 20% chance (2 out of 10) for a bad trip. + if ($randomNumber -le 2) { + Write-Centered 'Uh oh...' + Start-Sleep 2 + Write-BlockLetters 'Bad Trip!' -Align Center -ForegroundColor DarkMagenta -VerticalPadding 1 + Write-Host + Tripout + Write-Centered 'You lose a day exploring the insides of your mind.' -ForegroundColor Red + Start-Sleep 3 + $script:GameDays-- + Write-Centered ('Days left: {0}' -f ($script:GameDays - $script:Player.GameDay)) + } + # There's a 20% chance (2 out of 10) for feeling euphoric. + elseif ($randomNumber -le 4) { + Write-Centered 'You feel euphoric.' -ForegroundColor Cyan + Start-Sleep 2 + # There's a 50% chance at this point (1 out of 2) for gaining a game day. + if ((Get-Random -Minimum 1 -Maximum 3) -eq 1) { + Write-Centered 'You feel like you could do anything!' + Start-Sleep 2 + Write-BlockLetters 'Gained a day!' -ForegroundColor Green -VerticalPadding 1 -Align Center + + # Add a day to the game + $script:GameDays++ + Write-Centered ('Days left: {0}' -f ($script:GameDays - $script:Player.GameDay)) + } + } + # There's a 60% chance (6 out of 10) for feeling a little buzzed. + else { + Write-Centered 'You feel a little buzzed.' -ForegroundColor Yellow + } + + Write-Host + PressEnterPrompt + return + } + } + + # Flush the drugs. + Clear-Host + ShowHeader + Write-Host + + $script:Player.RemoveDrugs($drugToFlush, $quantityToFlush) + Write-BlockLetters ('Flushed' -f $quantityToFlush, $nameOfDrugToFlush) -Align Center -ForegroundColor White -BackgroundColor DarkGreen -VerticalPadding 1 + Write-BlockLetters ('{0} {1}!' -f $quantityToFlush, $nameOfDrugToFlush) -Align Center -ForegroundColor White -BackgroundColor DarkGreen -VerticalPadding 1 + + Start-Sleep 2 + Write-Host + PressEnterPrompt +} + +# This function displays a list of cities to the console, and prompts the user to select a city to travel to. +function Jet { + Clear-Host + ShowHeader + Write-Host + Write-Centered "Jet to Another City" + Write-Host + DisplayCities -Cities $script:GameCities + Write-Host + $cityCount = $script:GameCities.Count + + $ticketPrice = 100 + # If the player can't pay the ticket price, tell them and then exit the function. + if ($script:Player.Cash -lt $ticketPrice) { + Write-Centered ('You don''t have enough cash to buy a ticket, Chum...p!') -ForegroundColor Red + Start-Sleep 3 + PressEnterPrompt + return + } + + $newCity = $null + Write-Centered "Enter the city you want to jet to (1-$cityCount, or 'Q' to return to the main menu) " -NoNewline + while (-not $newCity) { + $key = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString() + switch ($key) { + { $_ -in '1'.."$cityCount" } { $newCity = [int]$key; break } + { $_ -in 'q', 'Q' } { return } + } + } + Write-Host + + # Alphabetize the cities by name, then assign the selected city. + [City[]]$alphabetizedCities = $script:GameCities | Sort-Object -Property Name + $destinationCity = $alphabetizedCities[$newCity - 1] + + # If the new city is different from the player's current city, then travel to the new city. + if ($script:Player.City -ne $destinationCity) { + Write-Host + Write-Centered ('You hit the airport and catch a flight to {0}.' -f $destinationCity.Name) + Start-Sleep -Milliseconds 500 + + if ($script:Player.GameDay -eq $script:GameDays) { + # Last flight of the game is free. + Write-Centered 'You are whisked through to your flight as a VIP, and the ticket is free!' -ForegroundColor Green + } + else { + Write-Centered ('The ticket costs you ${0}, and the trip will take a day.' -f $ticketPrice) -ForegroundColor Yellow + + # Subtract ticket price from player's cash. + $script:Player.Cash -= $ticketPrice + + # If the player has a gun, they migth get busted by air marshals. + if ($script:Player.get_Guns().Count -gt 0) { + Start-Sleep 1 + Write-Host + Write-Centered 'You head on through the metal-detector, and...' + Start-Sleep 2 + + # Retrieve the player's stopping power + $stoppingPower = $script:Player.get_StoppingPower() + + # Calculate the percentage chance of getting busted based on the player's stopping power. + # The chance is a quarter of the player's stopping power, with a minimum of 1% and a maximum of 5%. + $percentageChanceOfGettingBusted = [math]::Max(1, [math]::Min($stoppingPower * 0.25, 5)) + + # Generate a random number between 1 and 100 (inclusive) for use in determining if the player gets busted. + $randomNumber = Get-Random -Minimum 1 -Maximum 101 + if ($randomNumber -le $percentageChanceOfGettingBusted) { + Write-Host + $colors = @('DarkRed', 'Blue') + for ($i = 0; $i -lt 3; $i++) { + foreach ($color in $colors) { + Write-Centered "Beep!`a" -ForegroundColor $color -NoNewline + Write-Host "`r" -NoNewline + Start-Sleep -Milliseconds 750 + } + } + Write-Centered "Beeeeeeeeeeep!`a`a`a" -ForegroundColor Red + Start-Sleep -Seconds 2 + Write-Host + $weaponSlang = @( + 'piece', + 'burner', + 'gat', + 'blaster', + 'gun', + 'heater', + 'strap', + 'weapon' + ) + + Write-Centered ('The air marshals discover your {0}!' -f (Get-Random -InputObject $weaponSlang)) -ForegroundColor Yellow + Start-Sleep 3 + Write-Host + PressEnterPrompt + StartRandomEvent -EventName 'Busted' + # If the player is busted, return (back to main menu) + return + } + else { + $nothinHappensPhrases = @( + 'straight up, nothing pops off. You good, homey.', + 'ain''t nobody doin'' nothin''.', + 'nothin'', capisce?', + 'nada, man. All good.', + 'nothing happens.', + 'they don''t find shit.', + 'the inspectors are apparently blind.', + 'your connections have helped again. You got waved through.', + 'you breeze through security without a hitch.', + 'the air marshals are too busy chatting to notice anything.', + 'the metal-detector malfunctions and you walk right through.', + 'the air marshals mistake you for a celebrity and let you pass.' + ) + + Write-Centered ('...{0}' -f (Get-Random -InputObject $nothinHappensPhrases)) -ForegroundColor DarkGray + } + } + } + Start-Sleep 3 + Write-Host + + # Travel takes a day, change clothes + AdvanceGameDay -ChangeOutfit + + # Set player's new location. + $script:Player.City = $destinationCity + + # Update travel statistics. + $script:GameStats.AddVisitedCity($destinationCity) + + # Fill landing City with random drugs. + $script:Player.City.Drugs = $script:GameDrugs | Get-Random -Count $script:Player.City.MaxDrugCount + + # If it's sale day, adjust multiplier for the new city's home drugs. + if (IsHomeDrugSaleDay) { + $params = @{ + DrugNames = $script:Player.City.HomeDrugNames + Multiplier = $script:Player.City.HomeDrugSaleMultiplier + } + SetDrugPriceMultiplier @params + } + + $arrivalMessages = @( + 'You arrive in {0} and immidiately hit the streets.', + 'Welcome to beautiful {0}!', + 'You arrive in {0} and get to hustlin''.', + 'As you arrive in {0}, you can''t help but notice the smell of {1} in the air.', + 'Welcome to {0}. What a shit-hole.' + ) + + $arrivalMessage = Get-Random -InputObject $arrivalMessages + Write-Host + Write-Centered ($arrivalMessage -f $destinationCity.Name, $destinationCity.HomeDrugNames[0]) -ForegroundColor Green + } + else { + Write-Host + Write-Centered ('Lay off your stash man! You''re already in {0}!' -f $script:Player.City.Name) -ForegroundColor Yellow + } + + Start-Sleep 2 + Write-Host + PressEnterPrompt +} + +# This function handles a random event. +function StartRandomEvent { + param ( + [string]$EventName + ) + + # Track Event in Game Statistics + $script:GameStats.EventsExperienced++ + + # If no Event Name is specified do a random event (usual usage) + if (!$EventName) { + # Set the base chance for a cop fight to 10% + $baseChance = 10 + + # Set the increase in chance per $5000 the player has to 2% + $increasePer5000 = 2 + + # Calculate the increased chance for a cop fight based on the player's cash + # For every $5000 the player has, the chance for a cop fight increases by $increasePer5000 (max. 60%) + $increasedChance = [Math]::Min(60, $baseChance + (($script:Player.Cash / 5000) * $increasePer5000)) + + # Generate a random number between 1 and 100 + $randomNumber = Get-Random -Minimum 1 -Maximum 101 + if ($randomNumber -le $increasedChance) { + CopFight + return + } + else { + $randomEvent = $script:RandomEvents | Get-Random + } + } + else { + # For debugging purposes... + + # If the event name is 'Cops' or 'CopFight', then call the CopFight function and return. + if ($EventName -eq 'Cops' -or $EventName -eq 'CopFight') { + CopFight + return + } + + # If the event name is 'Jail', then call the JailForLife function. + if ($EventName -eq 'Jail') { + JailForLife + return + } + + # If the event name is 'Whale', then add $100000 to the player's cash. + if ($EventName -eq 'Whale') { + $script:Player.Cash += 100000 + Write-Host + Write-Centered 'You found a whale!' -ForegroundColor Green + Write-Centered 'You get $100,000!' -ForegroundColor Green + Write-Host + PressEnterPrompt + return + } + + # If the event name is 'TimeTravel', then let player pick the day to transport to (must be more than 0, and less than $script:GameDays) + if ($EventName -eq 'TimeTravel') { + $newDay = Read-Host ('Enter the day you want to travel to (1-{0})' -f $script:GameDays) + $newDayInt = 0 + if (-not [int]::TryParse($newDay, [ref]$newDayInt) -or $newDayInt -lt 1 -or $newDayInt -gt $script:GameDays) { + Write-Centered "Invalid day." + PressEnterPrompt + return + } + + $script:Player.GameDay = $newDayInt + Write-Host + Write-Centered ('Dr. Who music plays...') -ForegroundColor DarkGray + Write-Centered ('You travel in time to day {0}!' -f $newDayInt) -ForegroundColor Green + Write-Host + PressEnterPrompt + return + } + + # Otherwise, set the random event to the event with the specified name. + $randomEvent = $script:RandomEvents | Where-Object { $_.Name -eq $EventName } + } + + Clear-Host + ShowHeader + Write-Host + $eventName = ('{0}!' -f $randomEvent.Name) + if ((Write-BlockLetters $eventName -Align Center) -eq $false) { + Write-Centered $eventName + } + Write-Host + Write-Host + Write-Centered $randomEvent.Description + # Execute the effect of the random event + & $randomEvent.Effect + + # Update MostCashAtOnce stats by comparing player's current cash + $script:GameStats.UpdateMostCashAtOnce($script:Player.Cash) + + Write-Host + PressEnterPrompt +} + +# This function displays a prompt to the user to press Enter to continue. +function PressEnterPrompt { + # Clear existing keyboard buffer + $Host.UI.RawUI.Flushinputbuffer() + Write-Centered 'Press Enter to continue' -NoNewline + $choice = $null + while ($choice.VirtualKeyCode -ne 13) { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown') + } + $Host.UI.RawUI.Flushinputbuffer() +} + +# Function to show 'goign to jail for life' screen/end game. +function JailForLife { + # Function display the Jail graphic. + function DrawJailGraphic { + $jailASCII = @( + ' _________________________', + ' || || || ||', + ' || ||, , ,|| ||', + ' || (||/|/(\||/ ||', + ' || ||| _''_`||| ||', + ' || || o o || ||', + ' || (|| - `||) ||', + ' || || = || ||', + ' || ||\___/|| ||', + ' ||___||) , (||___||', + ' /||---||-\_/-||---||\', + ' / ||--_||_____||_--|| \', + ' (_(||)-| P[no]-42 |-(||)_)', + '|"""""""""""""""""""""""""""|', + '| Enjoy the next 25-life, |', + '| [name] |', + ' """""""""""""""""""""""""""' + ) + + # Generate a random "prisoner number". + $pNumberText = (Get-Random -Minimum 100 -Maximum 999).ToString() + + # Array of nicknames for prisoner + $pNames = @( + 'bro', + 'bruh', + 'chump', + 'dummy', + 'fish', + 'fool', + 'homie', + 'j-cat', + 'lad', + 'playa', + 'sucka', + 'tuffy' + ) + + # Select a random name from the $pNames array and append an exclamation mark to it + $paddedName = "{0}!" -f ($pNames | Get-Random) + + # Calculate the padding length for the name + $paddingLength = [Math]::Max(0, (6 - $paddedName.Length) / 2) + + # Pad the name with spaces + $paddedName = $paddedName.PadLeft($paddingLength + $paddedName.Length).PadRight(6) + + # Determine the longest line in the jail ASCII + $maxLength = ($jailASCII | Measure-Object -Property Length -Maximum).Maximum + + foreach ($line in $jailASCII) { + $formattedLine = $line ` + -replace '\[no\]', $pNumberText ` + -replace '\[name\]', $paddedName + + # Pad each line to the length of the longest line + $formattedLine = $formattedLine.PadRight($maxLength) + + Write-Centered $formattedLine -ForegroundColor White + } + } + + $goingToJailPhrases = @( + 'Act dumb, get dumped.', + 'If you poke the bear, expect to get bit.', + 'If you wanna play, you gotta pay.', + 'Play stupid games, win stupid prizes.', + 'Spark negativity, catch a cosmic slap.', + 'Start beef, catch grief.', + 'You mess with the bull, you get the horns.', + 'You play with fire, you get burned.' + ) + + $caughtByPolicePhrases = @( + 'The cops roll up and snatch you!', + 'The cops sieze their chance and grab you!', + 'The pigs nabbed yer ass!', + 'You got clipped by the flatfoots!', + 'You got pinched by the G-men!' + ) + + Clear-Host + ShowHeader + Write-Host + Write-Centered $(Get-Random -InputObject $caughtByPolicePhrases) -ForegroundColor Red + DrawJailGraphic + Write-Host + Write-Centered $(Get-Random -InputObject $goingToJailPhrases) -ForegroundColor DarkGray + Start-Sleep 2 + Write-Host + + # Remove players Drugs and Guns + if ($script:Player.Drugs.Count -gt 0) { + Write-Centered 'Drugs...' + Start-Sleep 1 + $script:Player.Drugs = @() + Write-Centered 'Gone!' -ForegroundColor DarkGray + Write-Host + } + + if ($script:Player.get_Guns().Count -gt 0) { + Write-Centered 'Guns...' + Start-Sleep 1 + $script:Player.DumpGuns() + Write-Centered 'Gone!' -ForegroundColor DarkGray + Write-Host + } + + if ($script:Player.Cash -gt 10) { + # Calculate the lawyer fees (90% of their cash) + $lawyerFees = [Math]::Round($script:Player.Cash * 0.9) + + # Deduct the lawyer fees from the player's cash + $script:Player.Cash -= $lawyerFees + + Write-Centered 'Lawyer fees:' + Start-Sleep 1 + Write-Centered ('${0} deducted from your cash.' -f $lawyerFees) -ForegroundColor Yellow + Write-Host + } + + PressEnterPrompt + EndGame +} + +# This function is called when the player chooses to quit the game. +function QuitGame { + # Check if they're sure they want to quit. + Write-Host + Write-Centered 'Are you sure you want to quit? (Y/N)' -NoNewline + # Wait for user to press a valid key + $Host.UI.RawUI.Flushinputbuffer() + do { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } while ('Y', 'N' -notcontains $choice) + + if ($choice -eq 'Y') { + EndGame + } +} + +# This function is called to end the game. +function EndGame { + Clear-Host + Write-Host + $days = $script:Player.GameDay + $daysLabel = if ($days -eq 1) { 'day' } else { 'days' } + Write-Centered ('You survived {0} {1}, and ended up with ${2} in cash.' -f $days, $daysLabel, $script:Player.Cash) + if ($script:Player.Drugs.Count -gt 0) { + Write-Host + Write-Centered 'Drugs left over:' + $script:Player.Drugs | ForEach-Object { + Write-Centered ('· {0} {1}' -f $_.Quantity, $_.Name) + } + } + Write-Host + if ((Write-BlockLetters 'Thanks for playing!' -Align Center -BackgroundColor Blue -VerticalPadding 1) -eq $false) { + Write-Centered 'Thanks for playing!' -BackgroundColor Blue + } + + if (IsHighScore -Score $script:Player.Cash) { + Write-Host + Write-Centered 'You got a high score!' -ForegroundColor Green + Write-Host + Write-Centered 'Enter your initials to save it to the high score list:' + Write-Host + + # Figure out leftpadding for input of initials + $leftPadding = [Math]::Floor(($Host.UI.RawUI.WindowSize.Width - 3) / 2) + Write-Host (' ' * $leftPadding) -NoNewline + + $initials = "" + $Host.UI.RawUI.Flushinputbuffer() + while ($true) { + $key = [System.Console]::ReadKey($true) + if ($key.Key -eq "Enter") { + break + } + elseif ($key.Key -eq "Backspace") { + if ($initials.Length -gt 0) { + $initials = $initials.Substring(0, $initials.Length - 1) + [System.Console]::Write("`b `b") # erase the last character + } + } + elseif ($initials.Length -lt 3) { + $upperCasedChar = $key.KeyChar.ToString().ToUpper() + $initials += $upperCasedChar + [System.Console]::Write($upperCasedChar) + } + } + Write-Host + + # Convert the initials to uppercase, and save them to the player object. + $script:Player.Initials = $initials.ToUpper() + + # Add the high score to the high score list. + AddHighScore -Initials $script:Player.Initials -Score $script:Player.Cash + } + + # Display high scores center justified on screen, with a header + Write-Host + Write-Centered '-----------------' + Write-Centered 'Highest Dealers' + Write-Centered '-----------------' + Write-Host + $highScores = GetHighScores + $maxScoreLength = ($highScores | Measure-Object -Property Score -Maximum).Maximum.ToString().Length + + $highScores | ForEach-Object { + $score = $_.Score.ToString().PadRight($maxScoreLength) + if ($_.Initials -eq $script:Player.Initials -and $_.Score -eq $script:Player.Cash) { + Write-Centered ('-> {0} - ${1} <-' -f $_.Initials, $score) -ForegroundColor Green + } + elseif ($_.Initials -eq $highScores[0].Initials -and $_.Score -eq $highScores[0].Score) { + Write-Centered ('{0} - ${1}' -f $_.Initials, $score) -ForegroundColor Yellow + } + elseif ($_.Initials -eq $highScores[1].Initials -and $_.Score -eq $highScores[1].Score) { + Write-Centered ('{0} - ${1}' -f $_.Initials, $score) -ForegroundColor Gray + } + elseif ($_.Initials -eq $highScores[2].Initials -and $_.Score -eq $highScores[2].Score) { + Write-Centered ('{0} - ${1}' -f $_.Initials, $score) -ForegroundColor DarkYellow + } + else { + Write-Centered ('{0} - ${1}' -f $_.Initials, $score) -ForegroundColor DarkGray + } + } + + $script:GameOver = $true + + Write-Host + Write-Centered 'Would you like to play again? (Y/N)' -NoNewline + # Wait for user to press a valid key + $Host.UI.RawUI.Flushinputbuffer() + do { + $choice = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').Character.ToString().ToUpper() + } while ('Y', 'N' -notcontains $choice) + + if ($choice -eq 'N') { + $script:Playing = $false + } +} + +# This function displays the game over screen when the player runs out of days. +function ShowGameOverCuzDays { + param ( + [int]$GameDays + ) + + Clear-Host + ShowHeader + Write-Host + + # Define an array of colors + $colours = [System.ConsoleColor]::GetValues([System.ConsoleColor]) + + # Loop through each color in the array (skipping black) + foreach ($colour in $colours) { + if ($colour -eq [System.ConsoleColor]::Black) { + continue + } + + Write-BlockLetters ('Day {0}!' -f ($GameDays + 1)) -ForegroundColor $colour -VerticalPadding 1 -Align Center + + if ($colour -eq $colours[-1]) { + break + } + OverWriteLastLines -Count 7 + } + + Start-Sleep -Seconds 2 + Write-Host + Write-Centered 'Time''s up, boss!' -ForegroundColor Green + Start-Sleep -Seconds 3 + Write-Host + PressEnterPrompt + EndGame +} + + +# This function displays the help screen. +function ShowHelp { + Clear-Host + ShowHeader + Write-Host + Write-Centered '------' + Write-Centered 'Help' + Write-Centered '------' + Write-Host + Write-Centered 'Drug Wars is a text-based game where you buy and sell drugs in various cities around the world.' + Write-Centered ('The goal is to make as much cash money as possible in {0} days.' -f $script:GameDays) + Write-Host + Write-Host 'Main Menu' + Write-Host '---------' + Write-Host '[B]uy drugs' + Write-Host '[S]ell drugs' + Write-Host '[F]lush drugs' + Write-Host '[G]un shop' + Write-Host '[J]et to another city' + Write-Host '[D]rug-o-pedia' + Write-Host '[Q]uit' + Write-Host + Write-Host 'Buy Drugs' + Write-Host '---------' + Write-Host 'This displays the current prices of all drugs in the city you are in.' + Write-Host 'Enter the name of the drug you want to buy, and the quantity you want to buy.' + Write-Host 'You can only buy as much as you can afford, and as much as you have room for in your pockets.' + Write-Host + Write-Host 'Sell Drugs' + Write-Host '----------' + Write-Host 'This displays the current prices of all drugs in the city you are in.' + Write-Host 'Enter the name of the drug you want to sell, and the quantity you want to sell.' + Write-Host 'You can only sell as much as you have in your inventory.' + Write-Host + Write-Host 'Flush Drugs' + Write-Host '-----------' + Write-Host 'This displays the current drugs in your inventory.' + Write-Host 'Enter the name of the drug you want to flush, and the quantity you want to flush.' + Write-Host 'You can only flush as much as you have in your inventory.' + Write-Host 'Flushing drugs is a good way to get rid of evidence and unmarketable drugs, and sometimes leads to a good time.' + Write-Host + Write-Host 'Gun Shop' + Write-Host '--------' + Write-Host 'This displays a list of guns you can buy.' + Write-Host 'Buying a gun costs cash, and can help you in a fight.' + Write-Host 'You can also sell your guns (at a discount, of course).' + Write-Host 'You can only carry up to two guns at a time.' + Write-Host 'There are only two gun stores in the game, in random cities.' + Write-Host + Write-Host 'Jet to Another City' + Write-Host '-------------------' + Write-Host 'This displays a list of cities you can travel to.' + Write-Host 'Enter the number of the city you want to travel to.' + Write-Host 'Traveling to another city takes a day, and costs some cash (don''t get stuck!).' + Write-Host + Write-Host 'Drug-o-pedia' + Write-Host '------------' + Write-Host 'This displays detailed information about the drugs currently active in this game session.' + Write-Host + Write-Host 'Quit' + Write-Host '----' + Write-Host 'This exits the game.' + Write-Host + Write-Host 'Random Events' + Write-Host '-------------' + Write-Host 'Random events can occur at any time.' + Write-Host 'Some are good, some are bad.' + Write-Host + PressEnterPrompt +} + +# This function displays tag line prompt (for title screen) +function ShowTaglinePrompt { + param ( + [string]$Text + ) + + function GetTagLineAlternateText { + $startPromptWords = @( + 'activate', + 'begin', + 'blaze up', + 'do this', + 'fire it up', + 'hit it off', + 'launch', + 'lift off', + 'roll out', + 'spark one up', + 'square off', + 'start', + 'throw down' + ) + + return ('Press Enter to {0}' -f (Get-Random -InputObject $startPromptWords)) + } + + # Define an array of taglines to be used for the text + $tagLines = @( + '"My version is better." - John E. Dell', + 'In Drug Wars, it''s not personal; it''s strictly business.', + 'Red pill or Blue pill? Why not both?', + 'To infinity and beyond (the law).', + 'Life is like a box of narcotics; you never know what you''re gonna get.', + 'There''s no crying In Drug Wars!', + 'I see dead people... dealing drugs in Drug Wars.', + 'Frankly, my dear, I don''t give a gram.', + 'We''re gonna need a bigger syndicate.', + 'Keep your friends close and your narcotics closer.', + 'In Drug Wars, the first rule is you do talk about Drug Wars.', + 'I''ll be back... after I conquer the drug trade.', + 'Where every decision could be your last.', + 'The stakes have never been higher. (Get it?)', + 'In the shadows of a city gripped by vice, every move has consequences.', + 'Say hello to my little bag of weed.', + 'I feel the need... the need for speed! And by speed, I mean Amphetamines.', + 'May the force be with you, druggie.', + 'There''s no place like the seedy underbelly of a city.', + '"Grandma loves it; reminds her of the good ol'' days." - Sarcastic Sally Says', + '"Pixelated corner store trip. Play hide and seek with the cops!" - StonerGamer420', + '"High scores as wild as my weekend. Like Mario Kart, but with banana peels." - Captain Cannabis', + '"Monopoly''s side hustle. Laughed so hard, neighbours thought I was on something!" - ChuckleMaster69', + '"Five stars for unexpected therapy!" - Johnny Two-eyes', + '"In-game lawyer pricier than virtual stash. Legal drama with pixels, fewer objections." - The Gamer''s Ass', + '"Meh" - Most People', + 'Dedicated to the big boss, Janny "Two-Titz". ♥' + ) + + # If no text is supplied, randomly pick a tagline to use as $text + if ([string]::IsNullOrEmpty($Text)) { + $Text = Get-Random -InputObject $tagLines + $useTagLines = $true + } + + # Define an array of colors to be used for the tag text fade steps + $colours = @('DarkGray', 'Gray') + for ($i = 0; $i -lt 20; $i++) { + $colours += 'White' + } + $colours += @('Gray', 'DarkGray') + for ($i = 0; $i -lt 10; $i++) { + $colours += 'Black' + } + + # Store the original cursor position + $originalCursorPosition = $host.UI.RawUI.CursorPosition + + $alternateText = GetTagLineAlternateText + + $counter = 1 + + # Start an infinite loop + while ($true) { + # Loop through each color in the colors array + foreach ($colour in $colours) { + # Reset the cursor position to the original position + $host.UI.RawUI.CursorPosition = $originalCursorPosition + + # Write the text to the host with the current color, without a newline at the end + if ($colour -eq "Black") { + # If the color is black, clear the line instead. + Write-Centered (' ' * $Text.Length) -NoNewline + $host.UI.RawUI.CursorPosition = $originalCursorPosition + } + else { + Write-Centered $Text -ForegroundColor $colour -NoNewline + } + + # Set the sleep duration based on the current color + $sleepDuration = 125 + + # Pause execution for the specified duration + Start-Sleep -Milliseconds $sleepDuration + + # Check if a key has been pressed + if ([System.Console]::KeyAvailable) { + # Read the key that was pressed + $key = [System.Console]::ReadKey($true) + # If the Enter key was pressed, exit the loop + if ($key.Key -eq "Enter") { + Write-Host + # Exit the function + return + } + } + } + + # Swap the text and the alternate text + if ($useTagLines) { + if ($counter % 2 -eq 0) { + $Text = Get-Random -InputObject $tagLines + } + else { + $Text = GetTagLineAlternateText + } + $counter++ + } + else { + $temp = $Text + $Text = $alternateText + $alternateText = $temp + } + } +} + +# Function to show the title screen +function ShowTitleScreen { + $titleBlocks = @( + @( + ' ( ____', + ' )\ ) ( ( | /', + '(()/( ( ( ( ( )\))( '' ) ( | /', + ' /(_)) )( ))\ )\))( ((_)()\ ) ( /( )( ( | /', + '(_))_ (()\ /((_)((_))\ _(())\_)() )(_))(()\ )\ |/', + ' | \ ((_)(_))( (()(_) \ \((_)/ /((_)_ ((_)((_) (', + ' | |) || ''_|| || |/ _` | \ \/\/ / / _` || ''_|(_-< )\', + ' |___/ |_| \_,_|\__, | \_/\_/ \__,_||_| /__/((_)', + ' |___/' + ), + @( + '________ __ __ ._.', + '\______ \ _______ __ __ ____ / \ / \_____ _______ ______| |', + ' | | \\_ __ \| | \ / ___\ \ \/\/ /\__ \ \_ __ \/ ___/| |', + ' | ` \| | \/| | // /_/ > \ / / __ \_| | \/\___ \ \|', + '/_______ /|__| |____/ \___ / \__/\ / (____ /|__| /____ > __', + ' \/ /_____/ \/ \/ \/ \/' + ), + @( + ' _______ .______ __ __ _______ ____ __ ____ ___ .______ _______. __', + '| \ | _ \ | | | | / _____| \ \ / \ / / / \ | _ \ / || |', + '| .--. || |_) | | | | | | | __ \ \/ \/ / / ^ \ | |_) | | (----`| |', + '| | | || / | | | | | | |_ | \ / / /_\ \ | / \ \ | |', + '| ''--'' || |\ \----.| `--'' | | |__| | \ /\ / / _____ \ | |\ \----..----) | |__|', + '|_______/ | _| `._____| \______/ \______| \__/ \__/ /__/ \__\ | _| `._____||_______/ (__)' + ), + @( + ' ,---,', + ' .'' .'' `\', + ',---.'' \ __ ,-. ,--,', + '| | .`\ |,'' ,''/ /| ,''_ /| ,----._,.', + ': : | '' |'' | |'' | .--. | | : / / '' /', + '| '' '' ; :| | ,'',''_ /| : . || : |', + ' | ; . |'' : / | '' | | . .| | .\ .', + '| | : | ''| | '' | | '' | | |. ; ''; |', + ' : | / ; ; : | : | : ; ; |'' . . |', + '| | ''` ,/ | , ; '' : `--'' \`---`-''| |', + '; : .'' ---'' : , .-./.''__/\_: | ,---,', + '| ,.'' `--`----'' | : : ,`--.'' |', + '---'' .---. \ \ / | : :', + ' /. ./| `--`-'' '' '' ;', + ' .--''. '' ; __ ,-. | | |', + ' /__./ \ : | ,'' ,''/ /| .--.--. '' : ;', + ' .--''. '' \'' . ,--.--. '' | |'' | / / '' | | ', + '/___/ \ | '' '' / \ | | ,''| : /`./ '' : |', + '; \ \; :.--. .-. |'' : / | : ;_ ; | ;', + ' \ ; ` | \__\/: . .| | '' \ \ `. `---''. |', + ' . \ .\ ; ," .--.; |; : | `----. \ `--..`;', + ' \ \ '' \ |/ / ,. || , ; / /`--'' /.--,_', + ' : '' |--"; : .'' \---'' ''--''. / | |`.', + ' \ \ ; | , .-./ `--''---'' `-- -`, ;', + ' ''---" `--`---'' ''---`"''' + ), + @( + '... ... . . . ................. ... ......... ............. .........', + '....... ......... . . ..... .......... ......... ..............', + '..... i2gBBBBBDJi . ..... ... .........', + '...... ZBBBBBBBBBBBBZ: .7 iSgR5r .:jY ..... :Bg .i7J5jvi. ........', + '..... dBBB: .SBBQJ .dQRBBBBBBBb MBBQ ... .BBBr .dBQBBBBBBBj .......', + '..... iQBQs rBBBr BBBBQ. :: BBBS .... .QBB: :BBBg. ......', + '..... .BQBj . . PQBS qQBB: BBBJ . 1BQQ LBQB. JBBBL .....', + '...... .BBB1 . JBBD rBBB: ... BBBg :BBBi BBBB: rBBBBQB ....', + '..... :BBBi :BBB7 QBQg .... iQBQQ:. .UBBBL 5BBBBBQBQSQBQ. .....', + '...... rQBBr:vUbMBBBBBr XBBQr ... .ZBBBBBBBBE. . rXQDI: BBBi ....', + '..... iBZguXQBBBBBJ: . rZbb: .... .irii: ... :BBB. .....', + '...... : ... ....... ..... .QBBU .....', + '....... . ..... . . ........... . . ....... PQv::::jBQBBv ......', + '.... . . ..... . ....... ....................... . :BBBBBQBBEi ......', + '. ............. . 7J . . . ..... . .. . .....', + '. .sL .............. 2BB ..... .. :ri. .rJLr: .....', + '. vBBB. ... ..... ZBBd iuKRQQZXr. .. .2B7dQBBBBBr iBQBBBBBQBB1. ....', + '. :BBBi . ... :BBBi i2BBBBBBBBBu .BBBBB7 .rK7:BBBs .vgY ...', + '. ZBBQ sBQQi . SBBE .:7JBBBB. QBBB: .BBBBEggRggEIi. ..', + '.. rBBB7 iBQBBB. rBBB. .qBBBBQPvPQBB. XBBR . .uDBBBQBMQBBBv .', + '. SBBB. BBBBBBB iBBB: BBBs gBBU .BBB7 ... .i. 5QBg. .', + '.. XQBBBBBM:ZBBP JBBQi . jBBBv7rr::dBBB. DBBB. .... sBBBBsr:::KBBBi ..', + '... iQBBBQ. .PBQBBBQ: ... :bQBQBBBBBBBv KBBBi .... .7ZBBQBBBBBL .', + '.... .r7r. ..... . ..... . ..', + '....... . . ........... .... ......... . .....' + ), + @( + ' .', + ' .__ M . .', + ' | \._.. . _ dM | | _.._. __', + ' |__/[ (_|(_] MMr |/\|(_][ _)', + ' ._| 4MMML .', + ' MMMMM. xf', + ' . "MMMMM .MM-', + ' Mh.. +MMMMMM .MMMM', + ' .MMM. .MMMMML. MMMMMh', + ' )MMMh. MMMMMM MMMMMMM', + ' 3MMMMx. ''MMMMMMf xnMMMMMM"', + ' ''*MMMMM MMMMMM. nMMMMMMP"', + ' *MMMMMx "MMMMM\ .MMMMMMM=', + ' *MMMMMh "MMMMM" JMMMMMMP', + ' MMMMMM 3MMMM. dMMMMMM .', + ' MMMMMM "MMMM .MMMMM( .nnMP"', + '=.. *MMMMx MMM" dMMMM" .nnMMMMM*', + ' "MMn... ''MMMMr ''MM MMM" .nMMMMMMM*"', + ' "4MMMMnn.. *MMM MM MMP" .dMMMMMMM""', + ' ^MMMMMMMMx. *ML "M .M* .MMMMMM**"', + ' *PMMMMMMhn. *x > M .MMMM**""', + ' ""**MMMMhx/.h/ .=*"', + ' .3P"%....', + ' nP" "*MMnx' + ) + ) + + # Change the foreground and background colors to gray and black + $host.UI.RawUI.ForegroundColor = "Gray" + $host.UI.RawUI.BackgroundColor = "Black" + Clear-Host + + # Pick a random title block + [string[]]$titleBlock = Get-Random -InputObject $titleBlocks + + # Figure out how many characters wide the longest line is. + $longestLineLength = 0 + $titleBlock | ForEach-Object { + if ($_.Length -gt $longestLineLength) { + $longestLineLength = $_.Length + } + } + + $blockHeight = $titleBlock.Length + + # Based on the console height and width print the block centered verticalland horizontally + $consoleWidth = $Host.UI.RawUI.WindowSize.Width + $consoleHeight = $Host.UI.RawUI.WindowSize.Height + + # Calculate the left padding + $leftPadding = [math]::Floor(($consoleWidth - $longestLineLength) / 2) + + # Calculate the top padding + $topPadding = [math]::Floor(($consoleHeight - $blockHeight) / 2) + + # Remove some lines from the padding to make room for tagline + $topPadding -= 3 + + # Ensure top padding is not negative + $topPadding = [math]::max(0, $topPadding) + # Add top padding + 1..$topPadding | ForEach-Object { Write-Host } + + # Randomly pick a colour for the block + $foreColour = Get-Random -InputObject @('DarkBlue', 'DarkGreen', 'DarkRed', 'White', 'DarkMagenta') + + # Print the block + $titleBlock | ForEach-Object { + Write-Host (' ' * $leftPadding) $_ -ForegroundColor $foreColour + } + + # Capture the curent cursor position + $originalCursorPosition = $host.UI.RawUI.CursorPosition + + # Move the cursor to the bottom left corner of the UI + $host.UI.RawUI.CursorPosition = New-Object System.Management.Automation.Host.Coordinates 0, ($consoleHeight - 2) + # Show GameVersion as "v1.00" padded to two decimal places + Write-Host ('(v{0:0.00})' -f $script:GameVersion) -NoNewline -ForegroundColor DarkGray + # Move the cursor back to the original position + $host.UI.RawUI.CursorPosition = $originalCursorPosition + + Write-Host + Write-Host + ShowTaglinePrompt +} + +# Function to load the high scores from the highscores.json file +function GetHighScores { + $highScores = @() + if (Test-Path -Path "highscores.json") { + $highScores = Get-Content -Path "highscores.json" | ConvertFrom-Json + } + else { + # Create default high score file with 10 made up initals and scores between 1000 and 100000 + $highScores = 1..10 | ForEach-Object { + [PSCustomObject]@{ + # Generate 3 random uppercase letters for the initals. + Initials = ('{0}{1}{2}' -f [char](Get-Random -Minimum 65 -Maximum 91), [char](Get-Random -Minimum 65 -Maximum 91), [char](Get-Random -Minimum 65 -Maximum 91)) + # Generate a random number between 1000 and 100000 that is a multiple of 10 + Score = [int][Math]::Ceiling((Get-Random -Minimum 1000 -Maximum 100001) / 10) * 10 + Date = (Get-Date).ToString("yyyy-MM-dd") + } + } + + # Save them to the json file + $highScores | ConvertTo-Json | Out-File -FilePath "highscores.json" -Force + } + return $highScores | Sort-Object -Property Score -Descending +} + +# Check if given score will make it onto the high score list +function IsHighScore { + param ( + [Parameter(Mandatory = $true)] + [int]$Score + ) + + $highScores = @(GetHighScores) + $lowerScore = $highScores | Where-Object { $_.Score -lt $Score } | Select-Object -First 1 + + return $null -ne $lowerScore +} + +# Function to add a new score to the high scores list +function AddHighScore { + param ( + [Parameter(Mandatory = $true)] + [int]$Score, + [Parameter(Mandatory = $true)] + [string]$Initials + ) + + $highScores = @(GetHighScores) + $newScore = [PSCustomObject]@{ + Initials = $Initials + Score = $Score + Date = (Get-Date).ToString("yyyy-MM-dd") + } + $highScores += $newScore + + # Sort the high scores by score, descending, and keep the top 10 + $highScores | Sort-Object -Property Score -Descending | Select-Object -First 10 | ConvertTo-Json | Out-File -FilePath "highscores.json" -Force +} + +# Function to advance to the game day +function AdvanceGameDay { + param ( + [int]$Days = 1, + [switch]$ChangeOutfit, + [switch]$SkipPriceUpdate + ) + + # Advance the game day + $script:Player.GameDay += $Days + + if ($script:Player.GameDay -gt $script:GameDays) { + return + } + + Write-Centered ('Welcome to day {0}! ({1} days left)' -f $script:Player.GameDay, ($script:GameDays - $script:Player.GameDay)) -ForegroundColor Yellow + + # If today is a Home Drug Sale day, announce it + if (IsHomeDrugSaleDay) { + Write-Host + Write-Centered ('*** Today is a home drug sale day! ***') -ForegroundColor Green + Write-Centered ('Cities will be selling their home drugs for CHEAP!') -ForegroundColor DarkGray + Start-Sleep 3 + } + + # Reset the random event chance for the day. + $script:RandomEventChance_Current = $script:RandomEventChance_Start + + # Change your clothes + if ($ChangeOutfit) { + $clothesChangePhrases = @( + 'Yo, gotta switch up the fit, you know?', + 'Rollin'' with the fashion vibes, gotta keep them threads on point, staying icy for the streets, man.', + 'It''s all about that wardrobe rotation, staying lit and rockin'' those looks that scream realness, keeping it one hunnid, ya feel?', + '''Cuz you gotta keep them threads fresh, homey.', + 'Time for a style upgrade, switchin'' it up like a boss!', + 'Stepping into a new aesthetic, changing lanes in the fashion game.', + 'Closet remix time, gotta keep the outfit playlist on shuffle!', + 'Switchin'' gears, stayin'' fierce in every wardrobe transition.', + 'Fresh threads alert! Changing the game one outfit at a time.', + 'Wardrobe evolution in progress, level up those fashion stats!', + 'Transforming the look, embracing the fashion chameleon within.', + 'Outfit switch: Engage! It''s like a style mission every day.', + 'Breaking out the fashion artillery, time for a sartorial revolution.', + 'Clothes swap mode: ON. Let the style adventure begin!', + 'Changin'' the attire game, making every outfit a masterpiece.', + 'Adios, old threads! Time for a stylish reincarnation.', + 'Fashion forward, always. Switchin'' up the narrative, one outfit at a time.', + 'Clothes metamorphosis unlocked: Embrace the style transformation!', + 'Upgrade the threads, amplify the vibes. It''s a fashion manifesto!', + 'Clothing alchemy in progress: Turning basics into bold statements.' + ) + + # Change the player's outfit, and capture the new outfit name + $newOutfit = $script:Player.ChangeOutfit() + + # Lower-case the first character + $newOutfit = $newOutfit.Substring(0, 1).ToLower() + $newOutfit.Substring(1) + Write-Host + Write-Centered ('You change your clothes, putting on your favourite {0}.' -f $newOutfit) + Write-Centered ('({0})' -f (Get-Random -InputObject $clothesChangePhrases)) -ForegroundColor DarkGray + Start-Sleep -Milliseconds 750 + } + + if (!$SkipPriceUpdate) { + # Randomize the drug prices for the day + SetGameDrugMultipliers + } +} + +# This function sets a random price multiplier for each drug in the game. +function SetGameDrugMultipliers { + $drugs = $script:GameDrugs + foreach ($drug in $drugs) { + $drug.PriceMultiplier = Get-Random -Minimum 0.5 -Maximum 2.6 + } +} + +# This function sets the price multiplier for a specified game drug to a specified multipler. +function SetDrugPriceMultiplier { + param ( + [Parameter(Mandatory = $true)] + [string[]]$DrugNames, + [Parameter(Mandatory = $true)] + [double]$Multiplier + ) + + foreach ($name in $DrugNames) { + $drug = $script:GameDrugs | Where-Object { $_.Name -eq $name } + $drug.PriceMultiplier = $Multiplier + } +} + +# Function to simulate a cop encounter +function CopFight { + #region Function Definitions + + # Function to simulate getting arrested + function GetArrested { + param ( + [int]$CopsKilled = 0 + ) + + if ($CopsKilled -lt 1) { + StartRandomEvent -EventName 'Busted' + } + else { + JailForLife + } + } + + # Function to simulate getting shot dead by cops + function GetShotDead { + $shotDeadStrings = @( + 'The cops shoot you dead!', + 'The pigs spray you with lead!', + 'The cops turn you into a human pinata!', + 'The pigs serve you a hot plate of justice!', + 'The flatfoots send you on a one-way ticket to the afterlife!', + 'The pigs give you a front-row seat to the great beyond!', + 'The flatfoots send you on an express elevator to the afterlife!', + 'The cops give you a golden ticket to paradise!', + 'The flatfoots whisk you away on a magical mystery tour of the great beyond!', + 'The pigs upgrade your ticket to first class on the cosmic express!', + 'The flatfoots give you a VIP pass to the celestial realm!' + ) + + Clear-Host + ShowHeader + Write-Host + + Write-BlockLetters 'Blammo!' -BackgroundColor DarkRed -ForegroundColor DarkGray -Align Center -VerticalPadding 1 + Start-Sleep -Seconds 3 + Write-Host + Write-Centered (Get-Random -InputObject $shotDeadStrings) -ForegroundColor Red + Start-Sleep -Seconds 2 + Write-Host + Write-Centered ('You dead.') -ForegroundColor DarkRed + Write-Host + PressEnterPrompt + EndGame + } + + # Function to calculate the number of cops based on player money and inventory + function CalculateCops { + param ( + [Parameter(Mandatory = $true)] + [int]$PlayerMoney, + [Parameter(Mandatory = $true)] + [int]$PlayerInventoryCount + ) + # For every $5000 in player money, add 1 cop + $numCopsMoney = [math]::Ceiling($PlayerMoney / 5000) + # For every 50 items in player inventory, add 1 cop + $numCopsInventory = [math]::Ceiling($PlayerInventoryCount / 50) + + # Add the two calculated values to get the total number of cops (Min. 1) + $totalCops = $numCopsMoney + $numCopsInventory + return [math]::Max($totalCops, 1) + } + + #endregion Function Definitions + + Clear-Host + ShowHeader + Write-Host + $grawlixes = @( + '$#@%', + '#@*&', + '%$#@', + '*&%$', + '@#$%', + '$@*%', + 'F***' + ) + $grawlix = Get-Random -InputObject $grawlixes + + $copNames = @( + 'cops', + 'pigs', + 'law', + 'fuzz', + 'po-po' + ) + $copName = Get-Random -InputObject $copNames + + Write-BlockLetters ('{0}! It''s the {1}!' -f $grawlix, $copName) -BackgroundColor DarkRed -ForegroundColor Blue -Align Center -VerticalPadding 1 + + # Calculate the number of cops + $numCops = CalculateCops -PlayerMoney $script:Player.Cash -PlayerInventoryCount $script:Player.get_DrugCount() + + # Display encounter message + Write-Host + if ($numCops -eq 1) { + Write-Centered ('You encounter 1 cop!') -ForegroundColor Red + } + else { + Write-Centered ('You encounter {0} cops!' -f $numCops) -ForegroundColor Red + # if there's more than 5 cops, add a little extra drama + if ($numCops -gt 5 -and $numCops -le 10) { + Write-Centered ('It''s a whole squad of cops!') -ForegroundColor DarkGray + } + + # if there's more than 10 cops, add even more drama + if ($numCops -gt 10) { + Write-Centered ('It''s a full-blown police raid!') -ForegroundColor DarkGray + } + } + Start-Sleep -Seconds 2 + # Display player weapon level + Write-Centered ('Your weapon stopping power: {0}' -f $script:Player.get_StoppingPower()) + Start-Sleep -Milliseconds 500 + + # Display options + Write-Host + $options = @( + '1. Attempt to bribe', + '2. Try to flee', + '3. Fight' + ) + + # Find the length of the longest string + $maxLength = ($options | Measure-Object -Property Length -Maximum).Maximum + + $line = '·' + ('=' * $maxLength) + '·' + Write-Centered $line -ForegroundColor DarkGray + + # Loop through each option, pad it to the maximum length, and print it + foreach ($option in $options) { + Write-Centered ($option.PadRight($maxLength)) -ForegroundColor White + } + + Write-Centered $line -ForegroundColor DarkGray + + # Get player choice + Write-Host + Write-Centered 'Choose an option:' -NoNewline + $validOptions = '1', '2', '3' + $choice = $null + while ($choice -notin $validOptions) { + $key = [System.Console]::ReadKey($true) + $choice = $key.KeyChar.ToString() + } + Write-Host + + OverWriteLastLines -Count 8 -WithClear + + # Calculate the chance of getting shot (10% + 2% per cop) + $shotChance = 10 + ($numCops * 2) + + # Process player choice + switch ($choice) { + 1 { + # Attempt to bribe (costs 20% of player's money or $250, per cop, whichever is higher) + $bribeAmount = [math]::Max($script:Player.Cash * 0.2, 250) * $numCops + + Write-Host + # Cops think about it for a moment + if ($numCops -eq 1) { + Write-Centered 'The cop considers your offer...' -ForegroundColor Yellow + } + else { + Write-Centered 'The cops consider your offer...' -ForegroundColor Yellow + } + + Start-Sleep -Seconds 5 + Write-Host + if ($script:Player.Cash -ge $bribeAmount) { + Write-Centered ('Bribe successful! You avoid legal consequences. You paid ${0} in bribes.' -f $bribeAmount) -ForegroundColor Green + $script:Player.Cash -= $bribeAmount + Start-Sleep -Seconds 2 + Write-Host + PressEnterPrompt + } + else { + if ($numCops -eq 1) { + Write-Centered 'Bribe failed! You don''t have enough money to bribe the cop.' -ForegroundColor DarkRed + } + else { + Write-Centered 'Bribe failed! You don''t have enough money to bribe all the cops.' -ForegroundColor DarkRed + } + Start-Sleep -Seconds 2 + Write-Host + PressEnterPrompt + GetArrested + } + } + 2 { + # Try to flee + $fleeSuccess = [bool](Get-Random -Maximum 2) + + if ($fleeSuccess) { + Write-Host + $fleeQuotes = @( + 'You successfully flee from the police!', + 'You manage to escape the cops!', + 'You evade the cops and make a clean getaway!', + 'You dodge the cops and disappear into the shadows!', + 'You give the cops the slip and vanish into thin air!', + 'You outmaneuver the cops and make a daring escape!', + 'Deke left, deke right... you out!', + 'You hoof it full bore and leave the cops in the dust!', + 'Damn! Look at you! You''re like Usain Bolt or some shit.' + 'Dude, you totally transcended the law! Freedom vibes!', + 'Far out, man! You''ve slipped the cuffs and danced into the night!', + 'Whoa, like magic, man! You''ve vanished from the pigs'' radar!', + 'Groovy maneuvers, dude! You''ve melted into the cosmic ether!', + 'You''ve become one with the shadows, man! The cops are clueless!', + 'Incredible, dude! You''ve unlocked the groove and escaped the fuzz!', + 'You zigged and zagged, man! Now you''re surfing the freedom wave!', + 'Running like the wind, man! You''re a free spirit, unstoppable!', + 'Unbelievable speed, man! You''re like a mythical creature or something.' + ) + Write-Centered (Get-Random -InputObject $fleeQuotes) -ForegroundColor Green + Start-Sleep -Seconds 2 + Write-Host + PressEnterPrompt + } + else { + Write-Host + $fleeFailedQuotes = @( + 'Flee attempt failed! The cop(s) nab you.', + 'You need to loose some weight homey, you just got caught.', + 'Hey noodle legs, you need to work out. They got ya!', + 'Whoa, man! Looks like the fuzz crashed your party!', + 'Dude, the cops totally harshed your mellow. Bummer.', + 'Far out, man! You''re like, busted by the po-po.', + 'Heavy vibes, bro. The heat''s got you in their trip.', + 'Hey, spaced-out soul, they''ve got you in their cosmic net.', + 'Groovy idea, man, but they''ve got you in their buzzkill zone.', + 'Wipeout, dude! The authorities have totally buzzed your high.', + 'Dang, you''re caught in their freaky fun-sucking vortex.', + 'Cosmic fail, dude! You''re snagged in their astral lasso.', + 'Bummer deal, man! The pigs have crashed your psychedelic party.' + ) + Write-Centered (Get-Random -InputObject $fleeFailedQuotes) -ForegroundColor DarkRed + Start-Sleep -Seconds 3 + Write-Host + PressEnterPrompt + GetArrested + } + } + 3 { + # Track the cop fight in Game Statistics + $script:GameStats.CopFights++ + + # Pull out yer weapons... + Write-Host + $gunCount = $script:Player.get_Guns().Count + + if ($gunCount -gt 0) { + $gunOutActions = @( + 'bust', + 'pop', + 'pull', + 'whip', + 'yank' + ) + $gunOutAction = Get-Random -InputObject $gunOutActions + + if ($gunCount -gt 1) { + $gunName = $script:Player.get_Guns()[0].Name + $gunName2 = $script:Player.get_Guns()[1].Name + Write-Centered ('You {0} out your {1} and {2} and prepare to fight!' -f $gunOutAction, $gunName, $gunName2) -ForegroundColor Yellow + } + else { + $gunName = $script:Player.get_Guns()[0].Name + Write-Centered ('You {0} out your {1} and prepare to fight!' -f $gunOutAction, $gunName)-ForegroundColor Yellow + } + } + else { + $fistDrawMessages = @( + 'You bust out yo'' fists.', + 'You gear up to throw down.', + 'You get ready to knuckle up.', + 'You square up for a brawl.', + 'You lace up for a fistfight.', + 'You glove up for a scrap.', + 'You get your hands ready for a tussle.', + 'You''re about to throw some punches.', + 'You''re gearing up to duke it out.', + 'You''re prepping to throw some knuckles.', + 'You''re getting set for a bare-knuckle showdown.', + 'You ''bout to throw down, fists up!', + 'You gettin'' ready to knuckle up, homie!', + 'You fixin'' to throw dem hands, gettin'' yo'' game face on!', + 'You ''bout to bust out them fists, gettin'' in the zone!', + 'You gearin'' up for a street brawl, fists cocked!', + 'You ''bout to lay the smackdown, fists clenched!', + 'You gettin'' set to throw dem bones, ready to rumble!', + 'You gettin'' your fists primed, ready to throw some heat!', + 'You preppin'' to duke it out, fists ready to fly!', + 'You gettin'' your knuckles ready for a throwdown, ain''t holdin'' back!' + ) + Write-Centered (Get-Random -InputObject $fistDrawMessages) -ForegroundColor Yellow + } + + Start-Sleep -Seconds 2 + Write-Host + + # Initialize shootout variables + $copsKilled = 0 + $playerCaught = $false + + # Calculate chance of killing a cop. Kill chance is between 1% and 90%, with +5% for each stopping power. + $killChance = [math]::Max([math]::Min($script:Player.get_StoppingPower() * 5, 90), 1) + + # Loop until all cops are killed or player is caught or shot + while ($numCops -gt 0 -and -not $playerCaught) { + if ($gunCount -gt 0) { + $aboutToShootPhrases = @( + 'Crosshairs aligned, breath held... Blam!', + 'One squeeze, one shot...', + 'Ready, aim, fire!', + 'The moment of truth...', + 'With precision honed, the shot rings out...', + 'You fire off a shot...', + 'You get a cop in your sights...', + 'Onomatopoeia' + ) + $randomAboutToShootPhrase = Get-Random -InputObject $aboutToShootPhrases + if ($randomAboutToShootPhrase -eq 'Onomatopoeia') { + $randomIndex = Get-Random -Minimum 0 -Maximum $script:Player.Guns.Count + $randomGun = $script:Player.Guns[$randomIndex] + $randomAboutToShootPhrase = $randomGun.Onomatopoeia + } + + Write-Centered $randomAboutToShootPhrase -ForegroundColor White + } + else { + $punchPhrase = GetRandomPunchPhrase + Write-Centered $punchPhrase + } + + Start-Sleep -Seconds 2 + + # Shooting at cops. + $killedCop = [bool]((Get-Random -Maximum 100) -lt $killChance) + + # If the cop was killed, decrease the cop count + if ($killedCop) { + $numCops-- + $copsKilled++ + + $copKilledPhrases = @( + 'You killed a cop!', + 'You took out a cop!', + 'You smoked a flatfoot!', + 'You iced a pig!', + 'You dropped a cop!', + 'You capped his ass!', + 'Yo, you just dropped a badge!', + 'Coolin'' some of that heat! Nice.', + 'Cop''s down, respect.', + 'One less pig on the streets, good job.', + 'You just made the streets safer, playa.', + 'RIP, officer. Good work.', + 'Damn, you smoked a cop!', + 'You just made a serious statement, son.', + 'Pig''s out of commission. Well done.', + 'You handled that blue uniform smooth, like a boss.', + 'You just rubbed out a flatfoot, see?', + 'That copper won''t be walking the beat no more, see?', + 'Yous made the big boss proud by knocking off that cop.', + 'You just sent that bull on a one-way trip to the morgue.', + 'That badge ain''t shining no more, thanks to you, see?', + 'Yous just made the headlines, kid. Cop down!', + 'You just made your bones with the family, taking out that cop.', + 'That flatfoot won''t be hassling nobody else, not after you got to him.', + 'You just earned yourself some serious respect in this town, see?' + ) + $randomCopKilledPhrase = Get-Random -InputObject $copKilledPhrases + + if ($copsKilled -gt 1) { + $replacements = @{ + 'a cop' = 'another cop' + 'a flatfoot' = 'another flatfoot' + 'a pig' = 'another pig' + } + + foreach ($key in $replacements.Keys) { + $randomCopKilledPhrase = $randomCopKilledPhrase.Replace($key, $replacements[$key]) + } + } + Write-Centered $randomCopKilledPhrase -ForegroundColor Green + + # Increase chance of them shooting you in retaliation by 10%, max 90% + $shotChance = [math]::Min($shotChance + 10, 90) + } + else { + $youMissedPhrases = @( + 'Close, but no cigar!', + 'Come on, man, you gotta aim better than that!', + 'Dude, you''re like, totally off target, but keep grooving!', + 'Far out, that was way off! Channel your inner zen next time.', + 'Haha, you shootin'' blanks, son!', + 'Nice try, but you ain''t hitting nothin'' today.', + 'Nice try, but your aim''s about as good as a broken compass!', + 'Not even close, homey.', + 'Not even close, man, but keep spreading those good vibes!', + 'Swing! And a miss.', + 'That was so far off, it''s in a different zip code!', + 'Yo, you aiming with your eyes closed or what?!', + 'You missed!', + 'You missed, but hey, the universe still loves you!' + ) + Write-Centered (Get-Random -InputObject $youMissedPhrases) -ForegroundColor Red + } + + Start-Sleep -Seconds 1 + Write-Centered ('{0} cops remaining.' -f $numCops) -ForegroundColor Blue + + if ($numCops -gt 0) { + # Increase chance of them shooting you in retaliation by 2%, max 90% + $shotChance = [math]::Min($shotChance + 2, 90) + Write-Host + + $copMovePhrase = @( + 'The cops make their move...', + 'The fuzz starts shufflin''...', + 'The po-po''s rollin'' in on ya...', + 'The law''s makin'' their play...', + 'The authorities are throwin'' down...', + 'The 5-0''s bustin'' a move...', + 'The heat''s comin'' down...', + 'The boys in blue are makin'' a move...', + 'The badges are makin'' their move...', + 'The law dogs are on the scent...' + ) + Write-Centered (Get-Random -InputObject $copMovePhrase) -ForegroundColor Blue + Start-Sleep -Seconds 2 + # 50% chance of losing the fight right now + if ((Get-Random -Maximum 100) -lt 50) { + $playerCaught = $true + } + else { + $copsMissedPhrases = @( + 'The cops miss their shot!', + 'The pigs'' shot goes wide!', + 'The law''s aim is off!', + 'The fuzz missed their mark!', + 'You dodge the cops'' shot!', + 'Duck and cover - the cops miss!', + 'Zing! Just missed you!', + 'You pull some Matrix-like shit and dodge the shots!' + ) + Write-Centered (Get-Random -InputObject $copsMissedPhrases) -ForegroundColor Green + + Start-Sleep -Seconds 5 + OverWriteLastLines -Count 6 -WithClear + } + } + } + + Write-Host + if (!$playerCaught) { + $fightSuccessPhrases = @( + 'You straight-up owned that scrap, ain''t no legal mess stuck to you.' + 'You handled your business, no court bothered with you.' + 'You won the brawl, no cops breathed down your neck.' + 'You came out on top, no judge messed with you.' + 'You dominated the fight, no legal drama touched you.' + 'You took care of business, no courtroom saw your face.' + 'You smashed it, no law hassled you.' + 'You crushed it, no legal stuff stuck to you.' + 'You handled that rumble, no court dealt with you.' + 'You came out on top, no legal mess stuck to you.' + 'You handled that scrap, no judge messed with you.' + 'You handled your business, no legal mess touched you.' + 'You took care of business, no legal heat came your way.' + 'You won the showdown, no legal trouble came atcha.' + 'You came out on top, no legal mess stuck to you.' + ) + + Write-Centered (Get-Random -InputObject $fightSuccessPhrases) -ForegroundColor Green + Start-Sleep -Seconds 2 + + if ($copsKilled -gt 0) { + # Get paid by the mob for each cop you killed + $bossName = $script:MobBossNames | Get-Random + $mobPayment = $copsKilled * 5000 + $script:Player.Cash += $mobPayment + Write-Host + if ($copsKilled -eq 1) { + Write-Centered ('{0} pays you ${1} for taking out a cop!' -f $bossName, $mobPayment) -ForegroundColor Green + } + else { + Write-Centered ('{0} pays you ${1} for taking out {2} cops!' -f $bossName, $mobPayment, $copsKilled) -ForegroundColor Green + } + + $mobAppreciationPhrases = @( + 'Thanks, you''re making the family proud.', + 'Appreciate your loyalty, keep up the good work.', + 'Solid work, you''re earning your stripes.', + 'You''re a real stand-up guy, thanks for holding it down.', + 'Good looks, your efforts don''t go unnoticed.', + 'Thanks for keeping things running smooth, capisce?', + 'Much obliged, you''re an asset to the operation.', + 'You''re an ace in our deck, thanks for your hustle.', + 'Respect for putting in the work, it''s noticed.', + 'Thanks, you''re keeping the wheels greased and turning.' + ) + Write-Centered (Get-Random -InputObject $mobAppreciationPhrases) -ForegroundColor DarkGray + } + + Write-Host + PressEnterPrompt + } + else { + $copsGotYouPhrases = @( + 'You lose the fight!', + 'They got ya, fam!', + 'The cops take you down!', + 'Pastafazool! They got you!', + 'Damn! They got you!' + ) + Write-Centered (Get-Random -InputObject $copsGotYouPhrases) -ForegroundColor Red + Start-Sleep -Seconds 2 + + Write-Centered 'Uh oh...' -ForegroundColor DarkGray + Start-Sleep -Seconds 2 + Write-Host + PressEnterPrompt + + # Calculate the chance of getting shot + if ((Get-Random -Maximum 100) -lt $shotChance) { + GetShotDead + } + else { + GetArrested -CopsKilled $copsKilled + } + } + } + } +} + +# Function to generate a random punch phrase +function GetRandomPunchPhrase { + $punchNames = @( + 'backfist', + 'bitch slap', + 'body blow', + 'hammer fist', + 'haymaker', + 'hook', + 'jab', + 'overhand', + 'slap', + 'sucker punch', + 'superman punch', + 'thorat punch', + 'uppercut' + ) + + $punchPhrases = @( + 'You swing your arm like a pro, aiming for greatness with your best PUNCH_NAME...', + 'You unleash your inner boxer, swinging and hoping for the best with your PUNCH_NAME...', + 'You throw caution to the wind and your fist forward, attempting your most spectacular PUNCH_NAME...', + 'You channel your inner Rocky Balboa, swinging for the stars with your best PUNCH_NAME...', + 'You take a wild swing, hoping your PUNCH_NAME hits the mark like a comedic punchline...', + 'You throw your arm into the fray, attempting your PUNCH_NAME with the finesse of a clumsy superhero...', + 'You wind up like a cartoon character and deliver your PUNCH_NAME with all the gusto of a Saturday morning slapstick routine...', + 'You take a swing, aiming for glory with your PUNCH_NAME, like a clumsy knight in a medieval comedy...', + 'You give it your all, swinging your PUNCH_NAME like a dad trying to impress his kids with a wild dance move at a family party...' + ) + + # Select a random punch name and phrase + $randomPunchName = $punchNames | Get-Random + $randomPunchPhrase = $punchPhrases | Get-Random + + # Replace "PUNCH_NAME" placeholder with the selected punch name + $randomPunchPhrase = $randomPunchPhrase -replace 'PUNCH_NAME', $randomPunchName + + return $randomPunchPhrase +} + +function ShowGameStatsScreen { + param ( + [int]$HeightReduction = 1, # Default to 1 line shorter (for prompt) + [string[]]$Content, # Array of strings to display inside border + [ConsoleColor]$BorderColor = [ConsoleColor]::DarkGray, + [ConsoleColor]$ContentColor = [ConsoleColor]::White + ) + + # Get the current console size + $width = $Host.UI.RawUI.WindowSize.Width + $height = $Host.UI.RawUI.WindowSize.Height - $HeightReduction + + # Clear the console + Clear-Host + + # Display the header (as top border) + ShowHeader + + # Define the side borders for content area + $sideBorderThin = '|' + (' ' * ($width - 2)) + '|' + $sideBorderThick = '║' + (' ' * ($width - 2)) + '║' + + # Draw the border for the content area + Write-Host $sideBorderThin -ForegroundColor $BorderColor + for ($i = 0; $i -lt ($height - 6); $i++) { + Write-Host $sideBorderThick -ForegroundColor $BorderColor + } + + # Draw the bottom border with conditional middle pattern + if (($width - 4) % 2 -eq 0) { + # Even width: + $middle = '-· ·-' + } + else { + # Odd width: + $middle = '-· ·-' + } + + # Calculate the left and right part lengths (without the middle pattern) + $leftPartLength = [Math]::Floor(($width - 4 - $middle.Length) / 2) + 1 + $rightPartLength = $width - 2 - $leftPartLength - $middle.Length + + # Draw the bottom border + $bottomBorder = '╚' + ('═' * $leftPartLength) + $middle + ('═' * $rightPartLength) + '╝' + Write-Host $bottomBorder -ForegroundColor $BorderColor + + # Calculate the starting row for content placement (vertical centering) + $currentRow = [Math]::Floor(($height - $Content.Length) / 2) + + # Place content at the correct locations (centered horizontally) + foreach ($line in $Content) { + $lineLength = $line.Length + $padding = [Math]::Floor(($width - 2 - $lineLength) / 2) + + # Move cursor to the correct position and write the line + $Host.UI.RawUI.CursorPosition = New-Object System.Management.Automation.Host.Coordinates($padding, $currentRow) + Write-Host $line -ForegroundColor $ContentColor -NoNewline + + # Move to the next row + $currentRow++ + } + + # Set the cursor position to the line below the bottom border + $Host.UI.RawUI.CursorPosition = New-Object System.Management.Automation.Host.Coordinates(0, $height) + + PressEnterPrompt +} +############################## +#endregion Function Definitions +################################ + +################# +# Main Entry Point +################### + +# Set default error action +$ErrorActionPreference = 'Stop' + +# Confirm that the console window is large enough to display the game. +if (!$SkipConsoleSizeCheck) { + CheckConsoleSize +} + +# Commence playing! +$script:Playing = $true + +while ($script:Playing) { + # Show title screen + ShowTitleScreen + + # Initialize game state. + InitGame + + # Main game loop. + while (!$script:GameOver) { + + # Update MostCashAtOnce stats by comparing player's current cash + $script:GameStats.UpdateMostCashAtOnce($script:Player.Cash) + + # Show main menu and get user choice + $choice = ShowMainMenu + switch ($choice) { + "B" { + ShowBuyDrugsMenu + } + "D" { + ShowDrugopedia + } + "F" { + ShowFlushDrugsMenu + } + "J" { + Jet + } + "Q" { + QuitGame + } + "S" { + ShowSellDrugsMenu + } + "T" { + ShowGameStatsScreen -Content $script:GameStats.GetPropertiesAsStrings() + } + "?" { + ShowHelp + } + "!" { + $secondKey = [Console]::ReadKey($true).KeyChar.ToString() + if ($secondKey -eq ")") { + StartRandomEvent -EventName (Read-Host -Prompt 'Enter event name') + } + } + "G" { + if ($script:Player.City.HasGunShop) { + ShowGunshopMenu + } + else { + Write-Host + Write-Centered 'Invalid choice' + Start-Sleep -Milliseconds 500 + } + } + default { + Write-Host + Write-Centered 'Invalid choice' + Start-Sleep -Milliseconds 500 + } + } + + # User is quitting, or the game is over, break out of the loop. + if ((!$script:Playing) -or $script:GameOver) { + break + } + + # Random events have an X% chance of happening each day. + if ((Get-Random -Maximum 100) -lt $script:RandomEventChance_Current) { + StartRandomEvent + + # Each time one random event fires off, the chance of getting another that day is halved. + $script:RandomEventChance_Current = [math]::Floor($script:RandomEventChance_Current / 2) + + # If the chance is less than 1% set it to 0. + if ($script:RandomEventChance_Current -lt 1) { + $script:RandomEventChance_Current = 0 + } + } + + # No cash and no drugs, game over + if ($script:Player.Cash -le 0 -and $script:Player.Drugs.Count -eq 0) { + Clear-Host + ShowHeader + Write-Host + Write-Centered 'You''re broke and you have no drugs left.' -ForegroundColor DarkRed + Start-Sleep -Seconds 3 + Write-Centered 'You''re not really cut out for this business.' -ForegroundColor DarkGray + Start-Sleep -Seconds 4 + Write-Host + Write-BlockLetters 'Game over.' -ForegroundColor Black -BackgroundColor DarkRed -VerticalPadding 1 -Align Center + Write-Host + PressEnterPrompt + EndGame + } + + # Out of days, game over. + if ($script:Player.GameDay -gt $script:GameDays) { + ShowGameOverCuzDays -GameDay $script:GameDays + } + } +} +``` + +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index 639e64d09..7b097b37c 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index 5fbdd990f..1f950d9a0 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-files.md b/docs/play-files.md index 9ef2220de..dcd2fe773 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value * Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -86,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index 8ea0f2cce..9e1a4fc2a 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index b075ac6ab..417b5bffa 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index d5e95203a..7252a9244 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index 285367b01..5bb3e05aa 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 9b0edb4bf..789359ba9 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index eb2f36897..747bd6570 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index f880a3713..1544d98ee 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index b118d7249..0da88e409 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index 409cd179f..6118e60e7 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -84,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index d046a456c..19864a9f3 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index 201ebdce8..560689300 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -96,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index ae7119bc7..ce0efd1c9 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index 5ede3be32..c02eb6521 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/play-pong.md b/docs/play-pong.md index 54ea036bf..28ff03648 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index 3e529bd94..570ecbf82 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 0c4be47cd..250b4fb00 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -45,8 +45,8 @@ Script Content #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.youtube.com/watch?v=v7ScGV5128A" -"You've been Rick-Rolled 🤣" +"Sorry, you've been Rick-Rolled by Markus 🤣" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/play-snake.md b/docs/play-snake.md index 1a9653574..107446d83 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index 630aab7d5..e2adcc80c 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index 2910ba7b9..e85434b91 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index fc440f4ca..2ca2bec2f 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index 2730ca9ae..0e219078c 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index fd26c3ec5..36e242d49 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/poweroff.md b/docs/poweroff.md index ba25b3f0c..7c906b232 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/print-image.md b/docs/print-image.md index da1cf6110..8bd56aacd 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -69,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index 17f3595c5..5e0b40bb7 100644 --- a/docs/publish-to-ipfs.md +++ b/docs/publish-to-ipfs.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -HashList @@ -24,6 +25,7 @@ Parameters Position? 2 Default value IPFS_hashes.txt Accept pipeline input? false + Aliases Accept wildcard characters? false -DF_Hashes @@ -33,6 +35,7 @@ Parameters Position? 3 Default value file_checksums.xml Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -86,7 +89,7 @@ try { Write-Host "⏳ (1/3) Searching for IPFS executable..." -NoNewline & ipfs --version - if ($lastExitCode -ne "0") { throw "Can't execute 'ipfs' - make sure IPFS is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'ipfs' - make sure IPFS is installed and available" } if (test-path "$FilePattern" -pathType container) { "⏳ (2/3) Publishing folder $FilePattern/..." @@ -119,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index c386f2582..278d91add 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -72,7 +73,7 @@ try { Write-Host "⏳ (1/4) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2/4) Checking local repository... $pathToRepo" if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access folder: $pathToRepo" } @@ -82,14 +83,14 @@ try { Write-Host "⏳ (3/4) Pulling remote updates... " -noNewline & git -C "$pathToRepo" remote get-url origin - if ($lastExitCode -ne "0") { throw "'git remote get-url origin' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git remote get-url origin' failed with exit code $lastExitCode" } & git -C "$pathToRepo" pull --recurse-submodules=yes - if ($lastExitCode -ne "0") { throw "'git pull' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git pull' failed with exit code $lastExitCode" } Write-Host "⏳ (4/4) Updating submodules... " & git -C "$pathToRepo" submodule update --init --recursive - if ($lastExitCode -ne "0") { throw "'git submodule update' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Updates pulled into 📂$pathToRepoName repo in $($elapsed)s." @@ -100,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index 755804ec0..7ce9985a7 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -70,7 +71,7 @@ try { Write-Host "⏳ (1) Searching for Git executable...`t`t" -NoNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2) Checking parent folder...`t`t" -NoNewline if (-not(Test-Path "$parentDir" -pathType container)) { throw "Can't access folder: $parentDir" } @@ -80,24 +81,24 @@ try { Write-Host "$numFolders subfolders" [int]$step = 3 - [int]$failed = 0 + [int]$numFailed = 0 foreach ($folder in $folders) { $folderName = (Get-Item "$folder").Name Write-Host "⏳ ($step/$($numFolders + 2)) Pulling into 📂$folderName...`t`t" -NoNewline & git -C "$folder" pull --recurse-submodules --jobs=4 - if ($lastExitCode -ne "0") { $failed++; write-warning "'git pull' in 📂$folderName failed" } + if ($lastExitCode -ne 0) { $numFailed++; Write-Warning "'git pull' in 📂$folderName failed" } & git -C "$folder" submodule update --init --recursive - if ($lastExitCode -ne "0") { throw "'git submodule update' in 📂$folder failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { $numFailed++; Write-Warning "'git submodule update' in 📂$folderName failed with exit code $lastExitCode" } $step++ } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - if ($failed -eq 0) { - "✅ Pulled into $numFolders repos at 📂$parentDir in $($elapsed)s." + if ($numFailed -eq 0) { + "✅ Pulled into $numFolders Git repos at 📂$parentDir in $($elapsed)s." exit 0 # success } else { - "⚠️ Pulled into $numFolders repos at 📂$parentDir in $($elapsed)s but $failed failed!" + "⚠️ Pulled into $numFolders Git repos at 📂$parentDir but $numFailed failed (took $($elapsed)s)!" exit 1 } } catch { @@ -106,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index b5f213dfa..cfdbbe576 100644 --- a/docs/query-smart-data.md +++ b/docs/query-smart-data.md @@ -17,6 +17,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -106,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index 9481ad390..56e54c208 100644 --- a/docs/reboot-fritzbox.md +++ b/docs/reboot-fritzbox.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Password @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -152,4 +154,4 @@ echo $Result exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/reboot-into-bios.md b/docs/reboot-into-bios.md new file mode 100644 index 000000000..ef8dcaeed --- /dev/null +++ b/docs/reboot-into-bios.md @@ -0,0 +1,47 @@ +The *reboot-into-bios.ps1* Script +=========================== + +reboot-into-bios.ps1 + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Script Content +-------------- +```powershell +# Requires admin privileges to run +if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { + Write-Host "This script requires administrative privileges." -ForegroundColor Red + Write-Host "Please run PowerShell as Administrator and try again." -ForegroundColor Yellow + pause + exit 1 +} + +try { + Write-Host "Preparing to reboot into BIOS/UEFI..." -foregroundColor Yellow + + # Get boot configuration + $bootConfig = bcdedit /enum firmware + if ($lastExitCode -ne 0) { throw "Failed to get boot configuration" } + + # Set the one-time boot to UEFI + $result = shutdown /r /fw /t 0 + if ($lastExitCode -ne 0) { throw "Failed to initiate reboot" } + +} catch { + Write-Host "Error: $_" -ForegroundColor Red + Write-Host "Failed to initiate BIOS reboot." -ForegroundColor Red + pause + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/reboot.md b/docs/reboot.md index d2923d566..50ec3cc7e 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/remember.md b/docs/remember.md index af06e9bd2..d48ca14e9 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -text2 @@ -23,6 +24,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -text3 @@ -31,6 +33,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -101,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/remind-me.md b/docs/remind-me.md index 43fabcd88..fac174998 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -14,6 +14,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Time @@ -22,6 +23,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -88,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/remove-dir-tree.md b/docs/remove-dir-tree.md index c597a6f77..c8795d872 100644 --- a/docs/remove-dir-tree.md +++ b/docs/remove-dir-tree.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -69,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index 5d59370f1..9ecd3220b 100644 --- a/docs/remove-empty-dirs.md +++ b/docs/remove-empty-dirs.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -91,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index f400621c8..fd99ac921 100644 --- a/docs/remove-old-dirs.md +++ b/docs/remove-old-dirs.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -numDays @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 1000 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -35,7 +37,9 @@ Example ------- ```powershell PS> ./remove-old-dirs.ps1 C:\Temp 365 -✅ Removed 0 subfolders in 1s (67 skipped). +⏳ Scanning C:\Temp for subfolders older than 365 days... +⏳ Removing old 'TestFolder'... +✅ Removed 1 of 49 subfolders in 1s. ``` @@ -61,7 +65,9 @@ Script Content Specifies the number of days (1000 by default) .EXAMPLE PS> ./remove-old-dirs.ps1 C:\Temp 365 - ✅ Removed 0 subfolders in 1s (67 skipped). + ⏳ Scanning C:\Temp for subfolders older than 365 days... + ⏳ Removing old 'TestFolder'... + ✅ Removed 1 of 49 subfolders in 1s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -76,21 +82,19 @@ try { if (!(Test-Path -Path "$path" -PathType container)) { throw "Given path doesn't exist - enter a valid path, please" } Write-Host "⏳ Searching in '$path' for subfolders older than $numDays days..." - $numRemoved = $numSkipped = 0 + $numRemoved = 0 $folders = Get-ChildItem -path "$path" -directory foreach ($folder in $folders) { [datetime]$folderDate = ($folder | Get-ItemProperty -Name LastWriteTime).LastWriteTime if ($folderDate -lt (Get-Date).AddDays(-$numDays)) { - Write-Host "Removing old '$folder'..." + Write-Host "⏳ Removing old '$folder'..." $fullPath = $folder | Select-Object -ExpandProperty FullName Remove-Item -path "$fullPath" -force -recurse $numRemoved++ - } else { - $numSkipped++ } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Removed $numRemoved subfolders in $($elapsed)s ($numSkipped skipped)." + "✅ Removed $numRemoved of $($folders.Count) subfolders in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -98,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 11e35f55e..84c2cec1b 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index fd4215b20..63ffcc915 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Mode @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -RepoDir @@ -33,6 +35,7 @@ Parameters Position? 3 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -88,18 +91,18 @@ try { if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" } $Null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } if (($Mode -eq "locally") -or ($Mode -eq "both")) { "Removing local tag..." & git -C "$RepoDir" tag --delete $TagName - if ($lastExitCode -ne "0") { throw "'git tag --delete' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git tag --delete' failed with exit code $lastExitCode" } } if (($Mode -eq "remote") -or ($Mode -eq "both")) { "Removing remote tag..." & git -C "$RepoDir" push origin :refs/tags/$TagName - if ($lastExitCode -ne "0") { throw "'git push origin' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git push origin' failed with exit code $lastExitCode" } } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds @@ -111,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/remove-user.md b/docs/remove-user.md index e2483c749..14fbc9d02 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -14,6 +14,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index c5ccbf9fd..5750a5afc 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index 6da74523d..6aff5a353 100644 --- a/docs/replace-in-files.md +++ b/docs/replace-in-files.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -replacement @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -filePattern @@ -33,6 +35,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -104,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index 7cc847555..1ac7bce23 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index 3124dd038..0413f7881 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index 0cb13d4e7..c8c390083 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value ~\my.credentials Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -73,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 3ebf38f69..33f6b39cc 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -98,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index b05025ec0..0502b505a 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -89,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/scan-network.md b/docs/scan-network.md index 5d373cbad..90b4daeca 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index aa8ff9aec..58c257ab2 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/search-filename.md b/docs/search-filename.md index d463b92fa..60037520c 100644 --- a/docs/search-filename.md +++ b/docs/search-filename.md @@ -16,6 +16,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -term @@ -25,6 +26,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -96,4 +98,4 @@ Search-Folder -FilePath $path -SearchTerm $term exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/search-files.md b/docs/search-files.md index 88132870e..cbd68d65b 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -filePattern @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -98,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/search-repo.md b/docs/search-repo.md index 3ede3f5d5..0214ce6a5 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -path @@ -24,6 +25,7 @@ Parameters Position? 2 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -79,10 +81,10 @@ try { if (-not(Test-Path "$path" -pathType container)) { throw "Can't access Git repository at: $path" } $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } & git -C "$path" grep $textPattern - if ($lastExitCode -ne "0") { throw "'git grep' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git grep' failed with exit code $lastExitCode" } exit 0 # success } catch { @@ -91,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/send-email.md b/docs/send-email.md index 6777bec28..f9ecadb95 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -To @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Subject @@ -33,6 +35,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Body @@ -42,6 +45,7 @@ Parameters Position? 4 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -SMTPServer @@ -50,6 +54,7 @@ Parameters Position? 5 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -121,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index 7a473d28c..9d271dbf8 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -TargetPort @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 0 Accept pipeline input? false + Aliases Accept wildcard characters? false -Message @@ -33,6 +35,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -104,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/send-udp.md b/docs/send-udp.md index 47033c412..9d9439623 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -TargetPort @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 0 Accept pipeline input? false + Aliases Accept wildcard characters? false -Message @@ -33,6 +35,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -102,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/set-timer.md b/docs/set-timer.md index c833e01ac..a5b7201d0 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 0 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -74,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/set-volume.md b/docs/set-volume.md index 0e4a72cd6..9e3a8c308 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 0 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -77,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index 983aecc14..7c7f5f422 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Style @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Span Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -122,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index e3cfdc4d9..307c2dcbb 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index 28bdf18ec..26550d05d 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/show-notification.md b/docs/show-notification.md index 0b0a808bf..9b1794c30 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Hello World Accept pipeline input? false + Aliases Accept wildcard characters? false -title @@ -24,6 +25,7 @@ Parameters Position? 2 Default value NOTE Accept pipeline input? false + Aliases Accept wildcard characters? false -duration @@ -33,6 +35,7 @@ Parameters Position? 3 Default value 5000 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -96,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index 9460648ad..a63ce2d3c 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 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index a44c4f823..3aa2ec60a 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -74,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index b1998b518..2596ca22a 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -16,6 +16,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -141,4 +142,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 7e21a1577..60dce40dc 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index b4ba63fb0..8d8e5333b 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value handwashing Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -95,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index a207e5740..66dcbbf07 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 10 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -72,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index 0f916f861..570b50ced 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index ebcde5276..025c02bdd 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index f2914bce3..2cbfb23ec 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-english.md b/docs/speak-english.md index 5ada836f2..bc0b396bb 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -74,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index 28556e2ad..3c38b6839 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -139,4 +140,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index 57a04e77a..9eb6b4288 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:24)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-file.md b/docs/speak-file.md index e50b40e28..32f7c176a 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -71,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index f519471e0..0135d1ce5 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-french.md b/docs/speak-french.md index 2788f8688..cde9ad95a 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-german.md b/docs/speak-german.md index 87f2368a6..e14ec1a4d 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index 470a6a54f..7ab6ac93b 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index ea0357e27..9a32c7ffc 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index 6881b72c4..f65ce96a1 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index 8cd10c6fe..fff88c7e8 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index 67ec167c3..e7b74a7d8 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index 0c59bcee1..b4d26b013 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index 929ff07da..ae4e6aa86 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index 8fbb07b06..ec4b48eec 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 4dd9c5f42..95b7c72e0 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index bedc56408..998160e16 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index ccfc980ce..57a814c02 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index c413b1b9e..372c5235a 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index e8b0d9c34..a5edd0aa0 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index 131502e6b..cc8b25659 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-test.md b/docs/speak-test.md index c4271a65b..b12599f9d 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-text.md b/docs/speak-text.md index d1f9f77cb..644c4807f 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -69,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index 8e6617314..15c548ff6 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index 875dbd183..79adc235d 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index 0d99b5d1f..45d4696f5 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/spell-word.md b/docs/spell-word.md index 177cbcdf3..9d36020a3 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -75,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index e46451a65..515436f7b 100644 --- a/docs/start-ipfs-server.md +++ b/docs/start-ipfs-server.md @@ -49,33 +49,33 @@ try { Write-Host "⏳ (1/5) Searching for IPFS executable... " -noNewline & ipfs --version - if ($lastExitCode -ne "0") { throw "Can't execute 'ipfs' - make sure IPFS is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'ipfs' - make sure IPFS is installed and available" } "⏳ (2/5) Init IPFS with profile 'lowpower'..." & ipfs init --profile lowpower "⏳ (3/5) Configuring IPFS..." & ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001 - if ($lastExitCode -ne "0") { throw "'ipfs config Addresses.API' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'ipfs config Addresses.API' failed with exit code $lastExitCode" } & ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/8765 - if ($lastExitCode -ne "0") { throw "'ipfs config Addresses.Gateway' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'ipfs config Addresses.Gateway' failed with exit code $lastExitCode" } $Hostname = $(hostname) & ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '[\"http://miami:5001\", \"http://localhost:3000\", \"http://127.0.0.1:5001\", \"https://webui.ipfs.io\"]' - if ($lastExitCode -ne "0") { throw "'ipfs config Access-Control-Allow-Origin' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'ipfs config Access-Control-Allow-Origin' failed with exit code $lastExitCode" } & ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '[\"PUT\", \"POST\"]' - if ($lastExitCode -ne "0") { throw "'ipfs config Access-Control-Allow-Methods' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'ipfs config Access-Control-Allow-Methods' failed with exit code $lastExitCode" } & ipfs config --json AutoNAT.Throttle.GlobalLimit 1 # (30 by default) - if ($lastExitCode -ne "0") { throw "'ipfs config AutoNAT.Throttle.GlobalLimit 1' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'ipfs config AutoNAT.Throttle.GlobalLimit 1' failed with exit code $lastExitCode" } & ipfs config --json AutoNAT.Throttle.PeerLimit 1 # (3 by default) - if ($lastExitCode -ne "0") { throw "'ipfs config AutoNAT.Throttle.PeerLimit 1' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'ipfs config AutoNAT.Throttle.PeerLimit 1' failed with exit code $lastExitCode" } "" Write-Host "⏳ (4/5) Increasing UDP receive buffer size..." -noNewline & sudo sysctl -w net.core.rmem_max=2500000 - if ($lastExitCode -ne "0") { throw "'sysctl' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'sysctl' failed with exit code $lastExitCode" } "⏳ (5/5) Starting IPFS daemon..." # Start-Process nohup 'ipfs daemon' Start-Process nohup -ArgumentList 'ipfs','daemon' -RedirectStandardOutput "$HOME/console.out" -RedirectStandardError "$HOME/console.err" @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/suspend.md b/docs/suspend.md index 4f5740cc0..6875746e3 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index 91b912a77..cddae7f78 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -pathToRepo @@ -24,6 +25,7 @@ Parameters Position? 2 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -38,10 +40,10 @@ PS> ./switch-branch main ⏳ (1/6) Searching for Git executable... git version 2.43.0.windows.1 ⏳ (2/6) Checking local repository... C:\Repos\rust ⏳ (3/6) Fetching remote updates... -⏳ (4/6) Switching to branch 'main'... +⏳ (4/6) Switching to 'main' branch... ⏳ (5/6) Pulling remote updates... ⏳ (6/6) Updating submodules... -✅ Switched 📂rust repo to 'main' branch in 22s. +✅ Switched repo 📂rust to 'main' branch in 22s. ``` @@ -70,10 +72,10 @@ Script Content ⏳ (1/6) Searching for Git executable... git version 2.43.0.windows.1 ⏳ (2/6) Checking local repository... C:\Repos\rust ⏳ (3/6) Fetching remote updates... - ⏳ (4/6) Switching to branch 'main'... + ⏳ (4/6) Switching to 'main' branch... ⏳ (5/6) Pulling remote updates... ⏳ (6/6) Updating submodules... - ✅ Switched 📂rust repo to 'main' branch in 22s. + ✅ Switched repo 📂rust to 'main' branch in 22s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -89,36 +91,36 @@ try { Write-Host "⏳ (1/6) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2/6) Checking local repository... $pathToRepo" if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access repo folder: $pathToRepo" } $result = (git -C "$pathToRepo" status) - if ($lastExitCode -ne "0") { throw "'git status' in $pathToRepo failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git status' in $pathToRepo failed with exit code $lastExitCode" } if ("$result" -notmatch "nothing to commit, working tree clean") { throw "Git repository is NOT clean: $result" } $repoDirName = (Get-Item "$pathToRepo").Name Write-Host "⏳ (3/6) Fetching remote updates... " -noNewline & git -C "$pathToRepo" remote get-url origin - if ($lastExitCode -ne "0") { throw "'git remote get-url origin' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git remote get-url origin' failed with exit code $lastExitCode" } & git -C "$pathToRepo" fetch --all --prune --prune-tags --force - if ($lastExitCode -ne "0") { throw "'git fetch' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed with exit code $lastExitCode" } - "⏳ (4/6) Switching to branch '$branchName'..." + "⏳ (4/6) Switching to '$branchName' branch..." & git -C "$pathToRepo" checkout --recurse-submodules "$branchName" - if ($lastExitCode -ne "0") { throw "'git checkout $branchName' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git checkout $branchName' failed with exit code $lastExitCode" } "⏳ (5/6) Pulling remote updates..." & git -C "$pathToRepo" pull --recurse-submodules - if ($lastExitCode -ne "0") { throw "'git pull' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git pull' failed with exit code $lastExitCode" } "⏳ (6/6) Updating submodules..." & git -C "$pathToRepo" submodule update --init --recursive - if ($lastExitCode -ne "0") { throw "'git submodule update' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Switched 📂$repoDirName repo to '$branchName' branch in $($elapsed)s." + "✅ Switched repo 📂$repoDirName to '$branchName' branch in $($elapsed)s." exit 0 # success } catch { "⚠️ Error: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" @@ -126,4 +128,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index 9bbfcb679..ecfacd655 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -turnMode @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -timer @@ -33,6 +35,7 @@ Parameters Position? 3 Default value -999 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -94,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index adcfa3100..7bc32b052 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 10 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -76,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/sync-dir.md b/docs/sync-dir.md new file mode 100644 index 000000000..1038c2cc3 --- /dev/null +++ b/docs/sync-dir.md @@ -0,0 +1,109 @@ +The *sync-dir.ps1* Script +=========================== + +This PowerShell script synchronizes (mirrors) the content of 2 directory trees by using Robocopy. +Typical use cases are backups: at first everything is copied (full backup), afterward only changes are copied (incremental backup). +IMPORTANT NOTE: Make sure the target path is correct because the content gets replaced (DATA LOSS)! + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/sync-dir.ps1 [[-sourcePath] ] [[-targetPath] ] [] + +-sourcePath + Specifies the path to the source dir (to be entered by default) + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +-targetPath + Specifies the path to the target dir (to be entered by default) + + 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> ./sync-dir.ps1 C:\Photos D:\Backups\Photos +⏳ Please wait while syncing content from 📂C:\Photos to 📂D:\Backups\Photos ... +✅ Synced 📂C:\Photos to 📂D:\Backups\Photos in 32s. + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Sync's two dirs +.DESCRIPTION + This PowerShell script synchronizes (mirrors) the content of 2 directory trees by using Robocopy. + Typical use cases are backups: at first everything is copied (full backup), afterward only changes are copied (incremental backup). + IMPORTANT NOTE: Make sure the target path is correct because the content gets replaced (DATA LOSS)! +.PARAMETER sourcePath + Specifies the path to the source dir (to be entered by default) +.PARAMETER targetPath + Specifies the path to the target dir (to be entered by default) +.EXAMPLE + PS> ./sync-dir.ps1 C:\Photos D:\Backups\Photos + ⏳ Please wait while syncing content from 📂C:\Photos to 📂D:\Backups\Photos ... + ✅ Synced 📂C:\Photos to 📂D:\Backups\Photos in 32s. +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$sourcePath = "", [string]$targetPath = "") + +try { + if ($sourcePath -eq "") { $sourcePath = Read-Host "Enter the path to the source directory" } + if ($targetPath -eq "") { $targetPath = Read-Host "Enter the path to the target directory" } + $stopWatch = [system.diagnostics.stopwatch]::startNew() + + "⏳ Please wait while syncing content from 📂$sourcePath to 📂$targetPath ..." + & robocopy.exe $sourcePath $targetPath /MIR /SL /FFT /NJH /NDL /NFL /NP /NS + # + # /MIR = mirror a directory tree + # /SL = copy Symbolic Links as links instead of as the link targets + # /FFT = assume FAT file times (2-second granularity) + # /NJH = no job header + # /NDL = no directory list (don't log directory names) + # /NFL = no file list (don't log file names) + # /NP = no progress (don't display percentage copied) + # /NS = no size (don't log file sizes) + # + if ($lastExitCode -gt 3) { throw 'Robocopy failed with exit code $lastExitCode.' } + + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Synced 📂$sourcePath to 📂$targetPath in $($elapsed)s." + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index 0e41f23a4..4df9653fe 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -72,18 +73,18 @@ try { Write-Host "⏳ (1/4) Searching for Git executable... " -noNewline & git --version - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2/4) Checking local repository... $path" if (!(Test-Path "$path" -pathType container)) { throw "Can't access folder: $path" } Write-Host "⏳ (3/4) Pulling remote updates... " -noNewline & git -C "$path" pull --all --recurse-submodules - if ($lastExitCode -ne "0") { throw "'git pull --all --recurse-submodes' failed" } + if ($lastExitCode -ne 0) { throw "'git pull --all --recurse-submodes' failed" } Write-Host "⏳ (4/4) Pushing local updates... " -noNewline & git -C "$path" push - if ($lastExitCode -ne "0") { throw "'git push' failed" } + if ($lastExitCode -ne 0) { throw "'git push' failed" } $pathName = (Get-Item "$path").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds @@ -95,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index 96240c49a..caae2b38c 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index bbf7a4bf0..e86fd55ee 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index bee009509..809481ee5 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index 713016807..90bde538c 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index a900bd8c1..c24d524d4 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index 4978bf98c..6e878b510 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/translate-file.md b/docs/translate-file.md index b61a2cb76..e78352de8 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -SourceLang @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -TargetLang @@ -33,6 +35,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -108,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/translate-files.md b/docs/translate-files.md index 432da3568..52f03ecf9 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -105,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/translate-text.md b/docs/translate-text.md index 59f3d7632..57d5db6fd 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -SourceLangCode @@ -23,6 +24,7 @@ Parameters Position? 2 Default value en Accept pipeline input? false + Aliases Accept wildcard characters? false -TargetLangCode @@ -31,6 +33,7 @@ Parameters Position? 3 Default value all Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -104,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index 424a91088..a7856db9d 100644 --- a/docs/turn-volume-down.md +++ b/docs/turn-volume-down.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 10 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -69,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index 57025d205..f403c9b38 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index f3d44e2ad..ce2d588a4 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index 903dcc77d..51418ed7d 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index 01321d23d..3acd7407e 100644 --- a/docs/turn-volume-up.md +++ b/docs/turn-volume-up.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 10 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -69,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index 7e0277eea..7b5779a5e 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index 563e3f744..4344cf45a 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/uninstall-new-outlook.md b/docs/uninstall-new-outlook.md index 2069ca2aa..b84553ea0 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/uninstall-outlook.md b/docs/uninstall-outlook.md index 5efff7beb..929cdd6b4 100644 --- a/docs/uninstall-outlook.md +++ b/docs/uninstall-outlook.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index a15a4b676..5b288d686 100644 --- a/docs/update-powershell-profile.md +++ b/docs/update-powershell-profile.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PSScriptRoot/my-profile.ps1" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -80,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index b5e0b3c0f..5f84b1854 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/upload-file.md b/docs/upload-file.md index ba54c9c06..17cd49b63 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -URL @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Username @@ -33,6 +35,7 @@ Parameters Position? 3 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -Password @@ -42,6 +45,7 @@ Parameters Position? 4 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -145,4 +149,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index 2fec24fd4..681d5b106 100644 --- a/docs/upload-to-dropbox.md +++ b/docs/upload-to-dropbox.md @@ -14,6 +14,7 @@ Parameters Position? 1 Default value Accept pipeline input? true (ByValue) + Aliases Accept wildcard characters? false [] @@ -74,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index 4a977856f..d4d65a550 100644 --- a/docs/wake-up-host.md +++ b/docs/wake-up-host.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -ipAddr @@ -24,6 +25,7 @@ Parameters Position? 2 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -udpPort @@ -33,6 +35,7 @@ Parameters Position? 3 Default value 9 Accept pipeline input? false + Aliases Accept wildcard characters? false -numTimes @@ -42,6 +45,7 @@ Parameters Position? 4 Default value 3 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -120,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/wake-up-human.md b/docs/wake-up-human.md index ede9291d0..20731dc32 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index 875cc2065..af53218ff 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false -updateInterval @@ -23,6 +24,7 @@ Parameters Position? 2 Default value 60 Accept pipeline input? false + Aliases Accept wildcard characters? false -speed @@ -31,6 +33,7 @@ Parameters Position? 3 Default value 10 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -88,7 +91,7 @@ param([string]$pathToRepo = "$PWD", [int]$updateInterval = 60, [int]$speed = 10) try { Write-Progress "Searching for Git executable..." $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Progress "Checking local Git repository..." if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access directory: $pathToRepo" } @@ -101,10 +104,10 @@ try { $tzOffset = (Get-Timezone).BaseUtcOffset.TotalSeconds for (;;) { & git -C "$pathToRepo" fetch --all --recurse-submodules=no --jobs=1 --quiet - if ($lastExitCode -ne "0") { throw "'git fetch' failed" } + if ($lastExitCode -ne 0) { throw "'git fetch' failed" } $line = (git -C "$pathToRepo" log origin --format=format:'%at %s by %an%d' --max-count=1) - if ($lastExitCode -ne "0") { throw "'git log origin' failed" } + if ($lastExitCode -ne 0) { throw "'git log origin' failed" } if ("$line" -eq "$prevLine") { Start-Sleep -seconds $updateInterval; continue } $unixTimestamp = [int64]$line.Substring(0,10) @@ -122,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/watch-crypto-rates.md b/docs/watch-crypto-rates.md new file mode 100644 index 000000000..dac5bb334 --- /dev/null +++ b/docs/watch-crypto-rates.md @@ -0,0 +1,83 @@ +The *watch-crypto-rates.ps1* Script +=========================== + +watch-crypto-rates.ps1 + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Watches crypto rates +.DESCRIPTION + This PowerShell script queries the current crypto exchange rates from cryptocompare.com and lists it in USD/EUR/CNY/JPY. +.EXAMPLE + PS> ./watch-crypto-rates.ps1 + + CRYPTOCURRENCY USD EUR CNY JPY + -------------- --- --- --- --- + 1 Bitcoin (BTC) = 97309.81 94385.57 38800 14798679.56 + ... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +function ListCryptoRate { param([string]$Symbol, [string]$Name) + $rates = (Invoke-WebRequest -URI "https://min-api.cryptocompare.com/data/price?fsym=$Symbol&tsyms=USD,EUR,CNY,JPY" -userAgent "curl" -useBasicParsing).Content | ConvertFrom-Json + New-Object PSObject -property @{ 'CRYPTOCURRENCY' = "1 $Symbol ($Name) ="; 'USD' = "$($rates.USD)"; 'EUR' = "$($rates.EUR)"; 'CNY' = "$($rates.CNY)"; 'JPY' = "$($rates.JPY)" } +} + +function ListCryptoRates { + ListCryptoRate ADA "Cardano" + ListCryptoRate AVAX "Avalanche" + ListCryptoRate BCH "Bitcoin Cash" + ListCryptoRate BNB "Binance Coin" + ListCryptoRate BTC "Bitcoin" + ListCryptoRate BUSD "Binance USD" + ListCryptoRate DOGE "Dogecoin" + ListCryptoRate DOT "Polkadot" + ListCryptoRate GALA "Gala" + ListCryptoRate ETH "Ethereum" + ListCryptoRate LINK "Chainlink" + ListCryptoRate LTC "Litecoin" + ListCryptoRate LUNA "Terra" + ListCryptoRate MATIC "Polygon" + ListCryptoRate SOL "Solana" + ListCryptoRate SUI "Sui" + ListCryptoRate TRUMP "Official Trump" + ListCryptoRate WBTC "Wrapped Bitcoin" + ListCryptoRate XLM "Stellar" + ListCryptoRate XRP "XRP" + ListCryptoRate UNI "Uniswap" + ListCryptoRate USDC "USD Coin" + ListCryptoRate USDT "Tether" +} + +try { + do { + Clear-Host + ListCryptoRates | Format-Table -property @{e='CRYPTOCURRENCY';width=28},USD,EUR,CNY,JPY + Write-Host "(by https://www.cryptocompare.com • Crypto is volatile and unregulated • Capital at risk • Taxes may apply)" + Start-Sleep -milliseconds 20000 + } while ($true) + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/watch-file.md b/docs/watch-file.md index ac3fdc469..e26e2a78b 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/watch-host.md b/docs/watch-host.md index 95228c71d..41165db95 100644 --- a/docs/watch-host.md +++ b/docs/watch-host.md @@ -147,4 +147,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/watch-news.md b/docs/watch-news.md index ff626824d..f3a4f6971 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value https://news.yahoo.com/rss/world Accept pipeline input? false + Aliases Accept wildcard characters? false -timeInterval @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 60 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -121,4 +123,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index 4d28fd2f8..9d05e7a61 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value windows.com Accept pipeline input? false + Aliases Accept wildcard characters? false -timeInterval @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 1000 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -135,4 +137,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/weather-report.md b/docs/weather-report.md index a85056c2d..28833edc2 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -66,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/weather.md b/docs/weather.md index 691c79edf..87ffae9ea 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -66,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/what-is.md b/docs/what-is.md index bfdc202a1..61e4aae8a 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -73,8 +74,8 @@ try { } } if ($basename -eq "") { - Write-Host "🤷‍ Sorry, '$term' is unknown to me. Ctrl + click here to google it: " -noNewline - Write-Host "https://www.google.com/search?q=what+is+$term" -foregroundColor blue + Write-Host "🤷‍ Sorry, '$term' is new to me. Let's search it at: " -noNewline + Write-Host "https://www.qwant.com/?q=what+is+$term" -foregroundColor blue } exit 0 # success } catch { @@ -83,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/windefender.md b/docs/windefender.md index 6d4745657..0b33408f0 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -82,4 +82,4 @@ break } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-animated.md b/docs/write-animated.md index c3dc8a2c0..2dbfe4388 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Welcome to PowerShell Accept pipeline input? false + Aliases Accept wildcard characters? false -speed @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 10 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -92,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index c8f311f6a..8b572ef35 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-big.md b/docs/write-big.md index 9af722a86..5cad3b691 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Hello World Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -471,4 +472,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-blue.md b/docs/write-blue.md index 2f3a75c49..2e551f34f 100644 --- a/docs/write-blue.md +++ b/docs/write-blue.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -64,4 +65,4 @@ write-host -foregroundColor blue "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-braille.md b/docs/write-braille.md index 912d5427e..ce27ad379 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -408,4 +409,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-centered.md b/docs/write-centered.md index 3115cc40f..f2cde9577 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -76,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index 2162cd99e..4b51c125a 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -16,6 +16,7 @@ Parameters Position? 1 Default value "$PWD" Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -74,7 +75,7 @@ try { Write-Progress "(1/6) Searching for Git executable..." $null = (git --version) - if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } + if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Progress "(2/6) Checking local repository..." if (!(Test-Path "$RepoDir" -pathType container)) { throw "Can't access folder: $RepoDir" } @@ -82,7 +83,7 @@ try { Write-Progress "(3/6) Fetching the latest commits..." & git -C "$RepoDir" fetch --all --force --quiet - if ($lastExitCode -ne "0") { throw "'git fetch --all' failed with exit code $lastExitCode" } + if ($lastExitCode -ne 0) { throw "'git fetch --all' failed with exit code $lastExitCode" } Write-Progress "(4/6) Listing all Git commit messages..." $commits = (git -C "$RepoDir" log --boundary --pretty=oneline --pretty=format:%s | sort -u) @@ -154,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-chart.md b/docs/write-chart.md index 596719687..21851f603 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-clock.md b/docs/write-clock.md index 33804e4a3..f07855d05 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-code.md b/docs/write-code.md index b73d10876..a6ac47c12 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value green Accept pipeline input? false + Aliases Accept wildcard characters? false -speed @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 500 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -118,4 +120,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-credits.md b/docs/write-credits.md index 038591f9c..b64979351 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-date.md b/docs/write-date.md index aa8d2664b..7dba6073e 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index 0ee602831..a5e60ae8c 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-green.md b/docs/write-green.md index a723cb925..bbe09d29f 100644 --- a/docs/write-green.md +++ b/docs/write-green.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -63,4 +64,4 @@ write-host -foregroundColor green "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index 538e681e0..c8540573c 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-headline.md b/docs/write-headline.md index 714a47136..9851e0271 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -77,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-help.md b/docs/write-help.md index b2d4bfa2d..70f0a58ba 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index eeed8aef2..b73e7fcc2 100644 --- a/docs/write-in-emojis.md +++ b/docs/write-in-emojis.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -74,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 9b6c4ec11..2ae533a93 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-location.md b/docs/write-location.md index 64d42c75d..408a1d0ba 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index eddf264b1..0fca1b029 100644 --- a/docs/write-lowercase.md +++ b/docs/write-lowercase.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -65,4 +66,4 @@ Write-Output $text.ToLower() exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index 98f871eac..e8fff520e 100644 --- a/docs/write-marquee.md +++ b/docs/write-marquee.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value PowerShell is powerful - fully control your computer! PowerShell is cross-platform - available for Linux, Mac OS and Windows! PowerShell is open-source and free - see the GitHub repository at github.com/PowerShell/PowerShell! PowerShell is easy to learn - see the tutorial for beginners at guru99.com/powershell-tutorial.html! Powershell is fully documented - see the official PowerShell documentation at docs.microsoft.com/en-us/powershell Accept pipeline input? false + Aliases Accept wildcard characters? false -Speed @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 60 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -89,4 +91,4 @@ StartMarquee " exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index 3d82719f5..c7f91bf10 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-moon.md b/docs/write-moon.md index 2689e3b14..8b7e32d2d 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index d723aadcf..e765880ee 100644 --- a/docs/write-morse-code.md +++ b/docs/write-morse-code.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false -speed @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 100 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -153,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-motd.md b/docs/write-motd.md index 59399e3fa..41650d4d5 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-pi.md b/docs/write-pi.md index 5361b42a0..f0af4a6f7 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 1000 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -117,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-progress-bar.md b/docs/write-progress-bar.md new file mode 100644 index 000000000..a9d418421 --- /dev/null +++ b/docs/write-progress-bar.md @@ -0,0 +1,30 @@ +The *write-progress-bar.ps1* Script +=========================== + +write-progress-bar.ps1 + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Script Content +-------------- +```powershell +$progressBar = @('⣾','⣽','⣻','⢿','⡿','⣟','⣯','⣷') +$progressIndex = 0 + +do { + Write-Host "`r$($progressBar[$progressIndex]) Working on something..." -NoNewline + $progressIndex = ($progressIndex + 1) % $progressBar.Length + Start-Sleep -milliseconds 100 +} while ($true) +``` + +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index c910bf05f..5e943dd64 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 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 96d63c15c..491fd98ff 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:25)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-red.md b/docs/write-red.md index a024ed42a..363677ed8 100644 --- a/docs/write-red.md +++ b/docs/write-red.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -63,4 +64,4 @@ write-host -foregroundcolor red "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index af40aec74..9276b758c 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -82,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-shit.md b/docs/write-shit.md index d6c68f85b..f6ede7359 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 01/23/2025 12:15:26)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index 8912b8b29..545a3cf9c 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 01/23/2025 12:15:26)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-story.md b/docs/write-story.md new file mode 100644 index 000000000..9cebe4e17 --- /dev/null +++ b/docs/write-story.md @@ -0,0 +1,78 @@ +The *write-story.ps1* Script +=========================== + +This PowerShell script writes a story to the console output. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/write-story.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./write-story.ps1 +... + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Writes a story +.DESCRIPTION + This PowerShell script writes a story to the console output. +.EXAMPLE + PS> ./write-story.ps1 + ... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +$story = @( + '' + 'The Lottery Ticket' + '==================' + 'by Anton Pavlovich Chekhov (1860-1904)' + '' + 'Ivan Dmitritch, a middle-class man who lived with his family on an income of twelve hundred a year and was very well satisfied with his lot, sat down on the sofa after supper and began reading the newspaper.' + '' + '"I forgot to look at the newspaper today," his wife said to him as she cleared the table. "Look and see whether the list of drawings is there."' + '' + '"Yes, it is," said Ivan Dmitritch; "but hasnt your ticket lapsed?"' + '' + '"No; I took the interest on Tuesday."' + '' + '"What is the number?"' + '' + '"Series 9,499, number 26."' + '' + '"All right . . . we will look . . . 9,499 and 26."' + '' + 'Ivan Dmitritch had no faith in lottery luck, and would not, as a rule, have consented to look at the lists of winning numbers, but now, as he had nothing else to do and as the newspaper was before his eyes, he passed his finger downwards along the column of numbers. And immediately, as though in mockery of his scepticism, no further than the second line from the top, his eye was caught by the figure 9,499! Unable to believe his eyes, he hurriedly dropped the paper on his knees without looking to see the number of the ticket, and, just as though some one had given him a douche of cold water, he felt an agreeable chill in the pit of the stomach; tingling and terrible and sweet!' +) + +foreach($line in $story) { + & "$PSScriptRoot/write-typewriter.ps1" $line +} +exit 0 # success +``` + +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-time.md b/docs/write-time.md index b61c814c9..935bf13d8 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index 894a50c4b..b0cba7b17 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Hello World, this is the PowerShell typewriter. Accept pipeline input? false + Aliases Accept wildcard characters? false -speed @@ -24,6 +25,7 @@ Parameters Position? 2 Default value 200 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -82,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index ec0b71d9c..23f547d5e 100644 --- a/docs/write-uppercase.md +++ b/docs/write-uppercase.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -65,4 +66,4 @@ Write-Output $text.ToUpper() exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-value.md b/docs/write-value.md index cf4eac35f..f1b46637c 100644 --- a/docs/write-value.md +++ b/docs/write-value.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value 0.5 Accept pipeline input? false + Aliases Accept wildcard characters? false -unit @@ -23,6 +24,7 @@ Parameters Position? 2 Default value Mach Accept pipeline input? false + Aliases Accept wildcard characters? false -redMin @@ -31,6 +33,7 @@ Parameters Position? 3 Default value 0 Accept pipeline input? false + Aliases Accept wildcard characters? false -yellowMin @@ -39,6 +42,7 @@ Parameters Position? 4 Default value 0 Accept pipeline input? false + Aliases Accept wildcard characters? false -yellowMax @@ -47,6 +51,7 @@ Parameters Position? 5 Default value 0 Accept pipeline input? false + Aliases Accept wildcard characters? false -redMax @@ -55,6 +60,7 @@ Parameters Position? 6 Default value 0 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -147,4 +153,4 @@ Write-Host "CPU too hot " exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index bd81e98f9..b4e33eeb1 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -15,6 +15,7 @@ Parameters Position? 1 Default value Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -71,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md index 7936c19c0..5df79f731 100644 --- a/docs/write-xmas-tree.md +++ b/docs/write-xmas-tree.md @@ -14,6 +14,7 @@ Parameters Position? 1 Default value @(21,8,4) Accept pipeline input? false + Aliases Accept wildcard characters? false -XPos @@ -23,6 +24,7 @@ Parameters Position? 2 Default value 50 Accept pipeline input? false + Aliases Accept wildcard characters? false -colors @@ -32,6 +34,7 @@ Parameters Position? 3 Default value @("blue", "green", "cyan", "red", "yellow", "magenta") Accept pipeline input? false + Aliases Accept wildcard characters? false -Idx @@ -40,6 +43,7 @@ Parameters Position? 4 Default value (Get-Random -Min 0 -Max ($colors.Length-1)) Accept pipeline input? false + Aliases Accept wildcard characters? false -count @@ -48,6 +52,7 @@ Parameters Position? 5 Default value 100 Accept pipeline input? false + Aliases Accept wildcard characters? false -duration @@ -56,6 +61,7 @@ Parameters Position? 6 Default value 250 Accept pipeline input? false + Aliases Accept wildcard characters? false [] @@ -126,4 +132,4 @@ do { ``` -*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:26)* +*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* From 1401302301ed6ce90cd4e878acbacedbb4dd460d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 14 May 2025 07:58:51 +0200 Subject: [PATCH 289/737] Updated search-files.ps1 --- scripts/search-files.ps1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/search-files.ps1 b/scripts/search-files.ps1 index 5f674a24b..527719abd 100755 --- a/scripts/search-files.ps1 +++ b/scripts/search-files.ps1 @@ -23,14 +23,15 @@ 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 From 3399b4a6dfa842b820cf3b61957d459df5c142a1 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 17 May 2025 13:51:37 +0200 Subject: [PATCH 290/737] Added cd-sync.ps1 --- scripts/cd-sync.ps1 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 scripts/cd-sync.ps1 diff --git a/scripts/cd-sync.ps1 b/scripts/cd-sync.ps1 new file mode 100644 index 000000000..1345ee41b --- /dev/null +++ b/scripts/cd-sync.ps1 @@ -0,0 +1,28 @@ +<# +.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 3 subfolders) +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + if (-not(Test-Path "~/Sync" -pathType container)) { + throw "Your home folder has no Sync folder - 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) subfolders)" + exit 0 # success +} catch { + "⚠️ Error: $($Error[0])" + exit 1 +} From 0cbe8e69c4b474430b3ce70028b7c5d9009b63a9 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 17 May 2025 14:03:06 +0200 Subject: [PATCH 291/737] Added install-syncthing.ps1 --- scripts/install-syncthing.ps1 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 scripts/install-syncthing.ps1 diff --git a/scripts/install-syncthing.ps1 b/scripts/install-syncthing.ps1 new file mode 100644 index 000000000..e2bc7410a --- /dev/null +++ b/scripts/install-syncthing.ps1 @@ -0,0 +1,29 @@ +<# +.SYNOPSIS + Installs Syncthing +.DESCRIPTION + This PowerShell scripts installs Syncthing on your computer. +.EXAMPLE + PS> ./install-syncthing.ps1 +.LINK + Author: Markus Fleschutz | License: CC0 +.NOTES + https://github.com/fleschutz/PowerShell +#> + +try { + "⏳ Installing Syncthing..." + $stopWatch = [system.diagnostics.stopwatch]::startNew() + + if ($IsLinux) { + & sudo apt install syncthing + } else { + & winget install --id Syncthing.Syncthing + } + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Syncthing installed successfully in $($elapsed)s. Visit 127.0.0.1:8384 for setup and see the ~/Sync folder" + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} From d8ebaae19019dcf08db2af44de483dc1a2f91836 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 17 May 2025 14:19:04 +0200 Subject: [PATCH 292/737] Updated install-syncthing.ps1 --- scripts/install-syncthing.ps1 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/install-syncthing.ps1 b/scripts/install-syncthing.ps1 index e2bc7410a..af54c8bc1 100644 --- a/scripts/install-syncthing.ps1 +++ b/scripts/install-syncthing.ps1 @@ -2,9 +2,12 @@ .SYNOPSIS Installs Syncthing .DESCRIPTION - This PowerShell scripts installs Syncthing on your computer. + 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... + ... .LINK Author: Markus Fleschutz | License: CC0 .NOTES @@ -21,7 +24,9 @@ try { & winget install --id Syncthing.Syncthing } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Syncthing installed successfully in $($elapsed)s. Visit 127.0.0.1:8384 for setup and see the ~/Sync folder" + "✅ Syncthing installed successfully in $($elapsed)s." + " Adming GUI at: http://127.0.0.1:8384 (use )" + " Your sync folder is at: ~/Sync/" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 5e2b19c7f3bd6d7701b28afadaa6c4b15c4e5b17 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 18 May 2025 11:05:52 +0200 Subject: [PATCH 293/737] Updated install-syncthing.ps1 and list-cli-tools.ps1 --- scripts/install-syncthing.ps1 | 16 ++++++++++------ scripts/list-cli-tools.ps1 | 1 + 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/scripts/install-syncthing.ps1 b/scripts/install-syncthing.ps1 index af54c8bc1..019cf614f 100644 --- a/scripts/install-syncthing.ps1 +++ b/scripts/install-syncthing.ps1 @@ -6,7 +6,7 @@ Syncthing is a continuous file synchronization program. See https://syncthing.net for details. .EXAMPLE PS> ./install-syncthing.ps1 - ⏳ Installing Syncthing... + ⏳ Installing Syncthing from WinGet... ... .LINK Author: Markus Fleschutz | License: CC0 @@ -15,20 +15,24 @@ #> try { - "⏳ Installing Syncthing..." $stopWatch = [system.diagnostics.stopwatch]::startNew() if ($IsLinux) { + "⏳ Installing Syncthing..." & sudo apt install syncthing } else { - & winget install --id Syncthing.Syncthing + "⏳ 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." - " Adming GUI at: http://127.0.0.1:8384 (use )" - " Your sync folder is at: ~/Sync/" + " Web interface: http://127.0.0.1:8384 (open by: )" + " Sync folder at: ~/Sync/ (execute: cd-sync.ps1)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index 28990b147..687cfe0f2 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -288,6 +288,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" From 4027d6149d1b6feed07ab0dee34319d3a7b9f89e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 18 May 2025 11:15:42 +0200 Subject: [PATCH 294/737] Updated new-markdown-file.ps1 and new-text-file.ps1 --- scripts/new-markdown-file.ps1 | 12 +++++------- scripts/new-text-file.ps1 | 12 +++++------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/scripts/new-markdown-file.ps1 b/scripts/new-markdown-file.ps1 index 5e744aaf4..a537d1142 100755 --- a/scripts/new-markdown-file.ps1 +++ b/scripts/new-markdown-file.ps1 @@ -4,26 +4,24 @@ .DESCRIPTION This PowerShell script creates a new Markdown file from template file at: ../data/templates/Markdown.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 file 'README.md' created from template 'Markdown.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" } - $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/Markdown.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 file '$path' created from template 'Markdown.md'." exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/new-text-file.ps1 b/scripts/new-text-file.ps1 index 2a3e965e4..727f8cc72 100755 --- a/scripts/new-text-file.ps1 +++ b/scripts/new-text-file.ps1 @@ -4,26 +4,24 @@ .DESCRIPTION This PowerShell script creates a new .txt file from template file at: ../data/templates/Text.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 file 'README.txt' created from template 'Text.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" } - $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/Text.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 file '$path' created from template 'Text.txt'." exit 0 # success } catch { "⚠️ Error: $($Error[0])" From 349c19a5c54c29269c750146467b28b57165f613 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 18 May 2025 11:25:33 +0200 Subject: [PATCH 295/737] Improved install-jenkins-agent.ps1 --- scripts/install-jenkins-agent.ps1 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/scripts/install-jenkins-agent.ps1 b/scripts/install-jenkins-agent.ps1 index 26bd2c9ff..2ff6a53f2 100755 --- a/scripts/install-jenkins-agent.ps1 +++ b/scripts/install-jenkins-agent.ps1 @@ -1,4 +1,4 @@ -<# +<# .SYNOPSIS Installs the Jenkins Agent .DESCRIPTION @@ -14,6 +14,10 @@ param([string]$installDir = "/opt/jenkins-agent", [string]$jenkinsURL = "http://tux:8080", [string]$secretKey = "") try { + 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⏳ (1/4) Installing Java Runtime Environment (JRE)..." & sudo apt install default-jre @@ -27,8 +31,10 @@ try { "`n⏳ (4/4) Starting Jenkins agent ..." & 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 } From 4908e13746434b1903e00c1c24dc0b2137cdd84b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 18 May 2025 11:35:31 +0200 Subject: [PATCH 296/737] Updated install-jenkins-agent.ps1 --- scripts/install-jenkins-agent.ps1 | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/scripts/install-jenkins-agent.ps1 b/scripts/install-jenkins-agent.ps1 index 2ff6a53f2..a46e9a5d4 100755 --- a/scripts/install-jenkins-agent.ps1 +++ b/scripts/install-jenkins-agent.ps1 @@ -11,28 +11,29 @@ 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/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⏳ (1/4) Installing Java Runtime Environment (JRE)..." + "`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." + "✅ Jenkins Agent installed successfully in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 53345ebdcfc672bef72d0439099a571a5907ec89 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 19 May 2025 10:02:14 +0200 Subject: [PATCH 297/737] Added touch.ps1 --- scripts/touch.ps1 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 scripts/touch.ps1 diff --git a/scripts/touch.ps1 b/scripts/touch.ps1 new file mode 100644 index 000000000..b26ea0498 --- /dev/null +++ b/scripts/touch.ps1 @@ -0,0 +1,27 @@ +<# +.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 +} From 6edf5cc84382830708431f2216f24981d375ff3b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 19 May 2025 10:14:49 +0200 Subject: [PATCH 298/737] Changed list-drives.ps1 to use Get-Volume --- scripts/list-drives.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/list-drives.ps1 b/scripts/list-drives.ps1 index 4b0cc9aa1..e608d039c 100755 --- a/scripts/list-drives.ps1 +++ b/scripts/list-drives.ps1 @@ -6,9 +6,9 @@ .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 @@ -16,9 +16,9 @@ #> 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 } From a7b7bb8d1e6f1318098cb08a2954f0b159b48d52 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 21 May 2025 13:02:46 +0200 Subject: [PATCH 299/737] Updated check-xml-files.ps1 --- scripts/check-xml-files.ps1 | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/check-xml-files.ps1 b/scripts/check-xml-files.ps1 index 61ddf8576..8f4807fef 100755 --- a/scripts/check-xml-files.ps1 +++ b/scripts/check-xml-files.ps1 @@ -4,7 +4,7 @@ .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 ... @@ -20,20 +20,21 @@ 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 } From 84e99a28578a9d4eed2851813e4dfda53d06dd59 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 21 May 2025 15:41:01 +0200 Subject: [PATCH 300/737] Improved write-code.ps1 --- scripts/write-code.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/write-code.ps1 b/scripts/write-code.ps1 index 185b00cbd..61f524c4f 100755 --- a/scripts/write-code.ps1 +++ b/scripts/write-code.ps1 @@ -40,7 +40,7 @@ function GetRandomCodeLine { 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." } + 17 { return $Tabs + "# Copyright © 2025 by 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" } @@ -58,6 +58,9 @@ function GetRandomCodeLine { } try { + Write-Host -foreground $color "#" + Write-Host -foreground $color "# Copyright © 2025 by AI. All Rights Reserved." + Write-Host -foreground $color "#" while ($true) { Write-Host -foreground $color "$(GetRandomCodeLine)" Start-Sleep -milliseconds $speed From 2a927db6ed3e00034da0b1a3bd7b579931dd13f4 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 21 May 2025 15:48:39 +0200 Subject: [PATCH 301/737] Updated write-joke.ps1 --- scripts/write-joke.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/write-joke.ps1 b/scripts/write-joke.ps1 index cee00903e..bc2395da7 100755 --- a/scripts/write-joke.ps1 +++ b/scripts/write-joke.ps1 @@ -2,7 +2,7 @@ .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. 😂 @@ -16,12 +16,12 @@ 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 } From aea81c9ce55d33cc1523bfc93336c3a6346c5b68 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 22 May 2025 12:33:38 +0200 Subject: [PATCH 302/737] Update FAQ.md --- docs/FAQ.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 15d2034b5..b75d519c6 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -96,12 +96,13 @@
How to get the ultimate PowerShell experience? -1. **Install *PowerShell* (free) on all your Linux/Mac OS/Windows machines and configure it as your default shell.** -2. **Install an *SSH client & server* (free) on all your Linux/Mac OS/Windows machines for remote control via SSH.** -3. **Install *Windows Terminal* (free) on Windows with 50% transparency, font 'Fira Code' and no PowerShell banner message.** -4. **Install *Visual Studio Code* (free) with plugin 'PowerShell' to edit PowerShell scripts.** -5. **Install this *Mega Collection of PowerShell scripts* and set the PATH environment variable to it.** -6. **Use an own PowerShell profile, e.g. execute: './update-powershell-profile.ps1'** +1. **Install *PowerShell* (free)** on all your Linux/Mac OS/Windows machines and configure it as your default shell. +2. **Install *SSH client & server* (free)** on all your Linux/Mac OS/Windows machines for remote control via SSH. +3. **Install *Windows Terminal* (free)** on Windows with 50% transparency, font 'Fira Code' and no PowerShell banner message. +4. **Install *Visual Studio Code* (free)** with plugin 'PowerShell' to edit PowerShell scripts. +5. **Install this GitHub repo** and set the PATH environment variable to the 📂scripts subfolder. +6. **Set an own PowerShell profile,** e.g. by executing: './update-powershell-profile.ps1'. +7. **For Jenkins** install the *PowerShell plugin* and use PowerShell in your Jenkins jobs.
From cb99fcafb801b27c8234f6df0cd26cf456796c52 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 22 May 2025 12:48:20 +0200 Subject: [PATCH 303/737] Update cheat-sheet.md --- docs/cheat-sheet.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/cheat-sheet.md b/docs/cheat-sheet.md index 854b196ff..ac56e9f3c 100644 --- a/docs/cheat-sheet.md +++ b/docs/cheat-sheet.md @@ -67,6 +67,8 @@ Operators $a = 2 # Basic variable assignment operator $a += 1 # Incremental assignment operator $a -= 1 # Decrement assignment operator +$a++ # Incremental assignment operator +$a-- # Decrement assignment operator $a -eq 0 # Equality comparison operator $a -ne 5 # Not-equal comparison operator @@ -326,3 +328,12 @@ $Params = @{ } Invoke-RestMethod @Params # Call a REST API, using the HTTP GET method ``` + +More Help +--------- +* PowerShell documentation: https://docs.microsoft.com/en-us/powershell +* Tutorial: https://www.guru99.com/powershell-tutorial.html +* Video tutorials: https://www.youtube.com/results?search_query=PowerShell +* FAQ's: https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md +* 500+ sample scripts: https://github.com/fleschutz/PowerShell + From 2633d10a3b71ccb34058ac5ecb2939995cc33973 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 22 May 2025 12:49:06 +0200 Subject: [PATCH 304/737] Update cheat-sheet.md --- docs/cheat-sheet.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cheat-sheet.md b/docs/cheat-sheet.md index ac56e9f3c..02ee9bb4a 100644 --- a/docs/cheat-sheet.md +++ b/docs/cheat-sheet.md @@ -329,8 +329,8 @@ $Params = @{ Invoke-RestMethod @Params # Call a REST API, using the HTTP GET method ``` -More Help ---------- +Useful Links +------------ * PowerShell documentation: https://docs.microsoft.com/en-us/powershell * Tutorial: https://www.guru99.com/powershell-tutorial.html * Video tutorials: https://www.youtube.com/results?search_query=PowerShell From 6c6587eed353da57c49048a7ac93984dd415087e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 22 May 2025 13:15:27 +0200 Subject: [PATCH 305/737] Update FAQ.md --- docs/FAQ.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index b75d519c6..cbbebefca 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -143,8 +143,9 @@ Want to use the PowerShell scripts everywhere on the command-line? Then you need * **For Windows Terminal:** open Settings > Profiles > Windows PowerShell > Command line and add " -nologo". -
Where to find even more scripts? +
Where to find more scripts? +* [PowerShellGallery.com](https://www.powershellgallery.com/) - The central repository for sharing and acquiring PowerShell code including PowerShell modules, scripts, and DSC resources. * [ScriptShare.io](https://www.scriptshare.io/) - ScriptShare is an evergrowing library of scripts and automations.
From db1d2dd871739e89a7cbc0ac59642c4ee90a9b43 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 24 May 2025 11:37:25 +0200 Subject: [PATCH 306/737] Added support for Cargo builds (for Rust programming language) --- scripts/build-repo.ps1 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index 097ef0016..e5b8071ec 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -2,9 +2,10 @@ .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... @@ -39,6 +40,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/" From 5f2db88dc3c598e9078c4f9e6f27e173513177b8 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 25 May 2025 09:39:49 +0200 Subject: [PATCH 307/737] Updated organizations.csv --- data/dicts/organizations.csv | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/data/dicts/organizations.csv b/data/dicts/organizations.csv index 006c3d31d..93484e086 100644 --- a/data/dicts/organizations.csv +++ b/data/dicts/organizations.csv @@ -12,7 +12,7 @@ AT&T,American Telephone and Telegraph Company ATF,"Alcohol, Tobacco, Firearms and Explosives Bureau (USA)" BMW,Bavarian Motor Works BND,Bundesnachrichtendienst (Germany) -BVD, Bradley, Voorhees, and Day +BVD,"Bradley, Voorhees, and Day" CERN,European Organization for Nuclear Research CIA,Central Intelligence Agency (USA) CISA,Cybersecurity Insurance and Security Agency (USA) @@ -33,18 +33,18 @@ DOT,Department of Transportation (USA) EASA,European Aviation Safety Agency ED,U.S. Department of Education ESA,European Space Agency -ESPN, Entertainment and Sports Programming Network +ESPN,Entertainment and Sports Programming Network FAO,Food and Agriculture Organization FBI,Federal Bureau of Investigation (USA) FDA,Food and Drug Administration (USA) FIFA,Fédération Internationale de Football Association -GEICO, Government Employees Insurance Company -H&M, Hennes and Mauritz +GEICO,Government Employees Insurance Company +H&M,Hennes and Mauritz HHS,U.S. Department of Health and Human Services HRW,Human Rights Watch -HSBC, Hongkong and Shanghai Banking Corporation +HSBC,Hongkong and Shanghai Banking Corporation HUD,U.S. Department of Housing and Urban Development -IBM, International Business Machines +IBM International Business Machines ICC,International Cricket Council ICI,Imperial Chemical Industries ICJ,International Court of Justice @@ -53,11 +53,11 @@ IMO,International Maritime Organization IOC,International Olympic Committee ISO,International Organization for Standardization J&J,Johnson & Johnson -JBL, James Bullough Lansing -L.L. Bean, Leon Leonwood Bean +JBL,James Bullough Lansing +L.L. Bean,Leon Leonwood Bean LAPD,Los Angeles Police Department LBA,Luftfahrtbundesamt (German aviation agency) -M&M, Mars & Murrie’s +M&M,Mars & Murrie’s MILF,Moro Islamic Liberation Front NASA,National Aeronautics and Space Administration NATO,North Atlantic Treaty Organization @@ -83,9 +83,8 @@ UNIDO,United Nations Industrial Development Organization UNO,United Nations Organization USDA,United States Department of Agriculture UPS,United Parcel Service -USSF,"United States Soccer Federation, governing body of soccer in the United States" -USSF,"United States Social Forum, an activist organization" -USSF,"US Sumo Federation, governing body of sumo in the United States" +USIP,United States Institute of Peace +USSF,"United States Soccer Federation, US Social Forum, US Sumo Federation" VA,U.S. Department of Veterans Affairs VW,Volkswagen WEF,World Economic Forum @@ -93,6 +92,6 @@ WHO,World Health Organization WIPO,World Intellectual Property Organization WMO,World Meteorological Organization WWF,World Wide Fund for Nature -YKK, Yoshida Manufacturing Corporation +YKK,Yoshida Manufacturing Corporation YMCA,Young Men's Christian Association YWCA,Young Women's Christian Association From e3672038e5c81ac68aa8dff08a92b2e00920ba05 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 28 May 2025 17:28:42 +0200 Subject: [PATCH 308/737] Improved install-updates.ps1 --- scripts/check-drive-space.ps1 | 4 ++-- scripts/check-swap-space.ps1 | 2 +- scripts/install-updates.ps1 | 16 +++++++--------- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/scripts/check-drive-space.ps1 b/scripts/check-drive-space.ps1 index c9a15d68f..1d499fa67 100755 --- a/scripts/check-drive-space.ps1 +++ b/scripts/check-drive-space.ps1 @@ -9,7 +9,7 @@ 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 @@ -49,7 +49,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 { diff --git a/scripts/check-swap-space.ps1 b/scripts/check-swap-space.ps1 index 597b79263..10f6d2d4d 100755 --- a/scripts/check-swap-space.ps1 +++ b/scripts/check-swap-space.ps1 @@ -55,7 +55,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 { diff --git a/scripts/install-updates.ps1 b/scripts/install-updates.ps1 index 0842bf2f6..1d4e25756 100755 --- a/scripts/install-updates.ps1 +++ b/scripts/install-updates.ps1 @@ -7,11 +7,10 @@ .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 @@ -28,7 +27,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..." @@ -52,24 +50,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 From 19bcaa9e3ddf16569294c9ef42cf560a88487fd7 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 28 May 2025 17:45:23 +0200 Subject: [PATCH 309/737] Updated cd-music.ps1 --- scripts/cd-music.ps1 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/scripts/cd-music.ps1 b/scripts/cd-music.ps1 index 15241901c..613cac3d4 100755 --- a/scripts/cd-music.ps1 +++ b/scripts/cd-music.ps1 @@ -5,7 +5,7 @@ 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) + 📂C:\Users\Markus\Music entered (has 3 folders and 0 files) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -14,17 +14,20 @@ try { if ($IsLinux) { + if (-not(Test-Path "~/Music/" -pathType container)) { + throw "No music folder at ~/Music/" + } $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)" + "📂$path entered (has $($folders.Count) folders and $($files.Count) files)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" From d60539608bbf3055c35911c4d7e95273a22e495a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 28 May 2025 17:50:56 +0200 Subject: [PATCH 310/737] Updated cd-fonts.ps1 and cd-windows.ps1 --- scripts/cd-fonts.ps1 | 6 +++--- scripts/cd-windows.ps1 | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/cd-fonts.ps1 b/scripts/cd-fonts.ps1 index 4a07c88b8..0202c416f 100755 --- a/scripts/cd-fonts.ps1 +++ b/scripts/cd-fonts.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the fonts folder. .EXAMPLE PS> ./cd-fonts - 📂C:\Windows\Fonts (has 2 file and 3 subfolders) + 📂C:\Windows\Fonts (has 12 fonts and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -15,12 +15,12 @@ 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 entered (has $($files.Count) fonts and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-windows.ps1 b/scripts/cd-windows.ps1 index 3b3d4e87f..276a7f0cd 100755 --- a/scripts/cd-windows.ps1 +++ b/scripts/cd-windows.ps1 @@ -5,7 +5,7 @@ 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 @@ -20,7 +20,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])" From 19d3eefe57de89ef02d12974fa9fa4507bdd0fd7 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 28 May 2025 17:52:25 +0200 Subject: [PATCH 311/737] Updated cd-home.ps1 --- scripts/cd-home.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/cd-home.ps1 b/scripts/cd-home.ps1 index 4bc04e130..400634932 100755 --- a/scripts/cd-home.ps1 +++ b/scripts/cd-home.ps1 @@ -5,7 +5,7 @@ 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 entered (has 4 files and 7 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -13,12 +13,12 @@ #> 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 entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" From 98193700a9652d495fa31eca0c12ae10482104a7 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 28 May 2025 17:59:53 +0200 Subject: [PATCH 312/737] Updated some cd-* scripts --- scripts/cd-dropbox.ps1 | 6 +++--- scripts/cd-etc.ps1 | 6 +++--- scripts/cd-nextcloud.ps1 | 10 +++++----- scripts/cd-onedrive.ps1 | 10 +++++----- scripts/cd-sync.ps1 | 6 +++--- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/scripts/cd-dropbox.ps1 b/scripts/cd-dropbox.ps1 index 0d515c101..9ca3274ca 100755 --- a/scripts/cd-dropbox.ps1 +++ b/scripts/cd-dropbox.ps1 @@ -5,7 +5,7 @@ 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 @@ -14,13 +14,13 @@ 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])" diff --git a/scripts/cd-etc.ps1 b/scripts/cd-etc.ps1 index 49fd48bf9..1b5a7912d 100755 --- a/scripts/cd-etc.ps1 +++ b/scripts/cd-etc.ps1 @@ -5,7 +5,7 @@ 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 @@ -19,12 +19,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])" diff --git a/scripts/cd-nextcloud.ps1 b/scripts/cd-nextcloud.ps1 index d405cf728..1a78e2f2f 100755 --- a/scripts/cd-nextcloud.ps1 +++ b/scripts/cd-nextcloud.ps1 @@ -5,7 +5,7 @@ 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 @@ -13,14 +13,14 @@ #> 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])" diff --git a/scripts/cd-onedrive.ps1 b/scripts/cd-onedrive.ps1 index af66cb4f3..bf30aa3db 100755 --- a/scripts/cd-onedrive.ps1 +++ b/scripts/cd-onedrive.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's OneDrive folder. .EXAMPLE PS> ./cd-onedrive - 📂C:\Users\Markus\OneDrive entered (has 2 files and 3 subfolders) + 📂C:\Users\Markus\OneDrive entered (has 2 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -13,14 +13,14 @@ #> 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 entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-sync.ps1 b/scripts/cd-sync.ps1 index 1345ee41b..66ef5686b 100644 --- a/scripts/cd-sync.ps1 +++ b/scripts/cd-sync.ps1 @@ -5,7 +5,7 @@ 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 3 subfolders) + 📂C:\Users\Markus\Sync entered (has 2 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -14,13 +14,13 @@ try { if (-not(Test-Path "~/Sync" -pathType container)) { - throw "Your home folder has no Sync folder - is Syncthing installed?" + 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) subfolders)" + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" From 52b42420f728addb807819f9d58c3cadec083880 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 28 May 2025 18:02:57 +0200 Subject: [PATCH 313/737] Updated cd-desktop.ps1 --- scripts/cd-desktop.ps1 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/cd-desktop.ps1 b/scripts/cd-desktop.ps1 index 017e34e3f..fbe493850 100755 --- a/scripts/cd-desktop.ps1 +++ b/scripts/cd-desktop.ps1 @@ -4,8 +4,8 @@ .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 (has 3 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -15,17 +15,19 @@ 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 "No desktop folder at $path yet" } } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" From 29a8c968f854e116a3538680f1eb39e10af4d787 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 29 May 2025 09:32:06 +0200 Subject: [PATCH 314/737] Updated some scripts --- scripts/cd-downloads.ps1 | 10 +++++----- scripts/cd-music.ps1 | 10 +++++----- scripts/cd-repos.ps1 | 10 ++++------ scripts/cd-scripts.ps1 | 8 +++----- 4 files changed, 17 insertions(+), 21 deletions(-) diff --git a/scripts/cd-downloads.ps1 b/scripts/cd-downloads.ps1 index acdbc1c3f..7259c6a06 100755 --- a/scripts/cd-downloads.ps1 +++ b/scripts/cd-downloads.ps1 @@ -4,8 +4,8 @@ .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 @@ -15,19 +15,19 @@ 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])" diff --git a/scripts/cd-music.ps1 b/scripts/cd-music.ps1 index 613cac3d4..78d5592cf 100755 --- a/scripts/cd-music.ps1 +++ b/scripts/cd-music.ps1 @@ -4,8 +4,8 @@ .DESCRIPTION This PowerShell script changes the working directory to the user's music folder. .EXAMPLE - PS> ./cd-music - 📂C:\Users\Markus\Music entered (has 3 folders and 0 files) + PS> ./cd-music.ps1 + 📂C:\Users\Markus\Music with 3 folders and 0 files entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -15,7 +15,7 @@ try { if ($IsLinux) { if (-not(Test-Path "~/Music/" -pathType container)) { - throw "No music folder at ~/Music/" + throw "No 'Music' folder in home directory" } $path = Resolve-Path "~/Music" } else { @@ -25,9 +25,9 @@ try { } } Set-Location "$path" - $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path entered (has $($folders.Count) folders and $($files.Count) files)" + $files = Get-ChildItem $path -attributes !Directory + "📂$path with $($folders.Count) folders and $($files.Count) files entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-repos.ps1 b/scripts/cd-repos.ps1 index b4b2c68ae..f82e27cab 100755 --- a/scripts/cd-repos.ps1 +++ b/scripts/cd-repos.ps1 @@ -5,7 +5,7 @@ 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 @@ -23,13 +23,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])" diff --git a/scripts/cd-scripts.ps1 b/scripts/cd-scripts.ps1 index c7fb9a27b..1980fe5f7 100755 --- a/scripts/cd-scripts.ps1 +++ b/scripts/cd-scripts.ps1 @@ -5,7 +5,7 @@ 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 @@ -14,12 +14,10 @@ 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])" From b24233e4b75ee5d45f59362adf3aff97c8b596d5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 29 May 2025 09:48:14 +0200 Subject: [PATCH 315/737] Updated cd-home.ps1 --- scripts/cd-home.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cd-home.ps1 b/scripts/cd-home.ps1 index 400634932..0b5d6f229 100755 --- a/scripts/cd-home.ps1 +++ b/scripts/cd-home.ps1 @@ -5,7 +5,7 @@ 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 folders) + 📂C:\Users\Markus with 4 files and 7 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,7 +18,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])" From 391c93f9d57810636855fc6029c2063ce3877d5d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 30 May 2025 10:15:19 +0200 Subject: [PATCH 316/737] Updated cd-root.ps1 --- scripts/cd-root.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/cd-root.ps1 b/scripts/cd-root.ps1 index 4a09d4fa4..37bf648e0 100755 --- a/scripts/cd-root.ps1 +++ b/scripts/cd-root.ps1 @@ -1,11 +1,11 @@ <# .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 @@ -13,11 +13,11 @@ #> 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])" From 74abe7ce45727a3313c57c1bc2e6d7ae14e6c6ad Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 30 May 2025 10:18:01 +0200 Subject: [PATCH 317/737] Updated cd-onedrive.ps1 --- scripts/cd-onedrive.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/cd-onedrive.ps1 b/scripts/cd-onedrive.ps1 index bf30aa3db..eebdacb81 100755 --- a/scripts/cd-onedrive.ps1 +++ b/scripts/cd-onedrive.ps1 @@ -1,11 +1,11 @@ <# .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 0 folders) + PS> ./cd-onedrive.ps1 + 📂C:\Users\Markus\OneDrive with 2 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -20,7 +20,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])" From 03d931f4e8ec236fe874ea13c3d3266e7d136d39 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 30 May 2025 10:25:32 +0200 Subject: [PATCH 318/737] Updated cd-docs.ps1 and cd-ssh.ps1 --- scripts/cd-docs.ps1 | 14 +++++++------- scripts/cd-ssh.ps1 | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/cd-docs.ps1 b/scripts/cd-docs.ps1 index 1e99115f0..e821f4a53 100755 --- a/scripts/cd-docs.ps1 +++ b/scripts/cd-docs.ps1 @@ -1,11 +1,11 @@ <# .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 @@ -15,19 +15,19 @@ 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])" diff --git a/scripts/cd-ssh.ps1 b/scripts/cd-ssh.ps1 index d0e33c68e..3012dbab8 100755 --- a/scripts/cd-ssh.ps1 +++ b/scripts/cd-ssh.ps1 @@ -1,11 +1,11 @@ <# .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 @@ -15,12 +15,12 @@ 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])" From 3d31f68b4b08c8a2e49d64b95b55d4017cb55235 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 30 May 2025 10:28:24 +0200 Subject: [PATCH 319/737] Updated cd-users.ps1 --- scripts/cd-users.ps1 | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/scripts/cd-users.ps1 b/scripts/cd-users.ps1 index 861ddcb3d..ae45f97dc 100755 --- a/scripts/cd-users.ps1 +++ b/scripts/cd-users.ps1 @@ -1,11 +1,11 @@ <# .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 @@ -15,12 +15,11 @@ 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])" From de29c358dbdfcae85a50b9f17c7e7aeb954edcee Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 30 May 2025 10:37:38 +0200 Subject: [PATCH 320/737] Updated cd-fonts.ps1, cd-pics.ps1, and cd-templates.ps1 --- scripts/cd-fonts.ps1 | 11 +++++------ scripts/cd-pics.ps1 | 19 +++++++++++-------- scripts/cd-templates.ps1 | 19 +++++++++++-------- 3 files changed, 27 insertions(+), 22 deletions(-) diff --git a/scripts/cd-fonts.ps1 b/scripts/cd-fonts.ps1 index 0202c416f..b06f0e7ec 100755 --- a/scripts/cd-fonts.ps1 +++ b/scripts/cd-fonts.ps1 @@ -1,11 +1,11 @@ <# .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 12 fonts and 0 folders) + PS> ./cd-fonts.ps1 + 📂C:\Windows\Fonts with 12 font files entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -19,8 +19,7 @@ try { } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - $folders = Get-ChildItem $path -attributes Directory - "📂$path entered (has $($files.Count) fonts and $($folders.Count) folders)" + "📂$path with $($files.Count) font files entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-pics.ps1 b/scripts/cd-pics.ps1 index 2a760438c..ff98c6b01 100755 --- a/scripts/cd-pics.ps1 +++ b/scripts/cd-pics.ps1 @@ -1,11 +1,11 @@ <# .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 @@ -14,17 +14,20 @@ 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])" diff --git a/scripts/cd-templates.ps1 b/scripts/cd-templates.ps1 index bc0294016..aff4de21d 100755 --- a/scripts/cd-templates.ps1 +++ b/scripts/cd-templates.ps1 @@ -1,11 +1,11 @@ <# .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 @@ -14,17 +14,20 @@ 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])" From 5ad6815ebac87de05bdca9f259d4234bc47757e6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 30 May 2025 10:44:57 +0200 Subject: [PATCH 321/737] Updated cd-public.ps1 and cd-screenshots.ps1 --- scripts/cd-public.ps1 | 19 +++++++++++-------- scripts/cd-screenshots.ps1 | 14 +++++++------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/scripts/cd-public.ps1 b/scripts/cd-public.ps1 index 262e8434b..80f6b3bb3 100755 --- a/scripts/cd-public.ps1 +++ b/scripts/cd-public.ps1 @@ -1,11 +1,11 @@ <# .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 @@ -14,17 +14,20 @@ 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])" diff --git a/scripts/cd-screenshots.ps1 b/scripts/cd-screenshots.ps1 index 809e6e0ac..b73184be2 100755 --- a/scripts/cd-screenshots.ps1 +++ b/scripts/cd-screenshots.ps1 @@ -1,11 +1,11 @@ <# .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 @@ -14,12 +14,12 @@ 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 @@ -30,7 +30,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])" From 81f89c9484963c7d56ba032827c56265f782ed62 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 2 Jun 2025 18:52:24 +0200 Subject: [PATCH 322/737] Updated install-crystal-disk-info.ps1 --- scripts/install-crystal-disk-info.ps1 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/install-crystal-disk-info.ps1 b/scripts/install-crystal-disk-info.ps1 index 9f79a4fd5..510fda6da 100755 --- a/scripts/install-crystal-disk-info.ps1 +++ b/scripts/install-crystal-disk-info.ps1 @@ -12,14 +12,16 @@ #> 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 } From 476ce9544fd3e1d06633dcb95c3f4c5f01d60f8f Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 2 Jun 2025 19:22:07 +0200 Subject: [PATCH 323/737] Updated some scripts --- scripts/list-empty-dirs.ps1 | 8 ++++---- scripts/list-read-only-files.ps1 | 6 +++--- scripts/list-system-files.ps1 | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/list-empty-dirs.ps1 b/scripts/list-empty-dirs.ps1 index 9bb047003..b3c11fc44 100755 --- a/scripts/list-empty-dirs.ps1 +++ b/scripts/list-empty-dirs.ps1 @@ -1,6 +1,6 @@ <# .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 @@ -8,7 +8,7 @@ .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 @@ -28,8 +28,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])" diff --git a/scripts/list-read-only-files.ps1 b/scripts/list-read-only-files.ps1 index f180604a5..706a94550 100755 --- a/scripts/list-read-only-files.ps1 +++ b/scripts/list-read-only-files.ps1 @@ -1,6 +1,6 @@ <# .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 @@ -8,7 +8,7 @@ .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 @@ -29,7 +29,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])" diff --git a/scripts/list-system-files.ps1 b/scripts/list-system-files.ps1 index 015c7325d..92abce7da 100755 --- a/scripts/list-system-files.ps1 +++ b/scripts/list-system-files.ps1 @@ -8,7 +8,7 @@ .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 @@ -29,7 +29,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])" From 2140380f245812ffa69f56898b8f42267399fac4 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 3 Jun 2025 07:52:06 +0200 Subject: [PATCH 324/737] Updated build-repo.ps1 --- scripts/build-repo.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index e5b8071ec..79e541d11 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -10,7 +10,7 @@ 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 @@ -155,7 +155,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 { From 95fdf740cfefbe0363bcf428a09f208d704d9d80 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 4 Jun 2025 09:28:22 +0200 Subject: [PATCH 325/737] Updated pull-repos.ps1 --- scripts/pull-repos.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/pull-repos.ps1 b/scripts/pull-repos.ps1 index 9bdf441d7..9eaade20d 100755 --- a/scripts/pull-repos.ps1 +++ b/scripts/pull-repos.ps1 @@ -9,7 +9,7 @@ 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 @@ -37,10 +37,10 @@ try { [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" } From 586b925df586cab44ec53f82d9ac5a7e1827ddba Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 4 Jun 2025 09:37:33 +0200 Subject: [PATCH 326/737] Updated pull-repos.ps1 --- scripts/pull-repos.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pull-repos.ps1 b/scripts/pull-repos.ps1 index 9eaade20d..e502b2eec 100755 --- a/scripts/pull-repos.ps1 +++ b/scripts/pull-repos.ps1 @@ -31,7 +31,7 @@ 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 From 0eb30f5c64483cc3bfffd7facc01bd920ce252b2 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 4 Jun 2025 13:17:58 +0200 Subject: [PATCH 327/737] Updated aviation.csv --- data/dicts/aviation.csv | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index 6ca7a7953..09116fa9d 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -391,7 +391,8 @@ ODP,Obstacle Departure Procedure OGE,Out of Ground Effect OID,Operational Instrument Departure OFZ,Obstacle Free Zone -OJT,On the Job Training +OJT,On-the-Job Training +OJTI,On-the-Job Training Instructor OODA,"Observation, Orientation, Decision, and Action" ORCAM,Originating Region Code Assignment Method OSC,On Scene Commander @@ -588,6 +589,7 @@ UFA,"UFA, Inc., the world's premier developer of Air Traffic Control simulation UHF,Ultra High Frequency (300MHz to 3 GHz) UIR,Upper Flight Information Region UKCAA,United Kingdom Civil Aviation Authority +UkSATSE,Ukranian State Air Traffic Services Enterprise UMASS,University of Massachusetts UNL,Unlimited URET,User Request Evaluation Tool From 370e08c2d9d414ae4ed668242b3497982535ea7e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 5 Jun 2025 07:28:05 +0200 Subject: [PATCH 328/737] Added kill-process.ps1 --- scripts/kill-process.ps1 | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 scripts/kill-process.ps1 diff --git a/scripts/kill-process.ps1 b/scripts/kill-process.ps1 new file mode 100644 index 000000000..a44334e59 --- /dev/null +++ b/scripts/kill-process.ps1 @@ -0,0 +1,35 @@ +<# +.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 +} From 29d27eec189b8cb5f82963d9adbb6635d5c8b260 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 5 Jun 2025 14:08:21 +0200 Subject: [PATCH 329/737] Renamed template to New.txt --- data/templates/Markdown.md | 4 ++-- data/templates/{Text.txt => New.txt} | 4 ++-- scripts/new-text-file.ps1 | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) rename data/templates/{Text.txt => New.txt} (67%) diff --git a/data/templates/Markdown.md b/data/templates/Markdown.md index c0c9556e8..de7becdd2 100644 --- a/data/templates/Markdown.md +++ b/data/templates/Markdown.md @@ -1,5 +1,5 @@ -Your Headline -============= +Headline +======== Some introductory words... diff --git a/data/templates/Text.txt b/data/templates/New.txt similarity index 67% rename from data/templates/Text.txt rename to data/templates/New.txt index c0c9556e8..de7becdd2 100644 --- a/data/templates/Text.txt +++ b/data/templates/New.txt @@ -1,5 +1,5 @@ -Your Headline -============= +Headline +======== Some introductory words... diff --git a/scripts/new-text-file.ps1 b/scripts/new-text-file.ps1 index 727f8cc72..48c123d5a 100755 --- a/scripts/new-text-file.ps1 +++ b/scripts/new-text-file.ps1 @@ -1,13 +1,13 @@ <# .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 (README.txt by default) .EXAMPLE PS> ./new-text-file.ps1 - ✅ New file 'README.txt' created from template 'Text.txt'. + ✅ New 'README.txt' created (from data/templates/New.txt). .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -17,11 +17,11 @@ param([string]$path = "README.txt") try { - $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 file '$path' created from template 'Text.txt'." + "✅ New '$path' created (from data/templates/New.txt)." exit 0 # success } catch { "⚠️ Error: $($Error[0])" From f177f22cf84b8b1705c6c1a8b410b9ac87a17c5c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 5 Jun 2025 14:13:06 +0200 Subject: [PATCH 330/737] Renamed to new-powershell-script.ps1 --- data/templates/{PowerShell.ps1 => New.ps1} | 0 ...{new-script.ps1 => new-powershell-script.ps1} | 16 +++++++--------- 2 files changed, 7 insertions(+), 9 deletions(-) rename data/templates/{PowerShell.ps1 => New.ps1} (100%) rename scripts/{new-script.ps1 => new-powershell-script.ps1} (60%) diff --git a/data/templates/PowerShell.ps1 b/data/templates/New.ps1 similarity index 100% rename from data/templates/PowerShell.ps1 rename to data/templates/New.ps1 diff --git a/scripts/new-script.ps1 b/scripts/new-powershell-script.ps1 similarity index 60% rename from scripts/new-script.ps1 rename to scripts/new-powershell-script.ps1 index 53925d970..83cb0a4e0 100755 --- a/scripts/new-script.ps1 +++ b/scripts/new-powershell-script.ps1 @@ -1,12 +1,12 @@ <# .SYNOPSIS - Creates a new PowerShell script + Creates a PowerShell script .DESCRIPTION - This PowerShell script creates a new PowerShell script file by using the template file at: ../data/templates/PowerShell.ps1. + 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 + Specifies the path and new filename ("bot.ps1" by default) .EXAMPLE - PS> ./new-script.ps1 bot.ps1 + PS> ./new-powershell-script.ps1 ✅ New PowerShell script 'bot.ps1' created from template 'PowerShell.ps1'. .LINK https://github.com/fleschutz/PowerShell @@ -14,16 +14,14 @@ Author: Markus Fleschutz | License: CC0 #> -param([string]$path = "") +param([string]$path = "bot.ps1") try { - if ($path -eq "" ) { $path = Read-Host "Enter the new filename" } - - $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/PowerShell.ps1" + $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.ps1" Copy-Item $pathToTemplate "$path" if ($lastExitCode -ne 0) { throw "Can't copy to: $path" } - "✅ New PowerShell script '$path' created from template 'PowerShell.ps1'." + "✅ New '$path' created (from data/templates/New.ps1)." exit 0 # success } catch { "⚠️ Error: $($Error[0])" From 330b13c72bc8efc9a9bd2dac5446fcc6af825035 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 5 Jun 2025 14:29:28 +0200 Subject: [PATCH 331/737] Added a check if file is already existing --- data/templates/{Markdown.md => New.md} | 0 scripts/new-markdown-file.ps1 | 12 +++++++----- scripts/new-powershell-script.ps1 | 2 ++ scripts/new-text-file.ps1 | 2 ++ 4 files changed, 11 insertions(+), 5 deletions(-) rename data/templates/{Markdown.md => New.md} (100%) diff --git a/data/templates/Markdown.md b/data/templates/New.md similarity index 100% rename from data/templates/Markdown.md rename to data/templates/New.md diff --git a/scripts/new-markdown-file.ps1 b/scripts/new-markdown-file.ps1 index a537d1142..65872a295 100755 --- a/scripts/new-markdown-file.ps1 +++ b/scripts/new-markdown-file.ps1 @@ -1,13 +1,13 @@ <# .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 (README.md by default) .EXAMPLE PS> ./new-markdown-file.ps1 - ✅ New file 'README.md' created from template 'Markdown.md'. + ✅ New 'README.md' created (from data/templates/New.md). .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -17,11 +17,13 @@ param([string]$path = "README.md") try { - $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/Markdown.md" + if (Test-Path "$path" -pathType leaf)) { throw "File '$path' is already existing" } + + $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.md" Copy-Item $pathToTemplate "$path" if ($lastExitCode -ne 0) { throw "Can't copy template to: $path" } - "✅ New file '$path' created from template 'Markdown.md'." + "✅ New '$path' created (from data/templates/New.md)." exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/new-powershell-script.ps1 b/scripts/new-powershell-script.ps1 index 83cb0a4e0..658d4626c 100755 --- a/scripts/new-powershell-script.ps1 +++ b/scripts/new-powershell-script.ps1 @@ -17,6 +17,8 @@ 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" } diff --git a/scripts/new-text-file.ps1 b/scripts/new-text-file.ps1 index 48c123d5a..2d23e7cf5 100755 --- a/scripts/new-text-file.ps1 +++ b/scripts/new-text-file.ps1 @@ -17,6 +17,8 @@ param([string]$path = "README.txt") try { + if (Test-Path "$path" -pathType leaf)) { throw "File '$path' is already existing" } + $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.txt" Copy-Item $pathToTemplate "$path" if ($lastExitCode -ne 0) { throw "Can't copy template to: $path" } From b17b3885b5f58e0b09689180d0c080456124d210 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 6 Jun 2025 10:22:45 +0200 Subject: [PATCH 332/737] Fixed typos --- scripts/new-markdown-file.ps1 | 2 +- scripts/new-powershell-script.ps1 | 2 +- scripts/new-text-file.ps1 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/new-markdown-file.ps1 b/scripts/new-markdown-file.ps1 index 65872a295..d034e9cda 100755 --- a/scripts/new-markdown-file.ps1 +++ b/scripts/new-markdown-file.ps1 @@ -17,7 +17,7 @@ param([string]$path = "README.md") try { - if (Test-Path "$path" -pathType leaf)) { throw "File '$path' is already existing" } + if (Test-Path "$path" -pathType leaf) { throw "File '$path' is already existing" } $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.md" Copy-Item $pathToTemplate "$path" diff --git a/scripts/new-powershell-script.ps1 b/scripts/new-powershell-script.ps1 index 658d4626c..7425b284d 100755 --- a/scripts/new-powershell-script.ps1 +++ b/scripts/new-powershell-script.ps1 @@ -17,7 +17,7 @@ param([string]$path = "bot.ps1") try { - if (Test-Path "$path" -pathType leaf)) { throw "File '$path' is already existing" } + if (Test-Path "$path" -pathType leaf) { throw "File '$path' is already existing" } $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.ps1" Copy-Item $pathToTemplate "$path" diff --git a/scripts/new-text-file.ps1 b/scripts/new-text-file.ps1 index 2d23e7cf5..9f7b88433 100755 --- a/scripts/new-text-file.ps1 +++ b/scripts/new-text-file.ps1 @@ -17,7 +17,7 @@ param([string]$path = "README.txt") try { - if (Test-Path "$path" -pathType leaf)) { throw "File '$path' is already existing" } + if (Test-Path "$path" -pathType leaf) { throw "File '$path' is already existing" } $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.txt" Copy-Item $pathToTemplate "$path" From 9befcc90003bf9c6a50cec29da16932464dfaa33 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 6 Jun 2025 12:13:09 +0200 Subject: [PATCH 333/737] Improved write-code.ps1 --- scripts/write-code.ps1 | 101 +++++++++++++++++++++++++---------------- 1 file changed, 61 insertions(+), 40 deletions(-) diff --git a/scripts/write-code.ps1 b/scripts/write-code.ps1 index 61f524c4f..44f47ec95 100755 --- a/scripts/write-code.ps1 +++ b/scripts/write-code.ps1 @@ -15,54 +15,75 @@ 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 © 2025 by 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 Rights Reserved." + 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 From 7d16c37f1f06c8508fd2e9d69c2d4c969d4cf65c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 12 Jun 2025 12:27:05 +0200 Subject: [PATCH 334/737] Updated copy-photos-sorted.ps1 --- scripts/copy-photos-sorted.ps1 | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/scripts/copy-photos-sorted.ps1 b/scripts/copy-photos-sorted.ps1 index 7ad7411c1..a4d06db29 100755 --- a/scripts/copy-photos-sorted.ps1 +++ b/scripts/copy-photos-sorted.ps1 @@ -10,7 +10,8 @@ .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 @@ -19,7 +20,7 @@ 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) { @@ -65,22 +66,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++ @@ -88,7 +89,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])" From 19b01060e57e8102cd1108369dd53f4598b4a849 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 12 Jun 2025 12:36:30 +0200 Subject: [PATCH 335/737] Added copy-videos-sorted.ps1 --- scripts/copy-videos-sorted.ps1 | 81 ++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 scripts/copy-videos-sorted.ps1 diff --git a/scripts/copy-videos-sorted.ps1 b/scripts/copy-videos-sorted.ps1 new file mode 100644 index 000000000..8d0060b0b --- /dev/null +++ b/scripts/copy-videos-sorted.ps1 @@ -0,0 +1,81 @@ +<# +.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 +} From 3478ceb58531e1a369179c67116af59c4950e6d0 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 13 Jun 2025 10:37:10 +0200 Subject: [PATCH 336/737] Added cd-desktop.ps1 --- scripts/cd-desktop.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/cd-desktop.ps1 b/scripts/cd-desktop.ps1 index fbe493850..563f38251 100755 --- a/scripts/cd-desktop.ps1 +++ b/scripts/cd-desktop.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's desktop folder. .EXAMPLE PS> ./cd-desktop.ps1 - 📂/home/Markus/Desktop (has 3 files and 0 folders) + 📂/home/Markus/Desktop with 3 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -21,13 +21,13 @@ try { } 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" $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])" From ddce6598e8c906e54b2e68b58e372477053f0884 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 16 Jun 2025 18:17:29 +0200 Subject: [PATCH 337/737] Updated cd-crashdumps.ps1 and list-cli-tools.ps1 --- scripts/cd-crashdumps.ps1 | 10 +++++----- scripts/list-cli-tools.ps1 | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/cd-crashdumps.ps1 b/scripts/cd-crashdumps.ps1 index 13c63da60..92babdc3b 100755 --- a/scripts/cd-crashdumps.ps1 +++ b/scripts/cd-crashdumps.ps1 @@ -4,8 +4,8 @@ .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 @@ -20,10 +20,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])" diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index 687cfe0f2..855c4ab16 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -151,6 +151,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" From df7368ff91a22bba5abfcd83429d5fad24173a5a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 17 Jun 2025 11:22:54 +0200 Subject: [PATCH 338/737] Added difft to list-cli-tools.ps1 --- scripts/list-cli-tools.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index 855c4ab16..6649c2e3e 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -140,6 +140,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" From d8690419ea8cd6e2e6ff58a46b8cdf9bf7b27da9 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 22 Jun 2025 10:38:33 +0200 Subject: [PATCH 339/737] 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 4e5d1fcdf..756f61f01 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 fd71aa85f..57f86a0ab 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 67afb950a..48858c9e3 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 de6015ef1..646352a87 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 018499945..d88ceafbd 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 b3092bb0a..8d571b6a1 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 b0f5659db..714acde1a 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 935b9ab53..accddde11 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 284ee6aa7..143fd9ac2 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 a9ceec2e9..9fef7a6a8 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 e0f3ff825..173ce926f 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 b9a1314d1..a70f9cace 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 46ca7aefe..10834d67d 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 58ca1cc32..07085c0c4 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 bee1b0f22..ebaca55ec 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 f4aca02c1..92ec15728 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 4ac91b61a..c718465c2 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 7ab75d8d5..a565d8c92 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 70a0e2e0d..46529347e 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 c8482b937..ff00d9d02 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 3bfd82105..5ac64365c 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 38a4d72ff..1c0bf08fd 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 fd9cded48..2586cbf03 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 d48ca449c..93e57f725 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 174a2654c..952b9349f 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 d8a427cce..615cc5e39 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 f45469d3d..9c9435567 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 5ef1ed7df..d3fc780c6 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 000000000..f5f00d8ca --- /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 1006c9c23..1246adace 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 cf22a4369..bce43d27c 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 82bcc50e3..00c241270 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 7b0d118d1..1136ba999 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 47051bcdf..e52ca1b9f 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 0d3c5702a..eaf2e3e7c 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 91c1f509c..99aa489cb 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 3ba865d0e..d37ab15f4 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 d719d22a9..38d8e3725 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 1ba91dc09..758c5606d 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 262dac274..397521502 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 057e284fb..9b0eb32ec 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 63a3b65fb..9da53898e 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 5b8ca68e8..f33ad3ab5 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 6b831856d..7e7d79259 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 b37a39dcb..7305a53ae 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 3020acaae..faf55dc69 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 6442d49af..b1474dac6 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 e6180c57f..7afc09d76 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 e50008349..5d215847e 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 9d0174fd9..08914e141 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 37429bbd0..20e6dff0d 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 a99e32c04..7944fb89b 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 9436c943a..c5ea2d479 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 911b3013c..b4f1044fb 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 01d8532c7..6d04ad517 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 53782f286..6d9970246 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 3ad0c4f16..810f1b09e 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 92c8847a1..053db7cd0 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 3db956780..cbcb2240e 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 9ad9e8051..c8e36ae4f 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 c133c7aea..318a161c8 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 2f39a8e0d..273329a0b 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 13b057c20..212464d2c 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 a75bd1987..fb732efbb 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 be7715b52..e0c94e15b 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 b48407e05..23c703394 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 1a5b003b8..956f01544 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 740d45346..2d1954d99 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 06d7a370a..a094ec66b 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 cdf701676..1abaf162e 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 896d830a4..9b11d1248 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 d052698a6..7629abceb 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 76cfc7896..a7d00a000 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 35188c8ac..36ffbe9f7 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 79b53176e..26570633c 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 3e5a70b1d..6a2da542d 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 b11126236..0d1bcb6dc 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 1b219198b..94635468a 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 a5e68efc0..ea6de9fbf 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 ac84e919a..95d13f3f6 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 377af7213..15d9005c3 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 dc3585251..ef42b3fb0 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 9fe0c4eda..bb0d349a0 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 cf65afe10..884cb40f4 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 1439d8646..1a40c8f49 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 a25ca4bb5..e58e41b92 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 fd6e68f59..b4ae9919b 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 fe9abcdde..f7ce8a1da 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 613775882..84504f653 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 3e4d33e68..17f111b0c 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 e9bda17c1..febf08eae 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 78d6e3b5f..4a07c1393 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 5e50692ba..60a85be58 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 c74d90e54..f9e0229e5 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 c8ab57e78..1dab5908a 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 571b6e0cc..094527fcc 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 14fe9b3fc..8eed1f7dc 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 b86e3051d..89fc3e9e4 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 601a70374..fa9d0ae3d 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 f456d7b89..00ed4d845 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 991694e35..1bdcc7afb 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 aaa2d6c28..ab2d42ec4 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 46f2c8773..f2daf0eab 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 6e2bb578c..dd4aaf1e8 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 e1c29f354..5e4244c80 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 d27fedb49..c2066f362 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 7ed6a4657..11c4faab6 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 dab958d14..b9dcd560e 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 a1df8e9de..8a2a41cb0 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 11da6e86a..81797ff77 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 657284abf..2f117a010 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 1ef2a68fd..dfdea5222 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 f71d7ad0a..20901dc38 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 f03e2d2d2..746a74e51 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 78395c628..7ed04a7a7 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 c1ef8e800..44392381b 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 99c7df1ad..3b18e522e 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 2646b5201..70533ae97 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 17c23e551..f663ec1a2 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 f5cacdc1e..c99161696 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 6babf1b84..638b6fc85 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 dd5c0c01a..e784fafd5 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 41fa25a23..d13dcd8dd 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 34a593d95..bb624b26e 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 a12f6055f..b2313d243 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 a08ef1e33..99bd7db21 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 a380a1287..11db54f8d 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 9f430b721..11872595a 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 614282426..0b5fa8842 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 b762a3652..0162b59f1 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 d2446d76a..9366930f3 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 8499b050e..30d4c1cd0 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 01a3a7bf2..0669c0888 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 bf73de5d0..af7ec0758 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 ce17b0245..61303f6d1 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 0aa746a4d..0baf9a8fb 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 c4500ecc0..252117c37 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 a1ad412c1..d56944220 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 9433edaa6..b815f5e6b 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 b7fc3d5f1..3d3c01554 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 4977a0123..937c58dc2 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 934b4383d..9e3aa8169 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 e75581e13..da065dc8b 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 c0dce5a9f..5784c5863 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 5aa5a8904..61c03105f 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 88a85985f..b9f89421b 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 378b2915f..2f43b1d5d 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 000000000..245d83283 --- /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 98f8816bc..d41bdb082 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 828503e60..d08d5d587 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 09b178a5c..b3138f001 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 6bec375f9..ad2eda109 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 093b02c22..d4959df0e 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 670561a2f..3712029a9 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 37c11678a..642e39d5c 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 2b9f1cc5e..b0872ac2c 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 3d3d986d9..230a06d18 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 8731c3eae..1e3f41e89 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 4d3aa6a29..e064f62ce 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 4a38e2e98..e9df99035 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 387afc7cf..11e1f3e9f 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 9f105b374..2745c9df8 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 aad6484a2..7698922dd 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 0d13ed181..0fd0cb2d6 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 4acb6d71d..36741e336 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 e2c6432aa..688819309 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 1290fee09..6c7a8d4fa 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 ef339487a..a7a255e51 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 cc6f50c36..a864e03a6 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 0bb75f8aa..ecc3dc927 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 aee6812d3..b11953ceb 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 1a6b44006..dcac94d77 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 bf12ec4a5..78c02449d 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 e17b79574..673b45314 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 ebf2ec7ab..f93aa7639 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 ba215c113..6115c4ecc 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 f8bcabc41..1f97ff849 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 a2194c4d0..2e5dbda5c 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 8e2e6af99..576a30400 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 91a2d4778..f4f16baf2 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 85dab7021..0ce7a5ae5 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 496ffda8a..a874a7cc4 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 ab13afa8b..3cc5bb615 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 de0cf4c3e..f8d39cf2b 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 666d2b02f..6d9232481 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 6b143fa99..83f5e2450 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 a7962e455..d3c96677e 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 28a75c504..967234a50 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 9c5023063..20def5396 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 579fced95..ff7893367 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 410350d67..5b462416f 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 cffe55402..1a34fc03d 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 53fabb4b0..7ea4c7604 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 3aef811d3..0b4c36990 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 1824aacb1..ff8e3d17b 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 8e89c826e..0fd90477b 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 831e24695..205745283 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 045a06bbb..a575b3366 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 1f4ca0460..8fa99f83b 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 947559625..ff8ac2102 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 2e4c4dc47..d2d8946b6 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 bf455a405..7c897f6bb 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 70b6e43ea..3a61e5a73 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 ad203771a..effd1c9fc 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 ff07ce5ad..b9568189f 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 739fffea3..1d9b83e4b 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 4a7e283f2..e5430010c 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 1cdd2113e..b196d855a 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 e732d2b88..aab40fb03 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 1267c0f44..921114ae3 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 34fd7bd8f..91934895c 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 2e4d41822..d45951cbc 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 928c7462d..d053a6d86 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 74be9a077..4d0eb0747 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 000000000..f77105b88 --- /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 6d52b5e5b..04f03161b 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 7dae03ec9..f5657eeae 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 5493cf208..f3aadb197 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 596fa947d..7b3321681 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 970acdaa3..0b3e36d74 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 478519af1..2bae8d17f 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 ae79529f3..6430d5782 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 aff597116..41c51a930 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 8946acb22..d213d9911 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 b64bfaded..c124fd666 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 a1e54b8bb..081789341 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 000000000..ad5a980c6 --- /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 f4c67803d..73d4eb1db 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 37084a183..d04d4f226 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 456823417..558abcff5 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 b37402c7b..f70cd5014 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 6f93e10c7..fc655e571 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 68e9e5d1a..266232844 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 c20dcc032..8ca4a3630 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 eb73d64e5..bd5a44125 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 8ce9fd376..c3edb0660 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 4e735552b..4dcd00735 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 a6b87d42c..cb0642d13 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 e7cbee878..25a237594 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 c31cbae5b..eaf100557 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 db545b1ce..c870d8f24 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 7331e14de..0ae35971f 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 e935204da..9b469dfc3 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 84ec76422..2411c626c 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 407974d51..33a57244b 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 45b820048..4a4f4c80a 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 2029b097a..b16d78be9 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 f819f61b2..fe6ad8be7 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 bd7fc0a69..3101749e3 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 dfd300860..4ca4445ad 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 a4c179580..f5c89d2d1 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 7d4dec1db..56d665315 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 4f1bd915c..2814d35ca 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 f396aa0e1..dfeec53ce 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 c336b3b48..261d94ea1 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 286726e6a..2413357da 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 a6e18c80c..8bd58adda 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 247bd60f0..2ed693959 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 5a25a5901..3ae5be610 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 98cc409f3..79b22460e 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 4c2c65866..cc33e42fb 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 2fc840ef5..684f067af 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 33519f01d..551d05c36 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 ce5964a52..c6620f718 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 b518ec879..59393f82a 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 a6e3b539a..42b24b99c 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 399eff315..84623c06e 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 6aa995890..44b615855 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 ea2ea8662..46f0caee3 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 feb941e20..81012065a 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 a404daba1..86d55e01e 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 64e78e18d..ff29de7ba 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 c8cd20f60..38853b11c 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 df3c7b510..8042fc2ee 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 14f09ae6a..7abdec928 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 9f2122faa..264ecddaf 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 8e2dc2433..12ce85467 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 00caae41a..07a88f2cc 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 4a480e64e..72817c21e 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 0968a96da..111995559 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 97e61d1ab..100b0fbdb 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 2aa4301ef..999ea96d4 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 ac0787049..ef627c6d3 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 0fafb0d2e..be68960c2 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 a876b9e74..37da86119 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 d0ec67ce8..09669628b 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 79f4b099c..1bb6ca3ce 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 7d8ed17e4..a4c2d7c36 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 5a6947719..361f7887a 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 d41216415..1088ebdb3 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 af7835073..51edede1e 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 cbb699430..b0c13d406 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 bdd2f24ba..b71a25fc3 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 44e65073d..be8b284ef 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 3c79360aa..acf42f458 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 76368a830..f5f453c29 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 9d03b46e5..4bc909d39 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 510447e01..a16cd23c7 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 3f57e9dad..c09353486 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 877514755..e5d445990 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 7f4a8fb81..55c0de3ca 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 2c1b67369..53ce0711e 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 34fe2c4c8..5b5677a91 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 01f5efb83..8acf4407c 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 1d28aaadc..e5c7e9c77 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 5989b3f8f..c953bedbd 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 8994c9167..9ab2e9066 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 d117b6607..1475642c4 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 cdf0d664f..46b08c28a 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 582d23f07..252f6fbd7 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 1b686e3e5..fa88ca934 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 39fd68325..8d7e4e05e 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 8219504f4..780d19473 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 6dbb2bd81..029c69683 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 88c46ecc5..d85fe00ed 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 7efa66b33..cb1020b34 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 a066eea74..22b9270eb 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 f3612df96..39dbce753 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 c01006818..3a20ca03e 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 43aa73985..647668b60 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 b81d9d79d..75fcefe44 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 dc9e0df56..9962eec1b 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 878c7782c..01fa38c35 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 49b4ff185..bf52adc1a 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 3f444fccc..b7c6d76fa 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 ca29a2bd7..90abe032a 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 cc7cb276f..c63fa61cc 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 1e8d28143..03b66f2ff 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 bbbd00444..a34ba4392 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 2fb813de6..be8eda872 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 14a680523..92d507324 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 596bafa9f..d32c89f32 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 cf91ee90f..86864ffea 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 344ea1eb4..8c3704958 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 7ad02d4ac..76116745d 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 f894f1dab..0cb31a19c 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 b99ff0fec..b58e26df1 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 66cc7feb5..123d6b42c 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 7131f44b9..442b91cea 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 f2b7a162f..7c1d7b18b 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 c0620bdd2..0e5f07e99 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 5fab3d54f..1fd1a3972 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 d2db95946..fcc93890e 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 d1f91f8e7..522b4bcaf 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 750f7518b..431c8c035 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 393c48122..9e25acfb1 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 fed9dcb82..7e84336d2 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 a8297c390..7a94d0cb1 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 42180aba9..ed67aeabc 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 4bd4fa2ff..4f5019933 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 57e748469..10e4cd02c 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 ec6d41f8e..80b5b7c68 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 81a594426..86216a3f1 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 4d9320dc8..092243e28 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 414c37f86..ed709f6fa 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 50739d5db..56a9f5d34 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 137254033..52c65d9ec 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 5a77c18d0..f37122c2a 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 5cd2e001d..a296e8a85 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 3fbc86dc1..af4c6cdca 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 fcf8931f1..2a28dc36e 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 8f8d77e18..6af6fdbda 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 d2cec6e02..f1091acd9 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 000000000..6cc2d5d08 --- /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 97ba836b4..2ae86de8c 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 8afdf1684..86d13afd0 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 c9e47d708..b4a956d11 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 4903f35b5..cc11d40c9 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 5240772ab..5b2abc3b6 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 fc048e434..c4bc1888c 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 8711fe44e..2767f04a0 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 d66cfe4fc..b7867e6a7 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 bac830aaf..ef1cd96cc 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 e6d50b0e6..d266f7b9c 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 0df1067ed..83e240b6b 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 f76842553..77890b5bd 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 6e2fcde0a..faa047a9c 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 ab786efa7..91fbf1235 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 1cc5b6012..221ae1f06 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 980036813..3bbd49a50 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 401c35c08..3250a13a9 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 d622c89f0..c8284b2a5 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 3c37b155c..2b770c6db 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 bbc8c92cf..78e7989e1 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 3b20e55f1..afc8e2c7c 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 78f8ad30e..893548391 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 725ce7c2b..853704468 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 418b17cf7..2ee556332 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 cdcd6db7e..c4afa0130 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 02c761a71..b9aaf9ca8 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 6d3cc3356..98445e4a1 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 061108c9d..2d2231437 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 1f24cbcec..d60f8af3a 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 01132f99d..116ede0a6 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 0c0aa6cac..f454eefad 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 4e6d4e43b..c0f41b438 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 e93974fd0..ac3cf51f3 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 36ec5a911..7d5c651af 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 efb15c425..bdab61b64 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 92f18dca4..3a5fcf0d6 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 614d07628..5fe88ad8f 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 eb7b53b22..bee0653ce 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 177d20267..0245965ac 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 9332b5545..2844d46af 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 3871329dd..4b5493db9 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 cc454af44..7d5ee6a90 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 fdd8cb995..099b4057a 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 728f7a2cc..5b9510817 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 faaac50ef..75e564d60 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 9f26a33d1..15f1c8528 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 812ff9874..526251e1b 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 d73860699..e3829a227 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 e992c57c4..dfc1e6fe8 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 fbbd27d02..7cd221370 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 447af703d..c749a0eee 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 7942dfd65..d3ca21dec 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 a391cd760..baaf14f4f 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 07b894301..a8e6a5c9c 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 46acc51fc..1d051f995 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 81f06db6b..d7571acbf 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 ba794d0b3..14e73274b 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 4cfbc8e25..595442924 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 b43992df7..85181a057 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 fe6d7d4ed..af510ece8 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 582df9d76..2670d4c2c 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 9889ef95c..e88c30dda 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 84f45e2b9..788583526 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 7b41bc1d5..3cb33a093 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 2dc4c6c11..3c83216ec 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 bdc311054..ceeacf4d5 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 b3d428dc7..c747522a1 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 58a1d36c6..37934f90b 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 6fd36a574..bf80e1692 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 0a2b602b6..b4bdbac69 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 63635130a..3feb81d0d 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 522726bc4..934021a4b 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 14b9974dd..1b3925a59 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 1cd75275f..9c785bde9 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 869d8e309..4177e4db2 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 1f0597eee..8b1b9d769 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 6b9e81558..a217fb9ff 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 777d071c6..730a88e93 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 b1f73b65c..b1dffb168 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 9d8ba8b13..53dd02af8 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 0f461f62c..72cdddf02 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 103f2250a..e9f728c2a 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 8cbfc3808..72f9bcf79 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 31be41f02..2ac7e8a1d 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 6557a2c7d..cb52daf5c 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 7638ac383..4af3eda8d 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 d61d71d5d..8f1ed0295 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 23bd77062..f214c0ffc 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 3e96a188f..3a5f526c5 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 f2bcf0ad1..d5b231bd7 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 ad8f6cb9d..490850246 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 48c2e226f..a57191b0c 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 415582716..19e7d9582 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 355d6e1f5..716d33097 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 acc07f5f4..f99747322 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 f7f1d5a6a..d73d79cef 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 6aee80027..3908fc97e 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 2a05270bc..992b1665e 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 31bf363e3..c4d45d154 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 6d9c09fa7..7aa0b6dab 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 4fafb2a99..0201c5830 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 2050bc0c0..90cc0e2ab 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 90b6c39ca..863e7b22d 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 e880152d3..a1002eaa1 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 1062f6d9d..f978272ce 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 c85c8f2a8..ce7d489a9 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 152d5e249..a173ccc21 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 464de086d..1cc668df8 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 38bdb5e91..0ba0338cf 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 600ec57da..09f54abef 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 7b097b37c..d54993d92 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 1f950d9a0..441dd28cd 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 dcd2fe773..98acec607 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 9e1a4fc2a..6ce0bc5e5 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 417b5bffa..82c745b29 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 7252a9244..cd3d0231d 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 5bb3e05aa..15fbbd947 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 789359ba9..2aaa74cb8 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 747bd6570..4c9aa77df 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 1544d98ee..547aa50a3 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 0da88e409..ad32ef466 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 6118e60e7..f0c688d93 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 19864a9f3..4ebbd0c68 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 560689300..e6aa56bfb 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 ce0efd1c9..da748fdf9 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 c02eb6521..21a04c66d 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 28ff03648..440b08703 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 570ecbf82..8e5ef5246 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 250b4fb00..df1f7c221 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 107446d83..6fc5ce073 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 e2adcc80c..736e7d829 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 e85434b91..c304d0dcd 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 2ca2bec2f..43754cdbd 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 0e219078c..24782b539 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 36e242d49..d0c304ade 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 7c906b232..44896aef2 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 8bd56aacd..4f0451d33 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 5e0b40bb7..a07633a7f 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 278d91add..da067b0da 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 7ce9985a7..3ad31deae 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 cfdbbe576..7f029ae23 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 56e54c208..b4924e3bd 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 ef8dcaeed..c3c4d3386 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 50ec3cc7e..d1946fc0d 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 d48ca14e9..355959459 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 fac174998..7ca9d198c 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 c8795d872..2465e0863 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 9ecd3220b..4b345b655 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 fd99ac921..9be9f9789 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 84c2cec1b..7555fc445 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 63ffcc915..641896ed9 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 14fbc9d02..2b70018de 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 5750a5afc..292c41968 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 6aff5a353..746ff16c8 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 1ac7bce23..439e6b8a2 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 0413f7881..9916871af 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 c8c390083..21df98c6b 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 33f6b39cc..333f1c07a 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 0502b505a..cce16348d 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 90b4daeca..be7bb2786 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 58c257ab2..27f9e6b18 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 60037520c..a164d29cd 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 cbd68d65b..9c0b802ab 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 0214ce6a5..e655822c3 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 f9ecadb95..2d1e2d0b7 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 9d271dbf8..6eeed1b4e 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 9d9439623..e52d89200 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 a5b7201d0..a08331bad 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 9e3a8c308..9683fc391 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 7c7f5f422..3241043a3 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 307c2dcbb..01898c7b1 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 26550d05d..7d2f06504 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 9b1794c30..53f83eb72 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 a63ce2d3c..5f151d72f 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 3aa2ec60a..12fb37b20 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 2596ca22a..911c10b53 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 60dce40dc..4d9188038 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 8d8e5333b..8a234dbc8 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 66dcbbf07..13376f9d8 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 570b50ced..e2d2650ac 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 025c02bdd..e95de9695 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 2cbfb23ec..85a5cb7c1 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 bc0b396bb..1c65cc0e2 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 3c38b6839..1d1817a5f 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 9eb6b4288..b93bc705f 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 32f7c176a..bc69d8578 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 0135d1ce5..8335c006a 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 cde9ad95a..4923f5915 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 e14ec1a4d..13594675d 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 7ab6ac93b..9a5fb879a 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 9a32c7ffc..586da5bbe 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 f65ce96a1..181cb8f94 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 fff88c7e8..70dc250a9 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 e7b74a7d8..9a7d5f3bf 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 b4d26b013..efd412e52 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 ae4e6aa86..cff9582d2 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 ec4b48eec..3ddde6220 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 95b7c72e0..6bce006d2 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 998160e16..08636b6eb 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 57a814c02..32ef09e12 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 372c5235a..e891b34e0 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 a5edd0aa0..6fdb45fe4 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 cc8b25659..207d3d905 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 b12599f9d..a7a2d8c56 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 644c4807f..703e94dea 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 15c548ff6..baf61c6c7 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 79adc235d..e33122db7 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 45d4696f5..b8b97957a 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 9d36020a3..bd034eca4 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 515436f7b..8dbc1b559 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 6875746e3..cb46b033f 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 cddae7f78..7f6862068 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 ecfacd655..09c9385eb 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 7bc32b052..9d4f69e32 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 1038c2cc3..1b2bb508a 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 4df9653fe..d0acc1d1f 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 caae2b38c..503c9b3c3 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 e86fd55ee..38d50d905 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 809481ee5..fcbd05029 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 90bde538c..3a72d6266 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 c24d524d4..9f84169af 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 6e878b510..867838574 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 000000000..9862dcb9b --- /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 e78352de8..8143b2289 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 52f03ecf9..186de09c8 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 57d5db6fd..e39f87e29 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 a7856db9d..4560d889a 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 f403c9b38..3475aabc5 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 ce2d588a4..e8680c664 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 51418ed7d..9a7d523e7 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 3acd7407e..d6e66f54a 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 7b5779a5e..5fa1a03d1 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 4344cf45a..aa9af0bfe 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 b84553ea0..bf39daa9e 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 929cdd6b4..236f1c8b6 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 5b288d686..7572b0fb6 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 5f84b1854..945250ad3 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 17cd49b63..7b8fd8e11 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 681d5b106..cf2835008 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 d4d65a550..4fd16406a 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 20731dc32..077c2ceb6 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 af53218ff..bc6e433a3 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 dac5bb334..c26e7877c 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 e26e2a78b..f61bc2c98 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 41165db95..76e64332a 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 f3a4f6971..94984fdf2 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 9d05e7a61..064f1ef64 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 28833edc2..b93ba3e6a 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 87ffae9ea..5dc21923d 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 61e4aae8a..daec4f244 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 0b33408f0..0b8641781 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 2dbfe4388..4bd74cda0 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 8b572ef35..b8a7337e4 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 5cad3b691..a18de1b4c 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 2e551f34f..3c31df016 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 ce27ad379..655049cbd 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 f2cde9577..31ece537a 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 4b51c125a..270019948 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 21851f603..53ee6d37d 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 f07855d05..c768bc181 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 a6ac47c12..6338d87f2 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 b64979351..7f63be7b8 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 7dba6073e..e912492db 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 a5e60ae8c..a773df3e7 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 bbe09d29f..97cf6b63e 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 c8540573c..f3d396181 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 9851e0271..0002efb9c 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 70f0a58ba..32e1fe8fd 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 b73e7fcc2..e8280afb3 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 2ae533a93..2d4140421 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 408a1d0ba..30993af01 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 0fca1b029..657d3e9ba 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 e8fff520e..650983131 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 c7f91bf10..c704207bd 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 8b7e32d2d..780d58a09 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 e765880ee..0e72530df 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 41650d4d5..ad14d5245 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 f0af4a6f7..e5a070936 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 a9d418421..d7e92dbfe 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 5e943dd64..2c5453033 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 491fd98ff..37c123aeb 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 363677ed8..5214a4237 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 9276b758c..5789e428a 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 f6ede7359..ff420a698 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 545a3cf9c..5ccafef4b 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 9cebe4e17..6cb4463e3 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 935bf13d8..0fc68530c 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 b0cba7b17..1f1f3ea1a 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 23f547d5e..9352ed7b1 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 f1b46637c..6e024cfbe 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 b4e33eeb1..0b81a2927 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 5df79f731..bdf852e57 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 From 04f833531eefca9b07e3022f515c7edb44528efd Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 23 Jun 2025 09:07:33 +0200 Subject: [PATCH 340/737] Updated clean-repo.ps1 --- scripts/clean-repo.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/clean-repo.ps1 b/scripts/clean-repo.ps1 index c4c7c6c27..cab26655e 100755 --- a/scripts/clean-repo.ps1 +++ b/scripts/clean-repo.ps1 @@ -8,11 +8,11 @@ Specifies the file path to the local Git repository (current working directory by default) .EXAMPLE PS> ./clean-repo.ps1 C:\Repos\rust - ⏳ (1/4) Searching for Git executable... git version 2.47.0 - ⏳ (2/4) Checking local repository... C:\Repos\rust + ⏳ (1/4) Searching for Git executable... git version 2.50.0 + ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Removing untracked files in repository... ⏳ (4/4) Removing untracked files in submodules... - ✅ Repo 📂rust is clean now. + ✅ Repo 'rust' is clean now. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -42,7 +42,7 @@ try { & git -C "$path" submodule foreach --recursive git clean -xfd -f # to delete all untracked files in the submodules if ($lastExitCode -ne 0) { throw "'git clean' in the submodules failed with exit code $lastExitCode" } - "✅ Repo 📂$repoName is clean now." + "✅ Repo '$repoName' is clean now." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 166aabba5b0eb52080197a4409920be343603b57 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 23 Jun 2025 09:58:34 +0200 Subject: [PATCH 341/737] Updated clear-dns-cache.ps1 --- scripts/clear-dns-cache.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/clear-dns-cache.ps1 b/scripts/clear-dns-cache.ps1 index 253281f77..928971ee7 100755 --- a/scripts/clear-dns-cache.ps1 +++ b/scripts/clear-dns-cache.ps1 @@ -2,10 +2,10 @@ .SYNOPSIS Clears the DNS cache .DESCRIPTION - This PowerShell script clears the DNS client cache of the local computer. + This PowerShell script empties the DNS client cache of the local computer. .EXAMPLE PS> ./clear-dns-cache.ps1 - ✅ Cleared DNS cache in 1s. + ✅ DNS cache cleared in 1s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,9 +18,9 @@ try { Clear-DnsClientCache [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Cleared DNS cache in $($elapsed)s." + "✅ DNS cache cleared in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } From d2d3a49f8e4067b67323276f867de31a15af225c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 23 Jun 2025 10:13:30 +0200 Subject: [PATCH 342/737] Updated install-firefox.ps1 --- scripts/install-firefox.ps1 | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/scripts/install-firefox.ps1 b/scripts/install-firefox.ps1 index 617c17e99..70ef9e5ad 100755 --- a/scripts/install-firefox.ps1 +++ b/scripts/install-firefox.ps1 @@ -2,9 +2,11 @@ .SYNOPSIS Installs Mozilla Firefox .DESCRIPTION - This PowerShell script installs Mozilla Firefox from the Microsoft Store. + This PowerShell script installs the Mozilla Firefox browser from Microsoft Store. .EXAMPLE PS> ./install-firefox.ps1 + ⏳ Installing Mozilla Firefox from Microsoft Store... + ✅ Mozilla Firefox installed successfully in 25s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -12,14 +14,16 @@ #> try { - "Installing Mozilla Firefox, please wait..." + $stopWatch = [system.diagnostics.stopwatch]::startNew() + "⏳ Installing Mozilla Firefox from Microsoft Store..." - & winget install "Mozilla Firefox Browser" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne 0) { throw "'winget install' failed" } + & winget install --id 9NZVDKPMR9RD --source msstore --accept-package-agreements --accept-source-agreements + if ($lastExitCode -ne 0) { throw "Can't install Mozilla Firefox, is it already installed?" } - "Mozilla Firefox installed successfully." + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Mozilla Firefox installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } From 31c39d3576078502b7879bb52a6ff480a1d100c4 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 23 Jun 2025 12:37:54 +0200 Subject: [PATCH 343/737] Updated switch-branch.ps1 --- scripts/switch-branch.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/switch-branch.ps1 b/scripts/switch-branch.ps1 index d4bc0f8e5..c83a92b4b 100755 --- a/scripts/switch-branch.ps1 +++ b/scripts/switch-branch.ps1 @@ -12,10 +12,10 @@ ⏳ (1/6) Searching for Git executable... git version 2.43.0.windows.1 ⏳ (2/6) Checking local repository... C:\Repos\rust ⏳ (3/6) Fetching remote updates... - ⏳ (4/6) Switching to 'main' branch... + ⏳ (4/6) Switching to branch 'main'... ⏳ (5/6) Pulling remote updates... ⏳ (6/6) Updating submodules... - ✅ Switched repo 📂rust to 'main' branch in 22s. + ✅ Switched repo 'rust' to 'main' branch in 22s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,7 +47,7 @@ try { & git -C "$pathToRepo" fetch --all --prune --prune-tags --force if ($lastExitCode -ne 0) { throw "'git fetch' failed with exit code $lastExitCode" } - "⏳ (4/6) Switching to '$branchName' branch..." + "⏳ (4/6) Switching to branch '$branchName'..." & git -C "$pathToRepo" checkout --recurse-submodules "$branchName" if ($lastExitCode -ne 0) { throw "'git checkout $branchName' failed with exit code $lastExitCode" } @@ -60,7 +60,7 @@ try { if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Switched repo 📂$repoDirName to '$branchName' branch in $($elapsed)s." + "✅ Switched repo '$repoDirName' to '$branchName' branch in $($elapsed)s." exit 0 # success } catch { "⚠️ Error: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" From cdedba19748a636da5024d1aa5b22182fd0435f3 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 23 Jun 2025 13:03:07 +0200 Subject: [PATCH 344/737] Updated cd-recycle-bin.ps1 and cd-trash.ps1 --- scripts/cd-recycle-bin.ps1 | 8 ++++---- scripts/cd-trash.ps1 | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/cd-recycle-bin.ps1 b/scripts/cd-recycle-bin.ps1 index 2f301e50c..1d00a4bd5 100755 --- a/scripts/cd-recycle-bin.ps1 +++ b/scripts/cd-recycle-bin.ps1 @@ -1,11 +1,11 @@ <# .SYNOPSIS - Sets the working directory to the recycle bin folder + Sets the working dir to the recycle bin folder .DESCRIPTION This PowerShell script changes the working directory to the user's recycle bin folder. .EXAMPLE - PS> ./cd-recycle-bin - 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 entered (has 2 files and 0 subfolders) + PS> ./cd-recycle-bin.ps1 + 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 with 2 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -30,7 +30,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 with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-trash.ps1 b/scripts/cd-trash.ps1 index 5289ecb4c..faac93415 100755 --- a/scripts/cd-trash.ps1 +++ b/scripts/cd-trash.ps1 @@ -1,11 +1,11 @@ <# .SYNOPSIS - Sets the working directory to the trash folder + Sets the working dir to the trash folder .DESCRIPTION This PowerShell script changes the working directory to the user's trash folder. .EXAMPLE PS> ./cd-trash - 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 entered (has 4 files and 0 subfolders) + 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 with 4 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -30,7 +30,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 with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" From db0c7af072069d6dbd202bc600d05256e459422e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 24 Jun 2025 07:08:05 +0200 Subject: [PATCH 345/737] Updated open-default-browser.ps1 --- scripts/open-default-browser.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/open-default-browser.ps1 b/scripts/open-default-browser.ps1 index 8b0e40289..7c8fb3919 100755 --- a/scripts/open-default-browser.ps1 +++ b/scripts/open-default-browser.ps1 @@ -6,19 +6,19 @@ .PARAMETER URL Specifies the URL .EXAMPLE - PS> ./open-default-browser + PS> ./open-default-browser.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$URL = "http://www.fleschutz.de") +param([string]$URL = "https://www.fleschutz.de") try { Start-Process $URL exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } From e5ce800a7679675f9ba9835960fc5a75f007862d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 24 Jun 2025 14:38:51 +0200 Subject: [PATCH 346/737] Improved log output of build-repo.ps1 --- scripts/build-repo.ps1 | 57 ++++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index 79e541d11..9ce990e9b 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -8,9 +8,9 @@ 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... + ⏳ Building 'ninja' by executing cmake... ... - ✅ Build of 📂ninja succeeded in 47s, results at: 📂C:\Repos\ninja\_results + ✅ Build of 'ninja' succeeded in 47s, results in: 📂C:\Repos\ninja\_results .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,117 +22,120 @@ param([string]$path = "$PWD") function BuildFolder([string]$path) { $dirName = (Get-Item "$path").Name if (Test-Path "$path/CMakeLists.txt" -pathType leaf) { - "⏳ (1/4) Building 📂$dirName by using CMake..." + "⏳ (1/3) Building '$dirName' by executing cmake..." $global:results = "$path/_results/" if (-not(Test-Path $global:results -pathType container)) { & mkdir $global:results } Set-Location $global:results - - "⏳ (2/4) Executing 'cmake' to generate the Makefile..." & cmake .. if ($lastExitCode -ne 0) { throw "Executing 'cmake ..' failed with exit code $lastExitCode" } - "⏳ (3/4) Executing 'make -j4' to compile and link..." + "⏳ (2/3) Executing 'make -j4' to compile and link..." & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } - "⏳ (4/4) Executing 'ctest -V'... (if tests are provided)" + "⏳ (3/3) Checking '$dirName' by 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/" + "⏳ Building '$dirName' by executing 'cargo build'..." + 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'..." + + "⏳ (1/3) Building '$dirName' by executing 'autogen.sh'..." Set-Location "$path/" & ./autogen.sh --force if ($lastExitCode -ne 0) { throw "Executing './autogen.sh --force' failed with exit code $lastExitCode" } - "⏳ Executing './configure'..." - + "⏳ (2/3) Executing './configure'..." & ./configure if ($lastExitCode -ne 0) { throw "Executing './configure' failed with exit code $lastExitCode" } + "⏳ (3/3) Executing 'make -j4' to compile and link..." & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/configure" -pathType leaf) { - "⏳ Building 📂$dirName by executing './configure' and 'make'..." - Set-Location "$path/" + "⏳ (1/3) Building '$dirName' by executing './configure'..." + Set-Location "$path/" & ./configure #if ($lastExitCode -ne 0) { throw "Executing './configure' exited with error code $lastExitCode" } + "⏳ (2/3) Compiling and linking '$dirName' by executing 'make -j4'..." & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } + "⏳ (3/3) Checking '$dirName' by executing 'make test'..." & make test if ($lastExitCode -ne 0) { throw "Executing 'make test' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/build.gradle" -pathType leaf) { - "⏳ Building 📂$dirName by using Gradle..." - Set-Location "$path" + "⏳ (1/2) Building '$dirName' by executing 'gradle build'..." + Set-Location "$path" & gradle build if ($lastExitCode -ne 0) { throw "Executing 'gradle build' failed with exit code $lastExitCode" } + "⏳ (2/2) Checking '$dirName' by executing 'gradle test'..." & gradle test if ($lastExitCode -ne 0) { throw "Executing 'gradle test' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/meson.build" -pathType leaf) { - "⏳ Building 📂$dirName by using Meson..." + "⏳ Building '$dirName' by using Meson..." Set-Location "$path" & meson . build --prefix=/usr/local if ($lastExitCode -ne 0) { throw "Executing 'meson . build' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/Imakefile" -pathType leaf) { - "⏳ Building 📂$dirName by using Imakefile..." + "⏳ Building '$dirName' by using Imakefile..." Set-Location "$path/" - & xmkmf if ($lastExitCode -ne 0) { throw "Executing 'xmkmf' failed with exit code $lastExitCode" } + "⏳ Executing 'make -j4' to compile and link..." & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/Makefile" -pathType leaf) { - "⏳ Building 📂$dirName by using Makefile..." - Set-Location "$path" + "⏳ Building '$dirName' by using Makefile..." + Set-Location "$path" & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/makefile" -pathType leaf) { - "⏳ Building 📂$dirName by using makefile..." + "⏳ Building '$dirName' by using makefile..." Set-Location "$path" & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/compile.sh" -pathType leaf) { - "⏳ Building 📂$dirName by executing 'compile.sh'..." - Set-Location "$path/" + "⏳ Building '$dirName' by executing 'compile.sh'..." + Set-Location "$path/" & ./compile.sh if ($lastExitCode -ne 0) { throw "Executing './compile.sh' failed with exit code $lastExitCode" } + "⏳ Executing 'make -j4' to compile and link..." & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/attower/src/build/DevBuild/build.bat" -pathType leaf) { - Write-Host "⏳ Building 📂$dirName by executing 'build.bat'..." + Write-Host "⏳ Building '$dirName' by executing 'build.bat'..." Set-Location "$path/attower/src/build/DevBuild/" & ./build.bat build-core-release if ($lastExitCode -ne 0) { throw "Executing 'build.bat' failed with exit code $lastExitCode" } $global:results = "$path\attower\Executables" } elseif (Test-Path "$path/$dirName" -pathType container) { - "⏳ No make rule found, trying subfolder 📂$($dirName)..." + "⏳ No make rule found, trying subfolder '$($dirName)'..." BuildFolder "$path/$dirName" } else { Write-Warning "Sorry, no make rule applies to: 📂$dirName" @@ -155,7 +158,7 @@ try { if ($global:results -eq "") { "✅ Build of 📂$repoDirName succeeded in $($elapsed)s." } else { - "✅ Build of 📂$repoDirName succeeded in $($elapsed)s, results at: 📂$($global:results)" + "✅ Build of 📂$repoDirName succeeded in $($elapsed)s, results in: 📂$($global:results)" } exit 0 # success } catch { From f34760ad651e95cb2337761e3f90eb5dea14b916 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 25 Jun 2025 08:12:04 +0200 Subject: [PATCH 347/737] Updated pull-repo.ps1 --- scripts/pull-repo.ps1 | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/pull-repo.ps1 b/scripts/pull-repo.ps1 index c5dba1636..b95523095 100755 --- a/scripts/pull-repo.ps1 +++ b/scripts/pull-repo.ps1 @@ -3,7 +3,7 @@ Pulls updates into a Git repo .DESCRIPTION This PowerShell script pulls remote updates into a local Git repository (including submodules). -.PARAMETER pathToRepo +.PARAMETER path Specifies the file path to the local Git repository (default is working directory) .EXAMPLE PS> ./pull-repo.ps1 @@ -11,14 +11,14 @@ ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Pulling remote updates... ⏳ (4/4) Updating submodules... - ✅ Updates pulled into 📂rust repo in 14s. + ✅ Repo 'rust' updated in 14s. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$pathToRepo = "$PWD") +param([string]$path = "$PWD") try { $stopWatch = [system.diagnostics.stopwatch]::startNew() @@ -27,27 +27,27 @@ try { & git --version if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } - Write-Host "⏳ (2/4) Checking local repository... $pathToRepo" - if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access folder: $pathToRepo" } - $result = (git -C "$pathToRepo" status) + Write-Host "⏳ (2/4) Checking local repository... $path" + if (-not(Test-Path "$path" -pathType container)) { throw "Can't access folder: $path" } + $result = (git -C "$path" status) if ("$result" -match "HEAD detached at ") { throw "Nothing to pull due to detached HEAD state (not on a branch!)" } - $pathToRepoName = (Get-Item "$pathToRepo").Name + $dirName = (Get-Item "$path").Name Write-Host "⏳ (3/4) Pulling remote updates... " -noNewline - & git -C "$pathToRepo" remote get-url origin + & git -C "$path" remote get-url origin if ($lastExitCode -ne 0) { throw "'git remote get-url origin' failed with exit code $lastExitCode" } - & git -C "$pathToRepo" pull --recurse-submodules=yes + & git -C "$path" pull --recurse-submodules=yes if ($lastExitCode -ne 0) { throw "'git pull' failed with exit code $lastExitCode" } Write-Host "⏳ (4/4) Updating submodules... " - & git -C "$pathToRepo" submodule update --init --recursive + & git -C "$path" submodule update --init --recursive if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Updates pulled into 📂$pathToRepoName repo in $($elapsed)s." + "✅ Repo '$dirName' updated in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" exit 1 } From f823dffeba32cea8f16e5b6a413dff1f272c8510 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 25 Jun 2025 08:18:10 +0200 Subject: [PATCH 348/737] Updated some scripts --- scripts/build-repo.ps1 | 8 ++++---- scripts/check-repo.ps1 | 2 +- scripts/fetch-repo.ps1 | 2 +- scripts/switch-branch.ps1 | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index 9ce990e9b..53e2cff5d 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -153,16 +153,16 @@ try { BuildFolder "$path" Set-Location "$previousPath" - $repoDirName = (Get-Item "$path").Name + $dirName = (Get-Item "$path").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($global:results -eq "") { - "✅ Build of 📂$repoDirName succeeded in $($elapsed)s." + "✅ Build of '$dirName' succeeded in $($elapsed)s." } else { - "✅ Build of 📂$repoDirName succeeded in $($elapsed)s, results in: 📂$($global:results)" + "✅ Build of '$dirName' succeeded in $($elapsed)s, results in: 📂$($global:results)" } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" Set-Location "$previousPath" exit 1 } diff --git a/scripts/check-repo.ps1 b/scripts/check-repo.ps1 index 89b6364ee..97b5b2de4 100755 --- a/scripts/check-repo.ps1 +++ b/scripts/check-repo.ps1 @@ -74,6 +74,6 @@ try { "✅ Checked 📂$repoDirName repo in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" exit 1 } diff --git a/scripts/fetch-repo.ps1 b/scripts/fetch-repo.ps1 index 91950eada..208e134ca 100755 --- a/scripts/fetch-repo.ps1 +++ b/scripts/fetch-repo.ps1 @@ -38,6 +38,6 @@ try { "✅ Updates fetched into 📂$repoDirName repo in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" exit 1 } diff --git a/scripts/switch-branch.ps1 b/scripts/switch-branch.ps1 index c83a92b4b..894eefb1d 100755 --- a/scripts/switch-branch.ps1 +++ b/scripts/switch-branch.ps1 @@ -63,6 +63,6 @@ try { "✅ Switched repo '$repoDirName' to '$branchName' branch in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" exit 1 } From d29697c7a150388402b6cbd735838ffd83313e53 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 25 Jun 2025 13:21:49 +0200 Subject: [PATCH 349/737] Updated new-branch.ps1 --- scripts/new-branch.ps1 | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/scripts/new-branch.ps1 b/scripts/new-branch.ps1 index 1632ee511..55a114d1c 100755 --- a/scripts/new-branch.ps1 +++ b/scripts/new-branch.ps1 @@ -5,24 +5,24 @@ This PowerShell script creates a new branch in a local Git repository and switches to it. .PARAMETER newBranch Specifies the new Git branch name -.PARAMETER pathToRepo - Specifies the file path to the local Git repository (current working directory per default) +.PARAMETER path + Specifies the file path to the local Git repository (current working directory by default) .EXAMPLE - PS> ./new-branch.ps1 test123 + PS> ./new-branch.ps1 feature123 ⏳ (1/6) Searching for Git executable... git version 2.45.0 ⏳ (2/6) Checking local repository... C:\Repos\rust ⏳ (3/6) Fetching remote updates... git@github.org:rust/rust.git ⏳ (4/6) Creating new branch... ⏳ (5/6) Pushing updates... ⏳ (6/6) Updating submodules... - ✅ Created branch 'test123' based on 'main' in 📂rust repo in 18s. + ✅ Repo 'rust' now on new 'feature123' branch (based on 'main', took 18s). .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$newBranch = "", [string]$pathToRepo = "$PWD") +param([string]$newBranch = "", [string]$path = "$PWD") try { if ($newBranch -eq "") { $newBranch = Read-Host "Enter the new Git branch name" } @@ -33,38 +33,38 @@ try { & git --version if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } - Write-Host "⏳ (2/6) Checking local repository... $pathToRepo" - if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access repo folder: $pathToRepo" } - $result = (git -C "$pathToRepo" status) - if ($lastExitCode -ne 0) { throw "'git status' in $pathToRepo failed with exit code $lastExitCode" } - $repoName = (Get-Item "$pathToRepo").Name + Write-Host "⏳ (2/6) Checking local repository... $path" + if (-not(Test-Path "$path" -pathType container)) { throw "Can't access repo folder: $path" } + $result = (git -C "$path" status) + if ($lastExitCode -ne 0) { throw "'git status' in $path failed with exit code $lastExitCode" } + $repoName = (Get-Item "$path").Name Write-Host "⏳ (3/6) Fetching remote updates... " -noNewline - & git -C "$pathToRepo" remote get-url origin + & git -C "$path" remote get-url origin if ($lastExitCode -ne 0) { throw "'git remote get-url origin' failed with exit code $lastExitCode" } - & git -C "$pathToRepo" fetch --all --recurse-submodules --prune --prune-tags --force + & git -C "$path" fetch --all --recurse-submodules --prune --prune-tags --force if ($lastExitCode -ne 0) { throw "'git fetch' failed with exit code $lastExitCode" } - $currentBranch = (git -C "$pathToRepo" rev-parse --abbrev-ref HEAD) + $currentBranch = (git -C "$path" rev-parse --abbrev-ref HEAD) if ($lastExitCode -ne 0) { throw "'git rev-parse' failed with exit code $lastExitCode" } "⏳ (4/6) Creating new branch..." - & git -C "$pathToRepo" checkout -b "$newBranch" + & git -C "$path" checkout -b "$newBranch" if ($lastExitCode -ne 0) { throw "'git checkout -b $newBranch' failed with exit code $lastExitCode" } "⏳ (5/6) Pushing updates..." - & git -C "$pathToRepo" push origin "$newBranch" + & git -C "$path" push origin "$newBranch" if ($lastExitCode -ne 0) { throw "'git push origin $newBranch' failed with exit code $lastExitCode" } "⏳ (6/6) Updating submodules..." - & git -C "$pathToRepo" submodule update --init --recursive + & git -C "$path" submodule update --init --recursive if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Created branch '$newBranch' based on '$currentBranch' in 📂$repoName repo in $($elapsed)s." + "✅ Repo '$repoName' now on new '$newBranch' branch (based on '$currentBranch', took $($elapsed)s)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" exit 1 } From 58a6d84015800ef31eba431d1354f235ebbf8272 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 25 Jun 2025 14:41:06 +0200 Subject: [PATCH 350/737] Added install-edit.ps1 --- scripts/install-edit.ps1 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 scripts/install-edit.ps1 diff --git a/scripts/install-edit.ps1 b/scripts/install-edit.ps1 new file mode 100644 index 000000000..2b4a7922b --- /dev/null +++ b/scripts/install-edit.ps1 @@ -0,0 +1,29 @@ +<# +.SYNOPSIS + Installs Edit +.DESCRIPTION + This PowerShell script installs Microsoft Edit. +.EXAMPLE + PS> ./install-edit.ps1 + ⏳ Installing Microsoft Edit from Microsoft Store... + ✅ Microsoft Edit installed successfully in 25s. +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + "⏳ Installing Microsoft Edit from Microsoft Store..." + $stopWatch = [system.diagnostics.stopwatch]::startNew() + + & winget install --id Microsoft.Edit --accept-package-agreements --accept-source-agreements + if ($lastExitCode -ne 0) { throw "Can't install Microsoft Edit, is it already installed?" } + + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Microsoft Edit installed successfully in $($elapsed)s." + exit 0 # success +} catch { + "⚠️ ERROR: $($Error[0])" + exit 1 +} From 5ea38da16e99ba20159c0a09917e0e5a21f8ebaf Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 25 Jun 2025 14:56:55 +0200 Subject: [PATCH 351/737] Add edit.exe to edit.ps1 --- scripts/edit.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/edit.ps1 b/scripts/edit.ps1 index f9ba55496..baa3cf456 100755 --- a/scripts/edit.ps1 +++ b/scripts/edit.ps1 @@ -37,6 +37,7 @@ TryEditor "hx" $path TryEditor "emacs" $path TryEditor "Code" $path TryEditor "notepad.exe" $path +TryEditor "edit.exe" $path TryEditor "wordpad.exe" $path Write-Host "" From 74ff3721ea4e04212dc419b7b80b3ba0e348171d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 25 Jun 2025 16:27:53 +0200 Subject: [PATCH 352/737] Updated install-edit.ps1 --- scripts/install-edit.ps1 | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/install-edit.ps1 b/scripts/install-edit.ps1 index 2b4a7922b..bafe378f7 100644 --- a/scripts/install-edit.ps1 +++ b/scripts/install-edit.ps1 @@ -14,12 +14,17 @@ #> try { - "⏳ Installing Microsoft Edit from Microsoft Store..." $stopWatch = [system.diagnostics.stopwatch]::startNew() - & winget install --id Microsoft.Edit --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne 0) { throw "Can't install Microsoft Edit, is it already installed?" } - + if ($IsLinux) { + "⏳ Installing Microsoft Edit from Snap Store..." + & sudo snap install msedit + if ($lastExitCode -ne 0) { throw "Can't install Microsoft Edit, is it already installed?" } + } else { + "⏳ Installing Microsoft Edit from Microsoft Store..." + & winget install --id Microsoft.Edit --accept-package-agreements --accept-source-agreements + if ($lastExitCode -ne 0) { throw "Can't install Microsoft Edit, is it already installed?" } + } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Microsoft Edit installed successfully in $($elapsed)s." exit 0 # success From f1262b1b96196c58076e55496a740b8eadeb3053 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 25 Jun 2025 16:31:27 +0200 Subject: [PATCH 353/737] Added msedit to list-cli-tools.ps1 --- scripts/list-cli-tools.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index 6649c2e3e..9bbdc8591 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -237,6 +237,7 @@ function List-CLI-Tools { ListTool mktemp "--version" ListTool mount "--version" ListTool MpCmdRun "-h" + ListTool msedit "--version" ListTool nano "--version" ListTool netsh "" ListTool netstat "" From a83c01b58aab72f5ec372556577fd0012c8aca8b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 30 Jun 2025 13:00:25 +0200 Subject: [PATCH 354/737] Updated clean-repo.ps1 and kill-process.ps1 --- scripts/clean-repo.ps1 | 5 ++++- scripts/kill-process.ps1 | 33 ++++++++++++--------------------- 2 files changed, 16 insertions(+), 22 deletions(-) diff --git a/scripts/clean-repo.ps1 b/scripts/clean-repo.ps1 index cab26655e..d80449029 100755 --- a/scripts/clean-repo.ps1 +++ b/scripts/clean-repo.ps1 @@ -22,6 +22,8 @@ param([string]$path = "$PWD") try { + $stopWatch = [system.diagnostics.stopwatch]::startNew() + Write-Host "⏳ (1/4) Searching for Git executable... " -noNewline & git --version if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } @@ -42,7 +44,8 @@ try { & git -C "$path" submodule foreach --recursive git clean -xfd -f # to delete all untracked files in the submodules if ($lastExitCode -ne 0) { throw "'git clean' in the submodules failed with exit code $lastExitCode" } - "✅ Repo '$repoName' is clean now." + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Repo '$repoName' cleaned in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/kill-process.ps1 b/scripts/kill-process.ps1 index a44334e59..e4ddc2bf6 100755 --- a/scripts/kill-process.ps1 +++ b/scripts/kill-process.ps1 @@ -1,35 +1,26 @@ <# .SYNOPSIS - Kills all local processes matching the given name + Kills local processes .DESCRIPTION - ← enter a detailed description of the script here -.PARAMETER - ← enter the description of a parameter here (repeat the .PARAMETER for each parameter) + This PowerShell script stops all local processes matching the given name +.PARAMETER processName + Specifies the process name (ask user by default) .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 + PS> ./kill-process.ps1 .LINK - ← enter URL to additional information here + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> -[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 -} - +param([string]$processName = "") try { - KillProcesses -ProcessName $processName + if ($processName -eq "") { $processName = Read-Host "Enter the process name" } + Get-Process | Where-Object -FilterScript {$_.processname -eq $processName} | Select-Object id | Stop-Process "✔️ Done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } From e2ff35a5407fe8b93a6b3738f9d1164785fd4fb6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 30 Jun 2025 13:23:08 +0200 Subject: [PATCH 355/737] Updated kill-process.ps1 --- scripts/kill-process.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kill-process.ps1 b/scripts/kill-process.ps1 index e4ddc2bf6..280eb376f 100755 --- a/scripts/kill-process.ps1 +++ b/scripts/kill-process.ps1 @@ -18,7 +18,7 @@ param([string]$processName = "") try { if ($processName -eq "") { $processName = Read-Host "Enter the process name" } Get-Process | Where-Object -FilterScript {$_.processname -eq $processName} | Select-Object id | Stop-Process - "✔️ Done." + "✔️ Stopped all processes matching '$processName'." exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" From 026b76ead4236c8bb006378b846626a0172bb5ce Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 1 Jul 2025 15:38:33 +0200 Subject: [PATCH 356/737] Update FAQ.md --- docs/FAQ.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/FAQ.md b/docs/FAQ.md index cbbebefca..badcb4e4e 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -51,6 +51,14 @@ **NOTE:** the group policy object (GPO) settings of your organization might disallow changes. In that case contact your system administrator for help.
+
Which PowerShell version should be used? + +* **Out-dated** is Windows PowerShell up to version 2.0 (will be removed in newer Windows releases). +* Windows 10 and 11 are using PowerShell 5.1 +* **Latest** version is PowerShell 7.5.2 (as of July 2025). +
+ +
How to get the 500+ PowerShell sample scripts? 1. **When using Git, execute in a terminal window:** `git clone https://github.com/fleschutz/PowerShell` From a0e32f27b0bfb7008be0f5bb62b5da3226feb0af Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 1 Jul 2025 15:44:45 +0200 Subject: [PATCH 357/737] Update FAQ.md --- docs/FAQ.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index badcb4e4e..f33b18e3f 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -53,9 +53,9 @@
Which PowerShell version should be used? -* **Out-dated** is Windows PowerShell up to version 2.0 (will be removed in newer Windows releases). -* Windows 10 and 11 are using PowerShell 5.1 -* **Latest** version is PowerShell 7.5.2 (as of July 2025). +* **Windows PowerShell 2.0** (or lower) is out-dated and will be removed in newer Windows releases. +* **PowerShell 5.1** is preinstalled on every Windows 10 or 11. +* **PowerShell 7.5.2** is the latest version (as of July 2025, needs to be installed manually).
From cb0872ae9a8234a50562768c2cf29888ad2c99a7 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 1 Jul 2025 15:53:43 +0200 Subject: [PATCH 358/737] Update FAQ.md --- docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index f33b18e3f..cc108d067 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -44,7 +44,7 @@
How to install PowerShell on Windows? -**It's already preinstalled, but** the script execution policy is *restricted* (forbidden) by default! **Open the *Windows PowerShell (Admin)* console and enter:** +**Good news:** It's already preinstalled, but the script execution policy is *restricted* (=forbidden) by default! Therefore, **open *Windows PowerShell (Admin)* console** and enter: ``` > Set-ExecutionPolicy RemoteSigned -Scope CurrentUser ``` From d28e293372b49bf5cc91915363af18a230b06674 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 1 Jul 2025 15:59:56 +0200 Subject: [PATCH 359/737] Update FAQ.md --- docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index cc108d067..eef1cd007 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -44,7 +44,7 @@
How to install PowerShell on Windows? -**Good news:** It's already preinstalled, but the script execution policy is *restricted* (=forbidden) by default! Therefore, **open *Windows PowerShell (Admin)* console** and enter: +**Good news:** It's already preinstalled, but not yet enabled (script execution policy is *restricted*). Therefore, **open *Windows PowerShell (Admin)* console** and enter: ``` > Set-ExecutionPolicy RemoteSigned -Scope CurrentUser ``` From ba93698edfe5e93499b3ad0d358e452387b3291e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 1 Jul 2025 16:08:40 +0200 Subject: [PATCH 360/737] Update FAQ.md --- docs/FAQ.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index eef1cd007..3346684d2 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -55,7 +55,8 @@ * **Windows PowerShell 2.0** (or lower) is out-dated and will be removed in newer Windows releases. * **PowerShell 5.1** is preinstalled on every Windows 10 or 11. -* **PowerShell 7.5.2** is the latest version (as of July 2025, needs to be installed manually). +* **PowerShell 7.5.2** is the very latest (as of July 2025), but needs to be installed manually. +* **Version history** is at: https://github.com/PowerShell/PowerShell/releases
From b85e98b27376c128b22f54c15ee6a251d4bcb83e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 1 Jul 2025 16:11:52 +0200 Subject: [PATCH 361/737] Update FAQ.md --- docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 3346684d2..91943c94a 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -44,7 +44,7 @@
How to install PowerShell on Windows? -**Good news:** It's already preinstalled, but not yet enabled (script execution policy is *restricted*). Therefore, **open *Windows PowerShell (Admin)* console** and enter: +**Good news:** It's preinstalled, but not enabled yet (script execution policy is *restricted*). Therefore, **open *Windows PowerShell (Admin)* console** and enter: ``` > Set-ExecutionPolicy RemoteSigned -Scope CurrentUser ``` From 705f81066e09ee0890177af2056854161a4bb5c2 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 1 Jul 2025 16:19:45 +0200 Subject: [PATCH 362/737] Update FAQ.md --- docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 91943c94a..24a3924c8 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -54,7 +54,7 @@
Which PowerShell version should be used? * **Windows PowerShell 2.0** (or lower) is out-dated and will be removed in newer Windows releases. -* **PowerShell 5.1** is preinstalled on every Windows 10 or 11. +* **PowerShell 5.1** is preinstalled on Windows 10 or 11. * **PowerShell 7.5.2** is the very latest (as of July 2025), but needs to be installed manually. * **Version history** is at: https://github.com/PowerShell/PowerShell/releases
From e102dc28c05b3c679d90be1953f9a0ea8b2bc367 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 1 Jul 2025 16:42:04 +0200 Subject: [PATCH 363/737] Update FAQ.md --- docs/FAQ.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 24a3924c8..455faec3e 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -53,10 +53,11 @@
Which PowerShell version should be used? -* **Windows PowerShell 2.0** (or lower) is out-dated and will be removed in newer Windows releases. +* **PowerShell 2.0** (or lower) is out-dated and will be removed in newer Windows releases. * **PowerShell 5.1** is preinstalled on Windows 10 or 11. * **PowerShell 7.5.2** is the very latest (as of July 2025), but needs to be installed manually. * **Version history** is at: https://github.com/PowerShell/PowerShell/releases +* **NOTE:** scripts should specify the required version, e.g.: `#Requires -Version 5`. This also helps to identify out-dated scripts.
From 1f67fe871f6677a1b3b25aef83c761242d10e4b5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 1 Jul 2025 16:50:28 +0200 Subject: [PATCH 364/737] Update FAQ.md --- docs/FAQ.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 455faec3e..f934481a1 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -56,8 +56,8 @@ * **PowerShell 2.0** (or lower) is out-dated and will be removed in newer Windows releases. * **PowerShell 5.1** is preinstalled on Windows 10 or 11. * **PowerShell 7.5.2** is the very latest (as of July 2025), but needs to be installed manually. -* **Version history** is at: https://github.com/PowerShell/PowerShell/releases -* **NOTE:** scripts should specify the required version, e.g.: `#Requires -Version 5`. This also helps to identify out-dated scripts. +* **Version history** can be found at: https://github.com/PowerShell/PowerShell/releases +* **Scripts** should specify the required version, e.g.: `#Requires -Version 5`. This also helps to identify out-dated scripts.
From 7530424b6c79f5234d55d79797c6d586af1e28a0 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 2 Jul 2025 08:33:23 +0200 Subject: [PATCH 365/737] Updated new-branch.ps1 --- scripts/new-branch.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/new-branch.ps1 b/scripts/new-branch.ps1 index 55a114d1c..0d2ffd494 100755 --- a/scripts/new-branch.ps1 +++ b/scripts/new-branch.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION This PowerShell script creates a new branch in a local Git repository and switches to it. .PARAMETER newBranch - Specifies the new Git branch name + Specifies the new branch name .PARAMETER path Specifies the file path to the local Git repository (current working directory by default) .EXAMPLE @@ -15,7 +15,7 @@ ⏳ (4/6) Creating new branch... ⏳ (5/6) Pushing updates... ⏳ (6/6) Updating submodules... - ✅ Repo 'rust' now on new 'feature123' branch (based on 'main', took 18s). + ✅ Repo 'rust' on new branch 'feature123' (based on 'main', took 18s). .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -62,7 +62,7 @@ try { if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Repo '$repoName' now on new '$newBranch' branch (based on '$currentBranch', took $($elapsed)s)." + "✅ Repo '$repoName' on new branch '$newBranch' (based on '$currentBranch', took $($elapsed)s)." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" From 2cf851632392f6f0eae8dafa1b19ab22ac262b2c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 3 Jul 2025 11:25:03 +0200 Subject: [PATCH 366/737] Updated switch-branch.ps1 --- scripts/switch-branch.ps1 | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/scripts/switch-branch.ps1 b/scripts/switch-branch.ps1 index 894eefb1d..627abb5d3 100755 --- a/scripts/switch-branch.ps1 +++ b/scripts/switch-branch.ps1 @@ -5,7 +5,7 @@ This PowerShell script switches to the given branch in a Git repository and also updates the submodules. .PARAMETER branchName Specifies the Git branch name to switch to -.PARAMETER pathToRepo +.PARAMETER path Specifies the file path to the local Git repository .EXAMPLE PS> ./switch-branch main @@ -15,14 +15,14 @@ ⏳ (4/6) Switching to branch 'main'... ⏳ (5/6) Pulling remote updates... ⏳ (6/6) Updating submodules... - ✅ Switched repo 'rust' to 'main' branch in 22s. + ✅ Repo 'rust' switched to 'main' branch in 22s. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$branchName = "", [string]$pathToRepo = "$PWD") +param([string]$branchName = "", [string]$path = "$PWD") try { if ($branchName -eq "") { $branchName = Read-Host "Enter the branch name to switch to" } @@ -33,34 +33,34 @@ try { & git --version if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } - Write-Host "⏳ (2/6) Checking local repository... $pathToRepo" - if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access repo folder: $pathToRepo" } - $result = (git -C "$pathToRepo" status) - if ($lastExitCode -ne 0) { throw "'git status' in $pathToRepo failed with exit code $lastExitCode" } + Write-Host "⏳ (2/6) Checking local repository... $path" + if (-not(Test-Path "$path" -pathType container)) { throw "Can't access repo folder: $path" } + $result = (git -C "$path" status) + if ($lastExitCode -ne 0) { throw "'git status' in $path failed with exit code $lastExitCode" } if ("$result" -notmatch "nothing to commit, working tree clean") { throw "Git repository is NOT clean: $result" } - $repoDirName = (Get-Item "$pathToRepo").Name + $repoDirName = (Get-Item "$path").Name Write-Host "⏳ (3/6) Fetching remote updates... " -noNewline - & git -C "$pathToRepo" remote get-url origin + & git -C "$path" remote get-url origin if ($lastExitCode -ne 0) { throw "'git remote get-url origin' failed with exit code $lastExitCode" } - & git -C "$pathToRepo" fetch --all --prune --prune-tags --force + & git -C "$path" fetch --all --prune --prune-tags --force if ($lastExitCode -ne 0) { throw "'git fetch' failed with exit code $lastExitCode" } "⏳ (4/6) Switching to branch '$branchName'..." - & git -C "$pathToRepo" checkout --recurse-submodules "$branchName" + & git -C "$path" checkout --recurse-submodules "$branchName" if ($lastExitCode -ne 0) { throw "'git checkout $branchName' failed with exit code $lastExitCode" } "⏳ (5/6) Pulling remote updates..." - & git -C "$pathToRepo" pull --recurse-submodules + & git -C "$path" pull --recurse-submodules if ($lastExitCode -ne 0) { throw "'git pull' failed with exit code $lastExitCode" } "⏳ (6/6) Updating submodules..." - & git -C "$pathToRepo" submodule update --init --recursive + & git -C "$path" submodule update --init --recursive if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Switched repo '$repoDirName' to '$branchName' branch in $($elapsed)s." + "✅ Repo '$repoDirName' switched to '$branchName' branch in $($elapsed)s." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" From e69f06b3ad153dd60d251b45156cf4689fc00c32 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 4 Jul 2025 08:26:25 +0200 Subject: [PATCH 367/737] Updated check-repos.ps1 --- scripts/check-repos.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/check-repos.ps1 b/scripts/check-repos.ps1 index 4a8169bf2..5bdd1ed3a 100755 --- a/scripts/check-repos.ps1 +++ b/scripts/check-repos.ps1 @@ -8,9 +8,9 @@ .EXAMPLE PS> ./check-repos.ps1 C:\Repos ⏳ Checking parent folder 📂C:\Repos... 16 subfolders - ⏳ Checking 📂rust repository (1/16)... + ⏳ Checking repo 'rust' (1/16)... ... - ✅ Checked all 16 Git repos in 📂C:\Repos in 356s. + ✅ 16 Git repos checked at 📂C:\Repos in 356s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -31,13 +31,13 @@ try { [int]$step = 1 foreach ($folder in $folders) { - "`n⏳ Checking 📂$folder repository ($step/$numFolders)..." + "`n⏳ Checking repo '$folder' ($step/$numFolders)..." & "$PSScriptRoot/check-repo.ps1" "$folder" $step++ } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Checked all $numFolders Git repos in 📂$parentDir in $($elapsed)s." + "✅ $numFolders Git repos checked at 📂$parentDir in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" From 8a4eb1b42bc92fd4f84cdf3f290866dad9f33a97 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 4 Jul 2025 10:05:56 +0200 Subject: [PATCH 368/737] Updated check-repo.ps1 --- scripts/check-repo.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/check-repo.ps1 b/scripts/check-repo.ps1 index 97b5b2de4..ba635c267 100755 --- a/scripts/check-repo.ps1 +++ b/scripts/check-repo.ps1 @@ -1,9 +1,9 @@ <# .SYNOPSIS - Checks a Git repository + Checks a Git repo .DESCRIPTION This PowerShell script verifies the integrity of a local Git repository and performs maintenance tasks. -.PARAMETER pathToRepo +.PARAMETER path Specifies the file path to the local Git repository (current working directory by default) .EXAMPLE PS> ./check-repo.ps1 C:\MyRepo @@ -21,7 +21,7 @@ Author: Markus Fleschutz | License: CC0 #> -param([string]$pathToRepo = "$PWD") +param([string]$path = "$PWD") try { $stopWatch = [system.diagnostics.stopwatch]::startNew() @@ -31,7 +31,7 @@ try { if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2/10) Checking local repository... " -noNewline - $FullPath = Resolve-Path "$pathToRepo" + $FullPath = Resolve-Path "$path" if (!(Test-Path "$FullPath" -pathType Container)) { throw "Can't access folder: $FullPath" } "$FullPath" @@ -71,7 +71,7 @@ try { $repoDirName = (Get-Item "$FullPath").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Checked 📂$repoDirName repo in $($elapsed)s." + "✅ Repo '$repoDirName' has been checked in $($elapsed)s." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" From 8025089b08441e1205347fbda99b4122cb340f89 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 8 Jul 2025 06:56:00 +0200 Subject: [PATCH 369/737] Updated open-dashboards.ps1 --- scripts/open-dashboards.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/open-dashboards.ps1 b/scripts/open-dashboards.ps1 index 5f9683b31..504536e0e 100755 --- a/scripts/open-dashboards.ps1 +++ b/scripts/open-dashboards.ps1 @@ -7,9 +7,8 @@ Specifies the time interval between each tab (110ms per default) .EXAMPLE PS> ./open-dashboards.ps1 - ✅ Launching Web browser with 24 tabs: Toggl Track•Google Calendar•Google Mail, ... + ⏳ Launching Web browser with 24 tabs: Toggl Track•Google Calendar•Google Mail, ... NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically. - ... .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -21,9 +20,10 @@ param([int]$timeInterval = 120) # milliseconds try { Write-Progress "Reading Data/popular-dashboards.csv..." $table = Import-CSV "$PSScriptRoot/../data/popular-dashboards.csv" + $numRows = $table.Count Write-Progress -completed "Done." - Write-Host "✅ Launching Web browser with $($table.Count) tabs: " -noNewline + Write-Host "⏳ Launching Web browser with $numRows tabs: " -noNewline foreach($row in $table) { Write-Host "$($row.NAME)•" -noNewline & "$PSScriptRoot/open-default-browser.ps1" "$($row.URL)" From da9a7b13ec8c4b307b3c20ed821b9de146ba04c2 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 8 Jul 2025 15:52:38 +0200 Subject: [PATCH 370/737] Updated cd-windows.ps1 --- scripts/cd-windows.ps1 | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/scripts/cd-windows.ps1 b/scripts/cd-windows.ps1 index 276a7f0cd..e93c4c64f 100755 --- a/scripts/cd-windows.ps1 +++ b/scripts/cd-windows.ps1 @@ -1,11 +1,11 @@ <# .SYNOPSIS - Sets the working directory to the Windows directory + Sets the working dir to the Windows directory .DESCRIPTION - This PowerShell script changes the working directory to the Windows directory. + This PowerShell script sets the current working directory to the Windows directory. .EXAMPLE - PS> ./cd-windows - 📂C:\Windows entered (has 7 files and 42 folders) + PS> ./cd-windows.ps1 + 📂C:\Windows with 7 files and 42 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -13,16 +13,17 @@ #> try { + if ($IsLinux -or $IsMacOS) { throw "This script requires a Windows operating system" } + $path = Resolve-Path "$env:WINDIR" - if (-not(Test-Path "$path" -pathType container)) { - throw "No Windows directory at $path" - } + if (-not(Test-Path "$path" -pathType container)) { throw "No Windows 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) folders)" + "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } From e3f3c0b3996abe4dd6ecc40fe39c415c7c61d83e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 8 Jul 2025 15:58:38 +0200 Subject: [PATCH 371/737] Updated cd-temp.ps1 --- scripts/cd-temp.ps1 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/cd-temp.ps1 b/scripts/cd-temp.ps1 index b518c4e9d..66f3fb76a 100755 --- a/scripts/cd-temp.ps1 +++ b/scripts/cd-temp.ps1 @@ -2,10 +2,10 @@ .SYNOPSIS Sets the working directory to the temporary folder .DESCRIPTION - This PowerShell script changes the working directory to the temporary folder. + This PowerShell script changes the current working directory to the temporary folder. .EXAMPLE - PS> ./cd-temp - 📂C:\Users\Markus\AppData\Local\Temp (has 2 files and 3 subfolders) + PS> ./cd-temp.ps1 + 📂C:\Users\Markus\AppData\Local\Temp with 2 files and 3 subfolders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -15,21 +15,21 @@ function GetTempDir { if ("$env:TEMP" -ne "") { return "$env:TEMP" } if ("$env:TMP" -ne "") { return "$env:TMP" } - if ($IsLinux) { return "/tmp" } + if ($IsLinux -or $IsMacOS) { return "/tmp" } return "C:\Temp" } try { $path = GetTempDir if (-not(Test-Path "$path" -pathType container)) { throw - "No temporary folder at $path" + "No temporary 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) subfolders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } From af7642be7f271814681e65c74befa5b543e58fd7 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 8 Jul 2025 16:00:45 +0200 Subject: [PATCH 372/737] Updated cd-etc.ps1 --- scripts/cd-etc.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/cd-etc.ps1 b/scripts/cd-etc.ps1 index 1b5a7912d..0135d36b9 100755 --- a/scripts/cd-etc.ps1 +++ b/scripts/cd-etc.ps1 @@ -2,10 +2,10 @@ .SYNOPSIS Changes to the /etc directory .DESCRIPTION - This PowerShell script changes the working directory to the /etc directory. + This PowerShell script changes the current working directory to the /etc directory. .EXAMPLE - PS> ./cd-etc - 📂C:\Windows\System32\drivers\etc (has 5 files and 0 folders) + PS> ./cd-etc.ps1 + 📂C:\Windows\System32\drivers\etc with 5 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -24,9 +24,9 @@ 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])" + "⚠️ ERROR: $($Error[0])" exit 1 } From 5b8766d233782cb37a068ff61fca908888cb3ae1 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 8 Jul 2025 16:04:26 +0200 Subject: [PATCH 373/737] Updated cd-sync.ps1 --- scripts/cd-sync.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/cd-sync.ps1 b/scripts/cd-sync.ps1 index 66ef5686b..2f5b05120 100755 --- a/scripts/cd-sync.ps1 +++ b/scripts/cd-sync.ps1 @@ -2,10 +2,10 @@ .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. + This PowerShell script changes the current working directory to the user's Syncthing folder. .EXAMPLE PS> ./cd-sync.ps1 - 📂C:\Users\Markus\Sync entered (has 2 files and 0 folders) + 📂C:\Users\Markus\Sync with 2 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -14,15 +14,15 @@ try { if (-not(Test-Path "~/Sync" -pathType container)) { - throw "No 'Sync' folder in your home directory - is Syncthing installed?" + throw "Your home directory has no 'Sync' folder yet - Please install Syncthing." } $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)" + "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } From e49ee018f3b417a48fed99313393e145488aa6fb Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 8 Jul 2025 16:08:15 +0200 Subject: [PATCH 374/737] Updated cd-ssh.ps1 --- scripts/cd-ssh.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/cd-ssh.ps1 b/scripts/cd-ssh.ps1 index 3012dbab8..4d812885f 100755 --- a/scripts/cd-ssh.ps1 +++ b/scripts/cd-ssh.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Sets the working dir to the SSH folder .DESCRIPTION - This PowerShell script sets the current working directory to the user's secure shell (SSH) folder. + This PowerShell script changes the current working directory to the user's secure shell (SSH) folder. .EXAMPLE PS> ./cd-ssh.ps1 📂C:\Users\Markus\.ssh with 4 files entered. @@ -15,7 +15,7 @@ try { $path = "~/.ssh" if (-not(Test-Path "$path" -pathType container)) { - throw "No '.ssh' folder in your home directory yet - Is SSH installed?" + throw "Your home directory has no '.ssh' folder yet - Please install SSH." } $path = Resolve-Path "$path" Set-Location "$path" @@ -23,6 +23,6 @@ try { "📂$path with $($files.Count) files entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } From acc0cbc8fff73cd6304a6f8303fd56aa47cba5b2 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 8 Jul 2025 16:10:43 +0200 Subject: [PATCH 375/737] Updated cd-docs.ps1 --- scripts/cd-docs.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/cd-docs.ps1 b/scripts/cd-docs.ps1 index e821f4a53..32cb8572d 100755 --- a/scripts/cd-docs.ps1 +++ b/scripts/cd-docs.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Sets the working dir to the documents folder .DESCRIPTION - This PowerShell script sets the current working directory to the documents folder. + This PowerShell script changes the current working directory to the documents folder. .EXAMPLE PS> ./cd-docs.ps1 📂C:\Users\Markus\Documents with 3 files and 0 folders entered. @@ -15,7 +15,7 @@ try { if ($IsLinux -or $IsMacOS) { if (-not(Test-Path "~/Documents" -pathType container)) { - throw "No 'Documents' folder in your home directory yet" + throw "Your home directory has no 'Documents' folder yet" } $path = Resolve-Path "~/Documents" } else { @@ -30,6 +30,6 @@ try { "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } From d3e77308a81871cfb731740c2b0896cc317bc404 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 9 Jul 2025 11:06:19 +0200 Subject: [PATCH 376/737] Added the #requires statement --- scripts/cd-docs.ps1 | 2 ++ scripts/cd-downloads.ps1 | 2 ++ scripts/cd-fonts.ps1 | 2 ++ scripts/cd-home.ps1 | 2 ++ scripts/cd-repo.ps1 | 2 ++ scripts/cd-repos.ps1 | 2 ++ scripts/cd-trash.ps1 | 2 ++ scripts/cd-windows.ps1 | 2 ++ 8 files changed, 16 insertions(+) diff --git a/scripts/cd-docs.ps1 b/scripts/cd-docs.ps1 index 32cb8572d..0178c1819 100755 --- a/scripts/cd-docs.ps1 +++ b/scripts/cd-docs.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux -or $IsMacOS) { if (-not(Test-Path "~/Documents" -pathType container)) { diff --git a/scripts/cd-downloads.ps1 b/scripts/cd-downloads.ps1 index 7259c6a06..5c8ef6e61 100755 --- a/scripts/cd-downloads.ps1 +++ b/scripts/cd-downloads.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux -or $IsMacOS) { if (-not(Test-Path "~/Downloads" -pathType container)) { diff --git a/scripts/cd-fonts.ps1 b/scripts/cd-fonts.ps1 index b06f0e7ec..7d5c9d812 100755 --- a/scripts/cd-fonts.ps1 +++ b/scripts/cd-fonts.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = [Environment]::GetFolderPath('Fonts') if (-not(Test-Path "$path" -pathType container)) { diff --git a/scripts/cd-home.ps1 b/scripts/cd-home.ps1 index 0b5d6f229..7b2604ced 100755 --- a/scripts/cd-home.ps1 +++ b/scripts/cd-home.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if (-not(Test-Path "~" -pathType container)) { throw "No home directory at: $path" } $path = Resolve-Path "~" diff --git a/scripts/cd-repo.ps1 b/scripts/cd-repo.ps1 index 31cf7c548..117093e72 100755 --- a/scripts/cd-repo.ps1 +++ b/scripts/cd-repo.ps1 @@ -14,6 +14,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$folderName = "") try { diff --git a/scripts/cd-repos.ps1 b/scripts/cd-repos.ps1 index f82e27cab..c69af1d68 100755 --- a/scripts/cd-repos.ps1 +++ b/scripts/cd-repos.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if (Test-Path "~/Repos" -pathType container) { $path = "~/Repos" } elseif (Test-Path "~/repos" -pathType container) { $path = "~/repos" diff --git a/scripts/cd-trash.ps1 b/scripts/cd-trash.ps1 index faac93415..eef88a26b 100755 --- a/scripts/cd-trash.ps1 +++ b/scripts/cd-trash.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function GetCurrentUserSID { [CmdletBinding()] param() Add-Type -AssemblyName System.DirectoryServices.AccountManagement return ([System.DirectoryServices.AccountManagement.UserPrincipal]::Current).SID.Value diff --git a/scripts/cd-windows.ps1 b/scripts/cd-windows.ps1 index e93c4c64f..810388c0f 100755 --- a/scripts/cd-windows.ps1 +++ b/scripts/cd-windows.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux -or $IsMacOS) { throw "This script requires a Windows operating system" } From 51b541e0de7cfd0a4f2a1b1eec0699207ff61af6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 9 Jul 2025 14:19:53 +0200 Subject: [PATCH 377/737] Updated the cd-*.ps1 scripts --- scripts/cd-autostart.ps1 | 2 ++ scripts/cd-crashdumps.ps1 | 2 ++ scripts/cd-desktop.ps1 | 2 ++ scripts/cd-dropbox.ps1 | 2 ++ scripts/cd-etc.ps1 | 2 ++ scripts/cd-jenkins.ps1 | 4 +++- scripts/cd-logs.ps1 | 10 ++++++---- scripts/cd-music.ps1 | 4 +++- scripts/cd-nextcloud.ps1 | 10 ++++++---- scripts/cd-onedrive.ps1 | 4 +++- scripts/cd-pics.ps1 | 6 ++++-- scripts/cd-public.ps1 | 6 ++++-- scripts/cd-recent.ps1 | 17 +++++++++-------- scripts/cd-recycle-bin.ps1 | 6 ++++-- scripts/cd-repo.ps1 | 4 ++-- scripts/cd-repos.ps1 | 4 ++-- scripts/cd-root.ps1 | 4 +++- scripts/cd-screenshots.ps1 | 4 +++- scripts/cd-scripts.ps1 | 6 ++++-- scripts/cd-ssh.ps1 | 4 +++- scripts/cd-sync.ps1 | 4 +++- scripts/cd-temp.ps1 | 6 +++--- scripts/cd-templates.ps1 | 4 +++- scripts/cd-trash.ps1 | 6 +++--- scripts/cd-up.ps1 | 8 +++++--- scripts/cd-up2.ps1 | 10 ++++++---- scripts/cd-up3.ps1 | 10 ++++++---- scripts/cd-up4.ps1 | 10 ++++++---- scripts/cd-users.ps1 | 9 +++++---- scripts/cd-videos.ps1 | 10 ++++++---- 30 files changed, 115 insertions(+), 65 deletions(-) diff --git a/scripts/cd-autostart.ps1 b/scripts/cd-autostart.ps1 index 6f6cbd7ec..0517cfdc1 100755 --- a/scripts/cd-autostart.ps1 +++ b/scripts/cd-autostart.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = Resolve-Path "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" if (-not(Test-Path "$path" -pathType container)) { diff --git a/scripts/cd-crashdumps.ps1 b/scripts/cd-crashdumps.ps1 index 92babdc3b..ce90e2feb 100755 --- a/scripts/cd-crashdumps.ps1 +++ b/scripts/cd-crashdumps.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux) { throw "Sorry, Windows only" } diff --git a/scripts/cd-desktop.ps1 b/scripts/cd-desktop.ps1 index 563f38251..676fd7a80 100755 --- a/scripts/cd-desktop.ps1 +++ b/scripts/cd-desktop.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux -or $IsMacOS) { if (-not(Test-Path "~/Desktop" -pathType container)) { diff --git a/scripts/cd-dropbox.ps1 b/scripts/cd-dropbox.ps1 index 9ca3274ca..6a31203c3 100755 --- a/scripts/cd-dropbox.ps1 +++ b/scripts/cd-dropbox.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if (-not(Test-Path "~/Dropbox" -pathType container)) { throw "No 'Dropbox' folder in your home directory - is Dropbox installed?" diff --git a/scripts/cd-etc.ps1 b/scripts/cd-etc.ps1 index 0135d36b9..ee086c6df 100755 --- a/scripts/cd-etc.ps1 +++ b/scripts/cd-etc.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux -or $IsMacOS) { $path = "/etc" diff --git a/scripts/cd-jenkins.ps1 b/scripts/cd-jenkins.ps1 index 3514eb5c6..c9a05c749 100755 --- a/scripts/cd-jenkins.ps1 +++ b/scripts/cd-jenkins.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION This PowerShell script changes the working directory to the Jenkins home directory. .EXAMPLE - PS> ./cd-jenkins + PS> ./cd-jenkins.ps1 📂C:\Users\Markus\.jenkins entered (has 2 files and 21 folders) .LINK https://github.com/fleschutz/PowerShell @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if (Test-Path "~/.jenkins" -pathType container) { $path = "~/.jenkins" diff --git a/scripts/cd-logs.ps1 b/scripts/cd-logs.ps1 index 31a5e7023..33022e883 100755 --- a/scripts/cd-logs.ps1 +++ b/scripts/cd-logs.ps1 @@ -4,14 +4,16 @@ .DESCRIPTION This PowerShell script changes the current working directory to the logs directory. .EXAMPLE - PS> ./cd-logs - 📂/var/logs entered (has 3 files and 2 subfolders) + PS> ./cd-logs.ps1 + 📂/var/logs with 3 files and 2 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function GetLogsDir { if ($IsLinux -or $IsMacOS) { return "/var/logs" } $WinDir = [System.Environment]::GetFolderPath('Windows') @@ -23,9 +25,9 @@ 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 with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-music.ps1 b/scripts/cd-music.ps1 index 78d5592cf..5fbf410b3 100755 --- a/scripts/cd-music.ps1 +++ b/scripts/cd-music.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux) { if (-not(Test-Path "~/Music/" -pathType container)) { @@ -30,6 +32,6 @@ try { "📂$path with $($folders.Count) folders and $($files.Count) files entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-nextcloud.ps1 b/scripts/cd-nextcloud.ps1 index 1a78e2f2f..d46d21718 100755 --- a/scripts/cd-nextcloud.ps1 +++ b/scripts/cd-nextcloud.ps1 @@ -4,14 +4,16 @@ .DESCRIPTION This PowerShell script changes the working directory to the user's NextCloud folder. .EXAMPLE - PS> ./cd-nextcloud - 📂C:\Users\Markus\NextCloud entered (has 2 files and 0 folders) + PS> ./cd-nextcloud.ps1 + 📂C:\Users\Markus\NextCloud with 2 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if (-not(Test-Path "~/NextCloud" -pathType container)) { throw "No 'NextCloud' folder in your home directory - is NextCloud installed?" @@ -20,9 +22,9 @@ 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])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-onedrive.ps1 b/scripts/cd-onedrive.ps1 index eebdacb81..f0e231bc1 100755 --- a/scripts/cd-onedrive.ps1 +++ b/scripts/cd-onedrive.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if (-not(Test-Path "~/OneDrive" -pathType container)) { throw "No 'OneDrive' folder in your home directory - is OneDrive installed?" @@ -23,6 +25,6 @@ try { "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-pics.ps1 b/scripts/cd-pics.ps1 index ff98c6b01..3dcfecee6 100755 --- a/scripts/cd-pics.ps1 +++ b/scripts/cd-pics.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Sets the working dir to the user's pictures folder .DESCRIPTION - This PowerShell script sets the current working directory to the user's pictures folder. + This PowerShell script changes the current working directory to the user's pictures folder. .EXAMPLE PS> ./cd-pics.ps1 📂C:\Users\Markus\Pictures with 7 files and 0 folders entered. @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux) { if (-not(Test-Path "~/Pictures" -pathType container)) { @@ -30,6 +32,6 @@ try { "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-public.ps1 b/scripts/cd-public.ps1 index 80f6b3bb3..315e35610 100755 --- a/scripts/cd-public.ps1 +++ b/scripts/cd-public.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Sets the working dir to the Public folder .DESCRIPTION - This PowerShell script sets the current working directory to the Public folder. + This PowerShell script changes the current working directory to the Public folder. .EXAMPLE PS> ./cd-public.ps1 📂C:\Users\Public with 2 files and 3 folders entered. @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux) { if (-not(Test-Path "~/Public" -pathType container)) { @@ -30,6 +32,6 @@ try { "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-recent.ps1 b/scripts/cd-recent.ps1 index 840934985..a6f38aa3f 100755 --- a/scripts/cd-recent.ps1 +++ b/scripts/cd-recent.ps1 @@ -2,27 +2,28 @@ .SYNOPSIS Sets the working directory to the 'recent' folder .DESCRIPTION - This PowerShell script changes the working directory to the 'recent' folder. + This PowerShell script changes the current working directory to the 'recent' folder. .EXAMPLE - PS> ./cd-recent - 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent entered (has 2 files and 3 subfolders) + PS> ./cd-recent.ps1 + 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent with 2 files and 3 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = [Environment]::GetFolderPath('Recent') - if (-not(Test-Path "$path" -pathType container)) { - throw "No recent folder at $path" - } + if (-not(Test-Path "$path" -pathType container)) { throw "No recent 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 in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-recycle-bin.ps1 b/scripts/cd-recycle-bin.ps1 index 1d00a4bd5..e135ec679 100755 --- a/scripts/cd-recycle-bin.ps1 +++ b/scripts/cd-recycle-bin.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Sets the working dir to the recycle bin folder .DESCRIPTION - This PowerShell script changes the working directory to the user's recycle bin folder. + This PowerShell script changes the current working directory to the user's recycle bin folder. .EXAMPLE PS> ./cd-recycle-bin.ps1 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 with 2 files and 0 folders entered. @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function GetCurrentUserSID { [CmdletBinding()] param() Add-Type -AssemblyName System.DirectoryServices.AccountManagement return ([System.DirectoryServices.AccountManagement.UserPrincipal]::Current).SID.Value @@ -33,6 +35,6 @@ try { "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-repo.ps1 b/scripts/cd-repo.ps1 index 117093e72..42637c445 100755 --- a/scripts/cd-repo.ps1 +++ b/scripts/cd-repo.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Sets the working directory to a repo .DESCRIPTION - This PowerShell script changes the working directory to the given local Git repository. + This PowerShell script changes the current working directory to the given local Git repository. .PARAMETER folderName Specifies the folder name of the Git repository .EXAMPLE @@ -43,6 +43,6 @@ try { & git status --branch --short exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-repos.ps1 b/scripts/cd-repos.ps1 index c69af1d68..efaa4a49c 100755 --- a/scripts/cd-repos.ps1 +++ b/scripts/cd-repos.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Sets the working dir to the repos folder .DESCRIPTION - This PowerShell script changes the working directory to the folder for Git repositories. + This PowerShell script changes the current working directory to the folder for Git repositories. .EXAMPLE PS> ./cd-repos.ps1 📂C:\Repos with 33 folders entered. @@ -32,6 +32,6 @@ try { "📂$path with $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-root.ps1 b/scripts/cd-root.ps1 index 37bf648e0..8279401b3 100755 --- a/scripts/cd-root.ps1 +++ b/scripts/cd-root.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux -or $IsMacOS) { $path = "/" } else { $path = "C:\" } Set-Location "$path" @@ -20,6 +22,6 @@ try { "📂$path with $($folders.Count) folders and $($files.Count) files entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-screenshots.ps1 b/scripts/cd-screenshots.ps1 index b73184be2..b16ce6dfc 100755 --- a/scripts/cd-screenshots.ps1 +++ b/scripts/cd-screenshots.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function GetScreenshotsFolder { if ($IsLinux) { if (-not(Test-Path "~/Pictures" -pathType container)) { throw "No 'Pictures' folder in your home directory yet" } @@ -33,6 +35,6 @@ try { "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-scripts.ps1 b/scripts/cd-scripts.ps1 index 1980fe5f7..fba2f6a94 100755 --- a/scripts/cd-scripts.ps1 +++ b/scripts/cd-scripts.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Sets the working directory to the PowerShell scripts folder .DESCRIPTION - This PowerShell script changes the working directory to the PowerShell scripts folder. + This PowerShell script changes the currrent working directory to the PowerShell scripts folder. .EXAMPLE PS> ./cd-scripts.ps1 📂C:\Repos\PowerShell\scripts with 655 scripts entered. @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = Resolve-Path "$PSScriptRoot" if (-not(Test-Path "$path" -pathType container)) { throw "No scripts folder at: $path" } @@ -20,6 +22,6 @@ try { "📂$path with $($files.Count) scripts entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-ssh.ps1 b/scripts/cd-ssh.ps1 index 4d812885f..2de3f7f49 100755 --- a/scripts/cd-ssh.ps1 +++ b/scripts/cd-ssh.ps1 @@ -12,10 +12,12 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = "~/.ssh" if (-not(Test-Path "$path" -pathType container)) { - throw "Your home directory has no '.ssh' folder yet - Please install SSH." + throw "No '.ssh' folder in your home directory yet - Please install SSH." } $path = Resolve-Path "$path" Set-Location "$path" diff --git a/scripts/cd-sync.ps1 b/scripts/cd-sync.ps1 index 2f5b05120..7c0b39d2d 100755 --- a/scripts/cd-sync.ps1 +++ b/scripts/cd-sync.ps1 @@ -12,9 +12,11 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if (-not(Test-Path "~/Sync" -pathType container)) { - throw "Your home directory has no 'Sync' folder yet - Please install Syncthing." + throw "No 'Sync' folder in your home directory yet - Please install Syncthing." } $path = Resolve-Path "~/Sync" Set-Location "$path" diff --git a/scripts/cd-temp.ps1 b/scripts/cd-temp.ps1 index 66f3fb76a..adf4ac6a8 100755 --- a/scripts/cd-temp.ps1 +++ b/scripts/cd-temp.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function GetTempDir { if ("$env:TEMP" -ne "") { return "$env:TEMP" } if ("$env:TMP" -ne "") { return "$env:TMP" } @@ -21,9 +23,7 @@ function GetTempDir { try { $path = GetTempDir - if (-not(Test-Path "$path" -pathType container)) { throw - "No temporary folder at: $path" - } + if (-not(Test-Path "$path" -pathType container)) { throw "No temporary folder at: $path" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory diff --git a/scripts/cd-templates.ps1 b/scripts/cd-templates.ps1 index aff4de21d..1bc62007d 100755 --- a/scripts/cd-templates.ps1 +++ b/scripts/cd-templates.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux) { if (-not(Test-Path "~/Templates" -pathType container)) { @@ -30,6 +32,6 @@ try { "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-trash.ps1 b/scripts/cd-trash.ps1 index eef88a26b..91737aed3 100755 --- a/scripts/cd-trash.ps1 +++ b/scripts/cd-trash.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS Sets the working dir to the trash folder .DESCRIPTION - This PowerShell script changes the working directory to the user's trash folder. + This PowerShell script changes the current working directory to the user's trash folder. .EXAMPLE - PS> ./cd-trash + PS> ./cd-trash.ps1 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 with 4 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell @@ -35,6 +35,6 @@ try { "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-up.ps1 b/scripts/cd-up.ps1 index 62752822a..305ca1d41 100755 --- a/scripts/cd-up.ps1 +++ b/scripts/cd-up.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS Sets the working directory to one level up .DESCRIPTION - This PowerShell script changes the working directory to one directory level up. + This PowerShell script changes the current working directory to one directory level up. .EXAMPLE - PS> .\cd-up + PS> .\cd-up.ps1 📂C:\Users .LINK https://github.com/fleschutz/PowerShell @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = Resolve-Path ".." if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" } @@ -19,6 +21,6 @@ try { "📂$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-up2.ps1 b/scripts/cd-up2.ps1 index 77a9f4bb0..3095b5a41 100755 --- a/scripts/cd-up2.ps1 +++ b/scripts/cd-up2.ps1 @@ -1,10 +1,10 @@ <# .SYNOPSIS - Sets the working directory to two directory levels up + Sets the working directory 2 directory levels up .DESCRIPTION - This PowerShell script changes the working directory to two directory level up. + This PowerShell script changes the current working directory to two directory level up. .EXAMPLE - PS> ./cd-up2 + PS> ./cd-up2.ps1 📂C:\ .LINK https://github.com/fleschutz/PowerShell @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = Resolve-Path "../.." if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" } @@ -19,6 +21,6 @@ try { "📂$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-up3.ps1 b/scripts/cd-up3.ps1 index 9dabb01c2..9779b9d96 100755 --- a/scripts/cd-up3.ps1 +++ b/scripts/cd-up3.ps1 @@ -1,10 +1,10 @@ <# .SYNOPSIS - Sets the working directory to three directory levels up + Sets the working directory 3 directory levels up .DESCRIPTION - This PowerShell script changes the working directory to three directory levels up. + This PowerShell script changes the current working directory to three directory levels up. .EXAMPLE - PS> ./cd-up3 + PS> ./cd-up3.ps1 📂C:\ .LINK https://github.com/fleschutz/PowerShell @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = Resolve-Path "../../.." if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" } @@ -19,6 +21,6 @@ try { "📂$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-up4.ps1 b/scripts/cd-up4.ps1 index 81c658bc7..6c185f866 100755 --- a/scripts/cd-up4.ps1 +++ b/scripts/cd-up4.ps1 @@ -1,10 +1,10 @@ <# .SYNOPSIS - Sets the working directory to four directory levels up + Sets the working directory 4 directory levels up .DESCRIPTION - This PowerShell script changes the working directory to four directory levels up. + This PowerShell script changes the current working directory to four directory levels up. .EXAMPLE - PS> ./cd-up4 + PS> ./cd-up4.ps1 📂C:\ .LINK https://github.com/fleschutz/PowerShell @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = Resolve-Path "../../../.." if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" } @@ -19,6 +21,6 @@ try { "📂$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-users.ps1 b/scripts/cd-users.ps1 index ae45f97dc..41295323d 100755 --- a/scripts/cd-users.ps1 +++ b/scripts/cd-users.ps1 @@ -12,16 +12,17 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = Resolve-Path "~/.." - if (-not(Test-Path "$path" -pathType container)) { - throw "No users directory at: $path" - } + if (-not(Test-Path "$path" -pathType container)) { throw "No users directory at: $path" } + Set-Location "$path" $folders = Get-ChildItem $path -attributes Directory "📂$path with $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-videos.ps1 b/scripts/cd-videos.ps1 index 90be1ab74..da7d7d832 100755 --- a/scripts/cd-videos.ps1 +++ b/scripts/cd-videos.ps1 @@ -4,14 +4,16 @@ .DESCRIPTION This PowerShell script changes the working directory to the user's videos folder. .EXAMPLE - PS> ./cd-videos - 📂C:\Users\Markus\Videos entered (has 3 files and 0 subfolders) + PS> ./cd-videos.ps1 + 📂C:\Users\Markus\Videos with 3 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux) { $path = Resolve-Path "~/Videos" @@ -24,9 +26,9 @@ 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 with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } From 7b9ed92fba3780a6facc441bc4a04a9a26b8ca20 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 9 Jul 2025 14:33:56 +0200 Subject: [PATCH 378/737] Updated the install-*.ps1 scripts --- data/templates/New.md | 3 +++ data/templates/New.ps1 | 2 +- scripts/install-audacity.ps1 | 2 ++ scripts/install-basic-apps.ps1 | 2 ++ scripts/install-basic-snaps.ps1 | 2 ++ scripts/install-calibre-server.ps1 | 2 +- scripts/install-chocolatey.ps1 | 2 +- scripts/install-chrome.ps1 | 2 ++ scripts/install-crystal-disk-info.ps1 | 2 ++ scripts/install-crystal-disk-mark.ps1 | 2 ++ scripts/install-discord.ps1 | 2 ++ scripts/install-edge.ps1 | 2 ++ scripts/install-edit.ps1 | 2 ++ scripts/install-evcc.ps1 | 2 ++ scripts/install-firefox.ps1 | 2 ++ scripts/install-fonts.ps1 | 2 ++ scripts/install-git-extensions.ps1 | 2 ++ scripts/install-git-for-windows.ps1 | 2 ++ scripts/install-github-cli.ps1 | 2 ++ scripts/install-gitlab.ps1 | 1 + scripts/install-h2static.ps1 | 2 ++ scripts/install-irfanview.ps1 | 2 ++ scripts/install-jenkins-agent.ps1 | 2 ++ scripts/install-knot-resolver.ps1 | 2 +- scripts/install-microsoft-teams.ps1 | 2 ++ scripts/install-mini-dlna.ps1 | 2 ++ scripts/install-netflix.ps1 | 2 ++ scripts/install-obs-studio.ps1 | 2 +- scripts/install-octoprint.ps1 | 3 ++- scripts/install-one-calendar.ps1 | 2 ++ scripts/install-opera-browser.ps1 | 2 ++ scripts/install-opera-gx.ps1 | 2 ++ scripts/install-paint-3d.ps1 | 2 ++ scripts/install-power-toys.ps1 | 2 ++ scripts/install-powershell.ps1 | 2 ++ scripts/install-rufus.ps1 | 2 ++ scripts/install-salesforce-cli.ps1 | 4 +++- scripts/install-scoop.ps1 | 1 + scripts/install-signal-cli.ps1 | 2 ++ scripts/install-skype.ps1 | 2 ++ scripts/install-spotify.ps1 | 2 ++ scripts/install-ssh-client.ps1 | 2 +- scripts/install-ssh-server.ps1 | 2 +- scripts/install-syncthing.ps1 | 2 ++ scripts/install-thunderbird.ps1 | 2 ++ scripts/install-twitter.ps1 | 2 ++ scripts/install-unbound-server.ps1 | 2 +- scripts/install-updates.ps1 | 2 ++ scripts/install-visual-studio-code.ps1 | 2 ++ scripts/install-vivaldi.ps1 | 2 ++ scripts/install-vlc.ps1 | 2 ++ scripts/install-windows-terminal.ps1 | 2 ++ scripts/install-wsl.ps1 | 2 +- scripts/install-zoom.ps1 | 2 ++ 54 files changed, 99 insertions(+), 11 deletions(-) mode change 100644 => 100755 scripts/install-edit.ps1 diff --git a/data/templates/New.md b/data/templates/New.md index de7becdd2..3bf6f713f 100644 --- a/data/templates/New.md +++ b/data/templates/New.md @@ -5,3 +5,6 @@ Some introductory words... 1. Do this... 2. Do that... + + +Copyright © 2025 Joe Doe. All Rights Reserved. diff --git a/data/templates/New.ps1 b/data/templates/New.ps1 index 50897422e..b104e30ea 100755 --- a/data/templates/New.ps1 +++ b/data/templates/New.ps1 @@ -14,7 +14,7 @@ ← enter URL to additional information here #> -#requires -version 4 +#requires -version 5.1 param() # ← enter script parameters here diff --git a/scripts/install-audacity.ps1 b/scripts/install-audacity.ps1 index 8eba58b8f..3ede109f0 100755 --- a/scripts/install-audacity.ps1 +++ b/scripts/install-audacity.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Audacity, please wait..." diff --git a/scripts/install-basic-apps.ps1 b/scripts/install-basic-apps.ps1 index 4b67a2e15..ec1a727b8 100755 --- a/scripts/install-basic-apps.ps1 +++ b/scripts/install-basic-apps.ps1 @@ -16,6 +16,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $stopWatch = [system.diagnostics.stopwatch]::startNew() diff --git a/scripts/install-basic-snaps.ps1 b/scripts/install-basic-snaps.ps1 index e6758649c..434e17835 100755 --- a/scripts/install-basic-snaps.ps1 +++ b/scripts/install-basic-snaps.ps1 @@ -12,6 +12,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $StopWatch = [system.diagnostics.stopwatch]::startNew() if (!$IsLinux) { throw "Only Linux currently support snaps" } diff --git a/scripts/install-calibre-server.ps1 b/scripts/install-calibre-server.ps1 index bf98226b6..0b5055769 100755 --- a/scripts/install-calibre-server.ps1 +++ b/scripts/install-calibre-server.ps1 @@ -21,7 +21,7 @@ Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator param([int]$port = 8099, [string]$mediaFolder = "/opt/Calibre Library", [string]$userDB = "/opt/CalibreUsers.sqlite", [string]$logfile = "/opt/CalibreServer.log") diff --git a/scripts/install-chocolatey.ps1 b/scripts/install-chocolatey.ps1 index dbd3119ba..7377b629c 100755 --- a/scripts/install-chocolatey.ps1 +++ b/scripts/install-chocolatey.ps1 @@ -11,7 +11,7 @@ Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator try { [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 diff --git a/scripts/install-chrome.ps1 b/scripts/install-chrome.ps1 index f45b0b080..c1a220cf2 100755 --- a/scripts/install-chrome.ps1 +++ b/scripts/install-chrome.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Google Chrome, please wait..." diff --git a/scripts/install-crystal-disk-info.ps1 b/scripts/install-crystal-disk-info.ps1 index 510fda6da..62513e25d 100755 --- a/scripts/install-crystal-disk-info.ps1 +++ b/scripts/install-crystal-disk-info.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "⏳ Installing CrystalDiskInfo from Microsoft Store, please wait..." $stopWatch = [system.diagnostics.stopwatch]::startNew() diff --git a/scripts/install-crystal-disk-mark.ps1 b/scripts/install-crystal-disk-mark.ps1 index 7571b8168..dc80ddd1f 100755 --- a/scripts/install-crystal-disk-mark.ps1 +++ b/scripts/install-crystal-disk-mark.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing CrystalDiskMark, please wait..." diff --git a/scripts/install-discord.ps1 b/scripts/install-discord.ps1 index 50bfc566d..a03e21cae 100755 --- a/scripts/install-discord.ps1 +++ b/scripts/install-discord.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Discord, please wait..." diff --git a/scripts/install-edge.ps1 b/scripts/install-edge.ps1 index c7667baf4..7e9060b97 100755 --- a/scripts/install-edge.ps1 +++ b/scripts/install-edge.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Microsoft Edge, please wait..." diff --git a/scripts/install-edit.ps1 b/scripts/install-edit.ps1 old mode 100644 new mode 100755 index bafe378f7..d7273c0b3 --- a/scripts/install-edit.ps1 +++ b/scripts/install-edit.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $stopWatch = [system.diagnostics.stopwatch]::startNew() diff --git a/scripts/install-evcc.ps1 b/scripts/install-evcc.ps1 index 4c4d77bc2..2dccdd137 100755 --- a/scripts/install-evcc.ps1 +++ b/scripts/install-evcc.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $stopWatch = [system.diagnostics.stopwatch]::startNew() diff --git a/scripts/install-firefox.ps1 b/scripts/install-firefox.ps1 index 70ef9e5ad..073430a80 100755 --- a/scripts/install-firefox.ps1 +++ b/scripts/install-firefox.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $stopWatch = [system.diagnostics.stopwatch]::startNew() "⏳ Installing Mozilla Firefox from Microsoft Store..." diff --git a/scripts/install-fonts.ps1 b/scripts/install-fonts.ps1 index c65d14b23..ab88312a8 100755 --- a/scripts/install-fonts.ps1 +++ b/scripts/install-fonts.ps1 @@ -1,3 +1,5 @@ +#requires -version 5.1 + param( [string]$sourceFolder = "" ) diff --git a/scripts/install-git-extensions.ps1 b/scripts/install-git-extensions.ps1 index 75aeff1c3..f6faf9e8c 100755 --- a/scripts/install-git-extensions.ps1 +++ b/scripts/install-git-extensions.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Git Extensions, please wait..." diff --git a/scripts/install-git-for-windows.ps1 b/scripts/install-git-for-windows.ps1 index 77770b8d9..19201d64d 100755 --- a/scripts/install-git-for-windows.ps1 +++ b/scripts/install-git-for-windows.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Git for Windows, please wait..." diff --git a/scripts/install-github-cli.ps1 b/scripts/install-github-cli.ps1 index 396c012de..75c25afdd 100755 --- a/scripts/install-github-cli.ps1 +++ b/scripts/install-github-cli.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "⏳ Installing GitHub CLI..." $stopWatch = [system.diagnostics.stopwatch]::startNew() diff --git a/scripts/install-gitlab.ps1 b/scripts/install-gitlab.ps1 index 7db765fbd..3e31edcbd 100755 --- a/scripts/install-gitlab.ps1 +++ b/scripts/install-gitlab.ps1 @@ -1,3 +1,4 @@ +#requires -version 5.1 "1. Install and configure the necessary dependencies" & sudo apt-get update diff --git a/scripts/install-h2static.ps1 b/scripts/install-h2static.ps1 index 6d9ef0a53..86ac76045 100755 --- a/scripts/install-h2static.ps1 +++ b/scripts/install-h2static.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([int]$port = 8070, [string]$pathToMedia = "/media/") try { diff --git a/scripts/install-irfanview.ps1 b/scripts/install-irfanview.ps1 index d3271d41e..6a47b25d7 100755 --- a/scripts/install-irfanview.ps1 +++ b/scripts/install-irfanview.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing IrfanView, please wait..." diff --git a/scripts/install-jenkins-agent.ps1 b/scripts/install-jenkins-agent.ps1 index a46e9a5d4..b05657cc9 100755 --- a/scripts/install-jenkins-agent.ps1 +++ b/scripts/install-jenkins-agent.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$installDir = "/opt/jenkins-agent", [string]$jenkinsURL = "", [string]$secretKey = "") try { diff --git a/scripts/install-knot-resolver.ps1 b/scripts/install-knot-resolver.ps1 index d1bd11e44..11640dc99 100755 --- a/scripts/install-knot-resolver.ps1 +++ b/scripts/install-knot-resolver.ps1 @@ -11,7 +11,7 @@ Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator try { $StopWatch = [system.diagnostics.stopwatch]::startNew() diff --git a/scripts/install-microsoft-teams.ps1 b/scripts/install-microsoft-teams.ps1 index 4c2065e59..25f6a1bfc 100755 --- a/scripts/install-microsoft-teams.ps1 +++ b/scripts/install-microsoft-teams.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Microsoft Teams, please wait..." diff --git a/scripts/install-mini-dlna.ps1 b/scripts/install-mini-dlna.ps1 index 3ab7dc649..d55bd5b3f 100755 --- a/scripts/install-mini-dlna.ps1 +++ b/scripts/install-mini-dlna.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $stopWatch = [system.diagnostics.stopwatch]::startNew() diff --git a/scripts/install-netflix.ps1 b/scripts/install-netflix.ps1 index a2775be2a..62887a316 100755 --- a/scripts/install-netflix.ps1 +++ b/scripts/install-netflix.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Netflix, please wait..." diff --git a/scripts/install-obs-studio.ps1 b/scripts/install-obs-studio.ps1 index 31b81ff61..89d8ee186 100755 --- a/scripts/install-obs-studio.ps1 +++ b/scripts/install-obs-studio.ps1 @@ -11,7 +11,7 @@ Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator try { $StopWatch = [system.diagnostics.stopwatch]::startNew() diff --git a/scripts/install-octoprint.ps1 b/scripts/install-octoprint.ps1 index 1bd055ede..cb7b98997 100755 --- a/scripts/install-octoprint.ps1 +++ b/scripts/install-octoprint.ps1 @@ -1,4 +1,5 @@ - +#requires -version 5.1 + try { "⏳ Installing OctoPrint (snap 'octoprint-pfs', channel 'edge')..." diff --git a/scripts/install-one-calendar.ps1 b/scripts/install-one-calendar.ps1 index 10ce0901e..e5cbb7d29 100755 --- a/scripts/install-one-calendar.ps1 +++ b/scripts/install-one-calendar.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing One Calendar, please wait..." diff --git a/scripts/install-opera-browser.ps1 b/scripts/install-opera-browser.ps1 index 829046510..0385796e4 100755 --- a/scripts/install-opera-browser.ps1 +++ b/scripts/install-opera-browser.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Opera Browser, please wait..." diff --git a/scripts/install-opera-gx.ps1 b/scripts/install-opera-gx.ps1 index 63f7e9a79..89f00d30c 100755 --- a/scripts/install-opera-gx.ps1 +++ b/scripts/install-opera-gx.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Opera GX, please wait..." diff --git a/scripts/install-paint-3d.ps1 b/scripts/install-paint-3d.ps1 index 6d87e4397..8345d73e0 100755 --- a/scripts/install-paint-3d.ps1 +++ b/scripts/install-paint-3d.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Paint 3D, please wait..." diff --git a/scripts/install-power-toys.ps1 b/scripts/install-power-toys.ps1 index d5439f1e6..c109d7097 100755 --- a/scripts/install-power-toys.ps1 +++ b/scripts/install-power-toys.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Microsoft Powertoys, please wait..." diff --git a/scripts/install-powershell.ps1 b/scripts/install-powershell.ps1 index 79f7e2ac3..66d7fea91 100755 --- a/scripts/install-powershell.ps1 +++ b/scripts/install-powershell.ps1 @@ -23,6 +23,8 @@ Invoke-Expression "& { $(Invoke-RestMethod 'https://aka.ms/install-powershell.ps1') } -daily" #> +#requires -version 5.1 + [CmdletBinding(DefaultParameterSetName = "Daily")] param( [Parameter(ParameterSetName = "Daily")] diff --git a/scripts/install-rufus.ps1 b/scripts/install-rufus.ps1 index 380f80c7f..ee5f78910 100755 --- a/scripts/install-rufus.ps1 +++ b/scripts/install-rufus.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Rufus, please wait..." diff --git a/scripts/install-salesforce-cli.ps1 b/scripts/install-salesforce-cli.ps1 index e257961b7..97023547d 100755 --- a/scripts/install-salesforce-cli.ps1 +++ b/scripts/install-salesforce-cli.ps1 @@ -12,6 +12,8 @@ Author: Gavin R. McDavitt #> +#requires -version 5.1 + try { # Define the URL of the Salesforce CLI installer $url = "https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-x64.exe" @@ -33,4 +35,4 @@ try { } catch { Write-Output "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 -} \ No newline at end of file +} diff --git a/scripts/install-scoop.ps1 b/scripts/install-scoop.ps1 index f3513ffce..fd6ccae0f 100755 --- a/scripts/install-scoop.ps1 +++ b/scripts/install-scoop.ps1 @@ -1 +1,2 @@ +#requires -version 5.1 Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression diff --git a/scripts/install-signal-cli.ps1 b/scripts/install-signal-cli.ps1 index 8747ba519..2df06a9c2 100755 --- a/scripts/install-signal-cli.ps1 +++ b/scripts/install-signal-cli.ps1 @@ -14,6 +14,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$Version = "") try { diff --git a/scripts/install-skype.ps1 b/scripts/install-skype.ps1 index 87b48ba80..9e8217d2f 100755 --- a/scripts/install-skype.ps1 +++ b/scripts/install-skype.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Skype, please wait..." diff --git a/scripts/install-spotify.ps1 b/scripts/install-spotify.ps1 index 91c1d9ae5..cf70a6e48 100755 --- a/scripts/install-spotify.ps1 +++ b/scripts/install-spotify.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Spotify, please wait..." diff --git a/scripts/install-ssh-client.ps1 b/scripts/install-ssh-client.ps1 index cc467f45c..c6ddd5792 100755 --- a/scripts/install-ssh-client.ps1 +++ b/scripts/install-ssh-client.ps1 @@ -11,7 +11,7 @@ Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator try { $StopWatch = [system.diagnostics.stopwatch]::startNew() diff --git a/scripts/install-ssh-server.ps1 b/scripts/install-ssh-server.ps1 index 38a603627..e6dc9df42 100755 --- a/scripts/install-ssh-server.ps1 +++ b/scripts/install-ssh-server.ps1 @@ -11,7 +11,7 @@ Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator try { $StopWatch = [system.diagnostics.stopwatch]::startNew() diff --git a/scripts/install-syncthing.ps1 b/scripts/install-syncthing.ps1 index 019cf614f..a6ea7b8ef 100755 --- a/scripts/install-syncthing.ps1 +++ b/scripts/install-syncthing.ps1 @@ -14,6 +14,8 @@ https://github.com/fleschutz/PowerShell #> +#requires -version 5.1 + try { $stopWatch = [system.diagnostics.stopwatch]::startNew() diff --git a/scripts/install-thunderbird.ps1 b/scripts/install-thunderbird.ps1 index 6d1b33c9e..74ab6b083 100755 --- a/scripts/install-thunderbird.ps1 +++ b/scripts/install-thunderbird.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Mozilla Thunderbird, please wait..." diff --git a/scripts/install-twitter.ps1 b/scripts/install-twitter.ps1 index 87cdb19f1..fa2102bff 100755 --- a/scripts/install-twitter.ps1 +++ b/scripts/install-twitter.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Twitter, please wait..." diff --git a/scripts/install-unbound-server.ps1 b/scripts/install-unbound-server.ps1 index 911feae92..a797a310c 100755 --- a/scripts/install-unbound-server.ps1 +++ b/scripts/install-unbound-server.ps1 @@ -11,7 +11,7 @@ Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator try { $StopWatch = [system.diagnostics.stopwatch]::startNew() diff --git a/scripts/install-updates.ps1 b/scripts/install-updates.ps1 index 1d4e25756..9bc36c108 100755 --- a/scripts/install-updates.ps1 +++ b/scripts/install-updates.ps1 @@ -18,6 +18,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $stopWatch = [system.diagnostics.stopwatch]::startNew() diff --git a/scripts/install-visual-studio-code.ps1 b/scripts/install-visual-studio-code.ps1 index f1dfc0d47..5dc21751a 100755 --- a/scripts/install-visual-studio-code.ps1 +++ b/scripts/install-visual-studio-code.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Visual Studio Code, please wait..." diff --git a/scripts/install-vivaldi.ps1 b/scripts/install-vivaldi.ps1 index 4c8218095..022d67477 100755 --- a/scripts/install-vivaldi.ps1 +++ b/scripts/install-vivaldi.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Vivaldi, please wait..." diff --git a/scripts/install-vlc.ps1 b/scripts/install-vlc.ps1 index 493de6ebd..6733ae00c 100755 --- a/scripts/install-vlc.ps1 +++ b/scripts/install-vlc.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "⏳ Installing VLC media player from WinGet..." $stopWatch = [system.diagnostics.stopwatch]::startNew() diff --git a/scripts/install-windows-terminal.ps1 b/scripts/install-windows-terminal.ps1 index 6f7fde514..9f485ae50 100755 --- a/scripts/install-windows-terminal.ps1 +++ b/scripts/install-windows-terminal.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Windows Terminal, please wait..." diff --git a/scripts/install-wsl.ps1 b/scripts/install-wsl.ps1 index 06b189d25..57e100341 100755 --- a/scripts/install-wsl.ps1 +++ b/scripts/install-wsl.ps1 @@ -11,7 +11,7 @@ Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator try { $StopWatch = [system.diagnostics.stopwatch]::startNew() diff --git a/scripts/install-zoom.ps1 b/scripts/install-zoom.ps1 index 7f873e3f1..a54fe59d2 100755 --- a/scripts/install-zoom.ps1 +++ b/scripts/install-zoom.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Zoom, please wait..." From b3775f3b307455bf6c4f1aa32d669452601d5af9 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 9 Jul 2025 14:44:47 +0200 Subject: [PATCH 379/737] Updated the speak-*.ps1 scripts --- scripts/speak-arabic.ps1 | 2 ++ scripts/speak-checklist.ps1 | 2 ++ scripts/speak-countdown.ps1 | 2 ++ scripts/speak-croatian.ps1 | 2 ++ scripts/speak-danish.ps1 | 2 ++ scripts/speak-dutch.ps1 | 2 ++ scripts/speak-english.ps1 | 2 ++ scripts/speak-epub.ps1 | 4 +++- scripts/speak-esperanto.ps1 | 2 ++ scripts/speak-file.ps1 | 2 ++ scripts/speak-finnish.ps1 | 2 ++ scripts/speak-french.ps1 | 2 ++ scripts/speak-german.ps1 | 2 ++ scripts/speak-greek.ps1 | 2 ++ scripts/speak-hebrew.ps1 | 2 ++ scripts/speak-hindi.ps1 | 2 ++ scripts/speak-italian.ps1 | 2 ++ scripts/speak-japanese.ps1 | 2 ++ scripts/speak-korean.ps1 | 2 ++ scripts/speak-latin.ps1 | 2 ++ scripts/speak-mandarin.ps1 | 2 ++ scripts/speak-norwegian.ps1 | 2 ++ scripts/speak-polish.ps1 | 2 ++ scripts/speak-portuguese.ps1 | 2 ++ scripts/speak-russian.ps1 | 2 ++ scripts/speak-spanish.ps1 | 2 ++ scripts/speak-swedish.ps1 | 2 ++ scripts/speak-test.ps1 | 2 ++ scripts/speak-text.ps1 | 2 ++ scripts/speak-thai.ps1 | 2 ++ scripts/speak-turkish.ps1 | 2 ++ scripts/speak-ukrainian.ps1 | 2 ++ 32 files changed, 65 insertions(+), 1 deletion(-) diff --git a/scripts/speak-arabic.ps1 b/scripts/speak-arabic.ps1 index 46091d959..28e9ef96e 100755 --- a/scripts/speak-arabic.ps1 +++ b/scripts/speak-arabic.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-checklist.ps1 b/scripts/speak-checklist.ps1 index f53bdd462..af218a5e0 100755 --- a/scripts/speak-checklist.ps1 +++ b/scripts/speak-checklist.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$name = "handwashing") function WaitForCheck { diff --git a/scripts/speak-countdown.ps1 b/scripts/speak-countdown.ps1 index 06fb67d62..b7524be6c 100755 --- a/scripts/speak-countdown.ps1 +++ b/scripts/speak-countdown.ps1 @@ -14,6 +14,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([int]$startNumber = 10) try { diff --git a/scripts/speak-croatian.ps1 b/scripts/speak-croatian.ps1 index aef84c0ff..32db7f549 100755 --- a/scripts/speak-croatian.ps1 +++ b/scripts/speak-croatian.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-danish.ps1 b/scripts/speak-danish.ps1 index a3410395c..f412b3aa2 100755 --- a/scripts/speak-danish.ps1 +++ b/scripts/speak-danish.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-dutch.ps1 b/scripts/speak-dutch.ps1 index 55c1fe430..a18468aa6 100755 --- a/scripts/speak-dutch.ps1 +++ b/scripts/speak-dutch.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-english.ps1 b/scripts/speak-english.ps1 index 59b8df87f..23126d6ed 100755 --- a/scripts/speak-english.ps1 +++ b/scripts/speak-english.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-epub.ps1 b/scripts/speak-epub.ps1 index e97019b87..afc13948e 100755 --- a/scripts/speak-epub.ps1 +++ b/scripts/speak-epub.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$Filename = "") function Speak { param([string]$Text) @@ -94,4 +96,4 @@ foreach($item in $content.package.manifest.Item) { } } } -exit 0 # success \ No newline at end of file +exit 0 # success diff --git a/scripts/speak-esperanto.ps1 b/scripts/speak-esperanto.ps1 index b42b22abd..3df2fc307 100755 --- a/scripts/speak-esperanto.ps1 +++ b/scripts/speak-esperanto.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-file.ps1 b/scripts/speak-file.ps1 index 2f1df04be..fb6f0dac8 100755 --- a/scripts/speak-file.ps1 +++ b/scripts/speak-file.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$File = "") try { diff --git a/scripts/speak-finnish.ps1 b/scripts/speak-finnish.ps1 index e920580e1..f09ab3901 100755 --- a/scripts/speak-finnish.ps1 +++ b/scripts/speak-finnish.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-french.ps1 b/scripts/speak-french.ps1 index ddf423b77..c0f0ba978 100755 --- a/scripts/speak-french.ps1 +++ b/scripts/speak-french.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-german.ps1 b/scripts/speak-german.ps1 index 9d9c30a4d..84aa01ccc 100755 --- a/scripts/speak-german.ps1 +++ b/scripts/speak-german.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-greek.ps1 b/scripts/speak-greek.ps1 index cb971d638..2c82acb00 100755 --- a/scripts/speak-greek.ps1 +++ b/scripts/speak-greek.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-hebrew.ps1 b/scripts/speak-hebrew.ps1 index d11e92fd1..73a3136ad 100755 --- a/scripts/speak-hebrew.ps1 +++ b/scripts/speak-hebrew.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-hindi.ps1 b/scripts/speak-hindi.ps1 index eb2ee4b8e..4382a51ba 100755 --- a/scripts/speak-hindi.ps1 +++ b/scripts/speak-hindi.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-italian.ps1 b/scripts/speak-italian.ps1 index 136805305..93207faf7 100755 --- a/scripts/speak-italian.ps1 +++ b/scripts/speak-italian.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-japanese.ps1 b/scripts/speak-japanese.ps1 index 7024ca1dc..b272dd88c 100755 --- a/scripts/speak-japanese.ps1 +++ b/scripts/speak-japanese.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-korean.ps1 b/scripts/speak-korean.ps1 index 36eb9cfc6..efba897e5 100755 --- a/scripts/speak-korean.ps1 +++ b/scripts/speak-korean.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-latin.ps1 b/scripts/speak-latin.ps1 index 686968651..35e78d88f 100755 --- a/scripts/speak-latin.ps1 +++ b/scripts/speak-latin.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-mandarin.ps1 b/scripts/speak-mandarin.ps1 index 0d5eecabd..62b8ba84b 100755 --- a/scripts/speak-mandarin.ps1 +++ b/scripts/speak-mandarin.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-norwegian.ps1 b/scripts/speak-norwegian.ps1 index 439eb899b..3410ce224 100755 --- a/scripts/speak-norwegian.ps1 +++ b/scripts/speak-norwegian.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-polish.ps1 b/scripts/speak-polish.ps1 index 6edb3279f..31336614f 100755 --- a/scripts/speak-polish.ps1 +++ b/scripts/speak-polish.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-portuguese.ps1 b/scripts/speak-portuguese.ps1 index 41690e97e..b8f9a6a5f 100755 --- a/scripts/speak-portuguese.ps1 +++ b/scripts/speak-portuguese.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-russian.ps1 b/scripts/speak-russian.ps1 index 6c4a5ed84..4247faadf 100755 --- a/scripts/speak-russian.ps1 +++ b/scripts/speak-russian.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-spanish.ps1 b/scripts/speak-spanish.ps1 index 471d84378..1ef977911 100755 --- a/scripts/speak-spanish.ps1 +++ b/scripts/speak-spanish.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-swedish.ps1 b/scripts/speak-swedish.ps1 index 8a59fbb6f..e1650759f 100755 --- a/scripts/speak-swedish.ps1 +++ b/scripts/speak-swedish.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-test.ps1 b/scripts/speak-test.ps1 index 48eab6318..bdf5efc0b 100755 --- a/scripts/speak-test.ps1 +++ b/scripts/speak-test.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function Speak([string]$Text) { Write-Output "📣 $Text" [void]$Voice.speak("$Text") diff --git a/scripts/speak-text.ps1 b/scripts/speak-text.ps1 index e4cd18556..973282a2b 100755 --- a/scripts/speak-text.ps1 +++ b/scripts/speak-text.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-thai.ps1 b/scripts/speak-thai.ps1 index fba49299a..a0dc995e5 100755 --- a/scripts/speak-thai.ps1 +++ b/scripts/speak-thai.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-turkish.ps1 b/scripts/speak-turkish.ps1 index c95b6e55a..5317c22ee 100755 --- a/scripts/speak-turkish.ps1 +++ b/scripts/speak-turkish.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { diff --git a/scripts/speak-ukrainian.ps1 b/scripts/speak-ukrainian.ps1 index 5419554a5..32682b2b6 100755 --- a/scripts/speak-ukrainian.ps1 +++ b/scripts/speak-ukrainian.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { From 6fa5a3557bc353955c9d76e93ae121b00aec9759 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 9 Jul 2025 15:09:20 +0200 Subject: [PATCH 380/737] Updated the open-*.ps1 scripts --- scripts/open-URL.ps1 | 2 ++ scripts/open-apps-folder.ps1 | 2 ++ scripts/open-auto-start-folder.ps1 | 2 ++ scripts/open-bing-maps.ps1 | 2 ++ scripts/open-booking-com.ps1 | 2 ++ scripts/open-c-drive.ps1 | 2 ++ scripts/open-calculator.ps1 | 2 ++ scripts/open-chrome.ps1 | 2 ++ scripts/open-clock.ps1 | 2 ++ scripts/open-cortana.ps1 | 2 ++ scripts/open-d-drive.ps1 | 2 ++ scripts/open-dashboards.ps1 | 2 ++ scripts/open-deep-l-translator.ps1 | 4 +++- scripts/open-default-browser.ps1 | 2 ++ scripts/open-desktop-folder.ps1 | 4 +++- scripts/open-documents-folder.ps1 | 4 +++- scripts/open-downloads-folder.ps1 | 2 ++ scripts/open-dropbox-folder.ps1 | 2 ++ scripts/open-duck-duck-go.ps1 | 2 ++ scripts/open-e-drive.ps1 | 2 ++ scripts/open-edge.ps1 | 4 +++- scripts/open-egg-timer.ps1 | 2 ++ scripts/open-email-client.ps1 | 2 ++ scripts/open-f-drive.ps1 | 4 +++- scripts/open-file-explorer.ps1 | 2 ++ scripts/open-fire-place.ps1 | 2 ++ scripts/open-firefox.ps1 | 4 +++- scripts/open-flight-radar.ps1 | 4 +++- scripts/open-g-drive.ps1 | 2 ++ scripts/open-git-extensions.ps1 | 2 ++ scripts/open-google-books.ps1 | 4 +++- scripts/open-google-calendar.ps1 | 4 +++- scripts/open-google-contacts.ps1 | 2 ++ scripts/open-google-docs.ps1 | 4 +++- scripts/open-google-earth.ps1 | 4 +++- scripts/open-google-mail.ps1 | 4 +++- scripts/open-google-maps.ps1 | 4 +++- scripts/open-google-news.ps1 | 4 +++- scripts/open-google-photos.ps1 | 4 +++- scripts/open-google-play.ps1 | 4 +++- scripts/open-google-search.ps1 | 4 +++- scripts/open-google-stadia.ps1 | 4 +++- scripts/open-google-translate.ps1 | 4 +++- scripts/open-home-folder.ps1 | 4 +++- scripts/open-internet-archive.ps1 | 4 +++- scripts/open-jitsi-meet.ps1 | 4 +++- scripts/open-m-drive.ps1 | 4 +++- scripts/open-magnifier.ps1 | 6 ++++-- scripts/open-microsoft-paint.ps1 | 4 +++- scripts/open-microsoft-solitaire.ps1 | 4 +++- scripts/open-microsoft-store.ps1 | 4 +++- scripts/open-microsoft-teams.ps1 | 4 +++- scripts/open-music-folder.ps1 | 6 ++++-- scripts/open-netflix.ps1 | 4 +++- scripts/open-notepad.ps1 | 2 ++ scripts/open-obs-studio.ps1 | 4 +++- scripts/open-office-365.ps1 | 4 +++- scripts/open-one-drive-folder.ps1 | 4 +++- scripts/open-outlook.ps1 | 4 +++- scripts/open-paint-three-d.ps1 | 6 ++++-- scripts/open-pictures-folder.ps1 | 6 ++++-- scripts/open-rdp.ps1 | 8 +++++--- scripts/open-recycle-bin-folder.ps1 | 4 +++- scripts/open-remote-desktop.ps1 | 6 ++++-- scripts/open-repos-folder.ps1 | 4 +++- scripts/open-screen-clip.ps1 | 4 +++- scripts/open-screen-sketch.ps1 | 4 +++- scripts/open-skype.ps1 | 4 +++- scripts/open-snipping-tool.ps1 | 4 +++- scripts/open-speed-test.ps1 | 4 +++- scripts/open-spotify.ps1 | 4 +++- scripts/open-stack-overflow.ps1 | 4 +++- scripts/open-start-page.ps1 | 4 +++- scripts/open-street-map.ps1 | 4 +++- scripts/open-task-manager.ps1 | 4 +++- scripts/open-temporary-folder.ps1 | 4 +++- scripts/open-three-d-viewer.ps1 | 4 +++- scripts/open-thunderbird.ps1 | 4 +++- scripts/open-videos-folders.ps1 | 4 +++- scripts/open-visual-studio.ps1 | 2 ++ scripts/open-voice-recorder.ps1 | 4 +++- scripts/open-vpn-settings.ps1 | 4 +++- scripts/open-windows-defender.ps1 | 4 +++- scripts/open-windows-terminal.ps1 | 4 +++- scripts/open-xing.ps1 | 2 +- 85 files changed, 234 insertions(+), 66 deletions(-) diff --git a/scripts/open-URL.ps1 b/scripts/open-URL.ps1 index 34c14f44b..7d73735b1 100755 --- a/scripts/open-URL.ps1 +++ b/scripts/open-URL.ps1 @@ -15,6 +15,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$URL = "", [string]$text = "") try { diff --git a/scripts/open-apps-folder.ps1 b/scripts/open-apps-folder.ps1 index aba5398ce..3173e4356 100755 --- a/scripts/open-apps-folder.ps1 +++ b/scripts/open-apps-folder.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-file-explorer.ps1" "shell:AppsFolder" exit 0 # success diff --git a/scripts/open-auto-start-folder.ps1 b/scripts/open-auto-start-folder.ps1 index 6596e54ac..e16861600 100755 --- a/scripts/open-auto-start-folder.ps1 +++ b/scripts/open-auto-start-folder.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDir = resolve-path "$HOME/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" if (-not(test-path "$TargetDir" -pathType container)) { diff --git a/scripts/open-bing-maps.ps1 b/scripts/open-bing-maps.ps1 index 857cd1099..67044e211 100755 --- a/scripts/open-bing-maps.ps1 +++ b/scripts/open-bing-maps.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { start-process bingmaps: exit 0 # success diff --git a/scripts/open-booking-com.ps1 b/scripts/open-booking-com.ps1 index 5794b9754..daac17679 100755 --- a/scripts/open-booking-com.ps1 +++ b/scripts/open-booking-com.ps1 @@ -11,5 +11,7 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://www.booking.com" exit 0 # success diff --git a/scripts/open-c-drive.ps1 b/scripts/open-c-drive.ps1 index 00400f494..fb40311e1 100755 --- a/scripts/open-c-drive.ps1 +++ b/scripts/open-c-drive.ps1 @@ -11,5 +11,7 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-file-explorer.ps1" "C:" exit 0 # success diff --git a/scripts/open-calculator.ps1 b/scripts/open-calculator.ps1 index b367cf9d7..79670b25f 100755 --- a/scripts/open-calculator.ps1 +++ b/scripts/open-calculator.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process ms-calculator: exit 0 # success diff --git a/scripts/open-chrome.ps1 b/scripts/open-chrome.ps1 index 51ec9e8ce..6fb3dc711 100755 --- a/scripts/open-chrome.ps1 +++ b/scripts/open-chrome.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$URL = "http://www.fleschutz.de") try { diff --git a/scripts/open-clock.ps1 b/scripts/open-clock.ps1 index b482ebb1c..f74af2f1f 100755 --- a/scripts/open-clock.ps1 +++ b/scripts/open-clock.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process ms-clock: exit 0 # success diff --git a/scripts/open-cortana.ps1 b/scripts/open-cortana.ps1 index 6dd89c918..c1557bca4 100755 --- a/scripts/open-cortana.ps1 +++ b/scripts/open-cortana.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process ms-cortana2: exit 0 # success diff --git a/scripts/open-d-drive.ps1 b/scripts/open-d-drive.ps1 index 94ed50f76..a6c06c995 100755 --- a/scripts/open-d-drive.ps1 +++ b/scripts/open-d-drive.ps1 @@ -11,4 +11,6 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-file-explorer.ps1" "D:" diff --git a/scripts/open-dashboards.ps1 b/scripts/open-dashboards.ps1 index 504536e0e..1b6a145a6 100755 --- a/scripts/open-dashboards.ps1 +++ b/scripts/open-dashboards.ps1 @@ -15,6 +15,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([int]$timeInterval = 120) # milliseconds try { diff --git a/scripts/open-deep-l-translator.ps1 b/scripts/open-deep-l-translator.ps1 index c43502072..7abfd88f6 100755 --- a/scripts/open-deep-l-translator.ps1 +++ b/scripts/open-deep-l-translator.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the Web browser with the DeepL Translator website. .EXAMPLE - PS> ./open-deep-l-translator + PS> ./open-deep-l-translator.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://www.deepl.com/translator" exit 0 # success diff --git a/scripts/open-default-browser.ps1 b/scripts/open-default-browser.ps1 index 7c8fb3919..aab1df3fd 100755 --- a/scripts/open-default-browser.ps1 +++ b/scripts/open-default-browser.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$URL = "https://www.fleschutz.de") try { diff --git a/scripts/open-desktop-folder.ps1 b/scripts/open-desktop-folder.ps1 index 72def0c0b..11021c5ce 100755 --- a/scripts/open-desktop-folder.ps1 +++ b/scripts/open-desktop-folder.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This PowerShell script launches the File Explorer with the user's desktop folder. .EXAMPLE - PS> ./open-desktop-folder + PS> ./open-desktop-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDir = resolve-path "$HOME/Desktop" if (-not(test-path "$TargetDir" -pathType container)) { diff --git a/scripts/open-documents-folder.ps1 b/scripts/open-documents-folder.ps1 index c77662717..e607542a7 100755 --- a/scripts/open-documents-folder.ps1 +++ b/scripts/open-documents-folder.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This PowerShell script launches the File Explorer with the user's documents folder. .EXAMPLE - PS> ./open-documents-folder + PS> ./open-documents-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDir = resolve-path "$HOME/Documents" if (-not(test-path "$TargetDir" -pathType container)) { diff --git a/scripts/open-downloads-folder.ps1 b/scripts/open-downloads-folder.ps1 index 0147c0bc1..1b4f134e7 100755 --- a/scripts/open-downloads-folder.ps1 +++ b/scripts/open-downloads-folder.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux) { $Path = Resolve-Path "$HOME/Downloads" diff --git a/scripts/open-dropbox-folder.ps1 b/scripts/open-dropbox-folder.ps1 index 9575a761e..984514771 100755 --- a/scripts/open-dropbox-folder.ps1 +++ b/scripts/open-dropbox-folder.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDirs = resolve-path "$HOME/Dropbox*" foreach($TargetDir in $TargetDirs) { diff --git a/scripts/open-duck-duck-go.ps1 b/scripts/open-duck-duck-go.ps1 index aeebe7a73..f9cf4ef6e 100755 --- a/scripts/open-duck-duck-go.ps1 +++ b/scripts/open-duck-duck-go.ps1 @@ -11,5 +11,7 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://duckduckgo.com" exit 0 # success diff --git a/scripts/open-e-drive.ps1 b/scripts/open-e-drive.ps1 index f06d7fb49..a4f548308 100755 --- a/scripts/open-e-drive.ps1 +++ b/scripts/open-e-drive.ps1 @@ -11,4 +11,6 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-file-explorer.ps1" "E:" diff --git a/scripts/open-edge.ps1 b/scripts/open-edge.ps1 index d1184834b..e68b84269 100755 --- a/scripts/open-edge.ps1 +++ b/scripts/open-edge.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the Microsoft Edge Web browser. .EXAMPLE - PS> ./open-edge + PS> ./open-edge.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process microsoft-edge:// exit 0 # success diff --git a/scripts/open-egg-timer.ps1 b/scripts/open-egg-timer.ps1 index f0cb0f58f..9d40dc12c 100755 --- a/scripts/open-egg-timer.ps1 +++ b/scripts/open-egg-timer.ps1 @@ -11,5 +11,7 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://e.ggtimer.com" exit 0 # success diff --git a/scripts/open-email-client.ps1 b/scripts/open-email-client.ps1 index 68fe221ee..0c6d8d8a2 100755 --- a/scripts/open-email-client.ps1 +++ b/scripts/open-email-client.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { start-process "mailto:markus@fleschutz.de" exit 0 # success diff --git a/scripts/open-f-drive.ps1 b/scripts/open-f-drive.ps1 index a14404ca1..92dc420bf 100755 --- a/scripts/open-f-drive.ps1 +++ b/scripts/open-f-drive.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the File Explorer with the F: drive folder. .EXAMPLE - PS> ./open-f-drive + PS> ./open-f-drive.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-file-explorer.ps1" "F:" exit 0 # success diff --git a/scripts/open-file-explorer.ps1 b/scripts/open-file-explorer.ps1 index e5925028e..fbadf4773 100755 --- a/scripts/open-file-explorer.ps1 +++ b/scripts/open-file-explorer.ps1 @@ -13,6 +13,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$Path = "") try { diff --git a/scripts/open-fire-place.ps1 b/scripts/open-fire-place.ps1 index e944079ba..0f0396f22 100755 --- a/scripts/open-fire-place.ps1 +++ b/scripts/open-fire-place.ps1 @@ -11,5 +11,7 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://freefireplaces.com" exit 0 # success diff --git a/scripts/open-firefox.ps1 b/scripts/open-firefox.ps1 index 6c9708dca..3e95eb1c4 100755 --- a/scripts/open-firefox.ps1 +++ b/scripts/open-firefox.ps1 @@ -13,7 +13,9 @@ Author: Markus Fleschutz | License: CC0 #> -param([string]$URL = "http://www.fleschutz.de") +#requires -version 5.1 + +param([string]$URL = "https://www.fleschutz.de") try { $App = Get-AppxPackage -Name Mozilla.FireFox diff --git a/scripts/open-flight-radar.ps1 b/scripts/open-flight-radar.ps1 index 31557d5b9..5b97687f6 100755 --- a/scripts/open-flight-radar.ps1 +++ b/scripts/open-flight-radar.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the Web browser with the FlightRadar24 website. .EXAMPLE - PS> ./open-flight-radar + PS> ./open-flight-radar.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://www.flightradar24.com" exit 0 # success diff --git a/scripts/open-g-drive.ps1 b/scripts/open-g-drive.ps1 index 279dff50d..3887d5168 100755 --- a/scripts/open-g-drive.ps1 +++ b/scripts/open-g-drive.ps1 @@ -11,5 +11,7 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-file-explorer.ps1" "G:" exit 0 # success diff --git a/scripts/open-git-extensions.ps1 b/scripts/open-git-extensions.ps1 index 258041514..d3abccc81 100755 --- a/scripts/open-git-extensions.ps1 +++ b/scripts/open-git-extensions.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function TryToExec { param($Folder, $Binary) if (test-path "$Folder/$Binary" -pathType leaf) { start-process "$Folder/$Binary" -WorkingDirectory "$Folder" diff --git a/scripts/open-google-books.ps1 b/scripts/open-google-books.ps1 index 20ebf0f7a..9868eca14 100755 --- a/scripts/open-google-books.ps1 +++ b/scripts/open-google-books.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the Web browser with the Google Books website. .EXAMPLE - PS> ./open-google-books + PS> ./open-google-books.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://books.google.com" exit 0 # success diff --git a/scripts/open-google-calendar.ps1 b/scripts/open-google-calendar.ps1 index bfc09fca6..b3b7d34e0 100755 --- a/scripts/open-google-calendar.ps1 +++ b/scripts/open-google-calendar.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the Web browser with the Google Calendar website. .EXAMPLE - PS> ./open-google-calendar + PS> ./open-google-calendar.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://calendar.google.com" exit 0 # success diff --git a/scripts/open-google-contacts.ps1 b/scripts/open-google-contacts.ps1 index e301b5085..4c0c90f75 100755 --- a/scripts/open-google-contacts.ps1 +++ b/scripts/open-google-contacts.ps1 @@ -11,5 +11,7 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://contacts.google.com" exit 0 # success diff --git a/scripts/open-google-docs.ps1 b/scripts/open-google-docs.ps1 index c1217117f..b9a6cf9cd 100755 --- a/scripts/open-google-docs.ps1 +++ b/scripts/open-google-docs.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the Web browser with the Google Docs website. .EXAMPLE - PS> ./open-google-docs + PS> ./open-google-docs.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://docs.google.com" exit 0 # success diff --git a/scripts/open-google-earth.ps1 b/scripts/open-google-earth.ps1 index 17564cd9f..07000e148 100755 --- a/scripts/open-google-earth.ps1 +++ b/scripts/open-google-earth.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the Web browser with the Google Earth website. .EXAMPLE - PS> ./open-google-earth + PS> ./open-google-earth.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://earth.google.com/web/" exit 0 # success diff --git a/scripts/open-google-mail.ps1 b/scripts/open-google-mail.ps1 index 299282eb9..2038b66ac 100755 --- a/scripts/open-google-mail.ps1 +++ b/scripts/open-google-mail.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the Web browser with the Google Mail website. .EXAMPLE - PS> ./open-google-mail + PS> ./open-google-mail.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://mail.google.com" exit 0 # success diff --git a/scripts/open-google-maps.ps1 b/scripts/open-google-maps.ps1 index defaa0634..22cce6530 100755 --- a/scripts/open-google-maps.ps1 +++ b/scripts/open-google-maps.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the Web browser with the Google Maps website. .EXAMPLE - PS> ./open-google-maps + PS> ./open-google-maps.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps" exit 0 # success diff --git a/scripts/open-google-news.ps1 b/scripts/open-google-news.ps1 index 799e771e7..9a6e09601 100755 --- a/scripts/open-google-news.ps1 +++ b/scripts/open-google-news.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the Web browser with the Google News website. .EXAMPLE - PS> ./open-google-news + PS> ./open-google-news.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://news.google.com" exit 0 # success diff --git a/scripts/open-google-photos.ps1 b/scripts/open-google-photos.ps1 index 32b053037..6fff34a40 100755 --- a/scripts/open-google-photos.ps1 +++ b/scripts/open-google-photos.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the Web browser with the Google Photos website. .EXAMPLE - PS> ./open-google-photos + PS> ./open-google-photos.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://photos.google.com" exit 0 # success diff --git a/scripts/open-google-play.ps1 b/scripts/open-google-play.ps1 index 3fe761b87..6f8b9eacb 100755 --- a/scripts/open-google-play.ps1 +++ b/scripts/open-google-play.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the Web browser with the Google Play website. .EXAMPLE - PS> ./open-google-play + PS> ./open-google-play.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://play.google.com/store" exit 0 # success diff --git a/scripts/open-google-search.ps1 b/scripts/open-google-search.ps1 index 1bac58cd3..f2c3dc5a3 100755 --- a/scripts/open-google-search.ps1 +++ b/scripts/open-google-search.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the Web browser with the Google Search website. .EXAMPLE - PS> ./open-google-search + PS> ./open-google-search.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://google.com" exit 0 # success diff --git a/scripts/open-google-stadia.ps1 b/scripts/open-google-stadia.ps1 index ca694e641..a85de0404 100755 --- a/scripts/open-google-stadia.ps1 +++ b/scripts/open-google-stadia.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the Web browser with the Google Stadia website. .EXAMPLE - PS> ./open-google-stadia + PS> ./open-google-stadia.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://stadia.google.com" exit 0 # success diff --git a/scripts/open-google-translate.ps1 b/scripts/open-google-translate.ps1 index 2a5a528f5..8e3cf6866 100755 --- a/scripts/open-google-translate.ps1 +++ b/scripts/open-google-translate.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the Web browser with the Google Translate website. .EXAMPLE - PS> ./open-google-translate + PS> ./open-google-translate.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://translate.google.com" exit 0 # success diff --git a/scripts/open-home-folder.ps1 b/scripts/open-home-folder.ps1 index 15f55101d..4a8e608a2 100755 --- a/scripts/open-home-folder.ps1 +++ b/scripts/open-home-folder.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This script launches the File Explorer with the user's home folder. .EXAMPLE - PS> ./open-home-folder + PS> ./open-home-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDir = resolve-path "$HOME" if (-not(test-path "$TargetDir" -pathType container)) { diff --git a/scripts/open-internet-archive.ps1 b/scripts/open-internet-archive.ps1 index 42120c3a5..1fe504b76 100755 --- a/scripts/open-internet-archive.ps1 +++ b/scripts/open-internet-archive.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the Web browser with the Internet Archive website. .EXAMPLE - PS> ./open-internet-archive + PS> ./open-internet-archive.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://archive.org" exit 0 # success diff --git a/scripts/open-jitsi-meet.ps1 b/scripts/open-jitsi-meet.ps1 index 83d6c4721..aa01ac755 100755 --- a/scripts/open-jitsi-meet.ps1 +++ b/scripts/open-jitsi-meet.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the Web browser with the Jitsi Meet website. .EXAMPLE - PS> ./open-jitsi-meet + PS> ./open-jitsi-meet.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://meet.jit.si/" exit 0 # success diff --git a/scripts/open-m-drive.ps1 b/scripts/open-m-drive.ps1 index b5ade0f7c..3fdeb268d 100755 --- a/scripts/open-m-drive.ps1 +++ b/scripts/open-m-drive.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the File Explorer with the M: drive folder. .EXAMPLE - PS> ./open-m-drive + PS> ./open-m-drive.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-file-explorer.ps1" "M:" exit 0 # success diff --git a/scripts/open-magnifier.ps1 b/scripts/open-magnifier.ps1 index 2bd819bf4..a3fb24ed6 100755 --- a/scripts/open-magnifier.ps1 +++ b/scripts/open-magnifier.ps1 @@ -4,15 +4,17 @@ .DESCRIPTION This script launches the Windows Screen Magnifier application. .EXAMPLE - PS> ./open-magnifier + PS> ./open-magnifier.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { - start-process magnify.exe + Start-Process magnify.exe exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/open-microsoft-paint.ps1 b/scripts/open-microsoft-paint.ps1 index 908a33ce8..0be74da21 100755 --- a/scripts/open-microsoft-paint.ps1 +++ b/scripts/open-microsoft-paint.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This script launches the Microsoft Paint application. .EXAMPLE - PS> ./open-microsoft-paint + PS> ./open-microsoft-paint.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { start-process mspaint.exe exit 0 # success diff --git a/scripts/open-microsoft-solitaire.ps1 b/scripts/open-microsoft-solitaire.ps1 index dc494dde2..e02c9840b 100755 --- a/scripts/open-microsoft-solitaire.ps1 +++ b/scripts/open-microsoft-solitaire.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the Microsoft Solitaire application. .EXAMPLE - PS> ./open-microsoft-solitaire + PS> ./open-microsoft-solitaire.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process xboxliveapp-1297287741: exit 0 # success diff --git a/scripts/open-microsoft-store.ps1 b/scripts/open-microsoft-store.ps1 index 785d6f830..111a6188f 100755 --- a/scripts/open-microsoft-store.ps1 +++ b/scripts/open-microsoft-store.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the Microsoft Store application. .EXAMPLE - PS> ./open-microsoft-store + PS> ./open-microsoft-store.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process ms-windows-store: exit 0 # success diff --git a/scripts/open-microsoft-teams.ps1 b/scripts/open-microsoft-teams.ps1 index d0efda33f..24d14fc21 100755 --- a/scripts/open-microsoft-teams.ps1 +++ b/scripts/open-microsoft-teams.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This script launches the Microsoft Teams application. .EXAMPLE - PS> ./open-microsoft-teams + PS> ./open-microsoft-teams.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process msteams: exit 0 # success diff --git a/scripts/open-music-folder.ps1 b/scripts/open-music-folder.ps1 index 42f50a3bc..f6333aad0 100755 --- a/scripts/open-music-folder.ps1 +++ b/scripts/open-music-folder.ps1 @@ -4,15 +4,17 @@ .DESCRIPTION This script launches the File Explorer with the user's music folder. .EXAMPLE - PS> ./open-music-folder + PS> ./open-music-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { - $TargetDir = resolve-path "$HOME/Music" + $TargetDir = Resolve-Path "$HOME/Music" if (-not(test-path "$TargetDir" -pathType container)) { throw "Music folder at 📂$TargetDir doesn't exist (yet)" } diff --git a/scripts/open-netflix.ps1 b/scripts/open-netflix.ps1 index ea4ee3c26..3f1bb054c 100755 --- a/scripts/open-netflix.ps1 +++ b/scripts/open-netflix.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the Netflix application. .EXAMPLE - PS> ./open-netflix + PS> ./open-netflix.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process netflix: exit 0 # success diff --git a/scripts/open-notepad.ps1 b/scripts/open-notepad.ps1 index 64fdece89..f661a9436 100755 --- a/scripts/open-notepad.ps1 +++ b/scripts/open-notepad.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process notepad.exe exit 0 # success diff --git a/scripts/open-obs-studio.ps1 b/scripts/open-obs-studio.ps1 index 02377deb6..9016eb57c 100755 --- a/scripts/open-obs-studio.ps1 +++ b/scripts/open-obs-studio.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This script launches the OBS Studio application. .EXAMPLE - PS> ./open-obs-studio + PS> ./open-obs-studio.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function TryLaunching { param([string]$Path, [string]$Dir) if (test-path "$Path" -pathType leaf) { start-process -FilePath "$Path" -WorkingDirectory "$Dir" diff --git a/scripts/open-office-365.ps1 b/scripts/open-office-365.ps1 index 1ea054923..151a2be1d 100755 --- a/scripts/open-office-365.ps1 +++ b/scripts/open-office-365.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the Web browser with the Microsoft Office 365 website. .EXAMPLE - PS> ./open-office-365 + PS> ./open-office-365.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://portal.office.com" exit 0 # success diff --git a/scripts/open-one-drive-folder.ps1 b/scripts/open-one-drive-folder.ps1 index ed45d0120..4dd738562 100755 --- a/scripts/open-one-drive-folder.ps1 +++ b/scripts/open-one-drive-folder.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This script launches the File Explorer with the user's OneDrive folder. .EXAMPLE - PS> ./open-one-drive-folder + PS> ./open-one-drive-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDirs = resolve-path "$HOME/OneDrive*" foreach($TargetDir in $TargetDirs) { diff --git a/scripts/open-outlook.ps1 b/scripts/open-outlook.ps1 index 9bfdc1993..db0587add 100755 --- a/scripts/open-outlook.ps1 +++ b/scripts/open-outlook.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This script launches the Microsoft Outlook email application. .EXAMPLE - PS> ./open-outlook + PS> ./open-outlook.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function TryToExec { param($Folder, $Binary) if (test-path "$Folder/$Binary" -pathType leaf) { start-process "$Folder/$Binary" -WorkingDirectory "$Folder" diff --git a/scripts/open-paint-three-d.ps1 b/scripts/open-paint-three-d.ps1 index a54f1916d..43164011e 100755 --- a/scripts/open-paint-three-d.ps1 +++ b/scripts/open-paint-three-d.ps1 @@ -4,15 +4,17 @@ .DESCRIPTION This script launches the Paint 3D application. .EXAMPLE - PS> ./open-paint-3d + PS> ./open-paint-3d.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { - start-process ms-paint: + Start-Process ms-paint: exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/open-pictures-folder.ps1 b/scripts/open-pictures-folder.ps1 index 77ed86730..2e3cdcca7 100755 --- a/scripts/open-pictures-folder.ps1 +++ b/scripts/open-pictures-folder.ps1 @@ -4,15 +4,17 @@ .DESCRIPTION This script launches the File Explorer with the user's pictures folder. .EXAMPLE - PS> ./open-pictures-folder + PS> ./open-pictures-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { - $TargetDir = resolve-path "$HOME/Pictures" + $TargetDir = Resolve-Path "$HOME/Pictures" if (-not(test-path "$TargetDir" -pathType container)) { throw "Pictures folder at 📂$TargetDir doesn't exist (yet)" } diff --git a/scripts/open-rdp.ps1 b/scripts/open-rdp.ps1 index 4abb0e0be..9b28f7bc6 100755 --- a/scripts/open-rdp.ps1 +++ b/scripts/open-rdp.ps1 @@ -12,11 +12,13 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$hostname = "") if ($hostname -eq "") { - & Start-Process "$env:windir\system32\mstsc.exe" + & Start-Process "$env:WINDIR\system32\mstsc.exe" } else { - & Start-Process "$env:windir\system32\mstsc.exe" -ArgumentList "/v:$hostname" + & Start-Process "$env:WINDIR\system32\mstsc.exe" -ArgumentList "/v:$hostname" } -exit 0 # success \ No newline at end of file +exit 0 # success diff --git a/scripts/open-recycle-bin-folder.ps1 b/scripts/open-recycle-bin-folder.ps1 index e37e69014..9affd657f 100755 --- a/scripts/open-recycle-bin-folder.ps1 +++ b/scripts/open-recycle-bin-folder.ps1 @@ -11,8 +11,10 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { - start shell:recyclebinfolder + Start shell:recyclebinfolder exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/open-remote-desktop.ps1 b/scripts/open-remote-desktop.ps1 index ae49d6c78..9eb443874 100755 --- a/scripts/open-remote-desktop.ps1 +++ b/scripts/open-remote-desktop.ps1 @@ -4,15 +4,17 @@ .DESCRIPTION This script launches the Remote Desktop application. .EXAMPLE - PS> ./open-remote-desktop + PS> ./open-remote-desktop.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { - start-process ms-rd: + Start-Process ms-rd: exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/scripts/open-repos-folder.ps1 b/scripts/open-repos-folder.ps1 index 073c84f08..7856cd3ec 100755 --- a/scripts/open-repos-folder.ps1 +++ b/scripts/open-repos-folder.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This script launches the File Explorer with the user's Git repositories folder. .EXAMPLE - PS> ./open-repos-folder + PS> ./open-repos-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDir = Resolve-Path "$HOME/Repos" if (-not(Test-Path "$TargetDir" -pathType container)) { diff --git a/scripts/open-screen-clip.ps1 b/scripts/open-screen-clip.ps1 index 843cc4225..f65b7b90e 100755 --- a/scripts/open-screen-clip.ps1 +++ b/scripts/open-screen-clip.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This script launches the Screen Clip application. .EXAMPLE - PS> ./open-screen-clip + PS> ./open-screen-clip.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process ms-screenclip: exit 0 # success diff --git a/scripts/open-screen-sketch.ps1 b/scripts/open-screen-sketch.ps1 index b206402f0..3a4d04a99 100755 --- a/scripts/open-screen-sketch.ps1 +++ b/scripts/open-screen-sketch.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This script launches the Screen Sketch application. .EXAMPLE - PS> ./open-screen-sketch + PS> ./open-screen-sketch.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process ms-screensketch: exit 0 # success diff --git a/scripts/open-skype.ps1 b/scripts/open-skype.ps1 index 116132221..715fb9b17 100755 --- a/scripts/open-skype.ps1 +++ b/scripts/open-skype.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This script launches the Skype application. .EXAMPLE - PS> ./open-skype + PS> ./open-skype.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process skype: exit 0 # success diff --git a/scripts/open-snipping-tool.ps1 b/scripts/open-snipping-tool.ps1 index 3d45b7a08..bc814712a 100755 --- a/scripts/open-snipping-tool.ps1 +++ b/scripts/open-snipping-tool.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the Snipping Tool application. .EXAMPLE - PS> ./open-snipping-tool + PS> ./open-snipping-tool.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process SnippingTool.exe exit 0 # success diff --git a/scripts/open-speed-test.ps1 b/scripts/open-speed-test.ps1 index 20ec6b6c3..96bd01628 100755 --- a/scripts/open-speed-test.ps1 +++ b/scripts/open-speed-test.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the Web browser with Cloudflare's speed test website. .EXAMPLE - PS> ./open-speed-test + PS> ./open-speed-test.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://speed.cloudflare.com" exit 0 # success diff --git a/scripts/open-spotify.ps1 b/scripts/open-spotify.ps1 index ec3c11deb..760850143 100755 --- a/scripts/open-spotify.ps1 +++ b/scripts/open-spotify.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the Spotify application. .EXAMPLE - PS> ./open-spotify + PS> ./open-spotify.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process spotify: exit 0 # success diff --git a/scripts/open-stack-overflow.ps1 b/scripts/open-stack-overflow.ps1 index 3c819c7e3..a10e8b1c9 100755 --- a/scripts/open-stack-overflow.ps1 +++ b/scripts/open-stack-overflow.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the Web browser with the Stack Overflow website. .EXAMPLE - PS> ./open-stack-overflow + PS> ./open-stack-overflow.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://stackoverflow.com" exit 0 # success diff --git a/scripts/open-start-page.ps1 b/scripts/open-start-page.ps1 index 8e5124def..84870ddde 100755 --- a/scripts/open-start-page.ps1 +++ b/scripts/open-start-page.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the Web browser with the Startpage website. .EXAMPLE - PS> ./open-start-page + PS> ./open-start-page.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://www.startpage.com" exit 0 # success diff --git a/scripts/open-street-map.ps1 b/scripts/open-street-map.ps1 index 2f559921e..1620f81bb 100755 --- a/scripts/open-street-map.ps1 +++ b/scripts/open-street-map.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the Web browser with the OpenStreetMap website. .EXAMPLE - PS> ./open-street-map + PS> ./open-street-map.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://www.openstreetmap.org" exit 0 # success diff --git a/scripts/open-task-manager.ps1 b/scripts/open-task-manager.ps1 index 0b2121fec..942595684 100755 --- a/scripts/open-task-manager.ps1 +++ b/scripts/open-task-manager.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This script launches the Windows Task Manager application. .EXAMPLE - PS> ./open-task-manager + PS> ./open-task-manager.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process taskmgr.exe exit 0 # success diff --git a/scripts/open-temporary-folder.ps1 b/scripts/open-temporary-folder.ps1 index daec97327..dda90d5da 100755 --- a/scripts/open-temporary-folder.ps1 +++ b/scripts/open-temporary-folder.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This script launches the File Explorer showing the temporary folder. .EXAMPLE - PS> ./open-temporary-folder + PS> ./open-temporary-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function GetTempDir { if ("$env:TEMP" -ne "") { return "$env:TEMP" } if ("$env:TMP" -ne "") { return "$env:TMP" } diff --git a/scripts/open-three-d-viewer.ps1 b/scripts/open-three-d-viewer.ps1 index fc535d6d4..51aab00d1 100755 --- a/scripts/open-three-d-viewer.ps1 +++ b/scripts/open-three-d-viewer.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the 3D-Viewer application. .EXAMPLE - PS> ./open-three-d-viewer + PS> ./open-three-d-viewer.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process com.microsoft.3dviewer: exit 0 # success diff --git a/scripts/open-thunderbird.ps1 b/scripts/open-thunderbird.ps1 index 6dd8c5eb1..6a1a9c8d4 100755 --- a/scripts/open-thunderbird.ps1 +++ b/scripts/open-thunderbird.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This script launches the Mozilla Thunderbird email application. .EXAMPLE - PS> ./open-thunderbird + PS> ./open-thunderbird.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function TryToExec { param($Folder, $Binary) if (test-path "$Folder/$Binary" -pathType leaf) { start-process "$Folder/$Binary" -WorkingDirectory "$Folder" diff --git a/scripts/open-videos-folders.ps1 b/scripts/open-videos-folders.ps1 index 9abc25e89..862ddb4d4 100755 --- a/scripts/open-videos-folders.ps1 +++ b/scripts/open-videos-folders.ps1 @@ -4,13 +4,15 @@ .DESCRIPTION This script launches the File Explorer with the user's videos folder. .EXAMPLE - PS> ./open-videos-folder + PS> ./open-videos-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDir = Resolve-Path "$HOME/Videos" if (-not(Test-Path "$TargetDir" -pathType container)) { diff --git a/scripts/open-visual-studio.ps1 b/scripts/open-visual-studio.ps1 index 8171303dc..3b151ea5a 100755 --- a/scripts/open-visual-studio.ps1 +++ b/scripts/open-visual-studio.ps1 @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function tryToLaunch { param($filePath) if (Test-Path "$filePath" -pathType leaf) { Start-Process "$filePath" diff --git a/scripts/open-voice-recorder.ps1 b/scripts/open-voice-recorder.ps1 index 2b31c36c5..6dd98c294 100755 --- a/scripts/open-voice-recorder.ps1 +++ b/scripts/open-voice-recorder.ps1 @@ -11,10 +11,12 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process explorer.exe shell:appsFolder\Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe!App exit 0 # success } catch { "⚠️ Error: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/open-vpn-settings.ps1 b/scripts/open-vpn-settings.ps1 index 5ea67da47..d4cb38d42 100755 --- a/scripts/open-vpn-settings.ps1 +++ b/scripts/open-vpn-settings.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This PowerShell script launches the VPN settings of Windows. .EXAMPLE - PS> ./open-vpn-settings + PS> ./open-vpn-settings.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process ms-settings:network-vpn exit 0 # success diff --git a/scripts/open-windows-defender.ps1 b/scripts/open-windows-defender.ps1 index bda79e8be..433b78279 100755 --- a/scripts/open-windows-defender.ps1 +++ b/scripts/open-windows-defender.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the Windows Defender application. .EXAMPLE - PS> ./open-windows-defender + PS> ./open-windows-defender.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process windowsdefender: exit 0 # success diff --git a/scripts/open-windows-terminal.ps1 b/scripts/open-windows-terminal.ps1 index 905b357a6..c4b451a45 100755 --- a/scripts/open-windows-terminal.ps1 +++ b/scripts/open-windows-terminal.ps1 @@ -4,12 +4,14 @@ .DESCRIPTION This script launches the Windows Terminal application. .EXAMPLE - PS> ./open-windows-terminal + PS> ./open-windows-terminal.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process wt.exe exit 0 # success diff --git a/scripts/open-xing.ps1 b/scripts/open-xing.ps1 index 236ccca5d..a1cab8bf1 100755 --- a/scripts/open-xing.ps1 +++ b/scripts/open-xing.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION This script launches the XING application. .EXAMPLE - PS> ./open-xing + PS> ./open-xing.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES From d46d3cb0138eb9f14c0cea740b03f802058b22cc Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 11 Jul 2025 10:51:04 +0200 Subject: [PATCH 381/737] Added zstd to list-cli-tools.ps1 --- scripts/list-cli-tools.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index 9bbdc8591..7a778abe9 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -338,6 +338,7 @@ function List-CLI-Tools { ListTool zipnote "" ListTool zipsplit "" ListTool zsh "--version" + ListTool zstd "--version" ListTool zvm "--version" } From 2324b5bb2fde753e1bdcdf25478111b268e6aaf5 Mon Sep 17 00:00:00 2001 From: Peter Date: Sun, 13 Jul 2025 22:21:19 +0800 Subject: [PATCH 382/737] Add admin check and ensure New-ItemProperty exist before setting value --- scripts/enable-crash-dumps.ps1 | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/scripts/enable-crash-dumps.ps1 b/scripts/enable-crash-dumps.ps1 index 3facec1d1..b328fda43 100755 --- a/scripts/enable-crash-dumps.ps1 +++ b/scripts/enable-crash-dumps.ps1 @@ -50,6 +50,19 @@ # # ################################################################## +# Check if running with administrator privileges +if (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { + Write-Host "ERROR: This script requires administrator privileges to modify registry keys." -ForegroundColor Red + Write-Host "Please run this script as an administrator:" -ForegroundColor Yellow + Write-Host "1. Right-click on PowerShell" -ForegroundColor Yellow + Write-Host "2. Select 'Run as administrator'" -ForegroundColor Yellow + Write-Host "3. Re-run this script" -ForegroundColor Yellow + Write-Host "" + Write-Host "Press any key to exit..." + $null = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") + exit 1 +} + #Setting Values: $MDN = '0' $MDWDS = '1' @@ -101,7 +114,7 @@ Clear-Host Write-Host "Setting up your machine to receive Usermode Dumps via WER." Start-Sleep -seconds 3 - +New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Force New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Name "DumpFolder" -Value "%LOCALAPPDATA%\CrashDumps" -PropertyType ExpandString -Force New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Name "DumpCount" -Value "10" -PropertyType DWORD -Force @@ -115,7 +128,7 @@ $NCD = Read-Host "Enter a number option" If ($NCD -eq '3') { - + New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Force New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Name "DumpType" -Value "0" -PropertyType DWORD -Force Do { @@ -239,6 +252,7 @@ If ($NCD -eq '3') $SumArray = Invoke-Expression $sum $FinalSum = $0x + $SumArray + New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Force New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Name "CustomDumpFlags" -Value "$FinalSum" -PropertyType DWORD -Force write-host " " @@ -263,6 +277,7 @@ ElseIf ($NCD -eq '0') } ElseIf ($NCD -eq '1') { + New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Force New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Name "DumpType" -Value "2" -PropertyType DWORD -Force write-host "The computer has been set up to create a Full Sized Dump and will be located in %LOCALAPPDATA%\CrashDumps." write-host "The computer must also restart for settings to take effect. Would you like to now? (Y/n)" @@ -277,6 +292,7 @@ ElseIf ($NCD -eq '1') } ElseIf ($NCD -eq '2') { + New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Force New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Name "DumpType" -Value "1" -PropertyType DWORD -Force write-host "The computer has been set up to create a Mini Dump and will be located in %LOCALAPPDATA%\CrashDumps." write-host "The computer must also restart for settings to take effect. Would you like to now? (Y/n)" From 0849f50a637a46c7827f7b8a43f4b245371f2f19 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 14 Jul 2025 09:05:35 +0200 Subject: [PATCH 383/737] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7c91ff69e..b868736dd 100644 --- a/README.md +++ b/README.md @@ -373,6 +373,6 @@ Mega Collection of PowerShell Scripts ------------ Send your email feedback to: `markus.fleschutz [at] gmail.com` -🤝 License & Copyright +📜 License & Copyright ----------------------- This open source project is licensed under the CC0-1.0 license. All trademarks are the property of their respective owners. From 66acf6b77ecaa39e87dff5b76ce2484e78389c17 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 14 Jul 2025 09:47:19 +0200 Subject: [PATCH 384/737] Update README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b868736dd..9a801c063 100644 --- a/README.md +++ b/README.md @@ -369,9 +369,12 @@ Mega Collection of PowerShell Scripts | [write-vertical.ps1](scripts/write-vertical.ps1) | Writes the given text in vertical direction. [More »](docs/write-vertical.md) | | [show-notification-motivation-quote.ps1](scripts/show-notification-motivation-quote.ps1) | Show notification with random cat picture and motivation quote. [More »](docs/show-notification-motivation-quote.md) | -📧 Feedback ------------- -Send your email feedback to: `markus.fleschutz [at] gmail.com` +🤝 Contributing +--------------- +* Contributions, suggestions, and improvements are welcome! +* Open an Issue if you encounter bugs or have feature ideas. +* Create a Pull Request if you'd like to improve a script. +* Or just send your feedback to: `markus.fleschutz [at] gmail.com` 📜 License & Copyright ----------------------- From df1d3f0be9d6775413746e3f341fb296696b4dbb Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 14 Jul 2025 14:03:47 +0200 Subject: [PATCH 385/737] Updated computing.csv --- data/dicts/computing.csv | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/data/dicts/computing.csv b/data/dicts/computing.csv index ead93edfc..4db46e0cf 100644 --- a/data/dicts/computing.csv +++ b/data/dicts/computing.csv @@ -2078,11 +2078,12 @@ PPM,"Pages per minute (a measurement of printing speed), Perl package manager (f PPP,Point-to-Point Protocol PPPoE,Point-to-Point Protocol over Ethernet PPTP,Point-to-Point Tunneling Protocol +PQC,Post-Quantum Cryptography PR,"Problem Report, Process Reengineering" PRI,Primary Rate Interface -PRM,partner relationship management -PRNG,pseudo-random number generator -PROM,programmable read-only memory +PRM,Partner Relationship Management +PRNG,Pseudo-Random Number Generator +PROM,Programmable Read-Only Memory PRONet,Procurement Marketing and Access Network PRS,Personal Response System PRS,Premium Rate Service From 44b6e724e300e6d1f522404915f8fc1c08571a15 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 14 Jul 2025 18:39:28 +0200 Subject: [PATCH 386/737] Updated ping-host.ps1 --- scripts/ping-host.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index 511c0798c..4b52977df 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -7,7 +7,7 @@ Specifies the hostname or IP address to ping (x.com by default) .EXAMPLE PS> ./ping-host.ps1 x.com - ✅ 'x.com' is online (20ms to IP 104.244.42.1) + ✅ 'x.com' is online (20ms ping to IP 104.244.42.1) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,7 +22,7 @@ try { [Threading.Tasks.Task]::WaitAll($tasks) foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { - Write-Output "✅ '$hostname' is online ($($ping.RoundtripTime / 2)ms to IP $($ping.Address))" + Write-Output "✅ '$hostname' is online ($($ping.RoundtripTime / 2)ms ping to IP $($ping.Address))" exit 0 # success } else { Write-Output "⚠️ No reply from '$hostname' (IP $($ping.Address)) - check the connection or maybe the host is down." From 8df66a7e83d1953cf2157d8ccb736bfd6d4f81a3 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 14 Jul 2025 18:47:00 +0200 Subject: [PATCH 387/737] Updated enter-host.ps1 --- scripts/enter-host.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/enter-host.ps1 b/scripts/enter-host.ps1 index bae0532d7..13d2a5cee 100755 --- a/scripts/enter-host.ps1 +++ b/scripts/enter-host.ps1 @@ -8,7 +8,7 @@ .EXAMPLE PS> ./enter-host.ps1 tux ✅ tux is online (3ms latency to 192.168.1.179) - ⏳ Connecting as user 'markus' using OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 + ⏳ Trying to connect as user 'markus' with OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 markus@tux's password: ... .LINK @@ -36,7 +36,7 @@ try { & "$PSScriptRoot/wake-up-host.ps1" } - Write-Host "⏳ Connecting as user '$remoteUser' using " -noNewline + Write-Host "⏳ Trying to connect as user '$remoteUser' with " -noNewline & ssh -V if ($lastExitCode -ne 0) { throw "'ssh -V' failed with exit code $lastExitCode" } From b587316c2101b4b91d1e0b1e51fb776ed2388e2b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 17 Jul 2025 14:59:43 +0200 Subject: [PATCH 388/737] Added icon for .ps1 files --- scripts/list-folder.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/list-folder.ps1 b/scripts/list-folder.ps1 index d14d939ea..1368e944d 100755 --- a/scripts/list-folder.ps1 +++ b/scripts/list-folder.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION This PowerShell script lists the content of a directory (alphabetically formatted in columns). .PARAMETER SearchPattern - Specifies the search pattern ("*" by default which means anything) + Specifies the search pattern (default is "*" which means anything) .EXAMPLE PS> ./list-folder.ps1 C:\* .LINK @@ -25,6 +25,7 @@ function GetFileIcon([string]$suffix) { ".jpg" {return "📸"} ".mp3" {return "🎵"} ".mkv" {return "🎬"} + ".ps1" {return "⚙️"} ".zip" {return "🎁"} default {return "📄"} } From 8ed1f2bebd8d5104964f74de7e494b4b38a42dce Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 21 Jul 2025 11:09:09 +0200 Subject: [PATCH 389/737] Updated some abbreviations --- data/dicts/IATA_airport_codes.csv | 6 +++--- data/dicts/military.csv | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/data/dicts/IATA_airport_codes.csv b/data/dicts/IATA_airport_codes.csv index 8bb727426..057b1f158 100644 --- a/data/dicts/IATA_airport_codes.csv +++ b/data/dicts/IATA_airport_codes.csv @@ -2474,7 +2474,7 @@ FME,Tipton AAF FMG,Flamingo FMH,Otis AFB FMI,Kalemie Airport -FMM,Memmingen Allgau Airport +FMM,Memmingen Allgau Airport (Germany) FMN,Four Corners Regional Airport FMO,Munster Osnabruck International Airport FMS,Municipal @@ -2514,7 +2514,7 @@ FOY,Foya FPO,Grand Bahama International Airport FPR,St Lucie County FPY,Perry-Foley -FRA,Frankfurt Airport +FRA,Frankfurt Airport (Germany) FRB,Forbes FRC,Franca FRD,Friday Harbor Airport @@ -5392,7 +5392,7 @@ MTY,Gen Mariano Escobedo Airport MTZ,Masada MUA,Munda Airport MUB,Maun Airport -MUC,Franz Josef Strauss Airport +MUC,"Franz Josef Strauss Airport (Munich, Germany)" MUD,Mueda MUE,Kamuela MUF,Muting diff --git a/data/dicts/military.csv b/data/dicts/military.csv index dbb06615f..40596f50a 100644 --- a/data/dicts/military.csv +++ b/data/dicts/military.csv @@ -68,7 +68,6 @@ APF,Appropriated Funds APFSDS,Armor Piercing, Fin-Stabilized, Discarding Sabot APHE,Armor Piercing, High-Explosive AP-T,Armor Piercing - Tracer -APU,Auxiliary Power Unit ARCT,Air Refueling Control Team ARM,Anti-Radiation Missile ARRV,Armored Repair and Recovery Vehicle From 8d1ef5b2e6589308719732993973a8f77a96cfdf Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 21 Jul 2025 11:37:30 +0200 Subject: [PATCH 390/737] Updated list-network-shares.ps1 --- scripts/list-network-shares.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/list-network-shares.ps1 b/scripts/list-network-shares.ps1 index 8ffdf2902..d40f29bfe 100755 --- a/scripts/list-network-shares.ps1 +++ b/scripts/list-network-shares.ps1 @@ -5,7 +5,7 @@ This PowerShell script lists all network shares (aka "shared folders") of the local computer. .EXAMPLE PS> ./list-network-shares.ps1 - ✅ Shared folder \\LAPTOP\Public -> D:\Public ("Public folder for file transfer") + ✅ Shared folder \\LAPTOP\Public ("File transfer folder") -> D:\Public .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,7 +18,7 @@ try { } else { $shares = Get-WmiObject win32_share | where {$_.name -NotLike "*$"} foreach ($share in $shares) { - Write-Output "✅ Shared folder \\$(hostname)\$($share.Name) -> $($share.Path) (`"$($share.Description)`")" + Write-Output "✅ Shared folder \\$(hostname)\$($share.Name) (`"$($share.Description)`") -> $($share.Path)" } } exit 0 # success From 2d345b3f06d7bd47317514894191d7e62c4572ea Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 21 Jul 2025 16:27:15 +0200 Subject: [PATCH 391/737] Updated computing.csv --- data/dicts/computing.csv | 1 - 1 file changed, 1 deletion(-) diff --git a/data/dicts/computing.csv b/data/dicts/computing.csv index 4db46e0cf..e7f552495 100644 --- a/data/dicts/computing.csv +++ b/data/dicts/computing.csv @@ -1600,7 +1600,6 @@ LED,light-emitting diode LEED,Leadership in Energy and Environmental Design LES,Logistics Execution System Lex,lexical analyzer generator -LHC,Large Hadron Collider LI,lawful interception LI,location intelligence Li-Ion,Lithium Ion battery From 8d4237225a7911a496d1870ce79a3d5482baa62d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 21 Jul 2025 19:35:51 +0200 Subject: [PATCH 392/737] Updated enter-host.ps1 --- scripts/enter-host.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/enter-host.ps1 b/scripts/enter-host.ps1 index 13d2a5cee..36754c05e 100755 --- a/scripts/enter-host.ps1 +++ b/scripts/enter-host.ps1 @@ -8,7 +8,7 @@ .EXAMPLE PS> ./enter-host.ps1 tux ✅ tux is online (3ms latency to 192.168.1.179) - ⏳ Trying to connect as user 'markus' with OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 + ⏳ Connecting as user 'markus'... using OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 markus@tux's password: ... .LINK @@ -36,7 +36,7 @@ try { & "$PSScriptRoot/wake-up-host.ps1" } - Write-Host "⏳ Trying to connect as user '$remoteUser' with " -noNewline + Write-Host "⏳ Connecting as user '$remoteUser'... using " -noNewline & ssh -V if ($lastExitCode -ne 0) { throw "'ssh -V' failed with exit code $lastExitCode" } From cf4b45a4f263a928faa4510caf7c6ac4bae2f51c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Nyffenegger?= Date: Tue, 22 Jul 2025 08:47:33 +0200 Subject: [PATCH 393/737] Remove $ signs in quoted text In order to prevent PowerShell from expanding non existing variables in quoted text, the dollar sign was replaced with S. Iw considered making single quoted text, but that interferred with the back-apostrophe (`) which is alse present in the text. --- scripts/write-ascii-image.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/write-ascii-image.ps1 b/scripts/write-ascii-image.ps1 index 269e16c50..2199cf8cb 100755 --- a/scripts/write-ascii-image.ps1 +++ b/scripts/write-ascii-image.ps1 @@ -19,13 +19,13 @@ WriteLine "" WriteLine " _-o#&&*''''?d:>b\_" WriteLine " _o/'`'' '',, dMF9MMMMMHo_" WriteLine " .o&#' `'MbHMMMMMMMMMMMHo." -WriteLine " .o'' ' vodM*$&&HMMMMMMMMMM?." -WriteLine " ,' $M&ood,~'`(&##MMMMMMH\" +WriteLine " .o'' ' vodM*S&&HMMMMMMMMMM?." +WriteLine " ,' SM&ood,~'`(&##MMMMMMH\" WriteLine " / ,MMMMMMM#b?#bobMMMMHMMML" -WriteLine " & ?MMMMMMMMMMMMMMMMM7MMM$R*Hk" -WriteLine " ?$. :MMMMMMMMMMMMMMMMMMM/HMMM|`*L" +WriteLine " & ?MMMMMMMMMMMMMMMMM7MMMSR*Hk" +WriteLine " ?S. :MMMMMMMMMMMMMMMMMMM/HMMM|`*L" WriteLine "| |MMMMMMMMMMMMMMMMMMMMbMH' T," -WriteLine "$H#: `*MMMMMMMMMMMMMMMMMMMMb#}' `?" +WriteLine "SH#: `*MMMMMMMMMMMMMMMMMMMMb#}' `?" WriteLine "]MMH# ''*''''*#MMMMMMMMMMMMM' -" WriteLine "MMMMMb_ |MMMMMMMMMMMP' :" WriteLine "HMMMMMMMHo `MMMMMMMMMT ." From 770bdcb80883f5f53a34432d70518f56ddb91986 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 22 Jul 2025 14:58:21 +0200 Subject: [PATCH 394/737] Updated remove-dir-tree.ps1 --- scripts/remove-dir-tree.ps1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/remove-dir-tree.ps1 b/scripts/remove-dir-tree.ps1 index 246511d2e..a4fb46950 100755 --- a/scripts/remove-dir-tree.ps1 +++ b/scripts/remove-dir-tree.ps1 @@ -7,6 +7,7 @@ Specifies the file path to the directory tree .EXAMPLE PS> ./remove-dir-tree.ps1 C:\Temp + ✅ Removed directory 'C:\Temp\ in 9s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -17,11 +18,15 @@ param([string]$pathToDirTree = "") try { if ($pathToDirTree -eq "" ) { $pathToDirTree = Read-Host "Enter the path to the directory tree" } + $stopWatch = [system.diagnostics.stopwatch]::startNew() Remove-Item -Force -Recurse -Confirm:$false $pathToDirTree + if ($lastExitCode -ne 0) { throw "'Remove-Item' failed with exit code $lastExitCode" } + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Removed directory '$pathToDirTree' in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 -} \ No newline at end of file +} From 2790065a7c21cdde8d5f6216b9f9677b7146637d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 23 Jul 2025 09:01:20 +0200 Subject: [PATCH 395/737] Renamed to 'remove-dir.ps1' --- scripts/remove-dir-tree.ps1 | 32 -------------------------------- scripts/remove-dir.ps1 | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 32 deletions(-) delete mode 100755 scripts/remove-dir-tree.ps1 create mode 100755 scripts/remove-dir.ps1 diff --git a/scripts/remove-dir-tree.ps1 b/scripts/remove-dir-tree.ps1 deleted file mode 100755 index a4fb46950..000000000 --- a/scripts/remove-dir-tree.ps1 +++ /dev/null @@ -1,32 +0,0 @@ -<# -.SYNOPSIS - Removes a dir tree -.DESCRIPTION - This PowerShell script silently removes a directory tree recursively. Use it with care! -.PARAMETER pathToDirTree - Specifies the file path to the directory tree -.EXAMPLE - PS> ./remove-dir-tree.ps1 C:\Temp - ✅ Removed directory 'C:\Temp\ in 9s. -.LINK - https://github.com/fleschutz/PowerShell -.NOTES - Author: Markus Fleschutz | License: CC0 -#> - -param([string]$pathToDirTree = "") - -try { - if ($pathToDirTree -eq "" ) { $pathToDirTree = Read-Host "Enter the path to the directory tree" } - $stopWatch = [system.diagnostics.stopwatch]::startNew() - - Remove-Item -Force -Recurse -Confirm:$false $pathToDirTree - if ($lastExitCode -ne 0) { throw "'Remove-Item' failed with exit code $lastExitCode" } - - [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Removed directory '$pathToDirTree' in $($elapsed)s." - exit 0 # success -} catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" - exit 1 -} diff --git a/scripts/remove-dir.ps1 b/scripts/remove-dir.ps1 new file mode 100755 index 000000000..ffdf1a286 --- /dev/null +++ b/scripts/remove-dir.ps1 @@ -0,0 +1,35 @@ +<# +.SYNOPSIS + Removes a directory +.DESCRIPTION + This PowerShell script removes the given directory tree recursively. + NOTE: Use with care! This cannot be undone! +.PARAMETER pathToDir + Specifies the file path to the directory tree +.EXAMPLE + PS> ./remove-dir.ps1 C:\Temp + ⏳ Removing 'C:\Temp'... (please wait)" + ✅ Directory C:\Temp\ removed (took 9s). +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$pathToDir = "") + +try { + if ($pathToDir -eq "" ) { $pathToDir = Read-Host "Enter the file path to the obsolete directory" } + $stopWatch = [system.diagnostics.stopwatch]::startNew() + "⏳ Removing '$pathToDir'... (please wait)" + + Remove-Item -Force -Recurse -Confirm:$false $pathToDir + if ($lastExitCode -ne 0) { throw "'Remove-Item' failed with exit code $lastExitCode" } + + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Directory $pathToDir removed (took $($elapsed)s)." + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} From 69c488b17365851822f16db50af52d28738f04e2 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 23 Jul 2025 10:24:16 +0200 Subject: [PATCH 396/737] Update FAQ.md --- docs/FAQ.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index f934481a1..6fef195f3 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -98,8 +98,8 @@
What about PowerShell security? -1. **DO NOT execute scripts from untrusted sources! (rule applies to any executable)** -2. **CHECK the script content for strange things prior execution.** +1. **DO NOT execute scripts or executables from untrusted sources! Watch out for fake profiles!** +2. **CHECK the script content prior execution.** 3. **Prefer SSH Remoting instead of PowerShell Remoting** 4. **More recommendations by NSA and cyber security centers in the U.S. (CISA), New Zealand (NZ NCSC), and the U.K. (NCSC-UK) can be found here:** https://media.defense.gov/2022/Jun/22/2003021689/-1/-1/1/CSI_KEEPING_POWERSHELL_SECURITY_MEASURES_TO_USE_AND_EMBRACE_20220622.PDF
From 069782beb5cdc07fcdcd12865395e9ad20b43be4 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 24 Jul 2025 08:09:48 +0200 Subject: [PATCH 397/737] Fixed new-junction.ps1 --- scripts/new-junction.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/new-junction.ps1 b/scripts/new-junction.ps1 index 2458792dd..b1773beaa 100755 --- a/scripts/new-junction.ps1 +++ b/scripts/new-junction.ps1 @@ -20,10 +20,9 @@ param([string]$junction = "", [string]$targetDir = "") try { if ($junction -eq "" ) { $junction = Read-Host "Enter the new junction's path and filename" } - if ($targetDir -eq "" ) { $target = Read-Host "Enter the path to the target directory " } + if ($targetDir -eq "" ) { $targetDir = Read-Host "Enter the path to the target directory " } New-Item -path "$junction" -itemType Junction -value "$targetDir" - if ($lastExitCode -ne 0) { throw "Command 'New-Item' has failed" } "✅ New junction '$junction' created, linking to: 📂$targetDir" exit 0 # success From cebd264a9e968e02a2f40db5cdb8fae827749674 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 24 Jul 2025 08:33:54 +0200 Subject: [PATCH 398/737] Updated some scripts --- scripts/build-repo.ps1 | 2 +- scripts/build-repos.ps1 | 2 +- scripts/clean-repo.ps1 | 2 +- scripts/clean-repos.ps1 | 2 +- scripts/fetch-repo.ps1 | 2 +- scripts/install-basic-apps.ps1 | 2 +- scripts/install-basic-snaps.ps1 | 2 +- scripts/install-calibre-server.ps1 | 2 +- scripts/install-edit.ps1 | 6 +++--- scripts/install-evcc.ps1 | 2 +- scripts/install-github-cli.ps1 | 2 +- scripts/install-knot-resolver.ps1 | 2 +- scripts/install-salesforce-cli.ps1 | 2 +- scripts/install-signal-cli.ps1 | 6 +++--- scripts/install-skype.ps1 | 27 -------------------------- scripts/install-ssh-server.ps1 | 2 +- scripts/install-twitter.ps1 | 27 -------------------------- scripts/install-unbound-server.ps1 | 2 +- scripts/install-updates.ps1 | 2 +- scripts/install-visual-studio-code.ps1 | 2 +- scripts/list-updates.ps1 | 2 +- scripts/new-branch.ps1 | 2 +- scripts/new-dir.ps1 | 2 +- scripts/new-email.ps1 | 2 +- scripts/new-junction.ps1 | 2 +- scripts/new-markdown-file.ps1 | 2 +- scripts/new-powershell-script.ps1 | 2 +- scripts/new-symlink.ps1 | 2 +- scripts/new-tag.ps1 | 4 ++-- scripts/new-user.ps1 | 2 +- scripts/pull-repo.ps1 | 2 +- scripts/pull-repos.ps1 | 2 +- scripts/remove-dir.ps1 | 10 ++++++---- 33 files changed, 41 insertions(+), 93 deletions(-) delete mode 100755 scripts/install-skype.ps1 delete mode 100755 scripts/install-twitter.ps1 diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index 53e2cff5d..06ed345ea 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -162,7 +162,7 @@ try { } exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." Set-Location "$previousPath" exit 1 } diff --git a/scripts/build-repos.ps1 b/scripts/build-repos.ps1 index 1cbc75bf4..335be023c 100755 --- a/scripts/build-repos.ps1 +++ b/scripts/build-repos.ps1 @@ -35,6 +35,6 @@ try { "✅ Built $FolderCount Git repositories at 📂$ParentDirName in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/clean-repo.ps1 b/scripts/clean-repo.ps1 index d80449029..3f383cca7 100755 --- a/scripts/clean-repo.ps1 +++ b/scripts/clean-repo.ps1 @@ -48,6 +48,6 @@ try { "✅ Repo '$repoName' cleaned in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/clean-repos.ps1 b/scripts/clean-repos.ps1 index 4802f5a5a..671b11366 100755 --- a/scripts/clean-repos.ps1 +++ b/scripts/clean-repos.ps1 @@ -49,6 +49,6 @@ try { "✅ Cleaned $numFolders Git repositories under 📂$parentDirName in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/fetch-repo.ps1 b/scripts/fetch-repo.ps1 index 208e134ca..6220910fb 100755 --- a/scripts/fetch-repo.ps1 +++ b/scripts/fetch-repo.ps1 @@ -38,6 +38,6 @@ try { "✅ Updates fetched into 📂$repoDirName repo in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/install-basic-apps.ps1 b/scripts/install-basic-apps.ps1 index ec1a727b8..f6fe1e59a 100755 --- a/scripts/install-basic-apps.ps1 +++ b/scripts/install-basic-apps.ps1 @@ -52,6 +52,6 @@ try { "✅ Installed $numInstalled basic apps ($numSkipped skipped) in $elapsed sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/install-basic-snaps.ps1 b/scripts/install-basic-snaps.ps1 index 434e17835..25e3293cd 100755 --- a/scripts/install-basic-snaps.ps1 +++ b/scripts/install-basic-snaps.ps1 @@ -44,6 +44,6 @@ try { "✅ Installed 20 snap apps in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/install-calibre-server.ps1 b/scripts/install-calibre-server.ps1 index 0b5055769..34dd3d348 100755 --- a/scripts/install-calibre-server.ps1 +++ b/scripts/install-calibre-server.ps1 @@ -53,6 +53,6 @@ try { " (URL=http://$(hostname):$port media=$mediaFolder userDB=$userDB log=$logfile)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/install-edit.ps1 b/scripts/install-edit.ps1 index d7273c0b3..94996adaa 100755 --- a/scripts/install-edit.ps1 +++ b/scripts/install-edit.ps1 @@ -6,7 +6,7 @@ .EXAMPLE PS> ./install-edit.ps1 ⏳ Installing Microsoft Edit from Microsoft Store... - ✅ Microsoft Edit installed successfully in 25s. + ✅ Microsoft Edit installed successfully (took 25s). .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -28,9 +28,9 @@ try { if ($lastExitCode -ne 0) { throw "Can't install Microsoft Edit, is it already installed?" } } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Microsoft Edit installed successfully in $($elapsed)s." + "✅ Microsoft Edit installed successfully (took $($elapsed)s)." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/install-evcc.ps1 b/scripts/install-evcc.ps1 index 2dccdd137..6ef70d375 100755 --- a/scripts/install-evcc.ps1 +++ b/scripts/install-evcc.ps1 @@ -41,6 +41,6 @@ try { "✅ evcc installed successfully in $($elapsed)s." exit 0 # success } catch { - "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/install-github-cli.ps1 b/scripts/install-github-cli.ps1 index 75c25afdd..3cf6dc839 100755 --- a/scripts/install-github-cli.ps1 +++ b/scripts/install-github-cli.ps1 @@ -31,6 +31,6 @@ try { "✅ GitHub CLI installed successfully in $($elapsed)s - to authenticate execute: 'gh auth login'" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/install-knot-resolver.ps1 b/scripts/install-knot-resolver.ps1 index 11640dc99..02a5c3e7e 100755 --- a/scripts/install-knot-resolver.ps1 +++ b/scripts/install-knot-resolver.ps1 @@ -32,6 +32,6 @@ try { "✅ installed Knot Resolver in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/install-salesforce-cli.ps1 b/scripts/install-salesforce-cli.ps1 index 97023547d..45644d590 100755 --- a/scripts/install-salesforce-cli.ps1 +++ b/scripts/install-salesforce-cli.ps1 @@ -33,6 +33,6 @@ try { exit 0 # success } catch { - Write-Output "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + Write-Output "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/install-signal-cli.ps1 b/scripts/install-signal-cli.ps1 index 2df06a9c2..df57ff538 100755 --- a/scripts/install-signal-cli.ps1 +++ b/scripts/install-signal-cli.ps1 @@ -40,10 +40,10 @@ try { rm "signal-cli-$Version.tar.gz" if ($lastExitCode -ne 0) { throw "'rm' failed" } - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✅ installed signal-cli $Version to /opt and /usr/local/bin in $Elapsed sec" + [int]$elapsed = $StopWatch.Elapsed.TotalSeconds + "✅ Signal-cli $Version installed to /opt and /usr/local/bin in $elapsed sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/install-skype.ps1 b/scripts/install-skype.ps1 deleted file mode 100755 index 9e8217d2f..000000000 --- a/scripts/install-skype.ps1 +++ /dev/null @@ -1,27 +0,0 @@ -<# -.SYNOPSIS - Installs Skype -.DESCRIPTION - This PowerShell script installs Skype from the Microsoft Store. -.EXAMPLE - PS> ./install-skype.ps1 -.LINK - https://github.com/fleschutz/PowerShell -.NOTES - Author: Markus Fleschutz | License: CC0 -#> - -#requires -version 5.1 - -try { - "Installing Skype, please wait..." - - & winget install "Skype" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne 0) { throw "'winget install' failed" } - - "Skype installed successfully." - exit 0 # success -} catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" - exit 1 -} diff --git a/scripts/install-ssh-server.ps1 b/scripts/install-ssh-server.ps1 index e6dc9df42..c8675fff4 100755 --- a/scripts/install-ssh-server.ps1 +++ b/scripts/install-ssh-server.ps1 @@ -40,6 +40,6 @@ try { "✅ installed and started SSH server in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/install-twitter.ps1 b/scripts/install-twitter.ps1 deleted file mode 100755 index fa2102bff..000000000 --- a/scripts/install-twitter.ps1 +++ /dev/null @@ -1,27 +0,0 @@ -<# -.SYNOPSIS - Installs Twitter -.DESCRIPTION - This PowerShell script installs Twitter from the Microsoft Store. -.EXAMPLE - PS> ./install-twitter.ps1 -.LINK - https://github.com/fleschutz/PowerShell -.NOTES - Author: Markus Fleschutz | License: CC0 -#> - -#requires -version 5.1 - -try { - "Installing Twitter, please wait..." - - & winget install "Twitter" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne 0) { throw "'winget install' failed" } - - "Twitter installed successfully." - exit 0 # success -} catch { - "Sorry: $($Error[0])" - exit 1 -} diff --git a/scripts/install-unbound-server.ps1 b/scripts/install-unbound-server.ps1 index a797a310c..c709b7f17 100755 --- a/scripts/install-unbound-server.ps1 +++ b/scripts/install-unbound-server.ps1 @@ -61,6 +61,6 @@ try { "✅ Installed Unbound in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/install-updates.ps1 b/scripts/install-updates.ps1 index 9bc36c108..573788181 100755 --- a/scripts/install-updates.ps1 +++ b/scripts/install-updates.ps1 @@ -74,6 +74,6 @@ try { "✅ Updates installed in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/install-visual-studio-code.ps1 b/scripts/install-visual-studio-code.ps1 index 5dc21751a..dff803a8a 100755 --- a/scripts/install-visual-studio-code.ps1 +++ b/scripts/install-visual-studio-code.ps1 @@ -22,6 +22,6 @@ try { "Visual Studio Code installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/list-updates.ps1 b/scripts/list-updates.ps1 index e1370d2aa..c192c5395 100755 --- a/scripts/list-updates.ps1 +++ b/scripts/list-updates.ps1 @@ -55,6 +55,6 @@ try { "💡 Execute 'install-updates.ps1' to install the listed updates." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/new-branch.ps1 b/scripts/new-branch.ps1 index 0d2ffd494..b42311b49 100755 --- a/scripts/new-branch.ps1 +++ b/scripts/new-branch.ps1 @@ -65,6 +65,6 @@ try { "✅ Repo '$repoName' on new branch '$newBranch' (based on '$currentBranch', took $($elapsed)s)." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/new-dir.ps1 b/scripts/new-dir.ps1 index 258d6698d..6bb0effcb 100755 --- a/scripts/new-dir.ps1 +++ b/scripts/new-dir.ps1 @@ -27,6 +27,6 @@ try { "✅ New 📂$path created." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/new-email.ps1 b/scripts/new-email.ps1 index af653d661..fbbe369bf 100755 --- a/scripts/new-email.ps1 +++ b/scripts/new-email.ps1 @@ -20,6 +20,6 @@ try { Start-Process $URL exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/new-junction.ps1 b/scripts/new-junction.ps1 index b1773beaa..1af2c116c 100755 --- a/scripts/new-junction.ps1 +++ b/scripts/new-junction.ps1 @@ -27,6 +27,6 @@ try { "✅ New junction '$junction' created, linking to: 📂$targetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/new-markdown-file.ps1 b/scripts/new-markdown-file.ps1 index d034e9cda..1ecc0c3db 100755 --- a/scripts/new-markdown-file.ps1 +++ b/scripts/new-markdown-file.ps1 @@ -26,6 +26,6 @@ try { "✅ New '$path' created (from data/templates/New.md)." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/new-powershell-script.ps1 b/scripts/new-powershell-script.ps1 index 7425b284d..fff4c588c 100755 --- a/scripts/new-powershell-script.ps1 +++ b/scripts/new-powershell-script.ps1 @@ -26,6 +26,6 @@ try { "✅ New '$path' created (from data/templates/New.ps1)." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/new-symlink.ps1 b/scripts/new-symlink.ps1 index 6ade6d312..60343bddd 100755 --- a/scripts/new-symlink.ps1 +++ b/scripts/new-symlink.ps1 @@ -28,6 +28,6 @@ try { "✅ Created new symlink '$symlink' linking to: $target" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/new-tag.ps1 b/scripts/new-tag.ps1 index 168cbbe90..63fb2b002 100755 --- a/scripts/new-tag.ps1 +++ b/scripts/new-tag.ps1 @@ -42,9 +42,9 @@ try { if ($lastExitCode -ne 0) { throw "Error: 'git push origin $TagName' failed!" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✅ created new tag '$TagName' in $Elapsed sec" + "✅ Created new tag '$TagName' in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/new-user.ps1 b/scripts/new-user.ps1 index 61d13178c..1c393a55a 100755 --- a/scripts/new-user.ps1 +++ b/scripts/new-user.ps1 @@ -29,6 +29,6 @@ try { "✅ Created user account '$username' with encrypted home directory in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/pull-repo.ps1 b/scripts/pull-repo.ps1 index b95523095..9495a65a7 100755 --- a/scripts/pull-repo.ps1 +++ b/scripts/pull-repo.ps1 @@ -48,6 +48,6 @@ try { "✅ Repo '$dirName' updated in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/pull-repos.ps1 b/scripts/pull-repos.ps1 index e502b2eec..4a0b2dead 100755 --- a/scripts/pull-repos.ps1 +++ b/scripts/pull-repos.ps1 @@ -55,6 +55,6 @@ try { exit 1 } } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/remove-dir.ps1 b/scripts/remove-dir.ps1 index ffdf1a286..11618dfe7 100755 --- a/scripts/remove-dir.ps1 +++ b/scripts/remove-dir.ps1 @@ -8,7 +8,7 @@ Specifies the file path to the directory tree .EXAMPLE PS> ./remove-dir.ps1 C:\Temp - ⏳ Removing 'C:\Temp'... (please wait)" + ⏳ Removing directory 'C:\Temp', please wait..." ✅ Directory C:\Temp\ removed (took 9s). .LINK https://github.com/fleschutz/PowerShell @@ -20,16 +20,18 @@ param([string]$pathToDir = "") try { if ($pathToDir -eq "" ) { $pathToDir = Read-Host "Enter the file path to the obsolete directory" } + $stopWatch = [system.diagnostics.stopwatch]::startNew() - "⏳ Removing '$pathToDir'... (please wait)" + if (!(Test-Path "$pathToDir" -pathType container)) { throw "Cannot access directory '$pathToDir'" } - Remove-Item -Force -Recurse -Confirm:$false $pathToDir + "⏳ Removing directory '$pathToDir', please wait..." + Remove-Item -force -recurse -confirm:$false $pathToDir if ($lastExitCode -ne 0) { throw "'Remove-Item' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Directory $pathToDir removed (took $($elapsed)s)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } From f448fa660c2dbc0f0bf96656721e3811f819cf36 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 24 Jul 2025 17:40:02 +0200 Subject: [PATCH 399/737] Added calculate-BMI.ps1 --- scripts/calculate-BMI.ps1 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 scripts/calculate-BMI.ps1 diff --git a/scripts/calculate-BMI.ps1 b/scripts/calculate-BMI.ps1 new file mode 100644 index 000000000..c4ec5a114 --- /dev/null +++ b/scripts/calculate-BMI.ps1 @@ -0,0 +1,25 @@ +<# +.SYNOPSIS + Calculate the BMI +.DESCRIPTION + This PowerShell script calculates the BMI. +.EXAMPLE + PS> ./calculate-BMI.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +#requires -version 5.1 + +try { + [float]$height = Read-Host("Enter your height in m ") + [float]$weight = Read-Host("Enter your weight in kg") + $BMI = $weight / ($height * $height) + "Your BMI is $BMI, for adults the WHO regards <16 as Underweight (severe thinness), 16-17 as Underweight (moderate thinness), 17-18.5 as Underweight (mild thinness), 18.5-25 as Normal range, 25-30 as Overweight (pre-obese), 30-35 as Obese (class I), 35-40 as Obese (class II), and >=40 as Obese (class III)." + exit 0 # success +} catch { + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + exit 1 +} From 93de0963323d602b79fd3485147a3c8e5d6447e5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 25 Jul 2025 07:30:33 +0200 Subject: [PATCH 400/737] Updated an abbreviation --- data/dicts/IATA_airport_codes.csv | 2 +- data/dicts/general.csv | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/data/dicts/IATA_airport_codes.csv b/data/dicts/IATA_airport_codes.csv index 057b1f158..d75d47d9f 100644 --- a/data/dicts/IATA_airport_codes.csv +++ b/data/dicts/IATA_airport_codes.csv @@ -8826,7 +8826,7 @@ WHF,Wadi Halfa WHH,Hiltons Har H WHK,Whakatane Airport WHL,Welshpool -WHO,Franz Josef +WHO,Franz Josef airport (New Zealand) WHP,Whiteman WHS,Whalsay WHT,Wharton diff --git a/data/dicts/general.csv b/data/dicts/general.csv index 29a83b6bf..b539f73e1 100644 --- a/data/dicts/general.csv +++ b/data/dicts/general.csv @@ -4902,7 +4902,6 @@ WH,Wehrmacht Heer (German World War II army vehicle licence plate code) WHAM,Wisconsin Hydrogen-Alpha Mapping (telescope) WHI,Women's Health Initiative WHIP,Walks plus hits per inning pitched -WHO,World Health Organisation WHS,(U.S.) Washington Headquarters Services WI,"Western Sahara (FIPS 10-4 country code),Wisconsin (postal symbol),Women's Institute" WIA,"Wounded In Action,Wireless Institute of Australia (Amateur Radio)" From 8616b7ab69cc1c3af68399c680383e21a0c58acd Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 26 Jul 2025 11:37:06 +0200 Subject: [PATCH 401/737] Updated ping-host.ps1 --- scripts/ping-host.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index 4b52977df..561dcc9d8 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -7,7 +7,7 @@ Specifies the hostname or IP address to ping (x.com by default) .EXAMPLE PS> ./ping-host.ps1 x.com - ✅ 'x.com' is online (20ms ping to IP 104.244.42.1) + ✅ 'x.com' is online, 20ms ping to it's IP 104.244.42.1. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,7 +22,7 @@ try { [Threading.Tasks.Task]::WaitAll($tasks) foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { - Write-Output "✅ '$hostname' is online ($($ping.RoundtripTime / 2)ms ping to IP $($ping.Address))" + Write-Output "✅ '$hostname' is online, ($($ping.RoundtripTime / 2)ms ping to it's IP $($ping.Address))." exit 0 # success } else { Write-Output "⚠️ No reply from '$hostname' (IP $($ping.Address)) - check the connection or maybe the host is down." From 4e8439b0505fb89b220216bb6ce51550cbd861a5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 26 Jul 2025 11:40:07 +0200 Subject: [PATCH 402/737] Updated ping-host.ps1 --- scripts/ping-host.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index 561dcc9d8..b26e45cf0 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -7,7 +7,7 @@ Specifies the hostname or IP address to ping (x.com by default) .EXAMPLE PS> ./ping-host.ps1 x.com - ✅ 'x.com' is online, 20ms ping to it's IP 104.244.42.1. + ✅ 'x.com' is online with 20ms ping to it's IP 104.244.42.1 .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,7 +22,7 @@ try { [Threading.Tasks.Task]::WaitAll($tasks) foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { - Write-Output "✅ '$hostname' is online, ($($ping.RoundtripTime / 2)ms ping to it's IP $($ping.Address))." + Write-Output "✅ '$hostname' is online with $($ping.RoundtripTime / 2)ms ping to it's IP $($ping.Address)" exit 0 # success } else { Write-Output "⚠️ No reply from '$hostname' (IP $($ping.Address)) - check the connection or maybe the host is down." From 1e74da1e5d456e83822cf785625625d889cc2486 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 26 Jul 2025 15:51:13 +0200 Subject: [PATCH 403/737] Improved list-dir-tree.ps1 --- scripts/list-dir-tree.ps1 | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/scripts/list-dir-tree.ps1 b/scripts/list-dir-tree.ps1 index fe7b56ccc..57760e97e 100755 --- a/scripts/list-dir-tree.ps1 +++ b/scripts/list-dir-tree.ps1 @@ -1,15 +1,15 @@ <# .SYNOPSIS - Lists a dir tree + Lists a directory tree .DESCRIPTION - This PowerShell script lists all files and folders in a neat directory tree (including icon and size). + This PowerShell script lists all files and folders in a directory tree (including icon and size). .PARAMETER path - Specifies the path to the directory tree + Specifies the file path to the directory tree .EXAMPLE PS> ./list-dir-tree.ps1 C:\MyFolder ├📂Results │ ├📄sales.txt (442K) - (2 folders, 1 file, 442K file size in total) + (2 folders, 1 file, 442K total) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,32 +49,30 @@ function Bytes2String([int64]$bytes) { } function ListDir([string]$path, [int]$depth) { - $depth++ $items = Get-ChildItem -path $path foreach($item in $items) { - $filename = $item.Name - for ($i = 1; $i -lt $depth; $i++) { Write-Host "│ " -noNewline } + Write-Host " " -noNewline + for ([int]$i = 1; $i -lt $depth; $i++) { Write-Host "│ " -noNewline } if ($item.Mode -like "d*") { - Write-Output "├📂$Filename" - ListDir "$path\$filename" $depth + Write-Host "├📂$($item.Name)" + ListDir "$path\$($item.Name)" ($depth + 1) } else { - $icon = GetFileIcon $item.Extension - Write-Output "├$($icon)$filename ($(Bytes2String $item.Length))" + Write-Host "├$(GetFileIcon $item.Extension)$($item.Name) ($(Bytes2String $item.Length))" $global:files++ $global:bytes += $item.Length } } $global:folders++ + if ($depth -gt $global:depth) { $global:depth = $depth } } try { - [int64]$global:folders = 0 - [int64]$global:files = 0 - [int64]$global:bytes = 0 - ListDir $path 0 - Write-Output " ($($global:folders) folders, $($global:files) files, $(Bytes2String $global:bytes) total)" + Write-Host "`n 📂$path" + [int64]$global:files = $global:folders = $global:depth = $global:bytes = 0 + ListDir $path 1 + " ($($global:files) files, $($global:folders) folders, depth $($global:depth), $(Bytes2String $global:bytes) total)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } From 1f3eb0afa3b9608a74aa3677c302d63c1c4bcf6a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 26 Jul 2025 16:58:07 +0200 Subject: [PATCH 404/737] Updated write-value.ps1 --- scripts/write-value.ps1 | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/scripts/write-value.ps1 b/scripts/write-value.ps1 index b01713345..9944ba2f7 100755 --- a/scripts/write-value.ps1 +++ b/scripts/write-value.ps1 @@ -40,25 +40,37 @@ function WriteValueInRange([float]$value, [string]$unit, [float]$redMin, [float] } } -WriteValueInRange -3.5 "°C" 0 10 90 100 -Write-Host "CPU too cold" +Write-Host "" +Write-Host " TRACK " -noNewline +WriteValueInRange 50.0 "°" 0 0 360 360 +Write-Host "" -WriteValueInRange 5 "°C" 0 10 90 100 -Write-Host "CPU quite cold" +Write-Host " ALT " -noNewline +WriteValueInRange 800 "m" 0 0 6000 8000 +Write-Host "" -WriteValueInRange 15 "°C" 0 10 90 100 -Write-Host "OK" +Write-Host " SPEED " -noNewline +WriteValueInRange 190 "km/h" 0 0 180 200 +Write-Host "" -WriteValueInRange 50 "°C" 0 10 90 100 -Write-Host "OK" +Write-Host " BANK " -noNewline +WriteValueInRange 3.3 "°" -30 -10 10 30 +Write-Host "" -WriteValueInRange 70 "°C" 0 10 90 100 -Write-Host "OK" +Write-Host " ENG " -noNewline +WriteValueInRange 2000 "RPM" 0 0 5000 6000 +Write-Host "" -WriteValueInRange 95 "°C" 0 10 90 100 -Write-Host "CPU quite hot " +Write-Host " TEMP " -noNewline +WriteValueInRange 21.8 "°C" 0 10 90 100 +Write-Host "" -WriteValueInRange 110 "°C" 0 10 90 100 -Write-Host "CPU too hot " +Write-Host " FUEL " -noNewline +WriteValueInRange 0.1 "l" 0 5 60 65 +Write-Host "" + +Write-Host " FREQ " -noNewline +WriteValueInRange 104.4 "MHz" 80 80 108 108 +Write-Host "" exit 0 # success From e8f668643d9441cad586a730ce6bcdf378ed25f1 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 26 Jul 2025 19:13:15 +0200 Subject: [PATCH 405/737] Updated write-value.ps1 --- scripts/write-value.ps1 | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/scripts/write-value.ps1 b/scripts/write-value.ps1 index 9944ba2f7..abf20c489 100755 --- a/scripts/write-value.ps1 +++ b/scripts/write-value.ps1 @@ -17,26 +17,27 @@ param([float]$value = 0.5, [string]$unit = "Mach", [float]$redMin, [float]$yellowMin, [float]$yellowMax, [float]$redMax) function WriteValueInRange([float]$value, [string]$unit, [float]$redMin, [float]$yellowMin, [float]$yellowMax, [float]$redMax) { - $line = "------------------------------------------------" - $text = "[$redMin$($value)$unit $redMax]" - [float]$total = 20.0 - $text.Length + $line = "--------------------------------------" + $text = "[$redMin$value$unit$redMax]" + [float]$both = 20.0 - $text.Length if ($value -gt $redMax) { - Write-Host "[$redMin$($line.Substring(0, $total))$redMax]" -noNewline - Write-Host "$($value)$unit " -noNewline -foregroundColor red + Write-Host "[$redMin$($line.Substring(0,$both))$redMax]" -noNewline + Write-Host "$value$unit" -noNewline -foregroundColor red } elseif ($value -lt $redMin) { - Write-Host "$($value)$unit" -noNewline -foregroundColor red - Write-Host "[$redMin$($line.Substring(0, $total))$redMax] " -noNewline + Write-Host "$value$unit" -noNewline -foregroundColor red + Write-Host "[$redMin$($line.Substring(0,$both))$redMax] " -noNewline } else { - [float]$leftSide = (($value - $redMin) * $total) / ($redMax - $redMin) - if ($leftSide -lt 1.0) { $leftSide = 1.0 } - if ($leftSide -gt ($total - 1.0)) { $leftSide = $total - 1.0 } - Write-Host "[$redMin$($line.Substring(0, $leftSide))" -noNewline + [float]$left = (($value - $redMin) * $both) / ($redMax - $redMin) + if ($left -lt 1.0) { $left = 1.0 } + elseif ($left -gt ($both - 1.0)) { $left = $both - 1.0 } + [float]$right = $both - $left + Write-Host "[$redMin$($line.Substring(0,$left))" -noNewline if (($value -le $yellowMin) -or ($value -ge $yellowMax)) { - Write-Host "$($value)$unit" -noNewline -foregroundColor yellow + Write-Host "$value$unit" -noNewline -foregroundColor yellow } else { - Write-Host "$($value)$unit" -noNewline -foregroundColor green + Write-Host "$value$unit" -noNewline -foregroundColor green } - Write-Host "$($line.Substring(0, $total - $leftSide + 0.49))$redMax] " -noNewline + Write-Host "$($line.Substring(0,$right))$redMax]" -noNewline } } @@ -50,11 +51,11 @@ WriteValueInRange 800 "m" 0 0 6000 8000 Write-Host "" Write-Host " SPEED " -noNewline -WriteValueInRange 190 "km/h" 0 0 180 200 +WriteValueInRange 230 "km/h" 0 0 180 200 Write-Host "" Write-Host " BANK " -noNewline -WriteValueInRange 3.3 "°" -30 -10 10 30 +WriteValueInRange -30.3 "°" -30 -10 10 30 Write-Host "" Write-Host " ENG " -noNewline @@ -73,4 +74,8 @@ Write-Host " FREQ " -noNewline WriteValueInRange 104.4 "MHz" 80 80 108 108 Write-Host "" +Write-Host " BRAKE " -noNewline +WriteValueInRange 0.0 "%" 0 -1 90 100 +Write-Host "" + exit 0 # success From 49a85bfa39ff11d9bb186bd7eaf0a0eb38838b4c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 27 Jul 2025 19:11:42 +0200 Subject: [PATCH 406/737] Updated sync-repo.ps1 --- scripts/sync-repo.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/sync-repo.ps1 b/scripts/sync-repo.ps1 index 84497fdf2..bc76cb06a 100755 --- a/scripts/sync-repo.ps1 +++ b/scripts/sync-repo.ps1 @@ -4,14 +4,14 @@ .DESCRIPTION This PowerShell script synchronizes a local Git repository by pull and push (including submodules). .PARAMETER path - Specifies the path to the Git repository (current working directory by default) + Specifies the file path to the Git repository (current working directory by default) .EXAMPLE PS> ./sync-repo.ps1 C:\Repos\curl ⏳ (1/4) Searching for Git executable... git version 2.42.0.windows.1 ⏳ (2/4) Checking local repository... C:\Repos\curl ⏳ (3/4) Pulling remote updates... Already up to date. ⏳ (4/4) Pushing local updates... Everything up-to-date - ✅ Synced the 📂curl repo in 5s. + ✅ Repo 'curl' synchronized in 5s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -40,9 +40,9 @@ try { $pathName = (Get-Item "$path").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Synced the 📂$pathName repo in $($elapsed)s." + "✅ Repo '$pathName' synchronized in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } From 949d3ac81a71896dab912e262217f920a06c6b93 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 27 Jul 2025 19:29:26 +0200 Subject: [PATCH 407/737] Updated enter-host.ps1 --- scripts/enter-host.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/enter-host.ps1 b/scripts/enter-host.ps1 index 36754c05e..7987ca88f 100755 --- a/scripts/enter-host.ps1 +++ b/scripts/enter-host.ps1 @@ -7,8 +7,8 @@ Specifies the remote hostname or IP address .EXAMPLE PS> ./enter-host.ps1 tux - ✅ tux is online (3ms latency to 192.168.1.179) - ⏳ Connecting as user 'markus'... using OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 + ✅ 'tux' is online with 3ms ping to it's IP 192.168.1.179 + ⏳ Connecting as user 'markus' with OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 markus@tux's password: ... .LINK @@ -36,7 +36,7 @@ try { & "$PSScriptRoot/wake-up-host.ps1" } - Write-Host "⏳ Connecting as user '$remoteUser'... using " -noNewline + Write-Host "⏳ Connecting as user '$remoteUser' with " -noNewline & ssh -V if ($lastExitCode -ne 0) { throw "'ssh -V' failed with exit code $lastExitCode" } From 2ac9d34834dc2df8f2b4cd89334e05abc61268f6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 27 Jul 2025 19:50:41 +0200 Subject: [PATCH 408/737] Added open-windy.ps1 --- scripts/open-URL.ps1 | 11 ++++++----- scripts/open-windy.ps1 | 17 +++++++++++++++++ 2 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 scripts/open-windy.ps1 diff --git a/scripts/open-URL.ps1 b/scripts/open-URL.ps1 index 7d73735b1..010432a37 100755 --- a/scripts/open-URL.ps1 +++ b/scripts/open-URL.ps1 @@ -22,16 +22,17 @@ param([string]$URL = "", [string]$text = "") try { if ($URL -eq "") { $URL = Read-Host "Enter the URL" } - if ($text -ne "") { + if ($IsLinux -or $IsMacOS) { Write-Host $text -noNewline - Write-Host $URL -foregroundColor blue - } - if ($IsLinux) { + Write-Host $URL -foregroundColor blue -noNewline + Write-Host " (open link with: )" } else { Start-Process $URL + Write-Host "✅ Launched Web browser with $text" -noNewline + Write-Host $URL -foregroundColor blue } exit 0 # success } catch { - "⚠️ Error: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } diff --git a/scripts/open-windy.ps1 b/scripts/open-windy.ps1 new file mode 100644 index 000000000..a90e24872 --- /dev/null +++ b/scripts/open-windy.ps1 @@ -0,0 +1,17 @@ +<# +.SYNOPSIS + Opens the Windy website +.DESCRIPTION + This script launches the Web browser with the Windy Weather Radar website. +.EXAMPLE + PS> ./open-windy.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +#requires -version 5.1 + +& "$PSScriptRoot/open-URL.ps1" "https://www.windy.com/-Weather-radar-radar" "Windy Weather Radar: " +exit 0 # success From d00715c8ce95dcf008f3143501c7bc31644cd715 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 28 Jul 2025 11:10:51 +0200 Subject: [PATCH 409/737] Updated some abbreviations --- data/dicts/general.csv | 8 ++++---- data/dicts/military.csv | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/data/dicts/general.csv b/data/dicts/general.csv index b539f73e1..56e522af3 100644 --- a/data/dicts/general.csv +++ b/data/dicts/general.csv @@ -67,7 +67,7 @@ ABC,"Alcoholic Beverage Commission" ABC,alien big cat ABC,always be careful ABC,American-born Chinese -ABC,anti-lock brake controller +ABC,Anti-lock Brake Controller ABC,"atomic, biological, chemical" ABCA,American,British and Canadian Armies (originally),Army Bureau of Current Affairs ABCS,Army Battle Command System (USA) @@ -77,12 +77,12 @@ ABGI,Addington-Barker Group International ABIN,Agência Brasileira de Inteligência (Brazilian Intelligence Agency) ABL,American Basketball League ABLE,AirBorne Law Enforcement (police air support unit) -ABM,anti-ballistic missile,Asynchronous Balanced Mode,automated banking machine +ABM,"Asynchronous Balanced Mode, Automated Banking Machine" ABMC,American Battle Monuments Commission ABN,Australian Business Number (a number issued by the Australian government as registration of a business and used for taxation purposes) ABPI,Association of the British Pharmaceutical Industry ABRSM,Associated Board of the Royal Schools of Music -ABS,anti-lock braking system +ABS,Anti-lock Braking System ABSA,Amalgamated Banks of South Africa ABSTRIPS,abstraction-based STRIPS ABV,Alcohol by volume @@ -95,7 +95,7 @@ AC2,Aircraftman 2nd Class ACA,"Affordable Care Act,shorthand for the Patient Protection and Affordable Care Act,commonly called 'Obamacare',Airspace Control Authority,Airspace Co-ordination Area,A Current Affair" ACAB,All cops are bastards ACARS,Aircraft Communications Addressing and Reporting System -ACAS,Aboriginal Children's Advancement Society,Advisory,Conciliation and Arbitration Service +ACAS,"Aboriginal Children's Advancement Society,Advisory,Conciliation and Arbitration Service" ACB,"Asociación de Clubes de Baloncesto (Spanish for 'Association of Basketball Clubs')" ACCA,The Association of Chartered Certified Accountants,Automatic Cloud Cover Assessment ACCAC,"Awdurdod Cymwysterau,Cwricwlwm ac Asesu Cymru (Qualifications,Curriculum and Assessment Authority for Wales)" diff --git a/data/dicts/military.csv b/data/dicts/military.csv index 40596f50a..f5c2a4080 100644 --- a/data/dicts/military.csv +++ b/data/dicts/military.csv @@ -14,7 +14,7 @@ AAV,Amphibious Assault Vehicle AAV,Assault Amphibian Vehicle AAVC,Assault Amphibian Vehicle Command ABA,Applied Behavior Analysis -ABM,Anti-Ballistic Missile +ABM,"Anti-Ballistic Missile, Air Battle Manager" AC,Active Component ACC,Air Combat Command ACFT,Army Combat Fitness Test From 93a73b926fc75b10abd8755b0915ddaa19b11612 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 30 Jul 2025 08:54:49 +0200 Subject: [PATCH 410/737] Added copy-broken-file.ps1 --- scripts/copy-broken-file.ps1 | 508 +++++++++++++++++++++++++++++++++++ 1 file changed, 508 insertions(+) create mode 100644 scripts/copy-broken-file.ps1 diff --git a/scripts/copy-broken-file.ps1 b/scripts/copy-broken-file.ps1 new file mode 100644 index 000000000..8fb5fed43 --- /dev/null +++ b/scripts/copy-broken-file.ps1 @@ -0,0 +1,508 @@ +## .SYNOPSIS +######################### +## This script copies a file, ignoring device I/O errors that abort the reading of files in most applications. +## +## .DESCRIPTION +######################### +## This script will copy the specified file even if it contains unreadable blocks caused by device I/O errors and such. The block that it can not read will be replaced with zeros. The size of the block is determined by the buffer. So, to optimize it for speed, use a large buffer. To optimize for accuracy, use a small buffer, smallest being the cluter size of the partition where your sourcefile resides. +## +## .OUTPUTS +######################### +## Errorcode 0: Copy operation finished without errors. +## Errorcode 1: Copy operation finished with unreadable blocks. +## Errorcode 2: Destination file exists, but -Overwrite not specified. +## Errorcode 3: Destination file exists but has no bad blocks (i.e. no badblocks.xml file found). +## Errorcode 4: Destination file can not be written to. +## +## .INPUTS +######################### +## ... +## +## .PARAMETER SourceFilePath +## Path to the source file. +## +## .PARAMETER DestinationFilePath +## Path to the destination file. +## +## .PARAMETER Buffer +## It makes absolutely no sense to set this less than the cluser size of the partition. Setting it lower than cluster size might force rereading a bad sector in a cluster multiple times. Better is to adjust the retry option. Also, System.IO.FileStream buffers input and output for better performance. (https://docs.microsoft.com/en-us/dotnet/api/system.io.filestream). +## +## .EXAMPLE +## .\Force-Copy.ps1 -SourceFilePath "file_path_on_bad_disk" -DestinationFilePath "destinaton_path" -MaxRetries 6 +## +## This will copy file_path_on_bad_disk to destinaton_path with maximum of 6 retries on each cluster of 4096 bytes encountered. Usually 6 retries is enough to succeed, unless the sector is really completely unreadable. +## +## .EXAMPLE +## Get-ChildItem '*.jpg' -Recurse -File -Force | foreach {.\Force-Copy.ps1 -SourceFilePath $_.FullName -DestinationFilePath ("C:\Saved"+(Split-Path $_.FullName -NoQualifier)) -Maxretries 2} +## +## Get-ChildItem '*.jpg' -Recurse -File -Force | foreach {.\Force-Copy.ps1 -SourceFilePath $_.FullName -DestinationFilePath ("C:\Saved"+(Split-Path $_.FullName -NoQualifier)) -Maxretries 2 -Overwrite} +## +## This command will copy all jpg's beginning with "Total" and copy them to "C:\Saved\relative_path" preserving their relative path. +## When run the second time, the script will only try to reread the bad blocks in the source file, skipping data which was copied well in the previous run. This can be used to efficiently retry reading bad blocks. +## +## .EXAMPLE +## .\Force-Copy.ps1 -SourceFilePath "file_path_on_bad_disk" -DestinationFilePath "destinaton_path" -MaxRetries 6 -Position 1867264 -PositionEnd (1867264+4096) +## +## Suppose you have a repairable rar file, which you tried to repair, and it reports that the sector 3647 at offsets 1867264..1871360 can not be repaired. You can still try to read that specific sector with the above command. +## +## .EXAMPLE +## .\Force-Copy.ps1 -SourceFilePath "file_path_on_bad_disk" -DestinationFilePath "destinaton_path" -MaxRetries 6 -BufferSize 33554432 -BufferGranularSize 4096 +## +## This will quickly copy the file using a 32 MB buffer, and if it encounters an error, it will retry using a 4K buffer (so you get the best of both worlds, performance of a large buffer, and the minimized data loss of a smaller buffer). +######################### + +[CmdletBinding()] +param( + [Parameter(Mandatory=$true, + ValueFromPipeline=$true, + HelpMessage="Source file path.")] + [string][ValidateScript({Test-Path -LiteralPath $_ -Type Leaf})]$SourceFilePath, + [Parameter(Mandatory=$true, + ValueFromPipeline=$true, + HelpMessage="Destination file path.")] + [string][ValidateScript({Test-Path -LiteralPath $_ -IsValid})]$DestinationFilePath, + [Parameter(Mandatory=$false, + ValueFromPipeline=$false, + HelpMessage="Buffer size in bytes.")] + [int32]$BufferSize=512*2*2*2, # 4096: the default windows cluster size. + [Parameter(Mandatory=$false, + ValueFromPipeline=$false, + HelpMessage="Amount of tries.")] + [int16]$MaxRetries=0, + [Parameter(Mandatory=$false, + ValueFromPipeline=$false, + HelpMessage="Overwrite destination file?")] + [switch]$Overwrite=$false, + [Parameter(Mandatory=$false, + ValueFromPipeline=$true, + HelpMessage="Specify position from which to read block.")] + [int64]$Position=0, # must be 0, current limitation + [Parameter(Mandatory=$false, + ValueFromPipeline=$true, + HelpMessage="Specify end position for reading.")] + [int64]$PositionEnd=-1, # must be -1, current limitation + [Parameter(Mandatory=$false, + ValueFromPipeline=$false, + HelpMessage="Ignore the existing badblocks.xml file?")] + [switch]$IgnoreBadBlocksFile=$false, # not implemented + [Parameter(Mandatory=$false, + ValueFromPipeline=$false, + HelpMessage="Will the source file be deleted in case no bad blocks are encountered?")] + [switch]$DeleteSourceOnSuccess=$false, + [Parameter(Mandatory=$false, + ValueFromPipeline=$false, + HelpMessage="Failback granular buffer size. Set BufferSize to a large value for speed, but revert to using a BufferGranularSize buffer when there is a read error.")] + [int32]$BufferGranularSize=-1, # If > 0, use a larger buffer for speed, and only revert to granular size on an error block. Should be and exact divisor of buffer (BufferSize should be a multiple of BufferGranularSize) + [Parameter(Mandatory=$false, + ValueFromPipeline=$true, + HelpMessage="Write-Progress Bar Parent Id.")] + [int32]$ProgressParentId=-1 +) + +Set-StrictMode -Version 2; + +# Simple assert function from http://poshcode.org/1942 +function Assert { +# Example +# set-content C:\test2\Documents\test2 "hi" +# C:\PS>assert { get-item C:\test2\Documents\test2 } "File wasn't created by Set-Content!" +# +[CmdletBinding()] +param( + [Parameter(Position=0,ParameterSetName="Script",Mandatory=$true)] + [ScriptBlock]$condition +, + [Parameter(Position=0,ParameterSetName="Bool",Mandatory=$true)] + [bool]$success +, + [Parameter(Position=1,Mandatory=$true)] + [string]$message +) + + $message = "ASSERT FAILED: $message" + + if($PSCmdlet.ParameterSetName -eq "Script") { + try { + $ErrorActionPreference = "STOP" + $success = &$condition + } catch { + $success = $false + $message = "$message`nEXCEPTION THROWN: $($_.Exception.GetType().FullName)" + } + } + if(!$success) { + throw $message + } +} + +# Forces read on Stream and returns total number of bytes read into buffer. +function Force-Read() { +param( + [Parameter(Mandatory=$true)] + [System.IO.FileStream]$Stream, + [Parameter(Mandatory=$true)] + [int64]$Position, + [Parameter(Mandatory=$true)] + [ref]$Buffer, + [Parameter(Mandatory=$true)] + [ref]$Successful, + [Parameter(Mandatory=$false)] + [int16]$MaxRetries=0 +) + + $Stream.Position = $Position; + $FailCounter = 0; + $Successful.Value = $false; + + while (-not $Successful.Value) { + + try { + + $ReadLength = $Stream.Read($Buffer.Value, 0, $Buffer.Value.Length); + # If the read operation is successful, the current position of the stream is advanced by the number of bytes read. If an exception occurs, the current position of the stream is unchanged. (http://msdn.microsoft.com/en-us/library/system.io.filestream.read.aspx) + + } catch [System.IO.IOException] { + + $ShouldHaveReadSize = [math]::Min([int64] $Buffer.Value.Length, ($Stream.Length - $Stream.Position)); + + if (++$FailCounter -le $MaxRetries) { # Retry to read block + + Write-Host $FailCounter"th retry to read "$ShouldHaveReadSize" bytes starting at "$($Stream.Position)" bytes." -ForegroundColor "DarkYellow"; + Write-Debug "Debugging read retry..."; + + continue; + + } else { # Failed read of block. + + Write-Host "Can not read"$ShouldHaveReadSize" bytes starting at "$($Stream.Position)" bytes: "$($_.Exception.message) -ForegroundColor "DarkRed"; + Write-Debug "Debugging read failure..."; + + # Should be here ONLY on UNsuccessful read! + # $Successful is $false by default; + $Buffer.Value = New-Object System.Byte[] ($Buffer.Value.Length); + return $ShouldHaveReadSize; + + } + + } catch { + + Write-Warning "Unhandled error at $($Stream.position) bit: $($_.Exception.message)"; + Write-Debug "Unhandled error. You should debug."; + + throw $_; + + } + + if ($FailCounter -gt 0) { # There were prior read failures + Write-Host "Successfully read"$ReadLength" bytes starting at "$($SourceStream.Position - $ReadLength)" bytes." -ForegroundColor "DarkGreen"; + } + + # Should be here ONLY on successful read! + $Successful.Value = $true; + # Buffer is allready set during successful read. + return $ReadLength; + + } + + throw "Should not be here..."; +} + +# Returns a custom object for storing bad block data. +function New-Block() { + param ([int64] $OffSet, [int32] $Size) + + $block = new-object PSObject + + Add-Member -InputObject $block -MemberType NoteProperty -Name "OffSet" -Value $OffSet; + Add-Member -InputObject $block -MemberType NoteProperty -Name "Size" -Value $Size; + + return $block; +} + +function Force-Copy-ProgressReport (){ +param ( + [Parameter(Mandatory=$true)] + [int64]$Position, + [Parameter(Mandatory=$true)] + [int64]$PositionEnd, + [Parameter(Mandatory=$true)] + [string] $LatestThroughput, + [Parameter(Mandatory=$true)] + [string] $DetailedStatus +) + + # Report total percent done + [float] $CurrProgress = $Position/$PositionEnd * 100; + [string] $fName = (Split-Path $SourceFilePath -Leaf) + [string] $fPath = (Split-Path $SourceFilePath -Parent) + Write-Progress -Activity "Force-Copy" -Status "Copying $fName ($LatestThroughput MB/s) from $fPath" -percentComplete ($CurrProgress) -CurrentOperation $DetailedStatus -ParentId $ProgressParentId; + + # Report block being read (only every so often, to avoid flicker and wasted processing) + # Write-Progress -Id 1 -Activity "Force-Copy" -Status $DetailedStatus -percentComplete (-1); +} + +# Snity checks +if ((Test-Path -LiteralPath $DestinationFilePath) -and -not $Overwrite) { + Write-Host "Destination file $DestinationFilePath allready exists and -Overwrite not specified. Exiting." -ForegroundColor "Red"; + exit 2; +} +Assert {$Position -eq 0 -and $PositionEnd -eq -1} "Current limitation: Position and PositionEnd should be 0 and -1 respectively."; + +if ($BufferGranularSize -gt 0) { + Assert {(($BufferSize % $BufferGranularSize) -eq 0) -and ($BufferSize -gt $BufferGranularSize)} "BufferSize must be larger and divisible by BufferGranularSize."; +} + +# Setting global variables +$DestinationFileBadBlocksPath = $DestinationFilePath + '.badblocks.xml'; +$DestinationFileBadBlocks = @(); + +# Fetching SOURCE file +$SourceFile = Get-Item -LiteralPath $SourceFilePath; +Assert {$Position -lt $SourceFile.length} "Specified position out of source file bounds."; + +# Fetching DESTINATION file. +if (-not (Test-Path -LiteralPath ($DestinationParentFilePath = Split-Path -Path $DestinationFilePath -Parent) -PathType Container)) { # Make destination parent folder in case it doesn't exist. + New-Item -ItemType Directory -Path $DestinationParentFilePath | Out-Null; +} +$DestinationFile = New-Object System.IO.FileInfo ($DestinationFilePath); # Does not (!) physicaly make a file. +$NewDestinationFile = -not $DestinationFile.Exists; + +# Special handling for DESTINATION file in case OVERWRITE is used! Only bad block are read from source! +if ($Overwrite -and (Test-Path -LiteralPath $DestinationFilePath)) { + + # Make sure the Source and Destination files have the same length prior to overwrite! + Assert {$SourceFile.Length -eq $DestinationFile.Length} "Source and destination file have not the same size!" + + # Search for badblocks.xml - if it doesn't exist then the file is probably OK, so don't do anything! + if (-not (Test-Path -LiteralPath $DestinationFileBadBlocksPath)) { + + Write-Host "Destination file $DestinationFilePath has no bad blocks. It is unwise to continue... Exiting." -ForegroundColor "Red"; + exit 3; + + } else { # There is a $DestinationFileBadBlocksPath + + $DestinationFileBadBlocks = Import-Clixml $DestinationFileBadBlocksPath; + Write-Host "Badblocks.xml successfully imported. Destination file has $(($DestinationFileBadBlocks | Measure-Object -Sum -Property Size).Sum) bad bytes." -ForegroundColor "Yellow"; + + # Make sure destination file has bad blocks. + if ($DestinationFileBadBlocksPath.Length -eq 0) { + Write-Host "Destination file $DestinationFilePath has no bad blocks according to badblocks.xml. Should not overwrite... Exiting." -ForegroundColor "Red"; + exit 3; + } + + # When using $BufferGranularSize (or other gradual retry logic), it could be writting different size blocks to badblocks file. What would be the implications if it did? + Assert {($DestinationFileBadBlocks | Measure-Object -Average -Property Size).Average -eq $BufferSize } "Block sizes do not match between source and destination file. Can not continue." # This is currently an implementation shortcomming. + + } +} + +# Making buffer +$Buffer = New-Object -TypeName System.Byte[] -ArgumentList $BufferSize; + +# Making container for storing missread offsets. +$UnreadableBlocks = @(); + +# Making filestreams +$SourceStream = $SourceFile.OpenRead(); +$DestinationStream = $DestinationFile.OpenWrite(); +if (-not $?) {exit 4;} + +# Measure time between progress reports to avoid wasting resources (and adding wait times for the UI to redraw) +[TimeSpan] $ReportEvery = New-TimeSpan -Seconds 10; # Wait 10 seconds before first report, then every 3 +[TimeSpan] $ReportWaitAfterward = New-TimeSpan -Seconds 3; # Update every 3 seconds after first report +[TimeSpan] $ThroughputRefreshEvery = $ReportEvery - (New-TimeSpan -Seconds 2); # Wait 8+ seconds to recalculate throuput +[Diagnostics.Stopwatch] $sw = [Diagnostics.Stopwatch]::StartNew(); +[TimeSpan] $LatestReportedAt = $sw.Elapsed; +[TimeSpan] $LatestThroughputReportedAt = $LatestReportedAt; +[int64] $InitialPosition = $Position # Remember initial $Position value (before it is changed during iterations) for final throughput calc +[int64] $ThroughputLastPosition = $Position; # Initial position to calculate throughput +[float] $ThroughputLast = 0; # MB/s throughput as of last refresh +[int64] $GranularOverallBadSizeTotal = 0; + +# Measure time between progress reports to avoid wasting resources (and adding wait times for the UI to redraw) +[TimeSpan] $ReportEvery = New-TimeSpan -Seconds 10; # Wait 10 seconds before first report, then every 3 +[TimeSpan] $ReportWaitAfterward = New-TimeSpan -Seconds 3; # Update every 3 seconds after first report +[TimeSpan] $ThroughputRefreshEvery = $ReportEvery - (New-TimeSpan -Seconds 2); # Wait 8+ seconds to recalculate throuput +[Diagnostics.Stopwatch] $sw = [Diagnostics.Stopwatch]::StartNew(); +[TimeSpan] $LatestReportedAt = $sw.Elapsed; +[TimeSpan] $LatestThroughputReportedAt = $LatestReportedAt; +[int64] $InitialPosition = $Position # Remember initial $Position value (before it is changed during iterations) for final throughput calc +[int64] $ThroughputLastPosition = $Position; # Initial position to calculate throughput +[float] $ThroughputLast = 0; # MB/s throughput as of last refresh +[int64] $GranularOverallBadSizeTotal = 0; + +if ($PositionEnd -le -1) {$PositionEnd = $SourceStream.Length} + +# Copying starts here +Write-Host "Starting copying of $SourceFilePath..." -ForegroundColor "Green"; + +[bool] $ReadSuccessful = $false; + +while ($Position -lt $PositionEnd) { + + # Report progress so far + # Only report every so often, to avoid flicker and wasted processing/wait times + if( ($LatestReportedAt + $ReportEvery) -le $sw.Elapsed) { + + # Update throughput calculation + if( ($LatestThroughputReportedAt + $ThroughputRefreshEvery) -le $sw.Elapsed) { + $ThroughputLast = [math]::Round(($Position - $ThroughputLastPosition) / 1024 / 1024 / ($sw.Elapsed - $LatestThroughputReportedAt).TotalSeconds, 2); + $LatestThroughputReportedAt = $sw.Elapsed; + $ThroughputLastPosition = $Position; + } + + # Update progress bar(s) + Force-Copy-ProgressReport -Position $Position -PositionEnd $PositionEnd -LatestThroughput $ThroughputLast ` + -DetailedStatus "Reading block ($BufferSize bytes) at position $Position" + + # Update interval variables + $LatestReportedAt = $sw.Elapsed; + $ReportEvery = $ReportWaitAfterward; # Switch to 3 seconds after the initial wait + } + + if ($NewDestinationFile -or + ($PositionMarkedAsBad = $DestinationFileBadBlocks | % {if (($_.Offset -le $Position) -and ($Position -lt ($_.Offset + $_.Size))) {$true;}})) { + + if (($Position -eq 0) -or -not $LastReadFromSource) {Write-Host "Started reading from source file at offset $Position." -ForegroundColor "DarkRed";} + $LastReadFromSource = $true; + + [bool] $GranularLogicUsed = $false; + + # Force read a block from source + if (($BufferGranularSize -gt 0) -and ($MaxRetries -gt 0) ) { + # Try once w/o retries + $ReadLength = Force-Read -Stream $SourceStream -Position $Position -Buffer ([ref] $Buffer) -Successful ([ref] $ReadSuccessful) -MaxRetries 0; + + # If failed, then go again retrying with smaller buffer + if (-not $ReadSuccessful) { + # Granular logic could probably use more testing (extreme cases, like error in last block of file). + # Maybe try and use Holodeck (now open source), see http://stackoverflow.com/questions/4430591/simulating-file-errors-e-g-error-access-denied-on-windows + + # Flag we are switched to smaller buffer (so it doesn't write to output in outer if) + $GranularLogicUsed = $true; + + # Better way to log it, actually granular? Or just ignore the outer buffer size for badblocks purposes (it's unlikely that people will be mixing versions of the script with prior badblock with different sizes) + # $UnreadableBlocks += New-Block -OffSet $Position -Size $ReadLength; + + Write-Host "Switching to granular logic at $Position." -ForegroundColor "DarkGreen"; + + # Allocate granular buffer + $GranularBuffer = New-Object -TypeName System.Byte[] -ArgumentList $BufferGranularSize; + + # Could probably try and refactor with outer loop (and/or refactor conditional), but it could be error prone. For now better duplicate some of the outer loop logic with local variables + # Could also try and do it inside Force-Read (and might be more elegant), but that might have other issues + # Maybe better yet, could refactor into a recursive version, so it would gradually lower the granular buffer size, so it doesn't loose all the speed when it hits an error + [int64] $GranularPosition = $Position; + [int64] $GranularLastPosition = [math]::Min([int64] $Position + $BufferSize, $PositionEnd); + [int64] $GranularReadLength = -1; + [int64] $GranularReadLengthTotal = 0; + [bool] $GranularReadSuccessful = $false; + + while ($GranularPosition -lt $GranularLastPosition) { + # Update progress report + if( ($LatestReportedAt + $ReportEvery) -le $sw.Elapsed) { + if( ($LatestThroughputReportedAt + $ThroughputRefreshEvery) -le $sw.Elapsed) { + $ThroughputLast = [math]::Round(($GranularPosition - $ThroughputLastPosition) / 1024 / 1024 / ($sw.Elapsed - $LatestThroughputReportedAt).TotalSeconds, 2); + $LatestThroughputReportedAt = $sw.Elapsed; + $ThroughputLastPosition = $GranularPosition; + } + + Force-Copy-ProgressReport -Position $GranularPosition -PositionEnd $PositionEnd -LatestThroughput $ThroughputLast ` + -DetailedStatus "Granular reading $BufferGranularSize bytes block at position $GranularPosition" + + $LatestReportedAt = $sw.Elapsed; + $ReportEvery = $ReportWaitAfterward; + } + + $GranularReadLength = Force-Read -Stream $SourceStream -Position $GranularPosition -Buffer ([ref] $GranularBuffer) -Successful ([ref] $GranularReadSuccessful) -MaxRetries ($MaxRetries); + + if (-not $GranularReadSuccessful) { + $GranularOverallBadSizeTotal += $GranularReadLength; + } + + # Here we could log a more granular version of badblocks + $UnreadableBlocks += New-Block -OffSet $GranularPosition -Size $GranularReadLength; + + # Write to destination file. + $DestinationStream.Position = $GranularPosition; + $DestinationStream.Write($GranularBuffer, 0, $GranularReadLength); + + $GranularPosition += $GranularReadLength; + $GranularReadLengthTotal += $GranularReadLength; + } + + $ReadLength = $GranularReadLengthTotal; + + # Does it need an escape clause like $LastReadFromSource (see below) + } + + } else { + + # Original logic w/o granular buffer + $ReadLength = Force-Read -Stream $SourceStream -Position $Position -Buffer ([ref] $Buffer) -Successful ([ref] $ReadSuccessful) -MaxRetries $MaxRetries; + + } + + if (-not $GranularLogicUsed) { + if (-not $ReadSuccessful) { + $UnreadableBlocks += New-Block -OffSet $Position -Size $ReadLength; + } + + # Write to destination file. + $DestinationStream.Position = $Position; + $DestinationStream.Write($Buffer, 0, $ReadLength); + } + + + } else { + + if ($Position -eq 0 -or $LastReadFromSource) {Write-Host "Skipping from offset $Position." -ForegroundColor "DarkGreen";} + $LastReadFromSource = $false; + + # Skipping block. + $ReadLength = $BufferSize; + + } + + $Position += $ReadLength; # adjust position + +} + +$SourceStream.Dispose(); +$DestinationStream.Dispose(); + +$sw.Stop(); + +if ($UnreadableBlocks) { + + # Write summaryamount of bad blocks. + if ($BufferGranularSize -gt 0) { + Write-Host "Up to $GranularOverallBadSizeTotal bytes are bad." -ForegroundColor "Magenta"; + } else { + Write-Host "$(($UnreadableBlocks | Measure-Object -Sum -Property Size).Sum) bytes are bad." -ForegroundColor "Magenta"; + } + + # Export badblocks.xml file. + Export-Clixml -LiteralPath ($DestinationFileBadBlocksPath) -InputObject $UnreadableBlocks; + +} elseif (Test-Path -LiteralPath $DestinationFileBadBlocksPath) { # No unreadable blocks and badblocks.xml exists. + + Remove-Item -LiteralPath $DestinationFileBadBlocksPath; +} + +# Set creation and modification times +$DestinationFile.CreationTimeUtc = $SourceFile.CreationTimeUtc; +$DestinationFile.LastWriteTimeUtc = $SourceFile.LastWriteTimeUtc; +$DestinationFile.IsReadOnly = $SourceFile.IsReadOnly; + +[string] $FinalTimeStr = $sw.Elapsed.ToString(); +[float] $ThroughputMBperS = [math]::Round( ($PositionEnd - $InitialPosition) / 1024 / 1024 / $sw.Elapsed.TotalSeconds, 2); +Write-Host "Copied $PositionEnd bytes in $FinalTimeStr ($ThroughputMBperS MB/s)" -ForegroundColor "Green"; +Write-Host "Finished copying $SourceFilePath!`n" -ForegroundColor "Green"; + +# Return specific code. +if ($UnreadableBlocks) { + exit 1; +} else { + exit 0; +} From a584308995a117ca43b831b386f464062001d78e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 30 Jul 2025 10:49:52 +0200 Subject: [PATCH 411/737] Updated write-help.ps1 --- scripts/write-help.ps1 | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/scripts/write-help.ps1 b/scripts/write-help.ps1 index 577ca1d6c..81b6ce8d3 100755 --- a/scripts/write-help.ps1 +++ b/scripts/write-help.ps1 @@ -19,8 +19,9 @@ function Blue([string]$line) { } try { - White "█████████████████████████████████████`n" - White "█████████████████████████████████████ 👋 Welcome to POWERSHELL $($PSVersionTable.PSVersion) $($PSVersionTable.PSEdition) edition`n" + Write-Host "" + White "█████████████████████████████████████ PowerShell $($PSVersionTable.PSVersion) $($PSVersionTable.PSEdition) Edition`n" + White "█████████████████████████████████████ ------------------------------------------`n" White "████ ▄▄▄▄▄ █▀ █▀▀█▀▀ ▄▄██ ▄▄▄▄▄ ████`n" White "████ █ █ █▀ ▄ █▀ ▀ ▀▄█ █ █ █ ████ Documentation: "; Blue "https://docs.microsoft.com/en-us/powershell`n" White "████ █▄▄▄█ █▀█ █▄▀▄▀ ▀ ▄▄█ █▄▄▄█ ████`n" @@ -28,18 +29,18 @@ try { White "████▄▄ ▄█▄▄ ▄█▄▄ █▀ ▀▀▀ ▀▄▀▄█▄▀████`n" White "████▀▄▄█▀█▄██ ▀ ▄▄▀ █▄█▀ ▀ ▄▀▀█▀█████ Video tutorials: "; Blue "https://www.youtube.com/results?search_query=PowerShell`n" White "█████ ▄▄█▄▄▀▄ ▀▄▀ ▄▄ ▀ ▀▀▀ ▀▄▄█▀████`n" - White "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████ Type 'Get-Help ' to display information about `n" + White "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████ FAQ's: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md`n" White "████ ████▄▄ ▄█▄▄▄██ ▀ ▀▀▀▀▄ █▀████`n" - White "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████ FAQ's: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md`n" + White "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████ Cheat sheet: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md`n" White "████▄█▄███▄▄▀▄▄▄▀ ▄▄ ▄▀▄ ▄▄▄ ▀ ████`n" - White "████ ▄▄▄▄▄ █▄▄▄█▀█▄ ██ █▄█ ▄▄█▀████ 500+ sample scripts: "; Blue "https://github.com/fleschutz/PowerShell`n" + White "████ ▄▄▄▄▄ █▄▄▄█▀█▄ ██ █▄█ ▄▄█▀████ Sample scripts: "; Blue "https://github.com/fleschutz/PowerShell`n" White "████ █ █ █ ▀▄█▄ ▄▄ ▀█ ▄▄▄▄▀ ████`n" - White "████ █▄▄▄█ █ ██ ▄█▄ ▄▀▀▀ ▄▄ ▄ █████ Cheat sheet: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md`n" + White "████ █▄▄▄█ █ ██ ▄█▄ ▄▀▀▀ ▄▄ ▄ █████ Type 'Get-Help ' to display information about `n" White "████▄▄▄▄▄▄▄█▄▄█▄▄████▄▄▄██▄▄▄█▄██████`n" - White "█████████████████████████████████████ NOTE: use + to open the links in your browser.`n" + White "█████████████████████████████████████ HINT: press + to follow the links.`n" White "█████████████████████████████████████`n" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptWhiteNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } From fd6d2506b66c6d008f403e0dead77ff9c2bb0961 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 31 Jul 2025 19:28:39 +0200 Subject: [PATCH 412/737] Improved write-progress-bar.ps1 --- scripts/write-progress-bar.ps1 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/write-progress-bar.ps1 b/scripts/write-progress-bar.ps1 index ef4fbc2e9..932e10aab 100755 --- a/scripts/write-progress-bar.ps1 +++ b/scripts/write-progress-bar.ps1 @@ -1,8 +1,7 @@ $progressBar = @('⣾','⣽','⣻','⢿','⡿','⣟','⣯','⣷') -$progressIndex = 0 -do { - Write-Host "`r$($progressBar[$progressIndex]) Working on something..." -NoNewline - $progressIndex = ($progressIndex + 1) % $progressBar.Length +for ([int]$i = 0; $i -lt 150; $i++) { + Write-Host "`r$($progressBar[$i % 7]) Working on something..." -NoNewline Start-Sleep -milliseconds 100 -} while ($true) \ No newline at end of file +} +exit 0 # success From 4546dbc5dd53c9dd2f0671d15c1a99e605010671 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 1 Aug 2025 07:19:00 +0200 Subject: [PATCH 413/737] Updated open-dashboards.ps1 --- scripts/open-dashboards.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/open-dashboards.ps1 b/scripts/open-dashboards.ps1 index 1b6a145a6..8f32a0c3c 100755 --- a/scripts/open-dashboards.ps1 +++ b/scripts/open-dashboards.ps1 @@ -7,7 +7,7 @@ Specifies the time interval between each tab (110ms per default) .EXAMPLE PS> ./open-dashboards.ps1 - ⏳ Launching Web browser with 24 tabs: Toggl Track•Google Calendar•Google Mail, ... + ⏳ Launching Web browser with 24 tabs: Toggl Track,Google Calendar,Google Mail,... NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically. .LINK https://github.com/fleschutz/PowerShell @@ -27,7 +27,7 @@ try { Write-Host "⏳ Launching Web browser with $numRows tabs: " -noNewline foreach($row in $table) { - Write-Host "$($row.NAME)•" -noNewline + Write-Host "$($row.NAME)," -noNewline & "$PSScriptRoot/open-default-browser.ps1" "$($row.URL)" Start-Sleep -milliseconds $timeInterval } @@ -35,6 +35,6 @@ try { Write-Host "NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } From a810a033876f91397975387a9b4d92d900f8ddaf Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 3 Aug 2025 16:16:36 +0200 Subject: [PATCH 414/737] Updated install-updates.ps1 --- scripts/install-updates.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install-updates.ps1 b/scripts/install-updates.ps1 index 573788181..0c39f5d42 100755 --- a/scripts/install-updates.ps1 +++ b/scripts/install-updates.ps1 @@ -6,11 +6,11 @@ HINT: Use the script 'list-updates.ps1' to list the latest software updates in advance. .EXAMPLE PS> ./install-updates.ps1 - ⏳ (1/2) Checking update requirements... + ⏳ (1/2) Checking requirements... ✅ Drive C: uses 56% of 1TB: 441GB free ✅ Swap space uses 22% of 4GB: 3GB free - ⏳ (2/2) Checking Microsoft Store for updates... + ⏳ (2/2) Querying Microsoft Store... ... .LINK https://github.com/fleschutz/PowerShell @@ -54,17 +54,17 @@ try { & "$PSScriptRoot/check-swap-space.ps1" Start-Sleep -seconds 3 "" - "⏳ (2/4) Checking Microsoft Store for updates..." + "⏳ (2/4) Querying Microsoft Store..." if (Get-Command winget -errorAction SilentlyContinue) { & winget upgrade --all --source=msstore --include-unknown } "" - "⏳ (3/4) Checking WinGet for updates..." + "⏳ (3/4) Querying WinGet..." if (Get-Command winget -errorAction SilentlyContinue) { & winget upgrade --all --source=winget --include-unknown } "" - "⏳ (4/4) Checking Chocolatey for updates..." + "⏳ (4/4) Querying Chocolatey..." if (Get-Command choco -errorAction SilentlyContinue) { & choco upgrade all -y } From 310fcbe2b3a5abdb1014ad9187ce746f370e8a7d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 4 Aug 2025 09:08:35 +0200 Subject: [PATCH 415/737] Improved check-symlinks.ps1 --- scripts/check-symlinks.ps1 | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/scripts/check-symlinks.ps1 b/scripts/check-symlinks.ps1 index 42111f082..f6c7dea21 100755 --- a/scripts/check-symlinks.ps1 +++ b/scripts/check-symlinks.ps1 @@ -1,13 +1,13 @@ <# .SYNOPSIS - Checks all symlinks in a folder + Checks all symlinks in a dir tree .DESCRIPTION This PowerShell script checks all symbolic links in a directory tree. It returns the number of broken symlinks as exit value. -.PARAMETER folder - Specifies the path to the folder +.PARAMETER path + Specifies the file path to the directory tree .EXAMPLE PS> ./check-symlinks D:\ - ⏳ Please wait while checking symlinks at: 📂D:\ ... + ⏳ Checking symlinks at 'D:\'... (please wait) ✅ Found 0 broken symlinks at 📂D:\ in 60s. .LINK https://github.com/fleschutz/PowerShell @@ -15,14 +15,14 @@ Author: Markus Fleschutz | License: CC0 #> -param([string]$Folder = "") +param([string]$path = "") try { - if ($Folder -eq "" ) { $Folder = Read-Host "Enter the path to the folder" } + if ($path -eq "" ) { $path = Read-Host "Enter the path to the folder" } $stopWatch = [system.diagnostics.stopwatch]::startNew() - $fullPath = Resolve-Path "$Folder" - "⏳ Please wait while checking symlinks at 📂$fullPath ..." + $fullPath = Resolve-Path "$path" + "⏳ Checking symlinks at '$fullPath'... (please wait)" [int]$numTotal = [int]$numBroken = 0 Get-ChildItem $fullPath -recurse | Where { $_.Attributes -match "ReparsePoint" } | ForEach-Object { @@ -41,14 +41,16 @@ try { [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($numTotal -eq 0) { - "✅ No symlink found at 📂$fullPath in $($elapsed)s." + "✅ No symlinks at $fullPath (took $($elapsed)s)." + } elseif ($numBroken -eq 0) { + "✅ No broken symlinks at $fullPath (found $numTotal symlinks, took $($elapsed)s)." } elseif ($numBroken -eq 1) { - "✅ Found $numBroken broken symlink at 📂$fullPath in $($elapsed)s ($numTotal symlinks in total)." + "⚠️ 1 broken symlink at $fullPath (found $numTotal symlinks, took $($elapsed)s)." } else { - "✅ Found $numBroken broken symlinks at 📂$fullPath in $($elapsed)s ($numTotal symlinks in total)." + "⚠️ $numBroken broken symlinks at $fullPath (found $numTotal symlinks, took $($elapsed)s)." } exit $numBroken } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } From 93ae529ca3f6bf62231c2ab015096d5b0b2be3bd Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 4 Aug 2025 09:25:06 +0200 Subject: [PATCH 416/737] Updated check-symlinks.ps1 --- scripts/check-symlinks.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/check-symlinks.ps1 b/scripts/check-symlinks.ps1 index f6c7dea21..5de163de9 100755 --- a/scripts/check-symlinks.ps1 +++ b/scripts/check-symlinks.ps1 @@ -6,9 +6,9 @@ .PARAMETER path Specifies the file path to the directory tree .EXAMPLE - PS> ./check-symlinks D:\ - ⏳ Checking symlinks at 'D:\'... (please wait) - ✅ Found 0 broken symlinks at 📂D:\ in 60s. + PS> ./check-symlinks C:\Windows + ⏳ Checking symlinks at 'C:\Windows'... (please wait) + ✅ No symlinks at C:\Windows (took 102s). .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -18,7 +18,7 @@ param([string]$path = "") try { - if ($path -eq "" ) { $path = Read-Host "Enter the path to the folder" } + if ($path -eq "" ) { $path = Read-Host "Enter the file path to the directory tree" } $stopWatch = [system.diagnostics.stopwatch]::startNew() $fullPath = Resolve-Path "$path" From 5ce6b797a4280307ef5074011517c3bccca18d6d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 4 Aug 2025 10:16:00 +0200 Subject: [PATCH 417/737] Updated build-repo.ps1 --- scripts/build-repo.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index 06ed345ea..07562d7ae 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -10,7 +10,7 @@ PS> ./build-repo.ps1 C:\Repos\ninja ⏳ Building 'ninja' by executing 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 @@ -158,7 +158,7 @@ try { if ($global:results -eq "") { "✅ Build of '$dirName' succeeded in $($elapsed)s." } else { - "✅ Build of '$dirName' succeeded in $($elapsed)s, results in: 📂$($global:results)" + "✅ Build of '$dirName' succeeded in $($elapsed)s, results at: 📂$($global:results)" } exit 0 # success } catch { From 9b432438c7dca0e5ce294d0697223bb11c059719 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 4 Aug 2025 10:41:01 +0200 Subject: [PATCH 418/737] Updated install-basic-apps.ps1 --- scripts/install-basic-apps.ps1 | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/scripts/install-basic-apps.ps1 b/scripts/install-basic-apps.ps1 index f6fe1e59a..eb96d6d59 100755 --- a/scripts/install-basic-apps.ps1 +++ b/scripts/install-basic-apps.ps1 @@ -6,10 +6,11 @@ NOTE: Apps from Microsoft Store are preferred (due to security and automatic updates). .EXAMPLE PS> ./install-basic-apps.ps1 - ⏳ (1) Loading data/basic-apps.csv... 37 apps listed - ⏳ (2) Applications to install/upgrade: 7-Zip · Aquile Reader ... + ⏳ (1) Loading basic-apps.csv from data/ folder... + ⏳ (2) Will install/upgrade 39 basic apps: 7-Zip, Aquile Reader ... + NOTE: Installation starts in 15 seconds or press to abort... ... - ✅ Installed 37 basic apps (0 skipped) in 387 sec. + ✅ 39 basic apps installed (0 skipped, took 387s) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -21,18 +22,16 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() - Write-Host "⏳ (1) Loading data/basic-apps.csv... " -noNewline + Write-Host "⏳ (1) Loading basic-apps.csv from data/ folder..." $table = Import-CSV "$PSScriptRoot/../data/basic-apps.csv" $numEntries = $table.count - "$numEntries apps listed" - Write-Host "⏳ (2) Applications to install/upgrade: " -noNewline + Write-Host "⏳ (2) Will install/upgrade $numEntries basic apps: " -noNewline foreach($row in $table) { [string]$appName = $row.APPLICATION - Write-Host "$appName · " -noNewline + Write-Host "$appName, " -noNewline } "" - "" - "The installation will start in 15 seconds or press to abort..." + "NOTE: Installation starts in 15 seconds or press to abort..." Start-Sleep -seconds 15 [int]$step = 3 @@ -43,13 +42,13 @@ try { [string]$appID = $row.APPID Write-Host " " Write-Host "⏳ ($step/$($numEntries + 2)) Installing $category '$appName'..." - & winget install --id $appID --accept-package-agreements --accept-source-agreements + & winget install --id $appID --silent --accept-package-agreements --accept-source-agreements if ($lastExitCode -ne 0) { $numSkipped++ } $step++ } [int]$numInstalled = ($numEntries - $numSkipped) [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Installed $numInstalled basic apps ($numSkipped skipped) in $elapsed sec." + "✅ $numInstalled basic apps installed ($numSkipped skipped, took $($elapsed)s)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." From cd36ea76b7b8d25c176f6a2eaabbf1b73fa758c9 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 5 Aug 2025 14:20:20 +0200 Subject: [PATCH 419/737] Updated check-symlinks.ps1 --- scripts/check-symlinks.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/check-symlinks.ps1 b/scripts/check-symlinks.ps1 index 5de163de9..bddcdbc16 100755 --- a/scripts/check-symlinks.ps1 +++ b/scripts/check-symlinks.ps1 @@ -7,7 +7,7 @@ Specifies the file path to the directory tree .EXAMPLE PS> ./check-symlinks C:\Windows - ⏳ Checking symlinks at 'C:\Windows'... (please wait) + ⏳ Checking symlinks at C:\Windows including subfolders... ✅ No symlinks at C:\Windows (took 102s). .LINK https://github.com/fleschutz/PowerShell @@ -22,7 +22,7 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() $fullPath = Resolve-Path "$path" - "⏳ Checking symlinks at '$fullPath'... (please wait)" + "⏳ Checking symlinks at $fullPath including subfolders..." [int]$numTotal = [int]$numBroken = 0 Get-ChildItem $fullPath -recurse | Where { $_.Attributes -match "ReparsePoint" } | ForEach-Object { @@ -43,11 +43,11 @@ try { if ($numTotal -eq 0) { "✅ No symlinks at $fullPath (took $($elapsed)s)." } elseif ($numBroken -eq 0) { - "✅ No broken symlinks at $fullPath (found $numTotal symlinks, took $($elapsed)s)." + "✅ No broken symlinks at $fullPath ($numTotal symlinks in total, took $($elapsed)s)." } elseif ($numBroken -eq 1) { - "⚠️ 1 broken symlink at $fullPath (found $numTotal symlinks, took $($elapsed)s)." + "⚠️ 1 broken symlink within $fullPath ($numTotal symlinks in total, took $($elapsed)s)." } else { - "⚠️ $numBroken broken symlinks at $fullPath (found $numTotal symlinks, took $($elapsed)s)." + "⚠️ $numBroken broken symlinks within $fullPath ($numTotal symlinks in total, took $($elapsed)s)." } exit $numBroken } catch { From a5a96e2aec31bcc6a126c34774c1da68b373be28 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 5 Aug 2025 14:51:03 +0200 Subject: [PATCH 420/737] Updated list-coffee-prices.ps1 --- scripts/list-coffee-prices.ps1 | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/list-coffee-prices.ps1 b/scripts/list-coffee-prices.ps1 index b68c3cf4f..cb8638c0a 100755 --- a/scripts/list-coffee-prices.ps1 +++ b/scripts/list-coffee-prices.ps1 @@ -43,17 +43,18 @@ try { Write-Progress -completed "Done." "" - "Monthly $($prices.name) (by alphavantage.co, in $($prices.unit))" - "-----------------------------------------------------------------------" + "Monthly $($prices.name) 1990-2025 ($($prices.unit), source: alphavantage.co)" + "------------------------------------------------------------------------------" + [array]::Reverse($prices.data) foreach($item in $prices.data) { - if ($Item.value -eq ".") { continue } + if ($item.value -eq ".") { continue } Write-Host "$($item.date) " -noNewline - [int]$value = $Item.value - WriteHorizontalBar $value 350.0 + [int]$value = $item.value + WriteHorizontalBar $value 400.0 Write-Host "ct" } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } From d3bc243e6be7543e4ba991d198b4fc849bc85be1 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 5 Aug 2025 15:13:41 +0200 Subject: [PATCH 421/737] Updated ICAO_airport_codes.csv --- data/dicts/ICAO_airport_codes.csv | 502 +++++++++++++++--------------- 1 file changed, 251 insertions(+), 251 deletions(-) diff --git a/data/dicts/ICAO_airport_codes.csv b/data/dicts/ICAO_airport_codes.csv index c66d744ac..e38f7eff8 100644 --- a/data/dicts/ICAO_airport_codes.csv +++ b/data/dicts/ICAO_airport_codes.csv @@ -23155,177 +23155,177 @@ ES-0328,Cabrera Helipad (Spain) ES-0329,Capdepera Aerodrom (Spain) ES-0330,Punta de l'Avançada Heliport (Spain) ES-0331,La Graciosa Heliport (Spain) -ESCF,Malmen Air Base,SE -ESCK,Bråvalla Air Base,SE -ESCM,Ärna Air Base,SE -ESCN,Stockholm Tullinge Airport,SE -ESCY,Nyge Airport,SE -ESDF,Ronneby Airport,SE -ESEM,Lund Hospital Heliport,SE -ESFA,Hässleholm Bokeberg Airfield,SE -ESFH,Hasslosa Air Base,SE -ESFI,Knislinge Air Base,SE -ESFJ,Sjöbo Air Base,SE -ESFM,Moholm Air Base,SE -ESFQ,Kosta Air Base,SE -ESFR,Råda Air Base,SE -ESFS,Sandvik Airport,SE -ESFU,Urasa Air Base,SE -ESFY,Byholma Air Base,SE -ESGA,Backamo Airport,SE -ESGC,Ålleberg Airport,SE -ESGD,Bämmelshed Airport,SE -ESGE,Borås Airport,SE -ESGF,Morup Airfield,SE -ESGG,Gothenburg-Landvetter Airport,SE -ESGH,Herrljunga Airfield,SE -ESGI,Alingsås Airfield,SE -ESGJ,Jönköping Airport,SE -ESGK,Falköping Airfield,SE -ESGL,Lidköping-Hovby Airport,SE -ESGM,Öresten Airfield,SE -ESGN,Brännebrona Airport,SE -ESGO,Vårgårda Airport,SE -ESGP,Gothenburg City Airport,SE -ESGR,Skövde Airport,SE -ESGS,Näsinge Airport,SE -ESGT,Trollhättan-Vänersborg Airport,SE -ESGU,Rörkärr Airport,SE -ESGV,Varberg Getterön airfield,SE -ESGY,Säffle Airport,SE -ESHB,SU Östra Hospital Helipad,SE -ESIA,Karlsborg Air Base,SE -ESIB,Såtenäs Air Base,SE -ESKA,Gimo Air Base,SE -ESKB,Barkarby Airport,SE -ESKC,Uppsala-Sundbro Airfield,SE -ESKD,Dala Järna Airport,SE -ESKG,Gryttjom Airfield,SE -ESKH,Ekshärad Airport,SE -ESKK,Karlskoga Airport,SE -ESKM,Mora Airport,SE -ESKN,Stockholm Skavsta Airport,SE -ESKO,Munkfors Airport,SE -ESKS,Scandinavian Mountains Airport,SE -ESKT,Tierp Air Base,SE -ESKU,Sunne Airport,SE -ESKV,Arvika Airport,SE -ESKX,Björkvik Air Base,SE -ESMA,Emmaboda Airfield,SE -ESMB,Borglanda Airport,SE -ESMC,Ränneslätt Airport,SE -ESMD,Hässleholm Vankivar Airport,SE -ESME,Eslöv Airport,SE -ESMF,Fagerhult Airport,SE -ESMG,Feringe Airport,SE -ESMH,Höganäs Airport,SE -ESMI,Sjöbo/Sövde Airport,SE -ESMJ,Kågeröd Simmelsberga Airport,SE -ESMK,Kristianstad Airport,SE -ESML,Landskrona Airport,SE -ESMN,Lund Airfield,SE -ESMO,Oskarshamn Airport,SE -ESMP,Anderstorp Airport,SE -ESMQ,Kalmar Airport,SE -ESMR,Trelleborg Airport,SE -ESMS,Malmö Sturup Airport,SE -ESMT,Halmstad Airport,SE -ESMU,Möckeln Airport,SE -ESMV,Hagshult Air Base,SE -ESMW,Tingsryd Airport,SE -ESMX,Växjö Kronoberg Airport,SE -ESMY,Smålandsstenar Smålanda Airport,SE -ESMZ,Ölanda Airport,SE -ESNA,Hallviken Airport,SE -ESNB,Sollefteå/Långsele Airport,SE -ESNC,Hedlanda Airport,SE -ESND,Sveg Airport,SE -ESNE,Överkalix Airport,SE -ESNF,Färila Air Base,SE -ESNG,Gällivare Airport,SE -ESNH,Hudiksvall Airport,SE -ESNI,Kubbe Air Base,SE -ESNJ,Jokkmokk Airport,SE -ESNK,Kramfors-Sollefteå Höga Kusten Airport,SE -ESNL,Lycksele Airport,SE -ESNM,Optand Airport,SE -ESNN,Sundsvall-Härnösand Airport,SE -ESNO,Örnsköldsvik Airport,SE -ESNP,Piteå Airport,SE -ESNQ,Kiruna Airport,SE -ESNR,Orsa Airport,SE -ESNS,Skellefteå Airport,SE -ESNT,Sättna Airport,SE -ESNU,Umeå Airport,SE -ESNV,Vilhelmina South Lapland Airport,SE -ESNX,Arvidsjaur Airport,SE -ESNY,Söderhamn Airport,SE -ESNZ,Åre Östersund Airport,SE -ESOE,Örebro Airport,SE -ESOH,Hagfors Airport,SE -ESOK,Karlstad Airport,SE -ESOL,Lemstanas Airport,SE -ESOW,Stockholm Västerås Airport,SE -ESPA,Luleå Airport,SE -ESPE,Vidsel Air Base,SE -ESPG,Boden Army Air Base,SE -ESPJ,Hede Air Base,SE -ESQO,Arboga Airfield,SE -ESQP,Berga Heliport,SE -ESSA,Stockholm-Arlanda Airport,SE -ESSB,Stockholm-Bromma Airport,SE -ESSC,Ekeby Airfield,SE -ESSD,Dala Airport,SE -ESSE,Skå-Edeby Airport,SE -ESSF,Hultsfred Airport,SE -ESSG,Ludvika Airport,SE -ESSH,Laxå Airport,SE -ESSI,Visingsö Airport,SE -ESSK,Gävle Sandviken Airport,SE -ESSL,Linköping City Airport,SE -ESSM,Brattforshede Airport,SE -ESSN,Norrtälje Airport,SE -ESSP,Norrköping Airport,SE -ESSQ,Karlstad South Airport,SE -ESST,Torsby Airport,SE -ESSU,Eskilstuna Airport,SE -ESSV,Visby Airport,SE -ESSW,Västervik Airport,SE -ESSX,Johannisberg Airport,SE -ESSZ,Vängsö Airport,SE -ESTA,Ängelholm-Helsingborg Airport,SE -ESTF,Fjällbacka Anra Airport,SE -ESTG,Grönhögen Airport,SE -ESTL,Ljungbyhed Airport,SE -ESTO,Tomelilla Airfield,SE -ESTT,Vellinge Airfield,SE -ESUA,Åmsele Air Base,SE -ESUB,Arbrå Airport,SE -ESUD,Storuman Airport,SE -ESUE,Idre Airport,SE -ESUF,Fällfors Air Base,SE -ESUG,Gargnäs Airport,SE -ESUH,Myran Airport,SE -ESUI,Mellansel Airport,SE -ESUJ,Tälje Airport,SE -ESUK,Kalixfors Airfield,SE -ESUL,Ljusdal Airport,SE -ESUM,Mohed Airport,SE -ESUO,Graftavallen Airport,SE -ESUP,Pajala Airport,SE -ESUR,Ramsele Airfield,SE -ESUS,Åsele Airport,SE -ESUT,Hemavan Airport,SE -ESUV,Älvsbyn Airport,SE -ESUY,Edsby Airport,SE -ESVA,Avesta Airport,SE -ESVB,Bunge Private Airport,SE -ESVG,Gagnef Airport,SE -ESVH,Hällefors Airport,SE -ESVK,Katrineholm Airfield,SE -ESVM,Skinnlanda Airport,SE -ESVQ,Köping/Gålby flygfält,SE -ESVS,Siljansnäs Air Park,SE +ESCF,Malmen Air Base (Sweden) +ESCK,Bråvalla Air Base (Sweden) +ESCM,Ärna Air Base (Sweden) +ESCN,Stockholm Tullinge Airport (Sweden) +ESCY,Nyge Airport (Sweden) +ESDF,Ronneby Airport (Sweden) +ESEM,Lund Hospital Heliport (Sweden) +ESFA,Hässleholm Bokeberg Airfield (Sweden) +ESFH,Hasslosa Air Base (Sweden) +ESFI,Knislinge Air Base (Sweden) +ESFJ,Sjöbo Air Base (Sweden) +ESFM,Moholm Air Base (Sweden) +ESFQ,Kosta Air Base (Sweden) +ESFR,Råda Air Base (Sweden) +ESFS,Sandvik Airport (Sweden) +ESFU,Urasa Air Base (Sweden) +ESFY,Byholma Air Base (Sweden) +ESGA,Backamo Airport (Sweden) +ESGC,Ålleberg Airport (Sweden) +ESGD,Bämmelshed Airport (Sweden) +ESGE,Borås Airport (Sweden) +ESGF,Morup Airfield (Sweden) +ESGG,Gothenburg-Landvetter Airport (Sweden) +ESGH,Herrljunga Airfield (Sweden) +ESGI,Alingsås Airfield (Sweden) +ESGJ,Jönköping Airport (Sweden) +ESGK,Falköping Airfield (Sweden) +ESGL,Lidköping-Hovby Airport (Sweden) +ESGM,Öresten Airfield (Sweden) +ESGN,Brännebrona Airport (Sweden) +ESGO,Vårgårda Airport (Sweden) +ESGP,Gothenburg City Airport (Sweden) +ESGR,Skövde Airport (Sweden) +ESGS,Näsinge Airport (Sweden) +ESGT,Trollhättan-Vänersborg Airport (Sweden) +ESGU,Rörkärr Airport (Sweden) +ESGV,Varberg Getterön airfield (Sweden) +ESGY,Säffle Airport (Sweden) +ESHB,SU Östra Hospital Helipad (Sweden) +ESIA,Karlsborg Air Base (Sweden) +ESIB,Såtenäs Air Base (Sweden) +ESKA,Gimo Air Base (Sweden) +ESKB,Barkarby Airport (Sweden) +ESKC,Uppsala-Sundbro Airfield (Sweden) +ESKD,Dala Järna Airport (Sweden) +ESKG,Gryttjom Airfield (Sweden) +ESKH,Ekshärad Airport (Sweden) +ESKK,Karlskoga Airport (Sweden) +ESKM,Mora Airport (Sweden) +ESKN,Stockholm Skavsta Airport (Sweden) +ESKO,Munkfors Airport (Sweden) +ESKS,Scandinavian Mountains Airport (Sweden) +ESKT,Tierp Air Base (Sweden) +ESKU,Sunne Airport (Sweden) +ESKV,Arvika Airport (Sweden) +ESKX,Björkvik Air Base (Sweden) +ESMA,Emmaboda Airfield (Sweden) +ESMB,Borglanda Airport (Sweden) +ESMC,Ränneslätt Airport (Sweden) +ESMD,Hässleholm Vankivar Airport (Sweden) +ESME,Eslöv Airport (Sweden) +ESMF,Fagerhult Airport (Sweden) +ESMG,Feringe Airport (Sweden) +ESMH,Höganäs Airport (Sweden) +ESMI,Sjöbo/Sövde Airport (Sweden) +ESMJ,Kågeröd Simmelsberga Airport (Sweden) +ESMK,Kristianstad Airport (Sweden) +ESML,Landskrona Airport (Sweden) +ESMN,Lund Airfield (Sweden) +ESMO,Oskarshamn Airport (Sweden) +ESMP,Anderstorp Airport (Sweden) +ESMQ,Kalmar Airport (Sweden) +ESMR,Trelleborg Airport (Sweden) +ESMS,Malmö Sturup Airport (Sweden) +ESMT,Halmstad Airport (Sweden) +ESMU,Möckeln Airport (Sweden) +ESMV,Hagshult Air Base (Sweden) +ESMW,Tingsryd Airport (Sweden) +ESMX,Växjö Kronoberg Airport (Sweden) +ESMY,Smålandsstenar Smålanda Airport (Sweden) +ESMZ,Ölanda Airport (Sweden) +ESNA,Hallviken Airport (Sweden) +ESNB,Sollefteå/Långsele Airport (Sweden) +ESNC,Hedlanda Airport (Sweden) +ESND,Sveg Airport (Sweden) +ESNE,Överkalix Airport (Sweden) +ESNF,Färila Air Base (Sweden) +ESNG,Gällivare Airport (Sweden) +ESNH,Hudiksvall Airport (Sweden) +ESNI,Kubbe Air Base (Sweden) +ESNJ,Jokkmokk Airport (Sweden) +ESNK,Kramfors-Sollefteå Höga Kusten Airport (Sweden) +ESNL,Lycksele Airport (Sweden) +ESNM,Optand Airport (Sweden) +ESNN,Sundsvall-Härnösand Airport (Sweden) +ESNO,Örnsköldsvik Airport (Sweden) +ESNP,Piteå Airport (Sweden) +ESNQ,Kiruna Airport (Sweden) +ESNR,Orsa Airport (Sweden) +ESNS,Skellefteå Airport (Sweden) +ESNT,Sättna Airport (Sweden) +ESNU,Umeå Airport (Sweden) +ESNV,Vilhelmina South Lapland Airport (Sweden) +ESNX,Arvidsjaur Airport (Sweden) +ESNY,Söderhamn Airport (Sweden) +ESNZ,Åre Östersund Airport (Sweden) +ESOE,Örebro Airport (Sweden) +ESOH,Hagfors Airport (Sweden) +ESOK,Karlstad Airport (Sweden) +ESOL,Lemstanas Airport (Sweden) +ESOW,Stockholm Västerås Airport (Sweden) +ESPA,Luleå Airport (Sweden) +ESPE,Vidsel Air Base (Sweden) +ESPG,Boden Army Air Base (Sweden) +ESPJ,Hede Air Base (Sweden) +ESQO,Arboga Airfield (Sweden) +ESQP,Berga Heliport (Sweden) +ESSA,Stockholm-Arlanda Airport (Sweden) +ESSB,Stockholm-Bromma Airport (Sweden) +ESSC,Ekeby Airfield (Sweden) +ESSD,Dala Airport (Sweden) +ESSE,Skå-Edeby Airport (Sweden) +ESSF,Hultsfred Airport (Sweden) +ESSG,Ludvika Airport (Sweden) +ESSH,Laxå Airport (Sweden) +ESSI,Visingsö Airport (Sweden) +ESSK,Gävle Sandviken Airport (Sweden) +ESSL,Linköping City Airport (Sweden) +ESSM,Brattforshede Airport (Sweden) +ESSN,Norrtälje Airport (Sweden) +ESSP,Norrköping Airport (Sweden) +ESSQ,Karlstad South Airport (Sweden) +ESST,Torsby Airport (Sweden) +ESSU,Eskilstuna Airport (Sweden) +ESSV,Visby Airport (Sweden) +ESSW,Västervik Airport (Sweden) +ESSX,Johannisberg Airport (Sweden) +ESSZ,Vängsö Airport (Sweden) +ESTA,Ängelholm-Helsingborg Airport (Sweden) +ESTF,Fjällbacka Anra Airport (Sweden) +ESTG,Grönhögen Airport (Sweden) +ESTL,Ljungbyhed Airport (Sweden) +ESTO,Tomelilla Airfield (Sweden) +ESTT,Vellinge Airfield (Sweden) +ESUA,Åmsele Air Base (Sweden) +ESUB,Arbrå Airport (Sweden) +ESUD,Storuman Airport (Sweden) +ESUE,Idre Airport (Sweden) +ESUF,Fällfors Air Base (Sweden) +ESUG,Gargnäs Airport (Sweden) +ESUH,Myran Airport (Sweden) +ESUI,Mellansel Airport (Sweden) +ESUJ,Tälje Airport (Sweden) +ESUK,Kalixfors Airfield (Sweden) +ESUL,Ljusdal Airport (Sweden) +ESUM,Mohed Airport (Sweden) +ESUO,Graftavallen Airport (Sweden) +ESUP,Pajala Airport (Sweden) +ESUR,Ramsele Airfield (Sweden) +ESUS,Åsele Airport (Sweden) +ESUT,Hemavan Airport (Sweden) +ESUV,Älvsbyn Airport (Sweden) +ESUY,Edsby Airport (Sweden) +ESVA,Avesta Airport (Sweden) +ESVB,Bunge Private Airport (Sweden) +ESVG,Gagnef Airport (Sweden) +ESVH,Hällefors Airport (Sweden) +ESVK,Katrineholm Airfield (Sweden) +ESVM,Skinnlanda Airport (Sweden) +ESVQ,Köping/Gålby flygfält (Sweden) +ESVS,Siljansnäs Air Park (Sweden) ET-0001,Old Jijiga Airport,ET ET-0002,Kibbish Wells Airport,ET ET-0003,Ganada Airport,ET @@ -53940,86 +53940,86 @@ SDZV,Fazenda Gandu Airport (Brazil) SDZW,Fazenda Ipanema Airport (Brazil) SDZX,Fazenda Suri Airport (Brazil) SDZZ,Sítio São José Airport (Brazil) -SE-0001,Trosa Troslanda airfield,SE -SE-0002,Stegeborg,SE -SE-0003,Bollnäs,SE -SE-0004,Norberg,SE -SE-0005,Åre / Molanda,SE -SE-0006,Alvesta Smålanda Airfield,SE -SE-0007,Staffanstorp Bjällerup Field,SE -SE-0008,Kattleberg Airfield,SE -SE-0009,Flygfältet Långtora,SE -SE-0010,Vallentuna flygfält,SE -SE-0011,Täby Sjöflygklubb,SE -SE-0012,Kvikkjokk Heliport,SE -SE-0013,Majfält-Ovansjö,SE -SE-0014,Ålåsen Airfield,SE -SE-0015,Orrlanda Flygfält,SE -SE-0016,Nyholm Airstrip,SE -SE-0017,Frostlanda Airfield,SE -SE-0018,Frölunda Airfield,SE -SE-0019,Karolinska Universitetssjukhuset Helipad,SE -SE-0020,Bänkås Hoppfält,SE -SE-0021,Finnskoga/Backa Airport,SE -SE-0022,Vassunda Private Airfield,SE -SE-0023,Baggböle Airstrip,SE -SE-0024,Älvdalens flygklubb,SE -SE-0025,Flykälen Airfield,SE -SE-0026,Finspångs flygfält,SE -SE-0027,Flygebyns hoppövningsfält,SE -SE-0028,Charlottenberg Airstrip,SE -SE-0029,Dorotea Airfield,SE -SE-0030,Finlanda Airfield,SE -SE-0031,Kolåsens flygfält,SE -SE-0032,Porjus flygfält,SE -SE-0033,Vindeln Flygfält,SE -SE-0034,Malå flygfält,SE -SE-0035,Överlanda Airfield,SE -SE-0036,Suddesjaur,SE -SE-0037,Storberg,SE -SE-0038,Stalons flygfält,SE -SE-0039,Tjautjasjaure Airstrip,SE -SE-0040,Kokhedsfältet Airstrip,SE -SE-0041,Satter Airstrip,SE -SE-0042,Pålsträsket Airstrip,SE -SE-0043,Junosuando,SE -SE-0044,Vuollerim Airstrip,SE -SE-0045,Sala flygfält,SE -SE-0046,Gimo gräsfält,SE -SE-0047,Åviken Fly Camp,SE -SE-0048,Duvhed flygfält UL,SE -SE-0049,Timmele Airfield,SE -SE-0050,Myttinge Heliport,SE -SE-0051,Degerfors Grenlanda Airfield,SE -SE-0052,Bergs Airstrip,SE -SE-0053,Esrange Heliport,SE -SE-0054,Ritsem Heliport,SE -SE-0055,Hornlanda,SE -SE-0056,Stöde / Prästbordet flygfält,SE -SE-0057,Lindholmen flygfält,SE -SE-0058,Kronobergshed Airfield,SE -SE-0059,Ödestugu Glider Field,SE -SE-0060,Kvarnhem Flygfält,SE -SE-0061,Åkersberga Airfield,SE -SE-0062,Hellby Säteri Private Airstrip,SE -SE-0063,Hedemora Flygfält,SE -SE-0064,Nyby Private Airstrip,SE -SE-0065,Stockholm - Hova,SE -SE-0066,Motala flygklubb,SE -SE-0067,Örnlanda Airstrip,SE -SE-0068,Pirttivuopio ice runway,SE -SE-0069,Skeppsdal Airstrip,SE -SE-0070,Sticksjö Private Airstrip,SE -SE-0071,Bergby Airstrip,SE -SE-0072,Bleckåsen Airstirp,SE -SE-0073,Väster Private Airstrip,SE -SE-0074,Muskö Airstrip,SE -SE-0075,Strängnäs Air Base,SE -SE-0076,Ragglanda Airfield,SE -SE-0077,Slageryd Airfield,SE -SE-0078,Göviken Heliport,SE -SE-0079,Babcock Scandinavian Air Ambulance AB,SE -SE-0080,Tallåsen Airstrip,SE +SE-0001,Trosa Troslanda airfield (Sweden) +SE-0002,Stegeborg (Sweden) +SE-0003,Bollnäs (Sweden) +SE-0004,Norberg (Sweden) +SE-0005,Åre / Molanda (Sweden) +SE-0006,Alvesta Smålanda Airfield (Sweden) +SE-0007,Staffanstorp Bjällerup Field (Sweden) +SE-0008,Kattleberg Airfield (Sweden) +SE-0009,Flygfältet Långtora (Sweden) +SE-0010,Vallentuna flygfält (Sweden) +SE-0011,Täby Sjöflygklubb (Sweden) +SE-0012,Kvikkjokk Heliport (Sweden) +SE-0013,Majfält-Ovansjö (Sweden) +SE-0014,Ålåsen Airfield (Sweden) +SE-0015,Orrlanda Flygfält (Sweden) +SE-0016,Nyholm Airstrip (Sweden) +SE-0017,Frostlanda Airfield (Sweden) +SE-0018,Frölunda Airfield (Sweden) +SE-0019,Karolinska Universitetssjukhuset Helipad (Sweden) +SE-0020,Bänkås Hoppfält (Sweden) +SE-0021,Finnskoga/Backa Airport (Sweden) +SE-0022,Vassunda Private Airfield (Sweden) +SE-0023,Baggböle Airstrip (Sweden) +SE-0024,Älvdalens flygklubb (Sweden) +SE-0025,Flykälen Airfield (Sweden) +SE-0026,Finspångs flygfält (Sweden) +SE-0027,Flygebyns hoppövningsfält (Sweden) +SE-0028,Charlottenberg Airstrip (Sweden) +SE-0029,Dorotea Airfield (Sweden) +SE-0030,Finlanda Airfield (Sweden) +SE-0031,Kolåsens flygfält (Sweden) +SE-0032,Porjus flygfält (Sweden) +SE-0033,Vindeln Flygfält (Sweden) +SE-0034,Malå flygfält (Sweden) +SE-0035,Överlanda Airfield (Sweden) +SE-0036,Suddesjaur (Sweden) +SE-0037,Storberg (Sweden) +SE-0038,Stalons flygfält (Sweden) +SE-0039,Tjautjasjaure Airstrip (Sweden) +SE-0040,Kokhedsfältet Airstrip (Sweden) +SE-0041,Satter Airstrip (Sweden) +SE-0042,Pålsträsket Airstrip (Sweden) +SE-0043,Junosuando (Sweden) +SE-0044,Vuollerim Airstrip (Sweden) +SE-0045,Sala flygfält (Sweden) +SE-0046,Gimo gräsfält (Sweden) +SE-0047,Åviken Fly Camp (Sweden) +SE-0048,Duvhed flygfält UL (Sweden) +SE-0049,Timmele Airfield (Sweden) +SE-0050,Myttinge Heliport (Sweden) +SE-0051,Degerfors Grenlanda Airfield (Sweden) +SE-0052,Bergs Airstrip (Sweden) +SE-0053,Esrange Heliport (Sweden) +SE-0054,Ritsem Heliport (Sweden) +SE-0055,Hornlanda (Sweden) +SE-0056,Stöde / Prästbordet flygfält (Sweden) +SE-0057,Lindholmen flygfält (Sweden) +SE-0058,Kronobergshed Airfield (Sweden) +SE-0059,Ödestugu Glider Field (Sweden) +SE-0060,Kvarnhem Flygfält (Sweden) +SE-0061,Åkersberga Airfield (Sweden) +SE-0062,Hellby Säteri Private Airstrip (Sweden) +SE-0063,Hedemora Flygfält (Sweden) +SE-0064,Nyby Private Airstrip (Sweden) +SE-0065,Stockholm - Hova (Sweden) +SE-0066,Motala flygklubb (Sweden) +SE-0067,Örnlanda Airstrip (Sweden) +SE-0068,Pirttivuopio ice runway (Sweden) +SE-0069,Skeppsdal Airstrip (Sweden) +SE-0070,Sticksjö Private Airstrip (Sweden) +SE-0071,Bergby Airstrip (Sweden) +SE-0072,Bleckåsen Airstirp (Sweden) +SE-0073,Väster Private Airstrip (Sweden) +SE-0074,Muskö Airstrip (Sweden) +SE-0075,Strängnäs Air Base (Sweden) +SE-0076,Ragglanda Airfield (Sweden) +SE-0077,Slageryd Airfield (Sweden) +SE-0078,Göviken Heliport (Sweden) +SE-0079,Babcock Scandinavian Air Ambulance AB (Sweden) +SE-0080,Tallåsen Airstrip (Sweden) SE01,Alba Elena Airport,EC SE02,Guabital Airport,EC SE03,Las Peñas Airport,EC From 7e7b318aaf2e9eb5656cf56b4f30301d9dd25454 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 6 Aug 2025 15:18:49 +0200 Subject: [PATCH 422/737] Updated the manuals --- docs/add-firewall-rules.md | 2 +- docs/alert.md | 2 +- docs/build-repo.md | 69 ++- docs/build-repos.md | 4 +- docs/calculate-BMI.md | 61 ++ docs/cd-autostart.md | 4 +- docs/cd-crashdumps.md | 4 +- docs/cd-desktop.md | 4 +- docs/cd-docs.md | 12 +- docs/cd-downloads.md | 4 +- docs/cd-dropbox.md | 4 +- docs/cd-etc.md | 20 +- docs/cd-fonts.md | 4 +- docs/cd-home.md | 4 +- docs/cd-jenkins.md | 8 +- docs/cd-logs.md | 33 +- docs/cd-music.md | 6 +- docs/cd-nextcloud.md | 16 +- docs/cd-onedrive.md | 6 +- docs/cd-pics.md | 10 +- docs/cd-public.md | 10 +- docs/cd-recent.md | 25 +- docs/cd-recycle-bin.md | 37 +- docs/cd-repo.md | 10 +- docs/cd-repos.md | 10 +- docs/cd-root.md | 6 +- docs/cd-screenshots.md | 27 +- docs/cd-scripts.md | 10 +- docs/cd-ssh.md | 12 +- docs/cd-sync.md | 18 +- docs/cd-temp.md | 41 +- docs/cd-templates.md | 6 +- docs/cd-trash.md | 37 +- docs/cd-up.md | 14 +- docs/cd-up2.md | 16 +- docs/cd-up3.md | 16 +- docs/cd-up4.md | 16 +- docs/cd-users.md | 11 +- docs/cd-videos.md | 16 +- docs/cd-windows.md | 29 +- 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 | 2 +- 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 | 18 +- docs/check-repos.md | 14 +- 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 | 2 +- docs/check-symlinks.md | 44 +- 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 | 2 +- docs/clean-repo.md | 21 +- docs/clean-repos.md | 4 +- docs/clear-dns-cache.md | 14 +- 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-broken-file.md | 686 +++++++++++++++++++++ docs/copy-photos-sorted.md | 2 +- docs/copy-videos-sorted.md | 2 +- 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 | 3 +- docs/enable-crash-dumps.md | 22 +- 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 | 12 +- docs/export-to-manuals.md | 2 +- docs/fetch-repo.md | 4 +- 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 | 4 +- docs/install-basic-apps.md | 34 +- docs/install-basic-snaps.md | 6 +- docs/install-calibre-server.md | 6 +- docs/install-chocolatey.md | 4 +- docs/install-chrome.md | 4 +- docs/install-crystal-disk-info.md | 4 +- docs/install-crystal-disk-mark.md | 4 +- docs/install-discord.md | 4 +- docs/install-edge.md | 4 +- docs/install-edit.md | 74 +++ docs/install-evcc.md | 6 +- docs/install-firefox.md | 24 +- docs/install-fonts.md | 4 +- docs/install-git-extensions.md | 4 +- docs/install-git-for-windows.md | 4 +- docs/install-github-cli.md | 6 +- docs/install-gitlab.md | 3 +- docs/install-h2static.md | 4 +- docs/install-irfanview.md | 4 +- docs/install-jenkins-agent.md | 4 +- docs/install-knot-resolver.md | 6 +- docs/install-microsoft-teams.md | 4 +- docs/install-mini-dlna.md | 4 +- docs/install-netflix.md | 4 +- docs/install-obs-studio.md | 4 +- docs/install-octoprint.md | 3 +- docs/install-one-calendar.md | 4 +- docs/install-opera-browser.md | 4 +- docs/install-opera-gx.md | 4 +- docs/install-paint-3d.md | 4 +- docs/install-power-toys.md | 4 +- docs/install-powershell.md | 4 +- docs/install-rufus.md | 4 +- docs/install-salesforce-cli.md | 6 +- docs/install-scoop.md | 3 +- docs/install-signal-cli.md | 10 +- docs/install-spotify.md | 4 +- docs/install-ssh-client.md | 4 +- docs/install-ssh-server.md | 6 +- docs/install-syncthing.md | 4 +- docs/install-thunderbird.md | 4 +- docs/install-unbound-server.md | 6 +- docs/install-updates.md | 20 +- docs/install-visual-studio-code.md | 6 +- docs/install-vivaldi.md | 4 +- docs/install-vlc.md | 4 +- docs/install-windows-terminal.md | 4 +- docs/install-wsl.md | 4 +- docs/install-zoom.md | 4 +- docs/introduce-powershell.md | 2 +- docs/kill-process.md | 65 +- 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 | 4 +- docs/list-clipboard.md | 2 +- docs/list-cmdlets.md | 2 +- docs/list-coffee-prices.md | 15 +- 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 | 40 +- docs/list-dns-servers.md | 2 +- docs/list-drives.md | 2 +- docs/list-earthquakes.md | 2 +- docs/list-emojis.md | 2 +- docs/list-empty-dirs.md | 2 +- 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 | 7 +- 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 | 8 +- 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 | 2 +- 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 | 2 +- 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 | 4 +- 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 | 52 +- docs/new-dir.md | 4 +- docs/new-email.md | 4 +- docs/new-junction.md | 7 +- docs/new-linux-vm.md | 2 +- docs/new-markdown-file.md | 4 +- docs/new-power-plan.md | 2 +- docs/new-powershell-script.md | 4 +- 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 | 4 +- docs/new-tab.md | 2 +- docs/new-tag.md | 6 +- docs/new-text-file.md | 2 +- docs/new-user.md | 4 +- docs/new-windows-vm.md | 2 +- docs/on-desktop-login.md | 2 +- docs/open-URL.md | 15 +- docs/open-apps-folder.md | 4 +- docs/open-auto-start-folder.md | 4 +- docs/open-bing-maps.md | 4 +- docs/open-booking-com.md | 4 +- docs/open-c-drive.md | 4 +- docs/open-calculator.md | 4 +- docs/open-chrome.md | 4 +- docs/open-clock.md | 4 +- docs/open-cortana.md | 4 +- docs/open-d-drive.md | 4 +- docs/open-dashboards.md | 17 +- docs/open-deep-l-translator.md | 8 +- docs/open-default-browser.md | 14 +- docs/open-desktop-folder.md | 8 +- docs/open-documents-folder.md | 8 +- docs/open-downloads-folder.md | 4 +- docs/open-dropbox-folder.md | 4 +- docs/open-duck-duck-go.md | 4 +- docs/open-e-drive.md | 4 +- docs/open-edge.md | 8 +- docs/open-egg-timer.md | 4 +- docs/open-email-client.md | 4 +- docs/open-f-drive.md | 8 +- docs/open-file-explorer.md | 4 +- docs/open-fire-place.md | 4 +- docs/open-firefox.md | 8 +- docs/open-flight-radar.md | 8 +- docs/open-g-drive.md | 4 +- docs/open-git-extensions.md | 24 +- docs/open-google-books.md | 8 +- docs/open-google-calendar.md | 8 +- docs/open-google-contacts.md | 4 +- docs/open-google-docs.md | 8 +- docs/open-google-earth.md | 8 +- docs/open-google-mail.md | 8 +- docs/open-google-maps.md | 8 +- docs/open-google-news.md | 8 +- docs/open-google-photos.md | 8 +- docs/open-google-play.md | 8 +- docs/open-google-search.md | 8 +- docs/open-google-stadia.md | 8 +- docs/open-google-translate.md | 8 +- docs/open-home-folder.md | 8 +- docs/open-internet-archive.md | 8 +- docs/open-jitsi-meet.md | 8 +- docs/open-m-drive.md | 8 +- docs/open-magnifier.md | 10 +- docs/open-microsoft-paint.md | 8 +- docs/open-microsoft-solitaire.md | 8 +- docs/open-microsoft-store.md | 8 +- docs/open-microsoft-teams.md | 8 +- docs/open-music-folder.md | 10 +- docs/open-netflix.md | 8 +- docs/open-notepad.md | 4 +- docs/open-obs-studio.md | 26 +- docs/open-office-365.md | 8 +- docs/open-one-drive-folder.md | 8 +- docs/open-outlook.md | 26 +- docs/open-paint-three-d.md | 10 +- docs/open-pictures-folder.md | 10 +- docs/open-rdp.md | 8 +- docs/open-recycle-bin-folder.md | 6 +- docs/open-remote-desktop.md | 10 +- docs/open-repos-folder.md | 8 +- docs/open-screen-clip.md | 8 +- docs/open-screen-sketch.md | 8 +- docs/open-skype.md | 8 +- docs/open-snipping-tool.md | 8 +- docs/open-speed-test.md | 8 +- docs/open-spotify.md | 8 +- docs/open-stack-overflow.md | 8 +- docs/open-start-page.md | 8 +- docs/open-street-map.md | 8 +- docs/open-task-manager.md | 8 +- docs/open-temporary-folder.md | 26 +- docs/open-three-d-viewer.md | 8 +- docs/open-thunderbird.md | 26 +- docs/open-videos-folders.md | 8 +- docs/open-visual-studio.md | 24 +- docs/open-voice-recorder.md | 4 +- docs/open-vpn-settings.md | 8 +- docs/open-windows-defender.md | 8 +- docs/open-windows-terminal.md | 8 +- docs/open-windy.md | 47 +- docs/open-xing.md | 6 +- docs/pick-commit.md | 2 +- docs/ping-host.md | 8 +- 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 | 32 +- docs/pull-repos.md | 4 +- 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.md | 86 +++ 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 | 2 +- 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 | 4 +- docs/speak-checklist.md | 4 +- docs/speak-countdown.md | 4 +- docs/speak-croatian.md | 4 +- docs/speak-danish.md | 4 +- docs/speak-dutch.md | 4 +- docs/speak-english.md | 4 +- docs/speak-epub.md | 4 +- docs/speak-esperanto.md | 4 +- docs/speak-file.md | 4 +- docs/speak-finnish.md | 4 +- docs/speak-french.md | 4 +- docs/speak-german.md | 4 +- docs/speak-greek.md | 4 +- docs/speak-hebrew.md | 4 +- docs/speak-hindi.md | 4 +- docs/speak-italian.md | 4 +- docs/speak-japanese.md | 4 +- docs/speak-korean.md | 4 +- docs/speak-latin.md | 4 +- docs/speak-mandarin.md | 4 +- docs/speak-norwegian.md | 4 +- docs/speak-polish.md | 4 +- docs/speak-portuguese.md | 4 +- docs/speak-russian.md | 4 +- docs/speak-spanish.md | 4 +- docs/speak-swedish.md | 4 +- docs/speak-test.md | 26 +- docs/speak-text.md | 4 +- docs/speak-thai.md | 4 +- docs/speak-turkish.md | 4 +- docs/speak-ukrainian.md | 4 +- docs/spell-word.md | 2 +- docs/start-ipfs-server.md | 2 +- docs/suspend.md | 2 +- docs/switch-branch.md | 44 +- docs/switch-shelly1.md | 2 +- docs/switch-tabs.md | 2 +- docs/sync-dir.md | 2 +- docs/sync-repo.md | 14 +- 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 | 2 +- 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 | 12 +- 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 | 2 +- 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 | 19 +- docs/write-in-emojis.md | 2 +- docs/write-joke.md | 2 +- 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 | 11 +- 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 | 75 ++- docs/write-vertical.md | 2 +- docs/write-xmas-tree.md | 2 +- scripts/calculate-BMI.ps1 | 0 scripts/copy-broken-file.ps1 | 0 scripts/open-windy.ps1 | 0 661 files changed, 2839 insertions(+), 1288 deletions(-) create mode 100644 docs/calculate-BMI.md create mode 100644 docs/copy-broken-file.md create mode 100644 docs/install-edit.md create mode 100644 docs/remove-dir.md mode change 100644 => 100755 scripts/calculate-BMI.ps1 mode change 100644 => 100755 scripts/copy-broken-file.ps1 mode change 100644 => 100755 scripts/open-windy.ps1 diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index 756f61f01..f4fb642e5 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 06/22/2025 10:37:33)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/alert.md b/docs/alert.md index 57f86a0ab..417360dd8 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:33)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/build-repo.md b/docs/build-repo.md index 48858c9e3..8845bf0df 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -28,9 +28,9 @@ Example ------- ```powershell PS> ./build-repo.ps1 C:\Repos\ninja -⏳ Building 📂ninja by using CMake... +⏳ Building 'ninja' by executing cmake... ... -✅ Build of 📂ninja succeeded in 47s, results at: 📂C:\Repos\ninja\_results +✅ Build of 'ninja' succeeded in 47s, results at: 📂C:\Repos\ninja\_results ``` @@ -55,9 +55,9 @@ Script Content 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... + ⏳ Building 'ninja' by executing cmake... ... - ✅ Build of 📂ninja succeeded in 47s, results at: 📂C:\Repos\ninja\_results + ✅ Build of 'ninja' succeeded in 47s, results at: 📂C:\Repos\ninja\_results .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -69,117 +69,120 @@ param([string]$path = "$PWD") function BuildFolder([string]$path) { $dirName = (Get-Item "$path").Name if (Test-Path "$path/CMakeLists.txt" -pathType leaf) { - "⏳ (1/4) Building 📂$dirName by using CMake..." + "⏳ (1/3) Building '$dirName' by executing cmake..." $global:results = "$path/_results/" if (-not(Test-Path $global:results -pathType container)) { & mkdir $global:results } Set-Location $global:results - - "⏳ (2/4) Executing 'cmake' to generate the Makefile..." & cmake .. if ($lastExitCode -ne 0) { throw "Executing 'cmake ..' failed with exit code $lastExitCode" } - "⏳ (3/4) Executing 'make -j4' to compile and link..." + "⏳ (2/3) Executing 'make -j4' to compile and link..." & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } - "⏳ (4/4) Executing 'ctest -V'... (if tests are provided)" + "⏳ (3/3) Checking '$dirName' by 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/" + "⏳ Building '$dirName' by executing 'cargo build'..." + 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'..." + + "⏳ (1/3) Building '$dirName' by executing 'autogen.sh'..." Set-Location "$path/" & ./autogen.sh --force if ($lastExitCode -ne 0) { throw "Executing './autogen.sh --force' failed with exit code $lastExitCode" } - "⏳ Executing './configure'..." - + "⏳ (2/3) Executing './configure'..." & ./configure if ($lastExitCode -ne 0) { throw "Executing './configure' failed with exit code $lastExitCode" } + "⏳ (3/3) Executing 'make -j4' to compile and link..." & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/configure" -pathType leaf) { - "⏳ Building 📂$dirName by executing './configure' and 'make'..." - Set-Location "$path/" + "⏳ (1/3) Building '$dirName' by executing './configure'..." + Set-Location "$path/" & ./configure #if ($lastExitCode -ne 0) { throw "Executing './configure' exited with error code $lastExitCode" } + "⏳ (2/3) Compiling and linking '$dirName' by executing 'make -j4'..." & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } + "⏳ (3/3) Checking '$dirName' by executing 'make test'..." & make test if ($lastExitCode -ne 0) { throw "Executing 'make test' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/build.gradle" -pathType leaf) { - "⏳ Building 📂$dirName by using Gradle..." - Set-Location "$path" + "⏳ (1/2) Building '$dirName' by executing 'gradle build'..." + Set-Location "$path" & gradle build if ($lastExitCode -ne 0) { throw "Executing 'gradle build' failed with exit code $lastExitCode" } + "⏳ (2/2) Checking '$dirName' by executing 'gradle test'..." & gradle test if ($lastExitCode -ne 0) { throw "Executing 'gradle test' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/meson.build" -pathType leaf) { - "⏳ Building 📂$dirName by using Meson..." + "⏳ Building '$dirName' by using Meson..." Set-Location "$path" & meson . build --prefix=/usr/local if ($lastExitCode -ne 0) { throw "Executing 'meson . build' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/Imakefile" -pathType leaf) { - "⏳ Building 📂$dirName by using Imakefile..." + "⏳ Building '$dirName' by using Imakefile..." Set-Location "$path/" - & xmkmf if ($lastExitCode -ne 0) { throw "Executing 'xmkmf' failed with exit code $lastExitCode" } + "⏳ Executing 'make -j4' to compile and link..." & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/Makefile" -pathType leaf) { - "⏳ Building 📂$dirName by using Makefile..." - Set-Location "$path" + "⏳ Building '$dirName' by using Makefile..." + Set-Location "$path" & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/makefile" -pathType leaf) { - "⏳ Building 📂$dirName by using makefile..." + "⏳ Building '$dirName' by using makefile..." Set-Location "$path" & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/compile.sh" -pathType leaf) { - "⏳ Building 📂$dirName by executing 'compile.sh'..." - Set-Location "$path/" + "⏳ Building '$dirName' by executing 'compile.sh'..." + Set-Location "$path/" & ./compile.sh if ($lastExitCode -ne 0) { throw "Executing './compile.sh' failed with exit code $lastExitCode" } + "⏳ Executing 'make -j4' to compile and link..." & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } } elseif (Test-Path "$path/attower/src/build/DevBuild/build.bat" -pathType leaf) { - Write-Host "⏳ Building 📂$dirName by executing 'build.bat'..." + Write-Host "⏳ Building '$dirName' by executing 'build.bat'..." Set-Location "$path/attower/src/build/DevBuild/" & ./build.bat build-core-release if ($lastExitCode -ne 0) { throw "Executing 'build.bat' failed with exit code $lastExitCode" } $global:results = "$path\attower\Executables" } elseif (Test-Path "$path/$dirName" -pathType container) { - "⏳ No make rule found, trying subfolder 📂$($dirName)..." + "⏳ No make rule found, trying subfolder '$($dirName)'..." BuildFolder "$path/$dirName" } else { Write-Warning "Sorry, no make rule applies to: 📂$dirName" @@ -197,19 +200,19 @@ try { BuildFolder "$path" Set-Location "$previousPath" - $repoDirName = (Get-Item "$path").Name + $dirName = (Get-Item "$path").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($global:results -eq "") { - "✅ Build of 📂$repoDirName succeeded in $($elapsed)s." + "✅ Build of '$dirName' succeeded in $($elapsed)s." } else { - "✅ Build of 📂$repoDirName succeeded in $($elapsed)s, results at: 📂$($global:results)" + "✅ Build of '$dirName' succeeded in $($elapsed)s, results at: 📂$($global:results)" } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." Set-Location "$previousPath" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/build-repos.md b/docs/build-repos.md index 646352a87..9b7326e6c 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -78,9 +78,9 @@ try { "✅ Built $FolderCount Git repositories at 📂$ParentDirName in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/calculate-BMI.md b/docs/calculate-BMI.md new file mode 100644 index 000000000..95991637c --- /dev/null +++ b/docs/calculate-BMI.md @@ -0,0 +1,61 @@ +The *calculate-BMI.ps1* Script +=========================== + +This PowerShell script calculates the BMI. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/calculate-BMI.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./calculate-BMI.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Calculate the BMI +.DESCRIPTION + This PowerShell script calculates the BMI. +.EXAMPLE + PS> ./calculate-BMI.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +#requires -version 5.1 + +try { + [float]$height = Read-Host("Enter your height in m ") + [float]$weight = Read-Host("Enter your weight in kg") + $BMI = $weight / ($height * $height) + "Your BMI is $BMI, for adults the WHO regards <16 as Underweight (severe thinness), 16-17 as Underweight (moderate thinness), 17-18.5 as Underweight (mild thinness), 18.5-25 as Normal range, 25-30 as Overweight (pre-obese), 30-35 as Obese (class I), 35-40 as Obese (class II), and >=40 as Obese (class III)." + exit 0 # success +} catch { + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index d88ceafbd..21db0f13d 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = Resolve-Path "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" if (-not(Test-Path "$path" -pathType container)) { @@ -60,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index 8d571b6a1..a75746d15 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux) { throw "Sorry, Windows only" } @@ -65,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index 714acde1a..ebbab9f61 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux -or $IsMacOS) { if (-not(Test-Path "~/Desktop" -pathType container)) { @@ -69,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index accddde11..947b04c1f 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -1,7 +1,7 @@ The *cd-docs.ps1* Script =========================== -This PowerShell script sets the current working directory to the documents folder. +This PowerShell script changes the current working directory to the documents folder. Parameters ---------- @@ -36,7 +36,7 @@ Script Content .SYNOPSIS Sets the working dir to the documents folder .DESCRIPTION - This PowerShell script sets the current working directory to the documents folder. + This PowerShell script changes the current working directory to the documents folder. .EXAMPLE PS> ./cd-docs.ps1 📂C:\Users\Markus\Documents with 3 files and 0 folders entered. @@ -46,10 +46,12 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux -or $IsMacOS) { if (-not(Test-Path "~/Documents" -pathType container)) { - throw "No 'Documents' folder in your home directory yet" + throw "Your home directory has no 'Documents' folder yet" } $path = Resolve-Path "~/Documents" } else { @@ -64,9 +66,9 @@ try { "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index 143fd9ac2..9e0862e0b 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux -or $IsMacOS) { if (-not(Test-Path "~/Downloads" -pathType container)) { @@ -69,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index 9fef7a6a8..f59ecdf96 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if (-not(Test-Path "~/Dropbox" -pathType container)) { throw "No 'Dropbox' folder in your home directory - is Dropbox installed?" @@ -62,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index 173ce926f..88603f10c 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -1,7 +1,7 @@ The *cd-etc.ps1* Script =========================== -This PowerShell script changes the working directory to the /etc directory. +This PowerShell script changes the current working directory to the /etc directory. Parameters ---------- @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-etc -📂C:\Windows\System32\drivers\etc (has 5 files and 0 folders) +PS> ./cd-etc.ps1 +📂C:\Windows\System32\drivers\etc with 5 files and 0 folders entered. ``` @@ -36,16 +36,18 @@ Script Content .SYNOPSIS Changes to the /etc directory .DESCRIPTION - This PowerShell script changes the working directory to the /etc directory. + This PowerShell script changes the current working directory to the /etc directory. .EXAMPLE - PS> ./cd-etc - 📂C:\Windows\System32\drivers\etc (has 5 files and 0 folders) + PS> ./cd-etc.ps1 + 📂C:\Windows\System32\drivers\etc with 5 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux -or $IsMacOS) { $path = "/etc" @@ -58,12 +60,12 @@ 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])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index a70f9cace..7669bf50a 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = [Environment]::GetFolderPath('Fonts') if (-not(Test-Path "$path" -pathType container)) { @@ -61,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-home.md b/docs/cd-home.md index 10834d67d..a9e20c73c 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if (-not(Test-Path "~" -pathType container)) { throw "No home directory at: $path" } $path = Resolve-Path "~" @@ -60,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index 07085c0c4..800574eca 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./cd-jenkins +PS> ./cd-jenkins.ps1 📂C:\Users\Markus\.jenkins entered (has 2 files and 21 folders) ``` @@ -38,7 +38,7 @@ Script Content .DESCRIPTION This PowerShell script changes the working directory to the Jenkins home directory. .EXAMPLE - PS> ./cd-jenkins + PS> ./cd-jenkins.ps1 📂C:\Users\Markus\.jenkins entered (has 2 files and 21 folders) .LINK https://github.com/fleschutz/PowerShell @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if (Test-Path "~/.jenkins" -pathType container) { $path = "~/.jenkins" @@ -65,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index ebaca55ec..e54de58a0 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -1,19 +1,34 @@ The *cd-logs.ps1* Script =========================== -cd-logs.ps1 - +This PowerShell script changes the current working directory to the logs directory. Parameters ---------- ```powershell - +/Repos/PowerShell/scripts/cd-logs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS> ./cd-logs.ps1 +📂/var/logs with 3 files and 2 folders entered. + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell @@ -23,14 +38,16 @@ Script Content .DESCRIPTION This PowerShell script changes the current working directory to the logs directory. .EXAMPLE - PS> ./cd-logs - 📂/var/logs entered (has 3 files and 2 subfolders) + PS> ./cd-logs.ps1 + 📂/var/logs with 3 files and 2 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function GetLogsDir { if ($IsLinux -or $IsMacOS) { return "/var/logs" } $WinDir = [System.Environment]::GetFolderPath('Windows') @@ -42,12 +59,12 @@ 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 with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-music.md b/docs/cd-music.md index 92ec15728..5481d7863 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux) { if (-not(Test-Path "~/Music/" -pathType container)) { @@ -64,9 +66,9 @@ try { "📂$path with $($folders.Count) folders and $($files.Count) files entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index c718465c2..a6a99c0a0 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-nextcloud -📂C:\Users\Markus\NextCloud entered (has 2 files and 0 folders) +PS> ./cd-nextcloud.ps1 +📂C:\Users\Markus\NextCloud with 2 files and 0 folders entered. ``` @@ -38,14 +38,16 @@ Script Content .DESCRIPTION This PowerShell script changes the working directory to the user's NextCloud folder. .EXAMPLE - PS> ./cd-nextcloud - 📂C:\Users\Markus\NextCloud entered (has 2 files and 0 folders) + PS> ./cd-nextcloud.ps1 + 📂C:\Users\Markus\NextCloud with 2 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if (-not(Test-Path "~/NextCloud" -pathType container)) { throw "No 'NextCloud' folder in your home directory - is NextCloud installed?" @@ -54,12 +56,12 @@ 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])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index a565d8c92..70d6cd24e 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if (-not(Test-Path "~/OneDrive" -pathType container)) { throw "No 'OneDrive' folder in your home directory - is OneDrive installed?" @@ -57,9 +59,9 @@ try { "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index 46529347e..f474b6028 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -1,7 +1,7 @@ The *cd-pics.ps1* Script =========================== -This PowerShell script sets the current working directory to the user's pictures folder. +This PowerShell script changes the current working directory to the user's pictures folder. Parameters ---------- @@ -36,7 +36,7 @@ Script Content .SYNOPSIS Sets the working dir to the user's pictures folder .DESCRIPTION - This PowerShell script sets the current working directory to the user's pictures folder. + This PowerShell script changes the current working directory to the user's pictures folder. .EXAMPLE PS> ./cd-pics.ps1 📂C:\Users\Markus\Pictures with 7 files and 0 folders entered. @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux) { if (-not(Test-Path "~/Pictures" -pathType container)) { @@ -64,9 +66,9 @@ try { "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-public.md b/docs/cd-public.md index ff00d9d02..38d5b05e0 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -1,7 +1,7 @@ The *cd-public.ps1* Script =========================== -This PowerShell script sets the current working directory to the Public folder. +This PowerShell script changes the current working directory to the Public folder. Parameters ---------- @@ -36,7 +36,7 @@ Script Content .SYNOPSIS Sets the working dir to the Public folder .DESCRIPTION - This PowerShell script sets the current working directory to the Public folder. + This PowerShell script changes the current working directory to the Public folder. .EXAMPLE PS> ./cd-public.ps1 📂C:\Users\Public with 2 files and 3 folders entered. @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux) { if (-not(Test-Path "~/Public" -pathType container)) { @@ -64,9 +66,9 @@ try { "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index 5ac64365c..9721ba1c1 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -1,7 +1,7 @@ The *cd-recent.ps1* Script =========================== -This PowerShell script changes the working directory to the 'recent' folder. +This PowerShell script changes the current working directory to the 'recent' folder. Parameters ---------- @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-recent -📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent entered (has 2 files and 3 subfolders) +PS> ./cd-recent.ps1 +📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent with 2 files and 3 folders entered. ``` @@ -36,30 +36,31 @@ Script Content .SYNOPSIS Sets the working directory to the 'recent' folder .DESCRIPTION - This PowerShell script changes the working directory to the 'recent' folder. + This PowerShell script changes the current working directory to the 'recent' folder. .EXAMPLE - PS> ./cd-recent - 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent entered (has 2 files and 3 subfolders) + PS> ./cd-recent.ps1 + 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent with 2 files and 3 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = [Environment]::GetFolderPath('Recent') - if (-not(Test-Path "$path" -pathType container)) { - throw "No recent folder at $path" - } + if (-not(Test-Path "$path" -pathType container)) { throw "No recent 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 in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index 1c0bf08fd..c09476707 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -1,36 +1,53 @@ The *cd-recycle-bin.ps1* Script =========================== -cd-recycle-bin.ps1 - +This PowerShell script changes the current working directory to the user's recycle bin folder. Parameters ---------- ```powershell - +/Repos/PowerShell/scripts/cd-recycle-bin.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS> ./cd-recycle-bin.ps1 +📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 with 2 files and 0 folders entered. + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell <# .SYNOPSIS - Sets the working directory to the recycle bin folder + Sets the working dir to the recycle bin folder .DESCRIPTION - This PowerShell script changes the working directory to the user's recycle bin folder. + This PowerShell script changes the current working directory to the user's recycle bin folder. .EXAMPLE - PS> ./cd-recycle-bin - 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 entered (has 2 files and 0 subfolders) + PS> ./cd-recycle-bin.ps1 + 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 with 2 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function GetCurrentUserSID { [CmdletBinding()] param() Add-Type -AssemblyName System.DirectoryServices.AccountManagement return ([System.DirectoryServices.AccountManagement.UserPrincipal]::Current).SID.Value @@ -49,12 +66,12 @@ 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 with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index 2586cbf03..3c4f3d4b2 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -1,7 +1,7 @@ The *cd-repo.ps1* Script =========================== -This PowerShell script changes the working directory to the given local Git repository. +This PowerShell script changes the current working directory to the given local Git repository. Parameters ---------- @@ -46,7 +46,7 @@ Script Content .SYNOPSIS Sets the working directory to a repo .DESCRIPTION - This PowerShell script changes the working directory to the given local Git repository. + This PowerShell script changes the current working directory to the given local Git repository. .PARAMETER folderName Specifies the folder name of the Git repository .EXAMPLE @@ -58,6 +58,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$folderName = "") try { @@ -85,9 +87,9 @@ try { & git status --branch --short exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index 93e57f725..347e4c1ed 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -1,7 +1,7 @@ The *cd-repos.ps1* Script =========================== -This PowerShell script changes the working directory to the folder for Git repositories. +This PowerShell script changes the current working directory to the folder for Git repositories. Parameters ---------- @@ -36,7 +36,7 @@ Script Content .SYNOPSIS Sets the working dir to the repos folder .DESCRIPTION - This PowerShell script changes the working directory to the folder for Git repositories. + This PowerShell script changes the current working directory to the folder for Git repositories. .EXAMPLE PS> ./cd-repos.ps1 📂C:\Repos with 33 folders entered. @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if (Test-Path "~/Repos" -pathType container) { $path = "~/Repos" } elseif (Test-Path "~/repos" -pathType container) { $path = "~/repos" @@ -64,9 +66,9 @@ try { "📂$path with $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-root.md b/docs/cd-root.md index 952b9349f..8723f3a19 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux -or $IsMacOS) { $path = "/" } else { $path = "C:\" } Set-Location "$path" @@ -54,9 +56,9 @@ try { "📂$path with $($folders.Count) folders and $($files.Count) files entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index 615cc5e39..4f91878f9 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -1,19 +1,34 @@ The *cd-screenshots.ps1* Script =========================== -cd-screenshots.ps1 - +This PowerShell script sets the current working directory to the user's screenshots folder. Parameters ---------- ```powershell - +/Repos/PowerShell/scripts/cd-screenshots.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS> ./cd-screenshots.ps1 +📂C:\Users\Markus\Pictures\Screenshots with 7 files and 0 folders entered. + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell @@ -31,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function GetScreenshotsFolder { if ($IsLinux) { if (-not(Test-Path "~/Pictures" -pathType container)) { throw "No 'Pictures' folder in your home directory yet" } @@ -52,9 +69,9 @@ try { "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index 9c9435567..1ef4d6a4c 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -1,7 +1,7 @@ The *cd-scripts.ps1* Script =========================== -This PowerShell script changes the working directory to the PowerShell scripts folder. +This PowerShell script changes the currrent working directory to the PowerShell scripts folder. Parameters ---------- @@ -36,7 +36,7 @@ Script Content .SYNOPSIS Sets the working directory to the PowerShell scripts folder .DESCRIPTION - This PowerShell script changes the working directory to the PowerShell scripts folder. + This PowerShell script changes the currrent working directory to the PowerShell scripts folder. .EXAMPLE PS> ./cd-scripts.ps1 📂C:\Repos\PowerShell\scripts with 655 scripts entered. @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = Resolve-Path "$PSScriptRoot" if (-not(Test-Path "$path" -pathType container)) { throw "No scripts folder at: $path" } @@ -54,9 +56,9 @@ try { "📂$path with $($files.Count) scripts entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index d3fc780c6..037ab85e4 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -1,7 +1,7 @@ The *cd-ssh.ps1* Script =========================== -This PowerShell script sets the current working directory to the user's secure shell (SSH) folder. +This PowerShell script changes the current working directory to the user's secure shell (SSH) folder. Parameters ---------- @@ -36,7 +36,7 @@ Script Content .SYNOPSIS Sets the working dir to the SSH folder .DESCRIPTION - This PowerShell script sets the current working directory to the user's secure shell (SSH) folder. + This PowerShell script changes the current working directory to the user's secure shell (SSH) folder. .EXAMPLE PS> ./cd-ssh.ps1 📂C:\Users\Markus\.ssh with 4 files entered. @@ -46,10 +46,12 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = "~/.ssh" if (-not(Test-Path "$path" -pathType container)) { - throw "No '.ssh' folder in your home directory yet - Is SSH installed?" + throw "No '.ssh' folder in your home directory yet - Please install SSH." } $path = Resolve-Path "$path" Set-Location "$path" @@ -57,9 +59,9 @@ try { "📂$path with $($files.Count) files entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-sync.md b/docs/cd-sync.md index f5f00d8ca..634e6cdb0 100644 --- a/docs/cd-sync.md +++ b/docs/cd-sync.md @@ -1,7 +1,7 @@ The *cd-sync.ps1* Script =========================== -This PowerShell script changes the working directory to the user's Syncthing folder. +This PowerShell script changes the current working directory to the user's Syncthing folder. Parameters ---------- @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-sync.ps1 -📂C:\Users\Markus\Sync entered (has 2 files and 0 folders) +📂C:\Users\Markus\Sync with 2 files and 0 folders entered. ``` @@ -36,30 +36,32 @@ Script Content .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. + This PowerShell script changes the current working directory to the user's Syncthing folder. .EXAMPLE PS> ./cd-sync.ps1 - 📂C:\Users\Markus\Sync entered (has 2 files and 0 folders) + 📂C:\Users\Markus\Sync with 2 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if (-not(Test-Path "~/Sync" -pathType container)) { - throw "No 'Sync' folder in your home directory - is Syncthing installed?" + throw "No 'Sync' folder in your home directory yet - Please install Syncthing." } $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)" + "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index 1246adace..c4a80e596 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -1,19 +1,34 @@ The *cd-temp.ps1* Script =========================== -cd-temp.ps1 - +This PowerShell script changes the current working directory to the temporary folder. Parameters ---------- ```powershell - +/Repos/PowerShell/scripts/cd-temp.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS> ./cd-temp.ps1 +📂C:\Users\Markus\AppData\Local\Temp with 2 files and 3 subfolders entered. + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell @@ -21,37 +36,37 @@ Script Content .SYNOPSIS Sets the working directory to the temporary folder .DESCRIPTION - This PowerShell script changes the working directory to the temporary folder. + This PowerShell script changes the current working directory to the temporary folder. .EXAMPLE - PS> ./cd-temp - 📂C:\Users\Markus\AppData\Local\Temp (has 2 files and 3 subfolders) + PS> ./cd-temp.ps1 + 📂C:\Users\Markus\AppData\Local\Temp with 2 files and 3 subfolders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function GetTempDir { if ("$env:TEMP" -ne "") { return "$env:TEMP" } if ("$env:TMP" -ne "") { return "$env:TMP" } - if ($IsLinux) { return "/tmp" } + if ($IsLinux -or $IsMacOS) { return "/tmp" } return "C:\Temp" } try { $path = GetTempDir - if (-not(Test-Path "$path" -pathType container)) { throw - "No temporary folder at $path" - } + if (-not(Test-Path "$path" -pathType container)) { throw "No temporary 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) subfolders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index bce43d27c..dfdd92e39 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux) { if (-not(Test-Path "~/Templates" -pathType container)) { @@ -64,9 +66,9 @@ try { "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index 00c241270..03a3ff949 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -1,36 +1,53 @@ The *cd-trash.ps1* Script =========================== -cd-trash.ps1 - +This PowerShell script changes the current working directory to the user's trash folder. Parameters ---------- ```powershell - +/Repos/PowerShell/scripts/cd-trash.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS> ./cd-trash.ps1 +📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 with 4 files and 0 folders entered. + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell <# .SYNOPSIS - Sets the working directory to the trash folder + Sets the working dir to the trash folder .DESCRIPTION - This PowerShell script changes the working directory to the user's trash folder. + This PowerShell script changes the current working directory to the user's trash folder. .EXAMPLE - PS> ./cd-trash - 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 entered (has 4 files and 0 subfolders) + PS> ./cd-trash.ps1 + 📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 with 4 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function GetCurrentUserSID { [CmdletBinding()] param() Add-Type -AssemblyName System.DirectoryServices.AccountManagement return ([System.DirectoryServices.AccountManagement.UserPrincipal]::Current).SID.Value @@ -49,12 +66,12 @@ 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 with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-up.md b/docs/cd-up.md index 1136ba999..8af73e412 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -1,7 +1,7 @@ The *cd-up.ps1* Script =========================== -This PowerShell script changes the working directory to one directory level up. +This PowerShell script changes the current working directory to one directory level up. Parameters ---------- @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> .\cd-up +PS> .\cd-up.ps1 📂C:\Users ``` @@ -36,9 +36,9 @@ Script Content .SYNOPSIS Sets the working directory to one level up .DESCRIPTION - This PowerShell script changes the working directory to one directory level up. + This PowerShell script changes the current working directory to one directory level up. .EXAMPLE - PS> .\cd-up + PS> .\cd-up.ps1 📂C:\Users .LINK https://github.com/fleschutz/PowerShell @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = Resolve-Path ".." if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" } @@ -53,9 +55,9 @@ try { "📂$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index e52ca1b9f..97dc31604 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -1,7 +1,7 @@ The *cd-up2.ps1* Script =========================== -This PowerShell script changes the working directory to two directory level up. +This PowerShell script changes the current working directory to two directory level up. Parameters ---------- @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./cd-up2 +PS> ./cd-up2.ps1 📂C:\ ``` @@ -34,11 +34,11 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to two directory levels up + Sets the working directory 2 directory levels up .DESCRIPTION - This PowerShell script changes the working directory to two directory level up. + This PowerShell script changes the current working directory to two directory level up. .EXAMPLE - PS> ./cd-up2 + PS> ./cd-up2.ps1 📂C:\ .LINK https://github.com/fleschutz/PowerShell @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = Resolve-Path "../.." if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" } @@ -53,9 +55,9 @@ try { "📂$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index eaf2e3e7c..7acc61350 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -1,7 +1,7 @@ The *cd-up3.ps1* Script =========================== -This PowerShell script changes the working directory to three directory levels up. +This PowerShell script changes the current working directory to three directory levels up. Parameters ---------- @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./cd-up3 +PS> ./cd-up3.ps1 📂C:\ ``` @@ -34,11 +34,11 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to three directory levels up + Sets the working directory 3 directory levels up .DESCRIPTION - This PowerShell script changes the working directory to three directory levels up. + This PowerShell script changes the current working directory to three directory levels up. .EXAMPLE - PS> ./cd-up3 + PS> ./cd-up3.ps1 📂C:\ .LINK https://github.com/fleschutz/PowerShell @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = Resolve-Path "../../.." if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" } @@ -53,9 +55,9 @@ try { "📂$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index 99aa489cb..8702430fe 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -1,7 +1,7 @@ The *cd-up4.ps1* Script =========================== -This PowerShell script changes the working directory to four directory levels up. +This PowerShell script changes the current working directory to four directory levels up. Parameters ---------- @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./cd-up4 +PS> ./cd-up4.ps1 📂C:\ ``` @@ -34,11 +34,11 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to four directory levels up + Sets the working directory 4 directory levels up .DESCRIPTION - This PowerShell script changes the working directory to four directory levels up. + This PowerShell script changes the current working directory to four directory levels up. .EXAMPLE - PS> ./cd-up4 + PS> ./cd-up4.ps1 📂C:\ .LINK https://github.com/fleschutz/PowerShell @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = Resolve-Path "../../../.." if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" } @@ -53,9 +55,9 @@ try { "📂$path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-users.md b/docs/cd-users.md index d37ab15f4..5fb58e609 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -46,19 +46,20 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $path = Resolve-Path "~/.." - if (-not(Test-Path "$path" -pathType container)) { - throw "No users directory at: $path" - } + if (-not(Test-Path "$path" -pathType container)) { throw "No users directory at: $path" } + Set-Location "$path" $folders = Get-ChildItem $path -attributes Directory "📂$path with $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index 38d8e3725..fc0fa3e21 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-videos -📂C:\Users\Markus\Videos entered (has 3 files and 0 subfolders) +PS> ./cd-videos.ps1 +📂C:\Users\Markus\Videos with 3 files and 0 folders entered. ``` @@ -38,14 +38,16 @@ Script Content .DESCRIPTION This PowerShell script changes the working directory to the user's videos folder. .EXAMPLE - PS> ./cd-videos - 📂C:\Users\Markus\Videos entered (has 3 files and 0 subfolders) + PS> ./cd-videos.ps1 + 📂C:\Users\Markus\Videos with 3 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux) { $path = Resolve-Path "~/Videos" @@ -58,12 +60,12 @@ 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 with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index 758c5606d..3d5b5d2c0 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -1,7 +1,7 @@ The *cd-windows.ps1* Script =========================== -This PowerShell script changes the working directory to the Windows directory. +This PowerShell script sets the current working directory to the Windows directory. Parameters ---------- @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-windows -📂C:\Windows entered (has 7 files and 42 folders) +PS> ./cd-windows.ps1 +📂C:\Windows with 7 files and 42 folders entered. ``` @@ -34,32 +34,35 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to the Windows directory + Sets the working dir to the Windows directory .DESCRIPTION - This PowerShell script changes the working directory to the Windows directory. + This PowerShell script sets the current working directory to the Windows directory. .EXAMPLE - PS> ./cd-windows - 📂C:\Windows entered (has 7 files and 42 folders) + PS> ./cd-windows.ps1 + 📂C:\Windows with 7 files and 42 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { + if ($IsLinux -or $IsMacOS) { throw "This script requires a Windows operating system" } + $path = Resolve-Path "$env:WINDIR" - if (-not(Test-Path "$path" -pathType container)) { - throw "No Windows directory at $path" - } + if (-not(Test-Path "$path" -pathType container)) { throw "No Windows 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) folders)" + "📂$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index 397521502..724118d55 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-admin.md b/docs/check-admin.md index 9b0eb32ec..13bc8a4f6 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-apps.md b/docs/check-apps.md index 9da53898e..cbfe784bd 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-bios.md b/docs/check-bios.md index f33ad3ab5..f83a56408 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index 7e7d79259..4b2b05828 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index 7305a53ae..839ad9c2e 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-day.md b/docs/check-day.md index faf55dc69..5ba0c489b 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-dns.md b/docs/check-dns.md index b1474dac6..ce95634c2 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index 7afc09d76..b7d512163 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-drives.md b/docs/check-drives.md index 5d215847e..5e51501f7 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index 08914e141..2be4a8dae 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index 20e6dff0d..a7b540965 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 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index 7944fb89b..9850031c0 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 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-file.md b/docs/check-file.md index c5ea2d479..ec4a4b0b6 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 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index b4f1044fb..2aef2c642 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index 6d04ad517..a5b277c82 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index 6d9970246..eabb6fd0d 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 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-health.md b/docs/check-health.md index 810f1b09e..23bb08def 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 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index 053db7cd0..87f6544e7 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 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index cbcb2240e..822526da9 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 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index c8e36ae4f..aae9c3888 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 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index 318a161c8..71565a2af 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 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index 273329a0b..1373840eb 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 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index 212464d2c..e0b438483 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-month.md b/docs/check-month.md index fb732efbb..200688eb6 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index e0c94e15b..bb09ce071 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 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index 23c703394..f68c2183b 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-network.md b/docs/check-network.md index 956f01544..ce19de665 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 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-noon.md b/docs/check-noon.md index 2d1954d99..82273d7c9 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-os.md b/docs/check-os.md index a094ec66b..9c904cd9c 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index 1abaf162e..bd0cbcd68 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-password.md b/docs/check-password.md index 9b11d1248..8669ed9d5 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index 7629abceb..d05d3556f 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index a7d00a000..81e2e3893 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-power.md b/docs/check-power.md index 36ffbe9f7..ec329bd97 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index 26570633c..e2ebc2ebf 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 6a2da542d..338e368e8 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* diff --git a/docs/check-ram.md b/docs/check-ram.md index 0d1bcb6dc..a3a8a8a7d 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-repo.md b/docs/check-repo.md index 94635468a..c2869c026 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -6,9 +6,9 @@ This PowerShell script verifies the integrity of a local Git repository and perf Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-repo.ps1 [[-pathToRepo] ] [] +/Repos/PowerShell/scripts/check-repo.ps1 [[-path] ] [] --pathToRepo +-path Specifies the file path to the local Git repository (current working directory by default) Required? false @@ -51,10 +51,10 @@ Script Content ```powershell <# .SYNOPSIS - Checks a Git repository + Checks a Git repo .DESCRIPTION This PowerShell script verifies the integrity of a local Git repository and performs maintenance tasks. -.PARAMETER pathToRepo +.PARAMETER path Specifies the file path to the local Git repository (current working directory by default) .EXAMPLE PS> ./check-repo.ps1 C:\MyRepo @@ -72,7 +72,7 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -param([string]$pathToRepo = "$PWD") +param([string]$path = "$PWD") try { $stopWatch = [system.diagnostics.stopwatch]::startNew() @@ -82,7 +82,7 @@ try { if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2/10) Checking local repository... " -noNewline - $FullPath = Resolve-Path "$pathToRepo" + $FullPath = Resolve-Path "$path" if (!(Test-Path "$FullPath" -pathType Container)) { throw "Can't access folder: $FullPath" } "$FullPath" @@ -122,12 +122,12 @@ try { $repoDirName = (Get-Item "$FullPath").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Checked 📂$repoDirName repo in $($elapsed)s." + "✅ Repo '$repoDirName' has been checked in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-repos.md b/docs/check-repos.md index ea6de9fbf..82b434932 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -28,9 +28,9 @@ Example ```powershell PS> ./check-repos.ps1 C:\Repos ⏳ Checking parent folder 📂C:\Repos... 16 subfolders -⏳ Checking 📂rust repository (1/16)... +⏳ Checking repo 'rust' (1/16)... ... -✅ Checked all 16 Git repos in 📂C:\Repos in 356s. +✅ 16 Git repos checked at 📂C:\Repos in 356s. ``` @@ -55,9 +55,9 @@ Script Content .EXAMPLE PS> ./check-repos.ps1 C:\Repos ⏳ Checking parent folder 📂C:\Repos... 16 subfolders - ⏳ Checking 📂rust repository (1/16)... + ⏳ Checking repo 'rust' (1/16)... ... - ✅ Checked all 16 Git repos in 📂C:\Repos in 356s. + ✅ 16 Git repos checked at 📂C:\Repos in 356s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -78,13 +78,13 @@ try { [int]$step = 1 foreach ($folder in $folders) { - "`n⏳ Checking 📂$folder repository ($step/$numFolders)..." + "`n⏳ Checking repo '$folder' ($step/$numFolders)..." & "$PSScriptRoot/check-repo.ps1" "$folder" $step++ } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Checked all $numFolders Git repos in 📂$parentDir in $($elapsed)s." + "✅ $numFolders Git repos checked at 📂$parentDir in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-santa.md b/docs/check-santa.md index 95d13f3f6..bff3aba44 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index 15d9005c3..7ad589162 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-software.md b/docs/check-software.md index ef42b3fb0..f6e7faf21 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index bb0d349a0..0032924ab 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index 884cb40f4..30459909b 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -108,4 +108,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index 1a40c8f49..52e2f65ce 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -6,10 +6,10 @@ This PowerShell script checks all symbolic links in a directory tree. It returns Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-symlinks.ps1 [[-Folder] ] [] +/Repos/PowerShell/scripts/check-symlinks.ps1 [[-path] ] [] --Folder - Specifies the path to the folder +-path + Specifies the file path to the directory tree Required? false Position? 1 @@ -26,9 +26,9 @@ Parameters Example ------- ```powershell -PS> ./check-symlinks D:\ -⏳ Please wait while checking symlinks at: 📂D:\ ... -✅ Found 0 broken symlinks at 📂D:\ in 60s. +PS> ./check-symlinks C:\Windows +⏳ Checking symlinks at C:\Windows including subfolders... +✅ No symlinks at C:\Windows (took 102s). ``` @@ -45,29 +45,29 @@ Script Content ```powershell <# .SYNOPSIS - Checks all symlinks in a folder + Checks all symlinks in a dir tree .DESCRIPTION This PowerShell script checks all symbolic links in a directory tree. It returns the number of broken symlinks as exit value. -.PARAMETER folder - Specifies the path to the folder +.PARAMETER path + Specifies the file path to the directory tree .EXAMPLE - PS> ./check-symlinks D:\ - ⏳ Please wait while checking symlinks at: 📂D:\ ... - ✅ Found 0 broken symlinks at 📂D:\ in 60s. + PS> ./check-symlinks C:\Windows + ⏳ Checking symlinks at C:\Windows including subfolders... + ✅ No symlinks at C:\Windows (took 102s). .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$Folder = "") +param([string]$path = "") try { - if ($Folder -eq "" ) { $Folder = Read-Host "Enter the path to the folder" } + if ($path -eq "" ) { $path = Read-Host "Enter the file path to the directory tree" } $stopWatch = [system.diagnostics.stopwatch]::startNew() - $fullPath = Resolve-Path "$Folder" - "⏳ Please wait while checking symlinks at 📂$fullPath ..." + $fullPath = Resolve-Path "$path" + "⏳ Checking symlinks at $fullPath including subfolders..." [int]$numTotal = [int]$numBroken = 0 Get-ChildItem $fullPath -recurse | Where { $_.Attributes -match "ReparsePoint" } | ForEach-Object { @@ -86,17 +86,19 @@ try { [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($numTotal -eq 0) { - "✅ No symlink found at 📂$fullPath in $($elapsed)s." + "✅ No symlinks at $fullPath (took $($elapsed)s)." + } elseif ($numBroken -eq 0) { + "✅ No broken symlinks at $fullPath ($numTotal symlinks in total, took $($elapsed)s)." } elseif ($numBroken -eq 1) { - "✅ Found $numBroken broken symlink at 📂$fullPath in $($elapsed)s ($numTotal symlinks in total)." + "⚠️ 1 broken symlink within $fullPath ($numTotal symlinks in total, took $($elapsed)s)." } else { - "✅ Found $numBroken broken symlinks at 📂$fullPath in $($elapsed)s ($numTotal symlinks in total)." + "⚠️ $numBroken broken symlinks within $fullPath ($numTotal symlinks in total, took $($elapsed)s)." } exit $numBroken } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index e58e41b92..f153aad3a 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index b4ae9919b..92e341cf7 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index f7ce8a1da..e59f767fd 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-weather.md b/docs/check-weather.md index 84504f653..97db6349b 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-week.md b/docs/check-week.md index 17f111b0c..c37c73f9b 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-wind.md b/docs/check-wind.md index febf08eae..139b3e83f 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index 4a07c1393..5f9b30503 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index 60a85be58..e5961f1bb 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index f9e0229e5..8da42506e 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index 1dab5908a..596a05c65 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -28,11 +28,11 @@ Example ------- ```powershell PS> ./clean-repo.ps1 C:\Repos\rust -⏳ (1/4) Searching for Git executable... git version 2.47.0 -⏳ (2/4) Checking local repository... C:\Repos\rust +⏳ (1/4) Searching for Git executable... git version 2.50.0 +⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Removing untracked files in repository... ⏳ (4/4) Removing untracked files in submodules... -✅ Repo 📂rust is clean now. +✅ Repo 'rust' is clean now. ``` @@ -57,11 +57,11 @@ Script Content Specifies the file path to the local Git repository (current working directory by default) .EXAMPLE PS> ./clean-repo.ps1 C:\Repos\rust - ⏳ (1/4) Searching for Git executable... git version 2.47.0 - ⏳ (2/4) Checking local repository... C:\Repos\rust + ⏳ (1/4) Searching for Git executable... git version 2.50.0 + ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Removing untracked files in repository... ⏳ (4/4) Removing untracked files in submodules... - ✅ Repo 📂rust is clean now. + ✅ Repo 'rust' is clean now. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -71,6 +71,8 @@ Script Content param([string]$path = "$PWD") try { + $stopWatch = [system.diagnostics.stopwatch]::startNew() + Write-Host "⏳ (1/4) Searching for Git executable... " -noNewline & git --version if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } @@ -91,12 +93,13 @@ try { & git -C "$path" submodule foreach --recursive git clean -xfd -f # to delete all untracked files in the submodules if ($lastExitCode -ne 0) { throw "'git clean' in the submodules failed with exit code $lastExitCode" } - "✅ Repo 📂$repoName is clean now." + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Repo '$repoName' cleaned in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index 094527fcc..bc3074f92 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -96,9 +96,9 @@ try { "✅ Cleaned $numFolders Git repositories under 📂$parentDirName in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index 8eed1f7dc..6536c42aa 100644 --- a/docs/clear-dns-cache.md +++ b/docs/clear-dns-cache.md @@ -1,7 +1,7 @@ The *clear-dns-cache.ps1* Script =========================== -This PowerShell script clears the DNS client cache of the local computer. +This PowerShell script empties the DNS client cache of the local computer. Parameters ---------- @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./clear-dns-cache.ps1 -✅ Cleared DNS cache in 1s. +✅ DNS cache cleared in 1s. ``` @@ -36,10 +36,10 @@ Script Content .SYNOPSIS Clears the DNS cache .DESCRIPTION - This PowerShell script clears the DNS client cache of the local computer. + This PowerShell script empties the DNS client cache of the local computer. .EXAMPLE PS> ./clear-dns-cache.ps1 - ✅ Cleared DNS cache in 1s. + ✅ DNS cache cleared in 1s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -52,12 +52,12 @@ try { Clear-DnsClientCache [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Cleared DNS cache in $($elapsed)s." + "✅ DNS cache cleared 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index 89fc3e9e4..e05584279 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index fa9d0ae3d..02c384df5 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index 00ed4d845..37679cd5b 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index 1bdcc7afb..788b1c34a 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index ab2d42ec4..f2b27d422 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index f2daf0eab..8ef8e16c3 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-edge.md b/docs/close-edge.md index dd4aaf1e8..1f14b9c7c 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index 5e4244c80..ec768dbaf 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index c2066f362..b2e85e02d 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index 11c4faab6..084c332d3 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index b9dcd560e..3e69dfca6 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 8a2a41cb0..a0c071320 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index 81797ff77..ca6892f00 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index 2f117a010..c8d02411f 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index dfdea5222..51e4d1ecc 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index 20901dc38..629c69f7c 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index 746a74e51..c5dba6257 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index 7ed04a7a7..bd3e69f48 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index 44392381b..004846276 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-program.md b/docs/close-program.md index 3b18e522e..5ea983335 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index 70533ae97..d12f6225c 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index f663ec1a2..2e6fcc451 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index c99161696..124377925 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 638b6fc85..858ea98c9 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index e784fafd5..ee0777a7d 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index d13dcd8dd..420346747 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index bb624b26e..094e62ad0 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index b2313d243..d9c4705d8 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index 99bd7db21..34c633111 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/configure-git.md b/docs/configure-git.md index 11db54f8d..106551e3d 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index 11872595a..b6c4077b5 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index 0b5fa8842..5812694d3 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-dir27z.md b/docs/convert-dir27z.md index 0162b59f1..b5a175bd7 100644 --- a/docs/convert-dir27z.md +++ b/docs/convert-dir27z.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index 9366930f3..827bd47ae 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index 30d4c1cd0..ec728a49f 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index 0669c0888..83881d823 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-history2ps1.md b/docs/convert-history2ps1.md index af7ec0758..78679c8a4 100644 --- a/docs/convert-history2ps1.md +++ b/docs/convert-history2ps1.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index 61303f6d1..3bea3749f 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index 0baf9a8fb..7f9c09dec 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index 252117c37..583f3be98 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-images2webp.md b/docs/convert-images2webp.md index d56944220..463409aee 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 06/22/2025 10:37:35)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index b815f5e6b..1d96dd7a8 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 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index 3d3c01554..dcd76fbbb 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index 937c58dc2..4be07284c 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 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index 9e3aa8169..c528c16ec 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index da065dc8b..f49d9b81b 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index 5784c5863..e39492f05 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -186,4 +186,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index 61c03105f..1e7ed4e67 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index b9f89421b..7cf60d13d 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/copy-broken-file.md b/docs/copy-broken-file.md new file mode 100644 index 000000000..662496d78 --- /dev/null +++ b/docs/copy-broken-file.md @@ -0,0 +1,686 @@ +The *copy-broken-file.ps1* Script +=========================== + +This script will copy the specified file even if it contains unreadable blocks caused by device I/O errors and such. The block that it can not read will be replaced with zeros. The size of the block is determined by the buffer. So, to optimize it for speed, use a large buffer. To optimize for accuracy, use a small buffer, smallest being the cluter size of the partition where your sourcefile resides. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/copy-broken-file.ps1 [-SourceFilePath] [-DestinationFilePath] [[-BufferSize] ] [[-MaxRetries] ] [-Overwrite] [[-Position] ] [[-PositionEnd] ] [-IgnoreBadBlocksFile] [-DeleteSourceOnSuccess] [[-BufferGranularSize] ] [[-ProgressParentId] ] [] + +-SourceFilePath + Path to the source file. + + Required? true + Position? 1 + Default value + Accept pipeline input? true (ByValue) + Aliases + Accept wildcard characters? false + +-DestinationFilePath + Path to the destination file. + + Required? true + Position? 2 + Default value + Accept pipeline input? true (ByValue) + Aliases + Accept wildcard characters? false + +-BufferSize + + Required? false + Position? 3 + Default value 4096 + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +-MaxRetries + 4096: the default windows cluster size. + + Required? false + Position? 4 + Default value 0 + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +-Overwrite [] + + Required? false + Position? named + Default value False + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +-Position + + Required? false + Position? 5 + Default value 0 + Accept pipeline input? true (ByValue) + Aliases + Accept wildcard characters? false + +-PositionEnd + must be 0, current limitation + + Required? false + Position? 6 + Default value -1 + Accept pipeline input? true (ByValue) + Aliases + Accept wildcard characters? false + +-IgnoreBadBlocksFile [] + must be -1, current limitation + + Required? false + Position? named + Default value False + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +-DeleteSourceOnSuccess [] + not implemented + + Required? false + Position? named + Default value False + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +-BufferGranularSize + + Required? false + Position? 7 + Default value -1 + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +-ProgressParentId + If > 0, use a larger buffer for speed, and only revert to granular size on an error block. Should be and exact divisor of buffer (BufferSize should be a multiple of BufferGranularSize) + + Required? false + Position? 8 + Default value -1 + Accept pipeline input? true (ByValue) + Aliases + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Inputs +------ +... + +Example +------- +```powershell +PS > .\Force-Copy.ps1 -SourceFilePath "file_path_on_bad_disk" -DestinationFilePath "destinaton_path" -MaxRetries 6 + + + +This will copy file_path_on_bad_disk to destinaton_path with maximum of 6 retries on each cluster of 4096 bytes encountered. Usually 6 retries is enough to succeed, unless the sector is really completely unreadable. + +``` + +Example +------- +```powershell +PS > Get-ChildItem '*.jpg' -Recurse -File -Force | foreach {.\Force-Copy.ps1 -SourceFilePath $_.FullName -DestinationFilePath ("C:\Saved"+(Split-Path $_.FullName -NoQualifier)) -Maxretries 2} + + + +Get-ChildItem '*.jpg' -Recurse -File -Force | foreach {.\Force-Copy.ps1 -SourceFilePath $_.FullName -DestinationFilePath ("C:\Saved"+(Split-Path $_.FullName -NoQualifier)) -Maxretries 2 -Overwrite} + +This command will copy all jpg's beginning with "Total" and copy them to "C:\Saved\relative_path" preserving their relative path. +When run the second time, the script will only try to reread the bad blocks in the source file, skipping data which was copied well in the previous run. This can be used to efficiently retry reading bad blocks. + +``` + +Example +------- +```powershell +PS > .\Force-Copy.ps1 -SourceFilePath "file_path_on_bad_disk" -DestinationFilePath "destinaton_path" -MaxRetries 6 -Position 1867264 -PositionEnd (1867264+4096) + + + +Suppose you have a repairable rar file, which you tried to repair, and it reports that the sector 3647 at offsets 1867264..1871360 can not be repaired. You can still try to read that specific sector with the above command. + +``` + +Example +------- +```powershell +PS > .\Force-Copy.ps1 -SourceFilePath "file_path_on_bad_disk" -DestinationFilePath "destinaton_path" -MaxRetries 6 -BufferSize 33554432 -BufferGranularSize 4096 + + + +This will quickly copy the file using a 32 MB buffer, and if it encounters an error, it will retry using a 4K buffer (so you get the best of both worlds, performance of a large buffer, and the minimized data loss of a smaller buffer). + +``` + +Script Content +-------------- +```powershell +## .SYNOPSIS +######################### +## This script copies a file, ignoring device I/O errors that abort the reading of files in most applications. +## +## .DESCRIPTION +######################### +## This script will copy the specified file even if it contains unreadable blocks caused by device I/O errors and such. The block that it can not read will be replaced with zeros. The size of the block is determined by the buffer. So, to optimize it for speed, use a large buffer. To optimize for accuracy, use a small buffer, smallest being the cluter size of the partition where your sourcefile resides. +## +## .OUTPUTS +######################### +## Errorcode 0: Copy operation finished without errors. +## Errorcode 1: Copy operation finished with unreadable blocks. +## Errorcode 2: Destination file exists, but -Overwrite not specified. +## Errorcode 3: Destination file exists but has no bad blocks (i.e. no badblocks.xml file found). +## Errorcode 4: Destination file can not be written to. +## +## .INPUTS +######################### +## ... +## +## .PARAMETER SourceFilePath +## Path to the source file. +## +## .PARAMETER DestinationFilePath +## Path to the destination file. +## +## .PARAMETER Buffer +## It makes absolutely no sense to set this less than the cluser size of the partition. Setting it lower than cluster size might force rereading a bad sector in a cluster multiple times. Better is to adjust the retry option. Also, System.IO.FileStream buffers input and output for better performance. (https://docs.microsoft.com/en-us/dotnet/api/system.io.filestream). +## +## .EXAMPLE +## .\Force-Copy.ps1 -SourceFilePath "file_path_on_bad_disk" -DestinationFilePath "destinaton_path" -MaxRetries 6 +## +## This will copy file_path_on_bad_disk to destinaton_path with maximum of 6 retries on each cluster of 4096 bytes encountered. Usually 6 retries is enough to succeed, unless the sector is really completely unreadable. +## +## .EXAMPLE +## Get-ChildItem '*.jpg' -Recurse -File -Force | foreach {.\Force-Copy.ps1 -SourceFilePath $_.FullName -DestinationFilePath ("C:\Saved"+(Split-Path $_.FullName -NoQualifier)) -Maxretries 2} +## +## Get-ChildItem '*.jpg' -Recurse -File -Force | foreach {.\Force-Copy.ps1 -SourceFilePath $_.FullName -DestinationFilePath ("C:\Saved"+(Split-Path $_.FullName -NoQualifier)) -Maxretries 2 -Overwrite} +## +## This command will copy all jpg's beginning with "Total" and copy them to "C:\Saved\relative_path" preserving their relative path. +## When run the second time, the script will only try to reread the bad blocks in the source file, skipping data which was copied well in the previous run. This can be used to efficiently retry reading bad blocks. +## +## .EXAMPLE +## .\Force-Copy.ps1 -SourceFilePath "file_path_on_bad_disk" -DestinationFilePath "destinaton_path" -MaxRetries 6 -Position 1867264 -PositionEnd (1867264+4096) +## +## Suppose you have a repairable rar file, which you tried to repair, and it reports that the sector 3647 at offsets 1867264..1871360 can not be repaired. You can still try to read that specific sector with the above command. +## +## .EXAMPLE +## .\Force-Copy.ps1 -SourceFilePath "file_path_on_bad_disk" -DestinationFilePath "destinaton_path" -MaxRetries 6 -BufferSize 33554432 -BufferGranularSize 4096 +## +## This will quickly copy the file using a 32 MB buffer, and if it encounters an error, it will retry using a 4K buffer (so you get the best of both worlds, performance of a large buffer, and the minimized data loss of a smaller buffer). +######################### + +[CmdletBinding()] +param( + [Parameter(Mandatory=$true, + ValueFromPipeline=$true, + HelpMessage="Source file path.")] + [string][ValidateScript({Test-Path -LiteralPath $_ -Type Leaf})]$SourceFilePath, + [Parameter(Mandatory=$true, + ValueFromPipeline=$true, + HelpMessage="Destination file path.")] + [string][ValidateScript({Test-Path -LiteralPath $_ -IsValid})]$DestinationFilePath, + [Parameter(Mandatory=$false, + ValueFromPipeline=$false, + HelpMessage="Buffer size in bytes.")] + [int32]$BufferSize=512*2*2*2, # 4096: the default windows cluster size. + [Parameter(Mandatory=$false, + ValueFromPipeline=$false, + HelpMessage="Amount of tries.")] + [int16]$MaxRetries=0, + [Parameter(Mandatory=$false, + ValueFromPipeline=$false, + HelpMessage="Overwrite destination file?")] + [switch]$Overwrite=$false, + [Parameter(Mandatory=$false, + ValueFromPipeline=$true, + HelpMessage="Specify position from which to read block.")] + [int64]$Position=0, # must be 0, current limitation + [Parameter(Mandatory=$false, + ValueFromPipeline=$true, + HelpMessage="Specify end position for reading.")] + [int64]$PositionEnd=-1, # must be -1, current limitation + [Parameter(Mandatory=$false, + ValueFromPipeline=$false, + HelpMessage="Ignore the existing badblocks.xml file?")] + [switch]$IgnoreBadBlocksFile=$false, # not implemented + [Parameter(Mandatory=$false, + ValueFromPipeline=$false, + HelpMessage="Will the source file be deleted in case no bad blocks are encountered?")] + [switch]$DeleteSourceOnSuccess=$false, + [Parameter(Mandatory=$false, + ValueFromPipeline=$false, + HelpMessage="Failback granular buffer size. Set BufferSize to a large value for speed, but revert to using a BufferGranularSize buffer when there is a read error.")] + [int32]$BufferGranularSize=-1, # If > 0, use a larger buffer for speed, and only revert to granular size on an error block. Should be and exact divisor of buffer (BufferSize should be a multiple of BufferGranularSize) + [Parameter(Mandatory=$false, + ValueFromPipeline=$true, + HelpMessage="Write-Progress Bar Parent Id.")] + [int32]$ProgressParentId=-1 +) + +Set-StrictMode -Version 2; + +# Simple assert function from http://poshcode.org/1942 +function Assert { +# Example +# set-content C:\test2\Documents\test2 "hi" +# C:\PS>assert { get-item C:\test2\Documents\test2 } "File wasn't created by Set-Content!" +# +[CmdletBinding()] +param( + [Parameter(Position=0,ParameterSetName="Script",Mandatory=$true)] + [ScriptBlock]$condition +, + [Parameter(Position=0,ParameterSetName="Bool",Mandatory=$true)] + [bool]$success +, + [Parameter(Position=1,Mandatory=$true)] + [string]$message +) + + $message = "ASSERT FAILED: $message" + + if($PSCmdlet.ParameterSetName -eq "Script") { + try { + $ErrorActionPreference = "STOP" + $success = &$condition + } catch { + $success = $false + $message = "$message`nEXCEPTION THROWN: $($_.Exception.GetType().FullName)" + } + } + if(!$success) { + throw $message + } +} + +# Forces read on Stream and returns total number of bytes read into buffer. +function Force-Read() { +param( + [Parameter(Mandatory=$true)] + [System.IO.FileStream]$Stream, + [Parameter(Mandatory=$true)] + [int64]$Position, + [Parameter(Mandatory=$true)] + [ref]$Buffer, + [Parameter(Mandatory=$true)] + [ref]$Successful, + [Parameter(Mandatory=$false)] + [int16]$MaxRetries=0 +) + + $Stream.Position = $Position; + $FailCounter = 0; + $Successful.Value = $false; + + while (-not $Successful.Value) { + + try { + + $ReadLength = $Stream.Read($Buffer.Value, 0, $Buffer.Value.Length); + # If the read operation is successful, the current position of the stream is advanced by the number of bytes read. If an exception occurs, the current position of the stream is unchanged. (http://msdn.microsoft.com/en-us/library/system.io.filestream.read.aspx) + + } catch [System.IO.IOException] { + + $ShouldHaveReadSize = [math]::Min([int64] $Buffer.Value.Length, ($Stream.Length - $Stream.Position)); + + if (++$FailCounter -le $MaxRetries) { # Retry to read block + + Write-Host $FailCounter"th retry to read "$ShouldHaveReadSize" bytes starting at "$($Stream.Position)" bytes." -ForegroundColor "DarkYellow"; + Write-Debug "Debugging read retry..."; + + continue; + + } else { # Failed read of block. + + Write-Host "Can not read"$ShouldHaveReadSize" bytes starting at "$($Stream.Position)" bytes: "$($_.Exception.message) -ForegroundColor "DarkRed"; + Write-Debug "Debugging read failure..."; + + # Should be here ONLY on UNsuccessful read! + # $Successful is $false by default; + $Buffer.Value = New-Object System.Byte[] ($Buffer.Value.Length); + return $ShouldHaveReadSize; + + } + + } catch { + + Write-Warning "Unhandled error at $($Stream.position) bit: $($_.Exception.message)"; + Write-Debug "Unhandled error. You should debug."; + + throw $_; + + } + + if ($FailCounter -gt 0) { # There were prior read failures + Write-Host "Successfully read"$ReadLength" bytes starting at "$($SourceStream.Position - $ReadLength)" bytes." -ForegroundColor "DarkGreen"; + } + + # Should be here ONLY on successful read! + $Successful.Value = $true; + # Buffer is allready set during successful read. + return $ReadLength; + + } + + throw "Should not be here..."; +} + +# Returns a custom object for storing bad block data. +function New-Block() { + param ([int64] $OffSet, [int32] $Size) + + $block = new-object PSObject + + Add-Member -InputObject $block -MemberType NoteProperty -Name "OffSet" -Value $OffSet; + Add-Member -InputObject $block -MemberType NoteProperty -Name "Size" -Value $Size; + + return $block; +} + +function Force-Copy-ProgressReport (){ +param ( + [Parameter(Mandatory=$true)] + [int64]$Position, + [Parameter(Mandatory=$true)] + [int64]$PositionEnd, + [Parameter(Mandatory=$true)] + [string] $LatestThroughput, + [Parameter(Mandatory=$true)] + [string] $DetailedStatus +) + + # Report total percent done + [float] $CurrProgress = $Position/$PositionEnd * 100; + [string] $fName = (Split-Path $SourceFilePath -Leaf) + [string] $fPath = (Split-Path $SourceFilePath -Parent) + Write-Progress -Activity "Force-Copy" -Status "Copying $fName ($LatestThroughput MB/s) from $fPath" -percentComplete ($CurrProgress) -CurrentOperation $DetailedStatus -ParentId $ProgressParentId; + + # Report block being read (only every so often, to avoid flicker and wasted processing) + # Write-Progress -Id 1 -Activity "Force-Copy" -Status $DetailedStatus -percentComplete (-1); +} + +# Snity checks +if ((Test-Path -LiteralPath $DestinationFilePath) -and -not $Overwrite) { + Write-Host "Destination file $DestinationFilePath allready exists and -Overwrite not specified. Exiting." -ForegroundColor "Red"; + exit 2; +} +Assert {$Position -eq 0 -and $PositionEnd -eq -1} "Current limitation: Position and PositionEnd should be 0 and -1 respectively."; + +if ($BufferGranularSize -gt 0) { + Assert {(($BufferSize % $BufferGranularSize) -eq 0) -and ($BufferSize -gt $BufferGranularSize)} "BufferSize must be larger and divisible by BufferGranularSize."; +} + +# Setting global variables +$DestinationFileBadBlocksPath = $DestinationFilePath + '.badblocks.xml'; +$DestinationFileBadBlocks = @(); + +# Fetching SOURCE file +$SourceFile = Get-Item -LiteralPath $SourceFilePath; +Assert {$Position -lt $SourceFile.length} "Specified position out of source file bounds."; + +# Fetching DESTINATION file. +if (-not (Test-Path -LiteralPath ($DestinationParentFilePath = Split-Path -Path $DestinationFilePath -Parent) -PathType Container)) { # Make destination parent folder in case it doesn't exist. + New-Item -ItemType Directory -Path $DestinationParentFilePath | Out-Null; +} +$DestinationFile = New-Object System.IO.FileInfo ($DestinationFilePath); # Does not (!) physicaly make a file. +$NewDestinationFile = -not $DestinationFile.Exists; + +# Special handling for DESTINATION file in case OVERWRITE is used! Only bad block are read from source! +if ($Overwrite -and (Test-Path -LiteralPath $DestinationFilePath)) { + + # Make sure the Source and Destination files have the same length prior to overwrite! + Assert {$SourceFile.Length -eq $DestinationFile.Length} "Source and destination file have not the same size!" + + # Search for badblocks.xml - if it doesn't exist then the file is probably OK, so don't do anything! + if (-not (Test-Path -LiteralPath $DestinationFileBadBlocksPath)) { + + Write-Host "Destination file $DestinationFilePath has no bad blocks. It is unwise to continue... Exiting." -ForegroundColor "Red"; + exit 3; + + } else { # There is a $DestinationFileBadBlocksPath + + $DestinationFileBadBlocks = Import-Clixml $DestinationFileBadBlocksPath; + Write-Host "Badblocks.xml successfully imported. Destination file has $(($DestinationFileBadBlocks | Measure-Object -Sum -Property Size).Sum) bad bytes." -ForegroundColor "Yellow"; + + # Make sure destination file has bad blocks. + if ($DestinationFileBadBlocksPath.Length -eq 0) { + Write-Host "Destination file $DestinationFilePath has no bad blocks according to badblocks.xml. Should not overwrite... Exiting." -ForegroundColor "Red"; + exit 3; + } + + # When using $BufferGranularSize (or other gradual retry logic), it could be writting different size blocks to badblocks file. What would be the implications if it did? + Assert {($DestinationFileBadBlocks | Measure-Object -Average -Property Size).Average -eq $BufferSize } "Block sizes do not match between source and destination file. Can not continue." # This is currently an implementation shortcomming. + + } +} + +# Making buffer +$Buffer = New-Object -TypeName System.Byte[] -ArgumentList $BufferSize; + +# Making container for storing missread offsets. +$UnreadableBlocks = @(); + +# Making filestreams +$SourceStream = $SourceFile.OpenRead(); +$DestinationStream = $DestinationFile.OpenWrite(); +if (-not $?) {exit 4;} + +# Measure time between progress reports to avoid wasting resources (and adding wait times for the UI to redraw) +[TimeSpan] $ReportEvery = New-TimeSpan -Seconds 10; # Wait 10 seconds before first report, then every 3 +[TimeSpan] $ReportWaitAfterward = New-TimeSpan -Seconds 3; # Update every 3 seconds after first report +[TimeSpan] $ThroughputRefreshEvery = $ReportEvery - (New-TimeSpan -Seconds 2); # Wait 8+ seconds to recalculate throuput +[Diagnostics.Stopwatch] $sw = [Diagnostics.Stopwatch]::StartNew(); +[TimeSpan] $LatestReportedAt = $sw.Elapsed; +[TimeSpan] $LatestThroughputReportedAt = $LatestReportedAt; +[int64] $InitialPosition = $Position # Remember initial $Position value (before it is changed during iterations) for final throughput calc +[int64] $ThroughputLastPosition = $Position; # Initial position to calculate throughput +[float] $ThroughputLast = 0; # MB/s throughput as of last refresh +[int64] $GranularOverallBadSizeTotal = 0; + +# Measure time between progress reports to avoid wasting resources (and adding wait times for the UI to redraw) +[TimeSpan] $ReportEvery = New-TimeSpan -Seconds 10; # Wait 10 seconds before first report, then every 3 +[TimeSpan] $ReportWaitAfterward = New-TimeSpan -Seconds 3; # Update every 3 seconds after first report +[TimeSpan] $ThroughputRefreshEvery = $ReportEvery - (New-TimeSpan -Seconds 2); # Wait 8+ seconds to recalculate throuput +[Diagnostics.Stopwatch] $sw = [Diagnostics.Stopwatch]::StartNew(); +[TimeSpan] $LatestReportedAt = $sw.Elapsed; +[TimeSpan] $LatestThroughputReportedAt = $LatestReportedAt; +[int64] $InitialPosition = $Position # Remember initial $Position value (before it is changed during iterations) for final throughput calc +[int64] $ThroughputLastPosition = $Position; # Initial position to calculate throughput +[float] $ThroughputLast = 0; # MB/s throughput as of last refresh +[int64] $GranularOverallBadSizeTotal = 0; + +if ($PositionEnd -le -1) {$PositionEnd = $SourceStream.Length} + +# Copying starts here +Write-Host "Starting copying of $SourceFilePath..." -ForegroundColor "Green"; + +[bool] $ReadSuccessful = $false; + +while ($Position -lt $PositionEnd) { + + # Report progress so far + # Only report every so often, to avoid flicker and wasted processing/wait times + if( ($LatestReportedAt + $ReportEvery) -le $sw.Elapsed) { + + # Update throughput calculation + if( ($LatestThroughputReportedAt + $ThroughputRefreshEvery) -le $sw.Elapsed) { + $ThroughputLast = [math]::Round(($Position - $ThroughputLastPosition) / 1024 / 1024 / ($sw.Elapsed - $LatestThroughputReportedAt).TotalSeconds, 2); + $LatestThroughputReportedAt = $sw.Elapsed; + $ThroughputLastPosition = $Position; + } + + # Update progress bar(s) + Force-Copy-ProgressReport -Position $Position -PositionEnd $PositionEnd -LatestThroughput $ThroughputLast ` + -DetailedStatus "Reading block ($BufferSize bytes) at position $Position" + + # Update interval variables + $LatestReportedAt = $sw.Elapsed; + $ReportEvery = $ReportWaitAfterward; # Switch to 3 seconds after the initial wait + } + + if ($NewDestinationFile -or + ($PositionMarkedAsBad = $DestinationFileBadBlocks | % {if (($_.Offset -le $Position) -and ($Position -lt ($_.Offset + $_.Size))) {$true;}})) { + + if (($Position -eq 0) -or -not $LastReadFromSource) {Write-Host "Started reading from source file at offset $Position." -ForegroundColor "DarkRed";} + $LastReadFromSource = $true; + + [bool] $GranularLogicUsed = $false; + + # Force read a block from source + if (($BufferGranularSize -gt 0) -and ($MaxRetries -gt 0) ) { + # Try once w/o retries + $ReadLength = Force-Read -Stream $SourceStream -Position $Position -Buffer ([ref] $Buffer) -Successful ([ref] $ReadSuccessful) -MaxRetries 0; + + # If failed, then go again retrying with smaller buffer + if (-not $ReadSuccessful) { + # Granular logic could probably use more testing (extreme cases, like error in last block of file). + # Maybe try and use Holodeck (now open source), see http://stackoverflow.com/questions/4430591/simulating-file-errors-e-g-error-access-denied-on-windows + + # Flag we are switched to smaller buffer (so it doesn't write to output in outer if) + $GranularLogicUsed = $true; + + # Better way to log it, actually granular? Or just ignore the outer buffer size for badblocks purposes (it's unlikely that people will be mixing versions of the script with prior badblock with different sizes) + # $UnreadableBlocks += New-Block -OffSet $Position -Size $ReadLength; + + Write-Host "Switching to granular logic at $Position." -ForegroundColor "DarkGreen"; + + # Allocate granular buffer + $GranularBuffer = New-Object -TypeName System.Byte[] -ArgumentList $BufferGranularSize; + + # Could probably try and refactor with outer loop (and/or refactor conditional), but it could be error prone. For now better duplicate some of the outer loop logic with local variables + # Could also try and do it inside Force-Read (and might be more elegant), but that might have other issues + # Maybe better yet, could refactor into a recursive version, so it would gradually lower the granular buffer size, so it doesn't loose all the speed when it hits an error + [int64] $GranularPosition = $Position; + [int64] $GranularLastPosition = [math]::Min([int64] $Position + $BufferSize, $PositionEnd); + [int64] $GranularReadLength = -1; + [int64] $GranularReadLengthTotal = 0; + [bool] $GranularReadSuccessful = $false; + + while ($GranularPosition -lt $GranularLastPosition) { + # Update progress report + if( ($LatestReportedAt + $ReportEvery) -le $sw.Elapsed) { + if( ($LatestThroughputReportedAt + $ThroughputRefreshEvery) -le $sw.Elapsed) { + $ThroughputLast = [math]::Round(($GranularPosition - $ThroughputLastPosition) / 1024 / 1024 / ($sw.Elapsed - $LatestThroughputReportedAt).TotalSeconds, 2); + $LatestThroughputReportedAt = $sw.Elapsed; + $ThroughputLastPosition = $GranularPosition; + } + + Force-Copy-ProgressReport -Position $GranularPosition -PositionEnd $PositionEnd -LatestThroughput $ThroughputLast ` + -DetailedStatus "Granular reading $BufferGranularSize bytes block at position $GranularPosition" + + $LatestReportedAt = $sw.Elapsed; + $ReportEvery = $ReportWaitAfterward; + } + + $GranularReadLength = Force-Read -Stream $SourceStream -Position $GranularPosition -Buffer ([ref] $GranularBuffer) -Successful ([ref] $GranularReadSuccessful) -MaxRetries ($MaxRetries); + + if (-not $GranularReadSuccessful) { + $GranularOverallBadSizeTotal += $GranularReadLength; + } + + # Here we could log a more granular version of badblocks + $UnreadableBlocks += New-Block -OffSet $GranularPosition -Size $GranularReadLength; + + # Write to destination file. + $DestinationStream.Position = $GranularPosition; + $DestinationStream.Write($GranularBuffer, 0, $GranularReadLength); + + $GranularPosition += $GranularReadLength; + $GranularReadLengthTotal += $GranularReadLength; + } + + $ReadLength = $GranularReadLengthTotal; + + # Does it need an escape clause like $LastReadFromSource (see below) + } + + } else { + + # Original logic w/o granular buffer + $ReadLength = Force-Read -Stream $SourceStream -Position $Position -Buffer ([ref] $Buffer) -Successful ([ref] $ReadSuccessful) -MaxRetries $MaxRetries; + + } + + if (-not $GranularLogicUsed) { + if (-not $ReadSuccessful) { + $UnreadableBlocks += New-Block -OffSet $Position -Size $ReadLength; + } + + # Write to destination file. + $DestinationStream.Position = $Position; + $DestinationStream.Write($Buffer, 0, $ReadLength); + } + + + } else { + + if ($Position -eq 0 -or $LastReadFromSource) {Write-Host "Skipping from offset $Position." -ForegroundColor "DarkGreen";} + $LastReadFromSource = $false; + + # Skipping block. + $ReadLength = $BufferSize; + + } + + $Position += $ReadLength; # adjust position + +} + +$SourceStream.Dispose(); +$DestinationStream.Dispose(); + +$sw.Stop(); + +if ($UnreadableBlocks) { + + # Write summaryamount of bad blocks. + if ($BufferGranularSize -gt 0) { + Write-Host "Up to $GranularOverallBadSizeTotal bytes are bad." -ForegroundColor "Magenta"; + } else { + Write-Host "$(($UnreadableBlocks | Measure-Object -Sum -Property Size).Sum) bytes are bad." -ForegroundColor "Magenta"; + } + + # Export badblocks.xml file. + Export-Clixml -LiteralPath ($DestinationFileBadBlocksPath) -InputObject $UnreadableBlocks; + +} elseif (Test-Path -LiteralPath $DestinationFileBadBlocksPath) { # No unreadable blocks and badblocks.xml exists. + + Remove-Item -LiteralPath $DestinationFileBadBlocksPath; +} + +# Set creation and modification times +$DestinationFile.CreationTimeUtc = $SourceFile.CreationTimeUtc; +$DestinationFile.LastWriteTimeUtc = $SourceFile.LastWriteTimeUtc; +$DestinationFile.IsReadOnly = $SourceFile.IsReadOnly; + +[string] $FinalTimeStr = $sw.Elapsed.ToString(); +[float] $ThroughputMBperS = [math]::Round( ($PositionEnd - $InitialPosition) / 1024 / 1024 / $sw.Elapsed.TotalSeconds, 2); +Write-Host "Copied $PositionEnd bytes in $FinalTimeStr ($ThroughputMBperS MB/s)" -ForegroundColor "Green"; +Write-Host "Finished copying $SourceFilePath!`n" -ForegroundColor "Green"; + +# Return specific code. +if ($UnreadableBlocks) { + exit 1; +} else { + exit 0; +} +``` + +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index 2f43b1d5d..3daba2fe9 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -153,4 +153,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/copy-videos-sorted.md b/docs/copy-videos-sorted.md index 245d83283..f5ac901aa 100644 --- a/docs/copy-videos-sorted.md +++ b/docs/copy-videos-sorted.md @@ -136,4 +136,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/count-characters.md b/docs/count-characters.md index d41bdb082..dbfd07d33 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/count-lines.md b/docs/count-lines.md index d08d5d587..1953804c2 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index b3138f001..e4bc2da1b 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -199,4 +199,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index ad2eda109..3324b9809 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index d4959df0e..df73f91da 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* diff --git a/docs/download-dir.md b/docs/download-dir.md index 3712029a9..371c312ab 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/download-file.md b/docs/download-file.md index 642e39d5c..35cd870fa 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/edit.md b/docs/edit.md index b0872ac2c..6371005cc 100644 --- a/docs/edit.md +++ b/docs/edit.md @@ -81,6 +81,7 @@ TryEditor "hx" $path TryEditor "emacs" $path TryEditor "Code" $path TryEditor "notepad.exe" $path +TryEditor "edit.exe" $path TryEditor "wordpad.exe" $path Write-Host "" @@ -88,4 +89,4 @@ Write-Host "" exit 1 ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 230a06d18..30c94cf29 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -83,6 +83,19 @@ Script Content # # ################################################################## +# Check if running with administrator privileges +if (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { + Write-Host "ERROR: This script requires administrator privileges to modify registry keys." -ForegroundColor Red + Write-Host "Please run this script as an administrator:" -ForegroundColor Yellow + Write-Host "1. Right-click on PowerShell" -ForegroundColor Yellow + Write-Host "2. Select 'Run as administrator'" -ForegroundColor Yellow + Write-Host "3. Re-run this script" -ForegroundColor Yellow + Write-Host "" + Write-Host "Press any key to exit..." + $null = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") + exit 1 +} + #Setting Values: $MDN = '0' $MDWDS = '1' @@ -134,7 +147,7 @@ Clear-Host Write-Host "Setting up your machine to receive Usermode Dumps via WER." Start-Sleep -seconds 3 - +New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Force New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Name "DumpFolder" -Value "%LOCALAPPDATA%\CrashDumps" -PropertyType ExpandString -Force New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Name "DumpCount" -Value "10" -PropertyType DWORD -Force @@ -148,7 +161,7 @@ $NCD = Read-Host "Enter a number option" If ($NCD -eq '3') { - + New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Force New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Name "DumpType" -Value "0" -PropertyType DWORD -Force Do { @@ -272,6 +285,7 @@ If ($NCD -eq '3') $SumArray = Invoke-Expression $sum $FinalSum = $0x + $SumArray + New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Force New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Name "CustomDumpFlags" -Value "$FinalSum" -PropertyType DWORD -Force write-host " " @@ -296,6 +310,7 @@ ElseIf ($NCD -eq '0') } ElseIf ($NCD -eq '1') { + New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Force New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Name "DumpType" -Value "2" -PropertyType DWORD -Force write-host "The computer has been set up to create a Full Sized Dump and will be located in %LOCALAPPDATA%\CrashDumps." write-host "The computer must also restart for settings to take effect. Would you like to now? (Y/n)" @@ -310,6 +325,7 @@ ElseIf ($NCD -eq '1') } ElseIf ($NCD -eq '2') { + New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Force New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" -Name "DumpType" -Value "1" -PropertyType DWORD -Force write-host "The computer has been set up to create a Mini Dump and will be located in %LOCALAPPDATA%\CrashDumps." write-host "The computer must also restart for settings to take effect. Would you like to now? (Y/n)" @@ -330,4 +346,4 @@ Else exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index 1e3f41e89..69a79a820 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 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index e064f62ce..2d4f959c4 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index e9df99035..791392659 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -184,4 +184,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index 11e1f3e9f..6857a5926 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 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/enter-host.md b/docs/enter-host.md index 2745c9df8..a18995422 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -27,8 +27,8 @@ Example ------- ```powershell PS> ./enter-host.ps1 tux -✅ tux is online (3ms latency to 192.168.1.179) -⏳ Connecting as user 'markus' using OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 +✅ 'tux' is online with 3ms ping to it's IP 192.168.1.179 +⏳ Connecting as user 'markus' with OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 markus@tux's password: ... @@ -54,8 +54,8 @@ Script Content Specifies the remote hostname or IP address .EXAMPLE PS> ./enter-host.ps1 tux - ✅ tux is online (3ms latency to 192.168.1.179) - ⏳ Connecting as user 'markus' using OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 + ✅ 'tux' is online with 3ms ping to it's IP 192.168.1.179 + ⏳ Connecting as user 'markus' with OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 markus@tux's password: ... .LINK @@ -83,7 +83,7 @@ try { & "$PSScriptRoot/wake-up-host.ps1" } - Write-Host "⏳ Connecting as user '$remoteUser' using " -noNewline + Write-Host "⏳ Connecting as user '$remoteUser' with " -noNewline & ssh -V if ($lastExitCode -ne 0) { throw "'ssh -V' failed with exit code $lastExitCode" } @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index 7698922dd..4235d89bd 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 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index 0fd0cb2d6..145fc6a8f 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -85,9 +85,9 @@ try { "✅ Updates fetched into 📂$repoDirName repo in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 36741e336..4c1651624 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index 688819309..32afadf0c 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -64,4 +64,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 6c7a8d4fa..6163e3e47 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index a7a255e51..29bd8ca8b 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index a864e03a6..3660e5d45 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/get-sha512.md b/docs/get-sha512.md index ecc3dc927..280df5f27 100644 --- a/docs/get-sha512.md +++ b/docs/get-sha512.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/hello-world.md b/docs/hello-world.md index b11953ceb..57b4512de 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 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/hibernate.md b/docs/hibernate.md index dcac94d77..985f9f263 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/import-vm.md b/docs/import-vm.md index 78c02449d..1ea7fa3d1 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 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index 673b45314..901dbcba4 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index f93aa7639..617fce92b 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Audacity, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index 6115c4ecc..789b33651 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -18,10 +18,11 @@ Example ------- ```powershell PS> ./install-basic-apps.ps1 -⏳ (1) Loading data/basic-apps.csv... 37 apps listed -⏳ (2) Applications to install/upgrade: 7-Zip · Aquile Reader ... +⏳ (1) Loading basic-apps.csv from data/ folder... +⏳ (2) Will install/upgrade 39 basic apps: 7-Zip, Aquile Reader ... +NOTE: Installation starts in 15 seconds or press to abort... ... -✅ Installed 37 basic apps (0 skipped) in 387 sec. +✅ 39 basic apps installed (0 skipped, took 387s) ``` @@ -44,31 +45,32 @@ Script Content NOTE: Apps from Microsoft Store are preferred (due to security and automatic updates). .EXAMPLE PS> ./install-basic-apps.ps1 - ⏳ (1) Loading data/basic-apps.csv... 37 apps listed - ⏳ (2) Applications to install/upgrade: 7-Zip · Aquile Reader ... + ⏳ (1) Loading basic-apps.csv from data/ folder... + ⏳ (2) Will install/upgrade 39 basic apps: 7-Zip, Aquile Reader ... + NOTE: Installation starts in 15 seconds or press to abort... ... - ✅ Installed 37 basic apps (0 skipped) in 387 sec. + ✅ 39 basic apps installed (0 skipped, took 387s) .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $stopWatch = [system.diagnostics.stopwatch]::startNew() - Write-Host "⏳ (1) Loading data/basic-apps.csv... " -noNewline + Write-Host "⏳ (1) Loading basic-apps.csv from data/ folder..." $table = Import-CSV "$PSScriptRoot/../data/basic-apps.csv" $numEntries = $table.count - "$numEntries apps listed" - Write-Host "⏳ (2) Applications to install/upgrade: " -noNewline + Write-Host "⏳ (2) Will install/upgrade $numEntries basic apps: " -noNewline foreach($row in $table) { [string]$appName = $row.APPLICATION - Write-Host "$appName · " -noNewline + Write-Host "$appName, " -noNewline } "" - "" - "The installation will start in 15 seconds or press to abort..." + "NOTE: Installation starts in 15 seconds or press to abort..." Start-Sleep -seconds 15 [int]$step = 3 @@ -79,18 +81,18 @@ try { [string]$appID = $row.APPID Write-Host " " Write-Host "⏳ ($step/$($numEntries + 2)) Installing $category '$appName'..." - & winget install --id $appID --accept-package-agreements --accept-source-agreements + & winget install --id $appID --silent --accept-package-agreements --accept-source-agreements if ($lastExitCode -ne 0) { $numSkipped++ } $step++ } [int]$numInstalled = ($numEntries - $numSkipped) [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Installed $numInstalled basic apps ($numSkipped skipped) in $elapsed sec." + "✅ $numInstalled basic apps installed ($numSkipped skipped, took $($elapsed)s)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 1f97ff849..d74823bf3 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -46,6 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $StopWatch = [system.diagnostics.stopwatch]::startNew() if (!$IsLinux) { throw "Only Linux currently support snaps" } @@ -76,9 +78,9 @@ try { "✅ Installed 20 snap apps in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index 2e5dbda5c..91ee7c1e4 100644 --- a/docs/install-calibre-server.md +++ b/docs/install-calibre-server.md @@ -96,7 +96,7 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator param([int]$port = 8099, [string]$mediaFolder = "/opt/Calibre Library", [string]$userDB = "/opt/CalibreUsers.sqlite", [string]$logfile = "/opt/CalibreServer.log") @@ -128,9 +128,9 @@ try { " (URL=http://$(hostname):$port media=$mediaFolder userDB=$userDB log=$logfile)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index 576a30400..eac021a8a 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -44,7 +44,7 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator try { [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index f4f16baf2..16180e17c 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Google Chrome, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index 0ce7a5ae5..76fec55a4 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "⏳ Installing CrystalDiskInfo from Microsoft Store, please wait..." $stopWatch = [system.diagnostics.stopwatch]::startNew() @@ -60,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index a874a7cc4..5f761c182 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing CrystalDiskMark, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-discord.md b/docs/install-discord.md index 3cc5bb615..ebc9122ad 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Discord, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-edge.md b/docs/install-edge.md index f8d39cf2b..c58eb0aed 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Microsoft Edge, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-edit.md b/docs/install-edit.md new file mode 100644 index 000000000..bccb0972b --- /dev/null +++ b/docs/install-edit.md @@ -0,0 +1,74 @@ +The *install-edit.ps1* Script +=========================== + +This PowerShell script installs Microsoft Edit. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/install-edit.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./install-edit.ps1 +⏳ Installing Microsoft Edit from Microsoft Store... +✅ Microsoft Edit installed successfully (took 25s). + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Installs Edit +.DESCRIPTION + This PowerShell script installs Microsoft Edit. +.EXAMPLE + PS> ./install-edit.ps1 + ⏳ Installing Microsoft Edit from Microsoft Store... + ✅ Microsoft Edit installed successfully (took 25s). +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +#requires -version 5.1 + +try { + $stopWatch = [system.diagnostics.stopwatch]::startNew() + + if ($IsLinux) { + "⏳ Installing Microsoft Edit from Snap Store..." + & sudo snap install msedit + if ($lastExitCode -ne 0) { throw "Can't install Microsoft Edit, is it already installed?" } + } else { + "⏳ Installing Microsoft Edit from Microsoft Store..." + & winget install --id Microsoft.Edit --accept-package-agreements --accept-source-agreements + if ($lastExitCode -ne 0) { throw "Can't install Microsoft Edit, is it already installed?" } + } + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Microsoft Edit installed successfully (took $($elapsed)s)." + exit 0 # success +} catch { + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index 6d9232481..559fa7349 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $stopWatch = [system.diagnostics.stopwatch]::startNew() @@ -72,9 +74,9 @@ try { "✅ evcc installed successfully in $($elapsed)s." exit 0 # success } catch { - "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index 83f5e2450..21278c51a 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -1,7 +1,7 @@ The *install-firefox.ps1* Script =========================== -This PowerShell script installs Mozilla Firefox from the Microsoft Store. +This PowerShell script installs the Mozilla Firefox browser from Microsoft Store. Parameters ---------- @@ -17,6 +17,8 @@ Example ------- ```powershell PS> ./install-firefox.ps1 +⏳ Installing Mozilla Firefox from Microsoft Store... + ✅ Mozilla Firefox installed successfully in 25s. ``` @@ -35,27 +37,33 @@ Script Content .SYNOPSIS Installs Mozilla Firefox .DESCRIPTION - This PowerShell script installs Mozilla Firefox from the Microsoft Store. + This PowerShell script installs the Mozilla Firefox browser from Microsoft Store. .EXAMPLE PS> ./install-firefox.ps1 + ⏳ Installing Mozilla Firefox from Microsoft Store... + ✅ Mozilla Firefox installed successfully in 25s. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { - "Installing Mozilla Firefox, please wait..." + $stopWatch = [system.diagnostics.stopwatch]::startNew() + "⏳ Installing Mozilla Firefox from Microsoft Store..." - & winget install "Mozilla Firefox Browser" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne 0) { throw "'winget install' failed" } + & winget install --id 9NZVDKPMR9RD --source msstore --accept-package-agreements --accept-source-agreements + if ($lastExitCode -ne 0) { throw "Can't install Mozilla Firefox, is it already installed?" } - "Mozilla Firefox installed successfully." + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Mozilla Firefox 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 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-fonts.md b/docs/install-fonts.md index d3c96677e..cbcf7132b 100644 --- a/docs/install-fonts.md +++ b/docs/install-fonts.md @@ -17,6 +17,8 @@ Parameters Script Content -------------- ```powershell +#requires -version 5.1 + param( [string]$sourceFolder = "" ) @@ -51,4 +53,4 @@ foreach ($font in $fontFiles) { Write-Output "Fonts have been installed successfully." ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index 967234a50..21e2fe78e 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Git Extensions, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index 20def5396..be109279c 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Git for Windows, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index ff7893367..3c0982768 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -48,6 +48,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "⏳ Installing GitHub CLI..." $stopWatch = [system.diagnostics.stopwatch]::startNew() @@ -64,9 +66,9 @@ try { "✅ GitHub CLI installed successfully in $($elapsed)s - to authenticate execute: 'gh auth login'" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index 5b462416f..35110974f 100644 --- a/docs/install-gitlab.md +++ b/docs/install-gitlab.md @@ -17,6 +17,7 @@ Parameters Script Content -------------- ```powershell +#requires -version 5.1 "1. Install and configure the necessary dependencies" & sudo apt-get update @@ -31,4 +32,4 @@ Script Content ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-h2static.md b/docs/install-h2static.md index 1a34fc03d..b52e36dbe 100644 --- a/docs/install-h2static.md +++ b/docs/install-h2static.md @@ -62,6 +62,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([int]$port = 8070, [string]$pathToMedia = "/media/") try { @@ -92,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index 7ea4c7604..21f5e7497 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing IrfanView, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-jenkins-agent.md b/docs/install-jenkins-agent.md index 0b4c36990..3a6571f9e 100644 --- a/docs/install-jenkins-agent.md +++ b/docs/install-jenkins-agent.md @@ -71,6 +71,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$installDir = "/opt/jenkins-agent", [string]$jenkinsURL = "", [string]$secretKey = "") try { @@ -101,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index ff8e3d17b..426381178 100644 --- a/docs/install-knot-resolver.md +++ b/docs/install-knot-resolver.md @@ -44,7 +44,7 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator try { $StopWatch = [system.diagnostics.stopwatch]::startNew() @@ -65,9 +65,9 @@ try { "✅ installed Knot Resolver in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index 0fd90477b..a1c896e27 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Microsoft Teams, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-mini-dlna.md b/docs/install-mini-dlna.md index 205745283..d1d6ed203 100644 --- a/docs/install-mini-dlna.md +++ b/docs/install-mini-dlna.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $stopWatch = [system.diagnostics.stopwatch]::startNew() @@ -63,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index a575b3366..dedc74e55 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Netflix, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index 8fa99f83b..6ebe96bf0 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -44,7 +44,7 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator try { $StopWatch = [system.diagnostics.stopwatch]::startNew() @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index ff8ac2102..644c768f3 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -17,6 +17,7 @@ Parameters Script Content -------------- ```powershell +#requires -version 5.1 try { "⏳ Installing OctoPrint (snap 'octoprint-pfs', channel 'edge')..." @@ -32,4 +33,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index d2d8946b6..ca880cf07 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing One Calendar, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index 7c897f6bb..e59535cfe 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Opera Browser, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index 3a61e5a73..0915d17e3 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Opera GX, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index effd1c9fc..e09314de1 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Paint 3D, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index b9568189f..7b68fe781 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Microsoft Powertoys, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index 1d9b83e4b..7135b110c 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -148,6 +148,8 @@ Script Content Invoke-Expression "& { $(Invoke-RestMethod 'https://aka.ms/install-powershell.ps1') } -daily" #> +#requires -version 5.1 + [CmdletBinding(DefaultParameterSetName = "Daily")] param( [Parameter(ParameterSetName = "Daily")] @@ -660,4 +662,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index e5430010c..1fe24c843 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Rufus, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index b196d855a..776745a97 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -46,6 +46,8 @@ Script Content Author: Gavin R. McDavitt #> +#requires -version 5.1 + try { # Define the URL of the Salesforce CLI installer $url = "https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-x64.exe" @@ -65,9 +67,9 @@ try { exit 0 # success } catch { - Write-Output "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + Write-Output "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-scoop.md b/docs/install-scoop.md index aab40fb03..3e8ed866e 100644 --- a/docs/install-scoop.md +++ b/docs/install-scoop.md @@ -17,7 +17,8 @@ Parameters Script Content -------------- ```powershell +#requires -version 5.1 Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index 921114ae3..5ab91a0cb 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -58,6 +58,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$Version = "") try { @@ -82,13 +84,13 @@ try { rm "signal-cli-$Version.tar.gz" if ($lastExitCode -ne 0) { throw "'rm' failed" } - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✅ installed signal-cli $Version to /opt and /usr/local/bin in $Elapsed sec" + [int]$elapsed = $StopWatch.Elapsed.TotalSeconds + "✅ Signal-cli $Version installed to /opt and /usr/local/bin in $elapsed sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index d45951cbc..15e1e3806 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Spotify, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index d053a6d86..7907d9fdf 100644 --- a/docs/install-ssh-client.md +++ b/docs/install-ssh-client.md @@ -44,7 +44,7 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator try { $StopWatch = [system.diagnostics.stopwatch]::startNew() @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index 4d0eb0747..4320b8fa5 100644 --- a/docs/install-ssh-server.md +++ b/docs/install-ssh-server.md @@ -44,7 +44,7 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator try { $StopWatch = [system.diagnostics.stopwatch]::startNew() @@ -73,9 +73,9 @@ try { "✅ installed and started SSH server in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-syncthing.md b/docs/install-syncthing.md index f77105b88..e11bcaf5a 100644 --- a/docs/install-syncthing.md +++ b/docs/install-syncthing.md @@ -52,6 +52,8 @@ Script Content https://github.com/fleschutz/PowerShell #> +#requires -version 5.1 + try { $stopWatch = [system.diagnostics.stopwatch]::startNew() @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index 04f03161b..7e08f7c52 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Mozilla Thunderbird, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index f3aadb197..b1a17c40d 100644 --- a/docs/install-unbound-server.md +++ b/docs/install-unbound-server.md @@ -44,7 +44,7 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator try { $StopWatch = [system.diagnostics.stopwatch]::startNew() @@ -94,9 +94,9 @@ try { "✅ Installed Unbound in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-updates.md b/docs/install-updates.md index 7b3321681..b274fb097 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -18,13 +18,13 @@ Example ------- ```powershell PS> ./install-updates.ps1 -⏳ (1/2) Checking update requirements... +⏳ (1/2) Checking requirements... ✅ Drive C: uses 56% of 1TB: 441GB free ✅ Swap space uses 22% of 4GB: 3GB free -⏳ (2/2) Checking Microsoft Store for updates... +⏳ (2/2) Querying Microsoft Store... ... ``` @@ -48,11 +48,11 @@ Script Content HINT: Use the script 'list-updates.ps1' to list the latest software updates in advance. .EXAMPLE PS> ./install-updates.ps1 - ⏳ (1/2) Checking update requirements... + ⏳ (1/2) Checking requirements... ✅ Drive C: uses 56% of 1TB: 441GB free ✅ Swap space uses 22% of 4GB: 3GB free - ⏳ (2/2) Checking Microsoft Store for updates... + ⏳ (2/2) Querying Microsoft Store... ... .LINK https://github.com/fleschutz/PowerShell @@ -60,6 +60,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $stopWatch = [system.diagnostics.stopwatch]::startNew() @@ -94,17 +96,17 @@ try { & "$PSScriptRoot/check-swap-space.ps1" Start-Sleep -seconds 3 "" - "⏳ (2/4) Checking Microsoft Store for updates..." + "⏳ (2/4) Querying Microsoft Store..." if (Get-Command winget -errorAction SilentlyContinue) { & winget upgrade --all --source=msstore --include-unknown } "" - "⏳ (3/4) Checking WinGet for updates..." + "⏳ (3/4) Querying WinGet..." if (Get-Command winget -errorAction SilentlyContinue) { & winget upgrade --all --source=winget --include-unknown } "" - "⏳ (4/4) Checking Chocolatey for updates..." + "⏳ (4/4) Querying Chocolatey..." if (Get-Command choco -errorAction SilentlyContinue) { & choco upgrade all -y } @@ -114,9 +116,9 @@ try { "✅ Updates installed in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index 0b3e36d74..f8b26ebb4 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Visual Studio Code, please wait..." @@ -53,9 +55,9 @@ try { "Visual Studio Code installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index 2bae8d17f..d4ac921ff 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Vivaldi, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index 6430d5782..542ab1ca4 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -48,6 +48,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "⏳ Installing VLC media player from WinGet..." $stopWatch = [system.diagnostics.stopwatch]::startNew() @@ -64,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index 41c51a930..8b2bbb2aa 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Windows Terminal, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index d213d9911..2922a690e 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -44,7 +44,7 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -#Requires -RunAsAdministrator +#requires -version 5.1 -RunAsAdministrator try { $StopWatch = [system.diagnostics.stopwatch]::startNew() @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index c124fd666..df8f05619 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { "Installing Zoom, please wait..." @@ -58,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index 081789341..bd42f44fc 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/kill-process.md b/docs/kill-process.md index ad5a980c6..652f4b127 100644 --- a/docs/kill-process.md +++ b/docs/kill-process.md @@ -1,57 +1,72 @@ The *kill-process.ps1* Script =========================== -kill-process.ps1 [[-ProcessName] ] [] - +This PowerShell script stops all local processes matching the given name Parameters ---------- ```powershell +/Repos/PowerShell/scripts/kill-process.ps1 [[-processName] ] [] +-processName + Specifies the process name (ask user by default) + + 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> ./kill-process.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell <# .SYNOPSIS - Kills all local processes matching the given name + Kills local processes .DESCRIPTION - ← enter a detailed description of the script here -.PARAMETER - ← enter the description of a parameter here (repeat the .PARAMETER for each parameter) + This PowerShell script stops all local processes matching the given name +.PARAMETER processName + Specifies the process name (ask user by default) .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 + PS> ./kill-process.ps1 .LINK - ← enter URL to additional information here + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> -[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 -} - +param([string]$processName = "") try { - KillProcesses -ProcessName $processName - "✔️ Done." + if ($processName -eq "") { $processName = Read-Host "Enter the process name" } + Get-Process | Where-Object -FilterScript {$_.processname -eq $processName} | Select-Object id | Stop-Process + "✔️ Stopped all processes matching '$processName'." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index 73d4eb1db..0f2f34c83 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index d04d4f226..51f8c1214 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-apps.md b/docs/list-apps.md index 558abcff5..e8057a681 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index f70cd5014..93e6933d8 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index fc655e571..c0f2a7a34 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index 266232844..49fe9827d 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-bios.md b/docs/list-bios.md index 8ca4a3630..ce57c0c1b 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index bd5a44125..269a00401 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-branches.md b/docs/list-branches.md index c3edb0660..9198fe271 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -109,4 +109,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index 4dcd00735..f1121408f 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -247,4 +247,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index cb0642d13..992db68d1 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index 25a237594..9b153ca32 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index eaf100557..e72e1fd20 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -256,6 +256,7 @@ function List-CLI-Tools { ListTool mktemp "--version" ListTool mount "--version" ListTool MpCmdRun "-h" + ListTool msedit "--version" ListTool nano "--version" ListTool netsh "" ListTool netstat "" @@ -356,6 +357,7 @@ function List-CLI-Tools { ListTool zipnote "" ListTool zipsplit "" ListTool zsh "--version" + ListTool zstd "--version" ListTool zvm "--version" } @@ -368,4 +370,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index c870d8f24..136967d7d 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index 0ae35971f..621cca4dd 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index 9b469dfc3..6be60fb76 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -62,20 +62,21 @@ try { Write-Progress -completed "Done." "" - "Monthly $($prices.name) (by alphavantage.co, in $($prices.unit))" - "-----------------------------------------------------------------------" + "Monthly $($prices.name) 1990-2025 ($($prices.unit), source: alphavantage.co)" + "------------------------------------------------------------------------------" + [array]::Reverse($prices.data) foreach($item in $prices.data) { - if ($Item.value -eq ".") { continue } + if ($item.value -eq ".") { continue } Write-Host "$($item.date) " -noNewline - [int]$value = $Item.value - WriteHorizontalBar $value 350.0 + [int]$value = $item.value + WriteHorizontalBar $value 400.0 Write-Host "ct" } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index 2411c626c..98f06f841 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* diff --git a/docs/list-commits.md b/docs/list-commits.md index 33a57244b..2b15c2c4c 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 4a4f4c80a..16fead0e9 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-countries.md b/docs/list-countries.md index b16d78be9..89996b688 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -52,4 +52,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index fe6ad8be7..a187c6cea 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index 3101749e3..1242993a0 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index 4ca4445ad..28f1179d0 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index f5c89d2d1..184b4d340 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -1,7 +1,7 @@ The *list-dir-tree.ps1* Script =========================== -This PowerShell script lists all files and folders in a neat directory tree (including icon and size). +This PowerShell script lists all files and folders in a directory tree (including icon and size). Parameters ---------- @@ -9,7 +9,7 @@ Parameters /Repos/PowerShell/scripts/list-dir-tree.ps1 [[-path] ] [] -path - Specifies the path to the directory tree + Specifies the file path to the directory tree Required? false Position? 1 @@ -29,7 +29,7 @@ Example PS> ./list-dir-tree.ps1 C:\MyFolder ├📂Results │ ├📄sales.txt (442K) -(2 folders, 1 file, 442K file size in total) + (2 folders, 1 file, 442K total) ``` @@ -46,16 +46,16 @@ Script Content ```powershell <# .SYNOPSIS - Lists a dir tree + Lists a directory tree .DESCRIPTION - This PowerShell script lists all files and folders in a neat directory tree (including icon and size). + This PowerShell script lists all files and folders in a directory tree (including icon and size). .PARAMETER path - Specifies the path to the directory tree + Specifies the file path to the directory tree .EXAMPLE PS> ./list-dir-tree.ps1 C:\MyFolder ├📂Results │ ├📄sales.txt (442K) - (2 folders, 1 file, 442K file size in total) + (2 folders, 1 file, 442K total) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -95,35 +95,33 @@ function Bytes2String([int64]$bytes) { } function ListDir([string]$path, [int]$depth) { - $depth++ $items = Get-ChildItem -path $path foreach($item in $items) { - $filename = $item.Name - for ($i = 1; $i -lt $depth; $i++) { Write-Host "│ " -noNewline } + Write-Host " " -noNewline + for ([int]$i = 1; $i -lt $depth; $i++) { Write-Host "│ " -noNewline } if ($item.Mode -like "d*") { - Write-Output "├📂$Filename" - ListDir "$path\$filename" $depth + Write-Host "├📂$($item.Name)" + ListDir "$path\$($item.Name)" ($depth + 1) } else { - $icon = GetFileIcon $item.Extension - Write-Output "├$($icon)$filename ($(Bytes2String $item.Length))" + Write-Host "├$(GetFileIcon $item.Extension)$($item.Name) ($(Bytes2String $item.Length))" $global:files++ $global:bytes += $item.Length } } $global:folders++ + if ($depth -gt $global:depth) { $global:depth = $depth } } try { - [int64]$global:folders = 0 - [int64]$global:files = 0 - [int64]$global:bytes = 0 - ListDir $path 0 - Write-Output " ($($global:folders) folders, $($global:files) files, $(Bytes2String $global:bytes) total)" + Write-Host "`n 📂$path" + [int64]$global:files = $global:folders = $global:depth = $global:bytes = 0 + ListDir $path 1 + " ($($global:files) files, $($global:folders) folders, depth $($global:depth), $(Bytes2String $global:bytes) total)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index 56d665315..c4a5f9c92 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-drives.md b/docs/list-drives.md index 2814d35ca..a38bdf81c 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index dfeec53ce..51750242f 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index 261d94ea1..cb6a40c86 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 2413357da..22161993a 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index 8bd58adda..7e130a210 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index 2ed693959..0460a51ce 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index 3ae5be610..cf260cbd9 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index 79b22460e..93ca083d7 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index cc33e42fb..3a21269ed 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-executables.md b/docs/list-executables.md index 684f067af..f7b6b2645 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index 551d05c36..408a0758f 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-files.md b/docs/list-files.md index c6620f718..d2cbb8641 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-folder.md b/docs/list-folder.md index 59393f82a..68173fb61 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -9,7 +9,7 @@ Parameters /Repos/PowerShell/scripts/list-folder.ps1 [[-searchPattern] ] [] -searchPattern - Specifies the search pattern ("*" by default which means anything) + Specifies the search pattern (default is "*" which means anything) Required? false Position? 1 @@ -47,7 +47,7 @@ Script Content .DESCRIPTION This PowerShell script lists the content of a directory (alphabetically formatted in columns). .PARAMETER SearchPattern - Specifies the search pattern ("*" by default which means anything) + Specifies the search pattern (default is "*" which means anything) .EXAMPLE PS> ./list-folder.ps1 C:\* .LINK @@ -68,6 +68,7 @@ function GetFileIcon([string]$suffix) { ".jpg" {return "📸"} ".mp3" {return "🎵"} ".mkv" {return "🎬"} + ".ps1" {return "⚙️"} ".zip" {return "🎁"} default {return "📄"} } @@ -92,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index 42b24b99c..0868603dd 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index 84623c06e..ec997993f 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index 44b615855..71301bbc6 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index 46f0caee3..bd87949c1 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-installed-hotfixes.md b/docs/list-installed-hotfixes.md index 81012065a..068715ad9 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index 86d55e01e..e10fc575e 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index ff29de7ba..f9fbdfd2e 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index 38853b11c..c67ad2973 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index 8042fc2ee..eb63c0c40 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index 7abdec928..f815ee84e 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index 264ecddaf..969fa83df 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index 12ce85467..bdfb19c19 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index 07a88f2cc..80e0c9f5b 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 06/22/2025 10:37:37)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index 72817c21e..2f734d197 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-memos.md b/docs/list-memos.md index 111995559..6cf71ee0a 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index 100b0fbdb..e385fca1a 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index 999ea96d4..d345cd7d4 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index ef627c6d3..1c9d439ff 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index be68960c2..aa5ff58f5 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index 37da86119..39d4907dd 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./list-network-shares.ps1 -✅ Shared folder \\LAPTOP\Public -> D:\Public ("Public folder for file transfer") +✅ Shared folder \\LAPTOP\Public ("File transfer folder") -> D:\Public ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script lists all network shares (aka "shared folders") of the local computer. .EXAMPLE PS> ./list-network-shares.ps1 - ✅ Shared folder \\LAPTOP\Public -> D:\Public ("Public folder for file transfer") + ✅ Shared folder \\LAPTOP\Public ("File transfer folder") -> D:\Public .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -52,7 +52,7 @@ try { } else { $shares = Get-WmiObject win32_share | where {$_.name -NotLike "*$"} foreach ($share in $shares) { - Write-Output "✅ Shared folder \\$(hostname)\$($share.Name) -> $($share.Path) (`"$($share.Description)`")" + Write-Output "✅ Shared folder \\$(hostname)\$($share.Name) (`"$($share.Description)`") -> $($share.Path)" } } exit 0 # success @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-news.md b/docs/list-news.md index 09669628b..8f5ae1352 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-nic.md b/docs/list-nic.md index 1bb6ca3ce..e42883e01 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index a4c2d7c36..2723ad0c4 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index 361f7887a..e601c6ad9 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index 1088ebdb3..57b3157da 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index 51edede1e..60fd30723 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-os.md b/docs/list-os.md index b0c13d406..be93b42c6 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index b71a25fc3..f1b27ca84 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index be8b284ef..d781341a4 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-passwords.md b/docs/list-passwords.md index acf42f458..b5a83b0c3 100644 --- a/docs/list-passwords.md +++ b/docs/list-passwords.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-pins.md b/docs/list-pins.md index f5f453c29..e75318da6 100644 --- a/docs/list-pins.md +++ b/docs/list-pins.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index 4bc909d39..2ee85215d 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index a16cd23c7..7f02719cc 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index c09353486..a446b53f0 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index e5d445990..749e429e6 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index 55c0de3ca..0ec6a48a4 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 53ce0711e..ddfca7a3c 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-processes.md b/docs/list-processes.md index 5b5677a91..306314b93 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index 8acf4407c..98622d2b1 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-ram.md b/docs/list-ram.md index e5c7e9c77..641117d8d 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index c953bedbd..bac3ca253 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index 9ab2e9066..ee0bd3811 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-repos.md b/docs/list-repos.md index 1475642c4..50ad66255 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index 46b08c28a..6f631ba8d 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index 252f6fbd7..ac2975fe7 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-services.md b/docs/list-services.md index fa88ca934..8876f5077 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index 8d7e4e05e..9d56a6c39 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index 780d19473..5d3bc4feb 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index 029c69683..6935a4f0c 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index d85fe00ed..82bd21e8b 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index cb1020b34..c6f22fb15 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index 22b9270eb..a90aa53a7 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index 39dbce753..ea53c0ada 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index 3a20ca03e..0aad84bdf 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-tags.md b/docs/list-tags.md index 647668b60..6edadc604 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index 75fcefe44..45c017ac6 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index 9962eec1b..9cb718627 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 01fa38c35..1bd912564 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index bf52adc1a..790b394aa 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index b7c6d76fa..aa98196af 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/list-updates.md b/docs/list-updates.md index 90abe032a..7cd02db26 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -97,9 +97,9 @@ try { "💡 Execute 'install-updates.ps1' to install the listed updates." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index c63fa61cc..3ce17373c 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 03b66f2ff..37f260c5f 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index a34ba4392..18230c331 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/list-voices.md b/docs/list-voices.md index be8eda872..65fb57423 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/list-weather.md b/docs/list-weather.md index 92d507324..91b32a060 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -179,4 +179,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index d32c89f32..ea1e3dab5 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index 86864ffea..f0903837a 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index 8c3704958..5482177d3 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index 76116745d..d362066a2 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/locate-city.md b/docs/locate-city.md index 0cb31a19c..1176f5bc7 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index b58e26df1..c524b4351 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -46,4 +46,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index 123d6b42c..577413cea 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index 442b91cea..753b3731f 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index 7c1d7b18b..3aeb84c2a 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/log-off.md b/docs/log-off.md index 0e5f07e99..420bc58f4 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/make-install.md b/docs/make-install.md index 1fd1a3972..ae53183de 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index fcc93890e..b844c55ce 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index 522b4bcaf..df761b6d2 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index 431c8c035..6c935baea 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index 9e25acfb1..c26e83120 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index 7e84336d2..cc0af7cfe 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index 7a94d0cb1..ffc5395c6 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index ed67aeabc..83b029349 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index 4f5019933..113953ce9 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index 10e4cd02c..883878f47 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index 80b5b7c68..b9c0a516e 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index 86216a3f1..68717d5cc 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index 092243e28..8d610f716 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/move-vm.md b/docs/move-vm.md index ed709f6fa..98bde87a7 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 06/22/2025 10:37:38)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/my-profile.md b/docs/my-profile.md index 56a9f5d34..d448a117c 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 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-branch.md b/docs/new-branch.md index 52c65d9ec..f8d8759e1 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -6,10 +6,10 @@ This PowerShell script creates a new branch in a local Git repository and switch Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-branch.ps1 [[-newBranch] ] [[-pathToRepo] ] [] +/Repos/PowerShell/scripts/new-branch.ps1 [[-newBranch] ] [[-path] ] [] -newBranch - Specifies the new Git branch name + Specifies the new branch name Required? false Position? 1 @@ -18,8 +18,8 @@ Parameters Aliases Accept wildcard characters? false --pathToRepo - Specifies the file path to the local Git repository (current working directory per default) +-path + Specifies the file path to the local Git repository (current working directory by default) Required? false Position? 2 @@ -36,14 +36,14 @@ Parameters Example ------- ```powershell -PS> ./new-branch.ps1 test123 +PS> ./new-branch.ps1 feature123 ⏳ (1/6) Searching for Git executable... git version 2.45.0 ⏳ (2/6) Checking local repository... C:\Repos\rust ⏳ (3/6) Fetching remote updates... git@github.org:rust/rust.git ⏳ (4/6) Creating new branch... ⏳ (5/6) Pushing updates... ⏳ (6/6) Updating submodules... -✅ Created branch 'test123' based on 'main' in 📂rust repo in 18s. +✅ Repo 'rust' on new branch 'feature123' (based on 'main', took 18s). ``` @@ -64,25 +64,25 @@ Script Content .DESCRIPTION This PowerShell script creates a new branch in a local Git repository and switches to it. .PARAMETER newBranch - Specifies the new Git branch name -.PARAMETER pathToRepo - Specifies the file path to the local Git repository (current working directory per default) + Specifies the new branch name +.PARAMETER path + Specifies the file path to the local Git repository (current working directory by default) .EXAMPLE - PS> ./new-branch.ps1 test123 + PS> ./new-branch.ps1 feature123 ⏳ (1/6) Searching for Git executable... git version 2.45.0 ⏳ (2/6) Checking local repository... C:\Repos\rust ⏳ (3/6) Fetching remote updates... git@github.org:rust/rust.git ⏳ (4/6) Creating new branch... ⏳ (5/6) Pushing updates... ⏳ (6/6) Updating submodules... - ✅ Created branch 'test123' based on 'main' in 📂rust repo in 18s. + ✅ Repo 'rust' on new branch 'feature123' (based on 'main', took 18s). .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$newBranch = "", [string]$pathToRepo = "$PWD") +param([string]$newBranch = "", [string]$path = "$PWD") try { if ($newBranch -eq "") { $newBranch = Read-Host "Enter the new Git branch name" } @@ -93,41 +93,41 @@ try { & git --version if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } - Write-Host "⏳ (2/6) Checking local repository... $pathToRepo" - if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access repo folder: $pathToRepo" } - $result = (git -C "$pathToRepo" status) - if ($lastExitCode -ne 0) { throw "'git status' in $pathToRepo failed with exit code $lastExitCode" } - $repoName = (Get-Item "$pathToRepo").Name + Write-Host "⏳ (2/6) Checking local repository... $path" + if (-not(Test-Path "$path" -pathType container)) { throw "Can't access repo folder: $path" } + $result = (git -C "$path" status) + if ($lastExitCode -ne 0) { throw "'git status' in $path failed with exit code $lastExitCode" } + $repoName = (Get-Item "$path").Name Write-Host "⏳ (3/6) Fetching remote updates... " -noNewline - & git -C "$pathToRepo" remote get-url origin + & git -C "$path" remote get-url origin if ($lastExitCode -ne 0) { throw "'git remote get-url origin' failed with exit code $lastExitCode" } - & git -C "$pathToRepo" fetch --all --recurse-submodules --prune --prune-tags --force + & git -C "$path" fetch --all --recurse-submodules --prune --prune-tags --force if ($lastExitCode -ne 0) { throw "'git fetch' failed with exit code $lastExitCode" } - $currentBranch = (git -C "$pathToRepo" rev-parse --abbrev-ref HEAD) + $currentBranch = (git -C "$path" rev-parse --abbrev-ref HEAD) if ($lastExitCode -ne 0) { throw "'git rev-parse' failed with exit code $lastExitCode" } "⏳ (4/6) Creating new branch..." - & git -C "$pathToRepo" checkout -b "$newBranch" + & git -C "$path" checkout -b "$newBranch" if ($lastExitCode -ne 0) { throw "'git checkout -b $newBranch' failed with exit code $lastExitCode" } "⏳ (5/6) Pushing updates..." - & git -C "$pathToRepo" push origin "$newBranch" + & git -C "$path" push origin "$newBranch" if ($lastExitCode -ne 0) { throw "'git push origin $newBranch' failed with exit code $lastExitCode" } "⏳ (6/6) Updating submodules..." - & git -C "$pathToRepo" submodule update --init --recursive + & git -C "$path" submodule update --init --recursive if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Created branch '$newBranch' based on '$currentBranch' in 📂$repoName repo in $($elapsed)s." + "✅ Repo '$repoName' on new branch '$newBranch' (based on '$currentBranch', took $($elapsed)s)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-dir.md b/docs/new-dir.md index f37122c2a..5b0160bc7 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -71,9 +71,9 @@ try { "✅ New 📂$path created." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-email.md b/docs/new-email.md index a296e8a85..a47181b1c 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -63,9 +63,9 @@ try { Start-Process $URL exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-junction.md b/docs/new-junction.md index af4c6cdca..d7b6bbca2 100644 --- a/docs/new-junction.md +++ b/docs/new-junction.md @@ -74,17 +74,16 @@ param([string]$junction = "", [string]$targetDir = "") try { if ($junction -eq "" ) { $junction = Read-Host "Enter the new junction's path and filename" } - if ($targetDir -eq "" ) { $target = Read-Host "Enter the path to the target directory " } + if ($targetDir -eq "" ) { $targetDir = Read-Host "Enter the path to the target directory " } New-Item -path "$junction" -itemType Junction -value "$targetDir" - if ($lastExitCode -ne 0) { throw "Command 'New-Item' has failed" } "✅ New junction '$junction' created, linking to: 📂$targetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index 2a28dc36e..87ea1e94b 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 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-markdown-file.md b/docs/new-markdown-file.md index 6af6fdbda..09704fe4f 100644 --- a/docs/new-markdown-file.md +++ b/docs/new-markdown-file.md @@ -70,9 +70,9 @@ try { "✅ New '$path' created (from data/templates/New.md)." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-power-plan.md b/docs/new-power-plan.md index f1091acd9..bc677963d 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 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-powershell-script.md b/docs/new-powershell-script.md index 6cc2d5d08..eddb1b736 100644 --- a/docs/new-powershell-script.md +++ b/docs/new-powershell-script.md @@ -70,9 +70,9 @@ try { "✅ New '$path' created (from data/templates/New.ps1)." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 2ae86de8c..11449123f 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -113,4 +113,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index 86d13afd0..e5c5a6d8a 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 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index b4a956d11..2b4652e66 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index cc11d40c9..2d43a13a6 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 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index 5b2abc3b6..c3fc3e950 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -82,9 +82,9 @@ try { "✅ Created new symlink '$symlink' linking to: $target" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-tab.md b/docs/new-tab.md index c4bc1888c..76bb4aadd 100644 --- a/docs/new-tab.md +++ b/docs/new-tab.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-tag.md b/docs/new-tag.md index 2767f04a0..f1c35ae66 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -95,12 +95,12 @@ try { if ($lastExitCode -ne 0) { throw "Error: 'git push origin $TagName' failed!" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✅ created new tag '$TagName' in $Elapsed sec" + "✅ Created new tag '$TagName' in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-text-file.md b/docs/new-text-file.md index b7867e6a7..2246c0e19 100644 --- a/docs/new-text-file.md +++ b/docs/new-text-file.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-user.md b/docs/new-user.md index ef1cd96cc..d9e3dab45 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -72,9 +72,9 @@ try { "✅ Created user account '$username' with encrypted home directory in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index d266f7b9c..fbea05cb7 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 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index 83e240b6b..c9b6015ed 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 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-URL.md b/docs/open-URL.md index 77890b5bd..d80a27fd9 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -68,24 +68,27 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$URL = "", [string]$text = "") try { if ($URL -eq "") { $URL = Read-Host "Enter the URL" } - if ($text -ne "") { + if ($IsLinux -or $IsMacOS) { Write-Host $text -noNewline - Write-Host $URL -foregroundColor blue - } - if ($IsLinux) { + Write-Host $URL -foregroundColor blue -noNewline + Write-Host " (open link with: )" } else { Start-Process $URL + Write-Host "✅ Launched Web browser with $text" -noNewline + Write-Host $URL -foregroundColor blue } exit 0 # success } catch { - "⚠️ Error: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index faa047a9c..ee1756308 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -44,9 +44,11 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-file-explorer.ps1" "shell:AppsFolder" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index 91fbf1235..bfe5babd6 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDir = resolve-path "$HOME/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" if (-not(test-path "$TargetDir" -pathType container)) { @@ -57,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index 221ae1f06..e23708729 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { start-process bingmaps: exit 0 # success @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index 3bbd49a50..e28f57b10 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -44,8 +44,10 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://www.booking.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index 3250a13a9..0fbcdbbec 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -44,8 +44,10 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-file-explorer.ps1" "C:" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index c8284b2a5..9ad600596 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process ms-calculator: exit 0 # success @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index 2b770c6db..928838622 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$URL = "http://www.fleschutz.de") try { @@ -67,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-clock.md b/docs/open-clock.md index 78e7989e1..e44a4e0ef 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process ms-clock: exit 0 # success @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index afc8e2c7c..1e3953bc8 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process ms-cortana2: exit 0 # success @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index 893548391..cd86db55f 100644 --- a/docs/open-d-drive.md +++ b/docs/open-d-drive.md @@ -44,7 +44,9 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-file-explorer.ps1" "D:" ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 853704468..d65278870 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -27,9 +27,8 @@ Example ------- ```powershell PS> ./open-dashboards.ps1 -✅ Launching Web browser with 24 tabs: Toggl Track•Google Calendar•Google Mail, ... +⏳ Launching Web browser with 24 tabs: Toggl Track,Google Calendar,Google Mail,... NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically. -... ``` @@ -53,25 +52,27 @@ Script Content Specifies the time interval between each tab (110ms per default) .EXAMPLE PS> ./open-dashboards.ps1 - ✅ Launching Web browser with 24 tabs: Toggl Track•Google Calendar•Google Mail, ... + ⏳ Launching Web browser with 24 tabs: Toggl Track,Google Calendar,Google Mail,... NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically. - ... .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([int]$timeInterval = 120) # milliseconds try { Write-Progress "Reading Data/popular-dashboards.csv..." $table = Import-CSV "$PSScriptRoot/../data/popular-dashboards.csv" + $numRows = $table.Count Write-Progress -completed "Done." - Write-Host "✅ Launching Web browser with $($table.Count) tabs: " -noNewline + Write-Host "⏳ Launching Web browser with $numRows tabs: " -noNewline foreach($row in $table) { - Write-Host "$($row.NAME)•" -noNewline + Write-Host "$($row.NAME)," -noNewline & "$PSScriptRoot/open-default-browser.ps1" "$($row.URL)" Start-Sleep -milliseconds $timeInterval } @@ -79,9 +80,9 @@ try { Write-Host "NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index 2ee556332..8eb62f58d 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-deep-l-translator +PS> ./open-deep-l-translator.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the Web browser with the DeepL Translator website. .EXAMPLE - PS> ./open-deep-l-translator + PS> ./open-deep-l-translator.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://www.deepl.com/translator" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index c4afa0130..b876993f0 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -13,7 +13,7 @@ Parameters Required? false Position? 1 - Default value http://www.fleschutz.de + Default value https://www.fleschutz.de Accept pipeline input? false Aliases Accept wildcard characters? false @@ -26,7 +26,7 @@ Parameters Example ------- ```powershell -PS> ./open-default-browser +PS> ./open-default-browser.ps1 ``` @@ -49,22 +49,24 @@ Script Content .PARAMETER URL Specifies the URL .EXAMPLE - PS> ./open-default-browser + PS> ./open-default-browser.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$URL = "http://www.fleschutz.de") +#requires -version 5.1 + +param([string]$URL = "https://www.fleschutz.de") try { Start-Process $URL exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index b9aaf9ca8..df083e467 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-desktop-folder +PS> ./open-desktop-folder.ps1 ``` @@ -37,13 +37,15 @@ Script Content .DESCRIPTION This PowerShell script launches the File Explorer with the user's desktop folder. .EXAMPLE - PS> ./open-desktop-folder + PS> ./open-desktop-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDir = resolve-path "$HOME/Desktop" if (-not(test-path "$TargetDir" -pathType container)) { @@ -57,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index 98445e4a1..7ffa0a8dd 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-documents-folder +PS> ./open-documents-folder.ps1 ``` @@ -37,13 +37,15 @@ Script Content .DESCRIPTION This PowerShell script launches the File Explorer with the user's documents folder. .EXAMPLE - PS> ./open-documents-folder + PS> ./open-documents-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDir = resolve-path "$HOME/Documents" if (-not(test-path "$TargetDir" -pathType container)) { @@ -57,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index 2d2231437..23f85679d 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { if ($IsLinux) { $Path = Resolve-Path "$HOME/Downloads" @@ -61,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index d60f8af3a..c9d9692c1 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDirs = resolve-path "$HOME/Dropbox*" foreach($TargetDir in $TargetDirs) { @@ -57,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index 116ede0a6..71867f695 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -44,8 +44,10 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://duckduckgo.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index f454eefad..e2bf1a778 100644 --- a/docs/open-e-drive.md +++ b/docs/open-e-drive.md @@ -44,7 +44,9 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-file-explorer.ps1" "E:" ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-edge.md b/docs/open-edge.md index c0f41b438..eeda799a6 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-edge +PS> ./open-edge.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the Microsoft Edge Web browser. .EXAMPLE - PS> ./open-edge + PS> ./open-edge.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process microsoft-edge:// exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index ac3cf51f3..8ca6671a5 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -44,8 +44,10 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://e.ggtimer.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index 7d5c651af..ec3779f0f 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { start-process "mailto:markus@fleschutz.de" exit 0 # success @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index bdab61b64..7db0aca9d 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-f-drive +PS> ./open-f-drive.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the File Explorer with the F: drive folder. .EXAMPLE - PS> ./open-f-drive + PS> ./open-f-drive.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-file-explorer.ps1" "F:" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index 3a5fcf0d6..4b6bf756b 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$Path = "") try { @@ -71,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index 5fe88ad8f..c4f997145 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -44,8 +44,10 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://freefireplaces.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index bee0653ce..6b437b589 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -13,7 +13,7 @@ Parameters Required? false Position? 1 - Default value http://www.fleschutz.de + Default value https://www.fleschutz.de Accept pipeline input? false Aliases Accept wildcard characters? false @@ -56,7 +56,9 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -param([string]$URL = "http://www.fleschutz.de") +#requires -version 5.1 + +param([string]$URL = "https://www.fleschutz.de") try { $App = Get-AppxPackage -Name Mozilla.FireFox @@ -74,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index 0245965ac..67c54b9cb 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-flight-radar +PS> ./open-flight-radar.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the Web browser with the FlightRadar24 website. .EXAMPLE - PS> ./open-flight-radar + PS> ./open-flight-radar.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://www.flightradar24.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index 2844d46af..d0ef87b05 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -44,8 +44,10 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-file-explorer.ps1" "G:" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index 4b5493db9..41e40ec69 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -1,19 +1,33 @@ The *open-git-extensions.ps1* Script =========================== -open-git-extensions.ps1 - +This PowerShell script launches the Git Extensions application. Parameters ---------- ```powershell - +/Repos/PowerShell/scripts/open-git-extensions.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS> ./open-git-extensions + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell @@ -30,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function TryToExec { param($Folder, $Binary) if (test-path "$Folder/$Binary" -pathType leaf) { start-process "$Folder/$Binary" -WorkingDirectory "$Folder" @@ -48,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index 7d5ee6a90..f24d6c952 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-google-books +PS> ./open-google-books.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the Web browser with the Google Books website. .EXAMPLE - PS> ./open-google-books + PS> ./open-google-books.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://books.google.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index 099b4057a..5b9bd1d45 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-google-calendar +PS> ./open-google-calendar.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the Web browser with the Google Calendar website. .EXAMPLE - PS> ./open-google-calendar + PS> ./open-google-calendar.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://calendar.google.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index 5b9510817..af2bd9dbd 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -44,8 +44,10 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://contacts.google.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index 75e564d60..de1a1bf81 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-google-docs +PS> ./open-google-docs.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the Web browser with the Google Docs website. .EXAMPLE - PS> ./open-google-docs + PS> ./open-google-docs.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://docs.google.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 15f1c8528..75b312d09 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-google-earth +PS> ./open-google-earth.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the Web browser with the Google Earth website. .EXAMPLE - PS> ./open-google-earth + PS> ./open-google-earth.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://earth.google.com/web/" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index 526251e1b..db00780de 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-google-mail +PS> ./open-google-mail.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the Web browser with the Google Mail website. .EXAMPLE - PS> ./open-google-mail + PS> ./open-google-mail.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://mail.google.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index e3829a227..44c2d7d47 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-google-maps +PS> ./open-google-maps.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the Web browser with the Google Maps website. .EXAMPLE - PS> ./open-google-maps + PS> ./open-google-maps.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index dfc1e6fe8..9a3878a2e 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-google-news +PS> ./open-google-news.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the Web browser with the Google News website. .EXAMPLE - PS> ./open-google-news + PS> ./open-google-news.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://news.google.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index 7cd221370..9ef245a24 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-google-photos +PS> ./open-google-photos.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the Web browser with the Google Photos website. .EXAMPLE - PS> ./open-google-photos + PS> ./open-google-photos.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://photos.google.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index c749a0eee..5f352c36c 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-google-play +PS> ./open-google-play.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the Web browser with the Google Play website. .EXAMPLE - PS> ./open-google-play + PS> ./open-google-play.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://play.google.com/store" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index d3ca21dec..3f37d1ede 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-google-search +PS> ./open-google-search.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the Web browser with the Google Search website. .EXAMPLE - PS> ./open-google-search + PS> ./open-google-search.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://google.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index baaf14f4f..fdc04badb 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-google-stadia +PS> ./open-google-stadia.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the Web browser with the Google Stadia website. .EXAMPLE - PS> ./open-google-stadia + PS> ./open-google-stadia.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://stadia.google.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index a8e6a5c9c..af904b402 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-google-translate +PS> ./open-google-translate.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the Web browser with the Google Translate website. .EXAMPLE - PS> ./open-google-translate + PS> ./open-google-translate.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://translate.google.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index 1d051f995..b8524a910 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-home-folder +PS> ./open-home-folder.ps1 ``` @@ -37,13 +37,15 @@ Script Content .DESCRIPTION This script launches the File Explorer with the user's home folder. .EXAMPLE - PS> ./open-home-folder + PS> ./open-home-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDir = resolve-path "$HOME" if (-not(test-path "$TargetDir" -pathType container)) { @@ -57,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index d7571acbf..8da651ab1 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-internet-archive +PS> ./open-internet-archive.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Web browser with the Internet Archive website. .EXAMPLE - PS> ./open-internet-archive + PS> ./open-internet-archive.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://archive.org" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index 14e73274b..60d7476c9 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-jitsi-meet +PS> ./open-jitsi-meet.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Web browser with the Jitsi Meet website. .EXAMPLE - PS> ./open-jitsi-meet + PS> ./open-jitsi-meet.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://meet.jit.si/" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index 595442924..962e1d652 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-m-drive +PS> ./open-m-drive.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the File Explorer with the M: drive folder. .EXAMPLE - PS> ./open-m-drive + PS> ./open-m-drive.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-file-explorer.ps1" "M:" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index 85181a057..839df1bc8 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-magnifier +PS> ./open-magnifier.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Windows Screen Magnifier application. .EXAMPLE - PS> ./open-magnifier + PS> ./open-magnifier.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { - start-process magnify.exe + Start-Process magnify.exe exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index af510ece8..5bc7d2b20 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-microsoft-paint +PS> ./open-microsoft-paint.ps1 ``` @@ -37,13 +37,15 @@ Script Content .DESCRIPTION This script launches the Microsoft Paint application. .EXAMPLE - PS> ./open-microsoft-paint + PS> ./open-microsoft-paint.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { start-process mspaint.exe exit 0 # success @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index 2670d4c2c..bd7d23a88 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-microsoft-solitaire +PS> ./open-microsoft-solitaire.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Microsoft Solitaire application. .EXAMPLE - PS> ./open-microsoft-solitaire + PS> ./open-microsoft-solitaire.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index e88c30dda..f0b24a22f 100644 --- a/docs/open-microsoft-store.md +++ b/docs/open-microsoft-store.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-microsoft-store +PS> ./open-microsoft-store.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Microsoft Store application. .EXAMPLE - PS> ./open-microsoft-store + PS> ./open-microsoft-store.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process ms-windows-store: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index 788583526..5cc444866 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-microsoft-teams +PS> ./open-microsoft-teams.ps1 ``` @@ -37,13 +37,15 @@ Script Content .DESCRIPTION This script launches the Microsoft Teams application. .EXAMPLE - PS> ./open-microsoft-teams + PS> ./open-microsoft-teams.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process msteams: exit 0 # success @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index 3cb33a093..c7c051fad 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-music-folder +PS> ./open-music-folder.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the File Explorer with the user's music folder. .EXAMPLE - PS> ./open-music-folder + PS> ./open-music-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { - $TargetDir = resolve-path "$HOME/Music" + $TargetDir = Resolve-Path "$HOME/Music" if (-not(test-path "$TargetDir" -pathType container)) { throw "Music folder at 📂$TargetDir doesn't exist (yet)" } @@ -57,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index 3c83216ec..1e324d067 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-netflix +PS> ./open-netflix.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Netflix application. .EXAMPLE - PS> ./open-netflix + PS> ./open-netflix.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process netflix: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index ceeacf4d5..d449fb45e 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process notepad.exe exit 0 # success @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index c747522a1..ca07a6279 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -1,19 +1,33 @@ The *open-obs-studio.ps1* Script =========================== -open-obs-studio.ps1 - +This script launches the OBS Studio application. Parameters ---------- ```powershell - +/Repos/PowerShell/scripts/open-obs-studio.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS> ./open-obs-studio.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell @@ -23,13 +37,15 @@ Script Content .DESCRIPTION This script launches the OBS Studio application. .EXAMPLE - PS> ./open-obs-studio + PS> ./open-obs-studio.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function TryLaunching { param([string]$Path, [string]$Dir) if (test-path "$Path" -pathType leaf) { start-process -FilePath "$Path" -WorkingDirectory "$Dir" @@ -47,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index 37934f90b..2f65ea3da 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-office-365 +PS> ./open-office-365.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Web browser with the Microsoft Office 365 website. .EXAMPLE - PS> ./open-office-365 + PS> ./open-office-365.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://portal.office.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index bf80e1692..65d8ec565 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-one-drive-folder +PS> ./open-one-drive-folder.ps1 ``` @@ -37,13 +37,15 @@ Script Content .DESCRIPTION This script launches the File Explorer with the user's OneDrive folder. .EXAMPLE - PS> ./open-one-drive-folder + PS> ./open-one-drive-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDirs = resolve-path "$HOME/OneDrive*" foreach($TargetDir in $TargetDirs) { @@ -57,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index b4bdbac69..a3371d170 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -1,19 +1,33 @@ The *open-outlook.ps1* Script =========================== -open-outlook.ps1 - +This script launches the Microsoft Outlook email application. Parameters ---------- ```powershell - +/Repos/PowerShell/scripts/open-outlook.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS> ./open-outlook.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell @@ -23,13 +37,15 @@ Script Content .DESCRIPTION This script launches the Microsoft Outlook email application. .EXAMPLE - PS> ./open-outlook + PS> ./open-outlook.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function TryToExec { param($Folder, $Binary) if (test-path "$Folder/$Binary" -pathType leaf) { start-process "$Folder/$Binary" -WorkingDirectory "$Folder" @@ -47,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index 3feb81d0d..b7d5d64bf 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-paint-3d +PS> ./open-paint-3d.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Paint 3D application. .EXAMPLE - PS> ./open-paint-3d + PS> ./open-paint-3d.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { - start-process ms-paint: + Start-Process ms-paint: exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index 934021a4b..d2590701a 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-pictures-folder +PS> ./open-pictures-folder.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the File Explorer with the user's pictures folder. .EXAMPLE - PS> ./open-pictures-folder + PS> ./open-pictures-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { - $TargetDir = resolve-path "$HOME/Pictures" + $TargetDir = Resolve-Path "$HOME/Pictures" if (-not(test-path "$TargetDir" -pathType container)) { throw "Pictures folder at 📂$TargetDir doesn't exist (yet)" } @@ -57,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index 1b3925a59..83dfacbfa 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -55,14 +55,16 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$hostname = "") if ($hostname -eq "") { - & Start-Process "$env:windir\system32\mstsc.exe" + & Start-Process "$env:WINDIR\system32\mstsc.exe" } else { - & Start-Process "$env:windir\system32\mstsc.exe" -ArgumentList "/v:$hostname" + & Start-Process "$env:WINDIR\system32\mstsc.exe" -ArgumentList "/v:$hostname" } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index 9c785bde9..5a7237bcc 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -44,8 +44,10 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { - start shell:recyclebinfolder + Start shell:recyclebinfolder exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index 4177e4db2..7d2eddcf6 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-remote-desktop +PS> ./open-remote-desktop.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Remote Desktop application. .EXAMPLE - PS> ./open-remote-desktop + PS> ./open-remote-desktop.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { - start-process ms-rd: + Start-Process ms-rd: exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 8b1b9d769..dc6def164 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-repos-folder +PS> ./open-repos-folder.ps1 ``` @@ -37,13 +37,15 @@ Script Content .DESCRIPTION This script launches the File Explorer with the user's Git repositories folder. .EXAMPLE - PS> ./open-repos-folder + PS> ./open-repos-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDir = Resolve-Path "$HOME/Repos" if (-not(Test-Path "$TargetDir" -pathType container)) { @@ -57,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index a217fb9ff..18f1d7b72 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-screen-clip +PS> ./open-screen-clip.ps1 ``` @@ -37,13 +37,15 @@ Script Content .DESCRIPTION This script launches the Screen Clip application. .EXAMPLE - PS> ./open-screen-clip + PS> ./open-screen-clip.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process ms-screenclip: exit 0 # success @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index 730a88e93..c9e4db73f 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-screen-sketch +PS> ./open-screen-sketch.ps1 ``` @@ -37,13 +37,15 @@ Script Content .DESCRIPTION This script launches the Screen Sketch application. .EXAMPLE - PS> ./open-screen-sketch + PS> ./open-screen-sketch.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process ms-screensketch: exit 0 # success @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-skype.md b/docs/open-skype.md index b1dffb168..c1abc3e0c 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-skype +PS> ./open-skype.ps1 ``` @@ -37,13 +37,15 @@ Script Content .DESCRIPTION This script launches the Skype application. .EXAMPLE - PS> ./open-skype + PS> ./open-skype.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process skype: exit 0 # success @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index 53dd02af8..e5feed5a2 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-snipping-tool +PS> ./open-snipping-tool.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Snipping Tool application. .EXAMPLE - PS> ./open-snipping-tool + PS> ./open-snipping-tool.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process SnippingTool.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index 72cdddf02..330aab15f 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-speed-test +PS> ./open-speed-test.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Web browser with Cloudflare's speed test website. .EXAMPLE - PS> ./open-speed-test + PS> ./open-speed-test.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://speed.cloudflare.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index e9f728c2a..6fd468af5 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-spotify +PS> ./open-spotify.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Spotify application. .EXAMPLE - PS> ./open-spotify + PS> ./open-spotify.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process spotify: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index 72f9bcf79..11b687f0c 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-stack-overflow +PS> ./open-stack-overflow.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Web browser with the Stack Overflow website. .EXAMPLE - PS> ./open-stack-overflow + PS> ./open-stack-overflow.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://stackoverflow.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 2ac7e8a1d..169e219c7 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-start-page +PS> ./open-start-page.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Web browser with the Startpage website. .EXAMPLE - PS> ./open-start-page + PS> ./open-start-page.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://www.startpage.com" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index cb52daf5c..7de830d29 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-street-map +PS> ./open-street-map.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Web browser with the OpenStreetMap website. .EXAMPLE - PS> ./open-street-map + PS> ./open-street-map.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + & "$PSScriptRoot/open-default-browser.ps1" "https://www.openstreetmap.org" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index 4af3eda8d..0b5548f8b 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-task-manager +PS> ./open-task-manager.ps1 ``` @@ -37,13 +37,15 @@ Script Content .DESCRIPTION This script launches the Windows Task Manager application. .EXAMPLE - PS> ./open-task-manager + PS> ./open-task-manager.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process taskmgr.exe exit 0 # success @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index 8f1ed0295..27498d35b 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -1,19 +1,33 @@ The *open-temporary-folder.ps1* Script =========================== -open-temporary-folder.ps1 - +This script launches the File Explorer showing the temporary folder. Parameters ---------- ```powershell - +/Repos/PowerShell/scripts/open-temporary-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS> ./open-temporary-folder.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell @@ -23,13 +37,15 @@ Script Content .DESCRIPTION This script launches the File Explorer showing the temporary folder. .EXAMPLE - PS> ./open-temporary-folder + PS> ./open-temporary-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function GetTempDir { if ("$env:TEMP" -ne "") { return "$env:TEMP" } if ("$env:TMP" -ne "") { return "$env:TMP" } @@ -50,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index f214c0ffc..48dc82fc6 100644 --- a/docs/open-three-d-viewer.md +++ b/docs/open-three-d-viewer.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-three-d-viewer +PS> ./open-three-d-viewer.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the 3D-Viewer application. .EXAMPLE - PS> ./open-three-d-viewer + PS> ./open-three-d-viewer.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process com.microsoft.3dviewer: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index 3a5f526c5..1b04bab65 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -1,19 +1,33 @@ The *open-thunderbird.ps1* Script =========================== -open-thunderbird.ps1 - +This script launches the Mozilla Thunderbird email application. Parameters ---------- ```powershell - +/Repos/PowerShell/scripts/open-thunderbird.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS> ./open-thunderbird.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell @@ -23,13 +37,15 @@ Script Content .DESCRIPTION This script launches the Mozilla Thunderbird email application. .EXAMPLE - PS> ./open-thunderbird + PS> ./open-thunderbird.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function TryToExec { param($Folder, $Binary) if (test-path "$Folder/$Binary" -pathType leaf) { start-process "$Folder/$Binary" -WorkingDirectory "$Folder" @@ -45,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index d5b231bd7..ca43226f5 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-videos-folder +PS> ./open-videos-folder.ps1 ``` @@ -37,13 +37,15 @@ Script Content .DESCRIPTION This script launches the File Explorer with the user's videos folder. .EXAMPLE - PS> ./open-videos-folder + PS> ./open-videos-folder.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { $TargetDir = Resolve-Path "$HOME/Videos" if (-not(Test-Path "$TargetDir" -pathType container)) { @@ -57,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index 490850246..24b39d010 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -1,19 +1,33 @@ The *open-visual-studio.ps1* Script =========================== -open-visual-studio.ps1 - +This PowerShell script launches the Microsoft Visual Studio application. Parameters ---------- ```powershell - +/Repos/PowerShell/scripts/open-visual-studio.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS> ./open-visual-studio.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell @@ -30,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function tryToLaunch { param($filePath) if (Test-Path "$filePath" -pathType leaf) { Start-Process "$filePath" @@ -47,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index a57191b0c..f77633f5f 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -44,6 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + try { Start-Process explorer.exe shell:appsFolder\Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe!App exit 0 # success @@ -53,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 19e7d9582..9528411a9 100644 --- a/docs/open-vpn-settings.md +++ b/docs/open-vpn-settings.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-vpn-settings +PS> ./open-vpn-settings.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This PowerShell script launches the VPN settings of Windows. .EXAMPLE - PS> ./open-vpn-settings + PS> ./open-vpn-settings.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process ms-settings:network-vpn exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index 716d33097..a864b6018 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-windows-defender +PS> ./open-windows-defender.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Windows Defender application. .EXAMPLE - PS> ./open-windows-defender + PS> ./open-windows-defender.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process windowsdefender: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index f99747322..1bab23281 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-windows-terminal +PS> ./open-windows-terminal.ps1 ``` @@ -37,15 +37,17 @@ Script Content .DESCRIPTION This script launches the Windows Terminal application. .EXAMPLE - PS> ./open-windows-terminal + PS> ./open-windows-terminal.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + Start-Process wt.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-windy.md b/docs/open-windy.md index c5a4975d0..95de06c70 100644 --- a/docs/open-windy.md +++ b/docs/open-windy.md @@ -1,26 +1,53 @@ -## open-windy.ps1 - Opens windy.com +The *open-windy.ps1* Script +=========================== -This script launches the Web browser with the windy.com website. +This script launches the Web browser with the Windy Weather Radar website. -## Parameters +Parameters +---------- ```powershell -/home/markus/Repos/PowerShell/Scripts/open-windy.ps1 [] +/Repos/PowerShell/scripts/open-windy.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` -## Example +Example +------- ```powershell -PS> ./open-windy +PS> ./open-windy.ps1 ``` -## Notes -Author: Markus Fleschutz · License: CC0 +Notes +----- +Author: Markus Fleschutz | License: CC0 -## Related Links +Related Links +------------- https://github.com/fleschutz/PowerShell -*Generated by convert-ps2md.ps1 using the comment-based help of open-windy.ps1* +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Opens the Windy website +.DESCRIPTION + This script launches the Web browser with the Windy Weather Radar website. +.EXAMPLE + PS> ./open-windy.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +#requires -version 5.1 + +& "$PSScriptRoot/open-URL.ps1" "https://www.windy.com/-Weather-radar-radar" "Windy Weather Radar: " +exit 0 # success +``` + +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/open-xing.md b/docs/open-xing.md index d73d79cef..0b0bbfe29 100644 --- a/docs/open-xing.md +++ b/docs/open-xing.md @@ -16,7 +16,7 @@ Parameters Example ------- ```powershell -PS> ./open-xing +PS> ./open-xing.ps1 ``` @@ -37,7 +37,7 @@ Script Content .DESCRIPTION This script launches the XING application. .EXAMPLE - PS> ./open-xing + PS> ./open-xing.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,4 +48,4 @@ Start-Process xing: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index 3908fc97e..6421546f8 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/ping-host.md b/docs/ping-host.md index 992b1665e..12771413d 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -27,7 +27,7 @@ Example ------- ```powershell PS> ./ping-host.ps1 x.com -✅ 'x.com' is online (20ms to IP 104.244.42.1) +✅ 'x.com' is online with 20ms ping to it's IP 104.244.42.1 ``` @@ -51,7 +51,7 @@ Script Content Specifies the hostname or IP address to ping (x.com by default) .EXAMPLE PS> ./ping-host.ps1 x.com - ✅ 'x.com' is online (20ms to IP 104.244.42.1) + ✅ 'x.com' is online with 20ms ping to it's IP 104.244.42.1 .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -66,7 +66,7 @@ try { [Threading.Tasks.Task]::WaitAll($tasks) foreach($ping in $tasks.Result) { if ($ping.Status -eq "Success") { - Write-Output "✅ '$hostname' is online ($($ping.RoundtripTime / 2)ms to IP $($ping.Address))" + Write-Output "✅ '$hostname' is online with $($ping.RoundtripTime / 2)ms ping to it's IP $($ping.Address)" exit 0 # success } else { Write-Output "⚠️ No reply from '$hostname' (IP $($ping.Address)) - check the connection or maybe the host is down." @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index c4d45d154..d97e0b862 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index 7aa0b6dab..8a64f0d89 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index 0201c5830..7bbc1a458 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index 90cc0e2ab..3c3b6b48e 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index 863e7b22d..ef96ed671 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index a1002eaa1..d39607cbc 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index f978272ce..16b52ba07 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-chess.md b/docs/play-chess.md index ce7d489a9..5cd659f2d 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index a173ccc21..2d250b0f5 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index 1cc668df8..606291f66 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index 0ba0338cf..ea5c72640 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-drug-wars.md b/docs/play-drug-wars.md index 09f54abef..0a89d94f2 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index d54993d92..681338a6f 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index 441dd28cd..2930611c8 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-files.md b/docs/play-files.md index 98acec607..78fd7aa96 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index 6ce0bc5e5..1f159c120 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index 82c745b29..c84fe3a9e 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index cd3d0231d..ebb7444af 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index 15fbbd947..37dbed203 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 2aaa74cb8..2fb9d5641 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index 4c9aa77df..8a4528b18 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index 547aa50a3..b95e3da00 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index ad32ef466..fac715672 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index f0c688d93..cd1972a41 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index 4ebbd0c68..ac705116f 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index e6aa56bfb..d3b311811 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index da748fdf9..846adf15b 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index 21a04c66d..5fcd5173a 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-pong.md b/docs/play-pong.md index 440b08703..719198c6f 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index 8e5ef5246..22c754226 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-rick.md b/docs/play-rick.md index df1f7c221..2ffbf066b 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-snake.md b/docs/play-snake.md index 6fc5ce073..cad1f0545 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index 736e7d829..adf2e06fd 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index c304d0dcd..e3cb0feda 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index 43754cdbd..687ce139d 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index 24782b539..e35780435 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index d0c304ade..ef8665900 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/poweroff.md b/docs/poweroff.md index 44896aef2..36b66f103 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/print-image.md b/docs/print-image.md index 4f0451d33..545663c85 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index a07633a7f..8b0880f91 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index da067b0da..3b25b9346 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -6,9 +6,9 @@ This PowerShell script pulls remote updates into a local Git repository (includi Parameters ---------- ```powershell -/Repos/PowerShell/scripts/pull-repo.ps1 [[-pathToRepo] ] [] +/Repos/PowerShell/scripts/pull-repo.ps1 [[-path] ] [] --pathToRepo +-path Specifies the file path to the local Git repository (default is working directory) Required? false @@ -31,7 +31,7 @@ PS> ./pull-repo.ps1 ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Pulling remote updates... ⏳ (4/4) Updating submodules... -✅ Updates pulled into 📂rust repo in 14s. +✅ Repo 'rust' updated in 14s. ``` @@ -51,7 +51,7 @@ Script Content Pulls updates into a Git repo .DESCRIPTION This PowerShell script pulls remote updates into a local Git repository (including submodules). -.PARAMETER pathToRepo +.PARAMETER path Specifies the file path to the local Git repository (default is working directory) .EXAMPLE PS> ./pull-repo.ps1 @@ -59,14 +59,14 @@ Script Content ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Pulling remote updates... ⏳ (4/4) Updating submodules... - ✅ Updates pulled into 📂rust repo in 14s. + ✅ Repo 'rust' updated in 14s. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$pathToRepo = "$PWD") +param([string]$path = "$PWD") try { $stopWatch = [system.diagnostics.stopwatch]::startNew() @@ -75,30 +75,30 @@ try { & git --version if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } - Write-Host "⏳ (2/4) Checking local repository... $pathToRepo" - if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access folder: $pathToRepo" } - $result = (git -C "$pathToRepo" status) + Write-Host "⏳ (2/4) Checking local repository... $path" + if (-not(Test-Path "$path" -pathType container)) { throw "Can't access folder: $path" } + $result = (git -C "$path" status) if ("$result" -match "HEAD detached at ") { throw "Nothing to pull due to detached HEAD state (not on a branch!)" } - $pathToRepoName = (Get-Item "$pathToRepo").Name + $dirName = (Get-Item "$path").Name Write-Host "⏳ (3/4) Pulling remote updates... " -noNewline - & git -C "$pathToRepo" remote get-url origin + & git -C "$path" remote get-url origin if ($lastExitCode -ne 0) { throw "'git remote get-url origin' failed with exit code $lastExitCode" } - & git -C "$pathToRepo" pull --recurse-submodules=yes + & git -C "$path" pull --recurse-submodules=yes if ($lastExitCode -ne 0) { throw "'git pull' failed with exit code $lastExitCode" } Write-Host "⏳ (4/4) Updating submodules... " - & git -C "$pathToRepo" submodule update --init --recursive + & git -C "$path" submodule update --init --recursive if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Updates pulled into 📂$pathToRepoName repo in $($elapsed)s." + "✅ Repo '$dirName' updated in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index 3ad31deae..d5209f322 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -102,9 +102,9 @@ try { exit 1 } } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index 7f029ae23..cdfee5949 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index b4924e3bd..bcbe4196d 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/reboot-into-bios.md b/docs/reboot-into-bios.md index c3c4d3386..4c6cbbeb8 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/reboot.md b/docs/reboot.md index d1946fc0d..cb279e501 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/remember.md b/docs/remember.md index 355959459..4c59f89c3 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/remind-me.md b/docs/remind-me.md index 7ca9d198c..16e799752 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/remove-dir.md b/docs/remove-dir.md new file mode 100644 index 000000000..d63e94a26 --- /dev/null +++ b/docs/remove-dir.md @@ -0,0 +1,86 @@ +The *remove-dir.ps1* Script +=========================== + +This PowerShell script removes the given directory tree recursively. +NOTE: Use with care! This cannot be undone! + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/remove-dir.ps1 [[-pathToDir] ] [] + +-pathToDir + Specifies the file path to the directory tree + + 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> ./remove-dir.ps1 C:\Temp +⏳ Removing directory 'C:\Temp', please wait..." +✅ Directory C:\Temp\ removed (took 9s). + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Removes a directory +.DESCRIPTION + This PowerShell script removes the given directory tree recursively. + NOTE: Use with care! This cannot be undone! +.PARAMETER pathToDir + Specifies the file path to the directory tree +.EXAMPLE + PS> ./remove-dir.ps1 C:\Temp + ⏳ Removing directory 'C:\Temp', please wait..." + ✅ Directory C:\Temp\ removed (took 9s). +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$pathToDir = "") + +try { + if ($pathToDir -eq "" ) { $pathToDir = Read-Host "Enter the file path to the obsolete directory" } + + $stopWatch = [system.diagnostics.stopwatch]::startNew() + if (!(Test-Path "$pathToDir" -pathType container)) { throw "Cannot access directory '$pathToDir'" } + + "⏳ Removing directory '$pathToDir', please wait..." + Remove-Item -force -recurse -confirm:$false $pathToDir + if ($lastExitCode -ne 0) { throw "'Remove-Item' failed with exit code $lastExitCode" } + + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Directory $pathToDir removed (took $($elapsed)s)." + exit 0 # success +} catch { + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index 4b345b655..332fe5cb4 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index 9be9f9789..e66439ef9 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 7555fc445..f0040cf96 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 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index 641896ed9..2897c8782 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/remove-user.md b/docs/remove-user.md index 2b70018de..b7f373ce1 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index 292c41968..7eaac1381 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index 746ff16c8..350a27759 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index 439e6b8a2..57188551f 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index 9916871af..85b84d8ac 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index 21df98c6b..77feaa3fe 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 333f1c07a..6708812d3 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index cce16348d..31c4c9d88 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/scan-network.md b/docs/scan-network.md index be7bb2786..29a97c657 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index 27f9e6b18..9c0b0a783 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/search-filename.md b/docs/search-filename.md index a164d29cd..b2b86b2af 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/search-files.md b/docs/search-files.md index 9c0b802ab..4b213d149 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/search-repo.md b/docs/search-repo.md index e655822c3..184e829b6 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/send-email.md b/docs/send-email.md index 2d1e2d0b7..0fd740bd8 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -126,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index 6eeed1b4e..2cf0bd8d9 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/send-udp.md b/docs/send-udp.md index e52d89200..ed8506c93 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/set-timer.md b/docs/set-timer.md index a08331bad..b20e93029 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/set-volume.md b/docs/set-volume.md index 9683fc391..f22007e4c 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index 3241043a3..6c569b487 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index 01898c7b1..2ed6d1548 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index 7d2f06504..9a35027b4 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/show-notification.md b/docs/show-notification.md index 53f83eb72..18824ec40 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index 5f151d72f..3f663b7e4 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index 12fb37b20..af97efcad 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index 911c10b53..63105472f 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -142,4 +142,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 4d9188038..63dd8a8c5 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index 8a234dbc8..fd132d646 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$name = "handwashing") function WaitForCheck { @@ -96,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index 13376f9d8..e596040d3 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -58,6 +58,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([int]$startNumber = 10) try { @@ -73,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index e2d2650ac..59cb931b9 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index e95de9695..212504e3e 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index 85a5cb7c1..03a714e64 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-english.md b/docs/speak-english.md index 1c65cc0e2..ffe0a5011 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -75,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index 1d1817a5f..ada26dbfb 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$Filename = "") function Speak { param([string]$Text) @@ -140,4 +142,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index b93bc705f..c2f197dc6 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-file.md b/docs/speak-file.md index bc69d8578..6e45d79a6 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$File = "") try { @@ -72,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index 8335c006a..14c5449bf 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-french.md b/docs/speak-french.md index 4923f5915..5e8331d75 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-german.md b/docs/speak-german.md index 13594675d..4f5ce0785 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index 9a5fb879a..649c33da6 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index 586da5bbe..894cd5ad9 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index 181cb8f94..d7ef3c547 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index 70dc250a9..361e39ae3 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index 9a7d5f3bf..f3ecf1473 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index efd412e52..0d8433b8a 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index cff9582d2..387e6ddd2 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index 3ddde6220..667ca46db 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 6bce006d2..26208f71a 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index 08636b6eb..5b5e8b395 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index 32ef09e12..c1128434f 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index e891b34e0..96ebb8d9d 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index 6fdb45fe4..955e5b3c6 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index 207d3d905..b366cac6e 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-test.md b/docs/speak-test.md index a7a2d8c56..2b08a7001 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -1,19 +1,35 @@ The *speak-test.ps1* Script =========================== -speak-test.ps1 - +This PowerShell script performs a text-to-speech (TTS) test. Parameters ---------- ```powershell - +/Repos/PowerShell/scripts/speak-test.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS> ./speak-test.ps1 +📣 Let's begin with the default speed rate of 0 at the default volume of 100%. +... + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell @@ -32,6 +48,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + function Speak([string]$Text) { Write-Output "📣 $Text" [void]$Voice.speak("$Text") @@ -83,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-text.md b/docs/speak-text.md index 703e94dea..775d0f349 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -70,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index baf61c6c7..eebcc1480 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index e33122db7..b35751ce8 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index b8b97957a..9d6e8bcf5 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -56,6 +56,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + param([string]$text = "") try { @@ -76,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/spell-word.md b/docs/spell-word.md index bd034eca4..c4cfa9def 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index 8dbc1b559..31fe1e282 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/suspend.md b/docs/suspend.md index cb46b033f..b34735629 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index 7f6862068..7c2e6cdb6 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -6,7 +6,7 @@ This PowerShell script switches to the given branch in a Git repository and also Parameters ---------- ```powershell -/Repos/PowerShell/scripts/switch-branch.ps1 [[-branchName] ] [[-pathToRepo] ] [] +/Repos/PowerShell/scripts/switch-branch.ps1 [[-branchName] ] [[-path] ] [] -branchName Specifies the Git branch name to switch to @@ -18,7 +18,7 @@ Parameters Aliases Accept wildcard characters? false --pathToRepo +-path Specifies the file path to the local Git repository Required? false @@ -40,10 +40,10 @@ PS> ./switch-branch main ⏳ (1/6) Searching for Git executable... git version 2.43.0.windows.1 ⏳ (2/6) Checking local repository... C:\Repos\rust ⏳ (3/6) Fetching remote updates... -⏳ (4/6) Switching to 'main' branch... +⏳ (4/6) Switching to branch 'main'... ⏳ (5/6) Pulling remote updates... ⏳ (6/6) Updating submodules... -✅ Switched repo 📂rust to 'main' branch in 22s. +✅ Repo 'rust' switched to 'main' branch in 22s. ``` @@ -65,24 +65,24 @@ Script Content This PowerShell script switches to the given branch in a Git repository and also updates the submodules. .PARAMETER branchName Specifies the Git branch name to switch to -.PARAMETER pathToRepo +.PARAMETER path Specifies the file path to the local Git repository .EXAMPLE PS> ./switch-branch main ⏳ (1/6) Searching for Git executable... git version 2.43.0.windows.1 ⏳ (2/6) Checking local repository... C:\Repos\rust ⏳ (3/6) Fetching remote updates... - ⏳ (4/6) Switching to 'main' branch... + ⏳ (4/6) Switching to branch 'main'... ⏳ (5/6) Pulling remote updates... ⏳ (6/6) Updating submodules... - ✅ Switched repo 📂rust to 'main' branch in 22s. + ✅ Repo 'rust' switched to 'main' branch in 22s. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$branchName = "", [string]$pathToRepo = "$PWD") +param([string]$branchName = "", [string]$path = "$PWD") try { if ($branchName -eq "") { $branchName = Read-Host "Enter the branch name to switch to" } @@ -93,39 +93,39 @@ try { & git --version if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } - Write-Host "⏳ (2/6) Checking local repository... $pathToRepo" - if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access repo folder: $pathToRepo" } - $result = (git -C "$pathToRepo" status) - if ($lastExitCode -ne 0) { throw "'git status' in $pathToRepo failed with exit code $lastExitCode" } + Write-Host "⏳ (2/6) Checking local repository... $path" + if (-not(Test-Path "$path" -pathType container)) { throw "Can't access repo folder: $path" } + $result = (git -C "$path" status) + if ($lastExitCode -ne 0) { throw "'git status' in $path failed with exit code $lastExitCode" } if ("$result" -notmatch "nothing to commit, working tree clean") { throw "Git repository is NOT clean: $result" } - $repoDirName = (Get-Item "$pathToRepo").Name + $repoDirName = (Get-Item "$path").Name Write-Host "⏳ (3/6) Fetching remote updates... " -noNewline - & git -C "$pathToRepo" remote get-url origin + & git -C "$path" remote get-url origin if ($lastExitCode -ne 0) { throw "'git remote get-url origin' failed with exit code $lastExitCode" } - & git -C "$pathToRepo" fetch --all --prune --prune-tags --force + & git -C "$path" fetch --all --prune --prune-tags --force if ($lastExitCode -ne 0) { throw "'git fetch' failed with exit code $lastExitCode" } - "⏳ (4/6) Switching to '$branchName' branch..." - & git -C "$pathToRepo" checkout --recurse-submodules "$branchName" + "⏳ (4/6) Switching to branch '$branchName'..." + & git -C "$path" checkout --recurse-submodules "$branchName" if ($lastExitCode -ne 0) { throw "'git checkout $branchName' failed with exit code $lastExitCode" } "⏳ (5/6) Pulling remote updates..." - & git -C "$pathToRepo" pull --recurse-submodules + & git -C "$path" pull --recurse-submodules if ($lastExitCode -ne 0) { throw "'git pull' failed with exit code $lastExitCode" } "⏳ (6/6) Updating submodules..." - & git -C "$pathToRepo" submodule update --init --recursive + & git -C "$path" submodule update --init --recursive if ($lastExitCode -ne 0) { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Switched repo 📂$repoDirName to '$branchName' branch in $($elapsed)s." + "✅ Repo '$repoDirName' switched to '$branchName' branch in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index 09c9385eb..b91224ef0 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index 9d4f69e32..a256e205c 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/sync-dir.md b/docs/sync-dir.md index 1b2bb508a..f4383ab07 100644 --- a/docs/sync-dir.md +++ b/docs/sync-dir.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index d0acc1d1f..a5406ff19 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -9,7 +9,7 @@ Parameters /Repos/PowerShell/scripts/sync-repo.ps1 [[-path] ] [] -path - Specifies the path to the Git repository (current working directory by default) + Specifies the file path to the Git repository (current working directory by default) Required? false Position? 1 @@ -31,7 +31,7 @@ PS> ./sync-repo.ps1 C:\Repos\curl ⏳ (2/4) Checking local repository... C:\Repos\curl ⏳ (3/4) Pulling remote updates... Already up to date. ⏳ (4/4) Pushing local updates... Everything up-to-date -✅ Synced the 📂curl repo in 5s. +✅ Repo 'curl' synchronized in 5s. ``` @@ -52,14 +52,14 @@ Script Content .DESCRIPTION This PowerShell script synchronizes a local Git repository by pull and push (including submodules). .PARAMETER path - Specifies the path to the Git repository (current working directory by default) + Specifies the file path to the Git repository (current working directory by default) .EXAMPLE PS> ./sync-repo.ps1 C:\Repos\curl ⏳ (1/4) Searching for Git executable... git version 2.42.0.windows.1 ⏳ (2/4) Checking local repository... C:\Repos\curl ⏳ (3/4) Pulling remote updates... Already up to date. ⏳ (4/4) Pushing local updates... Everything up-to-date - ✅ Synced the 📂curl repo in 5s. + ✅ Repo 'curl' synchronized in 5s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -88,12 +88,12 @@ try { $pathName = (Get-Item "$path").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Synced the 📂$pathName repo in $($elapsed)s." + "✅ Repo '$pathName' synchronized in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index 503c9b3c3..e4ca170a0 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index 38d50d905..73936cc98 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index fcbd05029..08f4fcfab 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index 3a72d6266..11692781e 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index 9f84169af..39a903ba3 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index 867838574..93118052f 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/touch.md b/docs/touch.md index 9862dcb9b..4d9a20234 100644 --- a/docs/touch.md +++ b/docs/touch.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/translate-file.md b/docs/translate-file.md index 8143b2289..5c8862f30 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/translate-files.md b/docs/translate-files.md index 186de09c8..c062bfbe9 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/translate-text.md b/docs/translate-text.md index e39f87e29..2ebc20cca 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index 4560d889a..1b63e71fd 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index 3475aabc5..52c1f9e35 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index e8680c664..e0d79dd9d 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index 9a7d523e7..946a118d8 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index d6e66f54a..f591deca6 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index 5fa1a03d1..c5558174a 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index aa9af0bfe..ef7eb7b82 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/uninstall-new-outlook.md b/docs/uninstall-new-outlook.md index bf39daa9e..1459b1216 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/uninstall-outlook.md b/docs/uninstall-outlook.md index 236f1c8b6..5cb60938f 100644 --- a/docs/uninstall-outlook.md +++ b/docs/uninstall-outlook.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index 7572b0fb6..dee1d351a 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 06/22/2025 10:37:41)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index 945250ad3..536829d66 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/upload-file.md b/docs/upload-file.md index 7b8fd8e11..5d9130ef9 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -149,4 +149,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index cf2835008..4d02facb6 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index 4fd16406a..6faf7698b 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/wake-up-human.md b/docs/wake-up-human.md index 077c2ceb6..c3483e4d6 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index bc6e433a3..58bbbc9ad 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/watch-crypto-rates.md b/docs/watch-crypto-rates.md index c26e7877c..4f934bfe9 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/watch-file.md b/docs/watch-file.md index f61bc2c98..f23d58389 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/watch-host.md b/docs/watch-host.md index 76e64332a..b8b67f250 100644 --- a/docs/watch-host.md +++ b/docs/watch-host.md @@ -147,4 +147,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/watch-news.md b/docs/watch-news.md index 94984fdf2..333863cee 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -123,4 +123,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index 064f1ef64..d2ae65a6e 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -137,4 +137,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/weather-report.md b/docs/weather-report.md index b93ba3e6a..42446e37c 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/weather.md b/docs/weather.md index 5dc21923d..a0f0b9d6b 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/what-is.md b/docs/what-is.md index daec4f244..e4532a67c 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/windefender.md b/docs/windefender.md index 0b8641781..ffe30d8c4 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -82,4 +82,4 @@ break } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/write-animated.md b/docs/write-animated.md index 4bd74cda0..7e8497f71 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index b8a7337e4..2ff559e53 100644 --- a/docs/write-ascii-image.md +++ b/docs/write-ascii-image.md @@ -38,13 +38,13 @@ WriteLine "" WriteLine " _-o#&&*''''?d:>b\_" WriteLine " _o/'`'' '',, dMF9MMMMMHo_" WriteLine " .o&#' `'MbHMMMMMMMMMMMHo." -WriteLine " .o'' ' vodM*$&&HMMMMMMMMMM?." -WriteLine " ,' $M&ood,~'`(&##MMMMMMH\" +WriteLine " .o'' ' vodM*S&&HMMMMMMMMMM?." +WriteLine " ,' SM&ood,~'`(&##MMMMMMH\" WriteLine " / ,MMMMMMM#b?#bobMMMMHMMML" -WriteLine " & ?MMMMMMMMMMMMMMMMM7MMM$R*Hk" -WriteLine " ?$. :MMMMMMMMMMMMMMMMMMM/HMMM|`*L" +WriteLine " & ?MMMMMMMMMMMMMMMMM7MMMSR*Hk" +WriteLine " ?S. :MMMMMMMMMMMMMMMMMMM/HMMM|`*L" WriteLine "| |MMMMMMMMMMMMMMMMMMMMbMH' T," -WriteLine "$H#: `*MMMMMMMMMMMMMMMMMMMMb#}' `?" +WriteLine "SH#: `*MMMMMMMMMMMMMMMMMMMMb#}' `?" WriteLine "]MMH# ''*''''*#MMMMMMMMMMMMM' -" WriteLine "MMMMMb_ |MMMMMMMMMMMP' :" WriteLine "HMMMMMMMHo `MMMMMMMMMT ." @@ -61,4 +61,4 @@ WriteLine " '`--._,dd###pp='''" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-big.md b/docs/write-big.md index a18de1b4c..23036973e 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -472,4 +472,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-blue.md b/docs/write-blue.md index 3c31df016..cae79ea7b 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-braille.md b/docs/write-braille.md index 655049cbd..8365d5ef1 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -409,4 +409,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-centered.md b/docs/write-centered.md index 31ece537a..c4aa917d5 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index 270019948..1e0913742 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-chart.md b/docs/write-chart.md index 53ee6d37d..aa305d1e2 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-clock.md b/docs/write-clock.md index c768bc181..4c2c9f556 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-code.md b/docs/write-code.md index 6338d87f2..f7735134b 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-credits.md b/docs/write-credits.md index 7f63be7b8..81ca0b571 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-date.md b/docs/write-date.md index e912492db..acd03313f 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index a773df3e7..f6e0878dc 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-green.md b/docs/write-green.md index 97cf6b63e..f31058fe0 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index f3d396181..567bb4059 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-headline.md b/docs/write-headline.md index 0002efb9c..58ba81ec0 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-help.md b/docs/write-help.md index 32e1fe8fd..216008fb3 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -38,8 +38,9 @@ function Blue([string]$line) { } try { - White "█████████████████████████████████████`n" - White "█████████████████████████████████████ 👋 Welcome to POWERSHELL $($PSVersionTable.PSVersion) $($PSVersionTable.PSEdition) edition`n" + Write-Host "" + White "█████████████████████████████████████ PowerShell $($PSVersionTable.PSVersion) $($PSVersionTable.PSEdition) Edition`n" + White "█████████████████████████████████████ ------------------------------------------`n" White "████ ▄▄▄▄▄ █▀ █▀▀█▀▀ ▄▄██ ▄▄▄▄▄ ████`n" White "████ █ █ █▀ ▄ █▀ ▀ ▀▄█ █ █ █ ████ Documentation: "; Blue "https://docs.microsoft.com/en-us/powershell`n" White "████ █▄▄▄█ █▀█ █▄▀▄▀ ▀ ▄▄█ █▄▄▄█ ████`n" @@ -47,21 +48,21 @@ try { White "████▄▄ ▄█▄▄ ▄█▄▄ █▀ ▀▀▀ ▀▄▀▄█▄▀████`n" White "████▀▄▄█▀█▄██ ▀ ▄▄▀ █▄█▀ ▀ ▄▀▀█▀█████ Video tutorials: "; Blue "https://www.youtube.com/results?search_query=PowerShell`n" White "█████ ▄▄█▄▄▀▄ ▀▄▀ ▄▄ ▀ ▀▀▀ ▀▄▄█▀████`n" - White "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████ Type 'Get-Help ' to display information about `n" + White "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████ FAQ's: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md`n" White "████ ████▄▄ ▄█▄▄▄██ ▀ ▀▀▀▀▄ █▀████`n" - White "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████ FAQ's: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md`n" + White "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████ Cheat sheet: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md`n" White "████▄█▄███▄▄▀▄▄▄▀ ▄▄ ▄▀▄ ▄▄▄ ▀ ████`n" - White "████ ▄▄▄▄▄ █▄▄▄█▀█▄ ██ █▄█ ▄▄█▀████ 500+ sample scripts: "; Blue "https://github.com/fleschutz/PowerShell`n" + White "████ ▄▄▄▄▄ █▄▄▄█▀█▄ ██ █▄█ ▄▄█▀████ Sample scripts: "; Blue "https://github.com/fleschutz/PowerShell`n" White "████ █ █ █ ▀▄█▄ ▄▄ ▀█ ▄▄▄▄▀ ████`n" - White "████ █▄▄▄█ █ ██ ▄█▄ ▄▀▀▀ ▄▄ ▄ █████ Cheat sheet: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md`n" + White "████ █▄▄▄█ █ ██ ▄█▄ ▄▀▀▀ ▄▄ ▄ █████ Type 'Get-Help ' to display information about `n" White "████▄▄▄▄▄▄▄█▄▄█▄▄████▄▄▄██▄▄▄█▄██████`n" - White "█████████████████████████████████████ NOTE: use + to open the links in your browser.`n" + White "█████████████████████████████████████ HINT: press + to follow the links.`n" White "█████████████████████████████████████`n" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptWhiteNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index e8280afb3..054dfd734 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 2d4140421..6e590a405 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-location.md b/docs/write-location.md index 30993af01..b52405318 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index 657d3e9ba..9fcfbbaef 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index 650983131..3140bb183 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index c704207bd..75c70c07c 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-moon.md b/docs/write-moon.md index 780d58a09..19db24411 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index 0e72530df..a99c02189 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-motd.md b/docs/write-motd.md index ad14d5245..64561f8f1 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-pi.md b/docs/write-pi.md index e5a070936..4faefea8c 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-progress-bar.md b/docs/write-progress-bar.md index d7e92dbfe..747839329 100644 --- a/docs/write-progress-bar.md +++ b/docs/write-progress-bar.md @@ -18,13 +18,12 @@ Script Content -------------- ```powershell $progressBar = @('⣾','⣽','⣻','⢿','⡿','⣟','⣯','⣷') -$progressIndex = 0 -do { - Write-Host "`r$($progressBar[$progressIndex]) Working on something..." -NoNewline - $progressIndex = ($progressIndex + 1) % $progressBar.Length +for ([int]$i = 0; $i -lt 150; $i++) { + Write-Host "`r$($progressBar[$i % 7]) Working on something..." -NoNewline Start-Sleep -milliseconds 100 -} while ($true) +} +exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index 2c5453033..0199743ec 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 37c123aeb..a6fd1aa68 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-red.md b/docs/write-red.md index 5214a4237..2541cece5 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index 5789e428a..7f07f8758 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-shit.md b/docs/write-shit.md index ff420a698..378dc3b91 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index 5ccafef4b..413fbbf0a 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-story.md b/docs/write-story.md index 6cb4463e3..3503eba56 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-time.md b/docs/write-time.md index 0fc68530c..cbd7c7bba 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index 1f1f3ea1a..7e0673bd5 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index 9352ed7b1..e6e600849 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-value.md b/docs/write-value.md index 6e024cfbe..302fef140 100644 --- a/docs/write-value.md +++ b/docs/write-value.md @@ -106,51 +106,68 @@ Script Content param([float]$value = 0.5, [string]$unit = "Mach", [float]$redMin, [float]$yellowMin, [float]$yellowMax, [float]$redMax) function WriteValueInRange([float]$value, [string]$unit, [float]$redMin, [float]$yellowMin, [float]$yellowMax, [float]$redMax) { - $line = "------------------------------------------------" - $text = "[$redMin$($value)$unit $redMax]" - [float]$total = 20.0 - $text.Length + $line = "--------------------------------------" + $text = "[$redMin$value$unit$redMax]" + [float]$both = 20.0 - $text.Length if ($value -gt $redMax) { - Write-Host "[$redMin$($line.Substring(0, $total))$redMax]" -noNewline - Write-Host "$($value)$unit " -noNewline -foregroundColor red + Write-Host "[$redMin$($line.Substring(0,$both))$redMax]" -noNewline + Write-Host "$value$unit" -noNewline -foregroundColor red } elseif ($value -lt $redMin) { - Write-Host "$($value)$unit" -noNewline -foregroundColor red - Write-Host "[$redMin$($line.Substring(0, $total))$redMax] " -noNewline + Write-Host "$value$unit" -noNewline -foregroundColor red + Write-Host "[$redMin$($line.Substring(0,$both))$redMax] " -noNewline } else { - [float]$leftSide = (($value - $redMin) * $total) / ($redMax - $redMin) - if ($leftSide -lt 1.0) { $leftSide = 1.0 } - if ($leftSide -gt ($total - 1.0)) { $leftSide = $total - 1.0 } - Write-Host "[$redMin$($line.Substring(0, $leftSide))" -noNewline + [float]$left = (($value - $redMin) * $both) / ($redMax - $redMin) + if ($left -lt 1.0) { $left = 1.0 } + elseif ($left -gt ($both - 1.0)) { $left = $both - 1.0 } + [float]$right = $both - $left + Write-Host "[$redMin$($line.Substring(0,$left))" -noNewline if (($value -le $yellowMin) -or ($value -ge $yellowMax)) { - Write-Host "$($value)$unit" -noNewline -foregroundColor yellow + Write-Host "$value$unit" -noNewline -foregroundColor yellow } else { - Write-Host "$($value)$unit" -noNewline -foregroundColor green + Write-Host "$value$unit" -noNewline -foregroundColor green } - Write-Host "$($line.Substring(0, $total - $leftSide + 0.49))$redMax] " -noNewline + Write-Host "$($line.Substring(0,$right))$redMax]" -noNewline } } -WriteValueInRange -3.5 "°C" 0 10 90 100 -Write-Host "CPU too cold" +Write-Host "" +Write-Host " TRACK " -noNewline +WriteValueInRange 50.0 "°" 0 0 360 360 +Write-Host "" -WriteValueInRange 5 "°C" 0 10 90 100 -Write-Host "CPU quite cold" +Write-Host " ALT " -noNewline +WriteValueInRange 800 "m" 0 0 6000 8000 +Write-Host "" -WriteValueInRange 15 "°C" 0 10 90 100 -Write-Host "OK" +Write-Host " SPEED " -noNewline +WriteValueInRange 230 "km/h" 0 0 180 200 +Write-Host "" -WriteValueInRange 50 "°C" 0 10 90 100 -Write-Host "OK" +Write-Host " BANK " -noNewline +WriteValueInRange -30.3 "°" -30 -10 10 30 +Write-Host "" -WriteValueInRange 70 "°C" 0 10 90 100 -Write-Host "OK" +Write-Host " ENG " -noNewline +WriteValueInRange 2000 "RPM" 0 0 5000 6000 +Write-Host "" -WriteValueInRange 95 "°C" 0 10 90 100 -Write-Host "CPU quite hot " +Write-Host " TEMP " -noNewline +WriteValueInRange 21.8 "°C" 0 10 90 100 +Write-Host "" -WriteValueInRange 110 "°C" 0 10 90 100 -Write-Host "CPU too hot " +Write-Host " FUEL " -noNewline +WriteValueInRange 0.1 "l" 0 5 60 65 +Write-Host "" + +Write-Host " FREQ " -noNewline +WriteValueInRange 104.4 "MHz" 80 80 108 108 +Write-Host "" + +Write-Host " BRAKE " -noNewline +WriteValueInRange 0.0 "%" 0 -1 90 100 +Write-Host "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index 0b81a2927..fdd55090c 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md index bdf852e57..1a3f0632d 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 06/22/2025 10:37:42)* +*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* diff --git a/scripts/calculate-BMI.ps1 b/scripts/calculate-BMI.ps1 old mode 100644 new mode 100755 diff --git a/scripts/copy-broken-file.ps1 b/scripts/copy-broken-file.ps1 old mode 100644 new mode 100755 diff --git a/scripts/open-windy.ps1 b/scripts/open-windy.ps1 old mode 100644 new mode 100755 From b4c21affde2ed0eceeb5dfd1b664d7e5a6434e77 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 6 Aug 2025 15:29:55 +0200 Subject: [PATCH 423/737] Updated ping-internet.ps1 --- scripts/ping-internet.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/ping-internet.ps1 b/scripts/ping-internet.ps1 index 2d02756be..5d43666f4 100755 --- a/scripts/ping-internet.ps1 +++ b/scripts/ping-internet.ps1 @@ -1,13 +1,13 @@ <# .SYNOPSIS - Pings remote hosts to measure the latency + Measures the latency to Internet hosts .DESCRIPTION - This PowerShell script measures the ping roundtrip times from the local computer to remote ones (10 Internet servers by default). + This PowerShell script measures the ping roundtrip times from the local computer to 10 Internet servers. .PARAMETER hosts Specifies the hosts to ping, seperated by commata (10 Internet servers by default) .EXAMPLE PS> ./ping-internet.ps1 - ✅ Internet ping: 12ms (9...18ms range) + ✅ Internet ping is 12ms (9...18ms range) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -39,10 +39,10 @@ try { Write-Host "✅ Online with $loss/$total ping loss and $($min)...$($max)ms latency - $($speed)ms average" } else { [float]$speed = [math]::round([float]$avg / [float]$success, 1) - Write-Host "✅ Internet ping: $($speed)ms ($min...$($max)ms range)" + Write-Host "✅ Internet ping is $($speed)ms ($min...$($max)ms range)" } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } From d20acb7171ddaaa6a68e1f73ef3359f6715cc8cd Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 7 Aug 2025 15:48:27 +0200 Subject: [PATCH 424/737] Updated the manuals --- docs/add-firewall-rules.md | 8 ++++---- docs/alert.md | 8 ++++---- docs/build-repo.md | 10 +++++----- docs/build-repos.md | 8 ++++---- docs/calculate-BMI.md | 8 ++++---- docs/cd-autostart.md | 8 ++++---- docs/cd-crashdumps.md | 8 ++++---- docs/cd-desktop.md | 8 ++++---- docs/cd-docs.md | 8 ++++---- docs/cd-downloads.md | 8 ++++---- docs/cd-dropbox.md | 8 ++++---- docs/cd-etc.md | 8 ++++---- docs/cd-fonts.md | 8 ++++---- docs/cd-home.md | 8 ++++---- docs/cd-jenkins.md | 8 ++++---- docs/cd-logs.md | 8 ++++---- docs/cd-music.md | 8 ++++---- docs/cd-nextcloud.md | 8 ++++---- docs/cd-onedrive.md | 8 ++++---- docs/cd-pics.md | 8 ++++---- docs/cd-public.md | 8 ++++---- docs/cd-recent.md | 8 ++++---- docs/cd-recycle-bin.md | 8 ++++---- docs/cd-repo.md | 8 ++++---- docs/cd-repos.md | 8 ++++---- docs/cd-root.md | 8 ++++---- docs/cd-screenshots.md | 8 ++++---- docs/cd-scripts.md | 8 ++++---- docs/cd-ssh.md | 8 ++++---- docs/cd-sync.md | 8 ++++---- docs/cd-temp.md | 8 ++++---- docs/cd-templates.md | 8 ++++---- docs/cd-trash.md | 8 ++++---- docs/cd-up.md | 8 ++++---- docs/cd-up2.md | 8 ++++---- docs/cd-up3.md | 8 ++++---- docs/cd-up4.md | 8 ++++---- docs/cd-users.md | 8 ++++---- docs/cd-videos.md | 8 ++++---- docs/cd-windows.md | 8 ++++---- docs/change-wallpaper.md | 8 ++++---- docs/check-admin.md | 8 ++++---- docs/check-apps.md | 6 +++--- docs/check-bios.md | 8 ++++---- docs/check-cpu.md | 6 +++--- docs/check-credentials.md | 8 ++++---- docs/check-day.md | 8 ++++---- docs/check-dns.md | 8 ++++---- docs/check-drive-space.md | 8 ++++---- docs/check-drives.md | 8 ++++---- docs/check-dusk.md | 6 +++--- docs/check-easter-sunday.md | 8 ++++---- docs/check-file-system.md | 8 ++++---- docs/check-file.md | 8 ++++---- docs/check-firewall.md | 8 ++++---- docs/check-gpu.md | 6 +++--- docs/check-hardware.md | 8 ++++---- docs/check-health.md | 8 ++++---- docs/check-independence-day.md | 8 ++++---- docs/check-ipv4-address.md | 8 ++++---- docs/check-ipv6-address.md | 8 ++++---- docs/check-iss-position.md | 8 ++++---- docs/check-mac-address.md | 8 ++++---- docs/check-midnight.md | 6 +++--- docs/check-month.md | 8 ++++---- docs/check-moon-phase.md | 8 ++++---- docs/check-motherboard.md | 8 ++++---- docs/check-network.md | 8 ++++---- docs/check-noon.md | 6 +++--- docs/check-os.md | 8 ++++---- docs/check-outlook.md | 8 ++++---- docs/check-password.md | 8 ++++---- docs/check-pending-reboot.md | 6 +++--- docs/check-pnp-devices.md | 8 ++++---- docs/check-power.md | 8 ++++---- docs/check-powershell.md | 6 +++--- docs/check-ps1-file.md | 8 ++++---- docs/check-ram.md | 6 +++--- docs/check-repo.md | 8 ++++---- docs/check-repos.md | 8 ++++---- docs/check-santa.md | 8 ++++---- docs/check-smart-devices.md | 6 +++--- docs/check-software.md | 8 ++++---- docs/check-subnet-mask.md | 8 ++++---- docs/check-swap-space.md | 8 ++++---- docs/check-symlinks.md | 8 ++++---- docs/check-time-zone.md | 8 ++++---- docs/check-uptime.md | 6 +++--- docs/check-vpn.md | 8 ++++---- docs/check-weather.md | 8 ++++---- docs/check-week.md | 8 ++++---- docs/check-wind.md | 8 ++++---- docs/check-windows-system-files.md | 8 ++++---- docs/check-xml-file.md | 8 ++++---- docs/check-xml-files.md | 8 ++++---- docs/clean-repo.md | 10 +++++----- docs/clean-repos.md | 8 ++++---- docs/clear-dns-cache.md | 8 ++++---- docs/clear-recycle-bin.md | 8 ++++---- docs/clone-repos.md | 8 ++++---- docs/clone-shallow.md | 8 ++++---- docs/close-calculator.md | 8 ++++---- docs/close-chrome.md | 8 ++++---- docs/close-cortana.md | 8 ++++---- docs/close-edge.md | 8 ++++---- docs/close-file-explorer.md | 8 ++++---- docs/close-firefox.md | 8 ++++---- docs/close-git-extensions.md | 8 ++++---- docs/close-magnifier.md | 8 ++++---- docs/close-microsoft-paint.md | 8 ++++---- docs/close-microsoft-store.md | 8 ++++---- docs/close-netflix.md | 8 ++++---- docs/close-notepad.md | 8 ++++---- docs/close-obs-studio.md | 8 ++++---- docs/close-one-calendar.md | 8 ++++---- docs/close-outlook.md | 8 ++++---- docs/close-paint-three-d.md | 8 ++++---- docs/close-program.md | 8 ++++---- docs/close-serenade.md | 8 ++++---- docs/close-snipping-tool.md | 8 ++++---- docs/close-spotify.md | 8 ++++---- docs/close-task-manager.md | 8 ++++---- docs/close-three-d-viewer.md | 8 ++++---- docs/close-thunderbird.md | 8 ++++---- docs/close-visual-studio.md | 8 ++++---- docs/close-vlc.md | 8 ++++---- docs/close-windows-terminal.md | 8 ++++---- docs/configure-git.md | 8 ++++---- docs/connect-vpn.md | 8 ++++---- docs/convert-csv2txt.md | 8 ++++---- docs/convert-dir27z.md | 8 ++++---- docs/convert-dir2zip.md | 8 ++++---- docs/convert-docx2md.md | 8 ++++---- docs/convert-frames2mp4.md | 6 +++--- docs/convert-history2ps1.md | 8 ++++---- docs/convert-image2ascii.md | 6 +++--- docs/convert-image2blurred-frames.md | 6 +++--- docs/convert-image2pixelated-frames.md | 6 +++--- docs/convert-images2webp.md | 8 ++++---- docs/convert-md2docx.md | 6 +++--- docs/convert-md2html.md | 8 ++++---- docs/convert-md2pdf.md | 6 +++--- docs/convert-mysql2csv.md | 8 ++++---- docs/convert-ps2bat.md | 8 ++++---- docs/convert-ps2md.md | 14 +++++++------- docs/convert-sql2csv.md | 8 ++++---- docs/convert-txt2wav.md | 8 ++++---- docs/copy-broken-file.md | 8 ++++---- docs/copy-photos-sorted.md | 8 ++++---- docs/copy-videos-sorted.md | 8 ++++---- docs/count-characters.md | 8 ++++---- docs/count-lines.md | 8 ++++---- docs/decrypt-file.md | 8 ++++---- docs/disable-ipv6.md | 8 ++++---- docs/disconnect-vpn.md | 8 ++++---- docs/download-dir.md | 8 ++++---- docs/download-file.md | 8 ++++---- docs/edit.md | 8 ++++---- docs/enable-crash-dumps.md | 8 ++++---- docs/enable-god-mode.md | 8 ++++---- docs/enable-ipv6.md | 8 ++++---- docs/encrypt-file.md | 8 ++++---- docs/enter-chat.md | 8 ++++---- docs/enter-host.md | 8 ++++---- docs/export-to-manuals.md | 8 ++++---- docs/fetch-repo.md | 10 +++++----- docs/fetch-repos.md | 8 ++++---- docs/firefox-installer.md | 8 ++++---- docs/get-md5.md | 8 ++++---- docs/get-sha1.md | 8 ++++---- docs/get-sha256.md | 8 ++++---- docs/get-sha512.md | 8 ++++---- docs/hello-world.md | 8 ++++---- docs/hibernate.md | 8 ++++---- docs/import-vm.md | 6 +++--- docs/inspect-exe.md | 8 ++++---- docs/install-audacity.md | 8 ++++---- docs/install-basic-apps.md | 8 ++++---- docs/install-basic-snaps.md | 8 ++++---- docs/install-calibre-server.md | 8 ++++---- docs/install-chocolatey.md | 8 ++++---- docs/install-chrome.md | 8 ++++---- docs/install-crystal-disk-info.md | 8 ++++---- docs/install-crystal-disk-mark.md | 8 ++++---- docs/install-discord.md | 8 ++++---- docs/install-edge.md | 8 ++++---- docs/install-edit.md | 8 ++++---- docs/install-evcc.md | 8 ++++---- docs/install-firefox.md | 8 ++++---- docs/install-fonts.md | 6 +++--- docs/install-git-extensions.md | 8 ++++---- docs/install-git-for-windows.md | 8 ++++---- docs/install-github-cli.md | 8 ++++---- docs/install-gitlab.md | 6 +++--- docs/install-h2static.md | 8 ++++---- docs/install-irfanview.md | 8 ++++---- docs/install-jenkins-agent.md | 8 ++++---- docs/install-knot-resolver.md | 8 ++++---- docs/install-microsoft-teams.md | 8 ++++---- docs/install-mini-dlna.md | 8 ++++---- docs/install-netflix.md | 8 ++++---- docs/install-obs-studio.md | 8 ++++---- docs/install-octoprint.md | 6 +++--- docs/install-one-calendar.md | 8 ++++---- docs/install-opera-browser.md | 8 ++++---- docs/install-opera-gx.md | 8 ++++---- docs/install-paint-3d.md | 8 ++++---- docs/install-power-toys.md | 8 ++++---- docs/install-powershell.md | 10 +++++----- docs/install-rufus.md | 8 ++++---- docs/install-salesforce-cli.md | 8 ++++---- docs/install-scoop.md | 6 +++--- docs/install-signal-cli.md | 8 ++++---- docs/install-spotify.md | 8 ++++---- docs/install-ssh-client.md | 8 ++++---- docs/install-ssh-server.md | 8 ++++---- docs/install-syncthing.md | 8 ++++---- docs/install-thunderbird.md | 8 ++++---- docs/install-unbound-server.md | 8 ++++---- docs/install-updates.md | 8 ++++---- docs/install-visual-studio-code.md | 8 ++++---- docs/install-vivaldi.md | 8 ++++---- docs/install-vlc.md | 8 ++++---- docs/install-windows-terminal.md | 8 ++++---- docs/install-wsl.md | 8 ++++---- docs/install-zoom.md | 8 ++++---- docs/introduce-powershell.md | 8 ++++---- docs/kill-process.md | 8 ++++---- docs/list-aliases.md | 8 ++++---- docs/list-anagrams.md | 8 ++++---- docs/list-apps.md | 8 ++++---- docs/list-ascii-table.md | 8 ++++---- docs/list-automatic-variables.md | 6 +++--- docs/list-battery-status.md | 8 ++++---- docs/list-bios.md | 8 ++++---- docs/list-bluetooth-devices.md | 8 ++++---- docs/list-branches.md | 8 ++++---- docs/list-calendar.md | 8 ++++---- docs/list-cheat-sheet.md | 8 ++++---- docs/list-city-weather.md | 6 +++--- docs/list-cli-tools.md | 6 +++--- docs/list-clipboard.md | 8 ++++---- docs/list-cmdlets.md | 8 ++++---- docs/list-coffee-prices.md | 6 +++--- docs/list-commit-stats.md | 8 ++++---- docs/list-commits.md | 8 ++++---- docs/list-console-colors.md | 8 ++++---- docs/list-countries.md | 6 +++--- docs/list-cpu.md | 8 ++++---- docs/list-crypto-rates.md | 6 +++--- docs/list-defender-settings.md | 8 ++++---- docs/list-dir-tree.md | 8 ++++---- docs/list-dns-servers.md | 6 +++--- docs/list-drives.md | 8 ++++---- docs/list-earthquakes.md | 8 ++++---- docs/list-emojis.md | 8 ++++---- docs/list-empty-dirs.md | 8 ++++---- docs/list-empty-files.md | 8 ++++---- docs/list-encrypted-files.md | 8 ++++---- docs/list-environment-variables.md | 8 ++++---- docs/list-error-types.md | 6 +++--- docs/list-exchange-rates.md | 8 ++++---- docs/list-executables.md | 8 ++++---- docs/list-fibonacci.md | 6 +++--- docs/list-files.md | 8 ++++---- docs/list-folder.md | 8 ++++---- docs/list-fritzbox-calls.md | 8 ++++---- docs/list-fritzbox-devices.md | 8 ++++---- docs/list-headlines.md | 8 ++++---- docs/list-hidden-files.md | 8 ++++---- docs/list-installed-hotfixes.md | 8 ++++---- docs/list-installed-languages.md | 6 +++--- docs/list-installed-scripts.md | 8 ++++---- docs/list-installed-software.md | 8 ++++---- docs/list-internet-ip.md | 8 ++++---- docs/list-ipv6.md | 8 ++++---- docs/list-latest-tag.md | 8 ++++---- docs/list-latest-tags.md | 8 ++++---- docs/list-local-ip.md | 6 +++--- docs/list-mDNS.md | 6 +++--- docs/list-memos.md | 8 ++++---- docs/list-mysql-tables.md | 8 ++++---- docs/list-network-connections.md | 8 ++++---- docs/list-network-neighbors.md | 8 ++++---- docs/list-network-routes.md | 8 ++++---- docs/list-network-shares.md | 8 ++++---- docs/list-news.md | 8 ++++---- docs/list-nic.md | 8 ++++---- docs/list-nina-warnings.md | 8 ++++---- docs/list-old-branches.md | 8 ++++---- docs/list-os-releases.md | 8 ++++---- docs/list-os-updates.md | 8 ++++---- docs/list-os.md | 8 ++++---- docs/list-outlook-inbox.md | 8 ++++---- docs/list-outlook-sent.md | 8 ++++---- docs/list-passwords.md | 8 ++++---- docs/list-pins.md | 8 ++++---- docs/list-power-schemes.md | 6 +++--- docs/list-powershell-modules.md | 8 ++++---- docs/list-powershell-profiles.md | 6 +++--- docs/list-powershell-verbs.md | 8 ++++---- docs/list-print-jobs.md | 8 ++++---- docs/list-printers.md | 8 ++++---- docs/list-processes.md | 8 ++++---- docs/list-pull-requests.md | 8 ++++---- docs/list-ram.md | 8 ++++---- docs/list-read-only-files.md | 8 ++++---- docs/list-recycle-bin.md | 8 ++++---- docs/list-repos.md | 8 ++++---- docs/list-scripts.md | 6 +++--- docs/list-scsi-devices.md | 8 ++++---- docs/list-services.md | 8 ++++---- docs/list-special-folders.md | 6 +++--- docs/list-sql-tables.md | 8 ++++---- docs/list-ssh-key.md | 8 ++++---- docs/list-submodules.md | 8 ++++---- docs/list-suggestions.md | 8 ++++---- docs/list-system-devices.md | 8 ++++---- docs/list-system-files.md | 8 ++++---- docs/list-system-info.md | 8 ++++---- docs/list-tags.md | 8 ++++---- docs/list-tasks.md | 6 +++--- docs/list-timezone.md | 8 ++++---- docs/list-timezones.md | 8 ++++---- docs/list-tiobe-index.md | 6 +++--- docs/list-unused-files.md | 8 ++++---- docs/list-updates.md | 8 ++++---- docs/list-usb-devices.md | 8 ++++---- docs/list-user-accounts.md | 8 ++++---- docs/list-user-groups.md | 8 ++++---- docs/list-voices.md | 16 ++++++++-------- docs/list-weather.md | 8 ++++---- docs/list-wifi.md | 8 ++++---- docs/list-window-titles.md | 8 ++++---- docs/list-workdir.md | 8 ++++---- docs/list-wsl-distros.md | 8 ++++---- docs/locate-city.md | 8 ++++---- docs/locate-ipaddress.md | 6 +++--- docs/locate-my-phone.md | 8 ++++---- docs/locate-zip-code.md | 8 ++++---- docs/lock-desktop.md | 8 ++++---- docs/log-off.md | 8 ++++---- docs/make-install.md | 8 ++++---- docs/measure-BubbleSort.md | 8 ++++---- docs/measure-BucketSort.md | 8 ++++---- docs/measure-CountingSort.md | 8 ++++---- docs/measure-HeapSort.md | 8 ++++---- docs/measure-InsertionSort.md | 8 ++++---- docs/measure-MergeSort.md | 8 ++++---- docs/measure-QuickSort.md | 8 ++++---- docs/measure-SelectionSort.md | 8 ++++---- docs/measure-sorting-algorithms.md | 8 ++++---- docs/merry-christmas.md | 8 ++++---- docs/minimize-all-windows.md | 8 ++++---- docs/move-mouse-pointer.md | 8 ++++---- docs/move-vm.md | 6 +++--- docs/my-profile.md | 6 +++--- docs/new-branch.md | 8 ++++---- docs/new-dir.md | 8 ++++---- docs/new-email.md | 8 ++++---- docs/new-junction.md | 8 ++++---- docs/new-linux-vm.md | 6 +++--- docs/new-markdown-file.md | 8 ++++---- docs/new-power-plan.md | 6 +++--- docs/new-powershell-script.md | 8 ++++---- docs/new-qrcode.md | 8 ++++---- docs/new-reboot-task.md | 6 +++--- docs/new-shortcut.md | 8 ++++---- docs/new-ssh-key.md | 8 ++++---- docs/new-symlink.md | 8 ++++---- docs/new-tab.md | 8 ++++---- docs/new-tag.md | 8 ++++---- docs/new-text-file.md | 8 ++++---- docs/new-user.md | 8 ++++---- docs/new-windows-vm.md | 6 +++--- docs/on-desktop-login.md | 8 ++++---- docs/open-URL.md | 8 ++++---- docs/open-apps-folder.md | 8 ++++---- docs/open-auto-start-folder.md | 8 ++++---- docs/open-bing-maps.md | 8 ++++---- docs/open-booking-com.md | 8 ++++---- docs/open-c-drive.md | 8 ++++---- docs/open-calculator.md | 8 ++++---- docs/open-chrome.md | 8 ++++---- docs/open-clock.md | 8 ++++---- docs/open-cortana.md | 8 ++++---- docs/open-d-drive.md | 8 ++++---- docs/open-dashboards.md | 8 ++++---- docs/open-deep-l-translator.md | 8 ++++---- docs/open-default-browser.md | 8 ++++---- docs/open-desktop-folder.md | 8 ++++---- docs/open-documents-folder.md | 8 ++++---- docs/open-downloads-folder.md | 8 ++++---- docs/open-dropbox-folder.md | 8 ++++---- docs/open-duck-duck-go.md | 8 ++++---- docs/open-e-drive.md | 8 ++++---- docs/open-edge.md | 8 ++++---- docs/open-egg-timer.md | 8 ++++---- docs/open-email-client.md | 8 ++++---- docs/open-f-drive.md | 8 ++++---- docs/open-file-explorer.md | 8 ++++---- docs/open-fire-place.md | 8 ++++---- docs/open-firefox.md | 8 ++++---- docs/open-flight-radar.md | 8 ++++---- docs/open-g-drive.md | 8 ++++---- docs/open-git-extensions.md | 8 ++++---- docs/open-google-books.md | 8 ++++---- docs/open-google-calendar.md | 8 ++++---- docs/open-google-contacts.md | 8 ++++---- docs/open-google-docs.md | 8 ++++---- docs/open-google-earth.md | 8 ++++---- docs/open-google-mail.md | 8 ++++---- docs/open-google-maps.md | 8 ++++---- docs/open-google-news.md | 8 ++++---- docs/open-google-photos.md | 8 ++++---- docs/open-google-play.md | 8 ++++---- docs/open-google-search.md | 8 ++++---- docs/open-google-stadia.md | 8 ++++---- docs/open-google-translate.md | 8 ++++---- docs/open-home-folder.md | 8 ++++---- docs/open-internet-archive.md | 8 ++++---- docs/open-jitsi-meet.md | 8 ++++---- docs/open-m-drive.md | 8 ++++---- docs/open-magnifier.md | 8 ++++---- docs/open-microsoft-paint.md | 8 ++++---- docs/open-microsoft-solitaire.md | 8 ++++---- docs/open-microsoft-store.md | 8 ++++---- docs/open-microsoft-teams.md | 8 ++++---- docs/open-music-folder.md | 8 ++++---- docs/open-netflix.md | 8 ++++---- docs/open-notepad.md | 8 ++++---- docs/open-obs-studio.md | 8 ++++---- docs/open-office-365.md | 8 ++++---- docs/open-one-drive-folder.md | 8 ++++---- docs/open-outlook.md | 8 ++++---- docs/open-paint-three-d.md | 8 ++++---- docs/open-pictures-folder.md | 8 ++++---- docs/open-rdp.md | 8 ++++---- docs/open-recycle-bin-folder.md | 8 ++++---- docs/open-remote-desktop.md | 8 ++++---- docs/open-repos-folder.md | 8 ++++---- docs/open-screen-clip.md | 8 ++++---- docs/open-screen-sketch.md | 8 ++++---- docs/open-skype.md | 8 ++++---- docs/open-snipping-tool.md | 8 ++++---- docs/open-speed-test.md | 8 ++++---- docs/open-spotify.md | 8 ++++---- docs/open-stack-overflow.md | 8 ++++---- docs/open-start-page.md | 8 ++++---- docs/open-street-map.md | 8 ++++---- docs/open-task-manager.md | 8 ++++---- docs/open-temporary-folder.md | 8 ++++---- docs/open-three-d-viewer.md | 8 ++++---- docs/open-thunderbird.md | 8 ++++---- docs/open-videos-folders.md | 8 ++++---- docs/open-visual-studio.md | 8 ++++---- docs/open-voice-recorder.md | 8 ++++---- docs/open-vpn-settings.md | 8 ++++---- docs/open-windows-defender.md | 8 ++++---- docs/open-windows-terminal.md | 8 ++++---- docs/open-windy.md | 8 ++++---- docs/open-xing.md | 8 ++++---- docs/pick-commit.md | 8 ++++---- docs/ping-host.md | 8 ++++---- docs/ping-internet.md | 22 +++++++++++----------- docs/ping-local-devices.md | 8 ++++---- docs/ping-weather.md | 8 ++++---- docs/play-bee-sound.md | 8 ++++---- docs/play-beep-sound.md | 8 ++++---- docs/play-big-ben.md | 8 ++++---- docs/play-cat-sound.md | 8 ++++---- docs/play-chess.md | 8 ++++---- docs/play-cow-sound.md | 8 ++++---- docs/play-dog-sound.md | 8 ++++---- docs/play-donkey-sound.md | 8 ++++---- docs/play-drug-wars.md | 6 +++--- docs/play-elephant-sound.md | 8 ++++---- docs/play-elk-sound.md | 8 ++++---- docs/play-files.md | 8 ++++---- docs/play-frog-sound.md | 8 ++++---- docs/play-goat-sound.md | 8 ++++---- docs/play-gorilla-sound.md | 8 ++++---- docs/play-happy-birthday.md | 8 ++++---- docs/play-horse-sound.md | 8 ++++---- docs/play-imperial-march.md | 8 ++++---- docs/play-jingle-bells.md | 8 ++++---- docs/play-lion-sound.md | 8 ++++---- docs/play-m3u.md | 8 ++++---- docs/play-mission-impossible.md | 8 ++++---- docs/play-mp3.md | 8 ++++---- docs/play-parrot-sound.md | 8 ++++---- docs/play-pig-sound.md | 8 ++++---- docs/play-pong.md | 6 +++--- docs/play-rattlesnake-sound.md | 8 ++++---- docs/play-rick.md | 8 ++++---- docs/play-snake.md | 8 ++++---- docs/play-super-mario.md | 8 ++++---- docs/play-system-sounds.md | 6 +++--- docs/play-tetris-melody.md | 8 ++++---- docs/play-vulture-sound.md | 8 ++++---- docs/play-wolf-sound.md | 8 ++++---- docs/poweroff.md | 8 ++++---- docs/print-image.md | 8 ++++---- docs/publish-to-ipfs.md | 8 ++++---- docs/pull-repo.md | 10 +++++----- docs/pull-repos.md | 8 ++++---- docs/query-smart-data.md | 8 ++++---- docs/reboot-fritzbox.md | 8 ++++---- docs/reboot-into-bios.md | 6 +++--- docs/reboot.md | 8 ++++---- docs/remember.md | 8 ++++---- docs/remind-me.md | 8 ++++---- docs/remove-dir.md | 8 ++++---- docs/remove-empty-dirs.md | 8 ++++---- docs/remove-old-dirs.md | 8 ++++---- docs/remove-print-jobs.md | 8 ++++---- docs/remove-tag.md | 8 ++++---- docs/remove-user.md | 8 ++++---- docs/remove-vm.md | 6 +++--- docs/replace-in-files.md | 8 ++++---- docs/restart-network-adapters.md | 8 ++++---- docs/roll-a-dice.md | 8 ++++---- docs/save-credentials.md | 8 ++++---- docs/save-screenshot.md | 8 ++++---- docs/scan-folder.md | 8 ++++---- docs/scan-network.md | 6 +++--- docs/scan-ports.md | 8 ++++---- docs/search-filename.md | 8 ++++---- docs/search-files.md | 8 ++++---- docs/search-repo.md | 8 ++++---- docs/send-email.md | 8 ++++---- docs/send-tcp.md | 8 ++++---- docs/send-udp.md | 8 ++++---- docs/set-timer.md | 8 ++++---- docs/set-volume.md | 8 ++++---- docs/set-wallpaper.md | 8 ++++---- docs/show-lightnings.md | 8 ++++---- docs/show-notification-motivation-quote.md | 6 +++--- docs/show-notification.md | 8 ++++---- docs/show-traffic.md | 8 ++++---- docs/simulate-presence.md | 8 ++++---- docs/smart-data2csv.md | 8 ++++---- docs/speak-arabic.md | 8 ++++---- docs/speak-checklist.md | 8 ++++---- docs/speak-countdown.md | 8 ++++---- docs/speak-croatian.md | 8 ++++---- docs/speak-danish.md | 8 ++++---- docs/speak-dutch.md | 8 ++++---- docs/speak-english.md | 8 ++++---- docs/speak-epub.md | 8 ++++---- docs/speak-esperanto.md | 8 ++++---- docs/speak-file.md | 8 ++++---- docs/speak-finnish.md | 8 ++++---- docs/speak-french.md | 8 ++++---- docs/speak-german.md | 8 ++++---- docs/speak-greek.md | 8 ++++---- docs/speak-hebrew.md | 8 ++++---- docs/speak-hindi.md | 8 ++++---- docs/speak-italian.md | 8 ++++---- docs/speak-japanese.md | 8 ++++---- docs/speak-korean.md | 8 ++++---- docs/speak-latin.md | 8 ++++---- docs/speak-mandarin.md | 8 ++++---- docs/speak-norwegian.md | 8 ++++---- docs/speak-polish.md | 8 ++++---- docs/speak-portuguese.md | 8 ++++---- docs/speak-russian.md | 8 ++++---- docs/speak-spanish.md | 8 ++++---- docs/speak-swedish.md | 8 ++++---- docs/speak-test.md | 8 ++++---- docs/speak-text.md | 8 ++++---- docs/speak-thai.md | 8 ++++---- docs/speak-turkish.md | 8 ++++---- docs/speak-ukrainian.md | 8 ++++---- docs/spell-word.md | 8 ++++---- docs/start-ipfs-server.md | 8 ++++---- docs/suspend.md | 8 ++++---- docs/switch-branch.md | 10 +++++----- docs/switch-shelly1.md | 8 ++++---- docs/switch-tabs.md | 8 ++++---- docs/sync-dir.md | 8 ++++---- docs/sync-repo.md | 8 ++++---- docs/tell-joke.md | 8 ++++---- docs/tell-new-year.md | 8 ++++---- docs/tell-quote.md | 8 ++++---- docs/toggle-caps-lock.md | 8 ++++---- docs/toggle-num-lock.md | 8 ++++---- docs/toggle-scroll-lock.md | 8 ++++---- docs/touch.md | 8 ++++---- docs/translate-file.md | 8 ++++---- docs/translate-files.md | 8 ++++---- docs/translate-text.md | 8 ++++---- docs/turn-volume-down.md | 8 ++++---- docs/turn-volume-fully-up.md | 8 ++++---- docs/turn-volume-off.md | 8 ++++---- docs/turn-volume-on.md | 8 ++++---- docs/turn-volume-up.md | 8 ++++---- docs/uninstall-all-apps.md | 8 ++++---- docs/uninstall-bloatware.md | 8 ++++---- docs/uninstall-new-outlook.md | 8 ++++---- docs/uninstall-outlook.md | 8 ++++---- docs/update-powershell-profile.md | 8 ++++---- docs/upgrade-ubuntu.md | 8 ++++---- docs/upload-file.md | 8 ++++---- docs/upload-to-dropbox.md | 8 ++++---- docs/wake-up-host.md | 8 ++++---- docs/wake-up-human.md | 8 ++++---- docs/watch-commits.md | 8 ++++---- docs/watch-crypto-rates.md | 6 +++--- docs/watch-file.md | 6 +++--- docs/watch-host.md | 6 +++--- docs/watch-news.md | 8 ++++---- docs/watch-ping.md | 8 ++++---- docs/weather-report.md | 8 ++++---- docs/weather.md | 8 ++++---- docs/what-is.md | 8 ++++---- docs/windefender.md | 8 ++++---- docs/write-animated.md | 8 ++++---- docs/write-ascii-image.md | 6 +++--- docs/write-big.md | 8 ++++---- docs/write-blue.md | 8 ++++---- docs/write-braille.md | 8 ++++---- docs/write-centered.md | 8 ++++---- docs/write-changelog.md | 8 ++++---- docs/write-chart.md | 6 +++--- docs/write-clock.md | 8 ++++---- docs/write-code.md | 8 ++++---- docs/write-credits.md | 8 ++++---- docs/write-date.md | 8 ++++---- docs/write-fractal.md | 6 +++--- docs/write-green.md | 8 ++++---- docs/write-hands-off.md | 8 ++++---- docs/write-headline.md | 8 ++++---- docs/write-help.md | 6 +++--- docs/write-in-emojis.md | 8 ++++---- docs/write-joke.md | 8 ++++---- docs/write-location.md | 8 ++++---- docs/write-lowercase.md | 8 ++++---- docs/write-marquee.md | 8 ++++---- docs/write-matrix.md | 6 +++--- docs/write-moon.md | 8 ++++---- docs/write-morse-code.md | 8 ++++---- docs/write-motd.md | 8 ++++---- docs/write-pi.md | 8 ++++---- docs/write-progress-bar.md | 6 +++--- docs/write-qr-code.md | 8 ++++---- docs/write-quote.md | 8 ++++---- docs/write-red.md | 8 ++++---- docs/write-rot13.md | 8 ++++---- docs/write-shit.md | 8 ++++---- docs/write-sine-curves.md | 8 ++++---- docs/write-story.md | 8 ++++---- docs/write-time.md | 8 ++++---- docs/write-typewriter.md | 8 ++++---- docs/write-uppercase.md | 8 ++++---- docs/write-value.md | 8 ++++---- docs/write-vertical.md | 8 ++++---- docs/write-xmas-tree.md | 8 ++++---- scripts/build-repo.ps1 | 2 +- scripts/clean-repo.ps1 | 2 +- scripts/convert-ps2md.ps1 | 6 +++--- scripts/fetch-repo.ps1 | 2 +- scripts/list-voices.ps1 | 8 ++++---- scripts/pull-repo.ps1 | 2 +- scripts/switch-branch.ps1 | 2 +- 665 files changed, 2601 insertions(+), 2601 deletions(-) diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index f4fb642e5..b9d1fda57 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -1,12 +1,12 @@ -The *add-firewall-rules.ps1* Script -=========================== +PowerShell Script: *add-firewall-rules.ps1* +=================================== This PowerShell script adds firewall rules for the given executable. Administrator rights are required. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/add-firewall-rules.ps1 [[-PathToExecutables] ] [[-Direction] ] [[-FirewallProfile] ] [] +PS> ./add-firewall-rules.ps1 [[-PathToExecutables] ] [[-Direction] ] [[-FirewallProfile] ] [] -PathToExecutables Specifies the path to the executables. @@ -116,4 +116,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/alert.md b/docs/alert.md index 417360dd8..a250f5736 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -1,12 +1,12 @@ -The *alert.ps1* Script -=========================== +PowerShell Script: *alert.ps1* +=================================== This PowerShell script handles and escalates the given alert message. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/alert.ps1 [[-Message] ] [] +PS> ./alert.ps1 [[-Message] ] [] -Message Specifies the alert message @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/build-repo.md b/docs/build-repo.md index 8845bf0df..d796eb2f4 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -1,5 +1,5 @@ -The *build-repo.ps1* Script -=========================== +PowerShell Script: *build-repo.ps1* +=================================== This PowerShell script builds a Git repository by supporting the following build systems: autogen, cargo, cmake, configure, Gradle, Imakefile, Makefile, and Meson. @@ -7,7 +7,7 @@ systems: autogen, cargo, cmake, configure, Gradle, Imakefile, Makefile, and Meso Parameters ---------- ```powershell -/Repos/PowerShell/scripts/build-repo.ps1 [[-path] ] [] +PS> ./build-repo.ps1 [[-path] ] [] -path Specifies the file path to the Git repository (default: current working directory) @@ -209,10 +209,10 @@ try { } exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" Set-Location "$previousPath" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/build-repos.md b/docs/build-repos.md index 9b7326e6c..ef8accd04 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -1,12 +1,12 @@ -The *build-repos.ps1* Script -=========================== +PowerShell Script: *build-repos.ps1* +=================================== This PowerShell script builds all Git repositories in a folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/build-repos.ps1 [[-ParentDir] ] [] +PS> ./build-repos.ps1 [[-ParentDir] ] [] -ParentDir Specifies the path to the parent folder @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/calculate-BMI.md b/docs/calculate-BMI.md index 95991637c..2524e8ee7 100644 --- a/docs/calculate-BMI.md +++ b/docs/calculate-BMI.md @@ -1,12 +1,12 @@ -The *calculate-BMI.ps1* Script -=========================== +PowerShell Script: *calculate-BMI.ps1* +=================================== This PowerShell script calculates the BMI. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/calculate-BMI.ps1 [] +PS> ./calculate-BMI.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index 21db0f13d..e2b1bf99e 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -1,12 +1,12 @@ -The *cd-autostart.ps1* Script -=========================== +PowerShell Script: *cd-autostart.ps1* +=================================== This PowerShell script changes the working directory to the user's autostart folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-autostart.ps1 [] +PS> ./cd-autostart.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index a75746d15..dd4151fc8 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -1,12 +1,12 @@ -The *cd-crashdumps.ps1* Script -=========================== +PowerShell Script: *cd-crashdumps.ps1* +=================================== This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-crashdumps.ps1 [] +PS> ./cd-crashdumps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index ebbab9f61..9cbdee039 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -1,12 +1,12 @@ -The *cd-desktop.ps1* Script -=========================== +PowerShell Script: *cd-desktop.ps1* +=================================== This PowerShell script changes the working directory to the user's desktop folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-desktop.ps1 [] +PS> ./cd-desktop.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index 947b04c1f..10148464d 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -1,12 +1,12 @@ -The *cd-docs.ps1* Script -=========================== +PowerShell Script: *cd-docs.ps1* +=================================== This PowerShell script changes the current working directory to the documents folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-docs.ps1 [] +PS> ./cd-docs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index 9e0862e0b..9f949b88b 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -1,12 +1,12 @@ -The *cd-downloads.ps1* Script -=========================== +PowerShell Script: *cd-downloads.ps1* +=================================== This PowerShell script changes the working directory to the user's downloads folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-downloads.ps1 [] +PS> ./cd-downloads.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index f59ecdf96..12e1cef6a 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -1,12 +1,12 @@ -The *cd-dropbox.ps1* Script -=========================== +PowerShell Script: *cd-dropbox.ps1* +=================================== This PowerShell script changes the working directory to the user's Dropbox folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-dropbox.ps1 [] +PS> ./cd-dropbox.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index 88603f10c..3f694a77d 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -1,12 +1,12 @@ -The *cd-etc.ps1* Script -=========================== +PowerShell Script: *cd-etc.ps1* +=================================== This PowerShell script changes the current working directory to the /etc directory. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-etc.ps1 [] +PS> ./cd-etc.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index 7669bf50a..f5bf7ac6c 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -1,12 +1,12 @@ -The *cd-fonts.ps1* Script -=========================== +PowerShell Script: *cd-fonts.ps1* +=================================== This PowerShell script sets the current working directory to the fonts folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-fonts.ps1 [] +PS> ./cd-fonts.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-home.md b/docs/cd-home.md index a9e20c73c..0b9e76b35 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -1,12 +1,12 @@ -The *cd-home.ps1* Script -=========================== +PowerShell Script: *cd-home.ps1* +=================================== This PowerShell script changes the working directory to the user's home directory. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-home.ps1 [] +PS> ./cd-home.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index 800574eca..fb2e675e2 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -1,12 +1,12 @@ -The *cd-jenkins.ps1* Script -=========================== +PowerShell Script: *cd-jenkins.ps1* +=================================== This PowerShell script changes the working directory to the Jenkins home directory. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-jenkins.ps1 [] +PS> ./cd-jenkins.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index e54de58a0..c631fa8a3 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -1,12 +1,12 @@ -The *cd-logs.ps1* Script -=========================== +PowerShell Script: *cd-logs.ps1* +=================================== This PowerShell script changes the current working directory to the logs directory. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-logs.ps1 [] +PS> ./cd-logs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-music.md b/docs/cd-music.md index 5481d7863..196305ef9 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -1,12 +1,12 @@ -The *cd-music.ps1* Script -=========================== +PowerShell Script: *cd-music.ps1* +=================================== This PowerShell script changes the working directory to the user's music folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-music.ps1 [] +PS> ./cd-music.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index a6a99c0a0..f47d76634 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -1,12 +1,12 @@ -The *cd-nextcloud.ps1* Script -=========================== +PowerShell Script: *cd-nextcloud.ps1* +=================================== This PowerShell script changes the working directory to the user's NextCloud folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-nextcloud.ps1 [] +PS> ./cd-nextcloud.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index 70d6cd24e..fb58cd4c1 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -1,12 +1,12 @@ -The *cd-onedrive.ps1* Script -=========================== +PowerShell Script: *cd-onedrive.ps1* +=================================== This PowerShell script sets the current working directory to the user's OneDrive folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-onedrive.ps1 [] +PS> ./cd-onedrive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index f474b6028..2b7eb6265 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -1,12 +1,12 @@ -The *cd-pics.ps1* Script -=========================== +PowerShell Script: *cd-pics.ps1* +=================================== This PowerShell script changes the current working directory to the user's pictures folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-pics.ps1 [] +PS> ./cd-pics.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-public.md b/docs/cd-public.md index 38d5b05e0..f31a132f9 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -1,12 +1,12 @@ -The *cd-public.ps1* Script -=========================== +PowerShell Script: *cd-public.ps1* +=================================== This PowerShell script changes the current working directory to the Public folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-public.ps1 [] +PS> ./cd-public.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index 9721ba1c1..76b054019 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -1,12 +1,12 @@ -The *cd-recent.ps1* Script -=========================== +PowerShell Script: *cd-recent.ps1* +=================================== This PowerShell script changes the current working directory to the 'recent' folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-recent.ps1 [] +PS> ./cd-recent.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index c09476707..5c44e5f2b 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -1,12 +1,12 @@ -The *cd-recycle-bin.ps1* Script -=========================== +PowerShell Script: *cd-recycle-bin.ps1* +=================================== This PowerShell script changes the current working directory to the user's recycle bin folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-recycle-bin.ps1 [] +PS> ./cd-recycle-bin.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index 3c4f3d4b2..8151dda7d 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -1,12 +1,12 @@ -The *cd-repo.ps1* Script -=========================== +PowerShell Script: *cd-repo.ps1* +=================================== This PowerShell script changes the current working directory to the given local Git repository. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-repo.ps1 [[-folderName] ] [] +PS> ./cd-repo.ps1 [[-folderName] ] [] -folderName Specifies the folder name of the Git repository @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index 347e4c1ed..7f2d84b26 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -1,12 +1,12 @@ -The *cd-repos.ps1* Script -=========================== +PowerShell Script: *cd-repos.ps1* +=================================== This PowerShell script changes the current working directory to the folder for Git repositories. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-repos.ps1 [] +PS> ./cd-repos.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-root.md b/docs/cd-root.md index 8723f3a19..333b30f1c 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -1,12 +1,12 @@ -The *cd-root.ps1* Script -=========================== +PowerShell Script: *cd-root.ps1* +=================================== This PowerShell script changes the current working directory to the root directory (C:\ on Windows). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-root.ps1 [] +PS> ./cd-root.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index 4f91878f9..fcab56271 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -1,12 +1,12 @@ -The *cd-screenshots.ps1* Script -=========================== +PowerShell Script: *cd-screenshots.ps1* +=================================== This PowerShell script sets the current working directory to the user's screenshots folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-screenshots.ps1 [] +PS> ./cd-screenshots.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index 1ef4d6a4c..3ee0f68b3 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -1,12 +1,12 @@ -The *cd-scripts.ps1* Script -=========================== +PowerShell Script: *cd-scripts.ps1* +=================================== This PowerShell script changes the currrent working directory to the PowerShell scripts folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-scripts.ps1 [] +PS> ./cd-scripts.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index 037ab85e4..5064ef450 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -1,12 +1,12 @@ -The *cd-ssh.ps1* Script -=========================== +PowerShell Script: *cd-ssh.ps1* +=================================== This PowerShell script changes the current working directory to the user's secure shell (SSH) folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-ssh.ps1 [] +PS> ./cd-ssh.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-sync.md b/docs/cd-sync.md index 634e6cdb0..0e948fb3c 100644 --- a/docs/cd-sync.md +++ b/docs/cd-sync.md @@ -1,12 +1,12 @@ -The *cd-sync.ps1* Script -=========================== +PowerShell Script: *cd-sync.ps1* +=================================== This PowerShell script changes the current working directory to the user's Syncthing folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-sync.ps1 [] +PS> ./cd-sync.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index c4a80e596..770b8ed77 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -1,12 +1,12 @@ -The *cd-temp.ps1* Script -=========================== +PowerShell Script: *cd-temp.ps1* +=================================== This PowerShell script changes the current working directory to the temporary folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-temp.ps1 [] +PS> ./cd-temp.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index dfdd92e39..0511d1922 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -1,12 +1,12 @@ -The *cd-templates.ps1* Script -=========================== +PowerShell Script: *cd-templates.ps1* +=================================== This PowerShell script sets the current working directory to the templates folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-templates.ps1 [] +PS> ./cd-templates.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index 03a3ff949..b2fcf313a 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -1,12 +1,12 @@ -The *cd-trash.ps1* Script -=========================== +PowerShell Script: *cd-trash.ps1* +=================================== This PowerShell script changes the current working directory to the user's trash folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-trash.ps1 [] +PS> ./cd-trash.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-up.md b/docs/cd-up.md index 8af73e412..54168f545 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -1,12 +1,12 @@ -The *cd-up.ps1* Script -=========================== +PowerShell Script: *cd-up.ps1* +=================================== This PowerShell script changes the current working directory to one directory level up. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-up.ps1 [] +PS> ./cd-up.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index 97dc31604..6bca04d1b 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -1,12 +1,12 @@ -The *cd-up2.ps1* Script -=========================== +PowerShell Script: *cd-up2.ps1* +=================================== This PowerShell script changes the current working directory to two directory level up. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-up2.ps1 [] +PS> ./cd-up2.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index 7acc61350..c2e8fb395 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -1,12 +1,12 @@ -The *cd-up3.ps1* Script -=========================== +PowerShell Script: *cd-up3.ps1* +=================================== This PowerShell script changes the current working directory to three directory levels up. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-up3.ps1 [] +PS> ./cd-up3.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index 8702430fe..8465978e4 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -1,12 +1,12 @@ -The *cd-up4.ps1* Script -=========================== +PowerShell Script: *cd-up4.ps1* +=================================== This PowerShell script changes the current working directory to four directory levels up. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-up4.ps1 [] +PS> ./cd-up4.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-users.md b/docs/cd-users.md index 5fb58e609..463cd8e88 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -1,12 +1,12 @@ -The *cd-users.ps1* Script -=========================== +PowerShell Script: *cd-users.ps1* +=================================== This PowerShell script sets the current working directory to the users directory. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-users.ps1 [] +PS> ./cd-users.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index fc0fa3e21..62d257e80 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -1,12 +1,12 @@ -The *cd-videos.ps1* Script -=========================== +PowerShell Script: *cd-videos.ps1* +=================================== This PowerShell script changes the working directory to the user's videos folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-videos.ps1 [] +PS> ./cd-videos.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index 3d5b5d2c0..b95f45fc1 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -1,12 +1,12 @@ -The *cd-windows.ps1* Script -=========================== +PowerShell Script: *cd-windows.ps1* +=================================== This PowerShell script sets the current working directory to the Windows directory. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/cd-windows.ps1 [] +PS> ./cd-windows.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index 724118d55..9e763dcf8 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -1,12 +1,12 @@ -The *change-wallpaper.ps1* Script -=========================== +PowerShell Script: *change-wallpaper.ps1* +=================================== This PowerShell script downloads a random photo from Unsplash and sets it as desktop background. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/change-wallpaper.ps1 [[-Category] ] [] +PS> ./change-wallpaper.ps1 [[-Category] ] [] -Category Specifies the photo category (beach, city, ...) @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-admin.md b/docs/check-admin.md index 13bc8a4f6..4a942ee25 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -1,12 +1,12 @@ -The *check-admin.ps1* Script -=========================== +PowerShell Script: *check-admin.ps1* +=================================== This PowerShell script checks if the user has administrator rights. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-admin.ps1 [] +PS> ./check-admin.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-apps.md b/docs/check-apps.md index cbfe784bd..f2f6ac909 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -1,5 +1,5 @@ -The *check-apps.ps1* Script -=========================== +PowerShell Script: *check-apps.ps1* +=================================== check-apps.ps1 @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-bios.md b/docs/check-bios.md index f83a56408..e68072dfe 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -1,12 +1,12 @@ -The *check-bios.ps1* Script -=========================== +PowerShell Script: *check-bios.ps1* +=================================== This PowerShell script queries the BIOS status and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-bios.ps1 [] +PS> ./check-bios.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index 4b2b05828..c863fb19a 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -1,5 +1,5 @@ -The *check-cpu.ps1* Script -=========================== +PowerShell Script: *check-cpu.ps1* +=================================== check-cpu.ps1 @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index 839ad9c2e..8b13a353d 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -1,12 +1,12 @@ -The *check-credentials.ps1* Script -=========================== +PowerShell Script: *check-credentials.ps1* +=================================== This PowerShell script asks for credentials and checks them against saved ones ("$HOME\my.credentials" by default). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-credentials.ps1 [[-TargetFile] ] [] +PS> ./check-credentials.ps1 [[-TargetFile] ] [] -TargetFile Specifies the target file ("$HOME\my.credentials" by default) @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-day.md b/docs/check-day.md index 5ba0c489b..51066c3fc 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -1,12 +1,12 @@ -The *check-day.ps1* Script -=========================== +PowerShell Script: *check-day.ps1* +=================================== This PowerShell script determines and speaks the current day by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-day.ps1 [] +PS> ./check-day.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-dns.md b/docs/check-dns.md index ce95634c2..a047692a0 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -1,12 +1,12 @@ -The *check-dns.ps1* Script -=========================== +PowerShell Script: *check-dns.ps1* +=================================== This PowerShell script measures the DNS resolution speed using 100 internet domains and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-dns.ps1 [] +PS> ./check-dns.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index b7d512163..b0f95c69a 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -1,12 +1,12 @@ -The *check-drive-space.ps1* Script -=========================== +PowerShell Script: *check-drive-space.ps1* +=================================== This PowerShell script checks the given drive for free space left (10 GB by default). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-drive-space.ps1 [[-driveName] ] [[-minLevel] ] [] +PS> ./check-drive-space.ps1 [[-driveName] ] [[-minLevel] ] [] -driveName Specifies the drive name to check (e.g. "C") @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-drives.md b/docs/check-drives.md index 5e51501f7..7b46ebb76 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -1,12 +1,12 @@ -The *check-drives.ps1* Script -=========================== +PowerShell Script: *check-drives.ps1* +=================================== This PowerShell script queries the free space of all drives and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-drives.ps1 [[-minLevel] ] [] +PS> ./check-drives.ps1 [[-minLevel] ] [] -minLevel Specifies the minimum warning level (5GB by default) @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index 2be4a8dae..92bd3ac5a 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -1,5 +1,5 @@ -The *check-dusk.ps1* Script -=========================== +PowerShell Script: *check-dusk.ps1* +=================================== check-dusk.ps1 @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index a7b540965..ff770b4a4 100644 --- a/docs/check-easter-sunday.md +++ b/docs/check-easter-sunday.md @@ -1,12 +1,12 @@ -The *check-easter-sunday.ps1* Script -=========================== +PowerShell Script: *check-easter-sunday.ps1* +=================================== This PowerShell script checks the time until Easter Sunday and replies by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-easter-sunday.ps1 [] +PS> ./check-easter-sunday.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index 9850031c0..df7242003 100644 --- a/docs/check-file-system.md +++ b/docs/check-file-system.md @@ -1,12 +1,12 @@ -The *check-file-system.ps1* Script -=========================== +PowerShell Script: *check-file-system.ps1* +=================================== This PowerShell script checks the file system of a drive. It needs admin rights. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-file-system.ps1 [[-Drive] ] [] +PS> ./check-file-system.ps1 [[-Drive] ] [] -Drive Specifies the drive to check @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-file.md b/docs/check-file.md index ec4a4b0b6..a9e38e007 100644 --- a/docs/check-file.md +++ b/docs/check-file.md @@ -1,12 +1,12 @@ -The *check-file.ps1* Script -=========================== +PowerShell Script: *check-file.ps1* +=================================== This PowerShell script determines and prints the file type of the given file. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-file.ps1 [[-Path] ] [] +PS> ./check-file.ps1 [[-Path] ] [] -Path Specifies the path to the file @@ -171,4 +171,4 @@ function Check-Header { param( $path ) Check-Header $Path ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index 2aef2c642..16bb66ce0 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -1,12 +1,12 @@ -The *check-firewall.ps1* Script -=========================== +PowerShell Script: *check-firewall.ps1* +=================================== This PowerShell script queries the status of the firewall and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-firewall.ps1 [] +PS> ./check-firewall.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index a5b277c82..50da0e0d4 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -1,5 +1,5 @@ -The *check-gpu.ps1* Script -=========================== +PowerShell Script: *check-gpu.ps1* +=================================== check-gpu.ps1 @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index eabb6fd0d..22fbd0019 100644 --- a/docs/check-hardware.md +++ b/docs/check-hardware.md @@ -1,12 +1,12 @@ -The *check-hardware.ps1* Script -=========================== +PowerShell Script: *check-hardware.ps1* +=================================== This PowerShell script queries the hardware details of the local computer and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-hardware.ps1 [] +PS> ./check-hardware.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -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 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-health.md b/docs/check-health.md index 23bb08def..0882eed0e 100644 --- a/docs/check-health.md +++ b/docs/check-health.md @@ -1,12 +1,12 @@ -The *check-health.ps1* Script -=========================== +PowerShell Script: *check-health.ps1* +=================================== This PowerShell script queries the system health of the local computer (hardware, software, and network) and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-health.ps1 [] +PS> ./check-health.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index 87f6544e7..044f97837 100644 --- a/docs/check-independence-day.md +++ b/docs/check-independence-day.md @@ -1,12 +1,12 @@ -The *check-independence-day.ps1* Script -=========================== +PowerShell Script: *check-independence-day.ps1* +=================================== This PowerShell script checks the time until Indepence Day and replies by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-independence-day.ps1 [] +PS> ./check-independence-day.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index 822526da9..e80e29cb7 100644 --- a/docs/check-ipv4-address.md +++ b/docs/check-ipv4-address.md @@ -1,12 +1,12 @@ -The *check-ipv4-address.ps1* Script -=========================== +PowerShell Script: *check-ipv4-address.ps1* +=================================== This PowerShell script checks the given IPv4 address for validity. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-ipv4-address.ps1 [[-Address] ] [] +PS> ./check-ipv4-address.ps1 [[-Address] ] [] -Address Specifies the IPv4 address to check @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index aae9c3888..09d3acb60 100644 --- a/docs/check-ipv6-address.md +++ b/docs/check-ipv6-address.md @@ -1,12 +1,12 @@ -The *check-ipv6-address.ps1* Script -=========================== +PowerShell Script: *check-ipv6-address.ps1* +=================================== This PowerShell script checks the given IPv6 address for validity Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-ipv6-address.ps1 [[-Address] ] [] +PS> ./check-ipv6-address.ps1 [[-Address] ] [] -Address Specifies the IPv6 address to check @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index 71565a2af..1401e0f37 100644 --- a/docs/check-iss-position.md +++ b/docs/check-iss-position.md @@ -1,12 +1,12 @@ -The *check-iss-position.ps1* Script -=========================== +PowerShell Script: *check-iss-position.ps1* +=================================== This PowerShell script queries the position of the International Space Station (ISS) and replies by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-iss-position.ps1 [] +PS> ./check-iss-position.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index 1373840eb..b089c49ed 100644 --- a/docs/check-mac-address.md +++ b/docs/check-mac-address.md @@ -1,5 +1,5 @@ -The *check-mac-address.ps1* Script -=========================== +PowerShell Script: *check-mac-address.ps1* +=================================== This PowerShell script checks the given MAC address for validity Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000. @@ -7,7 +7,7 @@ Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000 Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-mac-address.ps1 [[-MAC] ] [] +PS> ./check-mac-address.ps1 [[-MAC] ] [] -MAC Specifies the MAC address to check @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index e0b438483..ca1bced12 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -1,5 +1,5 @@ -The *check-midnight.ps1* Script -=========================== +PowerShell Script: *check-midnight.ps1* +=================================== check-midnight.ps1 @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-month.md b/docs/check-month.md index 200688eb6..bcf174ed2 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -1,12 +1,12 @@ -The *check-month.ps1* Script -=========================== +PowerShell Script: *check-month.ps1* +=================================== This PowerShell script determines and speaks the current month name by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-month.ps1 [] +PS> ./check-month.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index bb09ce071..c6da363d1 100644 --- a/docs/check-moon-phase.md +++ b/docs/check-moon-phase.md @@ -1,12 +1,12 @@ -The *check-moon-phase.ps1* Script -=========================== +PowerShell Script: *check-moon-phase.ps1* +=================================== This PowerShell script determines the Moon phase and answers by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-moon-phase.ps1 [] +PS> ./check-moon-phase.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index f68c2183b..f32393386 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -1,12 +1,12 @@ -The *check-motherboard.ps1* Script -=========================== +PowerShell Script: *check-motherboard.ps1* +=================================== This PowerShell script lists the motherboard details. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-motherboard.ps1 [] +PS> ./check-motherboard.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-network.md b/docs/check-network.md index ce19de665..02ecfd0ad 100644 --- a/docs/check-network.md +++ b/docs/check-network.md @@ -1,12 +1,12 @@ -The *check-network.ps1* Script -=========================== +PowerShell Script: *check-network.ps1* +=================================== This PowerShell script queries the network details of the local computer and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-network.ps1 [] +PS> ./check-network.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -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 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-noon.md b/docs/check-noon.md index 82273d7c9..477b7ac22 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -1,5 +1,5 @@ -The *check-noon.ps1* Script -=========================== +PowerShell Script: *check-noon.ps1* +=================================== check-noon.ps1 @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-os.md b/docs/check-os.md index 9c904cd9c..8e9ed3365 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -1,12 +1,12 @@ -The *check-os.ps1* Script -=========================== +PowerShell Script: *check-os.ps1* +=================================== This PowerShell script queries the operating system status and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-os.ps1 [] +PS> ./check-os.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index bd0cbcd68..967af3582 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -1,12 +1,12 @@ -The *check-outlook.ps1* Script -=========================== +PowerShell Script: *check-outlook.ps1* +=================================== This PowerShell script checks the inbox of Outlook for new/unread mails. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-outlook.ps1 [] +PS> ./check-outlook.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-password.md b/docs/check-password.md index 8669ed9d5..4a73caf7a 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -1,12 +1,12 @@ -The *check-password.ps1* Script -=========================== +PowerShell Script: *check-password.ps1* +=================================== This PowerShell script checks the security status of the given password by haveibeenpwned.com Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-password.ps1 [[-password] ] [] +PS> ./check-password.ps1 [[-password] ] [] -password @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index d05d3556f..0025de854 100644 --- a/docs/check-pending-reboot.md +++ b/docs/check-pending-reboot.md @@ -1,5 +1,5 @@ -The *check-pending-reboot.ps1* Script -=========================== +PowerShell Script: *check-pending-reboot.ps1* +=================================== check-pending-reboot.ps1 @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index 81e2e3893..32fc0d784 100644 --- a/docs/check-pnp-devices.md +++ b/docs/check-pnp-devices.md @@ -1,12 +1,12 @@ -The *check-pnp-devices.ps1* Script -=========================== +PowerShell Script: *check-pnp-devices.ps1* +=================================== This PowerShell script checks all Plug'n'PLay devices connected to the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-pnp-devices.ps1 [] +PS> ./check-pnp-devices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-power.md b/docs/check-power.md index ec329bd97..bd92f8554 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -1,12 +1,12 @@ -The *check-power.ps1* Script -=========================== +PowerShell Script: *check-power.ps1* +=================================== This PowerShell script queries the power status and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-power.ps1 [] +PS> ./check-power.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index e2ebc2ebf..ae2238c1d 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -1,5 +1,5 @@ -The *check-powershell.ps1* Script -=========================== +PowerShell Script: *check-powershell.ps1* +=================================== check-powershell.ps1 @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 338e368e8..2217e1389 100644 --- a/docs/check-ps1-file.md +++ b/docs/check-ps1-file.md @@ -1,12 +1,12 @@ -The *check-ps1-file.ps1* Script -=========================== +PowerShell Script: *check-ps1-file.ps1* +=================================== This PowerShell script checks the given PowerShell script file(s) for validity. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-ps1-file.ps1 [[-filePattern] ] [] +PS> ./check-ps1-file.ps1 [[-filePattern] ] [] -filePattern Specifies the file pattern to the PowerShell file(s) @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:20)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-ram.md b/docs/check-ram.md index a3a8a8a7d..b2eae1071 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -1,5 +1,5 @@ -The *check-ram.ps1* Script -=========================== +PowerShell Script: *check-ram.ps1* +=================================== check-ram.ps1 @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-repo.md b/docs/check-repo.md index c2869c026..7d8cb33ea 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -1,12 +1,12 @@ -The *check-repo.ps1* Script -=========================== +PowerShell Script: *check-repo.ps1* +=================================== This PowerShell script verifies the integrity of a local Git repository and performs maintenance tasks. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-repo.ps1 [[-path] ] [] +PS> ./check-repo.ps1 [[-path] ] [] -path Specifies the file path to the local Git repository (current working directory by default) @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-repos.md b/docs/check-repos.md index 82b434932..f041904da 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -1,12 +1,12 @@ -The *check-repos.ps1* Script -=========================== +PowerShell Script: *check-repos.ps1* +=================================== This PowerShell script verifies the data integrity of all Git repositories in a folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-repos.ps1 [[-parentDir] ] [] +PS> ./check-repos.ps1 [[-parentDir] ] [] -parentDir Specifies the file path to the parent folder @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-santa.md b/docs/check-santa.md index bff3aba44..bc7348a50 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -1,12 +1,12 @@ -The *check-santa.ps1* Script -=========================== +PowerShell Script: *check-santa.ps1* +=================================== This PowerShell script checks the time until Saint Nicholas Day and replies by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-santa.ps1 [] +PS> ./check-santa.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index 7ad589162..373ab0d6c 100644 --- a/docs/check-smart-devices.md +++ b/docs/check-smart-devices.md @@ -1,5 +1,5 @@ -The *check-smart-devices.ps1* Script -=========================== +PowerShell Script: *check-smart-devices.ps1* +=================================== check-smart-devices.ps1 @@ -120,4 +120,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-software.md b/docs/check-software.md index f6e7faf21..b4f5e465f 100644 --- a/docs/check-software.md +++ b/docs/check-software.md @@ -1,12 +1,12 @@ -The *check-software.ps1* Script -=========================== +PowerShell Script: *check-software.ps1* +=================================== This PowerShell script queries the software status of the local computer and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-software.ps1 [] +PS> ./check-software.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -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 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index 0032924ab..9a601e1b7 100644 --- a/docs/check-subnet-mask.md +++ b/docs/check-subnet-mask.md @@ -1,12 +1,12 @@ -The *check-subnet-mask.ps1* Script -=========================== +PowerShell Script: *check-subnet-mask.ps1* +=================================== This PowerShell script checks the given subnet mask for validity. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-subnet-mask.ps1 [[-address] ] [] +PS> ./check-subnet-mask.ps1 [[-address] ] [] -address Specifies the subnet mask to check @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index 30459909b..206612cb9 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -1,12 +1,12 @@ -The *check-swap-space.ps1* Script -=========================== +PowerShell Script: *check-swap-space.ps1* +=================================== This PowerShell script queries the current status of the swap space and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-swap-space.ps1 [[-minLevel] ] [] +PS> ./check-swap-space.ps1 [[-minLevel] ] [] -minLevel Specifies the minimum level in MB (10 MB by default) @@ -108,4 +108,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index 52e2f65ce..84a4ef7c7 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -1,12 +1,12 @@ -The *check-symlinks.ps1* Script -=========================== +PowerShell Script: *check-symlinks.ps1* +=================================== This PowerShell script checks all symbolic links in a directory tree. It returns the number of broken symlinks as exit value. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-symlinks.ps1 [[-path] ] [] +PS> ./check-symlinks.ps1 [[-path] ] [] -path Specifies the file path to the directory tree @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index f153aad3a..e3af285f6 100644 --- a/docs/check-time-zone.md +++ b/docs/check-time-zone.md @@ -1,12 +1,12 @@ -The *check-time-zone.ps1* Script -=========================== +PowerShell Script: *check-time-zone.ps1* +=================================== This PowerShell script queries the local time zone and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-time-zone.ps1 [] +PS> ./check-time-zone.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index 92e341cf7..2cfd6e3f5 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -1,5 +1,5 @@ -The *check-uptime.ps1* Script -=========================== +PowerShell Script: *check-uptime.ps1* +=================================== check-uptime.ps1 @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index e59f767fd..493e2b488 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -1,12 +1,12 @@ -The *check-vpn.ps1* Script -=========================== +PowerShell Script: *check-vpn.ps1* +=================================== This PowerShell script queries the status of the VPN connection(s) and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-vpn.ps1 [] +PS> ./check-vpn.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-weather.md b/docs/check-weather.md index 97db6349b..f1e4f6f98 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -1,12 +1,12 @@ -The *check-weather.ps1* Script -=========================== +PowerShell Script: *check-weather.ps1* +=================================== This PowerShell script checks the current weather report. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-weather.ps1 [[-location] ] [] +PS> ./check-weather.ps1 [[-location] ] [] -location Specifies the location to use (determined automatically per default) @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-week.md b/docs/check-week.md index c37c73f9b..88fec58da 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -1,12 +1,12 @@ -The *check-week.ps1* Script -=========================== +PowerShell Script: *check-week.ps1* +=================================== This PowerShell script determines and speaks the current week number by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-week.ps1 [] +PS> ./check-week.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-wind.md b/docs/check-wind.md index 139b3e83f..2c7b3363b 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -1,12 +1,12 @@ -The *check-wind.ps1* Script -=========================== +PowerShell Script: *check-wind.ps1* +=================================== This PowerShell script determines the current wind conditions and replies by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-wind.ps1 [[-location] ] [] +PS> ./check-wind.ps1 [[-location] ] [] -location Specifies the location to use (determined automatically per default) @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index 5f9b30503..4efa20689 100644 --- a/docs/check-windows-system-files.md +++ b/docs/check-windows-system-files.md @@ -1,12 +1,12 @@ -The *check-windows-system-files.ps1* Script -=========================== +PowerShell Script: *check-windows-system-files.ps1* +=================================== This PowerShell script checks the validity of the Windows system files. It requires admin rights. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-windows-system-files.ps1 [] +PS> ./check-windows-system-files.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index e5961f1bb..8f716fe06 100644 --- a/docs/check-xml-file.md +++ b/docs/check-xml-file.md @@ -1,12 +1,12 @@ -The *check-xml-file.ps1* Script -=========================== +PowerShell Script: *check-xml-file.ps1* +=================================== This PowerShell script checks the given XML file for validity. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-xml-file.ps1 [[-path] ] [] +PS> ./check-xml-file.ps1 [[-path] ] [] -path Specifies the path to the XML file @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index 8da42506e..78bb29611 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -1,12 +1,12 @@ -The *check-xml-files.ps1* Script -=========================== +PowerShell Script: *check-xml-files.ps1* +=================================== This PowerShell script verifies any XML file (with suffix .xml) in the given directory tree for validity. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/check-xml-files.ps1 [[-path] ] [] +PS> ./check-xml-files.ps1 [[-path] ] [] -path Specifies the file path to the directory tree (current working dir by default) @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index 596a05c65..03de0df6b 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -1,5 +1,5 @@ -The *clean-repo.ps1* Script -=========================== +PowerShell Script: *clean-repo.ps1* +=================================== This PowerShell script deletes all untracked files and folders in a local Git repository (including submodules). NOTE: To be used with care! This cannot be undone! @@ -7,7 +7,7 @@ NOTE: To be used with care! This cannot be undone! Parameters ---------- ```powershell -/Repos/PowerShell/scripts/clean-repo.ps1 [[-path] ] [] +PS> ./clean-repo.ps1 [[-path] ] [] -path Specifies the file path to the local Git repository (current working directory by default) @@ -97,9 +97,9 @@ try { "✅ Repo '$repoName' cleaned in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index bc3074f92..5a9085382 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -1,12 +1,12 @@ -The *clean-repos.ps1* Script -=========================== +PowerShell Script: *clean-repos.ps1* +=================================== This PowerShell script cleans all Git repositories in a folder from untracked files (including submodules). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/clean-repos.ps1 [[-parentDir] ] [] +PS> ./clean-repos.ps1 [[-parentDir] ] [] -parentDir Specifies the path to the parent folder (current working dir by default) @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index 6536c42aa..c1be65ed1 100644 --- a/docs/clear-dns-cache.md +++ b/docs/clear-dns-cache.md @@ -1,12 +1,12 @@ -The *clear-dns-cache.ps1* Script -=========================== +PowerShell Script: *clear-dns-cache.ps1* +=================================== This PowerShell script empties the DNS client cache of the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/clear-dns-cache.ps1 [] +PS> ./clear-dns-cache.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index e05584279..3f3573514 100644 --- a/docs/clear-recycle-bin.md +++ b/docs/clear-recycle-bin.md @@ -1,5 +1,5 @@ -The *clear-recycle-bin.ps1* Script -=========================== +PowerShell Script: *clear-recycle-bin.ps1* +=================================== This PowerShell script removes the content of the recycle bin folder permanently. IMPORTANT NOTE: this cannot be undo! @@ -7,7 +7,7 @@ IMPORTANT NOTE: this cannot be undo! Parameters ---------- ```powershell -/Repos/PowerShell/scripts/clear-recycle-bin.ps1 [] +PS> ./clear-recycle-bin.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index 02c384df5..7f62cedec 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -1,12 +1,12 @@ -The *clone-repos.ps1* Script -=========================== +PowerShell Script: *clone-repos.ps1* +=================================== This PowerShell script clones popular Git repositories into a common target directory. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/clone-repos.ps1 [[-targetDir] ] [] +PS> ./clone-repos.ps1 [[-targetDir] ] [] -targetDir Specifies the file path to the target directory (current working directory by default) @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index 37679cd5b..9002c1cf3 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -1,12 +1,12 @@ -The *clone-shallow.ps1* Script -=========================== +PowerShell Script: *clone-shallow.ps1* +=================================== This PowerShell script clones popular Git repositories into a common target directory. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/clone-shallow.ps1 [[-targetDir] ] [] +PS> ./clone-shallow.ps1 [[-targetDir] ] [] -targetDir Specifies the file path to the target directory (current working directory by default) @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index 788b1c34a..276cc1372 100644 --- a/docs/close-calculator.md +++ b/docs/close-calculator.md @@ -1,12 +1,12 @@ -The *close-calculator.ps1* Script -=========================== +PowerShell Script: *close-calculator.ps1* +=================================== This PowerShell script closes the calculator application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-calculator.ps1 [] +PS> ./close-calculator.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Stop-Process -name "CalculatorApp" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index f2b27d422..e90f6512c 100644 --- a/docs/close-chrome.md +++ b/docs/close-chrome.md @@ -1,12 +1,12 @@ -The *close-chrome.ps1* Script -=========================== +PowerShell Script: *close-chrome.ps1* +=================================== This PowerShell script closes the Google Chrome Web browser gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-chrome.ps1 [] +PS> ./close-chrome.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index 8ef8e16c3..d0191cc9a 100644 --- a/docs/close-cortana.md +++ b/docs/close-cortana.md @@ -1,12 +1,12 @@ -The *close-cortana.ps1* Script -=========================== +PowerShell Script: *close-cortana.ps1* +=================================== This PowerShell script closes Microsoft's Cortana application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-cortana.ps1 [] +PS> ./close-cortana.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-edge.md b/docs/close-edge.md index 1f14b9c7c..daf4c6d20 100644 --- a/docs/close-edge.md +++ b/docs/close-edge.md @@ -1,12 +1,12 @@ -The *close-edge.ps1* Script -=========================== +PowerShell Script: *close-edge.ps1* +=================================== This PowerShell script closes the Microsoft Edge Web browser gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-edge.ps1 [] +PS> ./close-edge.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index ec768dbaf..671502093 100644 --- a/docs/close-file-explorer.md +++ b/docs/close-file-explorer.md @@ -1,12 +1,12 @@ -The *close-file-explorer.ps1* Script -=========================== +PowerShell Script: *close-file-explorer.ps1* +=================================== This PowerShell script closes the Microsoft File Explorer application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-file-explorer.ps1 [] +PS> ./close-file-explorer.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index b2e85e02d..369d30c45 100644 --- a/docs/close-firefox.md +++ b/docs/close-firefox.md @@ -1,12 +1,12 @@ -The *close-firefox.ps1* Script -=========================== +PowerShell Script: *close-firefox.ps1* +=================================== This PowerShell script closes the Mozilla Firefox Web browser gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-firefox.ps1 [] +PS> ./close-firefox.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index 084c332d3..407b3d993 100644 --- a/docs/close-git-extensions.md +++ b/docs/close-git-extensions.md @@ -1,12 +1,12 @@ -The *close-git-extensions.ps1* Script -=========================== +PowerShell Script: *close-git-extensions.ps1* +=================================== This PowerShell script closes the Git Extensions application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-git-extensions.ps1 [] +PS> ./close-git-extensions.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index 3e69dfca6..9d13f77f0 100644 --- a/docs/close-magnifier.md +++ b/docs/close-magnifier.md @@ -1,12 +1,12 @@ -The *close-magnifier.ps1* Script -=========================== +PowerShell Script: *close-magnifier.ps1* +=================================== This PowerShell script closes the Windows Screen Magnifier application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-magnifier.ps1 [] +PS> ./close-magnifier.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ tskill magnify exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index a0c071320..15be64745 100644 --- a/docs/close-microsoft-paint.md +++ b/docs/close-microsoft-paint.md @@ -1,12 +1,12 @@ -The *close-microsoft-paint.ps1* Script -=========================== +PowerShell Script: *close-microsoft-paint.ps1* +=================================== This PowerShell script closes the Microsoft Paint application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-microsoft-paint.ps1 [] +PS> ./close-microsoft-paint.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index ca6892f00..37b0ccd2f 100644 --- a/docs/close-microsoft-store.md +++ b/docs/close-microsoft-store.md @@ -1,12 +1,12 @@ -The *close-microsoft-store.ps1* Script -=========================== +PowerShell Script: *close-microsoft-store.ps1* +=================================== This PowerShell script closes the Microsoft Store application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-microsoft-store.ps1 [] +PS> ./close-microsoft-store.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index c8d02411f..751bf74bc 100644 --- a/docs/close-netflix.md +++ b/docs/close-netflix.md @@ -1,12 +1,12 @@ -The *close-netflix.ps1* Script -=========================== +PowerShell Script: *close-netflix.ps1* +=================================== This PowerShell script closes the Netflix application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-netflix.ps1 [] +PS> ./close-netflix.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index 51e4d1ecc..680f1e464 100644 --- a/docs/close-notepad.md +++ b/docs/close-notepad.md @@ -1,12 +1,12 @@ -The *close-notepad.ps1* Script -=========================== +PowerShell Script: *close-notepad.ps1* +=================================== This PowerShell script closes the Notepad application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-notepad.ps1 [] +PS> ./close-notepad.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index 629c69f7c..821be1867 100644 --- a/docs/close-obs-studio.md +++ b/docs/close-obs-studio.md @@ -1,12 +1,12 @@ -The *close-obs-studio.ps1* Script -=========================== +PowerShell Script: *close-obs-studio.ps1* +=================================== This PowerShell script closes the OBS Studio application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-obs-studio.ps1 [] +PS> ./close-obs-studio.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index c5dba6257..ed05c1e65 100644 --- a/docs/close-one-calendar.md +++ b/docs/close-one-calendar.md @@ -1,12 +1,12 @@ -The *close-one-calendar.ps1* Script -=========================== +PowerShell Script: *close-one-calendar.ps1* +=================================== This PowerShell script closes the OneCalendar application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-one-calendar.ps1 [] +PS> ./close-one-calendar.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index bd3e69f48..ab188501e 100644 --- a/docs/close-outlook.md +++ b/docs/close-outlook.md @@ -1,12 +1,12 @@ -The *close-outlook.ps1* Script -=========================== +PowerShell Script: *close-outlook.ps1* +=================================== This PowerShell script closes the Microsoft Outlook email application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-outlook.ps1 [] +PS> ./close-outlook.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index 004846276..038f298ad 100644 --- a/docs/close-paint-three-d.md +++ b/docs/close-paint-three-d.md @@ -1,12 +1,12 @@ -The *close-paint-three-d.ps1* Script -=========================== +PowerShell Script: *close-paint-three-d.ps1* +=================================== This PowerShell script closes the Paint 3D application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-paint-three-d.ps1 [] +PS> ./close-paint-three-d.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-program.md b/docs/close-program.md index 5ea983335..9f7a31128 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -1,12 +1,12 @@ -The *close-program.ps1* Script -=========================== +PowerShell Script: *close-program.ps1* +=================================== This PowerShell script closes a program's processes gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-program.ps1 [[-fullProgramName] ] [[-programName] ] [[-programAliasName] ] [] +PS> ./close-program.ps1 [[-fullProgramName] ] [[-programName] ] [[-programAliasName] ] [] -fullProgramName Specifies the full program name @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index d12f6225c..3f3335dfc 100644 --- a/docs/close-serenade.md +++ b/docs/close-serenade.md @@ -1,12 +1,12 @@ -The *close-serenade.ps1* Script -=========================== +PowerShell Script: *close-serenade.ps1* +=================================== This PowerShell script closes the Serenade.ai application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-serenade.ps1 [] +PS> ./close-serenade.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index 2e6fcc451..478bc9acc 100644 --- a/docs/close-snipping-tool.md +++ b/docs/close-snipping-tool.md @@ -1,12 +1,12 @@ -The *close-snipping-tool.ps1* Script -=========================== +PowerShell Script: *close-snipping-tool.ps1* +=================================== This PowerShell script closes the Snipping Tool application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-snipping-tool.ps1 [] +PS> ./close-snipping-tool.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index 124377925..29b02ebf1 100644 --- a/docs/close-spotify.md +++ b/docs/close-spotify.md @@ -1,12 +1,12 @@ -The *close-spotify.ps1* Script -=========================== +PowerShell Script: *close-spotify.ps1* +=================================== This PowerShell script closes the Spotify application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-spotify.ps1 [] +PS> ./close-spotify.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 858ea98c9..2cf5848fd 100644 --- a/docs/close-task-manager.md +++ b/docs/close-task-manager.md @@ -1,12 +1,12 @@ -The *close-task-manager.ps1* Script -=========================== +PowerShell Script: *close-task-manager.ps1* +=================================== This PowerShell script closes the Task Manager application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-task-manager.ps1 [] +PS> ./close-task-manager.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ tskill taskmgr exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index ee0777a7d..5efc5b701 100644 --- a/docs/close-three-d-viewer.md +++ b/docs/close-three-d-viewer.md @@ -1,12 +1,12 @@ -The *close-three-d-viewer.ps1* Script -=========================== +PowerShell Script: *close-three-d-viewer.ps1* +=================================== This PowerShell script closes the 3D-Viewer application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-three-d-viewer.ps1 [] +PS> ./close-three-d-viewer.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index 420346747..6812b6c12 100644 --- a/docs/close-thunderbird.md +++ b/docs/close-thunderbird.md @@ -1,12 +1,12 @@ -The *close-thunderbird.ps1* Script -=========================== +PowerShell Script: *close-thunderbird.ps1* +=================================== This PowerShell script closes the Mozilla Thunderbird email application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-thunderbird.ps1 [] +PS> ./close-thunderbird.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index 094e62ad0..9a261e190 100644 --- a/docs/close-visual-studio.md +++ b/docs/close-visual-studio.md @@ -1,12 +1,12 @@ -The *close-visual-studio.ps1* Script -=========================== +PowerShell Script: *close-visual-studio.ps1* +=================================== This PowerShell script closes the Microsoft Visual Studio application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-visual-studio.ps1 [] +PS> ./close-visual-studio.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index d9c4705d8..88a293c2a 100644 --- a/docs/close-vlc.md +++ b/docs/close-vlc.md @@ -1,12 +1,12 @@ -The *close-vlc.ps1* Script -=========================== +PowerShell Script: *close-vlc.ps1* +=================================== This PowerShell script closes the VLC media player application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-vlc.ps1 [] +PS> ./close-vlc.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index 34c633111..8f00365f4 100644 --- a/docs/close-windows-terminal.md +++ b/docs/close-windows-terminal.md @@ -1,12 +1,12 @@ -The *close-windows-terminal.ps1* Script -=========================== +PowerShell Script: *close-windows-terminal.ps1* +=================================== This PowerShell script closes the Windows Terminal application gracefully. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/close-windows-terminal.ps1 [] +PS> ./close-windows-terminal.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/configure-git.md b/docs/configure-git.md index 106551e3d..8e977af0f 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -1,12 +1,12 @@ -The *configure-git.ps1* Script -=========================== +PowerShell Script: *configure-git.ps1* +=================================== This PowerShell script configures your Git user settings. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/configure-git.ps1 [[-fullName] ] [[-emailAddress] ] [[-favoriteEditor] ] [] +PS> ./configure-git.ps1 [[-fullName] ] [[-emailAddress] ] [[-favoriteEditor] ] [] -fullName Specifies the user's full name @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index b6c4077b5..5ff5fd31e 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -1,12 +1,12 @@ -The *connect-vpn.ps1* Script -=========================== +PowerShell Script: *connect-vpn.ps1* +=================================== This PowerShell script tries to connect to the VPN. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/connect-vpn.ps1 [] +PS> ./connect-vpn.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index 5812694d3..cd3621d97 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -1,12 +1,12 @@ -The *convert-csv2txt.ps1* Script -=========================== +PowerShell Script: *convert-csv2txt.ps1* +=================================== This PowerShell script converts a .CSV file into a text file and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/convert-csv2txt.ps1 [[-Path] ] [] +PS> ./convert-csv2txt.ps1 [[-Path] ] [] -Path Specifies the path to the .CSV file @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/convert-dir27z.md b/docs/convert-dir27z.md index b5a175bd7..710500d07 100644 --- a/docs/convert-dir27z.md +++ b/docs/convert-dir27z.md @@ -1,5 +1,5 @@ -The *convert-dir27z.ps1* Script -=========================== +PowerShell Script: *convert-dir27z.ps1* +=================================== This PowerShell script compresses the given directory (including subfolders) into a compressed .7z file. It also preserves symbolic links and requires that 7-zip is installed. @@ -7,7 +7,7 @@ It also preserves symbolic links and requires that 7-zip is installed. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/convert-dir27z.ps1 [[-dirPath] ] [[-targetFile] ] [] +PS> ./convert-dir27z.ps1 [[-dirPath] ] [[-targetFile] ] [] -dirPath Specifies the path to the directory (to be entered by default) @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index 827bd47ae..b016a9683 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -1,12 +1,12 @@ -The *convert-dir2zip.ps1* Script -=========================== +PowerShell Script: *convert-dir2zip.ps1* +=================================== This PowerShell script creates a new compressed .ZIP file from a directory (including subfolders). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/convert-dir2zip.ps1 [[-dirPath] ] [[-zipPath] ] [] +PS> ./convert-dir2zip.ps1 [[-dirPath] ] [[-zipPath] ] [] -dirPath Specifies the path to the directory @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index ec728a49f..bee97bb1e 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -1,12 +1,12 @@ -The *convert-docx2md.ps1* Script -=========================== +PowerShell Script: *convert-docx2md.ps1* +=================================== This PowerShell script converts .DOCX file(s) into Markdown. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/convert-docx2md.ps1 [[-FilePattern] ] [] +PS> ./convert-docx2md.ps1 [[-FilePattern] ] [] -FilePattern Specifies the file pattern to the .DOCX file(s) @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index 83881d823..d9f9ac87a 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -1,5 +1,5 @@ -The *convert-frames2mp4.ps1* Script -=========================== +PowerShell Script: *convert-frames2mp4.ps1* +=================================== convert-frames2mp4.ps1 [[-SourcePattern] ] [[-TargetFile] ] @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/convert-history2ps1.md b/docs/convert-history2ps1.md index 78679c8a4..a012bad93 100644 --- a/docs/convert-history2ps1.md +++ b/docs/convert-history2ps1.md @@ -1,5 +1,5 @@ -The *convert-history2ps1.ps1* Script -=========================== +PowerShell Script: *convert-history2ps1.ps1* +=================================== This PowerShell script converts your command history into a PowerShell script. It saves all your commands into a script for automation (executed by e.g Jenkins or AutoHotkey). @@ -7,7 +7,7 @@ It saves all your commands into a script for automation (executed by e.g Jenkins Parameters ---------- ```powershell -/Repos/PowerShell/scripts/convert-history2ps1.ps1 [[-path] ] [] +PS> ./convert-history2ps1.ps1 [[-path] ] [] -path Specifies the file path of the new script ('script-from-history.ps1' by default) @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index 3bea3749f..6169d9344 100644 --- a/docs/convert-image2ascii.md +++ b/docs/convert-image2ascii.md @@ -1,5 +1,5 @@ -The *convert-image2ascii.ps1* Script -=========================== +PowerShell Script: *convert-image2ascii.ps1* +=================================== convert-image2ascii.ps1 @@ -114,4 +114,4 @@ Script Content } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index 7f9c09dec..de3ca400e 100644 --- a/docs/convert-image2blurred-frames.md +++ b/docs/convert-image2blurred-frames.md @@ -1,5 +1,5 @@ -The *convert-image2blurred-frames.ps1* Script -=========================== +PowerShell Script: *convert-image2blurred-frames.ps1* +=================================== convert-image2blurred-frames.ps1 [[-ImageFile] ] [[-TargetDir] ] [[-ImageWidth] ] [[-ImageHeight] ] [[-Frames] ] @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index 583f3be98..ea4bb8544 100644 --- a/docs/convert-image2pixelated-frames.md +++ b/docs/convert-image2pixelated-frames.md @@ -1,5 +1,5 @@ -The *convert-image2pixelated-frames.ps1* Script -=========================== +PowerShell Script: *convert-image2pixelated-frames.ps1* +=================================== convert-image2pixelated-frames.ps1 [[-SourceFile] ] [[-TargetDir] ] [[-Frames] ] @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* diff --git a/docs/convert-images2webp.md b/docs/convert-images2webp.md index 463409aee..847740a7c 100644 --- a/docs/convert-images2webp.md +++ b/docs/convert-images2webp.md @@ -1,5 +1,5 @@ -The *convert-images2webp.ps1* Script -=========================== +PowerShell Script: *convert-images2webp.ps1* +=================================== This script takes an input directory containing images (jpg, jpeg, png, gif, bmp, tiff) or a single image file, and converts them to the WebP format using ImageMagick's 'magick' command. @@ -9,7 +9,7 @@ The level of parallelism can be controlled. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/convert-images2webp.ps1 [-InputPath] [-OutputDir] [[-Quality] ] [[-Lossless] ] [[-MaxParallel] ] [] +PS> ./convert-images2webp.ps1 [-InputPath] [-OutputDir] [[-Quality] ] [[-Lossless] ] [[-MaxParallel] ] [] -InputPath The path to the input directory containing images or a single image file. @@ -287,4 +287,4 @@ Write-Host "Output directory: $OutputDir" Write-Host "=====================================" -ForegroundColor Green ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index 1d96dd7a8..155007f3a 100644 --- a/docs/convert-md2docx.md +++ b/docs/convert-md2docx.md @@ -1,5 +1,5 @@ -The *convert-md2docx.ps1* Script -=========================== +PowerShell Script: *convert-md2docx.ps1* +=================================== convert-md2docx.ps1 @@ -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 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index dcd76fbbb..95b75ab8a 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -1,12 +1,12 @@ -The *convert-md2html.ps1* Script -=========================== +PowerShell Script: *convert-md2html.ps1* +=================================== This PowerShell script converts Markdown file(s) into HTML. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/convert-md2html.ps1 [[-FilePattern] ] [] +PS> ./convert-md2html.ps1 [[-FilePattern] ] [] -FilePattern Specifies the file pattern to the Markdown file(s) @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index 4be07284c..81437be44 100644 --- a/docs/convert-md2pdf.md +++ b/docs/convert-md2pdf.md @@ -1,5 +1,5 @@ -The *convert-md2pdf.ps1* Script -=========================== +PowerShell Script: *convert-md2pdf.ps1* +=================================== convert-md2pdf.ps1 @@ -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 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index c528c16ec..b2e523edb 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -1,12 +1,12 @@ -The *convert-mysql2csv.ps1* Script -=========================== +PowerShell Script: *convert-mysql2csv.ps1* +=================================== This PowerShell script converts a MySQL database table to a .CSV file. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/convert-mysql2csv.ps1 [[-server] ] [[-database] ] [[-username] ] [[-password] ] [[-query] ] [] +PS> ./convert-mysql2csv.ps1 [[-server] ] [[-database] ] [[-username] ] [[-password] ] [[-query] ] [] -server Specifies the server's hostname or IP address @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index f49d9b81b..e4fc5c5c3 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -1,12 +1,12 @@ -The *convert-ps2bat.ps1* Script -=========================== +PowerShell Script: *convert-ps2bat.ps1* +=================================== This PowerShell script converts one or more PowerShell scripts to .bat batch files. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/convert-ps2bat.ps1 [[-Filepattern] ] [] +PS> ./convert-ps2bat.ps1 [[-Filepattern] ] [] -Filepattern Specifies the file pattern @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index e39492f05..0a497bd96 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -1,12 +1,12 @@ -The *convert-ps2md.ps1* Script -=========================== +PowerShell Script: *convert-ps2md.ps1* +=================================== This PowerShell script converts the comment-based help of a PowerShell script to Markdown. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/convert-ps2md.ps1 [[-filename] ] [] +PS> ./convert-ps2md.ps1 [[-filename] ] [] -filename Specifies the path to the PowerShell script @@ -99,8 +99,8 @@ try { $ScriptName = (Get-Item "$filename").Name $full = Get-Help $filename -Full - "The *$($ScriptName)* Script" - "===========================" + "PowerShell Script: *$($ScriptName)*" + "===================================" $Description = ($full.description | Out-String).Trim() if ($Description -ne "") { @@ -115,7 +115,7 @@ try { "----------" "``````powershell" $Syntax = (($full.syntax | Out-String) -replace "`r`n", "`r`n").Trim() - $Syntax = (($Syntax | Out-String) -replace "/home/mf/Repos/PowerShell/scripts/", "PS> ./") + $Syntax = (($Syntax | Out-String) -replace "/Repos/PowerShell/scripts/", "PS> ./") if ($Syntax -ne "") { "$Syntax" } @@ -186,4 +186,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index 1e7ed4e67..c6d477010 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -1,12 +1,12 @@ -The *convert-sql2csv.ps1* Script -=========================== +PowerShell Script: *convert-sql2csv.ps1* +=================================== This PowerShell script converts a SQL database table to a .CSV file. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/convert-sql2csv.ps1 [[-server] ] [[-database] ] [[-username] ] [[-password] ] [[-query] ] [] +PS> ./convert-sql2csv.ps1 [[-server] ] [[-database] ] [[-username] ] [[-password] ] [[-query] ] [] -server Specifies the server's hostname or IP address @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index 7cf60d13d..2b9637c12 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -1,12 +1,12 @@ -The *convert-txt2wav.ps1* Script -=========================== +PowerShell Script: *convert-txt2wav.ps1* +=================================== This PowerShell script converts text to a .WAV audio file. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/convert-txt2wav.ps1 [[-Text] ] [[-WavFile] ] [] +PS> ./convert-txt2wav.ps1 [[-Text] ] [[-WavFile] ] [] -Text Specifies the text to use @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/copy-broken-file.md b/docs/copy-broken-file.md index 662496d78..4e3fe814f 100644 --- a/docs/copy-broken-file.md +++ b/docs/copy-broken-file.md @@ -1,12 +1,12 @@ -The *copy-broken-file.ps1* Script -=========================== +PowerShell Script: *copy-broken-file.ps1* +=================================== This script will copy the specified file even if it contains unreadable blocks caused by device I/O errors and such. The block that it can not read will be replaced with zeros. The size of the block is determined by the buffer. So, to optimize it for speed, use a large buffer. To optimize for accuracy, use a small buffer, smallest being the cluter size of the partition where your sourcefile resides. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/copy-broken-file.ps1 [-SourceFilePath] [-DestinationFilePath] [[-BufferSize] ] [[-MaxRetries] ] [-Overwrite] [[-Position] ] [[-PositionEnd] ] [-IgnoreBadBlocksFile] [-DeleteSourceOnSuccess] [[-BufferGranularSize] ] [[-ProgressParentId] ] [] +PS> ./copy-broken-file.ps1 [-SourceFilePath] [-DestinationFilePath] [[-BufferSize] ] [[-MaxRetries] ] [-Overwrite] [[-Position] ] [[-PositionEnd] ] [-IgnoreBadBlocksFile] [-DeleteSourceOnSuccess] [[-BufferGranularSize] ] [[-ProgressParentId] ] [] -SourceFilePath Path to the source file. @@ -683,4 +683,4 @@ if ($UnreadableBlocks) { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index 3daba2fe9..ee66d320c 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -1,12 +1,12 @@ -The *copy-photos-sorted.ps1* Script -=========================== +PowerShell Script: *copy-photos-sorted.ps1* +=================================== This PowerShell script copies image files from to sorted by year and month. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/copy-photos-sorted.ps1 [[-sourceDir] ] [[-targetDir] ] [] +PS> ./copy-photos-sorted.ps1 [[-sourceDir] ] [[-targetDir] ] [] -sourceDir Specifies the path to the source folder @@ -153,4 +153,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/copy-videos-sorted.md b/docs/copy-videos-sorted.md index f5ac901aa..272cc48d6 100644 --- a/docs/copy-videos-sorted.md +++ b/docs/copy-videos-sorted.md @@ -1,12 +1,12 @@ -The *copy-videos-sorted.ps1* Script -=========================== +PowerShell Script: *copy-videos-sorted.ps1* +=================================== This PowerShell script copies video files from to sorted by year and month. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/copy-videos-sorted.ps1 [[-sourceDir] ] [[-targetDir] ] [] +PS> ./copy-videos-sorted.ps1 [[-sourceDir] ] [[-targetDir] ] [] -sourceDir Specifies the path to the source folder @@ -136,4 +136,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/count-characters.md b/docs/count-characters.md index dbfd07d33..2c9a5eba3 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -1,12 +1,12 @@ -The *count-characters.ps1* Script -=========================== +PowerShell Script: *count-characters.ps1* +=================================== This PowerShell script counts the number of characters in the given string. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/count-characters.ps1 [[-givenString] ] [] +PS> ./count-characters.ps1 [[-givenString] ] [] -givenString Specifies the given string. @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/count-lines.md b/docs/count-lines.md index 1953804c2..dd7d6776b 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -1,12 +1,12 @@ -The *count-lines.ps1* Script -=========================== +PowerShell Script: *count-lines.ps1* +=================================== This PowerShell script counts the number of lines in text files (.txt/.md/.c/.h/.cpp/.hpp/.java/.py/.ps1/.bat) within a directory tree. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/count-lines.ps1 [[-pathToDirTree] ] [] +PS> ./count-lines.ps1 [[-pathToDirTree] ] [] -pathToDirTree Specifies the path to the directory tree. @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index e4bc2da1b..3a4ddb6c9 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -1,12 +1,12 @@ -The *decrypt-file.ps1* Script -=========================== +PowerShell Script: *decrypt-file.ps1* +=================================== This PowerShell script decrypts a file using the given password and AES encryption. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/decrypt-file.ps1 [[-Path] ] [[-Password] ] [] +PS> ./decrypt-file.ps1 [[-Path] ] [[-Password] ] [] -Path Specifies the path to the file to decrypt @@ -199,4 +199,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index 3324b9809..13b6af209 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -1,12 +1,12 @@ -The *disable-ipv6.ps1* Script -=========================== +PowerShell Script: *disable-ipv6.ps1* +=================================== This PowerShell script disables IPv6 on all network interfaces of the local computer (requires administrator rights). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/disable-ipv6.ps1 [] +PS> ./disable-ipv6.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index df73f91da..eafbe26d4 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -1,12 +1,12 @@ -The *disconnect-vpn.ps1* Script -=========================== +PowerShell Script: *disconnect-vpn.ps1* +=================================== This PowerShell script disconnects the active VPN connection. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/disconnect-vpn.ps1 [] +PS> ./disconnect-vpn.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:21)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/download-dir.md b/docs/download-dir.md index 371c312ab..6963e4625 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -1,12 +1,12 @@ -The *download-dir.ps1* Script -=========================== +PowerShell Script: *download-dir.ps1* +=================================== This PowerShell script downloads a folder (including subfolders) from the given URL. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/download-dir.ps1 [[-URL] ] [] +PS> ./download-dir.ps1 [[-URL] ] [] -URL Specifies the URL where to download from @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/download-file.md b/docs/download-file.md index 35cd870fa..8d8e5840c 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -1,12 +1,12 @@ -The *download-file.ps1* Script -=========================== +PowerShell Script: *download-file.ps1* +=================================== This PowerShell script downloads a file from the given URL Parameters ---------- ```powershell -/Repos/PowerShell/scripts/download-file.ps1 [[-URL] ] [] +PS> ./download-file.ps1 [[-URL] ] [] -URL Specifies the URL where to download from @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/edit.md b/docs/edit.md index 6371005cc..39de8cc49 100644 --- a/docs/edit.md +++ b/docs/edit.md @@ -1,5 +1,5 @@ -The *edit.ps1* Script -=========================== +PowerShell Script: *edit.ps1* +=================================== This PowerShell script opens the installed text editor with the given text file. Supported are: Emacs, Helix, pico, nano, neovim, Notepad, vi, vim, Visual Studio Code and Wordpad. @@ -7,7 +7,7 @@ Supported are: Emacs, Helix, pico, nano, neovim, Notepad, vi, vim, Visual Studio Parameters ---------- ```powershell -/Repos/PowerShell/scripts/edit.ps1 [[-path] ] [] +PS> ./edit.ps1 [[-path] ] [] -path Specifies the path to the text file (default is to query the user to specify it) @@ -89,4 +89,4 @@ Write-Host "" exit 1 ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 30c94cf29..421141e4b 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -1,12 +1,12 @@ -The *enable-crash-dumps.ps1* Script -=========================== +PowerShell Script: *enable-crash-dumps.ps1* +=================================== This PowerShell script enables the writing of crash dumps. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/enable-crash-dumps.ps1 [] +PS> ./enable-crash-dumps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -346,4 +346,4 @@ Else exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index 69a79a820..e75117500 100644 --- a/docs/enable-god-mode.md +++ b/docs/enable-god-mode.md @@ -1,12 +1,12 @@ -The *enable-god-mode.ps1* Script -=========================== +PowerShell Script: *enable-god-mode.ps1* +=================================== This PowerShell script enables the god mode in Windows. It adds a new icon to the desktop. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/enable-god-mode.ps1 [] +PS> ./enable-god-mode.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index 2d4f959c4..d6b5bcb1a 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -1,12 +1,12 @@ -The *enable-ipv6.ps1* Script -=========================== +PowerShell Script: *enable-ipv6.ps1* +=================================== This PowerShell script enables IPv6 on all network interfaces of the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/enable-ipv6.ps1 [] +PS> ./enable-ipv6.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index 791392659..638f585d5 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -1,12 +1,12 @@ -The *encrypt-file.ps1* Script -=========================== +PowerShell Script: *encrypt-file.ps1* +=================================== This PowerShell script encrypts a file using the given password and AES encryption. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/encrypt-file.ps1 [[-Path] ] [[-Password] ] [] +PS> ./encrypt-file.ps1 [[-Path] ] [[-Password] ] [] -Path Specifies the path to the file to encrypt @@ -184,4 +184,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index 6857a5926..4ba5c157a 100644 --- a/docs/enter-chat.md +++ b/docs/enter-chat.md @@ -1,12 +1,12 @@ -The *enter-chat.ps1* Script -=========================== +PowerShell Script: *enter-chat.ps1* +=================================== This PowerShell script enters a chat using a common network shared file. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/enter-chat.ps1 [] +PS> ./enter-chat.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -125,4 +125,4 @@ function Get-ChatChannel } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/enter-host.md b/docs/enter-host.md index a18995422..a6ea7b9ca 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -1,12 +1,12 @@ -The *enter-host.ps1* Script -=========================== +PowerShell Script: *enter-host.ps1* +=================================== This PowerShell script logs into a remote host via secure shell (SSH). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/enter-host.ps1 [[-remoteHost] ] [] +PS> ./enter-host.ps1 [[-remoteHost] ] [] -remoteHost Specifies the remote hostname or IP address @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index 4235d89bd..c06e557df 100644 --- a/docs/export-to-manuals.md +++ b/docs/export-to-manuals.md @@ -1,12 +1,12 @@ -The *export-to-manuals.ps1* Script -=========================== +PowerShell Script: *export-to-manuals.ps1* +=================================== This PowerShell script exports the comment-based help of all PowerShell scripts as manuals. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/export-to-manuals.ps1 [[-filePattern] ] [[-targetDir] ] [] +PS> ./export-to-manuals.ps1 [[-filePattern] ] [[-targetDir] ] [] -filePattern @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index 145fc6a8f..883256a3e 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -1,12 +1,12 @@ -The *fetch-repo.ps1* Script -=========================== +PowerShell Script: *fetch-repo.ps1* +=================================== This PowerShell script fetches remote updates into a local Git repository (including submodules). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/fetch-repo.ps1 [[-path] ] [] +PS> ./fetch-repo.ps1 [[-path] ] [] -path Specifies the file path to the local Git repository (default is working directory). @@ -85,9 +85,9 @@ try { "✅ Updates fetched into 📂$repoDirName repo in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 4c1651624..3e12d1ec7 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -1,12 +1,12 @@ -The *fetch-repos.ps1* Script -=========================== +PowerShell Script: *fetch-repos.ps1* +=================================== This PowerShell script fetches updates into all Git repositories in a folder (including submodules). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/fetch-repos.ps1 [[-parentDirPath] ] [] +PS> ./fetch-repos.ps1 [[-parentDirPath] ] [] -parentDirPath Specifies the path to the parent folder @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index 32afadf0c..b00944250 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -1,12 +1,12 @@ -The *firefox-installer.ps1* Script -=========================== +PowerShell Script: *firefox-installer.ps1* +=================================== Download and install latest firefox Parameters ---------- ```powershell -/Repos/PowerShell/scripts/firefox-installer.ps1 [] +PS> ./firefox-installer.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 6163e3e47..43c4586a4 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -1,5 +1,5 @@ -The *get-md5.ps1* Script -=========================== +PowerShell Script: *get-md5.ps1* +=================================== This PowerShell script calculates and prints the MD5 checksum of the given file. NOTE: MD5 is no longer considered secure, use it for simple change validation only! @@ -7,7 +7,7 @@ NOTE: MD5 is no longer considered secure, use it for simple change validation on Parameters ---------- ```powershell -/Repos/PowerShell/scripts/get-md5.ps1 [[-path] ] [] +PS> ./get-md5.ps1 [[-path] ] [] -path Specifies the file path to the file @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index 29bd8ca8b..c8d08aac5 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -1,5 +1,5 @@ -The *get-sha1.ps1* Script -=========================== +PowerShell Script: *get-sha1.ps1* +=================================== This PowerShell script calculates and prints the SHA1 checksum of the given file. NOTE: SHA1 is no longer considered secure, use it for simple change validation only! @@ -7,7 +7,7 @@ NOTE: SHA1 is no longer considered secure, use it for simple change validation o Parameters ---------- ```powershell -/Repos/PowerShell/scripts/get-sha1.ps1 [[-path] ] [] +PS> ./get-sha1.ps1 [[-path] ] [] -path Specifies the local file path to the file @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index 3660e5d45..2e28e10c1 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -1,12 +1,12 @@ -The *get-sha256.ps1* Script -=========================== +PowerShell Script: *get-sha256.ps1* +=================================== This PowerShell script calculates and prints the SHA256 checksum of the given file. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/get-sha256.ps1 [[-path] ] [] +PS> ./get-sha256.ps1 [[-path] ] [] -path Specifies the local file path to the file @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/get-sha512.md b/docs/get-sha512.md index 280df5f27..505f8cc13 100644 --- a/docs/get-sha512.md +++ b/docs/get-sha512.md @@ -1,12 +1,12 @@ -The *get-sha512.ps1* Script -=========================== +PowerShell Script: *get-sha512.ps1* +=================================== This PowerShell script calculates and prints the SHA512 checksum of the given file. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/get-sha512.ps1 [[-path] ] [] +PS> ./get-sha512.ps1 [[-path] ] [] -path Specifies the local file path to the file @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/hello-world.md b/docs/hello-world.md index 57b4512de..708f33736 100644 --- a/docs/hello-world.md +++ b/docs/hello-world.md @@ -1,12 +1,12 @@ -The *hello-world.ps1* Script -=========================== +PowerShell Script: *hello-world.ps1* +=================================== This PowerShell script is a sample script writing "Hello World" to the console. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/hello-world.ps1 [] +PS> ./hello-world.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Write-Output "Hello World" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 985f9f263..7486b9640 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -1,12 +1,12 @@ -The *hibernate.ps1* Script -=========================== +PowerShell Script: *hibernate.ps1* +=================================== This PowerShell script hibernates the local computer immediately. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/hibernate.ps1 [] +PS> ./hibernate.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/import-vm.md b/docs/import-vm.md index 1ea7fa3d1..7d7a6f68b 100644 --- a/docs/import-vm.md +++ b/docs/import-vm.md @@ -1,5 +1,5 @@ -The *import-vm.ps1* Script -=========================== +PowerShell Script: *import-vm.ps1* +=================================== import-vm.ps1 @@ -23,4 +23,4 @@ Start-VM $VMName exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index 901dbcba4..622a9c636 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -1,12 +1,12 @@ -The *inspect-exe.ps1* Script -=========================== +PowerShell Script: *inspect-exe.ps1* +=================================== This PowerShell script prints basic information of an executable file. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/inspect-exe.ps1 [[-PathToExe] ] [] +PS> ./inspect-exe.ps1 [[-PathToExe] ] [] -PathToExe Specifies the path to the executable file @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index 617fce92b..7dabf0d25 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -1,12 +1,12 @@ -The *install-audacity.ps1* Script -=========================== +PowerShell Script: *install-audacity.ps1* +=================================== This PowerShell script installs Audacity. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-audacity.ps1 [] +PS> ./install-audacity.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index 789b33651..3672e2862 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -1,5 +1,5 @@ -The *install-basic-apps.ps1* Script -=========================== +PowerShell Script: *install-basic-apps.ps1* +=================================== This PowerShell script installs basic Windows apps such as browser, e-mail client, etc. NOTE: Apps from Microsoft Store are preferred (due to security and automatic updates). @@ -7,7 +7,7 @@ NOTE: Apps from Microsoft Store are preferred (due to security and automatic upd Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-basic-apps.ps1 [] +PS> ./install-basic-apps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index d74823bf3..528561575 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -1,12 +1,12 @@ -The *install-basic-snaps.ps1* Script -=========================== +PowerShell Script: *install-basic-snaps.ps1* +=================================== This PowerShell script installs 20 basic snap apps. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-basic-snaps.ps1 [] +PS> ./install-basic-snaps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index 91ee7c1e4..1a95667b6 100644 --- a/docs/install-calibre-server.md +++ b/docs/install-calibre-server.md @@ -1,12 +1,12 @@ -The *install-calibre-server.ps1* Script -=========================== +PowerShell Script: *install-calibre-server.ps1* +=================================== This PowerShell script installs and starts a local Calibre server as background process. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-calibre-server.ps1 [[-port] ] [[-mediaFolder] ] [[-userDB] ] [[-logfile] ] [] +PS> ./install-calibre-server.ps1 [[-port] ] [[-mediaFolder] ] [[-userDB] ] [[-logfile] ] [] -port Specifies the Web port number (8099 by default) @@ -133,4 +133,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index eac021a8a..76e885699 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -1,12 +1,12 @@ -The *install-chocolatey.ps1* Script -=========================== +PowerShell Script: *install-chocolatey.ps1* +=================================== This PowerShell script installs Chocolatey onto the local computer (needs admin rights). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-chocolatey.ps1 [] +PS> ./install-chocolatey.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index 16180e17c..85cf72f2a 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -1,12 +1,12 @@ -The *install-chrome.ps1* Script -=========================== +PowerShell Script: *install-chrome.ps1* +=================================== This PowerShell script installs the Google Chrome browser. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-chrome.ps1 [] +PS> ./install-chrome.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index 76fec55a4..33e2bc442 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -1,12 +1,12 @@ -The *install-crystal-disk-info.ps1* Script -=========================== +PowerShell Script: *install-crystal-disk-info.ps1* +=================================== This PowerShell script installs CrystalDiskInfo from the Microsoft Store. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-crystal-disk-info.ps1 [] +PS> ./install-crystal-disk-info.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index 5f761c182..4f069076f 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -1,12 +1,12 @@ -The *install-crystal-disk-mark.ps1* Script -=========================== +PowerShell Script: *install-crystal-disk-mark.ps1* +=================================== This PowerShell script installs CrystalDiskMark from the Microsoft Store. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-crystal-disk-mark.ps1 [] +PS> ./install-crystal-disk-mark.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-discord.md b/docs/install-discord.md index ebc9122ad..5efb506f4 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -1,12 +1,12 @@ -The *install-discord.ps1* Script -=========================== +PowerShell Script: *install-discord.ps1* +=================================== This PowerShell script installs Discord from the Microsoft Store. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-discord.ps1 [] +PS> ./install-discord.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-edge.md b/docs/install-edge.md index c58eb0aed..4628f56b2 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -1,12 +1,12 @@ -The *install-edge.ps1* Script -=========================== +PowerShell Script: *install-edge.ps1* +=================================== This PowerShell script installs the Microsoft Edge Browser from the Microsoft Store. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-edge.ps1 [] +PS> ./install-edge.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-edit.md b/docs/install-edit.md index bccb0972b..8c96ad94d 100644 --- a/docs/install-edit.md +++ b/docs/install-edit.md @@ -1,12 +1,12 @@ -The *install-edit.ps1* Script -=========================== +PowerShell Script: *install-edit.ps1* +=================================== This PowerShell script installs Microsoft Edit. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-edit.ps1 [] +PS> ./install-edit.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index 559fa7349..f36795420 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -1,12 +1,12 @@ -The *install-evcc.ps1* Script -=========================== +PowerShell Script: *install-evcc.ps1* +=================================== This PowerShell script installs evcc. Evcc is an extensible EV Charge Controller with PV integration implemented in Go. See https://evcc.io for details. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-evcc.ps1 [] +PS> ./install-evcc.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index 21278c51a..da0dcd27c 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -1,12 +1,12 @@ -The *install-firefox.ps1* Script -=========================== +PowerShell Script: *install-firefox.ps1* +=================================== This PowerShell script installs the Mozilla Firefox browser from Microsoft Store. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-firefox.ps1 [] +PS> ./install-firefox.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-fonts.md b/docs/install-fonts.md index cbcf7132b..4baa636c9 100644 --- a/docs/install-fonts.md +++ b/docs/install-fonts.md @@ -1,5 +1,5 @@ -The *install-fonts.ps1* Script -=========================== +PowerShell Script: *install-fonts.ps1* +=================================== install-fonts.ps1 [[-sourceFolder] ] @@ -53,4 +53,4 @@ foreach ($font in $fontFiles) { Write-Output "Fonts have been installed successfully." ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index 21e2fe78e..fa9d8fdbc 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -1,12 +1,12 @@ -The *install-git-extensions.ps1* Script -=========================== +PowerShell Script: *install-git-extensions.ps1* +=================================== This PowerShell script installs Git Extensions. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-git-extensions.ps1 [] +PS> ./install-git-extensions.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index be109279c..aea4cc4af 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -1,12 +1,12 @@ -The *install-git-for-windows.ps1* Script -=========================== +PowerShell Script: *install-git-for-windows.ps1* +=================================== This PowerShell script installs Git for Windows. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-git-for-windows.ps1 [] +PS> ./install-git-for-windows.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index 3c0982768..f83665193 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -1,12 +1,12 @@ -The *install-github-cli.ps1* Script -=========================== +PowerShell Script: *install-github-cli.ps1* +=================================== This PowerShell script installs the GitHub command-line interface (CLI). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-github-cli.ps1 [] +PS> ./install-github-cli.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index 35110974f..cc5fdd540 100644 --- a/docs/install-gitlab.md +++ b/docs/install-gitlab.md @@ -1,5 +1,5 @@ -The *install-gitlab.ps1* Script -=========================== +PowerShell Script: *install-gitlab.ps1* +=================================== install-gitlab.ps1 @@ -32,4 +32,4 @@ Script Content ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-h2static.md b/docs/install-h2static.md index b52e36dbe..1df28d855 100644 --- a/docs/install-h2static.md +++ b/docs/install-h2static.md @@ -1,12 +1,12 @@ -The *install-h2static.ps1* Script -=========================== +PowerShell Script: *install-h2static.ps1* +=================================== This PowerShell script installs the tiny static Web server 'h2static'. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-h2static.ps1 [[-port] ] [[-pathToMedia] ] [] +PS> ./install-h2static.ps1 [[-port] ] [[-pathToMedia] ] [] -port @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index 21f5e7497..2c95be433 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -1,12 +1,12 @@ -The *install-irfanview.ps1* Script -=========================== +PowerShell Script: *install-irfanview.ps1* +=================================== This PowerShell script installs IrfanView from the Microsoft Store. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-irfanview.ps1 [] +PS> ./install-irfanview.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-jenkins-agent.md b/docs/install-jenkins-agent.md index 3a6571f9e..4109192d6 100644 --- a/docs/install-jenkins-agent.md +++ b/docs/install-jenkins-agent.md @@ -1,12 +1,12 @@ -The *install-jenkins-agent.ps1* Script -=========================== +PowerShell Script: *install-jenkins-agent.ps1* +=================================== This PowerShell script installs and starts the Jenkins Agent. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-jenkins-agent.ps1 [[-installDir] ] [[-jenkinsURL] ] [[-secretKey] ] [] +PS> ./install-jenkins-agent.ps1 [[-installDir] ] [[-jenkinsURL] ] [[-secretKey] ] [] -installDir @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index 426381178..89a65312a 100644 --- a/docs/install-knot-resolver.md +++ b/docs/install-knot-resolver.md @@ -1,12 +1,12 @@ -The *install-knot-resolver.ps1* Script -=========================== +PowerShell Script: *install-knot-resolver.ps1* +=================================== This PowerShell script installs Knot Resolver. Knot Resolver is a DNS resolver daemon. It needs admin rights. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-knot-resolver.ps1 [] +PS> ./install-knot-resolver.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index a1c896e27..86fc4c7d5 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -1,12 +1,12 @@ -The *install-microsoft-teams.ps1* Script -=========================== +PowerShell Script: *install-microsoft-teams.ps1* +=================================== This PowerShell script installs Microsoft Teams from the Microsoft Store. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-microsoft-teams.ps1 [] +PS> ./install-microsoft-teams.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-mini-dlna.md b/docs/install-mini-dlna.md index d1d6ed203..134a2352a 100644 --- a/docs/install-mini-dlna.md +++ b/docs/install-mini-dlna.md @@ -1,12 +1,12 @@ -The *install-mini-dlna.ps1* Script -=========================== +PowerShell Script: *install-mini-dlna.ps1* +=================================== This PowerShell script installs the MiniDLNA server. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-mini-dlna.ps1 [] +PS> ./install-mini-dlna.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index dedc74e55..28b212d3d 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -1,12 +1,12 @@ -The *install-netflix.ps1* Script -=========================== +PowerShell Script: *install-netflix.ps1* +=================================== This PowerShell script installs Netflix from the Microsoft Store. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-netflix.ps1 [] +PS> ./install-netflix.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index 6ebe96bf0..c33cf70c1 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -1,12 +1,12 @@ -The *install-obs-studio.ps1* Script -=========================== +PowerShell Script: *install-obs-studio.ps1* +=================================== This PowerShell script installs OBS Studio (admin rights are needed). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-obs-studio.ps1 [] +PS> ./install-obs-studio.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index 644c768f3..54c26735f 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -1,5 +1,5 @@ -The *install-octoprint.ps1* Script -=========================== +PowerShell Script: *install-octoprint.ps1* +=================================== install-octoprint.ps1 @@ -33,4 +33,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index ca880cf07..3d4819fbe 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -1,12 +1,12 @@ -The *install-one-calendar.ps1* Script -=========================== +PowerShell Script: *install-one-calendar.ps1* +=================================== This PowerShell script installs One Calendar from the Microsoft Store. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-one-calendar.ps1 [] +PS> ./install-one-calendar.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index e59535cfe..3d9d67984 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -1,12 +1,12 @@ -The *install-opera-browser.ps1* Script -=========================== +PowerShell Script: *install-opera-browser.ps1* +=================================== This PowerShell script installs Opera Browser from Microsoft Store. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-opera-browser.ps1 [] +PS> ./install-opera-browser.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index 0915d17e3..1831d24e1 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -1,12 +1,12 @@ -The *install-opera-gx.ps1* Script -=========================== +PowerShell Script: *install-opera-gx.ps1* +=================================== This PowerShell script installs Opera GX from Microsoft Store. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-opera-gx.ps1 [] +PS> ./install-opera-gx.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index e09314de1..164920204 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -1,12 +1,12 @@ -The *install-paint-3d.ps1* Script -=========================== +PowerShell Script: *install-paint-3d.ps1* +=================================== This PowerShell script installs Paint 3D from the Microsoft Store. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-paint-3d.ps1 [] +PS> ./install-paint-3d.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index 7b68fe781..5e0205627 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -1,12 +1,12 @@ -The *install-power-toys.ps1* Script -=========================== +PowerShell Script: *install-power-toys.ps1* +=================================== This PowerShell script installs the Microsoft Powertoys. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-power-toys.ps1 [] +PS> ./install-power-toys.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index 7135b110c..a36ab4ff4 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -1,5 +1,5 @@ -The *install-powershell.ps1* Script -=========================== +PowerShell Script: *install-powershell.ps1* +=================================== By default, the latest PowerShell release package will be installed. If '-Daily' is specified, then the latest PowerShell daily package will be installed. @@ -7,9 +7,9 @@ If '-Daily' is specified, then the latest PowerShell daily package will be insta Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-powershell.ps1 [-Destination ] [-Daily] [-DoNotOverwrite] [-AddToPath] [-Preview] [] +PS> ./install-powershell.ps1 [-Destination ] [-Daily] [-DoNotOverwrite] [-AddToPath] [-Preview] [] -/Repos/PowerShell/scripts/install-powershell.ps1 [-UseMSI] [-Quiet] [-AddExplorerContextMenu] [-EnablePSRemoting] [-Preview] [] +PS> ./install-powershell.ps1 [-UseMSI] [-Quiet] [-AddExplorerContextMenu] [-EnablePSRemoting] [-Preview] [] -Destination The destination path to install PowerShell to. @@ -662,4 +662,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index 1fe24c843..d1a8741c3 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -1,12 +1,12 @@ -The *install-rufus.ps1* Script -=========================== +PowerShell Script: *install-rufus.ps1* +=================================== This PowerShell script installs Rufus from the Microsoft Store. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-rufus.ps1 [] +PS> ./install-rufus.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index 776745a97..796dec421 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -1,12 +1,12 @@ -The *install-salesforce-cli.ps1* Script -=========================== +PowerShell Script: *install-salesforce-cli.ps1* +=================================== This PowerShell script downloads and installs the Salesforce CLI on Windows. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-salesforce-cli.ps1 [] +PS> ./install-salesforce-cli.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-scoop.md b/docs/install-scoop.md index 3e8ed866e..f89a63207 100644 --- a/docs/install-scoop.md +++ b/docs/install-scoop.md @@ -1,5 +1,5 @@ -The *install-scoop.ps1* Script -=========================== +PowerShell Script: *install-scoop.ps1* +=================================== install-scoop.ps1 @@ -21,4 +21,4 @@ Script Content Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index 5ab91a0cb..13f46b44b 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -1,5 +1,5 @@ -The *install-signal-cli.ps1* Script -=========================== +PowerShell Script: *install-signal-cli.ps1* +=================================== This PowerShell script installs signal-cli from github.com/AsamK/signal-cli. See the Web page for the correct version number. @@ -7,7 +7,7 @@ See the Web page for the correct version number. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-signal-cli.ps1 [[-Version] ] [] +PS> ./install-signal-cli.ps1 [[-Version] ] [] -Version Specifies the version to install @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index 15e1e3806..9d766b754 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -1,12 +1,12 @@ -The *install-spotify.ps1* Script -=========================== +PowerShell Script: *install-spotify.ps1* +=================================== This PowerShell script installs Spotify from the Microsoft Store. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-spotify.ps1 [] +PS> ./install-spotify.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index 7907d9fdf..29b18d3e7 100644 --- a/docs/install-ssh-client.md +++ b/docs/install-ssh-client.md @@ -1,12 +1,12 @@ -The *install-ssh-client.ps1* Script -=========================== +PowerShell Script: *install-ssh-client.ps1* +=================================== This PowerShell script installs a SSH client (needs admin rights). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-ssh-client.ps1 [] +PS> ./install-ssh-client.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index 4320b8fa5..20171e859 100644 --- a/docs/install-ssh-server.md +++ b/docs/install-ssh-server.md @@ -1,12 +1,12 @@ -The *install-ssh-server.ps1* Script -=========================== +PowerShell Script: *install-ssh-server.ps1* +=================================== This PowerShell script installs a SSH server (needs admin rights). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-ssh-server.ps1 [] +PS> ./install-ssh-server.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-syncthing.md b/docs/install-syncthing.md index e11bcaf5a..0299ad9eb 100644 --- a/docs/install-syncthing.md +++ b/docs/install-syncthing.md @@ -1,5 +1,5 @@ -The *install-syncthing.ps1* Script -=========================== +PowerShell Script: *install-syncthing.ps1* +=================================== This PowerShell script installs Syncthing on your computer. Syncthing is a continuous file synchronization program. See https://syncthing.net for details. @@ -7,7 +7,7 @@ Syncthing is a continuous file synchronization program. See https://syncthing.ne Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-syncthing.ps1 [] +PS> ./install-syncthing.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index 7e08f7c52..5931f83ba 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -1,12 +1,12 @@ -The *install-thunderbird.ps1* Script -=========================== +PowerShell Script: *install-thunderbird.ps1* +=================================== This PowerShell script installs Mozilla Thunderbird. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-thunderbird.ps1 [] +PS> ./install-thunderbird.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index b1a17c40d..6463caff1 100644 --- a/docs/install-unbound-server.md +++ b/docs/install-unbound-server.md @@ -1,12 +1,12 @@ -The *install-unbound-server.ps1* Script -=========================== +PowerShell Script: *install-unbound-server.ps1* +=================================== This PowerShell script installs Unbound, a validating, recursive, caching DNS resolver. It needs admin rights. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-unbound-server.ps1 [] +PS> ./install-unbound-server.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/install-updates.md b/docs/install-updates.md index b274fb097..951bf81f6 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -1,5 +1,5 @@ -The *install-updates.ps1* Script -=========================== +PowerShell Script: *install-updates.ps1* +=================================== This PowerShell script installs software updates for the local machine (might need admin rights). HINT: Use the script 'list-updates.ps1' to list the latest software updates in advance. @@ -7,7 +7,7 @@ HINT: Use the script 'list-updates.ps1' to list the latest software updates in a Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-updates.ps1 [] +PS> ./install-updates.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index f8b26ebb4..5666899af 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -1,12 +1,12 @@ -The *install-visual-studio-code.ps1* Script -=========================== +PowerShell Script: *install-visual-studio-code.ps1* +=================================== This PowerShell script installs Visual Studio Code. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-visual-studio-code.ps1 [] +PS> ./install-visual-studio-code.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index d4ac921ff..055a616ca 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -1,12 +1,12 @@ -The *install-vivaldi.ps1* Script -=========================== +PowerShell Script: *install-vivaldi.ps1* +=================================== This PowerShell script installs the Vivaldi browser. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-vivaldi.ps1 [] +PS> ./install-vivaldi.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index 542ab1ca4..def203a77 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -1,12 +1,12 @@ -The *install-vlc.ps1* Script -=========================== +PowerShell Script: *install-vlc.ps1* +=================================== This PowerShell script installs the VLC media player. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-vlc.ps1 [] +PS> ./install-vlc.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index 8b2bbb2aa..3934da8bf 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -1,12 +1,12 @@ -The *install-windows-terminal.ps1* Script -=========================== +PowerShell Script: *install-windows-terminal.ps1* +=================================== This PowerShell script installs Windows Terminal from the Microsoft Store. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-windows-terminal.ps1 [] +PS> ./install-windows-terminal.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index 2922a690e..487fc7d15 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -1,12 +1,12 @@ -The *install-wsl.ps1* Script -=========================== +PowerShell Script: *install-wsl.ps1* +=================================== This PowerShell script installs Windows Subsystem for Linux. It needs admin rights. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-wsl.ps1 [] +PS> ./install-wsl.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index df8f05619..3c49aecee 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -1,12 +1,12 @@ -The *install-zoom.ps1* Script -=========================== +PowerShell Script: *install-zoom.ps1* +=================================== This PowerShell script installs Zoom. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/install-zoom.ps1 [] +PS> ./install-zoom.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index bd42f44fc..9e447149d 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -1,12 +1,12 @@ -The *introduce-powershell.ps1* Script -=========================== +PowerShell Script: *introduce-powershell.ps1* +=================================== This PowerShell script introduces PowerShell to new users and gives an overview of it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/introduce-powershell.ps1 [] +PS> ./introduce-powershell.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/kill-process.md b/docs/kill-process.md index 652f4b127..1d8b44b53 100644 --- a/docs/kill-process.md +++ b/docs/kill-process.md @@ -1,12 +1,12 @@ -The *kill-process.ps1* Script -=========================== +PowerShell Script: *kill-process.ps1* +=================================== This PowerShell script stops all local processes matching the given name Parameters ---------- ```powershell -/Repos/PowerShell/scripts/kill-process.ps1 [[-processName] ] [] +PS> ./kill-process.ps1 [[-processName] ] [] -processName Specifies the process name (ask user by default) @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index 0f2f34c83..bcae0abee 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -1,12 +1,12 @@ -The *list-aliases.ps1* Script -=========================== +PowerShell Script: *list-aliases.ps1* +=================================== This PowerShell scripts lists all PowerShell aliases. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-aliases.ps1 [] +PS> ./list-aliases.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index 51f8c1214..d7cd013fa 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -1,12 +1,12 @@ -The *list-anagrams.ps1* Script -=========================== +PowerShell Script: *list-anagrams.ps1* +=================================== This PowerShell script lists all anagrams of the given word. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-anagrams.ps1 [[-Word] ] [[-Columns] ] [] +PS> ./list-anagrams.ps1 [[-Word] ] [[-Columns] ] [] -Word Specifies the word to use @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-apps.md b/docs/list-apps.md index e8057a681..a745f32f4 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -1,12 +1,12 @@ -The *list-apps.ps1* Script -=========================== +PowerShell Script: *list-apps.ps1* +=================================== This PowerShell script lists the installed applications (from Windows Store, or Snap Store). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-apps.ps1 [] +PS> ./list-apps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index 93e6933d8..7ed74e135 100644 --- a/docs/list-ascii-table.md +++ b/docs/list-ascii-table.md @@ -1,12 +1,12 @@ -The *list-ascii-table.ps1* Script -=========================== +PowerShell Script: *list-ascii-table.ps1* +=================================== This PowerShell script lists the ASCII table on the console. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-ascii-table.ps1 [] +PS> ./list-ascii-table.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -120,4 +120,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index c0f2a7a34..082b8d88d 100644 --- a/docs/list-automatic-variables.md +++ b/docs/list-automatic-variables.md @@ -1,5 +1,5 @@ -The *list-automatic-variables.ps1* Script -=========================== +PowerShell Script: *list-automatic-variables.ps1* +=================================== list-automatic-variables.ps1 @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index 49fe9827d..36934b532 100644 --- a/docs/list-battery-status.md +++ b/docs/list-battery-status.md @@ -1,12 +1,12 @@ -The *list-battery-status.ps1* Script -=========================== +PowerShell Script: *list-battery-status.ps1* +=================================== This PowerShell script lists the battery status. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-battery-status.ps1 [] +PS> ./list-battery-status.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-bios.md b/docs/list-bios.md index ce57c0c1b..258b31ee4 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -1,12 +1,12 @@ -The *list-bios.ps1* Script -=========================== +PowerShell Script: *list-bios.ps1* +=================================== This PowerShell script lists the BIOS details. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-bios.ps1 [] +PS> ./list-bios.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 269a00401..7b5bc9235 100644 --- a/docs/list-bluetooth-devices.md +++ b/docs/list-bluetooth-devices.md @@ -1,12 +1,12 @@ -The *list-bluetooth-devices.ps1* Script -=========================== +PowerShell Script: *list-bluetooth-devices.ps1* +=================================== This PowerShell script lists all Bluetooth devices connected to the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-bluetooth-devices.ps1 [] +PS> ./list-bluetooth-devices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-branches.md b/docs/list-branches.md index 9198fe271..23993378b 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -1,12 +1,12 @@ -The *list-branches.ps1* Script -=========================== +PowerShell Script: *list-branches.ps1* +=================================== This PowerShell script lists branches in a Git repository - either all (default) or by a search pattern. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-branches.ps1 [[-pathToRepo] ] [[-searchPattern] ] [] +PS> ./list-branches.ps1 [[-pathToRepo] ] [[-searchPattern] ] [] -pathToRepo Specifies the path to the Git repository (current working directory by default) @@ -109,4 +109,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index f1121408f..2d0546993 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -1,12 +1,12 @@ -The *list-calendar.ps1* Script -=========================== +PowerShell Script: *list-calendar.ps1* +=================================== Lists calendar elements, either a single month or an entire year. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-calendar.ps1 [[-Month] ] [[-Year] ] [] +PS> ./list-calendar.ps1 [[-Month] ] [[-Year] ] [] -Month If specified, will limit output to a single month with this numeral value. @@ -247,4 +247,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index 992db68d1..d9a513464 100644 --- a/docs/list-cheat-sheet.md +++ b/docs/list-cheat-sheet.md @@ -1,12 +1,12 @@ -The *list-cheat-sheet.ps1* Script -=========================== +PowerShell Script: *list-cheat-sheet.ps1* +=================================== This PowerShell script lists the PowerShell cheat sheet. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-cheat-sheet.ps1 [] +PS> ./list-cheat-sheet.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -75,4 +75,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index 9b153ca32..8a4d398ff 100644 --- a/docs/list-city-weather.md +++ b/docs/list-city-weather.md @@ -1,5 +1,5 @@ -The *list-city-weather.ps1* Script -=========================== +PowerShell Script: *list-city-weather.ps1* +=================================== list-city-weather.ps1 @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index e72e1fd20..4f27b2f7d 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -1,5 +1,5 @@ -The *list-cli-tools.ps1* Script -=========================== +PowerShell Script: *list-cli-tools.ps1* +=================================== list-cli-tools.ps1 @@ -370,4 +370,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index 136967d7d..2f39951bd 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -1,12 +1,12 @@ -The *list-clipboard.ps1* Script -=========================== +PowerShell Script: *list-clipboard.ps1* +=================================== This PowerShell script lists the contents of the clipboard. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-clipboard.ps1 [] +PS> ./list-clipboard.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index 621cca4dd..1c75a82da 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -1,12 +1,12 @@ -The *list-cmdlets.ps1* Script -=========================== +PowerShell Script: *list-cmdlets.ps1* +=================================== This PowerShell script lists all PowerShell cmdlets. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-cmdlets.ps1 [] +PS> ./list-cmdlets.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index 6be60fb76..d3b95a433 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -1,5 +1,5 @@ -The *list-coffee-prices.ps1* Script -=========================== +PowerShell Script: *list-coffee-prices.ps1* +=================================== list-coffee-prices.ps1 @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index 98f06f841..bbd1217ba 100644 --- a/docs/list-commit-stats.md +++ b/docs/list-commit-stats.md @@ -1,12 +1,12 @@ -The *list-commit-stats.ps1* Script -=========================== +PowerShell Script: *list-commit-stats.ps1* +=================================== This PowerShell script lists the commit statistics of a Git repository. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-commit-stats.ps1 [[-path] ] [] +PS> ./list-commit-stats.ps1 [[-path] ] [] -path Specifies the path to the local Git repository (default is current working dir) @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:22)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-commits.md b/docs/list-commits.md index 2b15c2c4c..d0d9d91fa 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -1,12 +1,12 @@ -The *list-commits.ps1* Script -=========================== +PowerShell Script: *list-commits.ps1* +=================================== This PowerShell script lists all commits in a Git repository. Supported output formats are: pretty, list, compact, normal or JSON. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-commits.ps1 [[-pathToRepo] ] [[-format] ] [] +PS> ./list-commits.ps1 [[-pathToRepo] ] [[-format] ] [] -pathToRepo @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 16fead0e9..11b3f6bbd 100644 --- a/docs/list-console-colors.md +++ b/docs/list-console-colors.md @@ -1,12 +1,12 @@ -The *list-console-colors.ps1* Script -=========================== +PowerShell Script: *list-console-colors.ps1* +=================================== This PowerShell script lists all available console colors. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-console-colors.ps1 [] +PS> ./list-console-colors.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-countries.md b/docs/list-countries.md index 89996b688..b32272207 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -1,5 +1,5 @@ -The *list-countries.ps1* Script -=========================== +PowerShell Script: *list-countries.ps1* +=================================== list-countries.ps1 @@ -52,4 +52,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index a187c6cea..38b9cb39d 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -1,12 +1,12 @@ -The *list-cpu.ps1* Script -=========================== +PowerShell Script: *list-cpu.ps1* +=================================== This PowerShell script lists the CPU details. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-cpu.ps1 [] +PS> ./list-cpu.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index 1242993a0..b4d3c64a1 100644 --- a/docs/list-crypto-rates.md +++ b/docs/list-crypto-rates.md @@ -1,5 +1,5 @@ -The *list-crypto-rates.ps1* Script -=========================== +PowerShell Script: *list-crypto-rates.ps1* +=================================== list-crypto-rates.ps1 @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index 28f1179d0..6fbc87385 100644 --- a/docs/list-defender-settings.md +++ b/docs/list-defender-settings.md @@ -1,5 +1,5 @@ -The *list-defender-settings.ps1* Script -=========================== +PowerShell Script: *list-defender-settings.ps1* +=================================== This PowerShell script lists the current settings of Windows Defender Antivirus. NOTE: use 'Set-MpPreference' to change settings (e.g. DisableScanningNetworkFiles) @@ -7,7 +7,7 @@ NOTE: use 'Set-MpPreference' to change settings (e.g. DisableScanningNetworkFile Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-defender-settings.ps1 [] +PS> ./list-defender-settings.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index 184b4d340..f71e55446 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -1,12 +1,12 @@ -The *list-dir-tree.ps1* Script -=========================== +PowerShell Script: *list-dir-tree.ps1* +=================================== This PowerShell script lists all files and folders in a directory tree (including icon and size). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-dir-tree.ps1 [[-path] ] [] +PS> ./list-dir-tree.ps1 [[-path] ] [] -path Specifies the file path to the directory tree @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index c4a5f9c92..2fd961f88 100644 --- a/docs/list-dns-servers.md +++ b/docs/list-dns-servers.md @@ -1,5 +1,5 @@ -The *list-dns-servers.ps1* Script -=========================== +PowerShell Script: *list-dns-servers.ps1* +=================================== list-dns-servers.ps1 @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-drives.md b/docs/list-drives.md index a38bdf81c..d362a1bbb 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -1,12 +1,12 @@ -The *list-drives.ps1* Script -=========================== +PowerShell Script: *list-drives.ps1* +=================================== This PowerShell script lists all local drives as a table. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-drives.ps1 [] +PS> ./list-drives.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index 51750242f..6d6bbd9ce 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -1,12 +1,12 @@ -The *list-earthquakes.ps1* Script -=========================== +PowerShell Script: *list-earthquakes.ps1* +=================================== This PowerShell script lists major earthquakes for the last 30 days. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-earthquakes.ps1 [[-minMagnitude] ] [] +PS> ./list-earthquakes.ps1 [[-minMagnitude] ] [] -minMagnitude Specifies the minimum magnitude to list (5.5 by default) @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index cb6a40c86..7f7757677 100644 --- a/docs/list-emojis.md +++ b/docs/list-emojis.md @@ -1,12 +1,12 @@ -The *list-emojis.ps1* Script -=========================== +PowerShell Script: *list-emojis.ps1* +=================================== This PowerShell script lists the emojis of Unicode 13.0 sorted by category. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-emojis.ps1 [] +PS> ./list-emojis.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -72,4 +72,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 22161993a..5a2cfe9ec 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -1,12 +1,12 @@ -The *list-empty-dirs.ps1* Script -=========================== +PowerShell Script: *list-empty-dirs.ps1* +=================================== This PowerShell script scans a directory tree and lists all empty directories. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-empty-dirs.ps1 [[-path] ] [] +PS> ./list-empty-dirs.ps1 [[-path] ] [] -path Specifies the path to the directory tree (current working directory by default) @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index 7e130a210..7216c6cdf 100644 --- a/docs/list-empty-files.md +++ b/docs/list-empty-files.md @@ -1,12 +1,12 @@ -The *list-empty-files.ps1* Script -=========================== +PowerShell Script: *list-empty-files.ps1* +=================================== This PowerShell script scans a directory tree and lists all empty files. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-empty-files.ps1 [[-path] ] [] +PS> ./list-empty-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (default is current working dir) @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index 0460a51ce..e143886e4 100644 --- a/docs/list-encrypted-files.md +++ b/docs/list-encrypted-files.md @@ -1,12 +1,12 @@ -The *list-encrypted-files.ps1* Script -=========================== +PowerShell Script: *list-encrypted-files.ps1* +=================================== This PowerShell script scans a directory tree and lists all encrypted files. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-encrypted-files.ps1 [[-path] ] [] +PS> ./list-encrypted-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (default is current working dir) @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index cf260cbd9..843102149 100644 --- a/docs/list-environment-variables.md +++ b/docs/list-environment-variables.md @@ -1,12 +1,12 @@ -The *list-environment-variables.ps1* Script -=========================== +PowerShell Script: *list-environment-variables.ps1* +=================================== This PowerShell script lists all environment variables. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-environment-variables.ps1 [] +PS> ./list-environment-variables.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index 93ca083d7..27450dee2 100644 --- a/docs/list-error-types.md +++ b/docs/list-error-types.md @@ -1,5 +1,5 @@ -The *list-error-types.ps1* Script -=========================== +PowerShell Script: *list-error-types.ps1* +=================================== list-error-types.ps1 @@ -26,4 +26,4 @@ Script Content } | Select BaseType,Name,FullName ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index 3a21269ed..60865234d 100644 --- a/docs/list-exchange-rates.md +++ b/docs/list-exchange-rates.md @@ -1,12 +1,12 @@ -The *list-exchange-rates.ps1* Script -=========================== +PowerShell Script: *list-exchange-rates.ps1* +=================================== This PowerShell script lists the current exchange rates for the given currency (USD per default). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-exchange-rates.ps1 [[-currency] ] [] +PS> ./list-exchange-rates.ps1 [[-currency] ] [] -currency Specifies the base currency @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-executables.md b/docs/list-executables.md index f7b6b2645..347591716 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -1,12 +1,12 @@ -The *list-executables.ps1* Script -=========================== +PowerShell Script: *list-executables.ps1* +=================================== This PowerShell script scans a given directory tree and lists all executables with suffix .EXE. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-executables.ps1 [[-path] ] [] +PS> ./list-executables.ps1 [[-path] ] [] -path Specifies the path to the directory tree (current working directory by default) @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index 408a0758f..38a5e252c 100644 --- a/docs/list-fibonacci.md +++ b/docs/list-fibonacci.md @@ -1,5 +1,5 @@ -The *list-fibonacci.ps1* Script -=========================== +PowerShell Script: *list-fibonacci.ps1* +=================================== list-fibonacci.ps1 @@ -43,4 +43,4 @@ foreach ($i in 0..100) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-files.md b/docs/list-files.md index d2cbb8641..5f9719467 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -1,12 +1,12 @@ -The *list-files.ps1* Script -=========================== +PowerShell Script: *list-files.ps1* +=================================== This PowerShell script lists all files within the given directory tree. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-files.ps1 [[-DirTree] ] [] +PS> ./list-files.ps1 [[-DirTree] ] [] -DirTree Specifies the path to the directory tree @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-folder.md b/docs/list-folder.md index 68173fb61..c5f6d9628 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -1,12 +1,12 @@ -The *list-folder.ps1* Script -=========================== +PowerShell Script: *list-folder.ps1* +=================================== This PowerShell script lists the content of a directory (alphabetically formatted in columns). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-folder.ps1 [[-searchPattern] ] [] +PS> ./list-folder.ps1 [[-searchPattern] ] [] -searchPattern Specifies the search pattern (default is "*" which means anything) @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index 0868603dd..9029c80d8 100644 --- a/docs/list-fritzbox-calls.md +++ b/docs/list-fritzbox-calls.md @@ -1,12 +1,12 @@ -The *list-fritzbox-calls.ps1* Script -=========================== +PowerShell Script: *list-fritzbox-calls.ps1* +=================================== This PowerShell script lists the phone calls of the FRITZ!Box device. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-fritzbox-calls.ps1 [[-Username] ] [[-Password] ] [] +PS> ./list-fritzbox-calls.ps1 [[-Username] ] [[-Password] ] [] -Username Specifies the user name for FRITZ!Box @@ -155,4 +155,4 @@ echo $Result exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index ec997993f..417f82c16 100644 --- a/docs/list-fritzbox-devices.md +++ b/docs/list-fritzbox-devices.md @@ -1,12 +1,12 @@ -The *list-fritzbox-devices.ps1* Script -=========================== +PowerShell Script: *list-fritzbox-devices.ps1* +=================================== This PowerShell script lists FRITZ!Box's known devices. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-fritzbox-devices.ps1 [[-Username] ] [[-Password] ] [] +PS> ./list-fritzbox-devices.ps1 [[-Username] ] [[-Password] ] [] -Username Specifies the user name to FRITZ!Box @@ -107,4 +107,4 @@ $HostTable | format-table -property Active,IPAddress,MACAddress,HostName,Interfa exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index 71301bbc6..a57761249 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -1,12 +1,12 @@ -The *list-headlines.ps1* Script -=========================== +PowerShell Script: *list-headlines.ps1* +=================================== This PowerShell script lists the latest headlines by using a RSS (Really Simple Syndication) feed. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-headlines.ps1 [[-RSS_URL] ] [[-maxLines] ] [] +PS> ./list-headlines.ps1 [[-RSS_URL] ] [[-maxLines] ] [] -RSS_URL Specifies the URL to the RSS feed (Yahoo World News by default) @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index bd87949c1..603e63f49 100644 --- a/docs/list-hidden-files.md +++ b/docs/list-hidden-files.md @@ -1,12 +1,12 @@ -The *list-hidden-files.ps1* Script -=========================== +PowerShell Script: *list-hidden-files.ps1* +=================================== This PowerShell script scans a directory tree and lists all hidden files. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-hidden-files.ps1 [[-path] ] [] +PS> ./list-hidden-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (default is current working dir) @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-installed-hotfixes.md b/docs/list-installed-hotfixes.md index 068715ad9..f8fdab821 100644 --- a/docs/list-installed-hotfixes.md +++ b/docs/list-installed-hotfixes.md @@ -1,12 +1,12 @@ -The *list-installed-hotfixes.ps1* Script -=========================== +PowerShell Script: *list-installed-hotfixes.ps1* +=================================== This PowerShell script lists the installed hotfixes. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-installed-hotfixes.ps1 [] +PS> ./list-installed-hotfixes.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index e10fc575e..9f74407b9 100644 --- a/docs/list-installed-languages.md +++ b/docs/list-installed-languages.md @@ -1,5 +1,5 @@ -The *list-installed-languages.ps1* Script -=========================== +PowerShell Script: *list-installed-languages.ps1* +=================================== list-installed-languages.ps1 @@ -50,4 +50,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index f9fbdfd2e..56b810357 100644 --- a/docs/list-installed-scripts.md +++ b/docs/list-installed-scripts.md @@ -1,12 +1,12 @@ -The *list-installed-scripts.ps1* Script -=========================== +PowerShell Script: *list-installed-scripts.ps1* +=================================== This PowerShell script lists all installed PowerShell scripts. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-installed-scripts.ps1 [] +PS> ./list-installed-scripts.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Get-InstalledScript exit # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index c67ad2973..a95384ebb 100644 --- a/docs/list-installed-software.md +++ b/docs/list-installed-software.md @@ -1,12 +1,12 @@ -The *list-installed-software.ps1* Script -=========================== +PowerShell Script: *list-installed-software.ps1* +=================================== This PowerShell script lists the installed software (except Windows Store apps). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-installed-software.ps1 [] +PS> ./list-installed-software.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index eb63c0c40..2ea7bb657 100644 --- a/docs/list-internet-ip.md +++ b/docs/list-internet-ip.md @@ -1,12 +1,12 @@ -The *list-internet-ip.ps1* Script -=========================== +PowerShell Script: *list-internet-ip.ps1* +=================================== This PowerShell script queries all public IP address information and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-internet-ip.ps1 [] +PS> ./list-internet-ip.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index f815ee84e..5b1793882 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -1,12 +1,12 @@ -The *list-ipv6.ps1* Script -=========================== +PowerShell Script: *list-ipv6.ps1* +=================================== This PowerShell script lists the state of IPv6 on all network interfaces of the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-ipv6.ps1 [] +PS> ./list-ipv6.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index 969fa83df..5af4ac615 100644 --- a/docs/list-latest-tag.md +++ b/docs/list-latest-tag.md @@ -1,12 +1,12 @@ -The *list-latest-tag.ps1* Script -=========================== +PowerShell Script: *list-latest-tag.ps1* +=================================== This PowerShell script lists the latest tag in a local Git repository. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-latest-tag.ps1 [[-RepoDir] ] [] +PS> ./list-latest-tag.ps1 [[-RepoDir] ] [] -RepoDir Specifies the path to the local repository (current working dir by default) @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index bdfb19c19..d2267d63d 100644 --- a/docs/list-latest-tags.md +++ b/docs/list-latest-tags.md @@ -1,12 +1,12 @@ -The *list-latest-tags.ps1* Script -=========================== +PowerShell Script: *list-latest-tags.ps1* +=================================== This PowerShell script lists the latest tags in all Git repositories in the specified folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-latest-tags.ps1 [[-ParentDir] ] [] +PS> ./list-latest-tags.ps1 [[-ParentDir] ] [] -ParentDir Specifies the path to the parent folder @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index 80e0c9f5b..3c5e952bf 100644 --- a/docs/list-local-ip.md +++ b/docs/list-local-ip.md @@ -1,5 +1,5 @@ -The *list-local-ip.ps1* Script -=========================== +PowerShell Script: *list-local-ip.ps1* +=================================== list-local-ip.ps1 @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index 2f734d197..3f1c9c524 100644 --- a/docs/list-mDNS.md +++ b/docs/list-mDNS.md @@ -1,5 +1,5 @@ -The *list-mDNS.ps1* Script -=========================== +PowerShell Script: *list-mDNS.ps1* +=================================== list-mDNS.ps1 @@ -21,4 +21,4 @@ Get-NetUDPEndpoint -localPort 5353 | Select-Object LocalAddress,LocalPort,Owning exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-memos.md b/docs/list-memos.md index 6cf71ee0a..7f547b5bf 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -1,12 +1,12 @@ -The *list-memos.ps1* Script -=========================== +PowerShell Script: *list-memos.ps1* +=================================== This PowerShell script lists all entries in 'Remember.csv' in your home folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-memos.ps1 [] +PS> ./list-memos.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index e385fca1a..9bb2b5ca8 100644 --- a/docs/list-mysql-tables.md +++ b/docs/list-mysql-tables.md @@ -1,12 +1,12 @@ -The *list-mysql-tables.ps1* Script -=========================== +PowerShell Script: *list-mysql-tables.ps1* +=================================== This PowerShell script lists all tables of the given MySQL database. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-mysql-tables.ps1 [-server] [-database] [-dbuser] [-dbpass] [] +PS> ./list-mysql-tables.ps1 [-server] [-database] [-dbuser] [-dbpass] [] -server @@ -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 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index d345cd7d4..893ec1172 100644 --- a/docs/list-network-connections.md +++ b/docs/list-network-connections.md @@ -1,12 +1,12 @@ -The *list-network-connections.ps1* Script -=========================== +PowerShell Script: *list-network-connections.ps1* +=================================== This PowerShell script lists all active network connections on the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-network-connections.ps1 [] +PS> ./list-network-connections.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index 1c9d439ff..0736071b6 100644 --- a/docs/list-network-neighbors.md +++ b/docs/list-network-neighbors.md @@ -1,12 +1,12 @@ -The *list-network-neighbors.ps1* Script -=========================== +PowerShell Script: *list-network-neighbors.ps1* +=================================== This PowerShell script lists all network neighbors of the local computer (using the ARP cache). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-network-neighbors.ps1 [] +PS> ./list-network-neighbors.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index aa5ff58f5..de89254fc 100644 --- a/docs/list-network-routes.md +++ b/docs/list-network-routes.md @@ -1,12 +1,12 @@ -The *list-network-routes.ps1* Script -=========================== +PowerShell Script: *list-network-routes.ps1* +=================================== This PowerShell script lists the network routes on the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-network-routes.ps1 [] +PS> ./list-network-routes.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index 39d4907dd..d72d2e45e 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -1,12 +1,12 @@ -The *list-network-shares.ps1* Script -=========================== +PowerShell Script: *list-network-shares.ps1* +=================================== This PowerShell script lists all network shares (aka "shared folders") of the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-network-shares.ps1 [] +PS> ./list-network-shares.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-news.md b/docs/list-news.md index 8f5ae1352..adc830409 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -1,12 +1,12 @@ -The *list-news.ps1* Script -=========================== +PowerShell Script: *list-news.ps1* +=================================== This PowerShell script lists the latest news by using a RSS (Really Simple Syndication) feed. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-news.ps1 [[-RSS_URL] ] [[-maxLines] ] [[-speed] ] [] +PS> ./list-news.ps1 [[-RSS_URL] ] [[-maxLines] ] [[-speed] ] [] -RSS_URL Specifies the URL to the RSS feed (Yahoo World News by default) @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-nic.md b/docs/list-nic.md index e42883e01..28f86143b 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -1,12 +1,12 @@ -The *list-nic.ps1* Script -=========================== +PowerShell Script: *list-nic.ps1* +=================================== This PowerShell script lists the details of the installed network interfaces. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-nic.ps1 [] +PS> ./list-nic.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index 2723ad0c4..8f6945fb3 100644 --- a/docs/list-nina-warnings.md +++ b/docs/list-nina-warnings.md @@ -1,12 +1,12 @@ -The *list-nina-warnings.ps1* Script -=========================== +PowerShell Script: *list-nina-warnings.ps1* +=================================== This PowerShell script queries the current NINA warnings and lists it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-nina-warnings.ps1 [[-ARS] ] [] +PS> ./list-nina-warnings.ps1 [[-ARS] ] [] -ARS Specifies the official regional key in Germany ("Amtlicher Regionalschlüssel", e.g. 09777, none by default) @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index e601c6ad9..b013ca1de 100644 --- a/docs/list-old-branches.md +++ b/docs/list-old-branches.md @@ -1,12 +1,12 @@ -The *list-old-branches.ps1* Script -=========================== +PowerShell Script: *list-old-branches.ps1* +=================================== This PowerShell script lists branches in a Git repository matching: (1) search pattern, (2) already merged, (3) older than 2024 Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-old-branches.ps1 [[-pathToRepo] ] [[-searchPattern] ] [] +PS> ./list-old-branches.ps1 [[-pathToRepo] ] [[-searchPattern] ] [] -pathToRepo Specifies the path to the Git repository (current working directory by default) @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index 57b3157da..a93ec07a9 100644 --- a/docs/list-os-releases.md +++ b/docs/list-os-releases.md @@ -1,12 +1,12 @@ -The *list-os-releases.ps1* Script -=========================== +PowerShell Script: *list-os-releases.ps1* +=================================== This PowerShell script lists OS releases and download URL. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-os-releases.ps1 [] +PS> ./list-os-releases.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index 60fd30723..1fd1b2e0f 100644 --- a/docs/list-os-updates.md +++ b/docs/list-os-updates.md @@ -1,12 +1,12 @@ -The *list-os-updates.ps1* Script -=========================== +PowerShell Script: *list-os-updates.ps1* +=================================== This PowerShell script lists the latest updates for operating systems. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-os-updates.ps1 [[-RSS_URL] ] [[-MaxCount] ] [] +PS> ./list-os-updates.ps1 [[-RSS_URL] ] [[-MaxCount] ] [] -RSS_URL Specifies the URL to the RSS feed @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-os.md b/docs/list-os.md index be93b42c6..57ba4b342 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -1,12 +1,12 @@ -The *list-os.ps1* Script -=========================== +PowerShell Script: *list-os.ps1* +=================================== This PowerShell script lists the exact operating system version. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-os.ps1 [] +PS> ./list-os.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index f1b27ca84..300157d2c 100644 --- a/docs/list-outlook-inbox.md +++ b/docs/list-outlook-inbox.md @@ -1,12 +1,12 @@ -The *list-outlook-inbox.ps1* Script -=========================== +PowerShell Script: *list-outlook-inbox.ps1* +=================================== This PowerShell script lists the emails in the inbox of Outlook. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-outlook-inbox.ps1 [] +PS> ./list-outlook-inbox.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index d781341a4..7390b9693 100644 --- a/docs/list-outlook-sent.md +++ b/docs/list-outlook-sent.md @@ -1,12 +1,12 @@ -The *list-outlook-sent.ps1* Script -=========================== +PowerShell Script: *list-outlook-sent.ps1* +=================================== This PowerShell script lists the mails in the Sent Mail folder of Outlook. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-outlook-sent.ps1 [] +PS> ./list-outlook-sent.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-passwords.md b/docs/list-passwords.md index b5a83b0c3..ac434199f 100644 --- a/docs/list-passwords.md +++ b/docs/list-passwords.md @@ -1,12 +1,12 @@ -The *list-passwords.ps1* Script -=========================== +PowerShell Script: *list-passwords.ps1* +=================================== This PowerShell script lists random passwords. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-passwords.ps1 [[-PasswordLength] ] [[-Columns] ] [[-Rows] ] [] +PS> ./list-passwords.ps1 [[-PasswordLength] ] [[-Columns] ] [[-Rows] ] [] -PasswordLength Specifies the length of the password @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-pins.md b/docs/list-pins.md index e75318da6..2eeb8cc32 100644 --- a/docs/list-pins.md +++ b/docs/list-pins.md @@ -1,12 +1,12 @@ -The *list-pins.ps1* Script -=========================== +PowerShell Script: *list-pins.ps1* +=================================== This PowerShell script lists random PIN's. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-pins.ps1 [[-PinLength] ] [[-Columns] ] [[-Rows] ] [] +PS> ./list-pins.ps1 [[-PinLength] ] [[-Columns] ] [[-Rows] ] [] -PinLength Specifies the PIN length @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index 2ee85215d..b353882ca 100644 --- a/docs/list-power-schemes.md +++ b/docs/list-power-schemes.md @@ -1,5 +1,5 @@ -The *list-power-schemes.ps1* Script -=========================== +PowerShell Script: *list-power-schemes.ps1* +=================================== list-power-schemes.ps1 @@ -21,4 +21,4 @@ powercfg /list exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index 7f02719cc..35e52971e 100644 --- a/docs/list-powershell-modules.md +++ b/docs/list-powershell-modules.md @@ -1,12 +1,12 @@ -The *list-powershell-modules.ps1* Script -=========================== +PowerShell Script: *list-powershell-modules.ps1* +=================================== This PowerShell script lists the installed PowerShell modules. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-powershell-modules.ps1 [] +PS> ./list-powershell-modules.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index a446b53f0..ff4d8fffc 100644 --- a/docs/list-powershell-profiles.md +++ b/docs/list-powershell-profiles.md @@ -1,5 +1,5 @@ -The *list-powershell-profiles.ps1* Script -=========================== +PowerShell Script: *list-powershell-profiles.ps1* +=================================== list-powershell-profiles.ps1 @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index 749e429e6..cc5c85e92 100644 --- a/docs/list-powershell-verbs.md +++ b/docs/list-powershell-verbs.md @@ -1,12 +1,12 @@ -The *list-powershell-verbs.ps1* Script -=========================== +PowerShell Script: *list-powershell-verbs.ps1* +=================================== This PowerShell script lists all allowed/recommended verbs in PowerShell. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-powershell-verbs.ps1 [] +PS> ./list-powershell-verbs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index 0ec6a48a4..f29fd1077 100644 --- a/docs/list-print-jobs.md +++ b/docs/list-print-jobs.md @@ -1,12 +1,12 @@ -The *list-print-jobs.ps1* Script -=========================== +PowerShell Script: *list-print-jobs.ps1* +=================================== This PowerShell script lists all print jobs of all printer devices. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-print-jobs.ps1 [] +PS> ./list-print-jobs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-printers.md b/docs/list-printers.md index ddfca7a3c..1e79e7726 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -1,12 +1,12 @@ -The *list-printers.ps1* Script -=========================== +PowerShell Script: *list-printers.ps1* +=================================== This PowerShell script lists all printers known to the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-printers.ps1 [] +PS> ./list-printers.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-processes.md b/docs/list-processes.md index 306314b93..71255c7a3 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -1,12 +1,12 @@ -The *list-processes.ps1* Script -=========================== +PowerShell Script: *list-processes.ps1* +=================================== This PowerShell script lists all local computer processes. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-processes.ps1 [] +PS> ./list-processes.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index 98622d2b1..26f7ec73e 100644 --- a/docs/list-pull-requests.md +++ b/docs/list-pull-requests.md @@ -1,12 +1,12 @@ -The *list-pull-requests.ps1* Script -=========================== +PowerShell Script: *list-pull-requests.ps1* +=================================== This PowerShell script lists all pull requests for a Git repository. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-pull-requests.ps1 [[-RepoDir] ] [] +PS> ./list-pull-requests.ps1 [[-RepoDir] ] [] -RepoDir Specifies the file path to the local Git repository (default is working directory). @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-ram.md b/docs/list-ram.md index 641117d8d..a2ed06304 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -1,12 +1,12 @@ -The *list-ram.ps1* Script -=========================== +PowerShell Script: *list-ram.ps1* +=================================== This PowerShell script lists the details of the installed RAM. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-ram.ps1 [] +PS> ./list-ram.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index bac3ca253..a75901f2d 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -1,12 +1,12 @@ -The *list-read-only-files.ps1* Script -=========================== +PowerShell Script: *list-read-only-files.ps1* +=================================== This PowerShell script scans a directory tree and lists all read-only files. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-read-only-files.ps1 [[-path] ] [] +PS> ./list-read-only-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (current working dir by default) @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index ee0bd3811..d7009e01b 100644 --- a/docs/list-recycle-bin.md +++ b/docs/list-recycle-bin.md @@ -1,12 +1,12 @@ -The *list-recycle-bin.ps1* Script -=========================== +PowerShell Script: *list-recycle-bin.ps1* +=================================== This PowerShell script lists the content of the recycle bin folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-recycle-bin.ps1 [] +PS> ./list-recycle-bin.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-repos.md b/docs/list-repos.md index 50ad66255..bda07b3b3 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -1,12 +1,12 @@ -The *list-repos.ps1* Script -=========================== +PowerShell Script: *list-repos.ps1* +=================================== This PowerShell script lists all Git repositories under a folder with details such as latest tag, branch, remote URL, and status. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-repos.ps1 [[-parentDir] ] [] +PS> ./list-repos.ps1 [[-parentDir] ] [] -parentDir Specifies the path to the parent directory (current working directory by default) @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index 6f631ba8d..01c127562 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -1,5 +1,5 @@ -The *list-scripts.ps1* Script -=========================== +PowerShell Script: *list-scripts.ps1* +=================================== list-scripts.ps1 [[-category] ] @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index ac2975fe7..64860e08d 100644 --- a/docs/list-scsi-devices.md +++ b/docs/list-scsi-devices.md @@ -1,12 +1,12 @@ -The *list-scsi-devices.ps1* Script -=========================== +PowerShell Script: *list-scsi-devices.ps1* +=================================== This PowerShell script lists all SCSI devices connected to the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-scsi-devices.ps1 [] +PS> ./list-scsi-devices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-services.md b/docs/list-services.md index 8876f5077..4f17587b3 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -1,12 +1,12 @@ -The *list-services.ps1* Script -=========================== +PowerShell Script: *list-services.ps1* +=================================== This PowerShell script lists all services installed on the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-services.ps1 [] +PS> ./list-services.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index 9d56a6c39..34ac0ec62 100644 --- a/docs/list-special-folders.md +++ b/docs/list-special-folders.md @@ -1,5 +1,5 @@ -The *list-special-folders.ps1* Script -=========================== +PowerShell Script: *list-special-folders.ps1* +=================================== list-special-folders.ps1 @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index 5d3bc4feb..875e3b5d8 100644 --- a/docs/list-sql-tables.md +++ b/docs/list-sql-tables.md @@ -1,5 +1,5 @@ -The *list-sql-tables.ps1* Script -=========================== +PowerShell Script: *list-sql-tables.ps1* +=================================== This PowerShell script lists all tables in a SQL server database and exports the list as CSV. Install-Module InvokeQuery @@ -8,7 +8,7 @@ Run the above command if you do not have this module. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-sql-tables.ps1 [-server] [-database] [-username] [-password] [] +PS> ./list-sql-tables.ps1 [-server] [-database] [-username] [-password] [] -server @@ -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 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index 6935a4f0c..09fd04f54 100644 --- a/docs/list-ssh-key.md +++ b/docs/list-ssh-key.md @@ -1,12 +1,12 @@ -The *list-ssh-key.ps1* Script -=========================== +PowerShell Script: *list-ssh-key.ps1* +=================================== This PowerShell script lists the user's public SSH key. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-ssh-key.ps1 [] +PS> ./list-ssh-key.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index 82bd21e8b..9f36270bf 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -1,12 +1,12 @@ -The *list-submodules.ps1* Script -=========================== +PowerShell Script: *list-submodules.ps1* +=================================== This PowerShell script lists the submodules in the given Git repository. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-submodules.ps1 [[-RepoDir] ] [] +PS> ./list-submodules.ps1 [[-RepoDir] ] [] -RepoDir Specifies the path to the repository (current working directory by default) @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index c6f22fb15..d5ac5fd0b 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -1,12 +1,12 @@ -The *list-suggestions.ps1* Script -=========================== +PowerShell Script: *list-suggestions.ps1* +=================================== This PowerShell script lists "Did you mean?" suggestions from Google. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-suggestions.ps1 [[-text] ] [] +PS> ./list-suggestions.ps1 [[-text] ] [] -text Specifies the word or sentence to get suggestions for. @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index a90aa53a7..961e975a7 100644 --- a/docs/list-system-devices.md +++ b/docs/list-system-devices.md @@ -1,12 +1,12 @@ -The *list-system-devices.ps1* Script -=========================== +PowerShell Script: *list-system-devices.ps1* +=================================== This PowerShell script lists all system devices connected to the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-system-devices.ps1 [] +PS> ./list-system-devices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index ea53c0ada..be7553af9 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -1,12 +1,12 @@ -The *list-system-files.ps1* Script -=========================== +PowerShell Script: *list-system-files.ps1* +=================================== This PowerShell script scans a directory tree and lists all system files. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-system-files.ps1 [[-path] ] [] +PS> ./list-system-files.ps1 [[-path] ] [] -path Specifies the path to the directory tree (default is current working dir) @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index 0aad84bdf..b7acb869a 100644 --- a/docs/list-system-info.md +++ b/docs/list-system-info.md @@ -1,12 +1,12 @@ -The *list-system-info.ps1* Script -=========================== +PowerShell Script: *list-system-info.ps1* +=================================== This PowerShell script lists system information of the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-system-info.ps1 [] +PS> ./list-system-info.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -141,4 +141,4 @@ $info exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-tags.md b/docs/list-tags.md index 6edadc604..b91298de1 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -1,12 +1,12 @@ -The *list-tags.ps1* Script -=========================== +PowerShell Script: *list-tags.ps1* +=================================== This PowerShell script fetches all tags in a local Git repository and lists it (oldest tag first). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-tags.ps1 [[-repoDir] ] [[-searchPattern] ] [] +PS> ./list-tags.ps1 [[-repoDir] ] [[-searchPattern] ] [] -repoDir Specifies the path to the Git repository (current working directory by default) @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index 45c017ac6..d6c032e02 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -1,5 +1,5 @@ -The *list-tasks.ps1* Script -=========================== +PowerShell Script: *list-tasks.ps1* +=================================== list-tasks.ps1 @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index 9cb718627..3595eda86 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -1,12 +1,12 @@ -The *list-timezone.ps1* Script -=========================== +PowerShell Script: *list-timezone.ps1* +=================================== This PowerShell script lists the details of the current time zone. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-timezone.ps1 [] +PS> ./list-timezone.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 1bd912564..62bc2fa93 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -1,12 +1,12 @@ -The *list-timezones.ps1* Script -=========================== +PowerShell Script: *list-timezones.ps1* +=================================== This PowerShell script lists all available time zones. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-timezones.ps1 [] +PS> ./list-timezones.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:23)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index 790b394aa..cadd6c6b9 100644 --- a/docs/list-tiobe-index.md +++ b/docs/list-tiobe-index.md @@ -1,5 +1,5 @@ -The *list-tiobe-index.ps1* Script -=========================== +PowerShell Script: *list-tiobe-index.ps1* +=================================== list-tiobe-index.ps1 @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index aa98196af..243921eb0 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -1,12 +1,12 @@ -The *list-unused-files.ps1* Script -=========================== +PowerShell Script: *list-unused-files.ps1* +=================================== This PowerShell script scans a directory tree and lists unused files (no read/write access since a number of days). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-unused-files.ps1 [[-path] ] [[-days] ] [] +PS> ./list-unused-files.ps1 [[-path] ] [[-days] ] [] -path Specifies the path to the directory tree (current working dir by default) @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-updates.md b/docs/list-updates.md index 7cd02db26..45f9fe179 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -1,5 +1,5 @@ -The *list-updates.ps1* Script -=========================== +PowerShell Script: *list-updates.ps1* +=================================== This PowerShell script queries the latest available software updates for the local machine and lists it (for installation use 'install-updates.ps1'). @@ -7,7 +7,7 @@ local machine and lists it (for installation use 'install-updates.ps1'). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-updates.ps1 [] +PS> ./list-updates.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index 3ce17373c..9232a270e 100644 --- a/docs/list-usb-devices.md +++ b/docs/list-usb-devices.md @@ -1,12 +1,12 @@ -The *list-usb-devices.ps1* Script -=========================== +PowerShell Script: *list-usb-devices.ps1* +=================================== This PowerShell script lists all USB devices connected to the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-usb-devices.ps1 [] +PS> ./list-usb-devices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 37f260c5f..6bf687507 100644 --- a/docs/list-user-accounts.md +++ b/docs/list-user-accounts.md @@ -1,12 +1,12 @@ -The *list-user-accounts.ps1* Script -=========================== +PowerShell Script: *list-user-accounts.ps1* +=================================== This PowerShell script lists the user accounts on the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-user-accounts.ps1 [] +PS> ./list-user-accounts.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index 18230c331..319d33ce4 100644 --- a/docs/list-user-groups.md +++ b/docs/list-user-groups.md @@ -1,12 +1,12 @@ -The *list-user-groups.ps1* Script -=========================== +PowerShell Script: *list-user-groups.ps1* +=================================== This PowerShell script lists the user groups of the local computer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-user-groups.ps1 [] +PS> ./list-user-groups.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-voices.md b/docs/list-voices.md index 65fb57423..b26109afd 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -1,12 +1,12 @@ -The *list-voices.ps1* Script -=========================== +PowerShell Script: *list-voices.ps1* +=================================== This PowerShell script queries the installed text-to-speech (TTS) voices and prints them to the console. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-voices.ps1 [] +PS> ./list-voices.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,19 +56,19 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -#Requires -Version 2.0 +#requires -version 5.1 try { Add-Type -AssemblyName System.Speech - $Synth = New-Object System.Speech.Synthesis.SpeechSynthesizer - $Synth.GetInstalledVoices() | + $synth = New-Object System.Speech.Synthesis.SpeechSynthesizer + $synth.GetInstalledVoices() | Select-Object -ExpandProperty VoiceInfo | Select-Object -Property Name, Culture, Gender, Age exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-weather.md b/docs/list-weather.md index 91b32a060..df64da3a0 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -1,12 +1,12 @@ -The *list-weather.ps1* Script -=========================== +PowerShell Script: *list-weather.ps1* +=================================== This PowerShell script queries the 48h weather report from wttr.in and lists it in a nice table. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-weather.ps1 [[-location] ] [] +PS> ./list-weather.ps1 [[-location] ] [] -location Specifies the location to use (determined automatically by default) @@ -179,4 +179,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index ea1e3dab5..2b1141a18 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -1,12 +1,12 @@ -The *list-wifi.ps1* Script -=========================== +PowerShell Script: *list-wifi.ps1* +=================================== This PowerShell script lists the WIFI networks. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-wifi.ps1 [] +PS> ./list-wifi.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index f0903837a..170dd0318 100644 --- a/docs/list-window-titles.md +++ b/docs/list-window-titles.md @@ -1,12 +1,12 @@ -The *list-window-titles.ps1* Script -=========================== +PowerShell Script: *list-window-titles.ps1* +=================================== This PowerShell script queries all main window titles and lists them as a table. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-window-titles.ps1 [] +PS> ./list-window-titles.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index 5482177d3..4d69b20be 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -1,12 +1,12 @@ -The *list-workdir.ps1* Script -=========================== +PowerShell Script: *list-workdir.ps1* +=================================== This PowerShell script lists the path to current working directory (but not the content itself). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-workdir.ps1 [] +PS> ./list-workdir.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index d362066a2..f234af940 100644 --- a/docs/list-wsl-distros.md +++ b/docs/list-wsl-distros.md @@ -1,12 +1,12 @@ -The *list-wsl-distros.ps1* Script -=========================== +PowerShell Script: *list-wsl-distros.ps1* +=================================== This PowerShell script lists installed/available Linux distributions for Windows Subsystem for Linux (WSL). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/list-wsl-distros.ps1 [] +PS> ./list-wsl-distros.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/locate-city.md b/docs/locate-city.md index 1176f5bc7..2699f2013 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -1,12 +1,12 @@ -The *locate-city.ps1* Script -=========================== +PowerShell Script: *locate-city.ps1* +=================================== This PowerShell script prints the geographic location of the given city. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/locate-city.ps1 [[-city] ] [] +PS> ./locate-city.ps1 [[-city] ] [] -city Specifies the name of the city to look for @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index c524b4351..62b7b3113 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -1,5 +1,5 @@ -The *locate-ipaddress.ps1* Script -=========================== +PowerShell Script: *locate-ipaddress.ps1* +=================================== locate-ipaddress.ps1 [[-IPaddress] ] @@ -46,4 +46,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index 577413cea..14b63e6f2 100644 --- a/docs/locate-my-phone.md +++ b/docs/locate-my-phone.md @@ -1,12 +1,12 @@ -The *locate-my-phone.ps1* Script -=========================== +PowerShell Script: *locate-my-phone.ps1* +=================================== This PowerShell script launches the Web browser with the Google Find My Device website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/locate-my-phone.ps1 [] +PS> ./locate-my-phone.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index 753b3731f..58095856e 100644 --- a/docs/locate-zip-code.md +++ b/docs/locate-zip-code.md @@ -1,12 +1,12 @@ -The *locate-zip-code.ps1* Script -=========================== +PowerShell Script: *locate-zip-code.ps1* +=================================== This PowerShell script prints the geographic location of the given zip-code. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/locate-zip-code.ps1 [[-CountryCode] ] [[-ZipCode] ] [] +PS> ./locate-zip-code.ps1 [[-CountryCode] ] [[-ZipCode] ] [] -CountryCode Specifies the country code @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index 3aeb84c2a..33c4ca746 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -1,12 +1,12 @@ -The *lock-desktop.ps1* Script -=========================== +PowerShell Script: *lock-desktop.ps1* +=================================== This PowerShell script locks the local computer desktop immediately. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/lock-desktop.ps1 [] +PS> ./lock-desktop.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/log-off.md b/docs/log-off.md index 420bc58f4..548265605 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -1,12 +1,12 @@ -The *log-off.ps1* Script -=========================== +PowerShell Script: *log-off.ps1* +=================================== This PowerShell script logs off the current Windows user. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/log-off.ps1 [] +PS> ./log-off.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/make-install.md b/docs/make-install.md index ae53183de..98a207f53 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -1,12 +1,12 @@ -The *make-install.ps1* Script -=========================== +PowerShell Script: *make-install.ps1* +=================================== This PowerShell script copies newer EXE's + DLL's from the build directory to the installation directory. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/make-install.ps1 [] +PS> ./make-install.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index b844c55ce..c8900baa2 100644 --- a/docs/measure-BubbleSort.md +++ b/docs/measure-BubbleSort.md @@ -1,5 +1,5 @@ -The *measure-BubbleSort.ps1* Script -=========================== +PowerShell Script: *measure-BubbleSort.ps1* +=================================== This PowerShell script measures the speed of the BubbleSort algorithm. BubbleSort is a simple sorting algorithm that repeatedly steps through the list, @@ -10,7 +10,7 @@ comparison sort, is named for the way smaller or larger elements "bubble" to the Parameters ---------- ```powershell -/Repos/PowerShell/scripts/measure-BubbleSort.ps1 [[-numIntegers] ] [] +PS> ./measure-BubbleSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -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 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index df761b6d2..d5b85d73a 100644 --- a/docs/measure-BucketSort.md +++ b/docs/measure-BucketSort.md @@ -1,5 +1,5 @@ -The *measure-BucketSort.ps1* Script -=========================== +PowerShell Script: *measure-BucketSort.ps1* +=================================== This PowerShell script measures the speed of the BucketSort algorithm. BucketSort is a sorting algorithm that works by distributing the elements @@ -15,7 +15,7 @@ to use, and whether the input is uniformly distributed. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/measure-BucketSort.ps1 [[-numIntegers] ] [] +PS> ./measure-BucketSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -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 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index 6c935baea..eb88c8730 100644 --- a/docs/measure-CountingSort.md +++ b/docs/measure-CountingSort.md @@ -1,5 +1,5 @@ -The *measure-CountingSort.ps1* Script -=========================== +PowerShell Script: *measure-CountingSort.ps1* +=================================== This PowerShell script measures the speed of the CountingSort algorithm. CountingSort is an algorithm for sorting a collection of objects according to keys @@ -15,7 +15,7 @@ can handle larger keys more efficiently. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/measure-CountingSort.ps1 [[-numIntegers] ] [] +PS> ./measure-CountingSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -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 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index c26e83120..a82d32c71 100644 --- a/docs/measure-HeapSort.md +++ b/docs/measure-HeapSort.md @@ -1,5 +1,5 @@ -The *measure-HeapSort.ps1* Script -=========================== +PowerShell Script: *measure-HeapSort.ps1* +=================================== This PowerShell script measures the speed of the HeapSort algorithm. HeapSort is a comparison-based sorting algorithm. Heapsort can be thought of as an @@ -13,7 +13,7 @@ find the largest element in each step. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/measure-HeapSort.ps1 [[-numIntegers] ] [] +PS> ./measure-HeapSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -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 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index cc0af7cfe..64bd3dab3 100644 --- a/docs/measure-InsertionSort.md +++ b/docs/measure-InsertionSort.md @@ -1,5 +1,5 @@ -The *measure-InsertionSort.ps1* Script -=========================== +PowerShell Script: *measure-InsertionSort.ps1* +=================================== This PowerShell script measures the speed of the InsertionSort algorithm. InsertionSort is a simple sorting algorithm that builds the final sorted array (or list) @@ -9,7 +9,7 @@ such as quicksort, heapsort, or merge sort. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/measure-InsertionSort.ps1 [[-numIntegers] ] [] +PS> ./measure-InsertionSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -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 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index ffc5395c6..a09ddb1f3 100644 --- a/docs/measure-MergeSort.md +++ b/docs/measure-MergeSort.md @@ -1,5 +1,5 @@ -The *measure-MergeSort.ps1* Script -=========================== +PowerShell Script: *measure-MergeSort.ps1* +=================================== This PowerShell script measures the speed of the MergeSort algorithm. MergeSort is an efficient, general-purpose, and comparison-based sorting algorithm. @@ -11,7 +11,7 @@ merge sort appeared in a report by Goldstine and von Neumann as early as 1948. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/measure-MergeSort.ps1 [[-numIntegers] ] [] +PS> ./measure-MergeSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -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 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index 83b029349..9b38ddefb 100644 --- a/docs/measure-QuickSort.md +++ b/docs/measure-QuickSort.md @@ -1,5 +1,5 @@ -The *measure-QuickSort.ps1* Script -=========================== +PowerShell Script: *measure-QuickSort.ps1* +=================================== This PowerShell script measures the speed of the QuickSort algorithm. QuickSort is an in-place sorting algorithm. Developed by British computer scientist @@ -10,7 +10,7 @@ two or three times faster than heapsort. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/measure-QuickSort.ps1 [[-numIntegers] ] [] +PS> ./measure-QuickSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -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 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index 113953ce9..40fa31086 100644 --- a/docs/measure-SelectionSort.md +++ b/docs/measure-SelectionSort.md @@ -1,5 +1,5 @@ -The *measure-SelectionSort.ps1* Script -=========================== +PowerShell Script: *measure-SelectionSort.ps1* +=================================== This PowerShell script measures the speed of the SelectionSort algorithm. SelectionSort is an in-place comparison sorting algorithm. It has an O(n2) time complexity, @@ -11,7 +11,7 @@ is limited. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/measure-SelectionSort.ps1 [[-numIntegers] ] [] +PS> ./measure-SelectionSort.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort @@ -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 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index 883878f47..22d3ea19e 100644 --- a/docs/measure-sorting-algorithms.md +++ b/docs/measure-sorting-algorithms.md @@ -1,12 +1,12 @@ -The *measure-sorting-algorithms.ps1* Script -=========================== +PowerShell Script: *measure-sorting-algorithms.ps1* +=================================== This PowerShell script measures the speed of several sorting algorithms and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/measure-sorting-algorithms.ps1 [[-numIntegers] ] [] +PS> ./measure-sorting-algorithms.ps1 [[-numIntegers] ] [] -numIntegers Specifies the number of integers to sort (3000 by default) @@ -74,4 +74,4 @@ param([int]$numIntegers = 3000) exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index b9c0a516e..ef5875b62 100644 --- a/docs/merry-christmas.md +++ b/docs/merry-christmas.md @@ -1,12 +1,12 @@ -The *merry-christmas.ps1* Script -=========================== +PowerShell Script: *merry-christmas.ps1* +=================================== This PowerShell script replies to 'Merry Christmas' by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/merry-christmas.ps1 [] +PS> ./merry-christmas.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -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 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index 68717d5cc..cf6eef02e 100644 --- a/docs/minimize-all-windows.md +++ b/docs/minimize-all-windows.md @@ -1,12 +1,12 @@ -The *minimize-all-windows.ps1* Script -=========================== +PowerShell Script: *minimize-all-windows.ps1* +=================================== This PowerShell script minimizes all open windows. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/minimize-all-windows.ps1 [] +PS> ./minimize-all-windows.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index 8d610f716..391ebcce9 100644 --- a/docs/move-mouse-pointer.md +++ b/docs/move-mouse-pointer.md @@ -1,12 +1,12 @@ -The *move-mouse-pointer.ps1* Script -=========================== +PowerShell Script: *move-mouse-pointer.ps1* +=================================== This PowerShell script moves the mouse pointer either to the given x/y coordinate or just slightly. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/move-mouse-pointer.ps1 [[-x] ] [[-y] ] [] +PS> ./move-mouse-pointer.ps1 [[-x] ] [[-y] ] [] -x Specifies the x coordinate in pixels @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/move-vm.md b/docs/move-vm.md index 98bde87a7..e877e45c9 100644 --- a/docs/move-vm.md +++ b/docs/move-vm.md @@ -1,5 +1,5 @@ -The *move-vm.ps1* Script -=========================== +PowerShell Script: *move-vm.ps1* +=================================== move-vm.ps1 @@ -22,4 +22,4 @@ Move-VM $VMName HOST2 -IncludeStorage -DestinationStoragePath "D:\VirtualMachine exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/my-profile.md b/docs/my-profile.md index d448a117c..471b94a85 100644 --- a/docs/my-profile.md +++ b/docs/my-profile.md @@ -1,5 +1,5 @@ -The *my-profile.ps1* Script -=========================== +PowerShell Script: *my-profile.ps1* +=================================== my-profile.ps1 @@ -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 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/new-branch.md b/docs/new-branch.md index f8d8759e1..8c863f9d5 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -1,12 +1,12 @@ -The *new-branch.ps1* Script -=========================== +PowerShell Script: *new-branch.ps1* +=================================== This PowerShell script creates a new branch in a local Git repository and switches to it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-branch.ps1 [[-newBranch] ] [[-path] ] [] +PS> ./new-branch.ps1 [[-newBranch] ] [[-path] ] [] -newBranch Specifies the new branch name @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 5b0160bc7..8795d57e7 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -1,12 +1,12 @@ -The *new-dir.ps1* Script -=========================== +PowerShell Script: *new-dir.ps1* +=================================== This PowerShell script creates an empty new directory in the filesystem. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-dir.ps1 [[-path] ] [] +PS> ./new-dir.ps1 [[-path] ] [] -path Specifies the path and filename of the new directory @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/new-email.md b/docs/new-email.md index a47181b1c..64fe8ae90 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -1,12 +1,12 @@ -The *new-email.ps1* Script -=========================== +PowerShell Script: *new-email.ps1* +=================================== This PowerShell script opens the default email client to write a new email. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-email.ps1 [[-EmailAddress] ] [] +PS> ./new-email.ps1 [[-EmailAddress] ] [] -EmailAddress Specifies the email address fill in @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/new-junction.md b/docs/new-junction.md index d7b6bbca2..fe56562c2 100644 --- a/docs/new-junction.md +++ b/docs/new-junction.md @@ -1,12 +1,12 @@ -The *new-junction.ps1* Script -=========================== +PowerShell Script: *new-junction.ps1* +=================================== This PowerShell script creates a new junction, linking to a target folder. The target folder can reside on another disk. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-junction.ps1 [[-junction] ] [[-targetDir] ] [] +PS> ./new-junction.ps1 [[-junction] ] [[-targetDir] ] [] -junction Specifies the path and filename of the new junction @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index 87ea1e94b..2e8527075 100644 --- a/docs/new-linux-vm.md +++ b/docs/new-linux-vm.md @@ -1,5 +1,5 @@ -The *new-linux-vm.ps1* Script -=========================== +PowerShell Script: *new-linux-vm.ps1* +=================================== new-linux-vm.ps1 @@ -38,4 +38,4 @@ $VMName = "linux" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/new-markdown-file.md b/docs/new-markdown-file.md index 09704fe4f..5b8bddeb7 100644 --- a/docs/new-markdown-file.md +++ b/docs/new-markdown-file.md @@ -1,12 +1,12 @@ -The *new-markdown-file.ps1* Script -=========================== +PowerShell Script: *new-markdown-file.ps1* +=================================== This PowerShell script creates a new Markdown file from template: ../data/templates/New.md. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-markdown-file.ps1 [[-path] ] [] +PS> ./new-markdown-file.ps1 [[-path] ] [] -path Specifies the path and new filename (README.md by default) @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/new-power-plan.md b/docs/new-power-plan.md index bc677963d..c8e2046c4 100644 --- a/docs/new-power-plan.md +++ b/docs/new-power-plan.md @@ -1,5 +1,5 @@ -The *new-power-plan.ps1* Script -=========================== +PowerShell Script: *new-power-plan.ps1* +=================================== new-power-plan.ps1 @@ -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 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/new-powershell-script.md b/docs/new-powershell-script.md index eddb1b736..d41bd65f1 100644 --- a/docs/new-powershell-script.md +++ b/docs/new-powershell-script.md @@ -1,12 +1,12 @@ -The *new-powershell-script.ps1* Script -=========================== +PowerShell Script: *new-powershell-script.ps1* +=================================== 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] ] [] +PS> ./new-powershell-script.ps1 [[-path] ] [] -path Specifies the path and new filename ("bot.ps1" by default) @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 11449123f..50216f3b9 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -1,12 +1,12 @@ -The *new-qrcode.ps1* Script -=========================== +PowerShell Script: *new-qrcode.ps1* +=================================== This PowerShell script generates a new QR code image file. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-qrcode.ps1 [[-text] ] [[-imageSize] ] [[-fileFormat] ] [] +PS> ./new-qrcode.ps1 [[-text] ] [[-imageSize] ] [[-fileFormat] ] [] -text Specifies the text to use @@ -113,4 +113,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index e5c5a6d8a..039e7c425 100644 --- a/docs/new-reboot-task.md +++ b/docs/new-reboot-task.md @@ -1,5 +1,5 @@ -The *new-reboot-task.ps1* Script -=========================== +PowerShell Script: *new-reboot-task.ps1* +=================================== new-reboot-task.ps1 @@ -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 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index 2b4652e66..0ed5c59ca 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -1,12 +1,12 @@ -The *new-shortcut.ps1* Script -=========================== +PowerShell Script: *new-shortcut.ps1* +=================================== This PowerShell script creates a new shortcut file. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-shortcut.ps1 [[-shortcut] ] [[-target] ] [[-description] ] [] +PS> ./new-shortcut.ps1 [[-shortcut] ] [[-target] ] [[-description] ] [] -shortcut Specifies the shortcut filename @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index 2d43a13a6..980bbf2c3 100644 --- a/docs/new-ssh-key.md +++ b/docs/new-ssh-key.md @@ -1,12 +1,12 @@ -The *new-ssh-key.ps1* Script -=========================== +PowerShell Script: *new-ssh-key.ps1* +=================================== This PowerShell script creates a new SSH key for the user. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-ssh-key.ps1 [] +PS> ./new-ssh-key.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index c3fc3e950..b73e3755b 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -1,12 +1,12 @@ -The *new-symlink.ps1* Script -=========================== +PowerShell Script: *new-symlink.ps1* +=================================== This PowerShell script creates a new symbolic link file, linking to a target. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-symlink.ps1 [[-symlink] ] [[-target] ] [] +PS> ./new-symlink.ps1 [[-symlink] ] [[-target] ] [] -symlink Specifies the file path to the new symlink file @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/new-tab.md b/docs/new-tab.md index 76bb4aadd..ae4fecdf8 100644 --- a/docs/new-tab.md +++ b/docs/new-tab.md @@ -1,12 +1,12 @@ -The *new-tab.ps1* Script -=========================== +PowerShell Script: *new-tab.ps1* +=================================== This PowerShell script creates and opens a new tab in Windows Terminal. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-tab.ps1 [] +PS> ./new-tab.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/new-tag.md b/docs/new-tag.md index f1c35ae66..5c3f9308f 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -1,12 +1,12 @@ -The *new-tag.ps1* Script -=========================== +PowerShell Script: *new-tag.ps1* +=================================== This PowerShell script creates a new tag in a Git repository. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-tag.ps1 [[-TagName] ] [[-RepoDir] ] [] +PS> ./new-tag.ps1 [[-TagName] ] [[-RepoDir] ] [] -TagName Specifies the new tag name @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/new-text-file.md b/docs/new-text-file.md index 2246c0e19..1147ee7d6 100644 --- a/docs/new-text-file.md +++ b/docs/new-text-file.md @@ -1,12 +1,12 @@ -The *new-text-file.ps1* Script -=========================== +PowerShell Script: *new-text-file.ps1* +=================================== This PowerShell script creates a new .txt file from: ../data/templates/New.txt. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-text-file.ps1 [[-path] ] [] +PS> ./new-text-file.ps1 [[-path] ] [] -path Specifies the path and new filename (README.txt by default) @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/new-user.md b/docs/new-user.md index d9e3dab45..5e0a3e88b 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -1,12 +1,12 @@ -The *new-user.ps1* Script -=========================== +PowerShell Script: *new-user.ps1* +=================================== This PowerShell script creates a new user account with an encrypted home directory. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/new-user.ps1 [[-username] ] [] +PS> ./new-user.ps1 [[-username] ] [] -username @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index fbea05cb7..c1f6934de 100644 --- a/docs/new-windows-vm.md +++ b/docs/new-windows-vm.md @@ -1,5 +1,5 @@ -The *new-windows-vm.ps1* Script -=========================== +PowerShell Script: *new-windows-vm.ps1* +=================================== new-windows-vm.ps1 @@ -37,4 +37,4 @@ $VMName = "windows" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index c9b6015ed..7fe751409 100644 --- a/docs/on-desktop-login.md +++ b/docs/on-desktop-login.md @@ -1,5 +1,5 @@ -The *on-desktop-login.ps1* Script -=========================== +PowerShell Script: *on-desktop-login.ps1* +=================================== This PowerShell script executes some 'welcome' tasks on every desktop login by the user. NOTE: for installation on Windows create and put a symbolic link to this script into the Autostart folder (usually at: C:\Users\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup). @@ -7,7 +7,7 @@ NOTE: for installation on Windows create and put a symbolic link to this script Parameters ---------- ```powershell -/Repos/PowerShell/scripts/on-desktop-login.ps1 [] +PS> ./on-desktop-login.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-URL.md b/docs/open-URL.md index d80a27fd9..7a9909db0 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -1,12 +1,12 @@ -The *open-URL.ps1* Script -=========================== +PowerShell Script: *open-URL.ps1* +=================================== This PowerShell script launches a new tab in the default Web browser with the given URL. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-URL.ps1 [[-URL] ] [[-text] ] [] +PS> ./open-URL.ps1 [[-URL] ] [[-text] ] [] -URL Specifies the URL @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index ee1756308..0757c78b4 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -1,12 +1,12 @@ -The *open-apps-folder.ps1* Script -=========================== +PowerShell Script: *open-apps-folder.ps1* +=================================== This PowerShell script launches the File Explorer showing the UWP apps folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-apps-folder.ps1 [] +PS> ./open-apps-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -51,4 +51,4 @@ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index bfe5babd6..eb55a201e 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -1,12 +1,12 @@ -The *open-auto-start-folder.ps1* Script -=========================== +PowerShell Script: *open-auto-start-folder.ps1* +=================================== This PowerShell script launches the File Explorer with the user's autostart folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-auto-start-folder.ps1 [] +PS> ./open-auto-start-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index e23708729..a6f43c1f7 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -1,12 +1,12 @@ -The *open-bing-maps.ps1* Script -=========================== +PowerShell Script: *open-bing-maps.ps1* +=================================== This PowerShell script launches the Bing Maps application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-bing-maps.ps1 [] +PS> ./open-bing-maps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index e28f57b10..2707d1351 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -1,12 +1,12 @@ -The *open-booking-com.ps1* Script -=========================== +PowerShell Script: *open-booking-com.ps1* +=================================== This PowerShell script launches the Web browser with the Booking.com website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-booking-com.ps1 [] +PS> ./open-booking-com.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index 0fbcdbbec..ea955168d 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -1,12 +1,12 @@ -The *open-c-drive.ps1* Script -=========================== +PowerShell Script: *open-c-drive.ps1* +=================================== This PowerShell script launches the File Explorer with the C: drive folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-c-drive.ps1 [] +PS> ./open-c-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index 9ad600596..a51a14654 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -1,12 +1,12 @@ -The *open-calculator.ps1* Script -=========================== +PowerShell Script: *open-calculator.ps1* +=================================== This PowerShell script launches the calculator application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-calculator.ps1 [] +PS> ./open-calculator.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index 928838622..65c9a8606 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -1,12 +1,12 @@ -The *open-chrome.ps1* Script -=========================== +PowerShell Script: *open-chrome.ps1* +=================================== This PowerShell script launches the Google Chrome Web browser. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-chrome.ps1 [[-URL] ] [] +PS> ./open-chrome.ps1 [[-URL] ] [] -URL Specifies an optional URL @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-clock.md b/docs/open-clock.md index e44a4e0ef..f2b0d0975 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -1,12 +1,12 @@ -The *open-clock.ps1* Script -=========================== +PowerShell Script: *open-clock.ps1* +=================================== This PowerShell script launches the Clock application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-clock.ps1 [] +PS> ./open-clock.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index 1e3953bc8..bdcbdb9f9 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -1,12 +1,12 @@ -The *open-cortana.ps1* Script -=========================== +PowerShell Script: *open-cortana.ps1* +=================================== This PowerShell script launches the Cortana application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-cortana.ps1 [] +PS> ./open-cortana.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index cd86db55f..d84789b42 100644 --- a/docs/open-d-drive.md +++ b/docs/open-d-drive.md @@ -1,12 +1,12 @@ -The *open-d-drive.ps1* Script -=========================== +PowerShell Script: *open-d-drive.ps1* +=================================== This PowerShell script launches the File Explorer with the D: drive folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-d-drive.ps1 [] +PS> ./open-d-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "D:" ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index d65278870..58486f2c8 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -1,12 +1,12 @@ -The *open-dashboards.ps1* Script -=========================== +PowerShell Script: *open-dashboards.ps1* +=================================== This PowerShell script launches the Web browser with 24 tabs of popular dashboard websites. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-dashboards.ps1 [[-timeInterval] ] [] +PS> ./open-dashboards.ps1 [[-timeInterval] ] [] -timeInterval Specifies the time interval between each tab (110ms per default) @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index 8eb62f58d..af2b4e7bc 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -1,12 +1,12 @@ -The *open-deep-l-translator.ps1* Script -=========================== +PowerShell Script: *open-deep-l-translator.ps1* +=================================== This PowerShell script launches the Web browser with the DeepL Translator website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-deep-l-translator.ps1 [] +PS> ./open-deep-l-translator.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index b876993f0..a150ee9db 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -1,12 +1,12 @@ -The *open-default-browser.ps1* Script -=========================== +PowerShell Script: *open-default-browser.ps1* +=================================== This PowerShell script launches the default Web browser, optional with a given URL. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-default-browser.ps1 [[-URL] ] [] +PS> ./open-default-browser.ps1 [[-URL] ] [] -URL Specifies the URL @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index df083e467..a3c54b598 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -1,12 +1,12 @@ -The *open-desktop-folder.ps1* Script -=========================== +PowerShell Script: *open-desktop-folder.ps1* +=================================== This PowerShell script launches the File Explorer with the user's desktop folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-desktop-folder.ps1 [] +PS> ./open-desktop-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index 7ffa0a8dd..f90844955 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -1,12 +1,12 @@ -The *open-documents-folder.ps1* Script -=========================== +PowerShell Script: *open-documents-folder.ps1* +=================================== This PowerShell script launches the File Explorer with the user's documents folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-documents-folder.ps1 [] +PS> ./open-documents-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index 23f85679d..63c8d3776 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -1,12 +1,12 @@ -The *open-downloads-folder.ps1* Script -=========================== +PowerShell Script: *open-downloads-folder.ps1* +=================================== This PowerShell script launches the File Explorer showing the user's downloads folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-downloads-folder.ps1 [] +PS> ./open-downloads-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index c9d9692c1..24d490784 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -1,12 +1,12 @@ -The *open-dropbox-folder.ps1* Script -=========================== +PowerShell Script: *open-dropbox-folder.ps1* +=================================== This PowerShell script launches the File Explorer with the user's Dropbox folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-dropbox-folder.ps1 [] +PS> ./open-dropbox-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index 71867f695..c2cf0f1d0 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -1,12 +1,12 @@ -The *open-duck-duck-go.ps1* Script -=========================== +PowerShell Script: *open-duck-duck-go.ps1* +=================================== This PowerShell script launches the Web browser with the DuckDuckGo website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-duck-duck-go.ps1 [] +PS> ./open-duck-duck-go.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index e2bf1a778..9777eb703 100644 --- a/docs/open-e-drive.md +++ b/docs/open-e-drive.md @@ -1,12 +1,12 @@ -The *open-e-drive.ps1* Script -=========================== +PowerShell Script: *open-e-drive.ps1* +=================================== This PowerShell script launches the File Explorer with the E: drive folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-e-drive.ps1 [] +PS> ./open-e-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "E:" ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-edge.md b/docs/open-edge.md index eeda799a6..4233480dc 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -1,12 +1,12 @@ -The *open-edge.ps1* Script -=========================== +PowerShell Script: *open-edge.ps1* +=================================== This PowerShell script launches the Microsoft Edge Web browser. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-edge.ps1 [] +PS> ./open-edge.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Start-Process microsoft-edge:// exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index 8ca6671a5..120f307f3 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -1,12 +1,12 @@ -The *open-egg-timer.ps1* Script -=========================== +PowerShell Script: *open-egg-timer.ps1* +=================================== This PowerShell script launches the Web browser with the eggtimer website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-egg-timer.ps1 [] +PS> ./open-egg-timer.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index ec3779f0f..77539e05f 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -1,12 +1,12 @@ -The *open-email-client.ps1* Script -=========================== +PowerShell Script: *open-email-client.ps1* +=================================== This PowerShell script launches the default email client. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-email-client.ps1 [] +PS> ./open-email-client.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index 7db0aca9d..8ea083dc0 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -1,12 +1,12 @@ -The *open-f-drive.ps1* Script -=========================== +PowerShell Script: *open-f-drive.ps1* +=================================== This PowerShell script launches the File Explorer with the F: drive folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-f-drive.ps1 [] +PS> ./open-f-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index 4b6bf756b..06f2a6527 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -1,12 +1,12 @@ -The *open-file-explorer.ps1* Script -=========================== +PowerShell Script: *open-file-explorer.ps1* +=================================== This PowerShell script launches the File Explorer. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-file-explorer.ps1 [[-Path] ] [] +PS> ./open-file-explorer.ps1 [[-Path] ] [] -Path Specifies the path to the folder to display @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index c4f997145..656d870e0 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -1,12 +1,12 @@ -The *open-fire-place.ps1* Script -=========================== +PowerShell Script: *open-fire-place.ps1* +=================================== This PowerShell script launches the Web browser with a fire place website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-fire-place.ps1 [] +PS> ./open-fire-place.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index 6b437b589..99edd71d2 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -1,12 +1,12 @@ -The *open-firefox.ps1* Script -=========================== +PowerShell Script: *open-firefox.ps1* +=================================== This PowerShell script launches the Mozilla Firefox Web browser. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-firefox.ps1 [[-URL] ] [] +PS> ./open-firefox.ps1 [[-URL] ] [] -URL Specifies an URL @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index 67c54b9cb..0c6bf76aa 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -1,12 +1,12 @@ -The *open-flight-radar.ps1* Script -=========================== +PowerShell Script: *open-flight-radar.ps1* +=================================== This PowerShell script launches the Web browser with the FlightRadar24 website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-flight-radar.ps1 [] +PS> ./open-flight-radar.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index d0ef87b05..cdd448200 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -1,12 +1,12 @@ -The *open-g-drive.ps1* Script -=========================== +PowerShell Script: *open-g-drive.ps1* +=================================== This PowerShell script launches the File Explorer with the G: drive folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-g-drive.ps1 [] +PS> ./open-g-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index 41e40ec69..f00856088 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -1,12 +1,12 @@ -The *open-git-extensions.ps1* Script -=========================== +PowerShell Script: *open-git-extensions.ps1* +=================================== This PowerShell script launches the Git Extensions application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-git-extensions.ps1 [] +PS> ./open-git-extensions.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index f24d6c952..bf579fe73 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -1,12 +1,12 @@ -The *open-google-books.ps1* Script -=========================== +PowerShell Script: *open-google-books.ps1* +=================================== This PowerShell script launches the Web browser with the Google Books website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-google-books.ps1 [] +PS> ./open-google-books.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index 5b9bd1d45..d22f0e087 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -1,12 +1,12 @@ -The *open-google-calendar.ps1* Script -=========================== +PowerShell Script: *open-google-calendar.ps1* +=================================== This PowerShell script launches the Web browser with the Google Calendar website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-google-calendar.ps1 [] +PS> ./open-google-calendar.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index af2bd9dbd..56cdd6ba5 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -1,12 +1,12 @@ -The *open-google-contacts.ps1* Script -=========================== +PowerShell Script: *open-google-contacts.ps1* +=================================== This PowerShell script launches the Web browser with the Google Contacts website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-google-contacts.ps1 [] +PS> ./open-google-contacts.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index de1a1bf81..46c91cbfd 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -1,12 +1,12 @@ -The *open-google-docs.ps1* Script -=========================== +PowerShell Script: *open-google-docs.ps1* +=================================== This PowerShell script launches the Web browser with the Google Docs website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-google-docs.ps1 [] +PS> ./open-google-docs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 75b312d09..79730c90e 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -1,12 +1,12 @@ -The *open-google-earth.ps1* Script -=========================== +PowerShell Script: *open-google-earth.ps1* +=================================== This PowerShell script launches the Web browser with the Google Earth website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-google-earth.ps1 [] +PS> ./open-google-earth.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index db00780de..67a7fa40b 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -1,12 +1,12 @@ -The *open-google-mail.ps1* Script -=========================== +PowerShell Script: *open-google-mail.ps1* +=================================== This PowerShell script launches the Web browser with the Google Mail website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-google-mail.ps1 [] +PS> ./open-google-mail.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index 44c2d7d47..4f62127e4 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -1,12 +1,12 @@ -The *open-google-maps.ps1* Script -=========================== +PowerShell Script: *open-google-maps.ps1* +=================================== This PowerShell script launches the Web browser with the Google Maps website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-google-maps.ps1 [] +PS> ./open-google-maps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index 9a3878a2e..fe967e85e 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -1,12 +1,12 @@ -The *open-google-news.ps1* Script -=========================== +PowerShell Script: *open-google-news.ps1* +=================================== This PowerShell script launches the Web browser with the Google News website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-google-news.ps1 [] +PS> ./open-google-news.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index 9ef245a24..3fe4fe071 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -1,12 +1,12 @@ -The *open-google-photos.ps1* Script -=========================== +PowerShell Script: *open-google-photos.ps1* +=================================== This PowerShell script launches the Web browser with the Google Photos website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-google-photos.ps1 [] +PS> ./open-google-photos.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index 5f352c36c..300486a23 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -1,12 +1,12 @@ -The *open-google-play.ps1* Script -=========================== +PowerShell Script: *open-google-play.ps1* +=================================== This PowerShell script launches the Web browser with the Google Play website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-google-play.ps1 [] +PS> ./open-google-play.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index 3f37d1ede..3120a9d45 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -1,12 +1,12 @@ -The *open-google-search.ps1* Script -=========================== +PowerShell Script: *open-google-search.ps1* +=================================== This PowerShell script launches the Web browser with the Google Search website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-google-search.ps1 [] +PS> ./open-google-search.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index fdc04badb..1998e0a95 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -1,12 +1,12 @@ -The *open-google-stadia.ps1* Script -=========================== +PowerShell Script: *open-google-stadia.ps1* +=================================== This PowerShell script launches the Web browser with the Google Stadia website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-google-stadia.ps1 [] +PS> ./open-google-stadia.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index af904b402..220b19b36 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -1,12 +1,12 @@ -The *open-google-translate.ps1* Script -=========================== +PowerShell Script: *open-google-translate.ps1* +=================================== This PowerShell script launches the Web browser with the Google Translate website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-google-translate.ps1 [] +PS> ./open-google-translate.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index b8524a910..683022445 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -1,12 +1,12 @@ -The *open-home-folder.ps1* Script -=========================== +PowerShell Script: *open-home-folder.ps1* +=================================== This script launches the File Explorer with the user's home folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-home-folder.ps1 [] +PS> ./open-home-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 8da651ab1..14cac10d9 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -1,12 +1,12 @@ -The *open-internet-archive.ps1* Script -=========================== +PowerShell Script: *open-internet-archive.ps1* +=================================== This script launches the Web browser with the Internet Archive website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-internet-archive.ps1 [] +PS> ./open-internet-archive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index 60d7476c9..4cd38a587 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -1,12 +1,12 @@ -The *open-jitsi-meet.ps1* Script -=========================== +PowerShell Script: *open-jitsi-meet.ps1* +=================================== This script launches the Web browser with the Jitsi Meet website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-jitsi-meet.ps1 [] +PS> ./open-jitsi-meet.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index 962e1d652..7007db88d 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -1,12 +1,12 @@ -The *open-m-drive.ps1* Script -=========================== +PowerShell Script: *open-m-drive.ps1* +=================================== This script launches the File Explorer with the M: drive folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-m-drive.ps1 [] +PS> ./open-m-drive.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index 839df1bc8..94a100046 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -1,12 +1,12 @@ -The *open-magnifier.ps1* Script -=========================== +PowerShell Script: *open-magnifier.ps1* +=================================== This script launches the Windows Screen Magnifier application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-magnifier.ps1 [] +PS> ./open-magnifier.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index 5bc7d2b20..cce9623e2 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -1,12 +1,12 @@ -The *open-microsoft-paint.ps1* Script -=========================== +PowerShell Script: *open-microsoft-paint.ps1* +=================================== This script launches the Microsoft Paint application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-microsoft-paint.ps1 [] +PS> ./open-microsoft-paint.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index bd7d23a88..18fb51f0b 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -1,12 +1,12 @@ -The *open-microsoft-solitaire.ps1* Script -=========================== +PowerShell Script: *open-microsoft-solitaire.ps1* +=================================== This script launches the Microsoft Solitaire application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-microsoft-solitaire.ps1 [] +PS> ./open-microsoft-solitaire.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index f0b24a22f..6e0f6af45 100644 --- a/docs/open-microsoft-store.md +++ b/docs/open-microsoft-store.md @@ -1,12 +1,12 @@ -The *open-microsoft-store.ps1* Script -=========================== +PowerShell Script: *open-microsoft-store.ps1* +=================================== This script launches the Microsoft Store application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-microsoft-store.ps1 [] +PS> ./open-microsoft-store.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Start-Process ms-windows-store: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index 5cc444866..159705e45 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -1,12 +1,12 @@ -The *open-microsoft-teams.ps1* Script -=========================== +PowerShell Script: *open-microsoft-teams.ps1* +=================================== This script launches the Microsoft Teams application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-microsoft-teams.ps1 [] +PS> ./open-microsoft-teams.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index c7c051fad..85162de28 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -1,12 +1,12 @@ -The *open-music-folder.ps1* Script -=========================== +PowerShell Script: *open-music-folder.ps1* +=================================== This script launches the File Explorer with the user's music folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-music-folder.ps1 [] +PS> ./open-music-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index 1e324d067..84bd76597 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -1,12 +1,12 @@ -The *open-netflix.ps1* Script -=========================== +PowerShell Script: *open-netflix.ps1* +=================================== This script launches the Netflix application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-netflix.ps1 [] +PS> ./open-netflix.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Start-Process netflix: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index d449fb45e..7359e4a08 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -1,12 +1,12 @@ -The *open-notepad.ps1* Script -=========================== +PowerShell Script: *open-notepad.ps1* +=================================== This PowerShell script launches the Notepad application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-notepad.ps1 [] +PS> ./open-notepad.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index ca07a6279..fe2e82013 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -1,12 +1,12 @@ -The *open-obs-studio.ps1* Script -=========================== +PowerShell Script: *open-obs-studio.ps1* +=================================== This script launches the OBS Studio application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-obs-studio.ps1 [] +PS> ./open-obs-studio.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index 2f65ea3da..b8e9da933 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -1,12 +1,12 @@ -The *open-office-365.ps1* Script -=========================== +PowerShell Script: *open-office-365.ps1* +=================================== This script launches the Web browser with the Microsoft Office 365 website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-office-365.ps1 [] +PS> ./open-office-365.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index 65d8ec565..223ecf67d 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -1,12 +1,12 @@ -The *open-one-drive-folder.ps1* Script -=========================== +PowerShell Script: *open-one-drive-folder.ps1* +=================================== This script launches the File Explorer with the user's OneDrive folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-one-drive-folder.ps1 [] +PS> ./open-one-drive-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index a3371d170..be2d3c7e5 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -1,12 +1,12 @@ -The *open-outlook.ps1* Script -=========================== +PowerShell Script: *open-outlook.ps1* +=================================== This script launches the Microsoft Outlook email application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-outlook.ps1 [] +PS> ./open-outlook.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index b7d5d64bf..6243a7edc 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -1,12 +1,12 @@ -The *open-paint-three-d.ps1* Script -=========================== +PowerShell Script: *open-paint-three-d.ps1* +=================================== This script launches the Paint 3D application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-paint-three-d.ps1 [] +PS> ./open-paint-three-d.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:24)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index d2590701a..9934e3eed 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -1,12 +1,12 @@ -The *open-pictures-folder.ps1* Script -=========================== +PowerShell Script: *open-pictures-folder.ps1* +=================================== This script launches the File Explorer with the user's pictures folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-pictures-folder.ps1 [] +PS> ./open-pictures-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index 83dfacbfa..fdf44ea2b 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -1,5 +1,5 @@ -The *open-rdp.ps1* Script -=========================== +PowerShell Script: *open-rdp.ps1* +=================================== This script launches the Remote Desktop Protocol (RDP) application. NOTE: Documentation of mstsc at: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/mstsc @@ -7,7 +7,7 @@ NOTE: Documentation of mstsc at: https://learn.microsoft.com/en-us/windows-serve Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-rdp.ps1 [[-hostname] ] [] +PS> ./open-rdp.ps1 [[-hostname] ] [] -hostname @@ -67,4 +67,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index 5a7237bcc..e16096e28 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -1,12 +1,12 @@ -The *open-recycle-bin-folder.ps1* Script -=========================== +PowerShell Script: *open-recycle-bin-folder.ps1* +=================================== This script launches the File Explorer with the user's recycle bin folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-recycle-bin-folder.ps1 [] +PS> ./open-recycle-bin-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index 7d2eddcf6..34a01195b 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -1,12 +1,12 @@ -The *open-remote-desktop.ps1* Script -=========================== +PowerShell Script: *open-remote-desktop.ps1* +=================================== This script launches the Remote Desktop application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-remote-desktop.ps1 [] +PS> ./open-remote-desktop.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index dc6def164..968e1dece 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -1,12 +1,12 @@ -The *open-repos-folder.ps1* Script -=========================== +PowerShell Script: *open-repos-folder.ps1* +=================================== This script launches the File Explorer with the user's Git repositories folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-repos-folder.ps1 [] +PS> ./open-repos-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index 18f1d7b72..160d49460 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -1,12 +1,12 @@ -The *open-screen-clip.ps1* Script -=========================== +PowerShell Script: *open-screen-clip.ps1* +=================================== This script launches the Screen Clip application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-screen-clip.ps1 [] +PS> ./open-screen-clip.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index c9e4db73f..a2d771cf8 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -1,12 +1,12 @@ -The *open-screen-sketch.ps1* Script -=========================== +PowerShell Script: *open-screen-sketch.ps1* +=================================== This script launches the Screen Sketch application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-screen-sketch.ps1 [] +PS> ./open-screen-sketch.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-skype.md b/docs/open-skype.md index c1abc3e0c..69c451d89 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -1,12 +1,12 @@ -The *open-skype.ps1* Script -=========================== +PowerShell Script: *open-skype.ps1* +=================================== This script launches the Skype application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-skype.ps1 [] +PS> ./open-skype.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index e5feed5a2..2db8d12fb 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -1,12 +1,12 @@ -The *open-snipping-tool.ps1* Script -=========================== +PowerShell Script: *open-snipping-tool.ps1* +=================================== This script launches the Snipping Tool application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-snipping-tool.ps1 [] +PS> ./open-snipping-tool.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Start-Process SnippingTool.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index 330aab15f..de594bfa8 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -1,12 +1,12 @@ -The *open-speed-test.ps1* Script -=========================== +PowerShell Script: *open-speed-test.ps1* +=================================== This script launches the Web browser with Cloudflare's speed test website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-speed-test.ps1 [] +PS> ./open-speed-test.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index 6fd468af5..5e92a53e8 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -1,12 +1,12 @@ -The *open-spotify.ps1* Script -=========================== +PowerShell Script: *open-spotify.ps1* +=================================== This script launches the Spotify application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-spotify.ps1 [] +PS> ./open-spotify.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Start-Process spotify: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index 11b687f0c..61dc574c2 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -1,12 +1,12 @@ -The *open-stack-overflow.ps1* Script -=========================== +PowerShell Script: *open-stack-overflow.ps1* +=================================== This script launches the Web browser with the Stack Overflow website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-stack-overflow.ps1 [] +PS> ./open-stack-overflow.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 169e219c7..0e5cb01a7 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -1,12 +1,12 @@ -The *open-start-page.ps1* Script -=========================== +PowerShell Script: *open-start-page.ps1* +=================================== This script launches the Web browser with the Startpage website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-start-page.ps1 [] +PS> ./open-start-page.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index 7de830d29..c27f173a0 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -1,12 +1,12 @@ -The *open-street-map.ps1* Script -=========================== +PowerShell Script: *open-street-map.ps1* +=================================== This script launches the Web browser with the OpenStreetMap website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-street-map.ps1 [] +PS> ./open-street-map.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index 0b5548f8b..0dc9a28c7 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -1,12 +1,12 @@ -The *open-task-manager.ps1* Script -=========================== +PowerShell Script: *open-task-manager.ps1* +=================================== This script launches the Windows Task Manager application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-task-manager.ps1 [] +PS> ./open-task-manager.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index 27498d35b..54d2f60bc 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -1,12 +1,12 @@ -The *open-temporary-folder.ps1* Script -=========================== +PowerShell Script: *open-temporary-folder.ps1* +=================================== This script launches the File Explorer showing the temporary folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-temporary-folder.ps1 [] +PS> ./open-temporary-folder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index 48dc82fc6..bdbdebc29 100644 --- a/docs/open-three-d-viewer.md +++ b/docs/open-three-d-viewer.md @@ -1,12 +1,12 @@ -The *open-three-d-viewer.ps1* Script -=========================== +PowerShell Script: *open-three-d-viewer.ps1* +=================================== This script launches the 3D-Viewer application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-three-d-viewer.ps1 [] +PS> ./open-three-d-viewer.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Start-Process com.microsoft.3dviewer: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index 1b04bab65..5f05f95e1 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -1,12 +1,12 @@ -The *open-thunderbird.ps1* Script -=========================== +PowerShell Script: *open-thunderbird.ps1* +=================================== This script launches the Mozilla Thunderbird email application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-thunderbird.ps1 [] +PS> ./open-thunderbird.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index ca43226f5..9f40840a5 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -1,12 +1,12 @@ -The *open-videos-folders.ps1* Script -=========================== +PowerShell Script: *open-videos-folders.ps1* +=================================== This script launches the File Explorer with the user's videos folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-videos-folders.ps1 [] +PS> ./open-videos-folders.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index 24b39d010..e3ffa7a79 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -1,12 +1,12 @@ -The *open-visual-studio.ps1* Script -=========================== +PowerShell Script: *open-visual-studio.ps1* +=================================== This PowerShell script launches the Microsoft Visual Studio application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-visual-studio.ps1 [] +PS> ./open-visual-studio.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index f77633f5f..6d7b5ac77 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -1,12 +1,12 @@ -The *open-voice-recorder.ps1* Script -=========================== +PowerShell Script: *open-voice-recorder.ps1* +=================================== This PowerShell script launches the Windows Voice Recorder application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-voice-recorder.ps1 [] +PS> ./open-voice-recorder.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 9528411a9..20583babe 100644 --- a/docs/open-vpn-settings.md +++ b/docs/open-vpn-settings.md @@ -1,12 +1,12 @@ -The *open-vpn-settings.ps1* Script -=========================== +PowerShell Script: *open-vpn-settings.ps1* +=================================== This PowerShell script launches the VPN settings of Windows. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-vpn-settings.ps1 [] +PS> ./open-vpn-settings.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Start-Process ms-settings:network-vpn exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index a864b6018..61ce0273a 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -1,12 +1,12 @@ -The *open-windows-defender.ps1* Script -=========================== +PowerShell Script: *open-windows-defender.ps1* +=================================== This script launches the Windows Defender application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-windows-defender.ps1 [] +PS> ./open-windows-defender.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Start-Process windowsdefender: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index 1bab23281..6f663d995 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -1,12 +1,12 @@ -The *open-windows-terminal.ps1* Script -=========================== +PowerShell Script: *open-windows-terminal.ps1* +=================================== This script launches the Windows Terminal application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-windows-terminal.ps1 [] +PS> ./open-windows-terminal.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Start-Process wt.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-windy.md b/docs/open-windy.md index 95de06c70..ca7f5bdfb 100644 --- a/docs/open-windy.md +++ b/docs/open-windy.md @@ -1,12 +1,12 @@ -The *open-windy.ps1* Script -=========================== +PowerShell Script: *open-windy.ps1* +=================================== This script launches the Web browser with the Windy Weather Radar website. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-windy.ps1 [] +PS> ./open-windy.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/open-xing.md b/docs/open-xing.md index 0b0bbfe29..f68742fca 100644 --- a/docs/open-xing.md +++ b/docs/open-xing.md @@ -1,12 +1,12 @@ -The *open-xing.ps1* Script -=========================== +PowerShell Script: *open-xing.ps1* +=================================== This script launches the XING application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/open-xing.ps1 [] +PS> ./open-xing.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Start-Process xing: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index 6421546f8..68084eba6 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -1,5 +1,5 @@ -The *pick-commit.ps1* Script -=========================== +PowerShell Script: *pick-commit.ps1* +=================================== Cherry-picks a Git commit into one or more branches (branch names need to be separated by spaces) NOTE: in case of merge conflicts the script stops immediately! @@ -7,7 +7,7 @@ NOTE: in case of merge conflicts the script stops immediately! Parameters ---------- ```powershell -/Repos/PowerShell/scripts/pick-commit.ps1 [[-CommitID] ] [[-CommitMessage] ] [[-Branches] ] [[-RepoDir] ] [] +PS> ./pick-commit.ps1 [[-CommitID] ] [[-CommitMessage] ] [[-Branches] ] [[-RepoDir] ] [] -CommitID Specifies the commit ID @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/ping-host.md b/docs/ping-host.md index 12771413d..6721838a7 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -1,12 +1,12 @@ -The *ping-host.ps1* Script -=========================== +PowerShell Script: *ping-host.ps1* +=================================== This PowerShell script pings the given host. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/ping-host.ps1 [[-hostname] ] [] +PS> ./ping-host.ps1 [[-hostname] ] [] -hostname Specifies the hostname or IP address to ping (x.com by default) @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index d97e0b862..e112e87e7 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -1,12 +1,12 @@ -The *ping-internet.ps1* Script -=========================== +PowerShell Script: *ping-internet.ps1* +=================================== -This PowerShell script measures the ping roundtrip times from the local computer to remote ones (10 Internet servers by default). +This PowerShell script measures the ping roundtrip times from the local computer to 10 Internet servers. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/ping-internet.ps1 [[-hosts] ] [] +PS> ./ping-internet.ps1 [[-hosts] ] [] -hosts Specifies the hosts to ping, seperated by commata (10 Internet servers by default) @@ -27,7 +27,7 @@ Example ------- ```powershell PS> ./ping-internet.ps1 -✅ Internet ping: 12ms (9...18ms range) +✅ Internet ping is 12ms (9...18ms range) ``` @@ -44,14 +44,14 @@ Script Content ```powershell <# .SYNOPSIS - Pings remote hosts to measure the latency + Measures the latency to Internet hosts .DESCRIPTION - This PowerShell script measures the ping roundtrip times from the local computer to remote ones (10 Internet servers by default). + This PowerShell script measures the ping roundtrip times from the local computer to 10 Internet servers. .PARAMETER hosts Specifies the hosts to ping, seperated by commata (10 Internet servers by default) .EXAMPLE PS> ./ping-internet.ps1 - ✅ Internet ping: 12ms (9...18ms range) + ✅ Internet ping is 12ms (9...18ms range) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -83,13 +83,13 @@ try { Write-Host "✅ Online with $loss/$total ping loss and $($min)...$($max)ms latency - $($speed)ms average" } else { [float]$speed = [math]::round([float]$avg / [float]$success, 1) - Write-Host "✅ Internet ping: $($speed)ms ($min...$($max)ms range)" + Write-Host "✅ Internet ping is $($speed)ms ($min...$($max)ms range)" } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index 8a64f0d89..f7a88a7ed 100644 --- a/docs/ping-local-devices.md +++ b/docs/ping-local-devices.md @@ -1,12 +1,12 @@ -The *ping-local-devices.ps1* Script -=========================== +PowerShell Script: *ping-local-devices.ps1* +=================================== This PowerShell script pings devices in the local network and lists which one are up. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/ping-local-devices.ps1 [[-timeout] ] [] +PS> ./ping-local-devices.ps1 [[-timeout] ] [] -timeout @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index 7bbc1a458..68227ae84 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -1,12 +1,12 @@ -The *ping-weather.ps1* Script -=========================== +PowerShell Script: *ping-weather.ps1* +=================================== This PowerShell script continuously shows the current weather conditions (similar to htop, 10 min update interval by default). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/ping-weather.ps1 [[-Location] ] [[-UpdateInterval] ] [] +PS> ./ping-weather.ps1 [[-Location] ] [[-UpdateInterval] ] [] -Location Specifies the location to use (determined automatically per default) @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index 3c3b6b48e..f17daa850 100644 --- a/docs/play-bee-sound.md +++ b/docs/play-bee-sound.md @@ -1,12 +1,12 @@ -The *play-bee-sound.ps1* Script -=========================== +PowerShell Script: *play-bee-sound.ps1* +=================================== This PowerShell script plays a bee sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-bee-sound.ps1 [] +PS> ./play-bee-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index ef96ed671..c1cd339ce 100644 --- a/docs/play-beep-sound.md +++ b/docs/play-beep-sound.md @@ -1,12 +1,12 @@ -The *play-beep-sound.ps1* Script -=========================== +PowerShell Script: *play-beep-sound.ps1* +=================================== This PowerShell script plays a short beep sound at 500Hz for 300ms. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-beep-sound.ps1 [] +PS> ./play-beep-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -51,4 +51,4 @@ Start-Sleep -milliseconds 300 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index d39607cbc..5a427ab3d 100644 --- a/docs/play-big-ben.md +++ b/docs/play-big-ben.md @@ -1,12 +1,12 @@ -The *play-big-ben.ps1* Script -=========================== +PowerShell Script: *play-big-ben.ps1* +=================================== This PowerShell script plays the sound of Big Ben. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-big-ben.ps1 [] +PS> ./play-big-ben.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index 16b52ba07..607c48379 100644 --- a/docs/play-cat-sound.md +++ b/docs/play-cat-sound.md @@ -1,12 +1,12 @@ -The *play-cat-sound.ps1* Script -=========================== +PowerShell Script: *play-cat-sound.ps1* +=================================== This PowerShell script plays a cat sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-cat-sound.ps1 [] +PS> ./play-cat-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/play-chess.md b/docs/play-chess.md index 5cd659f2d..4b4f31a86 100644 --- a/docs/play-chess.md +++ b/docs/play-chess.md @@ -1,5 +1,5 @@ -The *play-chess.ps1* Script -=========================== +PowerShell Script: *play-chess.ps1* +=================================== Started off of code from https://github.com/bhassen99/POSH-Chess, which was very much incomplete. I kept the board shape, but have changed everything else. @@ -9,7 +9,7 @@ they only appear when run in PowerShell ISE. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-chess.ps1 [] +PS> ./play-chess.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -1260,4 +1260,4 @@ while ($Script:gameStatus -eq [gamestatus]::ongoing) { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index 2d250b0f5..4093621a2 100644 --- a/docs/play-cow-sound.md +++ b/docs/play-cow-sound.md @@ -1,12 +1,12 @@ -The *play-cow-sound.ps1* Script -=========================== +PowerShell Script: *play-cow-sound.ps1* +=================================== This PowerShell script plays a cow sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-cow-sound.ps1 [] +PS> ./play-cow-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index 606291f66..f4e1427b6 100644 --- a/docs/play-dog-sound.md +++ b/docs/play-dog-sound.md @@ -1,12 +1,12 @@ -The *play-dog-sound.ps1* Script -=========================== +PowerShell Script: *play-dog-sound.ps1* +=================================== This PowerShell script plays a dog sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-dog-sound.ps1 [] +PS> ./play-dog-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index ea5c72640..eed239ab8 100644 --- a/docs/play-donkey-sound.md +++ b/docs/play-donkey-sound.md @@ -1,12 +1,12 @@ -The *play-donkey-sound.ps1* Script -=========================== +PowerShell Script: *play-donkey-sound.ps1* +=================================== This PowerShell script plays a donkey sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-donkey-sound.ps1 [] +PS> ./play-donkey-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* diff --git a/docs/play-drug-wars.md b/docs/play-drug-wars.md index 0a89d94f2..f3bc4ed26 100644 --- a/docs/play-drug-wars.md +++ b/docs/play-drug-wars.md @@ -1,5 +1,5 @@ -The *play-drug-wars.ps1* Script -=========================== +PowerShell Script: *play-drug-wars.ps1* +=================================== play-drug-wars.ps1 [-SkipConsoleSizeCheck] @@ -5400,4 +5400,4 @@ while ($script:Playing) { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index 681338a6f..91c096e51 100644 --- a/docs/play-elephant-sound.md +++ b/docs/play-elephant-sound.md @@ -1,12 +1,12 @@ -The *play-elephant-sound.ps1* Script -=========================== +PowerShell Script: *play-elephant-sound.ps1* +=================================== This PowerShell script plays an elephant sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-elephant-sound.ps1 [] +PS> ./play-elephant-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index 2930611c8..8f1170391 100644 --- a/docs/play-elk-sound.md +++ b/docs/play-elk-sound.md @@ -1,12 +1,12 @@ -The *play-elk-sound.ps1* Script -=========================== +PowerShell Script: *play-elk-sound.ps1* +=================================== This PowerShell script plays an elk sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-elk-sound.ps1 [] +PS> ./play-elk-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-files.md b/docs/play-files.md index 78fd7aa96..38256bb90 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -1,12 +1,12 @@ -The *play-files.ps1* Script -=========================== +PowerShell Script: *play-files.ps1* +=================================== This PowerShell script plays the given audio files (supporting .MP3 and .WAV format). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-files.ps1 [[-filePattern] ] [] +PS> ./play-files.ps1 [[-filePattern] ] [] -filePattern Specifies the file pattern ('*' by default) @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index 1f159c120..56a2296f4 100644 --- a/docs/play-frog-sound.md +++ b/docs/play-frog-sound.md @@ -1,12 +1,12 @@ -The *play-frog-sound.ps1* Script -=========================== +PowerShell Script: *play-frog-sound.ps1* +=================================== This PowerShell script plays a frog sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-frog-sound.ps1 [] +PS> ./play-frog-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index c84fe3a9e..26f9cbb85 100644 --- a/docs/play-goat-sound.md +++ b/docs/play-goat-sound.md @@ -1,12 +1,12 @@ -The *play-goat-sound.ps1* Script -=========================== +PowerShell Script: *play-goat-sound.ps1* +=================================== This PowerShell script plays a goat sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-goat-sound.ps1 [] +PS> ./play-goat-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index ebb7444af..2502068f7 100644 --- a/docs/play-gorilla-sound.md +++ b/docs/play-gorilla-sound.md @@ -1,12 +1,12 @@ -The *play-gorilla-sound.ps1* Script -=========================== +PowerShell Script: *play-gorilla-sound.ps1* +=================================== This PowerShell script plays a gorilla sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-gorilla-sound.ps1 [] +PS> ./play-gorilla-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index 37dbed203..9f913d5ff 100644 --- a/docs/play-happy-birthday.md +++ b/docs/play-happy-birthday.md @@ -1,12 +1,12 @@ -The *play-happy-birthday.ps1* Script -=========================== +PowerShell Script: *play-happy-birthday.ps1* +=================================== This PowerShell script plays the famous Happy Birthday song. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-happy-birthday.ps1 [] +PS> ./play-happy-birthday.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 2fb9d5641..591e3290a 100644 --- a/docs/play-horse-sound.md +++ b/docs/play-horse-sound.md @@ -1,12 +1,12 @@ -The *play-horse-sound.ps1* Script -=========================== +PowerShell Script: *play-horse-sound.ps1* +=================================== This PowerShell script plays a horse sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-horse-sound.ps1 [] +PS> ./play-horse-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index 8a4528b18..0b2b9b384 100644 --- a/docs/play-imperial-march.md +++ b/docs/play-imperial-march.md @@ -1,12 +1,12 @@ -The *play-imperial-march.ps1* Script -=========================== +PowerShell Script: *play-imperial-march.ps1* +=================================== This PowerShell script plays the Imperial March used in the Star Wars film series. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-imperial-march.ps1 [] +PS> ./play-imperial-march.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index b95e3da00..c8c784cd8 100644 --- a/docs/play-jingle-bells.md +++ b/docs/play-jingle-bells.md @@ -1,12 +1,12 @@ -The *play-jingle-bells.ps1* Script -=========================== +PowerShell Script: *play-jingle-bells.ps1* +=================================== This PowerShell script plays the famous Jingle Bells song. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-jingle-bells.ps1 [] +PS> ./play-jingle-bells.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -201,4 +201,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index fac715672..d7071b2ba 100644 --- a/docs/play-lion-sound.md +++ b/docs/play-lion-sound.md @@ -1,12 +1,12 @@ -The *play-lion-sound.ps1* Script -=========================== +PowerShell Script: *play-lion-sound.ps1* +=================================== This PowerShell script plays a lion sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-lion-sound.ps1 [] +PS> ./play-lion-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index cd1972a41..8770a4ae0 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -1,12 +1,12 @@ -The *play-m3u.ps1* Script -=========================== +PowerShell Script: *play-m3u.ps1* +=================================== This PowerShell script plays the given playlist (in .M3U file format) Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-m3u.ps1 [[-filename] ] [] +PS> ./play-m3u.ps1 [[-filename] ] [] -filename Specifies the path to the playlist @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index ac705116f..874659a72 100644 --- a/docs/play-mission-impossible.md +++ b/docs/play-mission-impossible.md @@ -1,12 +1,12 @@ -The *play-mission-impossible.ps1* Script -=========================== +PowerShell Script: *play-mission-impossible.ps1* +=================================== This PowerShell script plays the Mission Impossible theme. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-mission-impossible.ps1 [] +PS> ./play-mission-impossible.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index d3b311811..250af8d7a 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -1,12 +1,12 @@ -The *play-mp3.ps1* Script -=========================== +PowerShell Script: *play-mp3.ps1* +=================================== This PowerShell script plays the given sound file (MPEG-1 audio layer-3 file format). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-mp3.ps1 [[-path] ] [] +PS> ./play-mp3.ps1 [[-path] ] [] -path Specifies the file path to the .MP3 file @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index 846adf15b..984249e54 100644 --- a/docs/play-parrot-sound.md +++ b/docs/play-parrot-sound.md @@ -1,12 +1,12 @@ -The *play-parrot-sound.ps1* Script -=========================== +PowerShell Script: *play-parrot-sound.ps1* +=================================== This PowerShell script plays a parrot sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-parrot-sound.ps1 [] +PS> ./play-parrot-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index 5fcd5173a..1be20dffb 100644 --- a/docs/play-pig-sound.md +++ b/docs/play-pig-sound.md @@ -1,12 +1,12 @@ -The *play-pig-sound.ps1* Script -=========================== +PowerShell Script: *play-pig-sound.ps1* +=================================== This PowerShell script plays a pig sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-pig-sound.ps1 [] +PS> ./play-pig-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-pong.md b/docs/play-pong.md index 719198c6f..572d28ee8 100644 --- a/docs/play-pong.md +++ b/docs/play-pong.md @@ -1,5 +1,5 @@ -The *play-pong.ps1* Script -=========================== +PowerShell Script: *play-pong.ps1* +=================================== play-pong.ps1 @@ -176,4 +176,4 @@ while ($true) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index 22c754226..19a013e9b 100644 --- a/docs/play-rattlesnake-sound.md +++ b/docs/play-rattlesnake-sound.md @@ -1,12 +1,12 @@ -The *play-rattlesnake-sound.ps1* Script -=========================== +PowerShell Script: *play-rattlesnake-sound.ps1* +=================================== This PowerShell script plays a rattlesnake sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-rattlesnake-sound.ps1 [] +PS> ./play-rattlesnake-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 2ffbf066b..1187aa429 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -1,12 +1,12 @@ -The *play-rick.ps1* Script -=========================== +PowerShell Script: *play-rick.ps1* +=================================== This PowerShell script launches the Web browser with YouTube playing Rick Astley. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-rick.ps1 [] +PS> ./play-rick.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -49,4 +49,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-snake.md b/docs/play-snake.md index cad1f0545..447c75abe 100644 --- a/docs/play-snake.md +++ b/docs/play-snake.md @@ -1,5 +1,5 @@ -The *play-snake.ps1* Script -=========================== +PowerShell Script: *play-snake.ps1* +=================================== This PowerShell script lets you play the famous Snake game. NOTE: use the arrow keys to control the snake @@ -7,7 +7,7 @@ NOTE: use the arrow keys to control the snake Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-snake.ps1 [] +PS> ./play-snake.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -86,4 +86,4 @@ Start-Sleep -milliseconds 300 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index adf2e06fd..0a8ba2941 100644 --- a/docs/play-super-mario.md +++ b/docs/play-super-mario.md @@ -1,12 +1,12 @@ -The *play-super-mario.ps1* Script -=========================== +PowerShell Script: *play-super-mario.ps1* +=================================== This PowerShell script plays the Super Mario intro. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-super-mario.ps1 [] +PS> ./play-super-mario.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -71,4 +71,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index e3cb0feda..8ec2edb4c 100644 --- a/docs/play-system-sounds.md +++ b/docs/play-system-sounds.md @@ -1,5 +1,5 @@ -The *play-system-sounds.ps1* Script -=========================== +PowerShell Script: *play-system-sounds.ps1* +=================================== play-system-sounds.ps1 @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index 687ce139d..875b77f95 100644 --- a/docs/play-tetris-melody.md +++ b/docs/play-tetris-melody.md @@ -1,12 +1,12 @@ -The *play-tetris-melody.ps1* Script -=========================== +PowerShell Script: *play-tetris-melody.ps1* +=================================== This PowerShell script plays the Tetris melody. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-tetris-melody.ps1 [] +PS> ./play-tetris-melody.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -161,4 +161,4 @@ Start-Sleep -milliseconds 500 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index e35780435..16cc35be7 100644 --- a/docs/play-vulture-sound.md +++ b/docs/play-vulture-sound.md @@ -1,12 +1,12 @@ -The *play-vulture-sound.ps1* Script -=========================== +PowerShell Script: *play-vulture-sound.ps1* +=================================== This PowerShell script plays a vulture sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-vulture-sound.ps1 [] +PS> ./play-vulture-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index ef8665900..45f99b052 100644 --- a/docs/play-wolf-sound.md +++ b/docs/play-wolf-sound.md @@ -1,12 +1,12 @@ -The *play-wolf-sound.ps1* Script -=========================== +PowerShell Script: *play-wolf-sound.ps1* +=================================== This PowerShell script plays a wolf sound. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/play-wolf-sound.ps1 [] +PS> ./play-wolf-sound.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/poweroff.md b/docs/poweroff.md index 36b66f103..bacbc5255 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -1,12 +1,12 @@ -The *poweroff.ps1* Script -=========================== +PowerShell Script: *poweroff.ps1* +=================================== This script halts the local computer immediately (needs admin rights). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/poweroff.ps1 [] +PS> ./poweroff.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/print-image.md b/docs/print-image.md index 545663c85..08304e5e8 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -1,12 +1,12 @@ -The *print-image.ps1* Script -=========================== +PowerShell Script: *print-image.ps1* +=================================== This PowerShell script shows the printer dialogue to print the given image file. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/print-image.ps1 [[-Path] ] [] +PS> ./print-image.ps1 [[-Path] ] [] -Path Specifies the path to the image file @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index 8b0880f91..d72683144 100644 --- a/docs/publish-to-ipfs.md +++ b/docs/publish-to-ipfs.md @@ -1,12 +1,12 @@ -The *publish-to-ipfs.ps1* Script -=========================== +PowerShell Script: *publish-to-ipfs.ps1* +=================================== This script publishes the given files and folders to IPFS. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/publish-to-ipfs.ps1 [[-FilePattern] ] [[-HashList] ] [[-DF_Hashes] ] [] +PS> ./publish-to-ipfs.ps1 [[-FilePattern] ] [[-HashList] ] [[-DF_Hashes] ] [] -FilePattern Specifies the file pattern @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index 3b25b9346..0dd330988 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -1,12 +1,12 @@ -The *pull-repo.ps1* Script -=========================== +PowerShell Script: *pull-repo.ps1* +=================================== This PowerShell script pulls remote updates into a local Git repository (including submodules). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/pull-repo.ps1 [[-path] ] [] +PS> ./pull-repo.ps1 [[-path] ] [] -path Specifies the file path to the local Git repository (default is working directory) @@ -96,9 +96,9 @@ try { "✅ Repo '$dirName' updated in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index d5209f322..354147e8d 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -1,12 +1,12 @@ -The *pull-repos.ps1* Script -=========================== +PowerShell Script: *pull-repos.ps1* +=================================== This PowerShell script pulls updates into all Git repositories in a folder (including submodules). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/pull-repos.ps1 [[-parentDir] ] [] +PS> ./pull-repos.ps1 [[-parentDir] ] [] -parentDir Specifies the path to the parent folder @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index cdfee5949..c9e8ee840 100644 --- a/docs/query-smart-data.md +++ b/docs/query-smart-data.md @@ -1,5 +1,5 @@ -The *query-smart-data.ps1* Script -=========================== +PowerShell Script: *query-smart-data.ps1* +=================================== Queries the S.M.A.R.T. data of your HDD/SSD's and saves it to the current/given directory. (use smart-data2csv.ps1 to generate a CSV table for analysis). @@ -8,7 +8,7 @@ Queries the S.M.A.R.T. data of your HDD/SSD's and saves it to the current/given Parameters ---------- ```powershell -/Repos/PowerShell/scripts/query-smart-data.ps1 [[-Directory] ] [] +PS> ./query-smart-data.ps1 [[-Directory] ] [] -Directory Specifies the path to the target directory @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index bcbe4196d..2a396fa6f 100644 --- a/docs/reboot-fritzbox.md +++ b/docs/reboot-fritzbox.md @@ -1,12 +1,12 @@ -The *reboot-fritzbox.ps1* Script -=========================== +PowerShell Script: *reboot-fritzbox.ps1* +=================================== This PowerShell script reboots the FRITZ!Box device Parameters ---------- ```powershell -/Repos/PowerShell/scripts/reboot-fritzbox.ps1 [[-Username] ] [[-Password] ] [] +PS> ./reboot-fritzbox.ps1 [[-Username] ] [[-Password] ] [] -Username Specifies the user name @@ -154,4 +154,4 @@ echo $Result exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/reboot-into-bios.md b/docs/reboot-into-bios.md index 4c6cbbeb8..313f7f4e9 100644 --- a/docs/reboot-into-bios.md +++ b/docs/reboot-into-bios.md @@ -1,5 +1,5 @@ -The *reboot-into-bios.ps1* Script -=========================== +PowerShell Script: *reboot-into-bios.ps1* +=================================== reboot-into-bios.ps1 @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/reboot.md b/docs/reboot.md index cb279e501..d835c84bd 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -1,12 +1,12 @@ -The *reboot.ps1* Script -=========================== +PowerShell Script: *reboot.ps1* +=================================== This PowerShell script reboots the local computer immediately (needs admin rights). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/reboot.ps1 [] +PS> ./reboot.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/remember.md b/docs/remember.md index 4c59f89c3..681650714 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -1,12 +1,12 @@ -The *remember.ps1* Script -=========================== +PowerShell Script: *remember.ps1* +=================================== This PowerShell script saves the given text to 'Remember.csv' in your home folder. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/remember.ps1 [[-text1] ] [[-text2] ] [[-text3] ] [] +PS> ./remember.ps1 [[-text1] ] [[-text2] ] [[-text3] ] [] -text1 Specifies the text to memorize @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/remind-me.md b/docs/remind-me.md index 16e799752..8eb447903 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -1,12 +1,12 @@ -The *remind-me.ps1* Script -=========================== +PowerShell Script: *remind-me.ps1* +=================================== This PowerShell script creates a scheduled task that will display a popup message. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/remind-me.ps1 [[-Message] ] [[-Time] ] [] +PS> ./remind-me.ps1 [[-Message] ] [[-Time] ] [] -Message @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/remove-dir.md b/docs/remove-dir.md index d63e94a26..12fcfa6a8 100644 --- a/docs/remove-dir.md +++ b/docs/remove-dir.md @@ -1,5 +1,5 @@ -The *remove-dir.ps1* Script -=========================== +PowerShell Script: *remove-dir.ps1* +=================================== This PowerShell script removes the given directory tree recursively. NOTE: Use with care! This cannot be undone! @@ -7,7 +7,7 @@ NOTE: Use with care! This cannot be undone! Parameters ---------- ```powershell -/Repos/PowerShell/scripts/remove-dir.ps1 [[-pathToDir] ] [] +PS> ./remove-dir.ps1 [[-pathToDir] ] [] -pathToDir Specifies the file path to the directory tree @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index 332fe5cb4..e0d1be127 100644 --- a/docs/remove-empty-dirs.md +++ b/docs/remove-empty-dirs.md @@ -1,12 +1,12 @@ -The *remove-empty-dirs.ps1* Script -=========================== +PowerShell Script: *remove-empty-dirs.ps1* +=================================== This PowerShell script removes all empty subfolders within a directory tree. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/remove-empty-dirs.ps1 [[-DirTree] ] [] +PS> ./remove-empty-dirs.ps1 [[-DirTree] ] [] -DirTree Specifies the path to the directory tree @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index e66439ef9..629cdc379 100644 --- a/docs/remove-old-dirs.md +++ b/docs/remove-old-dirs.md @@ -1,12 +1,12 @@ -The *remove-old-dirs.ps1* Script -=========================== +PowerShell Script: *remove-old-dirs.ps1* +=================================== This PowerShell script removes any subfolder in a parent folder older than (using last write time). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/remove-old-dirs.ps1 [[-path] ] [[-numDays] ] [] +PS> ./remove-old-dirs.ps1 [[-path] ] [[-numDays] ] [] -path Specifies the file path to the parent folder @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index f0040cf96..8e8b02d6d 100644 --- a/docs/remove-print-jobs.md +++ b/docs/remove-print-jobs.md @@ -1,12 +1,12 @@ -The *remove-print-jobs.ps1* Script -=========================== +PowerShell Script: *remove-print-jobs.ps1* +=================================== This PowerShell script removes all print jobs from all printer devices. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/remove-print-jobs.ps1 [] +PS> ./remove-print-jobs.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index 2897c8782..8ab4248fa 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -1,12 +1,12 @@ -The *remove-tag.ps1* Script -=========================== +PowerShell Script: *remove-tag.ps1* +=================================== This PowerShell script removes a Git tag, either locally, remote, or both. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/remove-tag.ps1 [[-TagName] ] [[-Mode] ] [[-RepoDir] ] [] +PS> ./remove-tag.ps1 [[-TagName] ] [[-Mode] ] [[-RepoDir] ] [] -TagName Specifies the Git tag name @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/remove-user.md b/docs/remove-user.md index b7f373ce1..e6468c51a 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -1,12 +1,12 @@ -The *remove-user.ps1* Script -=========================== +PowerShell Script: *remove-user.ps1* +=================================== This PowerShell script removes an existing user account including the home directory. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/remove-user.ps1 [[-username] ] [] +PS> ./remove-user.ps1 [[-username] ] [] -username @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index 7eaac1381..86b8db34f 100644 --- a/docs/remove-vm.md +++ b/docs/remove-vm.md @@ -1,5 +1,5 @@ -The *remove-vm.ps1* Script -=========================== +PowerShell Script: *remove-vm.ps1* +=================================== remove-vm.ps1 @@ -25,4 +25,4 @@ Remove-Item -Path "C:\VirtualMachines\$VMName" -Recurse exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:25)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index 350a27759..1de62886d 100644 --- a/docs/replace-in-files.md +++ b/docs/replace-in-files.md @@ -1,12 +1,12 @@ -The *replace-in-files.ps1* Script -=========================== +PowerShell Script: *replace-in-files.ps1* +=================================== This PowerShell script searches and replaces a pattern in the given files by the replacement. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/replace-in-files.ps1 [[-pattern] ] [[-replacement] ] [[-filePattern] ] [] +PS> ./replace-in-files.ps1 [[-pattern] ] [[-replacement] ] [[-filePattern] ] [] -pattern Specifies the text pattern to search for (ask user by default) @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index 57188551f..20adf3b45 100644 --- a/docs/restart-network-adapters.md +++ b/docs/restart-network-adapters.md @@ -1,12 +1,12 @@ -The *restart-network-adapters.ps1* Script -=========================== +PowerShell Script: *restart-network-adapters.ps1* +=================================== This PowerShell script restarts all local network adapters (needs admin rights). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/restart-network-adapters.ps1 [] +PS> ./restart-network-adapters.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index 85b84d8ac..42a40672b 100644 --- a/docs/roll-a-dice.md +++ b/docs/roll-a-dice.md @@ -1,12 +1,12 @@ -The *roll-a-dice.ps1* Script -=========================== +PowerShell Script: *roll-a-dice.ps1* +=================================== This PowerShell script rolls a dice and returns the number by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/roll-a-dice.ps1 [] +PS> ./roll-a-dice.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -51,4 +51,4 @@ $Number = "1", "2", "3", "4", "5", "6" | Get-Random exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index 77feaa3fe..4e8071a40 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -1,12 +1,12 @@ -The *save-credentials.ps1* Script -=========================== +PowerShell Script: *save-credentials.ps1* +=================================== This PowerShell script asks for credentials and saves them encrypted into a target file. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/save-credentials.ps1 [[-targetFile] ] [] +PS> ./save-credentials.ps1 [[-targetFile] ] [] -targetFile Specifies the target file ("~\my.credentials" by default) @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 6708812d3..4e848f67a 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -1,12 +1,12 @@ -The *save-screenshot.ps1* Script -=========================== +PowerShell Script: *save-screenshot.ps1* +=================================== This PowerShell script takes a single screenshot and saves it into a target folder (default is the user's screenshots folder). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/save-screenshot.ps1 [[-TargetFolder] ] [] +PS> ./save-screenshot.ps1 [[-TargetFolder] ] [] -TargetFolder Specifies the target folder (the user's screenshots folder by default) @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index 31c4c9d88..20102270b 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -1,12 +1,12 @@ -The *scan-folder.ps1* Script -=========================== +PowerShell Script: *scan-folder.ps1* +=================================== This PowerShell script scans a folder for malware (including subfolders). Requires ESET Endpoint Security or Windows Defender. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/scan-folder.ps1 [[-path] ] [] +PS> ./scan-folder.ps1 [[-path] ] [] -path Specifies the file path to the folder (default is working directory). @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/scan-network.md b/docs/scan-network.md index 29a97c657..5baf099fb 100644 --- a/docs/scan-network.md +++ b/docs/scan-network.md @@ -1,5 +1,5 @@ -The *scan-network.ps1* Script -=========================== +PowerShell Script: *scan-network.ps1* +=================================== scan-network.ps1 @@ -32,4 +32,4 @@ $arguments = $arguments + " " + $targets Start-Process $location -ArgumentList $arguments -Wait ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index 9c0b0a783..cb083fea2 100644 --- a/docs/scan-ports.md +++ b/docs/scan-ports.md @@ -1,12 +1,12 @@ -The *scan-ports.ps1* Script -=========================== +PowerShell Script: *scan-ports.ps1* +=================================== This PowerShell script scans the network for open or closed ports. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/scan-ports.ps1 [] +PS> ./scan-ports.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ foreach($add in $range) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/search-filename.md b/docs/search-filename.md index b2b86b2af..22a313c1f 100644 --- a/docs/search-filename.md +++ b/docs/search-filename.md @@ -1,5 +1,5 @@ -The *search-filename.ps1* Script -=========================== +PowerShell Script: *search-filename.ps1* +=================================== This PowerShell script serves as a quick Powershell replacement to the search functionality in Windows After you pass in a root folder and a search term, the script will list all files and folders matching that phrase. @@ -7,7 +7,7 @@ After you pass in a root folder and a search term, the script will list all file Parameters ---------- ```powershell -/Repos/PowerShell/scripts/search-filename.ps1 [-path] [-term] [] +PS> ./search-filename.ps1 [-path] [-term] [] -path Specifies the path @@ -98,4 +98,4 @@ Search-Folder -FilePath $path -SearchTerm $term exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/search-files.md b/docs/search-files.md index 4b213d149..86819677b 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -1,12 +1,12 @@ -The *search-files.ps1* Script -=========================== +PowerShell Script: *search-files.ps1* +=================================== This PowerShell script searches for the given text pattern in the given files. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/search-files.ps1 [[-textPattern] ] [[-filePattern] ] [] +PS> ./search-files.ps1 [[-textPattern] ] [[-filePattern] ] [] -textPattern Specifies the text pattern to search for @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/search-repo.md b/docs/search-repo.md index 184e829b6..a6896a7ac 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -1,12 +1,12 @@ -The *search-repo.ps1* Script -=========================== +PowerShell Script: *search-repo.ps1* +=================================== This PowerShell script searches for the given text pattern in a Git repository. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/search-repo.ps1 [[-textPattern] ] [[-path] ] [] +PS> ./search-repo.ps1 [[-textPattern] ] [[-path] ] [] -textPattern Specifies the text pattern to search for @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/send-email.md b/docs/send-email.md index 0fd740bd8..a41d3c55f 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -1,12 +1,12 @@ -The *send-email.ps1* Script -=========================== +PowerShell Script: *send-email.ps1* +=================================== This PowerShell script sends an email message. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/send-email.ps1 [[-From] ] [[-To] ] [[-Subject] ] [[-Body] ] [[-SMTPServer] ] [] +PS> ./send-email.ps1 [[-From] ] [[-To] ] [[-Subject] ] [[-Body] ] [[-SMTPServer] ] [] -From Specifies the sender email address @@ -126,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index 2cf0bd8d9..92b22f358 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -1,12 +1,12 @@ -The *send-tcp.ps1* Script -=========================== +PowerShell Script: *send-tcp.ps1* +=================================== This PowerShell script sends a TCP message to the given IP address and port. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/send-tcp.ps1 [[-TargetIP] ] [[-TargetPort] ] [[-Message] ] [] +PS> ./send-tcp.ps1 [[-TargetIP] ] [[-TargetPort] ] [[-Message] ] [] -TargetIP Specifies the target IP address @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/send-udp.md b/docs/send-udp.md index ed8506c93..706820223 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -1,12 +1,12 @@ -The *send-udp.ps1* Script -=========================== +PowerShell Script: *send-udp.ps1* +=================================== This PowerShell script sends a UDP datagram message to an IP address and port. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/send-udp.ps1 [[-TargetIP] ] [[-TargetPort] ] [[-Message] ] [] +PS> ./send-udp.ps1 [[-TargetIP] ] [[-TargetPort] ] [[-Message] ] [] -TargetIP Specifies the target IP address @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/set-timer.md b/docs/set-timer.md index b20e93029..12dbca9fb 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -1,12 +1,12 @@ -The *set-timer.ps1* Script -=========================== +PowerShell Script: *set-timer.ps1* +=================================== This PowerShell script sets a timer for a countdown. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/set-timer.ps1 [[-Seconds] ] [] +PS> ./set-timer.ps1 [[-Seconds] ] [] -Seconds Specifies the number of seconds @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/set-volume.md b/docs/set-volume.md index f22007e4c..e0c5875fd 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -1,12 +1,12 @@ -The *set-volume.ps1* Script -=========================== +PowerShell Script: *set-volume.ps1* +=================================== This PowerShell script sets the audio volume to the given value in percent (0..100). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/set-volume.ps1 [-percent] [] +PS> ./set-volume.ps1 [-percent] [] -percent Specifies the volume in percent (0..100) @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index 6c569b487..498bd6702 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -1,12 +1,12 @@ -The *set-wallpaper.ps1* Script -=========================== +PowerShell Script: *set-wallpaper.ps1* +=================================== This PowerShell script sets the given image file as desktop wallpaper (.JPG or .PNG supported) Parameters ---------- ```powershell -/Repos/PowerShell/scripts/set-wallpaper.ps1 [[-ImageFile] ] [[-Style] ] [] +PS> ./set-wallpaper.ps1 [[-ImageFile] ] [[-Style] ] [] -ImageFile Specifies the path to the image file @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index 2ed6d1548..ce28bc4c4 100644 --- a/docs/show-lightnings.md +++ b/docs/show-lightnings.md @@ -1,12 +1,12 @@ -The *show-lightnings.ps1* Script -=========================== +PowerShell Script: *show-lightnings.ps1* +=================================== This PowerShell script launches the Web browser and shows lightnings in OpenStreetMap. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/show-lightnings.ps1 [] +PS> ./show-lightnings.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index 9a35027b4..1ee6fcb1a 100644 --- a/docs/show-notification-motivation-quote.md +++ b/docs/show-notification-motivation-quote.md @@ -1,5 +1,5 @@ -The *show-notification-motivation-quote.ps1* Script -=========================== +PowerShell Script: *show-notification-motivation-quote.ps1* +=================================== show-notification-motivation-quote.ps1 @@ -69,4 +69,4 @@ $AppId = '{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\WindowsPowerShell\v1.0\powershe ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/show-notification.md b/docs/show-notification.md index 18824ec40..e3a1f5d71 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -1,12 +1,12 @@ -The *show-notification.ps1* Script -=========================== +PowerShell Script: *show-notification.ps1* +=================================== This PowerShell script shows a toast-message notification for the Windows Notification Center. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/show-notification.ps1 [[-text] ] [[-title] ] [[-duration] ] [] +PS> ./show-notification.ps1 [[-text] ] [[-title] ] [[-duration] ] [] -text Specifies the text to show ('Hello World' by default) @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index 3f663b7e4..9477ddc3b 100644 --- a/docs/show-traffic.md +++ b/docs/show-traffic.md @@ -1,12 +1,12 @@ -The *show-traffic.ps1* Script -=========================== +PowerShell Script: *show-traffic.ps1* +=================================== This PowerShell script launches the Web browser with MSN showing the current traffic. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/show-traffic.ps1 [] +PS> ./show-traffic.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index af97efcad..587a60d6d 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -1,12 +1,12 @@ -The *simulate-presence.ps1* Script -=========================== +PowerShell Script: *simulate-presence.ps1* +=================================== This PowerShell script simulates the human presence against burglars. It switches a Shelly1 device on and off. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/simulate-presence.ps1 [[-IPaddress] ] [] +PS> ./simulate-presence.ps1 [[-IPaddress] ] [] -IPaddress Specifies the IP address of the Shelly1 device @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index 63105472f..7100aa094 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -1,5 +1,5 @@ -The *smart-data2csv.ps1* Script -=========================== +PowerShell Script: *smart-data2csv.ps1* +=================================== This PowerShell script converts the S.M.A.R.T. JSON files in the current/given directory to a CSV table for analysis (use query-smart-data.ps1 to generate those JSON files). @@ -7,7 +7,7 @@ to a CSV table for analysis (use query-smart-data.ps1 to generate those JSON fil Parameters ---------- ```powershell -/Repos/PowerShell/scripts/smart-data2csv.ps1 [[-Directory] ] [] +PS> ./smart-data2csv.ps1 [[-Directory] ] [] -Directory Specifies the path to the directory @@ -142,4 +142,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 63dd8a8c5..14fab7e59 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -1,12 +1,12 @@ -The *speak-arabic.ps1* Script -=========================== +PowerShell Script: *speak-arabic.ps1* +=================================== This PowerShell script speaks the given text with an Arabic text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-arabic.ps1 [[-text] ] [] +PS> ./speak-arabic.ps1 [[-text] ] [] -text Specifies the Arabic text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index fd132d646..b7233a9cb 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -1,12 +1,12 @@ -The *speak-checklist.ps1* Script -=========================== +PowerShell Script: *speak-checklist.ps1* +=================================== This PowerShell script speaks the given Markdown checklist by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-checklist.ps1 [[-name] ] [] +PS> ./speak-checklist.ps1 [[-name] ] [] -name Specifies the name of the checklist @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index e596040d3..1e407967b 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -1,12 +1,12 @@ -The *speak-countdown.ps1* Script -=========================== +PowerShell Script: *speak-countdown.ps1* +=================================== This PowerShell script speaks a countdown by text-to-speech (TTS) starting from a given number. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-countdown.ps1 [[-startNumber] ] [] +PS> ./speak-countdown.ps1 [[-startNumber] ] [] -startNumber Specifies the number to start from (10 by default) @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index 59cb931b9..6a7e37c2a 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -1,12 +1,12 @@ -The *speak-croatian.ps1* Script -=========================== +PowerShell Script: *speak-croatian.ps1* +=================================== This PowerShell script speaks the given text with a Croatian text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-croatian.ps1 [[-text] ] [] +PS> ./speak-croatian.ps1 [[-text] ] [] -text Specifies the Croatian text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index 212504e3e..5022ef81a 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -1,12 +1,12 @@ -The *speak-danish.ps1* Script -=========================== +PowerShell Script: *speak-danish.ps1* +=================================== This PowerShell script speaks the given text with a Danish text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-danish.ps1 [[-text] ] [] +PS> ./speak-danish.ps1 [[-text] ] [] -text Specifies the Danish text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index 03a714e64..e54ab7ad5 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -1,12 +1,12 @@ -The *speak-dutch.ps1* Script -=========================== +PowerShell Script: *speak-dutch.ps1* +=================================== This PowerShell script speaks the given text with a Dutch text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-dutch.ps1 [[-text] ] [] +PS> ./speak-dutch.ps1 [[-text] ] [] -text Specifies the Dutch text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-english.md b/docs/speak-english.md index ffe0a5011..566d52afe 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -1,12 +1,12 @@ -The *speak-english.ps1* Script -=========================== +PowerShell Script: *speak-english.ps1* +=================================== This PowerShell script speaks the given text with an English text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-english.ps1 [[-text] ] [] +PS> ./speak-english.ps1 [[-text] ] [] -text Specifies the English text to speak @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index ada26dbfb..402dcaeb4 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -1,12 +1,12 @@ -The *speak-epub.ps1* Script -=========================== +PowerShell Script: *speak-epub.ps1* +=================================== This PowerShell script speaks the content of the given Epub file by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-epub.ps1 [[-Filename] ] [] +PS> ./speak-epub.ps1 [[-Filename] ] [] -Filename Specifies the path to the Epub file @@ -142,4 +142,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index c2f197dc6..2b80abf49 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -1,12 +1,12 @@ -The *speak-esperanto.ps1* Script -=========================== +PowerShell Script: *speak-esperanto.ps1* +=================================== This PowerShell script speaks the given text with an Esperanto text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-esperanto.ps1 [[-text] ] [] +PS> ./speak-esperanto.ps1 [[-text] ] [] -text Specifies the Esperanto text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-file.md b/docs/speak-file.md index 6e45d79a6..19b7a7f90 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -1,12 +1,12 @@ -The *speak-file.ps1* Script -=========================== +PowerShell Script: *speak-file.ps1* +=================================== This PowerShell script speaks the content of the given text file by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-file.ps1 [[-File] ] [] +PS> ./speak-file.ps1 [[-File] ] [] -File Specifies the path to the text file @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index 14c5449bf..a3bca37d9 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -1,12 +1,12 @@ -The *speak-finnish.ps1* Script -=========================== +PowerShell Script: *speak-finnish.ps1* +=================================== This PowerShell script speaks the given text with a Finnish text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-finnish.ps1 [[-text] ] [] +PS> ./speak-finnish.ps1 [[-text] ] [] -text Specifies the Finnish text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-french.md b/docs/speak-french.md index 5e8331d75..76287cc25 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -1,12 +1,12 @@ -The *speak-french.ps1* Script -=========================== +PowerShell Script: *speak-french.ps1* +=================================== This PowerShell script speaks the given text with a French text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-french.ps1 [[-text] ] [] +PS> ./speak-french.ps1 [[-text] ] [] -text Specifies the French text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-german.md b/docs/speak-german.md index 4f5ce0785..51f8fd46a 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -1,12 +1,12 @@ -The *speak-german.ps1* Script -=========================== +PowerShell Script: *speak-german.ps1* +=================================== This PowerShell script speaks the given text with a German text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-german.ps1 [[-text] ] [] +PS> ./speak-german.ps1 [[-text] ] [] -text Specifies the German text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index 649c33da6..fd14cc277 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -1,12 +1,12 @@ -The *speak-greek.ps1* Script -=========================== +PowerShell Script: *speak-greek.ps1* +=================================== This PowerShell script speaks the given text with a Greek text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-greek.ps1 [[-text] ] [] +PS> ./speak-greek.ps1 [[-text] ] [] -text Specifies the Greek text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index 894cd5ad9..fdc4dc078 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -1,12 +1,12 @@ -The *speak-hebrew.ps1* Script -=========================== +PowerShell Script: *speak-hebrew.ps1* +=================================== This PowerShell script speaks the given text with a Hebrew text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-hebrew.ps1 [[-text] ] [] +PS> ./speak-hebrew.ps1 [[-text] ] [] -text Specifies the Hebrew text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index d7ef3c547..cde84833a 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -1,12 +1,12 @@ -The *speak-hindi.ps1* Script -=========================== +PowerShell Script: *speak-hindi.ps1* +=================================== This PowerShell script speaks the given text with a Hindi text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-hindi.ps1 [[-text] ] [] +PS> ./speak-hindi.ps1 [[-text] ] [] -text Specifies the Hindi text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index 361e39ae3..c6c8bbcfd 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -1,12 +1,12 @@ -The *speak-italian.ps1* Script -=========================== +PowerShell Script: *speak-italian.ps1* +=================================== This PowerShell script speaks the given text with an Italian text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-italian.ps1 [[-text] ] [] +PS> ./speak-italian.ps1 [[-text] ] [] -text Specifies the Italian text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index f3ecf1473..1f6e1da82 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -1,12 +1,12 @@ -The *speak-japanese.ps1* Script -=========================== +PowerShell Script: *speak-japanese.ps1* +=================================== This PowerShell script speaks the given text with a Japanese text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-japanese.ps1 [[-text] ] [] +PS> ./speak-japanese.ps1 [[-text] ] [] -text Specifies the Japanese text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index 0d8433b8a..b5076a70e 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -1,12 +1,12 @@ -The *speak-korean.ps1* Script -=========================== +PowerShell Script: *speak-korean.ps1* +=================================== This PowerShell script speaks the given text with a Korean text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-korean.ps1 [[-text] ] [] +PS> ./speak-korean.ps1 [[-text] ] [] -text Specifies the Korean text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index 387e6ddd2..d20802af8 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -1,12 +1,12 @@ -The *speak-latin.ps1* Script -=========================== +PowerShell Script: *speak-latin.ps1* +=================================== This PowerShell script speaks the given text with a Latin text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-latin.ps1 [[-text] ] [] +PS> ./speak-latin.ps1 [[-text] ] [] -text Specifies the Latin text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index 667ca46db..0c50d33fc 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -1,12 +1,12 @@ -The *speak-mandarin.ps1* Script -=========================== +PowerShell Script: *speak-mandarin.ps1* +=================================== This PowerShell script speaks the given text with a Mandarin text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-mandarin.ps1 [[-text] ] [] +PS> ./speak-mandarin.ps1 [[-text] ] [] -text Specifies the Mandarin text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 26208f71a..615df2a6f 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -1,12 +1,12 @@ -The *speak-norwegian.ps1* Script -=========================== +PowerShell Script: *speak-norwegian.ps1* +=================================== This PowerShell script speaks the given text with a Norwegian text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-norwegian.ps1 [[-text] ] [] +PS> ./speak-norwegian.ps1 [[-text] ] [] -text Specifies the Norwegian text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index 5b5e8b395..f8b399330 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -1,12 +1,12 @@ -The *speak-polish.ps1* Script -=========================== +PowerShell Script: *speak-polish.ps1* +=================================== This PowerShell script speaks the given text with a Polish text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-polish.ps1 [[-text] ] [] +PS> ./speak-polish.ps1 [[-text] ] [] -text Specifies the Polish text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index c1128434f..334ea5f96 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -1,12 +1,12 @@ -The *speak-portuguese.ps1* Script -=========================== +PowerShell Script: *speak-portuguese.ps1* +=================================== This PowerShell script speaks the given text with a Portuguese text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-portuguese.ps1 [[-text] ] [] +PS> ./speak-portuguese.ps1 [[-text] ] [] -text Specifies the Portuguese text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index 96ebb8d9d..4c9304336 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -1,12 +1,12 @@ -The *speak-russian.ps1* Script -=========================== +PowerShell Script: *speak-russian.ps1* +=================================== This PowerShell script speaks the text with a Russian text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-russian.ps1 [[-text] ] [] +PS> ./speak-russian.ps1 [[-text] ] [] -text Specifies the Russian text @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index 955e5b3c6..6f8cce765 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -1,12 +1,12 @@ -The *speak-spanish.ps1* Script -=========================== +PowerShell Script: *speak-spanish.ps1* +=================================== This PowerShell script speaks the given text with a Spanish text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-spanish.ps1 [[-text] ] [] +PS> ./speak-spanish.ps1 [[-text] ] [] -text Specifies the Spanish text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index b366cac6e..271c6c2e5 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -1,12 +1,12 @@ -The *speak-swedish.ps1* Script -=========================== +PowerShell Script: *speak-swedish.ps1* +=================================== This PowerShell script speaks the given text with a Swedish text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-swedish.ps1 [[-text] ] [] +PS> ./speak-swedish.ps1 [[-text] ] [] -text Specifies the Swedish text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-test.md b/docs/speak-test.md index 2b08a7001..367fe0c4e 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -1,12 +1,12 @@ -The *speak-test.ps1* Script -=========================== +PowerShell Script: *speak-test.ps1* +=================================== This PowerShell script performs a text-to-speech (TTS) test. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-test.ps1 [] +PS> ./speak-test.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* diff --git a/docs/speak-text.md b/docs/speak-text.md index 775d0f349..5f5dbef4a 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -1,12 +1,12 @@ -The *speak-text.ps1* Script -=========================== +PowerShell Script: *speak-text.ps1* +=================================== This PowerShell script speaks the given text by the default text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-text.ps1 [[-text] ] [] +PS> ./speak-text.ps1 [[-text] ] [] -text Specifies the text to read @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index eebcc1480..269a96f63 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -1,12 +1,12 @@ -The *speak-thai.ps1* Script -=========================== +PowerShell Script: *speak-thai.ps1* +=================================== This PowerShell script speaks the given text with a Thai text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-thai.ps1 [[-text] ] [] +PS> ./speak-thai.ps1 [[-text] ] [] -text Specifies the Thai text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index b35751ce8..2550074b4 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -1,12 +1,12 @@ -The *speak-turkish.ps1* Script -=========================== +PowerShell Script: *speak-turkish.ps1* +=================================== This PowerShell script speaks the given text with a Turkish text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-turkish.ps1 [[-text] ] [] +PS> ./speak-turkish.ps1 [[-text] ] [] -text Specifies the Turkish text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index 9d6e8bcf5..8a6adf40b 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -1,12 +1,12 @@ -The *speak-ukrainian.ps1* Script -=========================== +PowerShell Script: *speak-ukrainian.ps1* +=================================== This PowerShell script speaks the given text with a Ukrainian text-to-speech (TTS) voice. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/speak-ukrainian.ps1 [[-text] ] [] +PS> ./speak-ukrainian.ps1 [[-text] ] [] -text Specifies the Ukranian text to speak @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/spell-word.md b/docs/spell-word.md index c4cfa9def..67ae01abf 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -1,12 +1,12 @@ -The *spell-word.ps1* Script -=========================== +PowerShell Script: *spell-word.ps1* +=================================== This PowerShell script spells the given word by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/spell-word.ps1 [[-word] ] [] +PS> ./spell-word.ps1 [[-word] ] [] -word Specifies the word to spell (queried by default) @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index 31fe1e282..31f5131f3 100644 --- a/docs/start-ipfs-server.md +++ b/docs/start-ipfs-server.md @@ -1,12 +1,12 @@ -The *start-ipfs-server.ps1* Script -=========================== +PowerShell Script: *start-ipfs-server.ps1* +=================================== This PowerShell script starts a local IPFS server as a daemon process. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/start-ipfs-server.ps1 [] +PS> ./start-ipfs-server.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/suspend.md b/docs/suspend.md index b34735629..90e403ac6 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -1,12 +1,12 @@ -The *suspend.ps1* Script -=========================== +PowerShell Script: *suspend.ps1* +=================================== This PowerShell script suspends the local computer immediately. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/suspend.ps1 [] +PS> ./suspend.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index 7c2e6cdb6..ca347c556 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -1,12 +1,12 @@ -The *switch-branch.ps1* Script -=========================== +PowerShell Script: *switch-branch.ps1* +=================================== This PowerShell script switches to the given branch in a Git repository and also updates the submodules. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/switch-branch.ps1 [[-branchName] ] [[-path] ] [] +PS> ./switch-branch.ps1 [[-branchName] ] [[-path] ] [] -branchName Specifies the Git branch name to switch to @@ -123,9 +123,9 @@ try { "✅ Repo '$repoDirName' switched to '$branchName' branch in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index b91224ef0..515fbdc59 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -1,12 +1,12 @@ -The *switch-shelly1.ps1* Script -=========================== +PowerShell Script: *switch-shelly1.ps1* +=================================== This PowerShell script switches a Shelly1 device in the local network. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/switch-shelly1.ps1 [[-host] ] [[-turnMode] ] [[-timer] ] [] +PS> ./switch-shelly1.ps1 [[-host] ] [[-turnMode] ] [[-timer] ] [] -host Specifies either the hostname or IP address of the Shelly1 device @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index a256e205c..f1a1c3e23 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -1,12 +1,12 @@ -The *switch-tabs.ps1* Script -=========================== +PowerShell Script: *switch-tabs.ps1* +=================================== This PowerShell script switches automatically from tab to tab every seconds (by pressing Ctrl + PageDown). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/switch-tabs.ps1 [[-timeInterval] ] [] +PS> ./switch-tabs.ps1 [[-timeInterval] ] [] -timeInterval Specifies the time interval in seconds (10sec per default) @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/sync-dir.md b/docs/sync-dir.md index f4383ab07..dfe25d59b 100644 --- a/docs/sync-dir.md +++ b/docs/sync-dir.md @@ -1,5 +1,5 @@ -The *sync-dir.ps1* Script -=========================== +PowerShell Script: *sync-dir.ps1* +=================================== This PowerShell script synchronizes (mirrors) the content of 2 directory trees by using Robocopy. Typical use cases are backups: at first everything is copied (full backup), afterward only changes are copied (incremental backup). @@ -8,7 +8,7 @@ IMPORTANT NOTE: Make sure the target path is correct because the content gets re Parameters ---------- ```powershell -/Repos/PowerShell/scripts/sync-dir.ps1 [[-sourcePath] ] [[-targetPath] ] [] +PS> ./sync-dir.ps1 [[-sourcePath] ] [[-targetPath] ] [] -sourcePath Specifies the path to the source dir (to be entered by default) @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index a5406ff19..921ace28b 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -1,12 +1,12 @@ -The *sync-repo.ps1* Script -=========================== +PowerShell Script: *sync-repo.ps1* +=================================== This PowerShell script synchronizes a local Git repository by pull and push (including submodules). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/sync-repo.ps1 [[-path] ] [] +PS> ./sync-repo.ps1 [[-path] ] [] -path Specifies the file path to the Git repository (current working directory by default) @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index e4ca170a0..724472967 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -1,12 +1,12 @@ -The *tell-joke.ps1* Script -=========================== +PowerShell Script: *tell-joke.ps1* +=================================== This PowerShell script selects a random Chuck Norris joke in Data/jokes.csv and speaks it by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/tell-joke.ps1 [] +PS> ./tell-joke.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index 73936cc98..4473e60a5 100644 --- a/docs/tell-new-year.md +++ b/docs/tell-new-year.md @@ -1,12 +1,12 @@ -The *tell-new-year.ps1* Script -=========================== +PowerShell Script: *tell-new-year.ps1* +=================================== This PowerShell script calculates the time until New Year and replies by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/tell-new-year.ps1 [] +PS> ./tell-new-year.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index 08f4fcfab..db83ea9a8 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -1,12 +1,12 @@ -The *tell-quote.ps1* Script -=========================== +PowerShell Script: *tell-quote.ps1* +=================================== This PowerShell script selects a random quote from Data/quotes.csv and speaks it by text-to-speech (TTS). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/tell-quote.ps1 [] +PS> ./tell-quote.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index 11692781e..5d01f9735 100644 --- a/docs/toggle-caps-lock.md +++ b/docs/toggle-caps-lock.md @@ -1,12 +1,12 @@ -The *toggle-caps-lock.ps1* Script -=========================== +PowerShell Script: *toggle-caps-lock.ps1* +=================================== This PowerShell script toggles the Caps Lock key state. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/toggle-caps-lock.ps1 [] +PS> ./toggle-caps-lock.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index 39a903ba3..dd148fea6 100644 --- a/docs/toggle-num-lock.md +++ b/docs/toggle-num-lock.md @@ -1,12 +1,12 @@ -The *toggle-num-lock.ps1* Script -=========================== +PowerShell Script: *toggle-num-lock.ps1* +=================================== This PowerShell script toggles the Num Lock key state. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/toggle-num-lock.ps1 [] +PS> ./toggle-num-lock.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index 93118052f..9a89dec37 100644 --- a/docs/toggle-scroll-lock.md +++ b/docs/toggle-scroll-lock.md @@ -1,12 +1,12 @@ -The *toggle-scroll-lock.ps1* Script -=========================== +PowerShell Script: *toggle-scroll-lock.ps1* +=================================== This PowerShell script toggles the Scroll Lock key state. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/toggle-scroll-lock.ps1 [] +PS> ./toggle-scroll-lock.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/touch.md b/docs/touch.md index 4d9a20234..de332addc 100644 --- a/docs/touch.md +++ b/docs/touch.md @@ -1,12 +1,12 @@ -The *touch.ps1* Script -=========================== +PowerShell Script: *touch.ps1* +=================================== This PowerShell script creates a new empty file. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/touch.ps1 [[-filename] ] [] +PS> ./touch.ps1 [[-filename] ] [] -filename Path and filename of the new file @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/translate-file.md b/docs/translate-file.md index 5c8862f30..0fa08f49c 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -1,12 +1,12 @@ -The *translate-file.ps1* Script -=========================== +PowerShell Script: *translate-file.ps1* +=================================== This PowerShell script translates the given text file into another language and writes the output on the console. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/translate-file.ps1 [[-File] ] [[-SourceLang] ] [[-TargetLang] ] [] +PS> ./translate-file.ps1 [[-File] ] [[-SourceLang] ] [[-TargetLang] ] [] -File Specifies the path to the file to be translated @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/translate-files.md b/docs/translate-files.md index c062bfbe9..153aa991c 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -1,12 +1,12 @@ -The *translate-files.ps1* Script -=========================== +PowerShell Script: *translate-files.ps1* +=================================== This PowerShell script translates text files into multiple languages. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/translate-files.ps1 [[-filePattern] ] [] +PS> ./translate-files.ps1 [[-filePattern] ] [] -filePattern Specifies the file pattern of the text file(s) to be translated @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/translate-text.md b/docs/translate-text.md index 2ebc20cca..c23628829 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -1,12 +1,12 @@ -The *translate-text.ps1* Script -=========================== +PowerShell Script: *translate-text.ps1* +=================================== This PowerShell script translates text into other languages. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/translate-text.ps1 [[-Text] ] [[-SourceLangCode] ] [[-TargetLangCode] ] [] +PS> ./translate-text.ps1 [[-Text] ] [[-SourceLangCode] ] [[-TargetLangCode] ] [] -Text Specifies the text to translate @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index 1b63e71fd..a4f44f50d 100644 --- a/docs/turn-volume-down.md +++ b/docs/turn-volume-down.md @@ -1,12 +1,12 @@ -The *turn-volume-down.ps1* Script -=========================== +PowerShell Script: *turn-volume-down.ps1* +=================================== This PowerShell script turns the audio volume down (-10% by default). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/turn-volume-down.ps1 [[-percent] ] [] +PS> ./turn-volume-down.ps1 [[-percent] ] [] -percent Specifies the percent number @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index 52c1f9e35..f7d07fa06 100644 --- a/docs/turn-volume-fully-up.md +++ b/docs/turn-volume-fully-up.md @@ -1,12 +1,12 @@ -The *turn-volume-fully-up.ps1* Script -=========================== +PowerShell Script: *turn-volume-fully-up.ps1* +=================================== This PowerShell script turns the audio volume fully up to 100%. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/turn-volume-fully-up.ps1 [] +PS> ./turn-volume-fully-up.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index e0d79dd9d..4a0825270 100644 --- a/docs/turn-volume-off.md +++ b/docs/turn-volume-off.md @@ -1,12 +1,12 @@ -The *turn-volume-off.ps1* Script -=========================== +PowerShell Script: *turn-volume-off.ps1* +=================================== This PowerShell script mutes the default audio device immediately. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/turn-volume-off.ps1 [] +PS> ./turn-volume-off.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index 946a118d8..75379e52e 100644 --- a/docs/turn-volume-on.md +++ b/docs/turn-volume-on.md @@ -1,12 +1,12 @@ -The *turn-volume-on.ps1* Script -=========================== +PowerShell Script: *turn-volume-on.ps1* +=================================== This PowerShell script immediately unmutes the audio output. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/turn-volume-on.ps1 [] +PS> ./turn-volume-on.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index f591deca6..f1a2cb8d6 100644 --- a/docs/turn-volume-up.md +++ b/docs/turn-volume-up.md @@ -1,12 +1,12 @@ -The *turn-volume-up.ps1* Script -=========================== +PowerShell Script: *turn-volume-up.ps1* +=================================== This PowerShell script turns the audio volume up (+10% by default). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/turn-volume-up.ps1 [[-percent] ] [] +PS> ./turn-volume-up.ps1 [[-percent] ] [] -percent Specifies the percent number @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index c5558174a..97e3eeebd 100644 --- a/docs/uninstall-all-apps.md +++ b/docs/uninstall-all-apps.md @@ -1,12 +1,12 @@ -The *uninstall-all-apps.ps1* Script -=========================== +PowerShell Script: *uninstall-all-apps.ps1* +=================================== This PowerShell script uninstalls all applications from the local computer. Useful for de-bloating Windows to clean up a PC quickly for an industrial use case without any security risks. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/uninstall-all-apps.ps1 [] +PS> ./uninstall-all-apps.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index ef7eb7b82..38e740391 100644 --- a/docs/uninstall-bloatware.md +++ b/docs/uninstall-bloatware.md @@ -1,12 +1,12 @@ -The *uninstall-bloatware.ps1* Script -=========================== +PowerShell Script: *uninstall-bloatware.ps1* +=================================== This PowerShell script uninstalls unnecessary software and applications. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/uninstall-bloatware.ps1 [] +PS> ./uninstall-bloatware.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -98,4 +98,4 @@ winget uninstall 'Prime Video for Windows' exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/uninstall-new-outlook.md b/docs/uninstall-new-outlook.md index 1459b1216..91636bf5d 100644 --- a/docs/uninstall-new-outlook.md +++ b/docs/uninstall-new-outlook.md @@ -1,12 +1,12 @@ -The *uninstall-new-outlook.ps1* Script -=========================== +PowerShell Script: *uninstall-new-outlook.ps1* +=================================== This PowerShell script uninstalls the new Outlook for Windows application. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/uninstall-new-outlook.ps1 [] +PS> ./uninstall-new-outlook.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/uninstall-outlook.md b/docs/uninstall-outlook.md index 5cb60938f..6e390f678 100644 --- a/docs/uninstall-outlook.md +++ b/docs/uninstall-outlook.md @@ -1,12 +1,12 @@ -The *uninstall-outlook.ps1* Script -=========================== +PowerShell Script: *uninstall-outlook.ps1* +=================================== This PowerShell script uninstalls Outlook for Windows. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/uninstall-outlook.ps1 [] +PS> ./uninstall-outlook.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index dee1d351a..26df4d8d2 100644 --- a/docs/update-powershell-profile.md +++ b/docs/update-powershell-profile.md @@ -1,12 +1,12 @@ -The *update-powershell-profile.ps1* Script -=========================== +PowerShell Script: *update-powershell-profile.ps1* +=================================== This PowerShell script write/overwrites the PowerShell profile of the current user. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/update-powershell-profile.ps1 [[-path] ] [] +PS> ./update-powershell-profile.ps1 [[-path] ] [] -path Specifies the path to the new profile ($PSScriptRoot/my-profile.ps1 by default) @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index 536829d66..6954ff788 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -1,12 +1,12 @@ -The *upgrade-ubuntu.ps1* Script -=========================== +PowerShell Script: *upgrade-ubuntu.ps1* +=================================== This PowerShell script upgrades Ubuntu Linux to the latest (LTS) release. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/upgrade-ubuntu.ps1 [] +PS> ./upgrade-ubuntu.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/upload-file.md b/docs/upload-file.md index 5d9130ef9..f54529365 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -1,12 +1,12 @@ -The *upload-file.ps1* Script -=========================== +PowerShell Script: *upload-file.ps1* +=================================== This PowerShell script uploads a local file to a FTP server. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/upload-file.ps1 [[-File] ] [[-URL] ] [[-Username] ] [[-Password] ] [] +PS> ./upload-file.ps1 [[-File] ] [[-URL] ] [[-Username] ] [[-Password] ] [] -File Specifies the path to the local file @@ -149,4 +149,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index 4d02facb6..2ae0a7e06 100644 --- a/docs/upload-to-dropbox.md +++ b/docs/upload-to-dropbox.md @@ -1,12 +1,12 @@ -The *upload-to-dropbox.ps1* Script -=========================== +PowerShell Script: *upload-to-dropbox.ps1* +=================================== This PowerShell script uploads a local file to Dropbox. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/upload-to-dropbox.ps1 [-SourceFilePath] [] +PS> ./upload-to-dropbox.ps1 [-SourceFilePath] [] -SourceFilePath @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index 6faf7698b..823692718 100644 --- a/docs/wake-up-host.md +++ b/docs/wake-up-host.md @@ -1,12 +1,12 @@ -The *wake-up-host.ps1* Script -=========================== +PowerShell Script: *wake-up-host.ps1* +=================================== This PowerShell script sends a magic UDP packet to a computer to wake him up (requires the target computer to have Wake-on-LAN activated). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/wake-up-host.ps1 [[-macAddr] ] [[-ipAddr] ] [[-udpPort] ] [[-numTimes] ] [] +PS> ./wake-up-host.ps1 [[-macAddr] ] [[-ipAddr] ] [[-udpPort] ] [[-numTimes] ] [] -macAddr Specifies the host's MAC address (e.g. 11:22:33:44:55:66) @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/wake-up-human.md b/docs/wake-up-human.md index c3483e4d6..f883a0815 100644 --- a/docs/wake-up-human.md +++ b/docs/wake-up-human.md @@ -1,12 +1,12 @@ -The *wake-up-human.ps1* Script -=========================== +PowerShell Script: *wake-up-human.ps1* +=================================== This PowerShell script plays the sound of Big Ben to wake a human up. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/wake-up-human.ps1 [] +PS> ./wake-up-human.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -52,4 +52,4 @@ do { ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index 58bbbc9ad..d4f95eda2 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -1,12 +1,12 @@ -The *watch-commits.ps1* Script -=========================== +PowerShell Script: *watch-commits.ps1* +=================================== This PowerShell script continuously lists the latest commits in a Git repository in real-time. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/watch-commits.ps1 [[-pathToRepo] ] [[-updateInterval] ] [[-speed] ] [] +PS> ./watch-commits.ps1 [[-pathToRepo] ] [[-updateInterval] ] [[-speed] ] [] -pathToRepo Specifies the file path to the local Git repository. @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/watch-crypto-rates.md b/docs/watch-crypto-rates.md index 4f934bfe9..49299ff95 100644 --- a/docs/watch-crypto-rates.md +++ b/docs/watch-crypto-rates.md @@ -1,5 +1,5 @@ -The *watch-crypto-rates.ps1* Script -=========================== +PowerShell Script: *watch-crypto-rates.ps1* +=================================== watch-crypto-rates.ps1 @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/watch-file.md b/docs/watch-file.md index f23d58389..d462e3fb5 100644 --- a/docs/watch-file.md +++ b/docs/watch-file.md @@ -1,5 +1,5 @@ -The *watch-file.ps1* Script -=========================== +PowerShell Script: *watch-file.ps1* +=================================== watch-file.ps1 @@ -64,4 +64,4 @@ function Watch-File { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/watch-host.md b/docs/watch-host.md index b8b67f250..e88dc6f1f 100644 --- a/docs/watch-host.md +++ b/docs/watch-host.md @@ -1,5 +1,5 @@ -The *watch-host.ps1* Script -=========================== +PowerShell Script: *watch-host.ps1* +=================================== watch-host.ps1 @@ -147,4 +147,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/watch-news.md b/docs/watch-news.md index 333863cee..dd32f9e30 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -1,12 +1,12 @@ -The *watch-news.ps1* Script -=========================== +PowerShell Script: *watch-news.ps1* +=================================== This PowerShell script continuously lists the latest headlines by using a RSS (Really Simple Syndication) feed. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/watch-news.ps1 [[-URL] ] [[-timeInterval] ] [] +PS> ./watch-news.ps1 [[-URL] ] [[-timeInterval] ] [] -URL Specifies the URL to the RSS feed (Yahoo World News by default) @@ -123,4 +123,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index d2ae65a6e..9a4ce2d12 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -1,12 +1,12 @@ -The *watch-ping.ps1* Script -=========================== +PowerShell Script: *watch-ping.ps1* +=================================== This PowerShell script pings the given host continously and shows the roundtrip times in a horizontal chart. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/watch-ping.ps1 [[-hostname] ] [[-timeInterval] ] [] +PS> ./watch-ping.ps1 [[-hostname] ] [[-timeInterval] ] [] -hostname Specifies the hostname or IP address to ping (windows.com by default) @@ -137,4 +137,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/weather-report.md b/docs/weather-report.md index 42446e37c..a1cfd0e3e 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -1,12 +1,12 @@ -The *weather-report.ps1* Script -=========================== +PowerShell Script: *weather-report.ps1* +=================================== This PowerShell script lists the local weather report. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/weather-report.ps1 [[-GeoLocation] ] [] +PS> ./weather-report.ps1 [[-GeoLocation] ] [] -GeoLocation Specifies the geographic location to use (determine automatically by default) @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/weather.md b/docs/weather.md index a0f0b9d6b..b3cdc3ea1 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -1,12 +1,12 @@ -The *weather.ps1* Script -=========================== +PowerShell Script: *weather.ps1* +=================================== This PowerShell script lists the current weather forecast. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/weather.ps1 [[-GeoLocation] ] [] +PS> ./weather.ps1 [[-GeoLocation] ] [] -GeoLocation Specifies the geographic location to use @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/what-is.md b/docs/what-is.md index e4532a67c..81df76df5 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -1,12 +1,12 @@ -The *what-is.ps1* Script -=========================== +PowerShell Script: *what-is.ps1* +=================================== This PowerShell script queries the meaning of the given term/abbreviation/etc. and prints it. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/what-is.ps1 [[-term] ] [] +PS> ./what-is.ps1 [[-term] ] [] -term Specifies the term to query @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/windefender.md b/docs/windefender.md index ffe30d8c4..875ac4bc5 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -1,12 +1,12 @@ -The *windefender.ps1* Script -=========================== +PowerShell Script: *windefender.ps1* +=================================== This script can enable / disable and show Windows defender real time monitoring! Parameters ---------- ```powershell -/Repos/PowerShell/scripts/windefender.ps1 [] +PS> ./windefender.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -82,4 +82,4 @@ break } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-animated.md b/docs/write-animated.md index 7e8497f71..c02d7a552 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -1,12 +1,12 @@ -The *write-animated.ps1* Script -=========================== +PowerShell Script: *write-animated.ps1* +=================================== This PowerShell script writes text centered and animated to the console. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-animated.ps1 [[-text] ] [[-speed] ] [] +PS> ./write-animated.ps1 [[-text] ] [[-speed] ] [] -text Specifies the text line to write ("Welcome to PowerShell" by default) @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:26)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index 2ff559e53..e3429a938 100644 --- a/docs/write-ascii-image.md +++ b/docs/write-ascii-image.md @@ -1,5 +1,5 @@ -The *write-ascii-image.ps1* Script -=========================== +PowerShell Script: *write-ascii-image.ps1* +=================================== write-ascii-image.ps1 @@ -61,4 +61,4 @@ WriteLine " '`--._,dd###pp='''" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-big.md b/docs/write-big.md index 23036973e..d94bae23e 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -1,12 +1,12 @@ -The *write-big.ps1* Script -=========================== +PowerShell Script: *write-big.ps1* +=================================== This PowerShell script writes the given text in big letters. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-big.ps1 [[-text] ] [] +PS> ./write-big.ps1 [[-text] ] [] -text Specifies the text to write ("Hello World" by default) @@ -472,4 +472,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-blue.md b/docs/write-blue.md index cae79ea7b..6622d2706 100644 --- a/docs/write-blue.md +++ b/docs/write-blue.md @@ -1,12 +1,12 @@ -The *write-blue.ps1* Script -=========================== +PowerShell Script: *write-blue.ps1* +=================================== This PowerShell script writes text in a blue foreground color. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-blue.ps1 [[-text] ] [] +PS> ./write-blue.ps1 [[-text] ] [] -text Specifies the text to write @@ -65,4 +65,4 @@ write-host -foregroundColor blue "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-braille.md b/docs/write-braille.md index 8365d5ef1..8dde4e099 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -1,12 +1,12 @@ -The *write-braille.ps1* Script -=========================== +PowerShell Script: *write-braille.ps1* +=================================== This PowerShell script writes text in Braille. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-braille.ps1 [[-text] ] [] +PS> ./write-braille.ps1 [[-text] ] [] -text Specifies the text to write @@ -409,4 +409,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-centered.md b/docs/write-centered.md index c4aa917d5..0a6d65011 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -1,12 +1,12 @@ -The *write-centered.ps1* Script -=========================== +PowerShell Script: *write-centered.ps1* +=================================== This PowerShell script writes the given text centered to the console. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-centered.ps1 [[-text] ] [] +PS> ./write-centered.ps1 [[-text] ] [] -text Specifies the text to write @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index 1e0913742..cad6d4cce 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -1,5 +1,5 @@ -The *write-changelog.ps1* Script -=========================== +PowerShell Script: *write-changelog.ps1* +=================================== This PowerShell script writes an automated changelog in Markdown format to the console by using the Git commits only. NOTE: For proper sorting the Git commits should start with verbs such as 'Add', 'Fix', 'Update', etc. You may also redirect the output into a file for later use. @@ -7,7 +7,7 @@ NOTE: For proper sorting the Git commits should start with verbs such as 'Add', Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-changelog.ps1 [[-RepoDir] ] [] +PS> ./write-changelog.ps1 [[-RepoDir] ] [] -RepoDir Specifies the path to the local Git repository (default is current working dir) @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-chart.md b/docs/write-chart.md index aa305d1e2..1eefd6018 100644 --- a/docs/write-chart.md +++ b/docs/write-chart.md @@ -1,5 +1,5 @@ -The *write-chart.ps1* Script -=========================== +PowerShell Script: *write-chart.ps1* +=================================== write-chart.ps1 @@ -68,4 +68,4 @@ WriteChartLine "Tom" 30.9 100.0 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-clock.md b/docs/write-clock.md index 4c2c9f556..6d37cfda2 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -1,12 +1,12 @@ -The *write-clock.ps1* Script -=========================== +PowerShell Script: *write-clock.ps1* +=================================== This PowerShell script writes the current time as ASCII clock. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-clock.ps1 [] +PS> ./write-clock.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-code.md b/docs/write-code.md index f7735134b..9d4631278 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -1,12 +1,12 @@ -The *write-code.ps1* Script -=========================== +PowerShell Script: *write-code.ps1* +=================================== This PowerShell script generates and writes PowerShell code on the console (no AI, just for fun). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-code.ps1 [[-color] ] [[-speed] ] [] +PS> ./write-code.ps1 [[-color] ] [[-speed] ] [] -color Specifies the text color to use ("green" by default) @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-credits.md b/docs/write-credits.md index 81ca0b571..cf92ecae5 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -1,12 +1,12 @@ -The *write-credits.ps1* Script -=========================== +PowerShell Script: *write-credits.ps1* +=================================== This PowerShell script writes the credits for the PowerShell script collection. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-credits.ps1 [] +PS> ./write-credits.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-date.md b/docs/write-date.md index acd03313f..c0fc56849 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -1,12 +1,12 @@ -The *write-date.ps1* Script -=========================== +PowerShell Script: *write-date.ps1* +=================================== This PowerShell script determines and writes the current date in US format. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-date.ps1 [] +PS> ./write-date.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index f6e0878dc..4ddac619c 100644 --- a/docs/write-fractal.md +++ b/docs/write-fractal.md @@ -1,5 +1,5 @@ -The *write-fractal.ps1* Script -=========================== +PowerShell Script: *write-fractal.ps1* +=================================== write-fractal.ps1 @@ -79,4 +79,4 @@ while ($true) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-green.md b/docs/write-green.md index f31058fe0..0c29ceda0 100644 --- a/docs/write-green.md +++ b/docs/write-green.md @@ -1,12 +1,12 @@ -The *write-green.ps1* Script -=========================== +PowerShell Script: *write-green.ps1* +=================================== This PowerShell script writes text in a green foreground color. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-green.ps1 [[-text] ] [] +PS> ./write-green.ps1 [[-text] ] [] -text Specifies the text to write @@ -64,4 +64,4 @@ write-host -foregroundColor green "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index 567bb4059..06dd628f1 100644 --- a/docs/write-hands-off.md +++ b/docs/write-hands-off.md @@ -1,12 +1,12 @@ -The *write-hands-off.ps1* Script -=========================== +PowerShell Script: *write-hands-off.ps1* +=================================== This PowerShell script writes 'Hands Off' in BIG letters. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-hands-off.ps1 [] +PS> ./write-hands-off.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-headline.md b/docs/write-headline.md index 58ba81ec0..4761006f3 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -1,12 +1,12 @@ -The *write-headline.ps1* Script -=========================== +PowerShell Script: *write-headline.ps1* +=================================== This PowerShell script writes the given text as a headline. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-headline.ps1 [[-text] ] [] +PS> ./write-headline.ps1 [[-text] ] [] -text Specifies the text to write @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-help.md b/docs/write-help.md index 216008fb3..1b56f3243 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -1,5 +1,5 @@ -The *write-help.ps1* Script -=========================== +PowerShell Script: *write-help.ps1* +=================================== write-help.ps1 @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index 054dfd734..d2bce46ff 100644 --- a/docs/write-in-emojis.md +++ b/docs/write-in-emojis.md @@ -1,12 +1,12 @@ -The *write-in-emojis.ps1* Script -=========================== +PowerShell Script: *write-in-emojis.ps1* +=================================== This PowerShell script replaces certain words in the given text by Emojis and writes it to the console. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-in-emojis.ps1 [[-text] ] [] +PS> ./write-in-emojis.ps1 [[-text] ] [] -text Specifies the text @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 6e590a405..837f8504a 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -1,12 +1,12 @@ -The *write-joke.ps1* Script -=========================== +PowerShell Script: *write-joke.ps1* +=================================== This PowerShell script selects a random joke (from Data/jokes.csv) and writes it to the console. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-joke.ps1 [] +PS> ./write-joke.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-location.md b/docs/write-location.md index b52405318..79ccaf637 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -1,12 +1,12 @@ -The *write-location.ps1* Script -=========================== +PowerShell Script: *write-location.ps1* +=================================== This PowerShell script determines the location and writes it to the console. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-location.ps1 [] +PS> ./write-location.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index 9fcfbbaef..f9f03be7a 100644 --- a/docs/write-lowercase.md +++ b/docs/write-lowercase.md @@ -1,12 +1,12 @@ -The *write-lowercase.ps1* Script -=========================== +PowerShell Script: *write-lowercase.ps1* +=================================== This PowerShell script writes the given text in lowercase letters. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-lowercase.ps1 [[-text] ] [] +PS> ./write-lowercase.ps1 [[-text] ] [] -text Specifies the text to write @@ -66,4 +66,4 @@ Write-Output $text.ToLower() exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index 3140bb183..9c33ac93f 100644 --- a/docs/write-marquee.md +++ b/docs/write-marquee.md @@ -1,12 +1,12 @@ -The *write-marquee.ps1* Script -=========================== +PowerShell Script: *write-marquee.ps1* +=================================== This PowerShell script writes the given text as marquee. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-marquee.ps1 [[-Text] ] [[-Speed] ] [] +PS> ./write-marquee.ps1 [[-Text] ] [[-Speed] ] [] -Text Specifies the text to write @@ -91,4 +91,4 @@ StartMarquee " exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index 75c70c07c..21a86e3c4 100644 --- a/docs/write-matrix.md +++ b/docs/write-matrix.md @@ -1,5 +1,5 @@ -The *write-matrix.ps1* Script -=========================== +PowerShell Script: *write-matrix.ps1* +=================================== write-matrix.ps1 @@ -81,4 +81,4 @@ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-moon.md b/docs/write-moon.md index 19db24411..ab884ffd2 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -1,12 +1,12 @@ -The *write-moon.ps1* Script -=========================== +PowerShell Script: *write-moon.ps1* +=================================== This PowerShell script writes the current moon phase to the console. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-moon.ps1 [] +PS> ./write-moon.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index a99c02189..58e4f4b47 100644 --- a/docs/write-morse-code.md +++ b/docs/write-morse-code.md @@ -1,12 +1,12 @@ -The *write-morse-code.ps1* Script -=========================== +PowerShell Script: *write-morse-code.ps1* +=================================== This PowerShell script writes the given text in Morse code. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-morse-code.ps1 [[-text] ] [[-speed] ] [] +PS> ./write-morse-code.ps1 [[-text] ] [[-speed] ] [] -text Specifies the text to write @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-motd.md b/docs/write-motd.md index 64561f8f1..3a0df05d3 100644 --- a/docs/write-motd.md +++ b/docs/write-motd.md @@ -1,12 +1,12 @@ -The *write-motd.ps1* Script -=========================== +PowerShell Script: *write-motd.ps1* +=================================== This PowerShell script writes the message of the day (MOTD). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-motd.ps1 [] +PS> ./write-motd.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -140,4 +140,4 @@ Write-Host " 'VEzjt:;;z>*`` " -ForegroundColor Yellow exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-pi.md b/docs/write-pi.md index 4faefea8c..70009c304 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -1,12 +1,12 @@ -The *write-pi.ps1* Script -=========================== +PowerShell Script: *write-pi.ps1* +=================================== This PowerShell script calculates and writes the digits of the mathematical constant PI. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-pi.ps1 [[-digits] ] [] +PS> ./write-pi.ps1 [[-digits] ] [] -digits Specifies the number of digits to list (1000 by default) @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-progress-bar.md b/docs/write-progress-bar.md index 747839329..bcf1ad5cc 100644 --- a/docs/write-progress-bar.md +++ b/docs/write-progress-bar.md @@ -1,5 +1,5 @@ -The *write-progress-bar.ps1* Script -=========================== +PowerShell Script: *write-progress-bar.ps1* +=================================== write-progress-bar.ps1 @@ -26,4 +26,4 @@ for ([int]$i = 0; $i -lt 150; $i++) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index 0199743ec..95a4104cb 100644 --- a/docs/write-qr-code.md +++ b/docs/write-qr-code.md @@ -1,12 +1,12 @@ -The *write-qr-code.ps1* Script -=========================== +PowerShell Script: *write-qr-code.ps1* +=================================== This PowerShell script writes "Hello World" as QR code to the console output. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-qr-code.ps1 [] +PS> ./write-qr-code.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -65,4 +65,4 @@ Write-Host " " -foregroundColor black -backgroundCol exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-quote.md b/docs/write-quote.md index a6fd1aa68..6c146d1de 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -1,12 +1,12 @@ -The *write-quote.ps1* Script -=========================== +PowerShell Script: *write-quote.ps1* +=================================== This PowerShell script selects a random quote from .../data/quotes.csv and writes it to the console. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-quote.ps1 [] +PS> ./write-quote.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-red.md b/docs/write-red.md index 2541cece5..a09d3dbc9 100644 --- a/docs/write-red.md +++ b/docs/write-red.md @@ -1,12 +1,12 @@ -The *write-red.ps1* Script -=========================== +PowerShell Script: *write-red.ps1* +=================================== This PowerShell script writes text in a red foreground color. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-red.ps1 [[-text] ] [] +PS> ./write-red.ps1 [[-text] ] [] -text Specifies the text to write @@ -64,4 +64,4 @@ write-host -foregroundcolor red "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index 7f07f8758..36b128cb8 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -1,12 +1,12 @@ -The *write-rot13.ps1* Script -=========================== +PowerShell Script: *write-rot13.ps1* +=================================== This PowerShell script writes text encoded or decoded with ROT13. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-rot13.ps1 [[-text] ] [] +PS> ./write-rot13.ps1 [[-text] ] [] -text Specifies the text to write @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-shit.md b/docs/write-shit.md index 378dc3b91..7facf3302 100644 --- a/docs/write-shit.md +++ b/docs/write-shit.md @@ -1,12 +1,12 @@ -The *write-shit.ps1* Script -=========================== +PowerShell Script: *write-shit.ps1* +=================================== This PowerShell script writes shit to the console (fun). Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-shit.ps1 [] +PS> ./write-shit.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -50,4 +50,4 @@ Write-Output "💩" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index 413fbbf0a..3084dba06 100644 --- a/docs/write-sine-curves.md +++ b/docs/write-sine-curves.md @@ -1,12 +1,12 @@ -The *write-sine-curves.ps1* Script -=========================== +PowerShell Script: *write-sine-curves.ps1* +=================================== This PowerShell script writes sine curves. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-sine-curves.ps1 [] +PS> ./write-sine-curves.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -56,4 +56,4 @@ Script Content } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-story.md b/docs/write-story.md index 3503eba56..31099cbf2 100644 --- a/docs/write-story.md +++ b/docs/write-story.md @@ -1,12 +1,12 @@ -The *write-story.ps1* Script -=========================== +PowerShell Script: *write-story.ps1* +=================================== This PowerShell script writes a story to the console output. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-story.ps1 [] +PS> ./write-story.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -75,4 +75,4 @@ foreach($line in $story) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-time.md b/docs/write-time.md index cbd7c7bba..d1af54248 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -1,12 +1,12 @@ -The *write-time.ps1* Script -=========================== +PowerShell Script: *write-time.ps1* +=================================== This PowerShell script queries the current time and writes it in US format to the console. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-time.ps1 [] +PS> ./write-time.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index 7e0673bd5..7f17a962e 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -1,12 +1,12 @@ -The *write-typewriter.ps1* Script -=========================== +PowerShell Script: *write-typewriter.ps1* +=================================== This PowerShell script writes the given text with the typewriter effect. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-typewriter.ps1 [[-text] ] [[-speed] ] [] +PS> ./write-typewriter.ps1 [[-text] ] [[-speed] ] [] -text Specifies the text to write (sample text by default) @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index e6e600849..2a92fa372 100644 --- a/docs/write-uppercase.md +++ b/docs/write-uppercase.md @@ -1,12 +1,12 @@ -The *write-uppercase.ps1* Script -=========================== +PowerShell Script: *write-uppercase.ps1* +=================================== This PowerShell script writes the given text in uppercase letters. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-uppercase.ps1 [[-text] ] [] +PS> ./write-uppercase.ps1 [[-text] ] [] -text Specifies the text to write (ask user by default) @@ -66,4 +66,4 @@ Write-Output $text.ToUpper() exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-value.md b/docs/write-value.md index 302fef140..d6d3b82fe 100644 --- a/docs/write-value.md +++ b/docs/write-value.md @@ -1,12 +1,12 @@ -The *write-value.ps1* Script -=========================== +PowerShell Script: *write-value.ps1* +=================================== This PowerShell script writes the given value with the unit and the value range to the console. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-value.ps1 [[-value] ] [[-unit] ] [[-redMin] ] [[-yellowMin] ] [[-yellowMax] ] [[-redMax] ] [] +PS> ./write-value.ps1 [[-value] ] [[-unit] ] [[-redMin] ] [[-yellowMin] ] [[-yellowMax] ] [[-redMax] ] [] -value Specifies the value @@ -170,4 +170,4 @@ Write-Host "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index fdd55090c..b3e2ecef3 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -1,12 +1,12 @@ -The *write-vertical.ps1* Script -=========================== +PowerShell Script: *write-vertical.ps1* +=================================== This PowerShell script writes text in vertical direction. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-vertical.ps1 [[-text] ] [] +PS> ./write-vertical.ps1 [[-text] ] [] -text Specifies the text to write @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md index 1a3f0632d..6f6e53a4e 100644 --- a/docs/write-xmas-tree.md +++ b/docs/write-xmas-tree.md @@ -1,12 +1,12 @@ -The *write-xmas-tree.ps1* Script -=========================== +PowerShell Script: *write-xmas-tree.ps1* +=================================== This PowerShell script writes a christmas tree to the terminal. Parameters ---------- ```powershell -/Repos/PowerShell/scripts/write-xmas-tree.ps1 [[-Size] ] [[-XPos] ] [[-colors] ] [[-Idx] ] [[-count] ] [[-duration] ] [] +PS> ./write-xmas-tree.ps1 [[-Size] ] [[-XPos] ] [[-colors] ] [[-Idx] ] [[-count] ] [[-duration] ] [] -Size @@ -132,4 +132,4 @@ do { ``` -*(page generated by convert-ps2md.ps1 as of 08/06/2025 15:18:27)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index 07562d7ae..a4673071b 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -162,7 +162,7 @@ try { } exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" Set-Location "$previousPath" exit 1 } diff --git a/scripts/clean-repo.ps1 b/scripts/clean-repo.ps1 index 3f383cca7..3e65d3c7a 100755 --- a/scripts/clean-repo.ps1 +++ b/scripts/clean-repo.ps1 @@ -48,6 +48,6 @@ try { "✅ Repo '$repoName' cleaned in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/convert-ps2md.ps1 b/scripts/convert-ps2md.ps1 index 663718fa7..c9b8fc24a 100755 --- a/scripts/convert-ps2md.ps1 +++ b/scripts/convert-ps2md.ps1 @@ -56,8 +56,8 @@ try { $ScriptName = (Get-Item "$filename").Name $full = Get-Help $filename -Full - "The *$($ScriptName)* Script" - "===========================" + "PowerShell Script: *$($ScriptName)*" + "===================================" $Description = ($full.description | Out-String).Trim() if ($Description -ne "") { @@ -72,7 +72,7 @@ try { "----------" "``````powershell" $Syntax = (($full.syntax | Out-String) -replace "`r`n", "`r`n").Trim() - $Syntax = (($Syntax | Out-String) -replace "/home/mf/Repos/PowerShell/scripts/", "PS> ./") + $Syntax = (($Syntax | Out-String) -replace "/Repos/PowerShell/scripts/", "PS> ./") if ($Syntax -ne "") { "$Syntax" } diff --git a/scripts/fetch-repo.ps1 b/scripts/fetch-repo.ps1 index 6220910fb..03bab86d7 100755 --- a/scripts/fetch-repo.ps1 +++ b/scripts/fetch-repo.ps1 @@ -38,6 +38,6 @@ try { "✅ Updates fetched into 📂$repoDirName repo in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-voices.ps1 b/scripts/list-voices.ps1 index 8fd615673..9221e7b9e 100755 --- a/scripts/list-voices.ps1 +++ b/scripts/list-voices.ps1 @@ -16,16 +16,16 @@ Author: Markus Fleschutz | License: CC0 #> -#Requires -Version 2.0 +#requires -version 5.1 try { Add-Type -AssemblyName System.Speech - $Synth = New-Object System.Speech.Synthesis.SpeechSynthesizer - $Synth.GetInstalledVoices() | + $synth = New-Object System.Speech.Synthesis.SpeechSynthesizer + $synth.GetInstalledVoices() | Select-Object -ExpandProperty VoiceInfo | Select-Object -Property Name, Culture, Gender, Age exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/pull-repo.ps1 b/scripts/pull-repo.ps1 index 9495a65a7..f45541732 100755 --- a/scripts/pull-repo.ps1 +++ b/scripts/pull-repo.ps1 @@ -48,6 +48,6 @@ try { "✅ Repo '$dirName' updated in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/switch-branch.ps1 b/scripts/switch-branch.ps1 index 627abb5d3..53c740ca5 100755 --- a/scripts/switch-branch.ps1 +++ b/scripts/switch-branch.ps1 @@ -63,6 +63,6 @@ try { "✅ Repo '$repoDirName' switched to '$branchName' branch in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } From a704645a2790db2330ddafe5c892bc7638e5ad1a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 7 Aug 2025 15:58:39 +0200 Subject: [PATCH 425/737] Updated list-tiobe-index.ps1 --- scripts/list-tiobe-index.ps1 | 69 ++++++++++++++++++------------------ 1 file changed, 35 insertions(+), 34 deletions(-) diff --git a/scripts/list-tiobe-index.ps1 b/scripts/list-tiobe-index.ps1 index 374c6b1c1..83bb2acf6 100755 --- a/scripts/list-tiobe-index.ps1 +++ b/scripts/list-tiobe-index.ps1 @@ -1,6 +1,6 @@ <# .SYNOPSIS - Lists the TIOBE index of top programming languages + Lists the TIOBE index .DESCRIPTION This PowerShell script lists the TIOBE index of top programming languages. .EXAMPLE @@ -11,49 +11,50 @@ Author: Markus Fleschutz | License: CC0 #> -function WriteBar { param([string]$Text, [float]$Value, [float]$Max, [float]$Change) - $Num = ($Value * 100.0) / $Max - while ($Num -ge 1.0) { - write-host -noNewLine "█" - $Num -= 1.0 +function WriteBar { param([string]$text, [float]$value, [float]$max, [float]$change) + $num = ($value * 100.0) / $max + while ($num -ge 1.0) { + Write-Host "█" -noNewline + $num -= 1.0 } - if ($Num -ge 0.875) { - write-host -noNewLine "▉" - } elseif ($Num -ge 0.75) { - write-host -noNewLine "▊" - } elseif ($Num -ge 0.625) { - write-host -noNewLine "▋" - } elseif ($Num -ge 0.5) { - write-host -noNewLine "▌" - } elseif ($Num -ge 0.375) { - write-host -noNewLine "▍" - } elseif ($Num -ge 0.25) { - write-host -noNewLine "▎" - } elseif ($Num -ge 0.125) { - write-host -noNewLine "▏" + if ($num -ge 0.875) { + Write-Host "▉" -noNewline + } elseif ($num -ge 0.75) { + Write-Host "▊" -noNewline + } elseif ($num -ge 0.625) { + Write-Host "▋" -noNewline + } elseif ($num -ge 0.5) { + Write-Host "▌" -noNewline + } elseif ($num -ge 0.375) { + Write-Host "▍" -noNewline + } elseif ($num -ge 0.25) { + Write-Host "▎" -noNewline + } elseif ($num -ge 0.125) { + Write-Host "▏" -noNewline } - write-host -noNewLine " $Text $($Value)%" - if ($Change -ge 0.0) { - write-host -foregroundColor green " +$($Change)%" + Write-Host " $text $($value)%" -noNewline + if ($change -ge 0.0) { + Write-Host -foregroundColor green " +$($change)%" } else { - write-host -foregroundColor red " $($Change)%" + Write-Host -foregroundColor red " $($change)%" } } try { - & write-big.ps1 "TIOBE INDEX 2021-06" - " Source: https://www.tiobe.com" - "" + Write-Host "" + Write-Host "TIOBE INDEX 2021-06 (source: https://www.tiobe.com)" + Write-Host "====================================================" + Write-Host "" - $Table = import-csv "$PSScriptRoot/../data/TIOBE-index.csv" - foreach($Row in $Table) { - [string]$Name = $Row.Language - [float]$Value = $Row.Popularity - [float]$Change = $Row.Change - WriteBar $Name $Value 14.0 $Change + $table = Import-CSV "$PSScriptRoot/../data/TIOBE-index.csv" + foreach($row in $table) { + [string]$name = $row.Language + [float]$value = $row.Popularity + [float]$change = $row.Change + WriteBar $name $value 14.0 $change } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } From 7ee6a194c4fe280d3055e5f2a2c9a7611c65ed2b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 7 Aug 2025 16:01:32 +0200 Subject: [PATCH 426/737] Updated the manuals --- docs/add-firewall-rules.md | 6 +- docs/alert.md | 6 +- docs/build-repo.md | 6 +- docs/build-repos.md | 6 +- docs/calculate-BMI.md | 6 +- docs/cd-autostart.md | 6 +- docs/cd-crashdumps.md | 6 +- docs/cd-desktop.md | 6 +- docs/cd-docs.md | 6 +- docs/cd-downloads.md | 6 +- docs/cd-dropbox.md | 6 +- docs/cd-etc.md | 6 +- docs/cd-fonts.md | 6 +- docs/cd-home.md | 6 +- docs/cd-jenkins.md | 6 +- docs/cd-logs.md | 6 +- docs/cd-music.md | 6 +- docs/cd-nextcloud.md | 6 +- docs/cd-onedrive.md | 6 +- docs/cd-pics.md | 6 +- docs/cd-public.md | 6 +- docs/cd-recent.md | 6 +- docs/cd-recycle-bin.md | 6 +- docs/cd-repo.md | 6 +- docs/cd-repos.md | 6 +- docs/cd-root.md | 6 +- docs/cd-screenshots.md | 6 +- docs/cd-scripts.md | 6 +- docs/cd-ssh.md | 6 +- docs/cd-sync.md | 6 +- docs/cd-temp.md | 6 +- docs/cd-templates.md | 6 +- docs/cd-trash.md | 6 +- docs/cd-up.md | 6 +- docs/cd-up2.md | 6 +- docs/cd-up3.md | 6 +- docs/cd-up4.md | 6 +- docs/cd-users.md | 6 +- docs/cd-videos.md | 6 +- docs/cd-windows.md | 6 +- docs/change-wallpaper.md | 6 +- docs/check-admin.md | 6 +- docs/check-apps.md | 6 +- docs/check-bios.md | 6 +- docs/check-cpu.md | 6 +- docs/check-credentials.md | 6 +- docs/check-day.md | 6 +- docs/check-dns.md | 6 +- docs/check-drive-space.md | 6 +- docs/check-drives.md | 6 +- docs/check-dusk.md | 6 +- docs/check-easter-sunday.md | 6 +- docs/check-file-system.md | 6 +- docs/check-file.md | 6 +- docs/check-firewall.md | 6 +- docs/check-gpu.md | 6 +- docs/check-hardware.md | 6 +- docs/check-health.md | 6 +- docs/check-independence-day.md | 6 +- docs/check-ipv4-address.md | 6 +- docs/check-ipv6-address.md | 6 +- docs/check-iss-position.md | 6 +- docs/check-mac-address.md | 6 +- docs/check-midnight.md | 6 +- docs/check-month.md | 6 +- docs/check-moon-phase.md | 6 +- docs/check-motherboard.md | 6 +- docs/check-network.md | 6 +- docs/check-noon.md | 6 +- docs/check-os.md | 6 +- docs/check-outlook.md | 6 +- docs/check-password.md | 6 +- docs/check-pending-reboot.md | 6 +- docs/check-pnp-devices.md | 6 +- docs/check-power.md | 6 +- docs/check-powershell.md | 6 +- docs/check-ps1-file.md | 6 +- docs/check-ram.md | 6 +- docs/check-repo.md | 6 +- docs/check-repos.md | 6 +- docs/check-santa.md | 6 +- docs/check-smart-devices.md | 6 +- docs/check-software.md | 6 +- docs/check-subnet-mask.md | 6 +- docs/check-swap-space.md | 6 +- docs/check-symlinks.md | 6 +- docs/check-time-zone.md | 6 +- docs/check-uptime.md | 6 +- docs/check-vpn.md | 6 +- docs/check-weather.md | 6 +- docs/check-week.md | 6 +- docs/check-wind.md | 6 +- docs/check-windows-system-files.md | 6 +- docs/check-xml-file.md | 6 +- docs/check-xml-files.md | 6 +- docs/clean-repo.md | 6 +- docs/clean-repos.md | 6 +- docs/clear-dns-cache.md | 6 +- docs/clear-recycle-bin.md | 6 +- docs/clone-repos.md | 6 +- docs/clone-shallow.md | 6 +- docs/close-calculator.md | 6 +- docs/close-chrome.md | 6 +- docs/close-cortana.md | 6 +- docs/close-edge.md | 6 +- docs/close-file-explorer.md | 6 +- docs/close-firefox.md | 6 +- docs/close-git-extensions.md | 6 +- docs/close-magnifier.md | 6 +- docs/close-microsoft-paint.md | 6 +- docs/close-microsoft-store.md | 6 +- docs/close-netflix.md | 6 +- docs/close-notepad.md | 6 +- docs/close-obs-studio.md | 6 +- docs/close-one-calendar.md | 6 +- docs/close-outlook.md | 6 +- docs/close-paint-three-d.md | 6 +- docs/close-program.md | 6 +- docs/close-serenade.md | 6 +- docs/close-snipping-tool.md | 6 +- docs/close-spotify.md | 6 +- docs/close-task-manager.md | 6 +- docs/close-three-d-viewer.md | 6 +- docs/close-thunderbird.md | 6 +- docs/close-visual-studio.md | 6 +- docs/close-vlc.md | 6 +- docs/close-windows-terminal.md | 6 +- docs/configure-git.md | 6 +- docs/connect-vpn.md | 6 +- docs/convert-csv2txt.md | 6 +- docs/convert-dir27z.md | 6 +- docs/convert-dir2zip.md | 6 +- docs/convert-docx2md.md | 6 +- docs/convert-frames2mp4.md | 6 +- docs/convert-history2ps1.md | 6 +- docs/convert-image2ascii.md | 6 +- docs/convert-image2blurred-frames.md | 6 +- docs/convert-image2pixelated-frames.md | 6 +- docs/convert-images2webp.md | 6 +- docs/convert-md2docx.md | 6 +- docs/convert-md2html.md | 6 +- docs/convert-md2pdf.md | 6 +- docs/convert-mysql2csv.md | 6 +- docs/convert-ps2bat.md | 6 +- docs/convert-ps2md.md | 10 +-- docs/convert-sql2csv.md | 6 +- docs/convert-txt2wav.md | 6 +- docs/copy-broken-file.md | 6 +- docs/copy-photos-sorted.md | 6 +- docs/copy-videos-sorted.md | 6 +- docs/count-characters.md | 6 +- docs/count-lines.md | 6 +- docs/decrypt-file.md | 6 +- docs/disable-ipv6.md | 6 +- docs/disconnect-vpn.md | 6 +- docs/download-dir.md | 6 +- docs/download-file.md | 6 +- docs/edit.md | 6 +- docs/enable-crash-dumps.md | 6 +- docs/enable-god-mode.md | 6 +- docs/enable-ipv6.md | 6 +- docs/encrypt-file.md | 6 +- docs/enter-chat.md | 6 +- docs/enter-host.md | 6 +- docs/export-to-manuals.md | 6 +- docs/fetch-repo.md | 6 +- docs/fetch-repos.md | 6 +- docs/firefox-installer.md | 6 +- docs/get-md5.md | 6 +- docs/get-sha1.md | 6 +- docs/get-sha256.md | 6 +- docs/get-sha512.md | 6 +- docs/hello-world.md | 6 +- docs/hibernate.md | 6 +- docs/import-vm.md | 6 +- docs/inspect-exe.md | 6 +- docs/install-audacity.md | 6 +- docs/install-basic-apps.md | 6 +- docs/install-basic-snaps.md | 6 +- docs/install-calibre-server.md | 6 +- docs/install-chocolatey.md | 6 +- docs/install-chrome.md | 6 +- docs/install-crystal-disk-info.md | 6 +- docs/install-crystal-disk-mark.md | 6 +- docs/install-discord.md | 6 +- docs/install-edge.md | 6 +- docs/install-edit.md | 6 +- docs/install-evcc.md | 6 +- docs/install-firefox.md | 6 +- docs/install-fonts.md | 6 +- docs/install-git-extensions.md | 6 +- docs/install-git-for-windows.md | 6 +- docs/install-github-cli.md | 6 +- docs/install-gitlab.md | 6 +- docs/install-h2static.md | 6 +- docs/install-irfanview.md | 6 +- docs/install-jenkins-agent.md | 6 +- docs/install-knot-resolver.md | 6 +- docs/install-microsoft-teams.md | 6 +- docs/install-mini-dlna.md | 6 +- docs/install-netflix.md | 6 +- docs/install-obs-studio.md | 6 +- docs/install-octoprint.md | 6 +- docs/install-one-calendar.md | 6 +- docs/install-opera-browser.md | 6 +- docs/install-opera-gx.md | 6 +- docs/install-paint-3d.md | 6 +- docs/install-power-toys.md | 6 +- docs/install-powershell.md | 6 +- docs/install-rufus.md | 6 +- docs/install-salesforce-cli.md | 6 +- docs/install-scoop.md | 6 +- docs/install-signal-cli.md | 6 +- docs/install-spotify.md | 6 +- docs/install-ssh-client.md | 6 +- docs/install-ssh-server.md | 6 +- docs/install-syncthing.md | 6 +- docs/install-thunderbird.md | 6 +- docs/install-unbound-server.md | 6 +- docs/install-updates.md | 6 +- docs/install-visual-studio-code.md | 6 +- docs/install-vivaldi.md | 6 +- docs/install-vlc.md | 6 +- docs/install-windows-terminal.md | 6 +- docs/install-wsl.md | 6 +- docs/install-zoom.md | 6 +- docs/introduce-powershell.md | 6 +- docs/kill-process.md | 6 +- docs/list-aliases.md | 6 +- docs/list-anagrams.md | 6 +- docs/list-apps.md | 6 +- docs/list-ascii-table.md | 6 +- docs/list-automatic-variables.md | 6 +- docs/list-battery-status.md | 6 +- docs/list-bios.md | 6 +- docs/list-bluetooth-devices.md | 6 +- docs/list-branches.md | 6 +- docs/list-calendar.md | 6 +- docs/list-cheat-sheet.md | 6 +- docs/list-city-weather.md | 6 +- docs/list-cli-tools.md | 6 +- docs/list-clipboard.md | 6 +- docs/list-cmdlets.md | 6 +- docs/list-coffee-prices.md | 6 +- docs/list-commit-stats.md | 6 +- docs/list-commits.md | 6 +- docs/list-console-colors.md | 6 +- docs/list-countries.md | 6 +- docs/list-cpu.md | 6 +- docs/list-crypto-rates.md | 6 +- docs/list-defender-settings.md | 6 +- docs/list-dir-tree.md | 6 +- docs/list-dns-servers.md | 6 +- docs/list-drives.md | 6 +- docs/list-earthquakes.md | 6 +- docs/list-emojis.md | 6 +- docs/list-empty-dirs.md | 6 +- docs/list-empty-files.md | 6 +- docs/list-encrypted-files.md | 6 +- docs/list-environment-variables.md | 6 +- docs/list-error-types.md | 6 +- docs/list-exchange-rates.md | 6 +- docs/list-executables.md | 6 +- docs/list-fibonacci.md | 6 +- docs/list-files.md | 6 +- docs/list-folder.md | 6 +- docs/list-fritzbox-calls.md | 6 +- docs/list-fritzbox-devices.md | 6 +- docs/list-headlines.md | 6 +- docs/list-hidden-files.md | 6 +- docs/list-installed-hotfixes.md | 6 +- docs/list-installed-languages.md | 6 +- docs/list-installed-scripts.md | 6 +- docs/list-installed-software.md | 6 +- docs/list-internet-ip.md | 6 +- docs/list-ipv6.md | 6 +- docs/list-latest-tag.md | 6 +- docs/list-latest-tags.md | 6 +- docs/list-local-ip.md | 6 +- docs/list-mDNS.md | 6 +- docs/list-memos.md | 6 +- docs/list-mysql-tables.md | 6 +- docs/list-network-connections.md | 6 +- docs/list-network-neighbors.md | 6 +- docs/list-network-routes.md | 6 +- docs/list-network-shares.md | 6 +- docs/list-news.md | 6 +- docs/list-nic.md | 6 +- docs/list-nina-warnings.md | 6 +- docs/list-old-branches.md | 6 +- docs/list-os-releases.md | 6 +- docs/list-os-updates.md | 6 +- docs/list-os.md | 6 +- docs/list-outlook-inbox.md | 6 +- docs/list-outlook-sent.md | 6 +- docs/list-passwords.md | 6 +- docs/list-pins.md | 6 +- docs/list-power-schemes.md | 6 +- docs/list-powershell-modules.md | 6 +- docs/list-powershell-profiles.md | 6 +- docs/list-powershell-verbs.md | 6 +- docs/list-print-jobs.md | 6 +- docs/list-printers.md | 6 +- docs/list-processes.md | 6 +- docs/list-pull-requests.md | 6 +- docs/list-ram.md | 6 +- docs/list-read-only-files.md | 6 +- docs/list-recycle-bin.md | 6 +- docs/list-repos.md | 6 +- docs/list-scripts.md | 6 +- docs/list-scsi-devices.md | 6 +- docs/list-services.md | 6 +- docs/list-special-folders.md | 6 +- docs/list-sql-tables.md | 6 +- docs/list-ssh-key.md | 6 +- docs/list-submodules.md | 6 +- docs/list-suggestions.md | 6 +- docs/list-system-devices.md | 6 +- docs/list-system-files.md | 6 +- docs/list-system-info.md | 6 +- docs/list-tags.md | 6 +- docs/list-tasks.md | 6 +- docs/list-timezone.md | 6 +- docs/list-timezones.md | 6 +- docs/list-tiobe-index.md | 75 +++++++++++---------- docs/list-unused-files.md | 6 +- docs/list-updates.md | 6 +- docs/list-usb-devices.md | 6 +- docs/list-user-accounts.md | 6 +- docs/list-user-groups.md | 6 +- docs/list-voices.md | 6 +- docs/list-voices.md.orig | 78 ---------------------- docs/list-weather.md | 6 +- docs/list-wifi.md | 6 +- docs/list-window-titles.md | 6 +- docs/list-workdir.md | 6 +- docs/list-wsl-distros.md | 6 +- docs/locate-city.md | 6 +- docs/locate-ipaddress.md | 6 +- docs/locate-my-phone.md | 6 +- docs/locate-zip-code.md | 6 +- docs/lock-desktop.md | 6 +- docs/log-off.md | 6 +- docs/make-install.md | 6 +- docs/measure-BubbleSort.md | 6 +- docs/measure-BucketSort.md | 6 +- docs/measure-CountingSort.md | 6 +- docs/measure-HeapSort.md | 6 +- docs/measure-InsertionSort.md | 6 +- docs/measure-MergeSort.md | 6 +- docs/measure-QuickSort.md | 6 +- docs/measure-SelectionSort.md | 6 +- docs/measure-sorting-algorithms.md | 6 +- docs/merry-christmas.md | 6 +- docs/minimize-all-windows.md | 6 +- docs/move-mouse-pointer.md | 6 +- docs/move-vm.md | 6 +- docs/my-profile.md | 6 +- docs/new-branch.md | 6 +- docs/new-dir.md | 6 +- docs/new-email.md | 6 +- docs/new-junction.md | 6 +- docs/new-linux-vm.md | 6 +- docs/new-markdown-file.md | 6 +- docs/new-power-plan.md | 6 +- docs/new-powershell-script.md | 6 +- docs/new-qrcode.md | 6 +- docs/new-reboot-task.md | 6 +- docs/new-shortcut.md | 6 +- docs/new-ssh-key.md | 6 +- docs/new-symlink.md | 6 +- docs/new-tab.md | 6 +- docs/new-tag.md | 6 +- docs/new-text-file.md | 6 +- docs/new-user.md | 6 +- docs/new-windows-vm.md | 6 +- docs/on-desktop-login.md | 6 +- docs/open-URL.md | 6 +- docs/open-apps-folder.md | 6 +- docs/open-auto-start-folder.md | 6 +- docs/open-bing-maps.md | 6 +- docs/open-booking-com.md | 6 +- docs/open-c-drive.md | 6 +- docs/open-calculator.md | 6 +- docs/open-chrome.md | 6 +- docs/open-clock.md | 6 +- docs/open-cortana.md | 6 +- docs/open-d-drive.md | 6 +- docs/open-dashboards.md | 6 +- docs/open-deep-l-translator.md | 6 +- docs/open-default-browser.md | 6 +- docs/open-desktop-folder.md | 6 +- docs/open-documents-folder.md | 6 +- docs/open-downloads-folder.md | 6 +- docs/open-dropbox-folder.md | 6 +- docs/open-duck-duck-go.md | 6 +- docs/open-e-drive.md | 6 +- docs/open-edge.md | 6 +- docs/open-egg-timer.md | 6 +- docs/open-email-client.md | 6 +- docs/open-f-drive.md | 6 +- docs/open-file-explorer.md | 6 +- docs/open-fire-place.md | 6 +- docs/open-firefox.md | 6 +- docs/open-flight-radar.md | 6 +- docs/open-g-drive.md | 6 +- docs/open-git-extensions.md | 6 +- docs/open-google-books.md | 6 +- docs/open-google-calendar.md | 6 +- docs/open-google-contacts.md | 6 +- docs/open-google-docs.md | 6 +- docs/open-google-earth.md | 6 +- docs/open-google-mail.md | 6 +- docs/open-google-maps.md | 6 +- docs/open-google-news.md | 6 +- docs/open-google-photos.md | 6 +- docs/open-google-play.md | 6 +- docs/open-google-search.md | 6 +- docs/open-google-stadia.md | 6 +- docs/open-google-translate.md | 6 +- docs/open-home-folder.md | 6 +- docs/open-internet-archive.md | 6 +- docs/open-jitsi-meet.md | 6 +- docs/open-m-drive.md | 6 +- docs/open-magnifier.md | 6 +- docs/open-microsoft-paint.md | 6 +- docs/open-microsoft-solitaire.md | 6 +- docs/open-microsoft-store.md | 6 +- docs/open-microsoft-teams.md | 6 +- docs/open-music-folder.md | 6 +- docs/open-netflix.md | 6 +- docs/open-notepad.md | 6 +- docs/open-obs-studio.md | 6 +- docs/open-office-365.md | 6 +- docs/open-one-drive-folder.md | 6 +- docs/open-outlook.md | 6 +- docs/open-paint-three-d.md | 6 +- docs/open-pictures-folder.md | 6 +- docs/open-rdp.md | 6 +- docs/open-recycle-bin-folder.md | 6 +- docs/open-remote-desktop.md | 6 +- docs/open-repos-folder.md | 6 +- docs/open-screen-clip.md | 6 +- docs/open-screen-sketch.md | 6 +- docs/open-skype.md | 6 +- docs/open-snipping-tool.md | 6 +- docs/open-speed-test.md | 6 +- docs/open-spotify.md | 6 +- docs/open-stack-overflow.md | 6 +- docs/open-start-page.md | 6 +- docs/open-street-map.md | 6 +- docs/open-task-manager.md | 6 +- docs/open-temporary-folder.md | 6 +- docs/open-three-d-viewer.md | 6 +- docs/open-thunderbird.md | 6 +- docs/open-videos-folders.md | 6 +- docs/open-visual-studio.md | 6 +- docs/open-voice-recorder.md | 6 +- docs/open-vpn-settings.md | 6 +- docs/open-windows-defender.md | 6 +- docs/open-windows-terminal.md | 6 +- docs/open-windy.md | 6 +- docs/open-xing.md | 6 +- docs/pick-commit.md | 6 +- docs/ping-host.md | 6 +- docs/ping-internet.md | 6 +- docs/ping-local-devices.md | 6 +- docs/ping-weather.md | 6 +- docs/play-bee-sound.md | 6 +- docs/play-beep-sound.md | 6 +- docs/play-big-ben.md | 6 +- docs/play-cat-sound.md | 6 +- docs/play-chess.md | 6 +- docs/play-cow-sound.md | 6 +- docs/play-dog-sound.md | 6 +- docs/play-donkey-sound.md | 6 +- docs/play-drug-wars.md | 6 +- docs/play-elephant-sound.md | 6 +- docs/play-elk-sound.md | 6 +- docs/play-files.md | 6 +- docs/play-frog-sound.md | 6 +- docs/play-goat-sound.md | 6 +- docs/play-gorilla-sound.md | 6 +- docs/play-happy-birthday.md | 6 +- docs/play-horse-sound.md | 6 +- docs/play-imperial-march.md | 6 +- docs/play-jingle-bells.md | 6 +- docs/play-lion-sound.md | 6 +- docs/play-m3u.md | 6 +- docs/play-mission-impossible.md | 6 +- docs/play-mp3.md | 6 +- docs/play-parrot-sound.md | 6 +- docs/play-pig-sound.md | 6 +- docs/play-pong.md | 6 +- docs/play-rattlesnake-sound.md | 6 +- docs/play-rick.md | 6 +- docs/play-snake.md | 6 +- docs/play-super-mario.md | 6 +- docs/play-system-sounds.md | 6 +- docs/play-tetris-melody.md | 6 +- docs/play-vulture-sound.md | 6 +- docs/play-wolf-sound.md | 6 +- docs/poweroff.md | 6 +- docs/print-image.md | 6 +- docs/publish-to-ipfs.md | 6 +- docs/pull-repo.md | 6 +- docs/pull-repos.md | 6 +- docs/query-smart-data.md | 6 +- docs/reboot-fritzbox.md | 6 +- docs/reboot-into-bios.md | 6 +- docs/reboot.md | 6 +- docs/remember.md | 6 +- docs/remind-me.md | 6 +- docs/remove-dir.md | 6 +- docs/remove-empty-dirs.md | 6 +- docs/remove-old-dirs.md | 6 +- docs/remove-print-jobs.md | 6 +- docs/remove-tag.md | 6 +- docs/remove-user.md | 6 +- docs/remove-vm.md | 6 +- docs/replace-in-files.md | 6 +- docs/restart-network-adapters.md | 6 +- docs/roll-a-dice.md | 6 +- docs/save-credentials.md | 6 +- docs/save-screenshot.md | 6 +- docs/scan-folder.md | 6 +- docs/scan-network.md | 6 +- docs/scan-ports.md | 6 +- docs/search-filename.md | 6 +- docs/search-files.md | 6 +- docs/search-repo.md | 6 +- docs/send-email.md | 6 +- docs/send-tcp.md | 6 +- docs/send-udp.md | 6 +- docs/set-timer.md | 6 +- docs/set-volume.md | 6 +- docs/set-wallpaper.md | 6 +- docs/show-lightnings.md | 6 +- docs/show-notification-motivation-quote.md | 6 +- docs/show-notification.md | 6 +- docs/show-traffic.md | 6 +- docs/simulate-presence.md | 6 +- docs/smart-data2csv.md | 6 +- docs/speak-arabic.md | 6 +- docs/speak-checklist.md | 6 +- docs/speak-countdown.md | 6 +- docs/speak-croatian.md | 6 +- docs/speak-danish.md | 6 +- docs/speak-dutch.md | 6 +- docs/speak-english.md | 6 +- docs/speak-epub.md | 6 +- docs/speak-esperanto.md | 6 +- docs/speak-file.md | 6 +- docs/speak-finnish.md | 6 +- docs/speak-french.md | 6 +- docs/speak-german.md | 6 +- docs/speak-greek.md | 6 +- docs/speak-hebrew.md | 6 +- docs/speak-hindi.md | 6 +- docs/speak-italian.md | 6 +- docs/speak-japanese.md | 6 +- docs/speak-korean.md | 6 +- docs/speak-latin.md | 6 +- docs/speak-mandarin.md | 6 +- docs/speak-norwegian.md | 6 +- docs/speak-polish.md | 6 +- docs/speak-portuguese.md | 6 +- docs/speak-russian.md | 6 +- docs/speak-spanish.md | 6 +- docs/speak-swedish.md | 6 +- docs/speak-test.md | 6 +- docs/speak-text.md | 6 +- docs/speak-thai.md | 6 +- docs/speak-turkish.md | 6 +- docs/speak-ukrainian.md | 6 +- docs/spell-word.md | 6 +- docs/start-ipfs-server.md | 6 +- docs/suspend.md | 6 +- docs/switch-branch.md | 6 +- docs/switch-shelly1.md | 6 +- docs/switch-tabs.md | 6 +- docs/sync-dir.md | 6 +- docs/sync-repo.md | 6 +- docs/tell-joke.md | 6 +- docs/tell-new-year.md | 6 +- docs/tell-quote.md | 6 +- docs/toggle-caps-lock.md | 6 +- docs/toggle-num-lock.md | 6 +- docs/toggle-scroll-lock.md | 6 +- docs/touch.md | 6 +- docs/translate-file.md | 6 +- docs/translate-files.md | 6 +- docs/translate-text.md | 6 +- docs/turn-volume-down.md | 6 +- docs/turn-volume-fully-up.md | 6 +- docs/turn-volume-off.md | 6 +- docs/turn-volume-on.md | 6 +- docs/turn-volume-up.md | 6 +- docs/uninstall-all-apps.md | 6 +- docs/uninstall-bloatware.md | 6 +- docs/uninstall-new-outlook.md | 6 +- docs/uninstall-outlook.md | 6 +- docs/update-powershell-profile.md | 6 +- docs/upgrade-ubuntu.md | 6 +- docs/upload-file.md | 6 +- docs/upload-to-dropbox.md | 6 +- docs/wake-up-host.md | 6 +- docs/wake-up-human.md | 6 +- docs/watch-commits.md | 6 +- docs/watch-crypto-rates.md | 6 +- docs/watch-file.md | 6 +- docs/watch-host.md | 6 +- docs/watch-news.md | 6 +- docs/watch-ping.md | 6 +- docs/weather-report.md | 6 +- docs/weather.md | 6 +- docs/what-is.md | 6 +- docs/windefender.md | 6 +- docs/write-animated.md | 6 +- docs/write-ascii-image.md | 6 +- docs/write-big.md | 6 +- docs/write-blue.md | 6 +- docs/write-braille.md | 6 +- docs/write-centered.md | 6 +- docs/write-changelog.md | 6 +- docs/write-chart.md | 6 +- docs/write-clock.md | 6 +- docs/write-code.md | 6 +- docs/write-credits.md | 6 +- docs/write-date.md | 6 +- docs/write-fractal.md | 6 +- docs/write-green.md | 6 +- docs/write-hands-off.md | 6 +- docs/write-headline.md | 6 +- docs/write-help.md | 6 +- docs/write-in-emojis.md | 6 +- docs/write-joke.md | 6 +- docs/write-location.md | 6 +- docs/write-lowercase.md | 6 +- docs/write-marquee.md | 6 +- docs/write-matrix.md | 6 +- docs/write-moon.md | 6 +- docs/write-morse-code.md | 6 +- docs/write-motd.md | 6 +- docs/write-pi.md | 6 +- docs/write-progress-bar.md | 6 +- docs/write-qr-code.md | 6 +- docs/write-quote.md | 6 +- docs/write-red.md | 6 +- docs/write-rot13.md | 6 +- docs/write-shit.md | 6 +- docs/write-sine-curves.md | 6 +- docs/write-story.md | 6 +- docs/write-time.md | 6 +- docs/write-typewriter.md | 6 +- docs/write-uppercase.md | 6 +- docs/write-value.md | 6 +- docs/write-vertical.md | 6 +- docs/write-xmas-tree.md | 6 +- scripts/convert-ps2md.ps1 | 4 +- 660 files changed, 2013 insertions(+), 2090 deletions(-) delete mode 100644 docs/list-voices.md.orig diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index b9d1fda57..f70e4ff02 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -1,5 +1,5 @@ -PowerShell Script: *add-firewall-rules.ps1* -=================================== +Script: *add-firewall-rules.ps1* +======================== This PowerShell script adds firewall rules for the given executable. Administrator rights are required. @@ -116,4 +116,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/alert.md b/docs/alert.md index a250f5736..2d3deb1ef 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -1,5 +1,5 @@ -PowerShell Script: *alert.ps1* -=================================== +Script: *alert.ps1* +======================== This PowerShell script handles and escalates the given alert message. @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/build-repo.md b/docs/build-repo.md index d796eb2f4..3671a2bb6 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -1,5 +1,5 @@ -PowerShell Script: *build-repo.ps1* -=================================== +Script: *build-repo.ps1* +======================== This PowerShell script builds a Git repository by supporting the following build systems: autogen, cargo, cmake, configure, Gradle, Imakefile, Makefile, and Meson. @@ -215,4 +215,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/build-repos.md b/docs/build-repos.md index ef8accd04..cacac9869 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -1,5 +1,5 @@ -PowerShell Script: *build-repos.ps1* -=================================== +Script: *build-repos.ps1* +======================== This PowerShell script builds all Git repositories in a folder. @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/calculate-BMI.md b/docs/calculate-BMI.md index 2524e8ee7..d67587b64 100644 --- a/docs/calculate-BMI.md +++ b/docs/calculate-BMI.md @@ -1,5 +1,5 @@ -PowerShell Script: *calculate-BMI.ps1* -=================================== +Script: *calculate-BMI.ps1* +======================== This PowerShell script calculates the BMI. @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index e2b1bf99e..f1cd68000 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-autostart.ps1* -=================================== +Script: *cd-autostart.ps1* +======================== This PowerShell script changes the working directory to the user's autostart folder. @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index dd4151fc8..1b29df78e 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-crashdumps.ps1* -=================================== +Script: *cd-crashdumps.ps1* +======================== 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. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index 9cbdee039..3df793473 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-desktop.ps1* -=================================== +Script: *cd-desktop.ps1* +======================== This PowerShell script changes the working directory to the user's desktop folder. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index 10148464d..2c37b0e39 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-docs.ps1* -=================================== +Script: *cd-docs.ps1* +======================== This PowerShell script changes the current working directory to the documents folder. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index 9f949b88b..5a8cc7f10 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-downloads.ps1* -=================================== +Script: *cd-downloads.ps1* +======================== This PowerShell script changes the working directory to the user's downloads folder. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index 12e1cef6a..6f2bf9b00 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-dropbox.ps1* -=================================== +Script: *cd-dropbox.ps1* +======================== This PowerShell script changes the working directory to the user's Dropbox folder. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index 3f694a77d..70e85ea16 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-etc.ps1* -=================================== +Script: *cd-etc.ps1* +======================== This PowerShell script changes the current working directory to the /etc directory. @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index f5bf7ac6c..8daa51a76 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-fonts.ps1* -=================================== +Script: *cd-fonts.ps1* +======================== This PowerShell script sets the current working directory to the fonts folder. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-home.md b/docs/cd-home.md index 0b9e76b35..bc6877e71 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-home.ps1* -=================================== +Script: *cd-home.ps1* +======================== This PowerShell script changes the working directory to the user's home directory. @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index fb2e675e2..5db8cc475 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-jenkins.ps1* -=================================== +Script: *cd-jenkins.ps1* +======================== This PowerShell script changes the working directory to the Jenkins home directory. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index c631fa8a3..8044742cc 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-logs.ps1* -=================================== +Script: *cd-logs.ps1* +======================== This PowerShell script changes the current working directory to the logs directory. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-music.md b/docs/cd-music.md index 196305ef9..30d2e8603 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-music.ps1* -=================================== +Script: *cd-music.ps1* +======================== This PowerShell script changes the working directory to the user's music folder. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index f47d76634..9085d23f3 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-nextcloud.ps1* -=================================== +Script: *cd-nextcloud.ps1* +======================== This PowerShell script changes the working directory to the user's NextCloud folder. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index fb58cd4c1..aba530f11 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-onedrive.ps1* -=================================== +Script: *cd-onedrive.ps1* +======================== This PowerShell script sets the current working directory to the user's OneDrive folder. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index 2b7eb6265..37d8e6e84 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-pics.ps1* -=================================== +Script: *cd-pics.ps1* +======================== This PowerShell script changes the current working directory to the user's pictures folder. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-public.md b/docs/cd-public.md index f31a132f9..17aad87ef 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-public.ps1* -=================================== +Script: *cd-public.ps1* +======================== This PowerShell script changes the current working directory to the Public folder. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index 76b054019..a7591b9f9 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-recent.ps1* -=================================== +Script: *cd-recent.ps1* +======================== This PowerShell script changes the current working directory to the 'recent' folder. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index 5c44e5f2b..f44d50c51 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-recycle-bin.ps1* -=================================== +Script: *cd-recycle-bin.ps1* +======================== This PowerShell script changes the current working directory to the user's recycle bin folder. @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index 8151dda7d..b876b6636 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-repo.ps1* -=================================== +Script: *cd-repo.ps1* +======================== This PowerShell script changes the current working directory to the given local Git repository. @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index 7f2d84b26..ce5d4bcca 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-repos.ps1* -=================================== +Script: *cd-repos.ps1* +======================== This PowerShell script changes the current working directory to the folder for Git repositories. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-root.md b/docs/cd-root.md index 333b30f1c..1eda72199 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-root.ps1* -=================================== +Script: *cd-root.ps1* +======================== This PowerShell script changes the current working directory to the root directory (C:\ on Windows). @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index fcab56271..893b71606 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-screenshots.ps1* -=================================== +Script: *cd-screenshots.ps1* +======================== This PowerShell script sets the current working directory to the user's screenshots folder. @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index 3ee0f68b3..e7ed4299f 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-scripts.ps1* -=================================== +Script: *cd-scripts.ps1* +======================== This PowerShell script changes the currrent working directory to the PowerShell scripts folder. @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index 5064ef450..811459736 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-ssh.ps1* -=================================== +Script: *cd-ssh.ps1* +======================== This PowerShell script changes the current working directory to the user's secure shell (SSH) folder. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-sync.md b/docs/cd-sync.md index 0e948fb3c..55ec5a039 100644 --- a/docs/cd-sync.md +++ b/docs/cd-sync.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-sync.ps1* -=================================== +Script: *cd-sync.ps1* +======================== This PowerShell script changes the current working directory to the user's Syncthing folder. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index 770b8ed77..b25c10cc4 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-temp.ps1* -=================================== +Script: *cd-temp.ps1* +======================== This PowerShell script changes the current working directory to the temporary folder. @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index 0511d1922..2205ca3e2 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-templates.ps1* -=================================== +Script: *cd-templates.ps1* +======================== This PowerShell script sets the current working directory to the templates folder. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index b2fcf313a..4568ce2f5 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-trash.ps1* -=================================== +Script: *cd-trash.ps1* +======================== This PowerShell script changes the current working directory to the user's trash folder. @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-up.md b/docs/cd-up.md index 54168f545..432d90494 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-up.ps1* -=================================== +Script: *cd-up.ps1* +======================== This PowerShell script changes the current working directory to one directory level up. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index 6bca04d1b..1f79d1985 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-up2.ps1* -=================================== +Script: *cd-up2.ps1* +======================== This PowerShell script changes the current working directory to two directory level up. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index c2e8fb395..679c933d5 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-up3.ps1* -=================================== +Script: *cd-up3.ps1* +======================== This PowerShell script changes the current working directory to three directory levels up. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index 8465978e4..21b6c0777 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-up4.ps1* -=================================== +Script: *cd-up4.ps1* +======================== This PowerShell script changes the current working directory to four directory levels up. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-users.md b/docs/cd-users.md index 463cd8e88..d934fc750 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-users.ps1* -=================================== +Script: *cd-users.ps1* +======================== This PowerShell script sets the current working directory to the users directory. @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index 62d257e80..c647c5e12 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-videos.ps1* -=================================== +Script: *cd-videos.ps1* +======================== This PowerShell script changes the working directory to the user's videos folder. @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index b95f45fc1..e678ac91e 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -1,5 +1,5 @@ -PowerShell Script: *cd-windows.ps1* -=================================== +Script: *cd-windows.ps1* +======================== This PowerShell script sets the current working directory to the Windows directory. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index 9e763dcf8..5e45e6b81 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -1,5 +1,5 @@ -PowerShell Script: *change-wallpaper.ps1* -=================================== +Script: *change-wallpaper.ps1* +======================== This PowerShell script downloads a random photo from Unsplash and sets it as desktop background. @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* diff --git a/docs/check-admin.md b/docs/check-admin.md index 4a942ee25..ab614e866 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-admin.ps1* -=================================== +Script: *check-admin.ps1* +======================== This PowerShell script checks if the user has administrator rights. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-apps.md b/docs/check-apps.md index f2f6ac909..2e3b5c4f4 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-apps.ps1* -=================================== +Script: *check-apps.ps1* +======================== check-apps.ps1 @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-bios.md b/docs/check-bios.md index e68072dfe..7a1cb7716 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-bios.ps1* -=================================== +Script: *check-bios.ps1* +======================== This PowerShell script queries the BIOS status and prints it. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index c863fb19a..8cdb2d98e 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-cpu.ps1* -=================================== +Script: *check-cpu.ps1* +======================== check-cpu.ps1 @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index 8b13a353d..d5d2bf0e2 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-credentials.ps1* -=================================== +Script: *check-credentials.ps1* +======================== This PowerShell script asks for credentials and checks them against saved ones ("$HOME\my.credentials" by default). @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-day.md b/docs/check-day.md index 51066c3fc..043106987 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-day.ps1* -=================================== +Script: *check-day.ps1* +======================== This PowerShell script determines and speaks the current day by text-to-speech (TTS). @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-dns.md b/docs/check-dns.md index a047692a0..476629707 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-dns.ps1* -=================================== +Script: *check-dns.ps1* +======================== This PowerShell script measures the DNS resolution speed using 100 internet domains and prints it. @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index b0f95c69a..e96af282a 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-drive-space.ps1* -=================================== +Script: *check-drive-space.ps1* +======================== This PowerShell script checks the given drive for free space left (10 GB by default). @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-drives.md b/docs/check-drives.md index 7b46ebb76..ddb5beaad 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-drives.ps1* -=================================== +Script: *check-drives.ps1* +======================== This PowerShell script queries the free space of all drives and prints it. @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index 92bd3ac5a..19942e30e 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-dusk.ps1* -=================================== +Script: *check-dusk.ps1* +======================== check-dusk.ps1 @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index ff770b4a4..823cd8076 100644 --- a/docs/check-easter-sunday.md +++ b/docs/check-easter-sunday.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-easter-sunday.ps1* -=================================== +Script: *check-easter-sunday.ps1* +======================== This PowerShell script checks the time until Easter Sunday and replies by text-to-speech (TTS). @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index df7242003..ef0990acb 100644 --- a/docs/check-file-system.md +++ b/docs/check-file-system.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-file-system.ps1* -=================================== +Script: *check-file-system.ps1* +======================== This PowerShell script checks the file system of a drive. It needs admin rights. @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-file.md b/docs/check-file.md index a9e38e007..39e3743ec 100644 --- a/docs/check-file.md +++ b/docs/check-file.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-file.ps1* -=================================== +Script: *check-file.ps1* +======================== This PowerShell script determines and prints the file type of the given file. @@ -171,4 +171,4 @@ function Check-Header { param( $path ) Check-Header $Path ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index 16bb66ce0..3f59d74cb 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-firewall.ps1* -=================================== +Script: *check-firewall.ps1* +======================== This PowerShell script queries the status of the firewall and prints it. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index 50da0e0d4..e6ced1d86 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-gpu.ps1* -=================================== +Script: *check-gpu.ps1* +======================== check-gpu.ps1 @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index 22fbd0019..4d810b98b 100644 --- a/docs/check-hardware.md +++ b/docs/check-hardware.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-hardware.ps1* -=================================== +Script: *check-hardware.ps1* +======================== This PowerShell script queries the hardware details of the local computer and prints it. @@ -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 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-health.md b/docs/check-health.md index 0882eed0e..130ef588a 100644 --- a/docs/check-health.md +++ b/docs/check-health.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-health.ps1* -=================================== +Script: *check-health.ps1* +======================== This PowerShell script queries the system health of the local computer (hardware, software, and network) and prints it. @@ -58,4 +58,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index 044f97837..90a2d2673 100644 --- a/docs/check-independence-day.md +++ b/docs/check-independence-day.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-independence-day.ps1* -=================================== +Script: *check-independence-day.ps1* +======================== This PowerShell script checks the time until Indepence Day and replies by text-to-speech (TTS). @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index e80e29cb7..861ee3e6c 100644 --- a/docs/check-ipv4-address.md +++ b/docs/check-ipv4-address.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-ipv4-address.ps1* -=================================== +Script: *check-ipv4-address.ps1* +======================== This PowerShell script checks the given IPv4 address for validity. @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index 09d3acb60..248ac35b5 100644 --- a/docs/check-ipv6-address.md +++ b/docs/check-ipv6-address.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-ipv6-address.ps1* -=================================== +Script: *check-ipv6-address.ps1* +======================== This PowerShell script checks the given IPv6 address for validity @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index 1401e0f37..7560ac6cd 100644 --- a/docs/check-iss-position.md +++ b/docs/check-iss-position.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-iss-position.ps1* -=================================== +Script: *check-iss-position.ps1* +======================== This PowerShell script queries the position of the International Space Station (ISS) and replies by text-to-speech (TTS). @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index b089c49ed..d0aaf6edd 100644 --- a/docs/check-mac-address.md +++ b/docs/check-mac-address.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-mac-address.ps1* -=================================== +Script: *check-mac-address.ps1* +======================== This PowerShell script checks the given MAC address for validity Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000. @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:08)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index ca1bced12..1025fd6f9 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-midnight.ps1* -=================================== +Script: *check-midnight.ps1* +======================== check-midnight.ps1 @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-month.md b/docs/check-month.md index bcf174ed2..38b046711 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-month.ps1* -=================================== +Script: *check-month.ps1* +======================== This PowerShell script determines and speaks the current month name by text-to-speech (TTS). @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index c6da363d1..456d4e3d2 100644 --- a/docs/check-moon-phase.md +++ b/docs/check-moon-phase.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-moon-phase.ps1* -=================================== +Script: *check-moon-phase.ps1* +======================== This PowerShell script determines the Moon phase and answers by text-to-speech (TTS). @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index f32393386..99b14be5e 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-motherboard.ps1* -=================================== +Script: *check-motherboard.ps1* +======================== This PowerShell script lists the motherboard details. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-network.md b/docs/check-network.md index 02ecfd0ad..39b65cd52 100644 --- a/docs/check-network.md +++ b/docs/check-network.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-network.ps1* -=================================== +Script: *check-network.ps1* +======================== This PowerShell script queries the network details of the local computer and prints it. @@ -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 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-noon.md b/docs/check-noon.md index 477b7ac22..9a4646b37 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-noon.ps1* -=================================== +Script: *check-noon.ps1* +======================== check-noon.ps1 @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-os.md b/docs/check-os.md index 8e9ed3365..494492949 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-os.ps1* -=================================== +Script: *check-os.ps1* +======================== This PowerShell script queries the operating system status and prints it. @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index 967af3582..145b39dbf 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-outlook.ps1* -=================================== +Script: *check-outlook.ps1* +======================== This PowerShell script checks the inbox of Outlook for new/unread mails. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-password.md b/docs/check-password.md index 4a73caf7a..119d6f15c 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-password.ps1* -=================================== +Script: *check-password.ps1* +======================== This PowerShell script checks the security status of the given password by haveibeenpwned.com @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index 0025de854..5e4670722 100644 --- a/docs/check-pending-reboot.md +++ b/docs/check-pending-reboot.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-pending-reboot.ps1* -=================================== +Script: *check-pending-reboot.ps1* +======================== check-pending-reboot.ps1 @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index 32fc0d784..c42e81aca 100644 --- a/docs/check-pnp-devices.md +++ b/docs/check-pnp-devices.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-pnp-devices.ps1* -=================================== +Script: *check-pnp-devices.ps1* +======================== This PowerShell script checks all Plug'n'PLay devices connected to the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-power.md b/docs/check-power.md index bd92f8554..e7e4670f6 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-power.ps1* -=================================== +Script: *check-power.ps1* +======================== This PowerShell script queries the power status and prints it. @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index ae2238c1d..7906f138d 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-powershell.ps1* -=================================== +Script: *check-powershell.ps1* +======================== check-powershell.ps1 @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 2217e1389..44163d67f 100644 --- a/docs/check-ps1-file.md +++ b/docs/check-ps1-file.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-ps1-file.ps1* -=================================== +Script: *check-ps1-file.ps1* +======================== This PowerShell script checks the given PowerShell script file(s) for validity. @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-ram.md b/docs/check-ram.md index b2eae1071..c3c4ddd04 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-ram.ps1* -=================================== +Script: *check-ram.ps1* +======================== check-ram.ps1 @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-repo.md b/docs/check-repo.md index 7d8cb33ea..e9280a800 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-repo.ps1* -=================================== +Script: *check-repo.ps1* +======================== This PowerShell script verifies the integrity of a local Git repository and performs maintenance tasks. @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-repos.md b/docs/check-repos.md index f041904da..22f55bd61 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-repos.ps1* -=================================== +Script: *check-repos.ps1* +======================== This PowerShell script verifies the data integrity of all Git repositories in a folder. @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-santa.md b/docs/check-santa.md index bc7348a50..d5ddec51f 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-santa.ps1* -=================================== +Script: *check-santa.ps1* +======================== This PowerShell script checks the time until Saint Nicholas Day and replies by text-to-speech (TTS). @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index 373ab0d6c..48764588b 100644 --- a/docs/check-smart-devices.md +++ b/docs/check-smart-devices.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-smart-devices.ps1* -=================================== +Script: *check-smart-devices.ps1* +======================== check-smart-devices.ps1 @@ -120,4 +120,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-software.md b/docs/check-software.md index b4f5e465f..bf557b04e 100644 --- a/docs/check-software.md +++ b/docs/check-software.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-software.ps1* -=================================== +Script: *check-software.ps1* +======================== This PowerShell script queries the software status of the local computer and prints it. @@ -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 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index 9a601e1b7..57c60d79a 100644 --- a/docs/check-subnet-mask.md +++ b/docs/check-subnet-mask.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-subnet-mask.ps1* -=================================== +Script: *check-subnet-mask.ps1* +======================== This PowerShell script checks the given subnet mask for validity. @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index 206612cb9..57d027cad 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-swap-space.ps1* -=================================== +Script: *check-swap-space.ps1* +======================== This PowerShell script queries the current status of the swap space and prints it. @@ -108,4 +108,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index 84a4ef7c7..078bd7672 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-symlinks.ps1* -=================================== +Script: *check-symlinks.ps1* +======================== This PowerShell script checks all symbolic links in a directory tree. It returns the number of broken symlinks as exit value. @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index e3af285f6..807c6d21c 100644 --- a/docs/check-time-zone.md +++ b/docs/check-time-zone.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-time-zone.ps1* -=================================== +Script: *check-time-zone.ps1* +======================== This PowerShell script queries the local time zone and prints it. @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index 2cfd6e3f5..91c658fd8 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-uptime.ps1* -=================================== +Script: *check-uptime.ps1* +======================== check-uptime.ps1 @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index 493e2b488..52aaa4344 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-vpn.ps1* -=================================== +Script: *check-vpn.ps1* +======================== This PowerShell script queries the status of the VPN connection(s) and prints it. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-weather.md b/docs/check-weather.md index f1e4f6f98..55929054e 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-weather.ps1* -=================================== +Script: *check-weather.ps1* +======================== This PowerShell script checks the current weather report. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-week.md b/docs/check-week.md index 88fec58da..4871d3c09 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-week.ps1* -=================================== +Script: *check-week.ps1* +======================== This PowerShell script determines and speaks the current week number by text-to-speech (TTS). @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-wind.md b/docs/check-wind.md index 2c7b3363b..3103fb1b4 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-wind.ps1* -=================================== +Script: *check-wind.ps1* +======================== This PowerShell script determines the current wind conditions and replies by text-to-speech (TTS). @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index 4efa20689..e988b2db0 100644 --- a/docs/check-windows-system-files.md +++ b/docs/check-windows-system-files.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-windows-system-files.ps1* -=================================== +Script: *check-windows-system-files.ps1* +======================== This PowerShell script checks the validity of the Windows system files. It requires admin rights. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index 8f716fe06..c5d4cad65 100644 --- a/docs/check-xml-file.md +++ b/docs/check-xml-file.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-xml-file.ps1* -=================================== +Script: *check-xml-file.ps1* +======================== This PowerShell script checks the given XML file for validity. @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index 78bb29611..b5a6174bb 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -1,5 +1,5 @@ -PowerShell Script: *check-xml-files.ps1* -=================================== +Script: *check-xml-files.ps1* +======================== This PowerShell script verifies any XML file (with suffix .xml) in the given directory tree for validity. @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index 03de0df6b..5e148985a 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -1,5 +1,5 @@ -PowerShell Script: *clean-repo.ps1* -=================================== +Script: *clean-repo.ps1* +======================== This PowerShell script deletes all untracked files and folders in a local Git repository (including submodules). NOTE: To be used with care! This cannot be undone! @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index 5a9085382..02db39db6 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -1,5 +1,5 @@ -PowerShell Script: *clean-repos.ps1* -=================================== +Script: *clean-repos.ps1* +======================== This PowerShell script cleans all Git repositories in a folder from untracked files (including submodules). @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index c1be65ed1..e0005bbd1 100644 --- a/docs/clear-dns-cache.md +++ b/docs/clear-dns-cache.md @@ -1,5 +1,5 @@ -PowerShell Script: *clear-dns-cache.ps1* -=================================== +Script: *clear-dns-cache.ps1* +======================== This PowerShell script empties the DNS client cache of the local computer. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index 3f3573514..bb93eb7e1 100644 --- a/docs/clear-recycle-bin.md +++ b/docs/clear-recycle-bin.md @@ -1,5 +1,5 @@ -PowerShell Script: *clear-recycle-bin.ps1* -=================================== +Script: *clear-recycle-bin.ps1* +======================== This PowerShell script removes the content of the recycle bin folder permanently. IMPORTANT NOTE: this cannot be undo! @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index 7f62cedec..9a38800e1 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -1,5 +1,5 @@ -PowerShell Script: *clone-repos.ps1* -=================================== +Script: *clone-repos.ps1* +======================== This PowerShell script clones popular Git repositories into a common target directory. @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index 9002c1cf3..c2d6011b1 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -1,5 +1,5 @@ -PowerShell Script: *clone-shallow.ps1* -=================================== +Script: *clone-shallow.ps1* +======================== This PowerShell script clones popular Git repositories into a common target directory. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index 276cc1372..4b7cea345 100644 --- a/docs/close-calculator.md +++ b/docs/close-calculator.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-calculator.ps1* -=================================== +Script: *close-calculator.ps1* +======================== This PowerShell script closes the calculator application gracefully. @@ -48,4 +48,4 @@ Stop-Process -name "CalculatorApp" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index e90f6512c..3fd89e3a6 100644 --- a/docs/close-chrome.md +++ b/docs/close-chrome.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-chrome.ps1* -=================================== +Script: *close-chrome.ps1* +======================== This PowerShell script closes the Google Chrome Web browser gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index d0191cc9a..75fb9cee6 100644 --- a/docs/close-cortana.md +++ b/docs/close-cortana.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-cortana.ps1* -=================================== +Script: *close-cortana.ps1* +======================== This PowerShell script closes Microsoft's Cortana application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-edge.md b/docs/close-edge.md index daf4c6d20..fcf81e3d1 100644 --- a/docs/close-edge.md +++ b/docs/close-edge.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-edge.ps1* -=================================== +Script: *close-edge.ps1* +======================== This PowerShell script closes the Microsoft Edge Web browser gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index 671502093..f2937dae3 100644 --- a/docs/close-file-explorer.md +++ b/docs/close-file-explorer.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-file-explorer.ps1* -=================================== +Script: *close-file-explorer.ps1* +======================== This PowerShell script closes the Microsoft File Explorer application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index 369d30c45..7b4c4e148 100644 --- a/docs/close-firefox.md +++ b/docs/close-firefox.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-firefox.ps1* -=================================== +Script: *close-firefox.ps1* +======================== This PowerShell script closes the Mozilla Firefox Web browser gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index 407b3d993..eaa8c9ecd 100644 --- a/docs/close-git-extensions.md +++ b/docs/close-git-extensions.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-git-extensions.ps1* -=================================== +Script: *close-git-extensions.ps1* +======================== This PowerShell script closes the Git Extensions application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index 9d13f77f0..955b8ea4a 100644 --- a/docs/close-magnifier.md +++ b/docs/close-magnifier.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-magnifier.ps1* -=================================== +Script: *close-magnifier.ps1* +======================== This PowerShell script closes the Windows Screen Magnifier application gracefully. @@ -48,4 +48,4 @@ tskill magnify exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 15be64745..847d77c1d 100644 --- a/docs/close-microsoft-paint.md +++ b/docs/close-microsoft-paint.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-microsoft-paint.ps1* -=================================== +Script: *close-microsoft-paint.ps1* +======================== This PowerShell script closes the Microsoft Paint application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index 37b0ccd2f..1c1a75bea 100644 --- a/docs/close-microsoft-store.md +++ b/docs/close-microsoft-store.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-microsoft-store.ps1* -=================================== +Script: *close-microsoft-store.ps1* +======================== This PowerShell script closes the Microsoft Store application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index 751bf74bc..ec68df279 100644 --- a/docs/close-netflix.md +++ b/docs/close-netflix.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-netflix.ps1* -=================================== +Script: *close-netflix.ps1* +======================== This PowerShell script closes the Netflix application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index 680f1e464..babd22cbe 100644 --- a/docs/close-notepad.md +++ b/docs/close-notepad.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-notepad.ps1* -=================================== +Script: *close-notepad.ps1* +======================== This PowerShell script closes the Notepad application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index 821be1867..5ed3b9552 100644 --- a/docs/close-obs-studio.md +++ b/docs/close-obs-studio.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-obs-studio.ps1* -=================================== +Script: *close-obs-studio.ps1* +======================== This PowerShell script closes the OBS Studio application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index ed05c1e65..67b9b2944 100644 --- a/docs/close-one-calendar.md +++ b/docs/close-one-calendar.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-one-calendar.ps1* -=================================== +Script: *close-one-calendar.ps1* +======================== This PowerShell script closes the OneCalendar application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index ab188501e..7c5854ca1 100644 --- a/docs/close-outlook.md +++ b/docs/close-outlook.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-outlook.ps1* -=================================== +Script: *close-outlook.ps1* +======================== This PowerShell script closes the Microsoft Outlook email application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index 038f298ad..827445a25 100644 --- a/docs/close-paint-three-d.md +++ b/docs/close-paint-three-d.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-paint-three-d.ps1* -=================================== +Script: *close-paint-three-d.ps1* +======================== This PowerShell script closes the Paint 3D application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-program.md b/docs/close-program.md index 9f7a31128..f03bf3be2 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-program.ps1* -=================================== +Script: *close-program.ps1* +======================== This PowerShell script closes a program's processes gracefully. @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index 3f3335dfc..56c27e46e 100644 --- a/docs/close-serenade.md +++ b/docs/close-serenade.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-serenade.ps1* -=================================== +Script: *close-serenade.ps1* +======================== This PowerShell script closes the Serenade.ai application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index 478bc9acc..556722365 100644 --- a/docs/close-snipping-tool.md +++ b/docs/close-snipping-tool.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-snipping-tool.ps1* -=================================== +Script: *close-snipping-tool.ps1* +======================== This PowerShell script closes the Snipping Tool application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index 29b02ebf1..58da1a138 100644 --- a/docs/close-spotify.md +++ b/docs/close-spotify.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-spotify.ps1* -=================================== +Script: *close-spotify.ps1* +======================== This PowerShell script closes the Spotify application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 2cf5848fd..38df39246 100644 --- a/docs/close-task-manager.md +++ b/docs/close-task-manager.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-task-manager.ps1* -=================================== +Script: *close-task-manager.ps1* +======================== This PowerShell script closes the Task Manager application gracefully. @@ -48,4 +48,4 @@ tskill taskmgr exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index 5efc5b701..40617ed7c 100644 --- a/docs/close-three-d-viewer.md +++ b/docs/close-three-d-viewer.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-three-d-viewer.ps1* -=================================== +Script: *close-three-d-viewer.ps1* +======================== This PowerShell script closes the 3D-Viewer application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index 6812b6c12..2ef786598 100644 --- a/docs/close-thunderbird.md +++ b/docs/close-thunderbird.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-thunderbird.ps1* -=================================== +Script: *close-thunderbird.ps1* +======================== This PowerShell script closes the Mozilla Thunderbird email application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index 9a261e190..12f9c08f3 100644 --- a/docs/close-visual-studio.md +++ b/docs/close-visual-studio.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-visual-studio.ps1* -=================================== +Script: *close-visual-studio.ps1* +======================== This PowerShell script closes the Microsoft Visual Studio application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index 88a293c2a..05a61304d 100644 --- a/docs/close-vlc.md +++ b/docs/close-vlc.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-vlc.ps1* -=================================== +Script: *close-vlc.ps1* +======================== This PowerShell script closes the VLC media player application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index 8f00365f4..eef59f328 100644 --- a/docs/close-windows-terminal.md +++ b/docs/close-windows-terminal.md @@ -1,5 +1,5 @@ -PowerShell Script: *close-windows-terminal.ps1* -=================================== +Script: *close-windows-terminal.ps1* +======================== This PowerShell script closes the Windows Terminal application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/configure-git.md b/docs/configure-git.md index 8e977af0f..854a94874 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -1,5 +1,5 @@ -PowerShell Script: *configure-git.ps1* -=================================== +Script: *configure-git.ps1* +======================== This PowerShell script configures your Git user settings. @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index 5ff5fd31e..ab3725dd8 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -1,5 +1,5 @@ -PowerShell Script: *connect-vpn.ps1* -=================================== +Script: *connect-vpn.ps1* +======================== This PowerShell script tries to connect to the VPN. @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index cd3621d97..344875d07 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-csv2txt.ps1* -=================================== +Script: *convert-csv2txt.ps1* +======================== This PowerShell script converts a .CSV file into a text file and prints it. @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/convert-dir27z.md b/docs/convert-dir27z.md index 710500d07..51b21d499 100644 --- a/docs/convert-dir27z.md +++ b/docs/convert-dir27z.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-dir27z.ps1* -=================================== +Script: *convert-dir27z.ps1* +======================== This PowerShell script compresses the given directory (including subfolders) into a compressed .7z file. It also preserves symbolic links and requires that 7-zip is installed. @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index b016a9683..a983b5222 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-dir2zip.ps1* -=================================== +Script: *convert-dir2zip.ps1* +======================== This PowerShell script creates a new compressed .ZIP file from a directory (including subfolders). @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index bee97bb1e..71e7e1fc5 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-docx2md.ps1* -=================================== +Script: *convert-docx2md.ps1* +======================== This PowerShell script converts .DOCX file(s) into Markdown. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index d9f9ac87a..9652bf0f8 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-frames2mp4.ps1* -=================================== +Script: *convert-frames2mp4.ps1* +======================== convert-frames2mp4.ps1 [[-SourcePattern] ] [[-TargetFile] ] @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/convert-history2ps1.md b/docs/convert-history2ps1.md index a012bad93..b2167cd1e 100644 --- a/docs/convert-history2ps1.md +++ b/docs/convert-history2ps1.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-history2ps1.ps1* -=================================== +Script: *convert-history2ps1.ps1* +======================== This PowerShell script converts your command history into a PowerShell script. It saves all your commands into a script for automation (executed by e.g Jenkins or AutoHotkey). @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index 6169d9344..3e7c1df75 100644 --- a/docs/convert-image2ascii.md +++ b/docs/convert-image2ascii.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-image2ascii.ps1* -=================================== +Script: *convert-image2ascii.ps1* +======================== convert-image2ascii.ps1 @@ -114,4 +114,4 @@ Script Content } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index de3ca400e..b814f4fdd 100644 --- a/docs/convert-image2blurred-frames.md +++ b/docs/convert-image2blurred-frames.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-image2blurred-frames.ps1* -=================================== +Script: *convert-image2blurred-frames.ps1* +======================== convert-image2blurred-frames.ps1 [[-ImageFile] ] [[-TargetDir] ] [[-ImageWidth] ] [[-ImageHeight] ] [[-Frames] ] @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index ea4bb8544..9503a4c68 100644 --- a/docs/convert-image2pixelated-frames.md +++ b/docs/convert-image2pixelated-frames.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-image2pixelated-frames.ps1* -=================================== +Script: *convert-image2pixelated-frames.ps1* +======================== convert-image2pixelated-frames.ps1 [[-SourceFile] ] [[-TargetDir] ] [[-Frames] ] @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:09)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/convert-images2webp.md b/docs/convert-images2webp.md index 847740a7c..3af91d729 100644 --- a/docs/convert-images2webp.md +++ b/docs/convert-images2webp.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-images2webp.ps1* -=================================== +Script: *convert-images2webp.ps1* +======================== This script takes an input directory containing images (jpg, jpeg, png, gif, bmp, tiff) or a single image file, and converts them to the WebP format using ImageMagick's 'magick' command. @@ -287,4 +287,4 @@ Write-Host "Output directory: $OutputDir" Write-Host "=====================================" -ForegroundColor Green ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index 155007f3a..3b03c9cdb 100644 --- a/docs/convert-md2docx.md +++ b/docs/convert-md2docx.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-md2docx.ps1* -=================================== +Script: *convert-md2docx.ps1* +======================== convert-md2docx.ps1 @@ -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 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index 95b75ab8a..ddb2c9e2c 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-md2html.ps1* -=================================== +Script: *convert-md2html.ps1* +======================== This PowerShell script converts Markdown file(s) into HTML. @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index 81437be44..4c7ccb93f 100644 --- a/docs/convert-md2pdf.md +++ b/docs/convert-md2pdf.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-md2pdf.ps1* -=================================== +Script: *convert-md2pdf.ps1* +======================== convert-md2pdf.ps1 @@ -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 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index b2e523edb..2e58938e2 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-mysql2csv.ps1* -=================================== +Script: *convert-mysql2csv.ps1* +======================== This PowerShell script converts a MySQL database table to a .CSV file. @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index e4fc5c5c3..3c735b705 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-ps2bat.ps1* -=================================== +Script: *convert-ps2bat.ps1* +======================== This PowerShell script converts one or more PowerShell scripts to .bat batch files. @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index 0a497bd96..f54773b2b 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-ps2md.ps1* -=================================== +Script: *convert-ps2md.ps1* +======================== This PowerShell script converts the comment-based help of a PowerShell script to Markdown. @@ -99,8 +99,8 @@ try { $ScriptName = (Get-Item "$filename").Name $full = Get-Help $filename -Full - "PowerShell Script: *$($ScriptName)*" - "===================================" + "Script: *$($ScriptName)*" + "========================" $Description = ($full.description | Out-String).Trim() if ($Description -ne "") { @@ -186,4 +186,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index c6d477010..124246bdb 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-sql2csv.ps1* -=================================== +Script: *convert-sql2csv.ps1* +======================== This PowerShell script converts a SQL database table to a .CSV file. @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index 2b9637c12..ff7b2e9ad 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -1,5 +1,5 @@ -PowerShell Script: *convert-txt2wav.ps1* -=================================== +Script: *convert-txt2wav.ps1* +======================== This PowerShell script converts text to a .WAV audio file. @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/copy-broken-file.md b/docs/copy-broken-file.md index 4e3fe814f..a23ba341d 100644 --- a/docs/copy-broken-file.md +++ b/docs/copy-broken-file.md @@ -1,5 +1,5 @@ -PowerShell Script: *copy-broken-file.ps1* -=================================== +Script: *copy-broken-file.ps1* +======================== This script will copy the specified file even if it contains unreadable blocks caused by device I/O errors and such. The block that it can not read will be replaced with zeros. The size of the block is determined by the buffer. So, to optimize it for speed, use a large buffer. To optimize for accuracy, use a small buffer, smallest being the cluter size of the partition where your sourcefile resides. @@ -683,4 +683,4 @@ if ($UnreadableBlocks) { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index ee66d320c..183bbfb2f 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -1,5 +1,5 @@ -PowerShell Script: *copy-photos-sorted.ps1* -=================================== +Script: *copy-photos-sorted.ps1* +======================== This PowerShell script copies image files from to sorted by year and month. @@ -153,4 +153,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/copy-videos-sorted.md b/docs/copy-videos-sorted.md index 272cc48d6..c468efe64 100644 --- a/docs/copy-videos-sorted.md +++ b/docs/copy-videos-sorted.md @@ -1,5 +1,5 @@ -PowerShell Script: *copy-videos-sorted.ps1* -=================================== +Script: *copy-videos-sorted.ps1* +======================== This PowerShell script copies video files from to sorted by year and month. @@ -136,4 +136,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/count-characters.md b/docs/count-characters.md index 2c9a5eba3..20c23a1b2 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -1,5 +1,5 @@ -PowerShell Script: *count-characters.ps1* -=================================== +Script: *count-characters.ps1* +======================== This PowerShell script counts the number of characters in the given string. @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/count-lines.md b/docs/count-lines.md index dd7d6776b..346040b47 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -1,5 +1,5 @@ -PowerShell Script: *count-lines.ps1* -=================================== +Script: *count-lines.ps1* +======================== This PowerShell script counts the number of lines in text files (.txt/.md/.c/.h/.cpp/.hpp/.java/.py/.ps1/.bat) within a directory tree. @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index 3a4ddb6c9..44dca9af1 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -1,5 +1,5 @@ -PowerShell Script: *decrypt-file.ps1* -=================================== +Script: *decrypt-file.ps1* +======================== This PowerShell script decrypts a file using the given password and AES encryption. @@ -199,4 +199,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index 13b6af209..b004bafde 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -1,5 +1,5 @@ -PowerShell Script: *disable-ipv6.ps1* -=================================== +Script: *disable-ipv6.ps1* +======================== This PowerShell script disables IPv6 on all network interfaces of the local computer (requires administrator rights). @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index eafbe26d4..e036131d3 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -1,5 +1,5 @@ -PowerShell Script: *disconnect-vpn.ps1* -=================================== +Script: *disconnect-vpn.ps1* +======================== This PowerShell script disconnects the active VPN connection. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/download-dir.md b/docs/download-dir.md index 6963e4625..84f4d2c8d 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -1,5 +1,5 @@ -PowerShell Script: *download-dir.ps1* -=================================== +Script: *download-dir.ps1* +======================== This PowerShell script downloads a folder (including subfolders) from the given URL. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/download-file.md b/docs/download-file.md index 8d8e5840c..3081b2d38 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -1,5 +1,5 @@ -PowerShell Script: *download-file.ps1* -=================================== +Script: *download-file.ps1* +======================== This PowerShell script downloads a file from the given URL @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/edit.md b/docs/edit.md index 39de8cc49..386b05e70 100644 --- a/docs/edit.md +++ b/docs/edit.md @@ -1,5 +1,5 @@ -PowerShell Script: *edit.ps1* -=================================== +Script: *edit.ps1* +======================== This PowerShell script opens the installed text editor with the given text file. Supported are: Emacs, Helix, pico, nano, neovim, Notepad, vi, vim, Visual Studio Code and Wordpad. @@ -89,4 +89,4 @@ Write-Host "" exit 1 ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 421141e4b..625eacec6 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -1,5 +1,5 @@ -PowerShell Script: *enable-crash-dumps.ps1* -=================================== +Script: *enable-crash-dumps.ps1* +======================== This PowerShell script enables the writing of crash dumps. @@ -346,4 +346,4 @@ Else exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index e75117500..2e12ec352 100644 --- a/docs/enable-god-mode.md +++ b/docs/enable-god-mode.md @@ -1,5 +1,5 @@ -PowerShell Script: *enable-god-mode.ps1* -=================================== +Script: *enable-god-mode.ps1* +======================== This PowerShell script enables the god mode in Windows. It adds a new icon to the desktop. @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index d6b5bcb1a..b925152fd 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -1,5 +1,5 @@ -PowerShell Script: *enable-ipv6.ps1* -=================================== +Script: *enable-ipv6.ps1* +======================== This PowerShell script enables IPv6 on all network interfaces of the local computer. @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index 638f585d5..1c3ed0a92 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -1,5 +1,5 @@ -PowerShell Script: *encrypt-file.ps1* -=================================== +Script: *encrypt-file.ps1* +======================== This PowerShell script encrypts a file using the given password and AES encryption. @@ -184,4 +184,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index 4ba5c157a..b1347cd37 100644 --- a/docs/enter-chat.md +++ b/docs/enter-chat.md @@ -1,5 +1,5 @@ -PowerShell Script: *enter-chat.ps1* -=================================== +Script: *enter-chat.ps1* +======================== This PowerShell script enters a chat using a common network shared file. @@ -125,4 +125,4 @@ function Get-ChatChannel } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/enter-host.md b/docs/enter-host.md index a6ea7b9ca..646bd026c 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -1,5 +1,5 @@ -PowerShell Script: *enter-host.ps1* -=================================== +Script: *enter-host.ps1* +======================== This PowerShell script logs into a remote host via secure shell (SSH). @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index c06e557df..ae857d38e 100644 --- a/docs/export-to-manuals.md +++ b/docs/export-to-manuals.md @@ -1,5 +1,5 @@ -PowerShell Script: *export-to-manuals.ps1* -=================================== +Script: *export-to-manuals.ps1* +======================== This PowerShell script exports the comment-based help of all PowerShell scripts as manuals. @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index 883256a3e..d3cb8240a 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -1,5 +1,5 @@ -PowerShell Script: *fetch-repo.ps1* -=================================== +Script: *fetch-repo.ps1* +======================== This PowerShell script fetches remote updates into a local Git repository (including submodules). @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 3e12d1ec7..120514eaa 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -1,5 +1,5 @@ -PowerShell Script: *fetch-repos.ps1* -=================================== +Script: *fetch-repos.ps1* +======================== This PowerShell script fetches updates into all Git repositories in a folder (including submodules). @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index b00944250..2b753f2f3 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -1,5 +1,5 @@ -PowerShell Script: *firefox-installer.ps1* -=================================== +Script: *firefox-installer.ps1* +======================== Download and install latest firefox @@ -64,4 +64,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 43c4586a4..eda598f84 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -1,5 +1,5 @@ -PowerShell Script: *get-md5.ps1* -=================================== +Script: *get-md5.ps1* +======================== This PowerShell script calculates and prints the MD5 checksum of the given file. NOTE: MD5 is no longer considered secure, use it for simple change validation only! @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index c8d08aac5..eaa4638b8 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -1,5 +1,5 @@ -PowerShell Script: *get-sha1.ps1* -=================================== +Script: *get-sha1.ps1* +======================== This PowerShell script calculates and prints the SHA1 checksum of the given file. NOTE: SHA1 is no longer considered secure, use it for simple change validation only! @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index 2e28e10c1..9ce0bfc8e 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -1,5 +1,5 @@ -PowerShell Script: *get-sha256.ps1* -=================================== +Script: *get-sha256.ps1* +======================== This PowerShell script calculates and prints the SHA256 checksum of the given file. @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/get-sha512.md b/docs/get-sha512.md index 505f8cc13..6549b1eb5 100644 --- a/docs/get-sha512.md +++ b/docs/get-sha512.md @@ -1,5 +1,5 @@ -PowerShell Script: *get-sha512.ps1* -=================================== +Script: *get-sha512.ps1* +======================== This PowerShell script calculates and prints the SHA512 checksum of the given file. @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/hello-world.md b/docs/hello-world.md index 708f33736..ec59408be 100644 --- a/docs/hello-world.md +++ b/docs/hello-world.md @@ -1,5 +1,5 @@ -PowerShell Script: *hello-world.ps1* -=================================== +Script: *hello-world.ps1* +======================== This PowerShell script is a sample script writing "Hello World" to the console. @@ -50,4 +50,4 @@ Write-Output "Hello World" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 7486b9640..641e91ce1 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -1,5 +1,5 @@ -PowerShell Script: *hibernate.ps1* -=================================== +Script: *hibernate.ps1* +======================== This PowerShell script hibernates the local computer immediately. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/import-vm.md b/docs/import-vm.md index 7d7a6f68b..fe19d0fc9 100644 --- a/docs/import-vm.md +++ b/docs/import-vm.md @@ -1,5 +1,5 @@ -PowerShell Script: *import-vm.ps1* -=================================== +Script: *import-vm.ps1* +======================== import-vm.ps1 @@ -23,4 +23,4 @@ Start-VM $VMName exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index 622a9c636..47ecdd2de 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -1,5 +1,5 @@ -PowerShell Script: *inspect-exe.ps1* -=================================== +Script: *inspect-exe.ps1* +======================== This PowerShell script prints basic information of an executable file. @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index 7dabf0d25..7b31ba0a9 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-audacity.ps1* -=================================== +Script: *install-audacity.ps1* +======================== This PowerShell script installs Audacity. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index 3672e2862..c46585f06 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-basic-apps.ps1* -=================================== +Script: *install-basic-apps.ps1* +======================== This PowerShell script installs basic Windows apps such as browser, e-mail client, etc. NOTE: Apps from Microsoft Store are preferred (due to security and automatic updates). @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 528561575..9cafe7a40 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-basic-snaps.ps1* -=================================== +Script: *install-basic-snaps.ps1* +======================== This PowerShell script installs 20 basic snap apps. @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index 1a95667b6..49e78b0f5 100644 --- a/docs/install-calibre-server.md +++ b/docs/install-calibre-server.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-calibre-server.ps1* -=================================== +Script: *install-calibre-server.ps1* +======================== This PowerShell script installs and starts a local Calibre server as background process. @@ -133,4 +133,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index 76e885699..b74c7454b 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-chocolatey.ps1* -=================================== +Script: *install-chocolatey.ps1* +======================== This PowerShell script installs Chocolatey onto the local computer (needs admin rights). @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index 85cf72f2a..e83932249 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-chrome.ps1* -=================================== +Script: *install-chrome.ps1* +======================== This PowerShell script installs the Google Chrome browser. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index 33e2bc442..3e8e8dc00 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-crystal-disk-info.ps1* -=================================== +Script: *install-crystal-disk-info.ps1* +======================== This PowerShell script installs CrystalDiskInfo from the Microsoft Store. @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index 4f069076f..a907d9074 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-crystal-disk-mark.ps1* -=================================== +Script: *install-crystal-disk-mark.ps1* +======================== This PowerShell script installs CrystalDiskMark from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-discord.md b/docs/install-discord.md index 5efb506f4..06ed94d7c 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-discord.ps1* -=================================== +Script: *install-discord.ps1* +======================== This PowerShell script installs Discord from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-edge.md b/docs/install-edge.md index 4628f56b2..9d0ebe4f0 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-edge.ps1* -=================================== +Script: *install-edge.ps1* +======================== This PowerShell script installs the Microsoft Edge Browser from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-edit.md b/docs/install-edit.md index 8c96ad94d..7d9992a84 100644 --- a/docs/install-edit.md +++ b/docs/install-edit.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-edit.ps1* -=================================== +Script: *install-edit.ps1* +======================== This PowerShell script installs Microsoft Edit. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index f36795420..1cacedefb 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-evcc.ps1* -=================================== +Script: *install-evcc.ps1* +======================== This PowerShell script installs evcc. Evcc is an extensible EV Charge Controller with PV integration implemented in Go. See https://evcc.io for details. @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index da0dcd27c..5417413dc 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-firefox.ps1* -=================================== +Script: *install-firefox.ps1* +======================== This PowerShell script installs the Mozilla Firefox browser from Microsoft Store. @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-fonts.md b/docs/install-fonts.md index 4baa636c9..0ff535c5e 100644 --- a/docs/install-fonts.md +++ b/docs/install-fonts.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-fonts.ps1* -=================================== +Script: *install-fonts.ps1* +======================== install-fonts.ps1 [[-sourceFolder] ] @@ -53,4 +53,4 @@ foreach ($font in $fontFiles) { Write-Output "Fonts have been installed successfully." ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index fa9d8fdbc..b1b4a2360 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-git-extensions.ps1* -=================================== +Script: *install-git-extensions.ps1* +======================== This PowerShell script installs Git Extensions. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index aea4cc4af..6c2853ccd 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-git-for-windows.ps1* -=================================== +Script: *install-git-for-windows.ps1* +======================== This PowerShell script installs Git for Windows. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index f83665193..e4a9bb559 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-github-cli.ps1* -=================================== +Script: *install-github-cli.ps1* +======================== This PowerShell script installs the GitHub command-line interface (CLI). @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index cc5fdd540..1d0f14418 100644 --- a/docs/install-gitlab.md +++ b/docs/install-gitlab.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-gitlab.ps1* -=================================== +Script: *install-gitlab.ps1* +======================== install-gitlab.ps1 @@ -32,4 +32,4 @@ Script Content ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-h2static.md b/docs/install-h2static.md index 1df28d855..e3ba60df4 100644 --- a/docs/install-h2static.md +++ b/docs/install-h2static.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-h2static.ps1* -=================================== +Script: *install-h2static.ps1* +======================== This PowerShell script installs the tiny static Web server 'h2static'. @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index 2c95be433..e47096171 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-irfanview.ps1* -=================================== +Script: *install-irfanview.ps1* +======================== This PowerShell script installs IrfanView from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-jenkins-agent.md b/docs/install-jenkins-agent.md index 4109192d6..81540e075 100644 --- a/docs/install-jenkins-agent.md +++ b/docs/install-jenkins-agent.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-jenkins-agent.ps1* -=================================== +Script: *install-jenkins-agent.ps1* +======================== This PowerShell script installs and starts the Jenkins Agent. @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index 89a65312a..ff0b3053b 100644 --- a/docs/install-knot-resolver.md +++ b/docs/install-knot-resolver.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-knot-resolver.ps1* -=================================== +Script: *install-knot-resolver.ps1* +======================== This PowerShell script installs Knot Resolver. Knot Resolver is a DNS resolver daemon. It needs admin rights. @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index 86fc4c7d5..35b03709c 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-microsoft-teams.ps1* -=================================== +Script: *install-microsoft-teams.ps1* +======================== This PowerShell script installs Microsoft Teams from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-mini-dlna.md b/docs/install-mini-dlna.md index 134a2352a..9cf5118d9 100644 --- a/docs/install-mini-dlna.md +++ b/docs/install-mini-dlna.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-mini-dlna.ps1* -=================================== +Script: *install-mini-dlna.ps1* +======================== This PowerShell script installs the MiniDLNA server. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index 28b212d3d..368b999ed 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-netflix.ps1* -=================================== +Script: *install-netflix.ps1* +======================== This PowerShell script installs Netflix from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index c33cf70c1..eaabfd993 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-obs-studio.ps1* -=================================== +Script: *install-obs-studio.ps1* +======================== This PowerShell script installs OBS Studio (admin rights are needed). @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index 54c26735f..813e85fb7 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-octoprint.ps1* -=================================== +Script: *install-octoprint.ps1* +======================== install-octoprint.ps1 @@ -33,4 +33,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index 3d4819fbe..b7af6b32d 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-one-calendar.ps1* -=================================== +Script: *install-one-calendar.ps1* +======================== This PowerShell script installs One Calendar from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index 3d9d67984..6d3df0a3c 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-opera-browser.ps1* -=================================== +Script: *install-opera-browser.ps1* +======================== This PowerShell script installs Opera Browser from Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index 1831d24e1..cfd9ee0c0 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-opera-gx.ps1* -=================================== +Script: *install-opera-gx.ps1* +======================== This PowerShell script installs Opera GX from Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index 164920204..20f3e14fe 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-paint-3d.ps1* -=================================== +Script: *install-paint-3d.ps1* +======================== This PowerShell script installs Paint 3D from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index 5e0205627..2f825a4c6 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-power-toys.ps1* -=================================== +Script: *install-power-toys.ps1* +======================== This PowerShell script installs the Microsoft Powertoys. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index a36ab4ff4..6d0834929 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-powershell.ps1* -=================================== +Script: *install-powershell.ps1* +======================== By default, the latest PowerShell release package will be installed. If '-Daily' is specified, then the latest PowerShell daily package will be installed. @@ -662,4 +662,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index d1a8741c3..734ad1ab2 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-rufus.ps1* -=================================== +Script: *install-rufus.ps1* +======================== This PowerShell script installs Rufus from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index 796dec421..8808daaa2 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-salesforce-cli.ps1* -=================================== +Script: *install-salesforce-cli.ps1* +======================== This PowerShell script downloads and installs the Salesforce CLI on Windows. @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-scoop.md b/docs/install-scoop.md index f89a63207..95df39bdd 100644 --- a/docs/install-scoop.md +++ b/docs/install-scoop.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-scoop.ps1* -=================================== +Script: *install-scoop.ps1* +======================== install-scoop.ps1 @@ -21,4 +21,4 @@ Script Content Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index 13f46b44b..9b4efca17 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-signal-cli.ps1* -=================================== +Script: *install-signal-cli.ps1* +======================== This PowerShell script installs signal-cli from github.com/AsamK/signal-cli. See the Web page for the correct version number. @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index 9d766b754..b45902a61 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-spotify.ps1* -=================================== +Script: *install-spotify.ps1* +======================== This PowerShell script installs Spotify from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index 29b18d3e7..ad937b1df 100644 --- a/docs/install-ssh-client.md +++ b/docs/install-ssh-client.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-ssh-client.ps1* -=================================== +Script: *install-ssh-client.ps1* +======================== This PowerShell script installs a SSH client (needs admin rights). @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index 20171e859..be669d8c4 100644 --- a/docs/install-ssh-server.md +++ b/docs/install-ssh-server.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-ssh-server.ps1* -=================================== +Script: *install-ssh-server.ps1* +======================== This PowerShell script installs a SSH server (needs admin rights). @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-syncthing.md b/docs/install-syncthing.md index 0299ad9eb..a0e46f7ac 100644 --- a/docs/install-syncthing.md +++ b/docs/install-syncthing.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-syncthing.ps1* -=================================== +Script: *install-syncthing.ps1* +======================== This PowerShell script installs Syncthing on your computer. Syncthing is a continuous file synchronization program. See https://syncthing.net for details. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:10)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index 5931f83ba..240181195 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-thunderbird.ps1* -=================================== +Script: *install-thunderbird.ps1* +======================== This PowerShell script installs Mozilla Thunderbird. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index 6463caff1..5733c4801 100644 --- a/docs/install-unbound-server.md +++ b/docs/install-unbound-server.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-unbound-server.ps1* -=================================== +Script: *install-unbound-server.ps1* +======================== This PowerShell script installs Unbound, a validating, recursive, caching DNS resolver. It needs admin rights. @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-updates.md b/docs/install-updates.md index 951bf81f6..3f22b3d88 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-updates.ps1* -=================================== +Script: *install-updates.ps1* +======================== This PowerShell script installs software updates for the local machine (might need admin rights). HINT: Use the script 'list-updates.ps1' to list the latest software updates in advance. @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index 5666899af..114da52c6 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-visual-studio-code.ps1* -=================================== +Script: *install-visual-studio-code.ps1* +======================== This PowerShell script installs Visual Studio Code. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index 055a616ca..1473629c2 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-vivaldi.ps1* -=================================== +Script: *install-vivaldi.ps1* +======================== This PowerShell script installs the Vivaldi browser. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index def203a77..12bffd605 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-vlc.ps1* -=================================== +Script: *install-vlc.ps1* +======================== This PowerShell script installs the VLC media player. @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index 3934da8bf..3f2edfeab 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-windows-terminal.ps1* -=================================== +Script: *install-windows-terminal.ps1* +======================== This PowerShell script installs Windows Terminal from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index 487fc7d15..d906a987b 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-wsl.ps1* -=================================== +Script: *install-wsl.ps1* +======================== This PowerShell script installs Windows Subsystem for Linux. It needs admin rights. @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index 3c49aecee..966a55d28 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -1,5 +1,5 @@ -PowerShell Script: *install-zoom.ps1* -=================================== +Script: *install-zoom.ps1* +======================== This PowerShell script installs Zoom. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index 9e447149d..400d01e2f 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -1,5 +1,5 @@ -PowerShell Script: *introduce-powershell.ps1* -=================================== +Script: *introduce-powershell.ps1* +======================== This PowerShell script introduces PowerShell to new users and gives an overview of it. @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/kill-process.md b/docs/kill-process.md index 1d8b44b53..0edc7ce41 100644 --- a/docs/kill-process.md +++ b/docs/kill-process.md @@ -1,5 +1,5 @@ -PowerShell Script: *kill-process.ps1* -=================================== +Script: *kill-process.ps1* +======================== This PowerShell script stops all local processes matching the given name @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index bcae0abee..92e428105 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-aliases.ps1* -=================================== +Script: *list-aliases.ps1* +======================== This PowerShell scripts lists all PowerShell aliases. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index d7cd013fa..5dfe69351 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-anagrams.ps1* -=================================== +Script: *list-anagrams.ps1* +======================== This PowerShell script lists all anagrams of the given word. @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-apps.md b/docs/list-apps.md index a745f32f4..df6d7f583 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-apps.ps1* -=================================== +Script: *list-apps.ps1* +======================== This PowerShell script lists the installed applications (from Windows Store, or Snap Store). @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index 7ed74e135..de2cf0bae 100644 --- a/docs/list-ascii-table.md +++ b/docs/list-ascii-table.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-ascii-table.ps1* -=================================== +Script: *list-ascii-table.ps1* +======================== This PowerShell script lists the ASCII table on the console. @@ -120,4 +120,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index 082b8d88d..1b397f07e 100644 --- a/docs/list-automatic-variables.md +++ b/docs/list-automatic-variables.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-automatic-variables.ps1* -=================================== +Script: *list-automatic-variables.ps1* +======================== list-automatic-variables.ps1 @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index 36934b532..af61dcca5 100644 --- a/docs/list-battery-status.md +++ b/docs/list-battery-status.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-battery-status.ps1* -=================================== +Script: *list-battery-status.ps1* +======================== This PowerShell script lists the battery status. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-bios.md b/docs/list-bios.md index 258b31ee4..e83c36f2b 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-bios.ps1* -=================================== +Script: *list-bios.ps1* +======================== This PowerShell script lists the BIOS details. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 7b5bc9235..9f8a68683 100644 --- a/docs/list-bluetooth-devices.md +++ b/docs/list-bluetooth-devices.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-bluetooth-devices.ps1* -=================================== +Script: *list-bluetooth-devices.ps1* +======================== This PowerShell script lists all Bluetooth devices connected to the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-branches.md b/docs/list-branches.md index 23993378b..be40b83d7 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-branches.ps1* -=================================== +Script: *list-branches.ps1* +======================== This PowerShell script lists branches in a Git repository - either all (default) or by a search pattern. @@ -109,4 +109,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index 2d0546993..fd13ab0fc 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-calendar.ps1* -=================================== +Script: *list-calendar.ps1* +======================== Lists calendar elements, either a single month or an entire year. @@ -247,4 +247,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index d9a513464..c082b6160 100644 --- a/docs/list-cheat-sheet.md +++ b/docs/list-cheat-sheet.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-cheat-sheet.ps1* -=================================== +Script: *list-cheat-sheet.ps1* +======================== This PowerShell script lists the PowerShell cheat sheet. @@ -75,4 +75,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index 8a4d398ff..03577e9a3 100644 --- a/docs/list-city-weather.md +++ b/docs/list-city-weather.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-city-weather.ps1* -=================================== +Script: *list-city-weather.ps1* +======================== list-city-weather.ps1 @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index 4f27b2f7d..597afe66f 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-cli-tools.ps1* -=================================== +Script: *list-cli-tools.ps1* +======================== list-cli-tools.ps1 @@ -370,4 +370,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index 2f39951bd..d1067440e 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-clipboard.ps1* -=================================== +Script: *list-clipboard.ps1* +======================== This PowerShell script lists the contents of the clipboard. @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index 1c75a82da..edc9a650d 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-cmdlets.ps1* -=================================== +Script: *list-cmdlets.ps1* +======================== This PowerShell script lists all PowerShell cmdlets. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index d3b95a433..0694a1f28 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-coffee-prices.ps1* -=================================== +Script: *list-coffee-prices.ps1* +======================== list-coffee-prices.ps1 @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index bbd1217ba..68a65d6d1 100644 --- a/docs/list-commit-stats.md +++ b/docs/list-commit-stats.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-commit-stats.ps1* -=================================== +Script: *list-commit-stats.ps1* +======================== This PowerShell script lists the commit statistics of a Git repository. @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-commits.md b/docs/list-commits.md index d0d9d91fa..6ee5e0bef 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-commits.ps1* -=================================== +Script: *list-commits.ps1* +======================== This PowerShell script lists all commits in a Git repository. Supported output formats are: pretty, list, compact, normal or JSON. @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 11b3f6bbd..71fce7635 100644 --- a/docs/list-console-colors.md +++ b/docs/list-console-colors.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-console-colors.ps1* -=================================== +Script: *list-console-colors.ps1* +======================== This PowerShell script lists all available console colors. @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-countries.md b/docs/list-countries.md index b32272207..239bfe7d9 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-countries.ps1* -=================================== +Script: *list-countries.ps1* +======================== list-countries.ps1 @@ -52,4 +52,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index 38b9cb39d..3d70d3a58 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-cpu.ps1* -=================================== +Script: *list-cpu.ps1* +======================== This PowerShell script lists the CPU details. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index b4d3c64a1..eb2f63eb7 100644 --- a/docs/list-crypto-rates.md +++ b/docs/list-crypto-rates.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-crypto-rates.ps1* -=================================== +Script: *list-crypto-rates.ps1* +======================== list-crypto-rates.ps1 @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index 6fbc87385..1cede7611 100644 --- a/docs/list-defender-settings.md +++ b/docs/list-defender-settings.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-defender-settings.ps1* -=================================== +Script: *list-defender-settings.ps1* +======================== This PowerShell script lists the current settings of Windows Defender Antivirus. NOTE: use 'Set-MpPreference' to change settings (e.g. DisableScanningNetworkFiles) @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index f71e55446..8c8094299 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-dir-tree.ps1* -=================================== +Script: *list-dir-tree.ps1* +======================== This PowerShell script lists all files and folders in a directory tree (including icon and size). @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index 2fd961f88..f3cc30f26 100644 --- a/docs/list-dns-servers.md +++ b/docs/list-dns-servers.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-dns-servers.ps1* -=================================== +Script: *list-dns-servers.ps1* +======================== list-dns-servers.ps1 @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-drives.md b/docs/list-drives.md index d362a1bbb..f6b113350 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-drives.ps1* -=================================== +Script: *list-drives.ps1* +======================== This PowerShell script lists all local drives as a table. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index 6d6bbd9ce..bb66784bd 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-earthquakes.ps1* -=================================== +Script: *list-earthquakes.ps1* +======================== This PowerShell script lists major earthquakes for the last 30 days. @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index 7f7757677..0905fe973 100644 --- a/docs/list-emojis.md +++ b/docs/list-emojis.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-emojis.ps1* -=================================== +Script: *list-emojis.ps1* +======================== This PowerShell script lists the emojis of Unicode 13.0 sorted by category. @@ -72,4 +72,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 5a2cfe9ec..5b45c0bfa 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-empty-dirs.ps1* -=================================== +Script: *list-empty-dirs.ps1* +======================== This PowerShell script scans a directory tree and lists all empty directories. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index 7216c6cdf..c2eb88fd3 100644 --- a/docs/list-empty-files.md +++ b/docs/list-empty-files.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-empty-files.ps1* -=================================== +Script: *list-empty-files.ps1* +======================== This PowerShell script scans a directory tree and lists all empty files. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index e143886e4..53590fb24 100644 --- a/docs/list-encrypted-files.md +++ b/docs/list-encrypted-files.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-encrypted-files.ps1* -=================================== +Script: *list-encrypted-files.ps1* +======================== This PowerShell script scans a directory tree and lists all encrypted files. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index 843102149..a6733d283 100644 --- a/docs/list-environment-variables.md +++ b/docs/list-environment-variables.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-environment-variables.ps1* -=================================== +Script: *list-environment-variables.ps1* +======================== This PowerShell script lists all environment variables. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index 27450dee2..054ae7b42 100644 --- a/docs/list-error-types.md +++ b/docs/list-error-types.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-error-types.ps1* -=================================== +Script: *list-error-types.ps1* +======================== list-error-types.ps1 @@ -26,4 +26,4 @@ Script Content } | Select BaseType,Name,FullName ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index 60865234d..56ec42a6c 100644 --- a/docs/list-exchange-rates.md +++ b/docs/list-exchange-rates.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-exchange-rates.ps1* -=================================== +Script: *list-exchange-rates.ps1* +======================== This PowerShell script lists the current exchange rates for the given currency (USD per default). @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-executables.md b/docs/list-executables.md index 347591716..a64bec24e 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-executables.ps1* -=================================== +Script: *list-executables.ps1* +======================== This PowerShell script scans a given directory tree and lists all executables with suffix .EXE. @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index 38a5e252c..a83ac5d1e 100644 --- a/docs/list-fibonacci.md +++ b/docs/list-fibonacci.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-fibonacci.ps1* -=================================== +Script: *list-fibonacci.ps1* +======================== list-fibonacci.ps1 @@ -43,4 +43,4 @@ foreach ($i in 0..100) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-files.md b/docs/list-files.md index 5f9719467..3943b8308 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-files.ps1* -=================================== +Script: *list-files.ps1* +======================== This PowerShell script lists all files within the given directory tree. @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-folder.md b/docs/list-folder.md index c5f6d9628..7d9b3dbf9 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-folder.ps1* -=================================== +Script: *list-folder.ps1* +======================== This PowerShell script lists the content of a directory (alphabetically formatted in columns). @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index 9029c80d8..ca701597a 100644 --- a/docs/list-fritzbox-calls.md +++ b/docs/list-fritzbox-calls.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-fritzbox-calls.ps1* -=================================== +Script: *list-fritzbox-calls.ps1* +======================== This PowerShell script lists the phone calls of the FRITZ!Box device. @@ -155,4 +155,4 @@ echo $Result exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index 417f82c16..a7c058936 100644 --- a/docs/list-fritzbox-devices.md +++ b/docs/list-fritzbox-devices.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-fritzbox-devices.ps1* -=================================== +Script: *list-fritzbox-devices.ps1* +======================== This PowerShell script lists FRITZ!Box's known devices. @@ -107,4 +107,4 @@ $HostTable | format-table -property Active,IPAddress,MACAddress,HostName,Interfa exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index a57761249..77e62c983 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-headlines.ps1* -=================================== +Script: *list-headlines.ps1* +======================== This PowerShell script lists the latest headlines by using a RSS (Really Simple Syndication) feed. @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index 603e63f49..8d9ccef84 100644 --- a/docs/list-hidden-files.md +++ b/docs/list-hidden-files.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-hidden-files.ps1* -=================================== +Script: *list-hidden-files.ps1* +======================== This PowerShell script scans a directory tree and lists all hidden files. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-installed-hotfixes.md b/docs/list-installed-hotfixes.md index f8fdab821..1c94ca1a4 100644 --- a/docs/list-installed-hotfixes.md +++ b/docs/list-installed-hotfixes.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-installed-hotfixes.ps1* -=================================== +Script: *list-installed-hotfixes.ps1* +======================== This PowerShell script lists the installed hotfixes. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index 9f74407b9..6466588dd 100644 --- a/docs/list-installed-languages.md +++ b/docs/list-installed-languages.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-installed-languages.ps1* -=================================== +Script: *list-installed-languages.ps1* +======================== list-installed-languages.ps1 @@ -50,4 +50,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index 56b810357..856db5c02 100644 --- a/docs/list-installed-scripts.md +++ b/docs/list-installed-scripts.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-installed-scripts.ps1* -=================================== +Script: *list-installed-scripts.ps1* +======================== This PowerShell script lists all installed PowerShell scripts. @@ -48,4 +48,4 @@ Get-InstalledScript exit # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index a95384ebb..4dbab481a 100644 --- a/docs/list-installed-software.md +++ b/docs/list-installed-software.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-installed-software.ps1* -=================================== +Script: *list-installed-software.ps1* +======================== This PowerShell script lists the installed software (except Windows Store apps). @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index 2ea7bb657..176f2e9f0 100644 --- a/docs/list-internet-ip.md +++ b/docs/list-internet-ip.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-internet-ip.ps1* -=================================== +Script: *list-internet-ip.ps1* +======================== This PowerShell script queries all public IP address information and prints it. @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index 5b1793882..41ffff141 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-ipv6.ps1* -=================================== +Script: *list-ipv6.ps1* +======================== This PowerShell script lists the state of IPv6 on all network interfaces of the local computer. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index 5af4ac615..3562fc430 100644 --- a/docs/list-latest-tag.md +++ b/docs/list-latest-tag.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-latest-tag.ps1* -=================================== +Script: *list-latest-tag.ps1* +======================== This PowerShell script lists the latest tag in a local Git repository. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index d2267d63d..c8aed6505 100644 --- a/docs/list-latest-tags.md +++ b/docs/list-latest-tags.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-latest-tags.ps1* -=================================== +Script: *list-latest-tags.ps1* +======================== This PowerShell script lists the latest tags in all Git repositories in the specified folder. @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index 3c5e952bf..cbcff07fa 100644 --- a/docs/list-local-ip.md +++ b/docs/list-local-ip.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-local-ip.ps1* -=================================== +Script: *list-local-ip.ps1* +======================== list-local-ip.ps1 @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index 3f1c9c524..b1b5b231f 100644 --- a/docs/list-mDNS.md +++ b/docs/list-mDNS.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-mDNS.ps1* -=================================== +Script: *list-mDNS.ps1* +======================== list-mDNS.ps1 @@ -21,4 +21,4 @@ Get-NetUDPEndpoint -localPort 5353 | Select-Object LocalAddress,LocalPort,Owning exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-memos.md b/docs/list-memos.md index 7f547b5bf..714ccd059 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-memos.ps1* -=================================== +Script: *list-memos.ps1* +======================== This PowerShell script lists all entries in 'Remember.csv' in your home folder. @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index 9bb2b5ca8..054ce8444 100644 --- a/docs/list-mysql-tables.md +++ b/docs/list-mysql-tables.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-mysql-tables.ps1* -=================================== +Script: *list-mysql-tables.ps1* +======================== This PowerShell script lists all tables of the given MySQL database. @@ -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 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index 893ec1172..c51294c84 100644 --- a/docs/list-network-connections.md +++ b/docs/list-network-connections.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-network-connections.ps1* -=================================== +Script: *list-network-connections.ps1* +======================== This PowerShell script lists all active network connections on the local computer. @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index 0736071b6..814933e21 100644 --- a/docs/list-network-neighbors.md +++ b/docs/list-network-neighbors.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-network-neighbors.ps1* -=================================== +Script: *list-network-neighbors.ps1* +======================== This PowerShell script lists all network neighbors of the local computer (using the ARP cache). @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index de89254fc..064dc5f55 100644 --- a/docs/list-network-routes.md +++ b/docs/list-network-routes.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-network-routes.ps1* -=================================== +Script: *list-network-routes.ps1* +======================== This PowerShell script lists the network routes on the local computer. @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index d72d2e45e..4c1e832bf 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-network-shares.ps1* -=================================== +Script: *list-network-shares.ps1* +======================== This PowerShell script lists all network shares (aka "shared folders") of the local computer. @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-news.md b/docs/list-news.md index adc830409..f579fee3a 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-news.ps1* -=================================== +Script: *list-news.ps1* +======================== This PowerShell script lists the latest news by using a RSS (Really Simple Syndication) feed. @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-nic.md b/docs/list-nic.md index 28f86143b..34dd1d72a 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-nic.ps1* -=================================== +Script: *list-nic.ps1* +======================== This PowerShell script lists the details of the installed network interfaces. @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index 8f6945fb3..f923607b0 100644 --- a/docs/list-nina-warnings.md +++ b/docs/list-nina-warnings.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-nina-warnings.ps1* -=================================== +Script: *list-nina-warnings.ps1* +======================== This PowerShell script queries the current NINA warnings and lists it. @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index b013ca1de..5056b32a5 100644 --- a/docs/list-old-branches.md +++ b/docs/list-old-branches.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-old-branches.ps1* -=================================== +Script: *list-old-branches.ps1* +======================== This PowerShell script lists branches in a Git repository matching: (1) search pattern, (2) already merged, (3) older than 2024 @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index a93ec07a9..e560d57a6 100644 --- a/docs/list-os-releases.md +++ b/docs/list-os-releases.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-os-releases.ps1* -=================================== +Script: *list-os-releases.ps1* +======================== This PowerShell script lists OS releases and download URL. @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:11)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index 1fd1b2e0f..3eb20c31f 100644 --- a/docs/list-os-updates.md +++ b/docs/list-os-updates.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-os-updates.ps1* -=================================== +Script: *list-os-updates.ps1* +======================== This PowerShell script lists the latest updates for operating systems. @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-os.md b/docs/list-os.md index 57ba4b342..e8390896f 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-os.ps1* -=================================== +Script: *list-os.ps1* +======================== This PowerShell script lists the exact operating system version. @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index 300157d2c..aa9817490 100644 --- a/docs/list-outlook-inbox.md +++ b/docs/list-outlook-inbox.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-outlook-inbox.ps1* -=================================== +Script: *list-outlook-inbox.ps1* +======================== This PowerShell script lists the emails in the inbox of Outlook. @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index 7390b9693..9e86893b5 100644 --- a/docs/list-outlook-sent.md +++ b/docs/list-outlook-sent.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-outlook-sent.ps1* -=================================== +Script: *list-outlook-sent.ps1* +======================== This PowerShell script lists the mails in the Sent Mail folder of Outlook. @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-passwords.md b/docs/list-passwords.md index ac434199f..9a2dba1f5 100644 --- a/docs/list-passwords.md +++ b/docs/list-passwords.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-passwords.ps1* -=================================== +Script: *list-passwords.ps1* +======================== This PowerShell script lists random passwords. @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-pins.md b/docs/list-pins.md index 2eeb8cc32..cfb6ac462 100644 --- a/docs/list-pins.md +++ b/docs/list-pins.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-pins.ps1* -=================================== +Script: *list-pins.ps1* +======================== This PowerShell script lists random PIN's. @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index b353882ca..b52dd154c 100644 --- a/docs/list-power-schemes.md +++ b/docs/list-power-schemes.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-power-schemes.ps1* -=================================== +Script: *list-power-schemes.ps1* +======================== list-power-schemes.ps1 @@ -21,4 +21,4 @@ powercfg /list exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index 35e52971e..19943d13c 100644 --- a/docs/list-powershell-modules.md +++ b/docs/list-powershell-modules.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-powershell-modules.ps1* -=================================== +Script: *list-powershell-modules.ps1* +======================== This PowerShell script lists the installed PowerShell modules. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index ff4d8fffc..309f669a9 100644 --- a/docs/list-powershell-profiles.md +++ b/docs/list-powershell-profiles.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-powershell-profiles.ps1* -=================================== +Script: *list-powershell-profiles.ps1* +======================== list-powershell-profiles.ps1 @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index cc5c85e92..26fe21e38 100644 --- a/docs/list-powershell-verbs.md +++ b/docs/list-powershell-verbs.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-powershell-verbs.ps1* -=================================== +Script: *list-powershell-verbs.ps1* +======================== This PowerShell script lists all allowed/recommended verbs in PowerShell. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index f29fd1077..de74d9b4a 100644 --- a/docs/list-print-jobs.md +++ b/docs/list-print-jobs.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-print-jobs.ps1* -=================================== +Script: *list-print-jobs.ps1* +======================== This PowerShell script lists all print jobs of all printer devices. @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 1e79e7726..f8b167e2a 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-printers.ps1* -=================================== +Script: *list-printers.ps1* +======================== This PowerShell script lists all printers known to the local computer. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-processes.md b/docs/list-processes.md index 71255c7a3..b62908f12 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-processes.ps1* -=================================== +Script: *list-processes.ps1* +======================== This PowerShell script lists all local computer processes. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index 26f7ec73e..2fcbea450 100644 --- a/docs/list-pull-requests.md +++ b/docs/list-pull-requests.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-pull-requests.ps1* -=================================== +Script: *list-pull-requests.ps1* +======================== This PowerShell script lists all pull requests for a Git repository. @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-ram.md b/docs/list-ram.md index a2ed06304..61c492202 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-ram.ps1* -=================================== +Script: *list-ram.ps1* +======================== This PowerShell script lists the details of the installed RAM. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index a75901f2d..7bf56ea51 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-read-only-files.ps1* -=================================== +Script: *list-read-only-files.ps1* +======================== This PowerShell script scans a directory tree and lists all read-only files. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index d7009e01b..4133b0887 100644 --- a/docs/list-recycle-bin.md +++ b/docs/list-recycle-bin.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-recycle-bin.ps1* -=================================== +Script: *list-recycle-bin.ps1* +======================== This PowerShell script lists the content of the recycle bin folder. @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-repos.md b/docs/list-repos.md index bda07b3b3..3012d5836 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-repos.ps1* -=================================== +Script: *list-repos.ps1* +======================== This PowerShell script lists all Git repositories under a folder with details such as latest tag, branch, remote URL, and status. @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index 01c127562..035258a89 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-scripts.ps1* -=================================== +Script: *list-scripts.ps1* +======================== list-scripts.ps1 [[-category] ] @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index 64860e08d..dd745cbbd 100644 --- a/docs/list-scsi-devices.md +++ b/docs/list-scsi-devices.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-scsi-devices.ps1* -=================================== +Script: *list-scsi-devices.ps1* +======================== This PowerShell script lists all SCSI devices connected to the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-services.md b/docs/list-services.md index 4f17587b3..254c83348 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-services.ps1* -=================================== +Script: *list-services.ps1* +======================== This PowerShell script lists all services installed on the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index 34ac0ec62..b513a5084 100644 --- a/docs/list-special-folders.md +++ b/docs/list-special-folders.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-special-folders.ps1* -=================================== +Script: *list-special-folders.ps1* +======================== list-special-folders.ps1 @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index 875e3b5d8..233a6acde 100644 --- a/docs/list-sql-tables.md +++ b/docs/list-sql-tables.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-sql-tables.ps1* -=================================== +Script: *list-sql-tables.ps1* +======================== This PowerShell script lists all tables in a SQL server database and exports the list as CSV. Install-Module InvokeQuery @@ -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 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index 09fd04f54..034309edb 100644 --- a/docs/list-ssh-key.md +++ b/docs/list-ssh-key.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-ssh-key.ps1* -=================================== +Script: *list-ssh-key.ps1* +======================== This PowerShell script lists the user's public SSH key. @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index 9f36270bf..153ee972a 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-submodules.ps1* -=================================== +Script: *list-submodules.ps1* +======================== This PowerShell script lists the submodules in the given Git repository. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index d5ac5fd0b..24f3d9885 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-suggestions.ps1* -=================================== +Script: *list-suggestions.ps1* +======================== This PowerShell script lists "Did you mean?" suggestions from Google. @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index 961e975a7..d345a7d75 100644 --- a/docs/list-system-devices.md +++ b/docs/list-system-devices.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-system-devices.ps1* -=================================== +Script: *list-system-devices.ps1* +======================== This PowerShell script lists all system devices connected to the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index be7553af9..cd667cc65 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-system-files.ps1* -=================================== +Script: *list-system-files.ps1* +======================== This PowerShell script scans a directory tree and lists all system files. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index b7acb869a..e26bf453a 100644 --- a/docs/list-system-info.md +++ b/docs/list-system-info.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-system-info.ps1* -=================================== +Script: *list-system-info.ps1* +======================== This PowerShell script lists system information of the local computer. @@ -141,4 +141,4 @@ $info exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-tags.md b/docs/list-tags.md index b91298de1..1dc13a1b3 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-tags.ps1* -=================================== +Script: *list-tags.ps1* +======================== This PowerShell script fetches all tags in a local Git repository and lists it (oldest tag first). @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index d6c032e02..eeba768e6 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-tasks.ps1* -=================================== +Script: *list-tasks.ps1* +======================== list-tasks.ps1 @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index 3595eda86..da0eb95b5 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-timezone.ps1* -=================================== +Script: *list-timezone.ps1* +======================== This PowerShell script lists the details of the current time zone. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 62bc2fa93..a5906f6c4 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-timezones.ps1* -=================================== +Script: *list-timezones.ps1* +======================== This PowerShell script lists all available time zones. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index cadd6c6b9..24ea3268e 100644 --- a/docs/list-tiobe-index.md +++ b/docs/list-tiobe-index.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-tiobe-index.ps1* -=================================== +Script: *list-tiobe-index.ps1* +======================== list-tiobe-index.ps1 @@ -19,7 +19,7 @@ Script Content ```powershell <# .SYNOPSIS - Lists the TIOBE index of top programming languages + Lists the TIOBE index .DESCRIPTION This PowerShell script lists the TIOBE index of top programming languages. .EXAMPLE @@ -30,52 +30,53 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -function WriteBar { param([string]$Text, [float]$Value, [float]$Max, [float]$Change) - $Num = ($Value * 100.0) / $Max - while ($Num -ge 1.0) { - write-host -noNewLine "█" - $Num -= 1.0 +function WriteBar { param([string]$text, [float]$value, [float]$max, [float]$change) + $num = ($value * 100.0) / $max + while ($num -ge 1.0) { + Write-Host "█" -noNewline + $num -= 1.0 } - if ($Num -ge 0.875) { - write-host -noNewLine "▉" - } elseif ($Num -ge 0.75) { - write-host -noNewLine "▊" - } elseif ($Num -ge 0.625) { - write-host -noNewLine "▋" - } elseif ($Num -ge 0.5) { - write-host -noNewLine "▌" - } elseif ($Num -ge 0.375) { - write-host -noNewLine "▍" - } elseif ($Num -ge 0.25) { - write-host -noNewLine "▎" - } elseif ($Num -ge 0.125) { - write-host -noNewLine "▏" + if ($num -ge 0.875) { + Write-Host "▉" -noNewline + } elseif ($num -ge 0.75) { + Write-Host "▊" -noNewline + } elseif ($num -ge 0.625) { + Write-Host "▋" -noNewline + } elseif ($num -ge 0.5) { + Write-Host "▌" -noNewline + } elseif ($num -ge 0.375) { + Write-Host "▍" -noNewline + } elseif ($num -ge 0.25) { + Write-Host "▎" -noNewline + } elseif ($num -ge 0.125) { + Write-Host "▏" -noNewline } - write-host -noNewLine " $Text $($Value)%" - if ($Change -ge 0.0) { - write-host -foregroundColor green " +$($Change)%" + Write-Host " $text $($value)%" -noNewline + if ($change -ge 0.0) { + Write-Host -foregroundColor green " +$($change)%" } else { - write-host -foregroundColor red " $($Change)%" + Write-Host -foregroundColor red " $($change)%" } } try { - & write-big.ps1 "TIOBE INDEX 2021-06" - " Source: https://www.tiobe.com" - "" + Write-Host "" + Write-Host "TIOBE INDEX 2021-06 (source: https://www.tiobe.com)" + Write-Host "====================================================" + Write-Host "" - $Table = import-csv "$PSScriptRoot/../data/TIOBE-index.csv" - foreach($Row in $Table) { - [string]$Name = $Row.Language - [float]$Value = $Row.Popularity - [float]$Change = $Row.Change - WriteBar $Name $Value 14.0 $Change + $table = Import-CSV "$PSScriptRoot/../data/TIOBE-index.csv" + foreach($row in $table) { + [string]$name = $row.Language + [float]$value = $row.Popularity + [float]$change = $row.Change + WriteBar $name $value 14.0 $change } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index 243921eb0..d5b5d8e72 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-unused-files.ps1* -=================================== +Script: *list-unused-files.ps1* +======================== This PowerShell script scans a directory tree and lists unused files (no read/write access since a number of days). @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-updates.md b/docs/list-updates.md index 45f9fe179..e9956cf13 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-updates.ps1* -=================================== +Script: *list-updates.ps1* +======================== This PowerShell script queries the latest available software updates for the local machine and lists it (for installation use 'install-updates.ps1'). @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index 9232a270e..9095ce79a 100644 --- a/docs/list-usb-devices.md +++ b/docs/list-usb-devices.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-usb-devices.ps1* -=================================== +Script: *list-usb-devices.ps1* +======================== This PowerShell script lists all USB devices connected to the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 6bf687507..ac55e7056 100644 --- a/docs/list-user-accounts.md +++ b/docs/list-user-accounts.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-user-accounts.ps1* -=================================== +Script: *list-user-accounts.ps1* +======================== This PowerShell script lists the user accounts on the local computer. @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index 319d33ce4..508c37f7b 100644 --- a/docs/list-user-groups.md +++ b/docs/list-user-groups.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-user-groups.ps1* -=================================== +Script: *list-user-groups.ps1* +======================== This PowerShell script lists the user groups of the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-voices.md b/docs/list-voices.md index b26109afd..b789a5d5a 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-voices.ps1* -=================================== +Script: *list-voices.ps1* +======================== This PowerShell script queries the installed text-to-speech (TTS) voices and prints them to the console. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-voices.md.orig b/docs/list-voices.md.orig deleted file mode 100644 index a4c9498cb..000000000 --- a/docs/list-voices.md.orig +++ /dev/null @@ -1,78 +0,0 @@ -<<<<<<< HEAD -PS> *list-voices.ps1* -==================== -======= -# Script: *list-voices.ps1* ->>>>>>> 4ae2d6ca4860751d3c91023d1194157da528bb33 - -This PowerShell script lists the installed text-to-speech (TTS) voices. - -Parameters ----------- -```powershell -list-voices.ps1 [] - -[] - This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, - WarningVariable, OutBuffer, PipelineVariable, and OutVariable. -``` - -Example -------- -```powershell -PS> ./list-voices - - - -Name Culture Gender Age ----- ------- ------ --- -Microsoft David Desktop en-US Male Adult -... - -``` - -Notes ------ -Author: Markus Fleschutz | License: CC0 - -Related Links -------------- -https://github.com/fleschutz/PowerShell - -Script Content --------------- -```powershell -<# -.SYNOPSIS - Lists the installed text-to-speech voices -.DESCRIPTION - This PowerShell script lists the installed text-to-speech (TTS) voices. -.EXAMPLE - PS> ./list-voices - - Name Culture Gender Age - ---- ------- ------ --- - Microsoft David Desktop en-US Male Adult - ... -.LINK - https://github.com/fleschutz/PowerShell -.NOTES - Author: Markus Fleschutz | License: CC0 -#> - -#Requires -Version 2.0 - -try { - Add-Type -AssemblyName System.Speech - $Synth = New-Object System.Speech.Synthesis.SpeechSynthesizer - $Synth.GetInstalledVoices() | - Select-Object -ExpandProperty VoiceInfo | - Select-Object -Property Name, Culture, Gender, Age - exit 0 # success -} catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" - exit 1 -} -``` - -*(generated by convert-ps2md.ps1 using the comment-based help of list-voices.ps1 as of 07/29/2023 10:04:07)* diff --git a/docs/list-weather.md b/docs/list-weather.md index df64da3a0..14a25cf90 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-weather.ps1* -=================================== +Script: *list-weather.ps1* +======================== This PowerShell script queries the 48h weather report from wttr.in and lists it in a nice table. @@ -179,4 +179,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index 2b1141a18..f80f3c0c6 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-wifi.ps1* -=================================== +Script: *list-wifi.ps1* +======================== This PowerShell script lists the WIFI networks. @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index 170dd0318..279087c02 100644 --- a/docs/list-window-titles.md +++ b/docs/list-window-titles.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-window-titles.ps1* -=================================== +Script: *list-window-titles.ps1* +======================== This PowerShell script queries all main window titles and lists them as a table. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index 4d69b20be..5765fd8d8 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-workdir.ps1* -=================================== +Script: *list-workdir.ps1* +======================== This PowerShell script lists the path to current working directory (but not the content itself). @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index f234af940..2dcfaade2 100644 --- a/docs/list-wsl-distros.md +++ b/docs/list-wsl-distros.md @@ -1,5 +1,5 @@ -PowerShell Script: *list-wsl-distros.ps1* -=================================== +Script: *list-wsl-distros.ps1* +======================== This PowerShell script lists installed/available Linux distributions for Windows Subsystem for Linux (WSL). @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/locate-city.md b/docs/locate-city.md index 2699f2013..127cebec7 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -1,5 +1,5 @@ -PowerShell Script: *locate-city.ps1* -=================================== +Script: *locate-city.ps1* +======================== This PowerShell script prints the geographic location of the given city. @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index 62b7b3113..e643da975 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -1,5 +1,5 @@ -PowerShell Script: *locate-ipaddress.ps1* -=================================== +Script: *locate-ipaddress.ps1* +======================== locate-ipaddress.ps1 [[-IPaddress] ] @@ -46,4 +46,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index 14b63e6f2..4cbc5e748 100644 --- a/docs/locate-my-phone.md +++ b/docs/locate-my-phone.md @@ -1,5 +1,5 @@ -PowerShell Script: *locate-my-phone.ps1* -=================================== +Script: *locate-my-phone.ps1* +======================== This PowerShell script launches the Web browser with the Google Find My Device website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index 58095856e..06bbaa69d 100644 --- a/docs/locate-zip-code.md +++ b/docs/locate-zip-code.md @@ -1,5 +1,5 @@ -PowerShell Script: *locate-zip-code.ps1* -=================================== +Script: *locate-zip-code.ps1* +======================== This PowerShell script prints the geographic location of the given zip-code. @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index 33c4ca746..bfb90dba7 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -1,5 +1,5 @@ -PowerShell Script: *lock-desktop.ps1* -=================================== +Script: *lock-desktop.ps1* +======================== This PowerShell script locks the local computer desktop immediately. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/log-off.md b/docs/log-off.md index 548265605..a44096ff6 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -1,5 +1,5 @@ -PowerShell Script: *log-off.ps1* -=================================== +Script: *log-off.ps1* +======================== This PowerShell script logs off the current Windows user. @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/make-install.md b/docs/make-install.md index 98a207f53..93c0f56c2 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -1,5 +1,5 @@ -PowerShell Script: *make-install.ps1* -=================================== +Script: *make-install.ps1* +======================== This PowerShell script copies newer EXE's + DLL's from the build directory to the installation directory. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index c8900baa2..fbce80055 100644 --- a/docs/measure-BubbleSort.md +++ b/docs/measure-BubbleSort.md @@ -1,5 +1,5 @@ -PowerShell Script: *measure-BubbleSort.ps1* -=================================== +Script: *measure-BubbleSort.ps1* +======================== This PowerShell script measures the speed of the BubbleSort algorithm. BubbleSort is a simple sorting algorithm that repeatedly steps through the list, @@ -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 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index d5b85d73a..f79b4e6ee 100644 --- a/docs/measure-BucketSort.md +++ b/docs/measure-BucketSort.md @@ -1,5 +1,5 @@ -PowerShell Script: *measure-BucketSort.ps1* -=================================== +Script: *measure-BucketSort.ps1* +======================== This PowerShell script measures the speed of the BucketSort algorithm. BucketSort is a sorting algorithm that works by distributing the elements @@ -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 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index eb88c8730..d99e805c5 100644 --- a/docs/measure-CountingSort.md +++ b/docs/measure-CountingSort.md @@ -1,5 +1,5 @@ -PowerShell Script: *measure-CountingSort.ps1* -=================================== +Script: *measure-CountingSort.ps1* +======================== This PowerShell script measures the speed of the CountingSort algorithm. CountingSort is an algorithm for sorting a collection of objects according to keys @@ -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 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index a82d32c71..0faf2a166 100644 --- a/docs/measure-HeapSort.md +++ b/docs/measure-HeapSort.md @@ -1,5 +1,5 @@ -PowerShell Script: *measure-HeapSort.ps1* -=================================== +Script: *measure-HeapSort.ps1* +======================== This PowerShell script measures the speed of the HeapSort algorithm. HeapSort is a comparison-based sorting algorithm. Heapsort can be thought of as an @@ -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 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index 64bd3dab3..78fa173be 100644 --- a/docs/measure-InsertionSort.md +++ b/docs/measure-InsertionSort.md @@ -1,5 +1,5 @@ -PowerShell Script: *measure-InsertionSort.ps1* -=================================== +Script: *measure-InsertionSort.ps1* +======================== This PowerShell script measures the speed of the InsertionSort algorithm. InsertionSort is a simple sorting algorithm that builds the final sorted array (or list) @@ -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 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index a09ddb1f3..d9ae63eeb 100644 --- a/docs/measure-MergeSort.md +++ b/docs/measure-MergeSort.md @@ -1,5 +1,5 @@ -PowerShell Script: *measure-MergeSort.ps1* -=================================== +Script: *measure-MergeSort.ps1* +======================== This PowerShell script measures the speed of the MergeSort algorithm. MergeSort is an efficient, general-purpose, and comparison-based sorting algorithm. @@ -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 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index 9b38ddefb..55574e7bc 100644 --- a/docs/measure-QuickSort.md +++ b/docs/measure-QuickSort.md @@ -1,5 +1,5 @@ -PowerShell Script: *measure-QuickSort.ps1* -=================================== +Script: *measure-QuickSort.ps1* +======================== This PowerShell script measures the speed of the QuickSort algorithm. QuickSort is an in-place sorting algorithm. Developed by British computer scientist @@ -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 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index 40fa31086..695824ca5 100644 --- a/docs/measure-SelectionSort.md +++ b/docs/measure-SelectionSort.md @@ -1,5 +1,5 @@ -PowerShell Script: *measure-SelectionSort.ps1* -=================================== +Script: *measure-SelectionSort.ps1* +======================== This PowerShell script measures the speed of the SelectionSort algorithm. SelectionSort is an in-place comparison sorting algorithm. It has an O(n2) time complexity, @@ -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 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index 22d3ea19e..b36cb3ba9 100644 --- a/docs/measure-sorting-algorithms.md +++ b/docs/measure-sorting-algorithms.md @@ -1,5 +1,5 @@ -PowerShell Script: *measure-sorting-algorithms.ps1* -=================================== +Script: *measure-sorting-algorithms.ps1* +======================== This PowerShell script measures the speed of several sorting algorithms and prints it. @@ -74,4 +74,4 @@ param([int]$numIntegers = 3000) exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index ef5875b62..7dcb36691 100644 --- a/docs/merry-christmas.md +++ b/docs/merry-christmas.md @@ -1,5 +1,5 @@ -PowerShell Script: *merry-christmas.ps1* -=================================== +Script: *merry-christmas.ps1* +======================== This PowerShell script replies to 'Merry Christmas' by text-to-speech (TTS). @@ -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 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index cf6eef02e..7bf21124d 100644 --- a/docs/minimize-all-windows.md +++ b/docs/minimize-all-windows.md @@ -1,5 +1,5 @@ -PowerShell Script: *minimize-all-windows.ps1* -=================================== +Script: *minimize-all-windows.ps1* +======================== This PowerShell script minimizes all open windows. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index 391ebcce9..fae6a091f 100644 --- a/docs/move-mouse-pointer.md +++ b/docs/move-mouse-pointer.md @@ -1,5 +1,5 @@ -PowerShell Script: *move-mouse-pointer.ps1* -=================================== +Script: *move-mouse-pointer.ps1* +======================== This PowerShell script moves the mouse pointer either to the given x/y coordinate or just slightly. @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/move-vm.md b/docs/move-vm.md index e877e45c9..4775a43ab 100644 --- a/docs/move-vm.md +++ b/docs/move-vm.md @@ -1,5 +1,5 @@ -PowerShell Script: *move-vm.ps1* -=================================== +Script: *move-vm.ps1* +======================== move-vm.ps1 @@ -22,4 +22,4 @@ Move-VM $VMName HOST2 -IncludeStorage -DestinationStoragePath "D:\VirtualMachine exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/my-profile.md b/docs/my-profile.md index 471b94a85..c11c80925 100644 --- a/docs/my-profile.md +++ b/docs/my-profile.md @@ -1,5 +1,5 @@ -PowerShell Script: *my-profile.ps1* -=================================== +Script: *my-profile.ps1* +======================== my-profile.ps1 @@ -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 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-branch.md b/docs/new-branch.md index 8c863f9d5..74f1dd51b 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-branch.ps1* -=================================== +Script: *new-branch.ps1* +======================== This PowerShell script creates a new branch in a local Git repository and switches to it. @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 8795d57e7..e70638029 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-dir.ps1* -=================================== +Script: *new-dir.ps1* +======================== This PowerShell script creates an empty new directory in the filesystem. @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-email.md b/docs/new-email.md index 64fe8ae90..bdfaa6743 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-email.ps1* -=================================== +Script: *new-email.ps1* +======================== This PowerShell script opens the default email client to write a new email. @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-junction.md b/docs/new-junction.md index fe56562c2..04a7d39b3 100644 --- a/docs/new-junction.md +++ b/docs/new-junction.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-junction.ps1* -=================================== +Script: *new-junction.ps1* +======================== This PowerShell script creates a new junction, linking to a target folder. The target folder can reside on another disk. @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index 2e8527075..aeebb7526 100644 --- a/docs/new-linux-vm.md +++ b/docs/new-linux-vm.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-linux-vm.ps1* -=================================== +Script: *new-linux-vm.ps1* +======================== new-linux-vm.ps1 @@ -38,4 +38,4 @@ $VMName = "linux" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-markdown-file.md b/docs/new-markdown-file.md index 5b8bddeb7..2db3e1fcb 100644 --- a/docs/new-markdown-file.md +++ b/docs/new-markdown-file.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-markdown-file.ps1* -=================================== +Script: *new-markdown-file.ps1* +======================== This PowerShell script creates a new Markdown file from template: ../data/templates/New.md. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-power-plan.md b/docs/new-power-plan.md index c8e2046c4..87e1bda36 100644 --- a/docs/new-power-plan.md +++ b/docs/new-power-plan.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-power-plan.ps1* -=================================== +Script: *new-power-plan.ps1* +======================== new-power-plan.ps1 @@ -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 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-powershell-script.md b/docs/new-powershell-script.md index d41bd65f1..ec3763a60 100644 --- a/docs/new-powershell-script.md +++ b/docs/new-powershell-script.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-powershell-script.ps1* -=================================== +Script: *new-powershell-script.ps1* +======================== This PowerShell script creates a new PowerShell script file by using the template ../data/templates/New.ps1. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 50216f3b9..57246ff61 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-qrcode.ps1* -=================================== +Script: *new-qrcode.ps1* +======================== This PowerShell script generates a new QR code image file. @@ -113,4 +113,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index 039e7c425..5de84ae2b 100644 --- a/docs/new-reboot-task.md +++ b/docs/new-reboot-task.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-reboot-task.ps1* -=================================== +Script: *new-reboot-task.ps1* +======================== new-reboot-task.ps1 @@ -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 08/07/2025 15:48:12)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index 0ed5c59ca..9e3e7ff70 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-shortcut.ps1* -=================================== +Script: *new-shortcut.ps1* +======================== This PowerShell script creates a new shortcut file. @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index 980bbf2c3..35e6d8f7d 100644 --- a/docs/new-ssh-key.md +++ b/docs/new-ssh-key.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-ssh-key.ps1* -=================================== +Script: *new-ssh-key.ps1* +======================== This PowerShell script creates a new SSH key for the user. @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index b73e3755b..2a8ba33a7 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-symlink.ps1* -=================================== +Script: *new-symlink.ps1* +======================== This PowerShell script creates a new symbolic link file, linking to a target. @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-tab.md b/docs/new-tab.md index ae4fecdf8..39b9e8d47 100644 --- a/docs/new-tab.md +++ b/docs/new-tab.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-tab.ps1* -=================================== +Script: *new-tab.ps1* +======================== This PowerShell script creates and opens a new tab in Windows Terminal. @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-tag.md b/docs/new-tag.md index 5c3f9308f..ea6d5e608 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-tag.ps1* -=================================== +Script: *new-tag.ps1* +======================== This PowerShell script creates a new tag in a Git repository. @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-text-file.md b/docs/new-text-file.md index 1147ee7d6..ef274ddd4 100644 --- a/docs/new-text-file.md +++ b/docs/new-text-file.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-text-file.ps1* -=================================== +Script: *new-text-file.ps1* +======================== This PowerShell script creates a new .txt file from: ../data/templates/New.txt. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-user.md b/docs/new-user.md index 5e0a3e88b..a93463a46 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-user.ps1* -=================================== +Script: *new-user.ps1* +======================== This PowerShell script creates a new user account with an encrypted home directory. @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index c1f6934de..7e37ea258 100644 --- a/docs/new-windows-vm.md +++ b/docs/new-windows-vm.md @@ -1,5 +1,5 @@ -PowerShell Script: *new-windows-vm.ps1* -=================================== +Script: *new-windows-vm.ps1* +======================== new-windows-vm.ps1 @@ -37,4 +37,4 @@ $VMName = "windows" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index 7fe751409..4e2f8dca5 100644 --- a/docs/on-desktop-login.md +++ b/docs/on-desktop-login.md @@ -1,5 +1,5 @@ -PowerShell Script: *on-desktop-login.ps1* -=================================== +Script: *on-desktop-login.ps1* +======================== This PowerShell script executes some 'welcome' tasks on every desktop login by the user. NOTE: for installation on Windows create and put a symbolic link to this script into the Autostart folder (usually at: C:\Users\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup). @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-URL.md b/docs/open-URL.md index 7a9909db0..ff9109582 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-URL.ps1* -=================================== +Script: *open-URL.ps1* +======================== This PowerShell script launches a new tab in the default Web browser with the given URL. @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index 0757c78b4..436248144 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-apps-folder.ps1* -=================================== +Script: *open-apps-folder.ps1* +======================== This PowerShell script launches the File Explorer showing the UWP apps folder. @@ -51,4 +51,4 @@ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index eb55a201e..66fa0cb56 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-auto-start-folder.ps1* -=================================== +Script: *open-auto-start-folder.ps1* +======================== This PowerShell script launches the File Explorer with the user's autostart folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index a6f43c1f7..82967e062 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-bing-maps.ps1* -=================================== +Script: *open-bing-maps.ps1* +======================== This PowerShell script launches the Bing Maps application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index 2707d1351..f8b76839c 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-booking-com.ps1* -=================================== +Script: *open-booking-com.ps1* +======================== This PowerShell script launches the Web browser with the Booking.com website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index ea955168d..312b89bb8 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-c-drive.ps1* -=================================== +Script: *open-c-drive.ps1* +======================== This PowerShell script launches the File Explorer with the C: drive folder. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index a51a14654..948a0e358 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-calculator.ps1* -=================================== +Script: *open-calculator.ps1* +======================== This PowerShell script launches the calculator application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index 65c9a8606..a99f741f5 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-chrome.ps1* -=================================== +Script: *open-chrome.ps1* +======================== This PowerShell script launches the Google Chrome Web browser. @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-clock.md b/docs/open-clock.md index f2b0d0975..4747d32ec 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-clock.ps1* -=================================== +Script: *open-clock.ps1* +======================== This PowerShell script launches the Clock application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index bdcbdb9f9..b250c8c9c 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-cortana.ps1* -=================================== +Script: *open-cortana.ps1* +======================== This PowerShell script launches the Cortana application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index d84789b42..4784c8caa 100644 --- a/docs/open-d-drive.md +++ b/docs/open-d-drive.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-d-drive.ps1* -=================================== +Script: *open-d-drive.ps1* +======================== This PowerShell script launches the File Explorer with the D: drive folder. @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "D:" ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 58486f2c8..9faec3bfd 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-dashboards.ps1* -=================================== +Script: *open-dashboards.ps1* +======================== This PowerShell script launches the Web browser with 24 tabs of popular dashboard websites. @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index af2b4e7bc..920fe39f9 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-deep-l-translator.ps1* -=================================== +Script: *open-deep-l-translator.ps1* +======================== This PowerShell script launches the Web browser with the DeepL Translator website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index a150ee9db..7d746b53e 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-default-browser.ps1* -=================================== +Script: *open-default-browser.ps1* +======================== This PowerShell script launches the default Web browser, optional with a given URL. @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index a3c54b598..16bc5926b 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-desktop-folder.ps1* -=================================== +Script: *open-desktop-folder.ps1* +======================== This PowerShell script launches the File Explorer with the user's desktop folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index f90844955..725cc6df2 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-documents-folder.ps1* -=================================== +Script: *open-documents-folder.ps1* +======================== This PowerShell script launches the File Explorer with the user's documents folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index 63c8d3776..f748bbce2 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-downloads-folder.ps1* -=================================== +Script: *open-downloads-folder.ps1* +======================== This PowerShell script launches the File Explorer showing the user's downloads folder. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index 24d490784..02e41d120 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-dropbox-folder.ps1* -=================================== +Script: *open-dropbox-folder.ps1* +======================== This PowerShell script launches the File Explorer with the user's Dropbox folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index c2cf0f1d0..36195b3e6 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-duck-duck-go.ps1* -=================================== +Script: *open-duck-duck-go.ps1* +======================== This PowerShell script launches the Web browser with the DuckDuckGo website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index 9777eb703..fcf7b557b 100644 --- a/docs/open-e-drive.md +++ b/docs/open-e-drive.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-e-drive.ps1* -=================================== +Script: *open-e-drive.ps1* +======================== This PowerShell script launches the File Explorer with the E: drive folder. @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "E:" ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-edge.md b/docs/open-edge.md index 4233480dc..818c4e8ad 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-edge.ps1* -=================================== +Script: *open-edge.ps1* +======================== This PowerShell script launches the Microsoft Edge Web browser. @@ -50,4 +50,4 @@ Start-Process microsoft-edge:// exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index 120f307f3..d620a4487 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-egg-timer.ps1* -=================================== +Script: *open-egg-timer.ps1* +======================== This PowerShell script launches the Web browser with the eggtimer website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index 77539e05f..34160878e 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-email-client.ps1* -=================================== +Script: *open-email-client.ps1* +======================== This PowerShell script launches the default email client. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index 8ea083dc0..6c38bf74d 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-f-drive.ps1* -=================================== +Script: *open-f-drive.ps1* +======================== This PowerShell script launches the File Explorer with the F: drive folder. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index 06f2a6527..656af0981 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-file-explorer.ps1* -=================================== +Script: *open-file-explorer.ps1* +======================== This PowerShell script launches the File Explorer. @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index 656d870e0..4a8bfe238 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-fire-place.ps1* -=================================== +Script: *open-fire-place.ps1* +======================== This PowerShell script launches the Web browser with a fire place website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index 99edd71d2..9df1cc8f5 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-firefox.ps1* -=================================== +Script: *open-firefox.ps1* +======================== This PowerShell script launches the Mozilla Firefox Web browser. @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index 0c6bf76aa..0a906567d 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-flight-radar.ps1* -=================================== +Script: *open-flight-radar.ps1* +======================== This PowerShell script launches the Web browser with the FlightRadar24 website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index cdd448200..8f12b8ba1 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-g-drive.ps1* -=================================== +Script: *open-g-drive.ps1* +======================== This PowerShell script launches the File Explorer with the G: drive folder. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index f00856088..855479dad 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-git-extensions.ps1* -=================================== +Script: *open-git-extensions.ps1* +======================== This PowerShell script launches the Git Extensions application. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index bf579fe73..89aa1dcbc 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-google-books.ps1* -=================================== +Script: *open-google-books.ps1* +======================== This PowerShell script launches the Web browser with the Google Books website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index d22f0e087..f0ba21474 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-google-calendar.ps1* -=================================== +Script: *open-google-calendar.ps1* +======================== This PowerShell script launches the Web browser with the Google Calendar website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index 56cdd6ba5..f6ed65d71 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-google-contacts.ps1* -=================================== +Script: *open-google-contacts.ps1* +======================== This PowerShell script launches the Web browser with the Google Contacts website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index 46c91cbfd..7e660b5cd 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-google-docs.ps1* -=================================== +Script: *open-google-docs.ps1* +======================== This PowerShell script launches the Web browser with the Google Docs website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 79730c90e..3a1e2c58f 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-google-earth.ps1* -=================================== +Script: *open-google-earth.ps1* +======================== This PowerShell script launches the Web browser with the Google Earth website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index 67a7fa40b..a74a96e19 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-google-mail.ps1* -=================================== +Script: *open-google-mail.ps1* +======================== This PowerShell script launches the Web browser with the Google Mail website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index 4f62127e4..675ce7462 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-google-maps.ps1* -=================================== +Script: *open-google-maps.ps1* +======================== This PowerShell script launches the Web browser with the Google Maps website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index fe967e85e..9a01b8d8f 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-google-news.ps1* -=================================== +Script: *open-google-news.ps1* +======================== This PowerShell script launches the Web browser with the Google News website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index 3fe4fe071..6d702ce17 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-google-photos.ps1* -=================================== +Script: *open-google-photos.ps1* +======================== This PowerShell script launches the Web browser with the Google Photos website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index 300486a23..38e54c97e 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-google-play.ps1* -=================================== +Script: *open-google-play.ps1* +======================== This PowerShell script launches the Web browser with the Google Play website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index 3120a9d45..a4c78c641 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-google-search.ps1* -=================================== +Script: *open-google-search.ps1* +======================== This PowerShell script launches the Web browser with the Google Search website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index 1998e0a95..0bc8568cb 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-google-stadia.ps1* -=================================== +Script: *open-google-stadia.ps1* +======================== This PowerShell script launches the Web browser with the Google Stadia website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index 220b19b36..0bc61d5ca 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-google-translate.ps1* -=================================== +Script: *open-google-translate.ps1* +======================== This PowerShell script launches the Web browser with the Google Translate website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index 683022445..69970c96f 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-home-folder.ps1* -=================================== +Script: *open-home-folder.ps1* +======================== This script launches the File Explorer with the user's home folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 14cac10d9..0e6ceae9a 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-internet-archive.ps1* -=================================== +Script: *open-internet-archive.ps1* +======================== This script launches the Web browser with the Internet Archive website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index 4cd38a587..a9c9637cf 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-jitsi-meet.ps1* -=================================== +Script: *open-jitsi-meet.ps1* +======================== This script launches the Web browser with the Jitsi Meet website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index 7007db88d..36d4421b9 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-m-drive.ps1* -=================================== +Script: *open-m-drive.ps1* +======================== This script launches the File Explorer with the M: drive folder. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index 94a100046..6dbc1ac06 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-magnifier.ps1* -=================================== +Script: *open-magnifier.ps1* +======================== This script launches the Windows Screen Magnifier application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index cce9623e2..9a4fd8eed 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-microsoft-paint.ps1* -=================================== +Script: *open-microsoft-paint.ps1* +======================== This script launches the Microsoft Paint application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index 18fb51f0b..c5bcdcf75 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-microsoft-solitaire.ps1* -=================================== +Script: *open-microsoft-solitaire.ps1* +======================== This script launches the Microsoft Solitaire application. @@ -50,4 +50,4 @@ Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index 6e0f6af45..e38f3bac1 100644 --- a/docs/open-microsoft-store.md +++ b/docs/open-microsoft-store.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-microsoft-store.ps1* -=================================== +Script: *open-microsoft-store.ps1* +======================== This script launches the Microsoft Store application. @@ -50,4 +50,4 @@ Start-Process ms-windows-store: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index 159705e45..565cf24b3 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-microsoft-teams.ps1* -=================================== +Script: *open-microsoft-teams.ps1* +======================== This script launches the Microsoft Teams application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index 85162de28..3e880ab46 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-music-folder.ps1* -=================================== +Script: *open-music-folder.ps1* +======================== This script launches the File Explorer with the user's music folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index 84bd76597..d0785b4ca 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-netflix.ps1* -=================================== +Script: *open-netflix.ps1* +======================== This script launches the Netflix application. @@ -50,4 +50,4 @@ Start-Process netflix: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index 7359e4a08..31027a3f2 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-notepad.ps1* -=================================== +Script: *open-notepad.ps1* +======================== This PowerShell script launches the Notepad application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index fe2e82013..34cad23cd 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-obs-studio.ps1* -=================================== +Script: *open-obs-studio.ps1* +======================== This script launches the OBS Studio application. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index b8e9da933..55e410453 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-office-365.ps1* -=================================== +Script: *open-office-365.ps1* +======================== This script launches the Web browser with the Microsoft Office 365 website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index 223ecf67d..14f5fd292 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-one-drive-folder.ps1* -=================================== +Script: *open-one-drive-folder.ps1* +======================== This script launches the File Explorer with the user's OneDrive folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index be2d3c7e5..71559fc2e 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-outlook.ps1* -=================================== +Script: *open-outlook.ps1* +======================== This script launches the Microsoft Outlook email application. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index 6243a7edc..31e3f966d 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-paint-three-d.ps1* -=================================== +Script: *open-paint-three-d.ps1* +======================== This script launches the Paint 3D application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index 9934e3eed..10dc2b259 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-pictures-folder.ps1* -=================================== +Script: *open-pictures-folder.ps1* +======================== This script launches the File Explorer with the user's pictures folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index fdf44ea2b..2a2b259d3 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-rdp.ps1* -=================================== +Script: *open-rdp.ps1* +======================== This script launches the Remote Desktop Protocol (RDP) application. NOTE: Documentation of mstsc at: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/mstsc @@ -67,4 +67,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index e16096e28..57977593b 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-recycle-bin-folder.ps1* -=================================== +Script: *open-recycle-bin-folder.ps1* +======================== This script launches the File Explorer with the user's recycle bin folder. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index 34a01195b..b5ee6a8cb 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-remote-desktop.ps1* -=================================== +Script: *open-remote-desktop.ps1* +======================== This script launches the Remote Desktop application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 968e1dece..eaf960037 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-repos-folder.ps1* -=================================== +Script: *open-repos-folder.ps1* +======================== This script launches the File Explorer with the user's Git repositories folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index 160d49460..f699dd436 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-screen-clip.ps1* -=================================== +Script: *open-screen-clip.ps1* +======================== This script launches the Screen Clip application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index a2d771cf8..5cf6770f1 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-screen-sketch.ps1* -=================================== +Script: *open-screen-sketch.ps1* +======================== This script launches the Screen Sketch application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-skype.md b/docs/open-skype.md index 69c451d89..e77836555 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-skype.ps1* -=================================== +Script: *open-skype.ps1* +======================== This script launches the Skype application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index 2db8d12fb..6b91a4fa8 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-snipping-tool.ps1* -=================================== +Script: *open-snipping-tool.ps1* +======================== This script launches the Snipping Tool application. @@ -50,4 +50,4 @@ Start-Process SnippingTool.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index de594bfa8..a5a0bad8d 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-speed-test.ps1* -=================================== +Script: *open-speed-test.ps1* +======================== This script launches the Web browser with Cloudflare's speed test website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index 5e92a53e8..219b6330a 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-spotify.ps1* -=================================== +Script: *open-spotify.ps1* +======================== This script launches the Spotify application. @@ -50,4 +50,4 @@ Start-Process spotify: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index 61dc574c2..8c6f62f05 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-stack-overflow.ps1* -=================================== +Script: *open-stack-overflow.ps1* +======================== This script launches the Web browser with the Stack Overflow website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 0e5cb01a7..8f5a9aba6 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-start-page.ps1* -=================================== +Script: *open-start-page.ps1* +======================== This script launches the Web browser with the Startpage website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index c27f173a0..26250a0de 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-street-map.ps1* -=================================== +Script: *open-street-map.ps1* +======================== This script launches the Web browser with the OpenStreetMap website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index 0dc9a28c7..d4ea0d254 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-task-manager.ps1* -=================================== +Script: *open-task-manager.ps1* +======================== This script launches the Windows Task Manager application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index 54d2f60bc..2b2e85a8b 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-temporary-folder.ps1* -=================================== +Script: *open-temporary-folder.ps1* +======================== This script launches the File Explorer showing the temporary folder. @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index bdbdebc29..d8be977ed 100644 --- a/docs/open-three-d-viewer.md +++ b/docs/open-three-d-viewer.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-three-d-viewer.ps1* -=================================== +Script: *open-three-d-viewer.ps1* +======================== This script launches the 3D-Viewer application. @@ -50,4 +50,4 @@ Start-Process com.microsoft.3dviewer: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index 5f05f95e1..a194ab549 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-thunderbird.ps1* -=================================== +Script: *open-thunderbird.ps1* +======================== This script launches the Mozilla Thunderbird email application. @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index 9f40840a5..4333fa83c 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-videos-folders.ps1* -=================================== +Script: *open-videos-folders.ps1* +======================== This script launches the File Explorer with the user's videos folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index e3ffa7a79..256ac7577 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-visual-studio.ps1* -=================================== +Script: *open-visual-studio.ps1* +======================== This PowerShell script launches the Microsoft Visual Studio application. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index 6d7b5ac77..5587ae78b 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-voice-recorder.ps1* -=================================== +Script: *open-voice-recorder.ps1* +======================== This PowerShell script launches the Windows Voice Recorder application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 20583babe..5b5207b42 100644 --- a/docs/open-vpn-settings.md +++ b/docs/open-vpn-settings.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-vpn-settings.ps1* -=================================== +Script: *open-vpn-settings.ps1* +======================== This PowerShell script launches the VPN settings of Windows. @@ -50,4 +50,4 @@ Start-Process ms-settings:network-vpn exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index 61ce0273a..2fd0018b4 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-windows-defender.ps1* -=================================== +Script: *open-windows-defender.ps1* +======================== This script launches the Windows Defender application. @@ -50,4 +50,4 @@ Start-Process windowsdefender: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index 6f663d995..c392ecb94 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-windows-terminal.ps1* -=================================== +Script: *open-windows-terminal.ps1* +======================== This script launches the Windows Terminal application. @@ -50,4 +50,4 @@ Start-Process wt.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-windy.md b/docs/open-windy.md index ca7f5bdfb..d59ea5935 100644 --- a/docs/open-windy.md +++ b/docs/open-windy.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-windy.ps1* -=================================== +Script: *open-windy.ps1* +======================== This script launches the Web browser with the Windy Weather Radar website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/open-xing.md b/docs/open-xing.md index f68742fca..fcdb42205 100644 --- a/docs/open-xing.md +++ b/docs/open-xing.md @@ -1,5 +1,5 @@ -PowerShell Script: *open-xing.ps1* -=================================== +Script: *open-xing.ps1* +======================== This script launches the XING application. @@ -48,4 +48,4 @@ Start-Process xing: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index 68084eba6..92f876da3 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -1,5 +1,5 @@ -PowerShell Script: *pick-commit.ps1* -=================================== +Script: *pick-commit.ps1* +======================== Cherry-picks a Git commit into one or more branches (branch names need to be separated by spaces) NOTE: in case of merge conflicts the script stops immediately! @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/ping-host.md b/docs/ping-host.md index 6721838a7..cc5e0dd68 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -1,5 +1,5 @@ -PowerShell Script: *ping-host.ps1* -=================================== +Script: *ping-host.ps1* +======================== This PowerShell script pings the given host. @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index e112e87e7..b24ebee92 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -1,5 +1,5 @@ -PowerShell Script: *ping-internet.ps1* -=================================== +Script: *ping-internet.ps1* +======================== This PowerShell script measures the ping roundtrip times from the local computer to 10 Internet servers. @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index f7a88a7ed..f4c99fe64 100644 --- a/docs/ping-local-devices.md +++ b/docs/ping-local-devices.md @@ -1,5 +1,5 @@ -PowerShell Script: *ping-local-devices.ps1* -=================================== +Script: *ping-local-devices.ps1* +======================== This PowerShell script pings devices in the local network and lists which one are up. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index 68227ae84..3dce52f7f 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -1,5 +1,5 @@ -PowerShell Script: *ping-weather.ps1* -=================================== +Script: *ping-weather.ps1* +======================== This PowerShell script continuously shows the current weather conditions (similar to htop, 10 min update interval by default). @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index f17daa850..d2d207290 100644 --- a/docs/play-bee-sound.md +++ b/docs/play-bee-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-bee-sound.ps1* -=================================== +Script: *play-bee-sound.ps1* +======================== This PowerShell script plays a bee sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index c1cd339ce..fc4395112 100644 --- a/docs/play-beep-sound.md +++ b/docs/play-beep-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-beep-sound.ps1* -=================================== +Script: *play-beep-sound.ps1* +======================== This PowerShell script plays a short beep sound at 500Hz for 300ms. @@ -51,4 +51,4 @@ Start-Sleep -milliseconds 300 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index 5a427ab3d..0c7af02eb 100644 --- a/docs/play-big-ben.md +++ b/docs/play-big-ben.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-big-ben.ps1* -=================================== +Script: *play-big-ben.ps1* +======================== This PowerShell script plays the sound of Big Ben. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index 607c48379..07b7a6e51 100644 --- a/docs/play-cat-sound.md +++ b/docs/play-cat-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-cat-sound.ps1* -=================================== +Script: *play-cat-sound.ps1* +======================== This PowerShell script plays a cat sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/play-chess.md b/docs/play-chess.md index 4b4f31a86..94b3be4db 100644 --- a/docs/play-chess.md +++ b/docs/play-chess.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-chess.ps1* -=================================== +Script: *play-chess.ps1* +======================== Started off of code from https://github.com/bhassen99/POSH-Chess, which was very much incomplete. I kept the board shape, but have changed everything else. @@ -1260,4 +1260,4 @@ while ($Script:gameStatus -eq [gamestatus]::ongoing) { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index 4093621a2..da1c263a0 100644 --- a/docs/play-cow-sound.md +++ b/docs/play-cow-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-cow-sound.ps1* -=================================== +Script: *play-cow-sound.ps1* +======================== This PowerShell script plays a cow sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index f4e1427b6..a0aff3f2f 100644 --- a/docs/play-dog-sound.md +++ b/docs/play-dog-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-dog-sound.ps1* -=================================== +Script: *play-dog-sound.ps1* +======================== This PowerShell script plays a dog sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index eed239ab8..9f9823751 100644 --- a/docs/play-donkey-sound.md +++ b/docs/play-donkey-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-donkey-sound.ps1* -=================================== +Script: *play-donkey-sound.ps1* +======================== This PowerShell script plays a donkey sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:13)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* diff --git a/docs/play-drug-wars.md b/docs/play-drug-wars.md index f3bc4ed26..5af2453c5 100644 --- a/docs/play-drug-wars.md +++ b/docs/play-drug-wars.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-drug-wars.ps1* -=================================== +Script: *play-drug-wars.ps1* +======================== play-drug-wars.ps1 [-SkipConsoleSizeCheck] @@ -5400,4 +5400,4 @@ while ($script:Playing) { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index 91c096e51..fdb677ab4 100644 --- a/docs/play-elephant-sound.md +++ b/docs/play-elephant-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-elephant-sound.ps1* -=================================== +Script: *play-elephant-sound.ps1* +======================== This PowerShell script plays an elephant sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index 8f1170391..452cbe3ab 100644 --- a/docs/play-elk-sound.md +++ b/docs/play-elk-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-elk-sound.ps1* -=================================== +Script: *play-elk-sound.ps1* +======================== This PowerShell script plays an elk sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-files.md b/docs/play-files.md index 38256bb90..e9dcd297a 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-files.ps1* -=================================== +Script: *play-files.ps1* +======================== This PowerShell script plays the given audio files (supporting .MP3 and .WAV format). @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index 56a2296f4..9de185477 100644 --- a/docs/play-frog-sound.md +++ b/docs/play-frog-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-frog-sound.ps1* -=================================== +Script: *play-frog-sound.ps1* +======================== This PowerShell script plays a frog sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index 26f9cbb85..c6188e5da 100644 --- a/docs/play-goat-sound.md +++ b/docs/play-goat-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-goat-sound.ps1* -=================================== +Script: *play-goat-sound.ps1* +======================== This PowerShell script plays a goat sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index 2502068f7..03744a31b 100644 --- a/docs/play-gorilla-sound.md +++ b/docs/play-gorilla-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-gorilla-sound.ps1* -=================================== +Script: *play-gorilla-sound.ps1* +======================== This PowerShell script plays a gorilla sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index 9f913d5ff..328cb8828 100644 --- a/docs/play-happy-birthday.md +++ b/docs/play-happy-birthday.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-happy-birthday.ps1* -=================================== +Script: *play-happy-birthday.ps1* +======================== This PowerShell script plays the famous Happy Birthday song. @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 591e3290a..f43d40cfe 100644 --- a/docs/play-horse-sound.md +++ b/docs/play-horse-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-horse-sound.ps1* -=================================== +Script: *play-horse-sound.ps1* +======================== This PowerShell script plays a horse sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index 0b2b9b384..0d890d96f 100644 --- a/docs/play-imperial-march.md +++ b/docs/play-imperial-march.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-imperial-march.ps1* -=================================== +Script: *play-imperial-march.ps1* +======================== This PowerShell script plays the Imperial March used in the Star Wars film series. @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index c8c784cd8..532446922 100644 --- a/docs/play-jingle-bells.md +++ b/docs/play-jingle-bells.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-jingle-bells.ps1* -=================================== +Script: *play-jingle-bells.ps1* +======================== This PowerShell script plays the famous Jingle Bells song. @@ -201,4 +201,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index d7071b2ba..55ee831d6 100644 --- a/docs/play-lion-sound.md +++ b/docs/play-lion-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-lion-sound.ps1* -=================================== +Script: *play-lion-sound.ps1* +======================== This PowerShell script plays a lion sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index 8770a4ae0..77d0728bb 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-m3u.ps1* -=================================== +Script: *play-m3u.ps1* +======================== This PowerShell script plays the given playlist (in .M3U file format) @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index 874659a72..b9b0927c9 100644 --- a/docs/play-mission-impossible.md +++ b/docs/play-mission-impossible.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-mission-impossible.ps1* -=================================== +Script: *play-mission-impossible.ps1* +======================== This PowerShell script plays the Mission Impossible theme. @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index 250af8d7a..575efcad2 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-mp3.ps1* -=================================== +Script: *play-mp3.ps1* +======================== This PowerShell script plays the given sound file (MPEG-1 audio layer-3 file format). @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index 984249e54..bb8b9e006 100644 --- a/docs/play-parrot-sound.md +++ b/docs/play-parrot-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-parrot-sound.ps1* -=================================== +Script: *play-parrot-sound.ps1* +======================== This PowerShell script plays a parrot sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index 1be20dffb..1f1829595 100644 --- a/docs/play-pig-sound.md +++ b/docs/play-pig-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-pig-sound.ps1* -=================================== +Script: *play-pig-sound.ps1* +======================== This PowerShell script plays a pig sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-pong.md b/docs/play-pong.md index 572d28ee8..a01080ca0 100644 --- a/docs/play-pong.md +++ b/docs/play-pong.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-pong.ps1* -=================================== +Script: *play-pong.ps1* +======================== play-pong.ps1 @@ -176,4 +176,4 @@ while ($true) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index 19a013e9b..13fc2d519 100644 --- a/docs/play-rattlesnake-sound.md +++ b/docs/play-rattlesnake-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-rattlesnake-sound.ps1* -=================================== +Script: *play-rattlesnake-sound.ps1* +======================== This PowerShell script plays a rattlesnake sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 1187aa429..e058aef48 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-rick.ps1* -=================================== +Script: *play-rick.ps1* +======================== This PowerShell script launches the Web browser with YouTube playing Rick Astley. @@ -49,4 +49,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-snake.md b/docs/play-snake.md index 447c75abe..2b4d80a31 100644 --- a/docs/play-snake.md +++ b/docs/play-snake.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-snake.ps1* -=================================== +Script: *play-snake.ps1* +======================== This PowerShell script lets you play the famous Snake game. NOTE: use the arrow keys to control the snake @@ -86,4 +86,4 @@ Start-Sleep -milliseconds 300 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index 0a8ba2941..dfe8ca753 100644 --- a/docs/play-super-mario.md +++ b/docs/play-super-mario.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-super-mario.ps1* -=================================== +Script: *play-super-mario.ps1* +======================== This PowerShell script plays the Super Mario intro. @@ -71,4 +71,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index 8ec2edb4c..f8c49ae14 100644 --- a/docs/play-system-sounds.md +++ b/docs/play-system-sounds.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-system-sounds.ps1* -=================================== +Script: *play-system-sounds.ps1* +======================== play-system-sounds.ps1 @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index 875b77f95..09f84f79c 100644 --- a/docs/play-tetris-melody.md +++ b/docs/play-tetris-melody.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-tetris-melody.ps1* -=================================== +Script: *play-tetris-melody.ps1* +======================== This PowerShell script plays the Tetris melody. @@ -161,4 +161,4 @@ Start-Sleep -milliseconds 500 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index 16cc35be7..583788195 100644 --- a/docs/play-vulture-sound.md +++ b/docs/play-vulture-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-vulture-sound.ps1* -=================================== +Script: *play-vulture-sound.ps1* +======================== This PowerShell script plays a vulture sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index 45f99b052..67bba2313 100644 --- a/docs/play-wolf-sound.md +++ b/docs/play-wolf-sound.md @@ -1,5 +1,5 @@ -PowerShell Script: *play-wolf-sound.ps1* -=================================== +Script: *play-wolf-sound.ps1* +======================== This PowerShell script plays a wolf sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/poweroff.md b/docs/poweroff.md index bacbc5255..ba3444e9a 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -1,5 +1,5 @@ -PowerShell Script: *poweroff.ps1* -=================================== +Script: *poweroff.ps1* +======================== This script halts the local computer immediately (needs admin rights). @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/print-image.md b/docs/print-image.md index 08304e5e8..6c393adb8 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -1,5 +1,5 @@ -PowerShell Script: *print-image.ps1* -=================================== +Script: *print-image.ps1* +======================== This PowerShell script shows the printer dialogue to print the given image file. @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index d72683144..2afcfb4b2 100644 --- a/docs/publish-to-ipfs.md +++ b/docs/publish-to-ipfs.md @@ -1,5 +1,5 @@ -PowerShell Script: *publish-to-ipfs.ps1* -=================================== +Script: *publish-to-ipfs.ps1* +======================== This script publishes the given files and folders to IPFS. @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index 0dd330988..75cfe708b 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -1,5 +1,5 @@ -PowerShell Script: *pull-repo.ps1* -=================================== +Script: *pull-repo.ps1* +======================== This PowerShell script pulls remote updates into a local Git repository (including submodules). @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index 354147e8d..99831a95b 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -1,5 +1,5 @@ -PowerShell Script: *pull-repos.ps1* -=================================== +Script: *pull-repos.ps1* +======================== This PowerShell script pulls updates into all Git repositories in a folder (including submodules). @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index c9e8ee840..2062a11de 100644 --- a/docs/query-smart-data.md +++ b/docs/query-smart-data.md @@ -1,5 +1,5 @@ -PowerShell Script: *query-smart-data.ps1* -=================================== +Script: *query-smart-data.ps1* +======================== Queries the S.M.A.R.T. data of your HDD/SSD's and saves it to the current/given directory. (use smart-data2csv.ps1 to generate a CSV table for analysis). @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index 2a396fa6f..53b78d34c 100644 --- a/docs/reboot-fritzbox.md +++ b/docs/reboot-fritzbox.md @@ -1,5 +1,5 @@ -PowerShell Script: *reboot-fritzbox.ps1* -=================================== +Script: *reboot-fritzbox.ps1* +======================== This PowerShell script reboots the FRITZ!Box device @@ -154,4 +154,4 @@ echo $Result exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/reboot-into-bios.md b/docs/reboot-into-bios.md index 313f7f4e9..6c819881d 100644 --- a/docs/reboot-into-bios.md +++ b/docs/reboot-into-bios.md @@ -1,5 +1,5 @@ -PowerShell Script: *reboot-into-bios.ps1* -=================================== +Script: *reboot-into-bios.ps1* +======================== reboot-into-bios.ps1 @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/reboot.md b/docs/reboot.md index d835c84bd..4f1552574 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -1,5 +1,5 @@ -PowerShell Script: *reboot.ps1* -=================================== +Script: *reboot.ps1* +======================== This PowerShell script reboots the local computer immediately (needs admin rights). @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/remember.md b/docs/remember.md index 681650714..9e6316130 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -1,5 +1,5 @@ -PowerShell Script: *remember.ps1* -=================================== +Script: *remember.ps1* +======================== This PowerShell script saves the given text to 'Remember.csv' in your home folder. @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/remind-me.md b/docs/remind-me.md index 8eb447903..f033c7dbe 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -1,5 +1,5 @@ -PowerShell Script: *remind-me.ps1* -=================================== +Script: *remind-me.ps1* +======================== This PowerShell script creates a scheduled task that will display a popup message. @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/remove-dir.md b/docs/remove-dir.md index 12fcfa6a8..5253d55f4 100644 --- a/docs/remove-dir.md +++ b/docs/remove-dir.md @@ -1,5 +1,5 @@ -PowerShell Script: *remove-dir.ps1* -=================================== +Script: *remove-dir.ps1* +======================== This PowerShell script removes the given directory tree recursively. NOTE: Use with care! This cannot be undone! @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index e0d1be127..e43bd7eb7 100644 --- a/docs/remove-empty-dirs.md +++ b/docs/remove-empty-dirs.md @@ -1,5 +1,5 @@ -PowerShell Script: *remove-empty-dirs.ps1* -=================================== +Script: *remove-empty-dirs.ps1* +======================== This PowerShell script removes all empty subfolders within a directory tree. @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index 629cdc379..ce656379f 100644 --- a/docs/remove-old-dirs.md +++ b/docs/remove-old-dirs.md @@ -1,5 +1,5 @@ -PowerShell Script: *remove-old-dirs.ps1* -=================================== +Script: *remove-old-dirs.ps1* +======================== This PowerShell script removes any subfolder in a parent folder older than (using last write time). @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 8e8b02d6d..7020e6323 100644 --- a/docs/remove-print-jobs.md +++ b/docs/remove-print-jobs.md @@ -1,5 +1,5 @@ -PowerShell Script: *remove-print-jobs.ps1* -=================================== +Script: *remove-print-jobs.ps1* +======================== This PowerShell script removes all print jobs from all printer devices. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index 8ab4248fa..f3f570946 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -1,5 +1,5 @@ -PowerShell Script: *remove-tag.ps1* -=================================== +Script: *remove-tag.ps1* +======================== This PowerShell script removes a Git tag, either locally, remote, or both. @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/remove-user.md b/docs/remove-user.md index e6468c51a..26dcbd02b 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -1,5 +1,5 @@ -PowerShell Script: *remove-user.ps1* -=================================== +Script: *remove-user.ps1* +======================== This PowerShell script removes an existing user account including the home directory. @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index 86b8db34f..595dfed64 100644 --- a/docs/remove-vm.md +++ b/docs/remove-vm.md @@ -1,5 +1,5 @@ -PowerShell Script: *remove-vm.ps1* -=================================== +Script: *remove-vm.ps1* +======================== remove-vm.ps1 @@ -25,4 +25,4 @@ Remove-Item -Path "C:\VirtualMachines\$VMName" -Recurse exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index 1de62886d..59900e80c 100644 --- a/docs/replace-in-files.md +++ b/docs/replace-in-files.md @@ -1,5 +1,5 @@ -PowerShell Script: *replace-in-files.ps1* -=================================== +Script: *replace-in-files.ps1* +======================== This PowerShell script searches and replaces a pattern in the given files by the replacement. @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index 20adf3b45..e375c7532 100644 --- a/docs/restart-network-adapters.md +++ b/docs/restart-network-adapters.md @@ -1,5 +1,5 @@ -PowerShell Script: *restart-network-adapters.ps1* -=================================== +Script: *restart-network-adapters.ps1* +======================== This PowerShell script restarts all local network adapters (needs admin rights). @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index 42a40672b..4c15c98c4 100644 --- a/docs/roll-a-dice.md +++ b/docs/roll-a-dice.md @@ -1,5 +1,5 @@ -PowerShell Script: *roll-a-dice.ps1* -=================================== +Script: *roll-a-dice.ps1* +======================== This PowerShell script rolls a dice and returns the number by text-to-speech (TTS). @@ -51,4 +51,4 @@ $Number = "1", "2", "3", "4", "5", "6" | Get-Random exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index 4e8071a40..1b6d15a0f 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -1,5 +1,5 @@ -PowerShell Script: *save-credentials.ps1* -=================================== +Script: *save-credentials.ps1* +======================== This PowerShell script asks for credentials and saves them encrypted into a target file. @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 4e848f67a..bae3d798a 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -1,5 +1,5 @@ -PowerShell Script: *save-screenshot.ps1* -=================================== +Script: *save-screenshot.ps1* +======================== This PowerShell script takes a single screenshot and saves it into a target folder (default is the user's screenshots folder). @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index 20102270b..d4f00296f 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -1,5 +1,5 @@ -PowerShell Script: *scan-folder.ps1* -=================================== +Script: *scan-folder.ps1* +======================== This PowerShell script scans a folder for malware (including subfolders). Requires ESET Endpoint Security or Windows Defender. @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/scan-network.md b/docs/scan-network.md index 5baf099fb..42695ed6f 100644 --- a/docs/scan-network.md +++ b/docs/scan-network.md @@ -1,5 +1,5 @@ -PowerShell Script: *scan-network.ps1* -=================================== +Script: *scan-network.ps1* +======================== scan-network.ps1 @@ -32,4 +32,4 @@ $arguments = $arguments + " " + $targets Start-Process $location -ArgumentList $arguments -Wait ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index cb083fea2..ee47adcd3 100644 --- a/docs/scan-ports.md +++ b/docs/scan-ports.md @@ -1,5 +1,5 @@ -PowerShell Script: *scan-ports.ps1* -=================================== +Script: *scan-ports.ps1* +======================== This PowerShell script scans the network for open or closed ports. @@ -65,4 +65,4 @@ foreach($add in $range) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/search-filename.md b/docs/search-filename.md index 22a313c1f..36437529c 100644 --- a/docs/search-filename.md +++ b/docs/search-filename.md @@ -1,5 +1,5 @@ -PowerShell Script: *search-filename.ps1* -=================================== +Script: *search-filename.ps1* +======================== This PowerShell script serves as a quick Powershell replacement to the search functionality in Windows After you pass in a root folder and a search term, the script will list all files and folders matching that phrase. @@ -98,4 +98,4 @@ Search-Folder -FilePath $path -SearchTerm $term exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/search-files.md b/docs/search-files.md index 86819677b..27ec9ecd9 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -1,5 +1,5 @@ -PowerShell Script: *search-files.ps1* -=================================== +Script: *search-files.ps1* +======================== This PowerShell script searches for the given text pattern in the given files. @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/search-repo.md b/docs/search-repo.md index a6896a7ac..0bccbc888 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -1,5 +1,5 @@ -PowerShell Script: *search-repo.ps1* -=================================== +Script: *search-repo.ps1* +======================== This PowerShell script searches for the given text pattern in a Git repository. @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/send-email.md b/docs/send-email.md index a41d3c55f..2468606f8 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -1,5 +1,5 @@ -PowerShell Script: *send-email.ps1* -=================================== +Script: *send-email.ps1* +======================== This PowerShell script sends an email message. @@ -126,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index 92b22f358..af2d3fa47 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -1,5 +1,5 @@ -PowerShell Script: *send-tcp.ps1* -=================================== +Script: *send-tcp.ps1* +======================== This PowerShell script sends a TCP message to the given IP address and port. @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/send-udp.md b/docs/send-udp.md index 706820223..449f9cadd 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -1,5 +1,5 @@ -PowerShell Script: *send-udp.ps1* -=================================== +Script: *send-udp.ps1* +======================== This PowerShell script sends a UDP datagram message to an IP address and port. @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/set-timer.md b/docs/set-timer.md index 12dbca9fb..a370bf0cf 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -1,5 +1,5 @@ -PowerShell Script: *set-timer.ps1* -=================================== +Script: *set-timer.ps1* +======================== This PowerShell script sets a timer for a countdown. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/set-volume.md b/docs/set-volume.md index e0c5875fd..4bc368d07 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -1,5 +1,5 @@ -PowerShell Script: *set-volume.ps1* -=================================== +Script: *set-volume.ps1* +======================== This PowerShell script sets the audio volume to the given value in percent (0..100). @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index 498bd6702..41ba5ed76 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -1,5 +1,5 @@ -PowerShell Script: *set-wallpaper.ps1* -=================================== +Script: *set-wallpaper.ps1* +======================== This PowerShell script sets the given image file as desktop wallpaper (.JPG or .PNG supported) @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index ce28bc4c4..a8bcb2d91 100644 --- a/docs/show-lightnings.md +++ b/docs/show-lightnings.md @@ -1,5 +1,5 @@ -PowerShell Script: *show-lightnings.ps1* -=================================== +Script: *show-lightnings.ps1* +======================== This PowerShell script launches the Web browser and shows lightnings in OpenStreetMap. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index 1ee6fcb1a..364461f03 100644 --- a/docs/show-notification-motivation-quote.md +++ b/docs/show-notification-motivation-quote.md @@ -1,5 +1,5 @@ -PowerShell Script: *show-notification-motivation-quote.ps1* -=================================== +Script: *show-notification-motivation-quote.ps1* +======================== show-notification-motivation-quote.ps1 @@ -69,4 +69,4 @@ $AppId = '{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\WindowsPowerShell\v1.0\powershe ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/show-notification.md b/docs/show-notification.md index e3a1f5d71..2400ec9c2 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -1,5 +1,5 @@ -PowerShell Script: *show-notification.ps1* -=================================== +Script: *show-notification.ps1* +======================== This PowerShell script shows a toast-message notification for the Windows Notification Center. @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index 9477ddc3b..3f04163fa 100644 --- a/docs/show-traffic.md +++ b/docs/show-traffic.md @@ -1,5 +1,5 @@ -PowerShell Script: *show-traffic.ps1* -=================================== +Script: *show-traffic.ps1* +======================== This PowerShell script launches the Web browser with MSN showing the current traffic. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index 587a60d6d..f53790606 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -1,5 +1,5 @@ -PowerShell Script: *simulate-presence.ps1* -=================================== +Script: *simulate-presence.ps1* +======================== This PowerShell script simulates the human presence against burglars. It switches a Shelly1 device on and off. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index 7100aa094..7770418b3 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -1,5 +1,5 @@ -PowerShell Script: *smart-data2csv.ps1* -=================================== +Script: *smart-data2csv.ps1* +======================== This PowerShell script converts the S.M.A.R.T. JSON files in the current/given directory to a CSV table for analysis (use query-smart-data.ps1 to generate those JSON files). @@ -142,4 +142,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 14fab7e59..ce6732996 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-arabic.ps1* -=================================== +Script: *speak-arabic.ps1* +======================== This PowerShell script speaks the given text with an Arabic text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index b7233a9cb..5c4d068df 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-checklist.ps1* -=================================== +Script: *speak-checklist.ps1* +======================== This PowerShell script speaks the given Markdown checklist by text-to-speech (TTS). @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index 1e407967b..2b26d9d2e 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-countdown.ps1* -=================================== +Script: *speak-countdown.ps1* +======================== This PowerShell script speaks a countdown by text-to-speech (TTS) starting from a given number. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index 6a7e37c2a..4745b2192 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-croatian.ps1* -=================================== +Script: *speak-croatian.ps1* +======================== This PowerShell script speaks the given text with a Croatian text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index 5022ef81a..fd564a204 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-danish.ps1* -=================================== +Script: *speak-danish.ps1* +======================== This PowerShell script speaks the given text with a Danish text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index e54ab7ad5..cdca918c5 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-dutch.ps1* -=================================== +Script: *speak-dutch.ps1* +======================== This PowerShell script speaks the given text with a Dutch text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-english.md b/docs/speak-english.md index 566d52afe..565a99494 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-english.ps1* -=================================== +Script: *speak-english.ps1* +======================== This PowerShell script speaks the given text with an English text-to-speech (TTS) voice. @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index 402dcaeb4..d1886444d 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-epub.ps1* -=================================== +Script: *speak-epub.ps1* +======================== This PowerShell script speaks the content of the given Epub file by text-to-speech (TTS). @@ -142,4 +142,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index 2b80abf49..31c3f2278 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-esperanto.ps1* -=================================== +Script: *speak-esperanto.ps1* +======================== This PowerShell script speaks the given text with an Esperanto text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-file.md b/docs/speak-file.md index 19b7a7f90..a6e741904 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-file.ps1* -=================================== +Script: *speak-file.ps1* +======================== This PowerShell script speaks the content of the given text file by text-to-speech (TTS). @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index a3bca37d9..5c8aa1881 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-finnish.ps1* -=================================== +Script: *speak-finnish.ps1* +======================== This PowerShell script speaks the given text with a Finnish text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-french.md b/docs/speak-french.md index 76287cc25..8f742d521 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-french.ps1* -=================================== +Script: *speak-french.ps1* +======================== This PowerShell script speaks the given text with a French text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-german.md b/docs/speak-german.md index 51f8fd46a..51f2e0d0f 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-german.ps1* -=================================== +Script: *speak-german.ps1* +======================== This PowerShell script speaks the given text with a German text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index fd14cc277..cd895d377 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-greek.ps1* -=================================== +Script: *speak-greek.ps1* +======================== This PowerShell script speaks the given text with a Greek text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index fdc4dc078..c335ecf43 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-hebrew.ps1* -=================================== +Script: *speak-hebrew.ps1* +======================== This PowerShell script speaks the given text with a Hebrew text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index cde84833a..740bc3fec 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-hindi.ps1* -=================================== +Script: *speak-hindi.ps1* +======================== This PowerShell script speaks the given text with a Hindi text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index c6c8bbcfd..fec6c03c0 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-italian.ps1* -=================================== +Script: *speak-italian.ps1* +======================== This PowerShell script speaks the given text with an Italian text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index 1f6e1da82..20e8e5c18 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-japanese.ps1* -=================================== +Script: *speak-japanese.ps1* +======================== This PowerShell script speaks the given text with a Japanese text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index b5076a70e..fcc227f1d 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-korean.ps1* -=================================== +Script: *speak-korean.ps1* +======================== This PowerShell script speaks the given text with a Korean text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index d20802af8..cfc1d7ec2 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-latin.ps1* -=================================== +Script: *speak-latin.ps1* +======================== This PowerShell script speaks the given text with a Latin text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index 0c50d33fc..d8fb65579 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-mandarin.ps1* -=================================== +Script: *speak-mandarin.ps1* +======================== This PowerShell script speaks the given text with a Mandarin text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 615df2a6f..5c25559e0 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-norwegian.ps1* -=================================== +Script: *speak-norwegian.ps1* +======================== This PowerShell script speaks the given text with a Norwegian text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index f8b399330..30d7119c2 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-polish.ps1* -=================================== +Script: *speak-polish.ps1* +======================== This PowerShell script speaks the given text with a Polish text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index 334ea5f96..68fab3d50 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-portuguese.ps1* -=================================== +Script: *speak-portuguese.ps1* +======================== This PowerShell script speaks the given text with a Portuguese text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index 4c9304336..27a5de20a 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-russian.ps1* -=================================== +Script: *speak-russian.ps1* +======================== This PowerShell script speaks the text with a Russian text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index 6f8cce765..a0aafaa7e 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-spanish.ps1* -=================================== +Script: *speak-spanish.ps1* +======================== This PowerShell script speaks the given text with a Spanish text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index 271c6c2e5..c08c006ce 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-swedish.ps1* -=================================== +Script: *speak-swedish.ps1* +======================== This PowerShell script speaks the given text with a Swedish text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-test.md b/docs/speak-test.md index 367fe0c4e..8fc5c8c67 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-test.ps1* -=================================== +Script: *speak-test.ps1* +======================== This PowerShell script performs a text-to-speech (TTS) test. @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:14)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-text.md b/docs/speak-text.md index 5f5dbef4a..3d89afa0f 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-text.ps1* -=================================== +Script: *speak-text.ps1* +======================== This PowerShell script speaks the given text by the default text-to-speech (TTS) voice. @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index 269a96f63..53437e3d8 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-thai.ps1* -=================================== +Script: *speak-thai.ps1* +======================== This PowerShell script speaks the given text with a Thai text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index 2550074b4..b76533a3e 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-turkish.ps1* -=================================== +Script: *speak-turkish.ps1* +======================== This PowerShell script speaks the given text with a Turkish text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index 8a6adf40b..6959b74f4 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -1,5 +1,5 @@ -PowerShell Script: *speak-ukrainian.ps1* -=================================== +Script: *speak-ukrainian.ps1* +======================== This PowerShell script speaks the given text with a Ukrainian text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/spell-word.md b/docs/spell-word.md index 67ae01abf..fa3948e8c 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -1,5 +1,5 @@ -PowerShell Script: *spell-word.ps1* -=================================== +Script: *spell-word.ps1* +======================== This PowerShell script spells the given word by text-to-speech (TTS). @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index 31f5131f3..2bd94041f 100644 --- a/docs/start-ipfs-server.md +++ b/docs/start-ipfs-server.md @@ -1,5 +1,5 @@ -PowerShell Script: *start-ipfs-server.ps1* -=================================== +Script: *start-ipfs-server.ps1* +======================== This PowerShell script starts a local IPFS server as a daemon process. @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/suspend.md b/docs/suspend.md index 90e403ac6..97689d24b 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -1,5 +1,5 @@ -PowerShell Script: *suspend.ps1* -=================================== +Script: *suspend.ps1* +======================== This PowerShell script suspends the local computer immediately. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index ca347c556..7c4e151c8 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -1,5 +1,5 @@ -PowerShell Script: *switch-branch.ps1* -=================================== +Script: *switch-branch.ps1* +======================== This PowerShell script switches to the given branch in a Git repository and also updates the submodules. @@ -128,4 +128,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index 515fbdc59..717a551d8 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -1,5 +1,5 @@ -PowerShell Script: *switch-shelly1.ps1* -=================================== +Script: *switch-shelly1.ps1* +======================== This PowerShell script switches a Shelly1 device in the local network. @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index f1a1c3e23..1832da96b 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -1,5 +1,5 @@ -PowerShell Script: *switch-tabs.ps1* -=================================== +Script: *switch-tabs.ps1* +======================== This PowerShell script switches automatically from tab to tab every seconds (by pressing Ctrl + PageDown). @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/sync-dir.md b/docs/sync-dir.md index dfe25d59b..c3dd878db 100644 --- a/docs/sync-dir.md +++ b/docs/sync-dir.md @@ -1,5 +1,5 @@ -PowerShell Script: *sync-dir.ps1* -=================================== +Script: *sync-dir.ps1* +======================== This PowerShell script synchronizes (mirrors) the content of 2 directory trees by using Robocopy. Typical use cases are backups: at first everything is copied (full backup), afterward only changes are copied (incremental backup). @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index 921ace28b..bf2b809ef 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -1,5 +1,5 @@ -PowerShell Script: *sync-repo.ps1* -=================================== +Script: *sync-repo.ps1* +======================== This PowerShell script synchronizes a local Git repository by pull and push (including submodules). @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index 724472967..8fd2fd307 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -1,5 +1,5 @@ -PowerShell Script: *tell-joke.ps1* -=================================== +Script: *tell-joke.ps1* +======================== This PowerShell script selects a random Chuck Norris joke in Data/jokes.csv and speaks it by text-to-speech (TTS). @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index 4473e60a5..3d91dde19 100644 --- a/docs/tell-new-year.md +++ b/docs/tell-new-year.md @@ -1,5 +1,5 @@ -PowerShell Script: *tell-new-year.ps1* -=================================== +Script: *tell-new-year.ps1* +======================== This PowerShell script calculates the time until New Year and replies by text-to-speech (TTS). @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index db83ea9a8..14c93ae75 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -1,5 +1,5 @@ -PowerShell Script: *tell-quote.ps1* -=================================== +Script: *tell-quote.ps1* +======================== This PowerShell script selects a random quote from Data/quotes.csv and speaks it by text-to-speech (TTS). @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index 5d01f9735..0cec0c5b6 100644 --- a/docs/toggle-caps-lock.md +++ b/docs/toggle-caps-lock.md @@ -1,5 +1,5 @@ -PowerShell Script: *toggle-caps-lock.ps1* -=================================== +Script: *toggle-caps-lock.ps1* +======================== This PowerShell script toggles the Caps Lock key state. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index dd148fea6..f7571647c 100644 --- a/docs/toggle-num-lock.md +++ b/docs/toggle-num-lock.md @@ -1,5 +1,5 @@ -PowerShell Script: *toggle-num-lock.ps1* -=================================== +Script: *toggle-num-lock.ps1* +======================== This PowerShell script toggles the Num Lock key state. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index 9a89dec37..0a586a546 100644 --- a/docs/toggle-scroll-lock.md +++ b/docs/toggle-scroll-lock.md @@ -1,5 +1,5 @@ -PowerShell Script: *toggle-scroll-lock.ps1* -=================================== +Script: *toggle-scroll-lock.ps1* +======================== This PowerShell script toggles the Scroll Lock key state. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/touch.md b/docs/touch.md index de332addc..338db562f 100644 --- a/docs/touch.md +++ b/docs/touch.md @@ -1,5 +1,5 @@ -PowerShell Script: *touch.ps1* -=================================== +Script: *touch.ps1* +======================== This PowerShell script creates a new empty file. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/translate-file.md b/docs/translate-file.md index 0fa08f49c..205003292 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -1,5 +1,5 @@ -PowerShell Script: *translate-file.ps1* -=================================== +Script: *translate-file.ps1* +======================== This PowerShell script translates the given text file into another language and writes the output on the console. @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* diff --git a/docs/translate-files.md b/docs/translate-files.md index 153aa991c..884f2d179 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -1,5 +1,5 @@ -PowerShell Script: *translate-files.ps1* -=================================== +Script: *translate-files.ps1* +======================== This PowerShell script translates text files into multiple languages. @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/translate-text.md b/docs/translate-text.md index c23628829..eb22a4fba 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -1,5 +1,5 @@ -PowerShell Script: *translate-text.ps1* -=================================== +Script: *translate-text.ps1* +======================== This PowerShell script translates text into other languages. @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index a4f44f50d..997f9e1e5 100644 --- a/docs/turn-volume-down.md +++ b/docs/turn-volume-down.md @@ -1,5 +1,5 @@ -PowerShell Script: *turn-volume-down.ps1* -=================================== +Script: *turn-volume-down.ps1* +======================== This PowerShell script turns the audio volume down (-10% by default). @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index f7d07fa06..ed9f8a852 100644 --- a/docs/turn-volume-fully-up.md +++ b/docs/turn-volume-fully-up.md @@ -1,5 +1,5 @@ -PowerShell Script: *turn-volume-fully-up.ps1* -=================================== +Script: *turn-volume-fully-up.ps1* +======================== This PowerShell script turns the audio volume fully up to 100%. @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index 4a0825270..49050ab7c 100644 --- a/docs/turn-volume-off.md +++ b/docs/turn-volume-off.md @@ -1,5 +1,5 @@ -PowerShell Script: *turn-volume-off.ps1* -=================================== +Script: *turn-volume-off.ps1* +======================== This PowerShell script mutes the default audio device immediately. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index 75379e52e..4c675349d 100644 --- a/docs/turn-volume-on.md +++ b/docs/turn-volume-on.md @@ -1,5 +1,5 @@ -PowerShell Script: *turn-volume-on.ps1* -=================================== +Script: *turn-volume-on.ps1* +======================== This PowerShell script immediately unmutes the audio output. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index f1a2cb8d6..ec1d7fae8 100644 --- a/docs/turn-volume-up.md +++ b/docs/turn-volume-up.md @@ -1,5 +1,5 @@ -PowerShell Script: *turn-volume-up.ps1* -=================================== +Script: *turn-volume-up.ps1* +======================== This PowerShell script turns the audio volume up (+10% by default). @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index 97e3eeebd..d37598acb 100644 --- a/docs/uninstall-all-apps.md +++ b/docs/uninstall-all-apps.md @@ -1,5 +1,5 @@ -PowerShell Script: *uninstall-all-apps.ps1* -=================================== +Script: *uninstall-all-apps.ps1* +======================== This PowerShell script uninstalls all applications from the local computer. Useful for de-bloating Windows to clean up a PC quickly for an industrial use case without any security risks. @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index 38e740391..7cc36899d 100644 --- a/docs/uninstall-bloatware.md +++ b/docs/uninstall-bloatware.md @@ -1,5 +1,5 @@ -PowerShell Script: *uninstall-bloatware.ps1* -=================================== +Script: *uninstall-bloatware.ps1* +======================== This PowerShell script uninstalls unnecessary software and applications. @@ -98,4 +98,4 @@ winget uninstall 'Prime Video for Windows' exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/uninstall-new-outlook.md b/docs/uninstall-new-outlook.md index 91636bf5d..bc86c9889 100644 --- a/docs/uninstall-new-outlook.md +++ b/docs/uninstall-new-outlook.md @@ -1,5 +1,5 @@ -PowerShell Script: *uninstall-new-outlook.ps1* -=================================== +Script: *uninstall-new-outlook.ps1* +======================== This PowerShell script uninstalls the new Outlook for Windows application. @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/uninstall-outlook.md b/docs/uninstall-outlook.md index 6e390f678..fb4098b50 100644 --- a/docs/uninstall-outlook.md +++ b/docs/uninstall-outlook.md @@ -1,5 +1,5 @@ -PowerShell Script: *uninstall-outlook.ps1* -=================================== +Script: *uninstall-outlook.ps1* +======================== This PowerShell script uninstalls Outlook for Windows. @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index 26df4d8d2..686c1d149 100644 --- a/docs/update-powershell-profile.md +++ b/docs/update-powershell-profile.md @@ -1,5 +1,5 @@ -PowerShell Script: *update-powershell-profile.ps1* -=================================== +Script: *update-powershell-profile.ps1* +======================== This PowerShell script write/overwrites the PowerShell profile of the current user. @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index 6954ff788..11cf34964 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -1,5 +1,5 @@ -PowerShell Script: *upgrade-ubuntu.ps1* -=================================== +Script: *upgrade-ubuntu.ps1* +======================== This PowerShell script upgrades Ubuntu Linux to the latest (LTS) release. @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/upload-file.md b/docs/upload-file.md index f54529365..22f9fb413 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -1,5 +1,5 @@ -PowerShell Script: *upload-file.ps1* -=================================== +Script: *upload-file.ps1* +======================== This PowerShell script uploads a local file to a FTP server. @@ -149,4 +149,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index 2ae0a7e06..d2ed81762 100644 --- a/docs/upload-to-dropbox.md +++ b/docs/upload-to-dropbox.md @@ -1,5 +1,5 @@ -PowerShell Script: *upload-to-dropbox.ps1* -=================================== +Script: *upload-to-dropbox.ps1* +======================== This PowerShell script uploads a local file to Dropbox. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index 823692718..e2eb72f68 100644 --- a/docs/wake-up-host.md +++ b/docs/wake-up-host.md @@ -1,5 +1,5 @@ -PowerShell Script: *wake-up-host.ps1* -=================================== +Script: *wake-up-host.ps1* +======================== This PowerShell script sends a magic UDP packet to a computer to wake him up (requires the target computer to have Wake-on-LAN activated). @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/wake-up-human.md b/docs/wake-up-human.md index f883a0815..a5d1d5a14 100644 --- a/docs/wake-up-human.md +++ b/docs/wake-up-human.md @@ -1,5 +1,5 @@ -PowerShell Script: *wake-up-human.ps1* -=================================== +Script: *wake-up-human.ps1* +======================== This PowerShell script plays the sound of Big Ben to wake a human up. @@ -52,4 +52,4 @@ do { ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index d4f95eda2..811eb4cf8 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -1,5 +1,5 @@ -PowerShell Script: *watch-commits.ps1* -=================================== +Script: *watch-commits.ps1* +======================== This PowerShell script continuously lists the latest commits in a Git repository in real-time. @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/watch-crypto-rates.md b/docs/watch-crypto-rates.md index 49299ff95..170933e61 100644 --- a/docs/watch-crypto-rates.md +++ b/docs/watch-crypto-rates.md @@ -1,5 +1,5 @@ -PowerShell Script: *watch-crypto-rates.ps1* -=================================== +Script: *watch-crypto-rates.ps1* +======================== watch-crypto-rates.ps1 @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/watch-file.md b/docs/watch-file.md index d462e3fb5..724a114d1 100644 --- a/docs/watch-file.md +++ b/docs/watch-file.md @@ -1,5 +1,5 @@ -PowerShell Script: *watch-file.ps1* -=================================== +Script: *watch-file.ps1* +======================== watch-file.ps1 @@ -64,4 +64,4 @@ function Watch-File { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/watch-host.md b/docs/watch-host.md index e88dc6f1f..b17835e19 100644 --- a/docs/watch-host.md +++ b/docs/watch-host.md @@ -1,5 +1,5 @@ -PowerShell Script: *watch-host.ps1* -=================================== +Script: *watch-host.ps1* +======================== watch-host.ps1 @@ -147,4 +147,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/watch-news.md b/docs/watch-news.md index dd32f9e30..1ab471289 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -1,5 +1,5 @@ -PowerShell Script: *watch-news.ps1* -=================================== +Script: *watch-news.ps1* +======================== This PowerShell script continuously lists the latest headlines by using a RSS (Really Simple Syndication) feed. @@ -123,4 +123,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index 9a4ce2d12..0384819dc 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -1,5 +1,5 @@ -PowerShell Script: *watch-ping.ps1* -=================================== +Script: *watch-ping.ps1* +======================== This PowerShell script pings the given host continously and shows the roundtrip times in a horizontal chart. @@ -137,4 +137,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/weather-report.md b/docs/weather-report.md index a1cfd0e3e..690d56b73 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -1,5 +1,5 @@ -PowerShell Script: *weather-report.ps1* -=================================== +Script: *weather-report.ps1* +======================== This PowerShell script lists the local weather report. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/weather.md b/docs/weather.md index b3cdc3ea1..a475352e5 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -1,5 +1,5 @@ -PowerShell Script: *weather.ps1* -=================================== +Script: *weather.ps1* +======================== This PowerShell script lists the current weather forecast. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/what-is.md b/docs/what-is.md index 81df76df5..f9918ed46 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -1,5 +1,5 @@ -PowerShell Script: *what-is.ps1* -=================================== +Script: *what-is.ps1* +======================== This PowerShell script queries the meaning of the given term/abbreviation/etc. and prints it. @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/windefender.md b/docs/windefender.md index 875ac4bc5..f5d934de0 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -1,5 +1,5 @@ -PowerShell Script: *windefender.ps1* -=================================== +Script: *windefender.ps1* +======================== This script can enable / disable and show Windows defender real time monitoring! @@ -82,4 +82,4 @@ break } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-animated.md b/docs/write-animated.md index c02d7a552..aece22282 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-animated.ps1* -=================================== +Script: *write-animated.ps1* +======================== This PowerShell script writes text centered and animated to the console. @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index e3429a938..4df059cd9 100644 --- a/docs/write-ascii-image.md +++ b/docs/write-ascii-image.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-ascii-image.ps1* -=================================== +Script: *write-ascii-image.ps1* +======================== write-ascii-image.ps1 @@ -61,4 +61,4 @@ WriteLine " '`--._,dd###pp='''" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-big.md b/docs/write-big.md index d94bae23e..e471cc791 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-big.ps1* -=================================== +Script: *write-big.ps1* +======================== This PowerShell script writes the given text in big letters. @@ -472,4 +472,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-blue.md b/docs/write-blue.md index 6622d2706..62093bbef 100644 --- a/docs/write-blue.md +++ b/docs/write-blue.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-blue.ps1* -=================================== +Script: *write-blue.ps1* +======================== This PowerShell script writes text in a blue foreground color. @@ -65,4 +65,4 @@ write-host -foregroundColor blue "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-braille.md b/docs/write-braille.md index 8dde4e099..d832835ed 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-braille.ps1* -=================================== +Script: *write-braille.ps1* +======================== This PowerShell script writes text in Braille. @@ -409,4 +409,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-centered.md b/docs/write-centered.md index 0a6d65011..db5f36fad 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-centered.ps1* -=================================== +Script: *write-centered.ps1* +======================== This PowerShell script writes the given text centered to the console. @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index cad6d4cce..f79290131 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-changelog.ps1* -=================================== +Script: *write-changelog.ps1* +======================== This PowerShell script writes an automated changelog in Markdown format to the console by using the Git commits only. NOTE: For proper sorting the Git commits should start with verbs such as 'Add', 'Fix', 'Update', etc. You may also redirect the output into a file for later use. @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-chart.md b/docs/write-chart.md index 1eefd6018..bbaac8512 100644 --- a/docs/write-chart.md +++ b/docs/write-chart.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-chart.ps1* -=================================== +Script: *write-chart.ps1* +======================== write-chart.ps1 @@ -68,4 +68,4 @@ WriteChartLine "Tom" 30.9 100.0 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-clock.md b/docs/write-clock.md index 6d37cfda2..ea6829dd3 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-clock.ps1* -=================================== +Script: *write-clock.ps1* +======================== This PowerShell script writes the current time as ASCII clock. @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-code.md b/docs/write-code.md index 9d4631278..564a2eb5a 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-code.ps1* -=================================== +Script: *write-code.ps1* +======================== This PowerShell script generates and writes PowerShell code on the console (no AI, just for fun). @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-credits.md b/docs/write-credits.md index cf92ecae5..d8d6c2b29 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-credits.ps1* -=================================== +Script: *write-credits.ps1* +======================== This PowerShell script writes the credits for the PowerShell script collection. @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-date.md b/docs/write-date.md index c0fc56849..4a2142cf2 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-date.ps1* -=================================== +Script: *write-date.ps1* +======================== This PowerShell script determines and writes the current date in US format. @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index 4ddac619c..070b57398 100644 --- a/docs/write-fractal.md +++ b/docs/write-fractal.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-fractal.ps1* -=================================== +Script: *write-fractal.ps1* +======================== write-fractal.ps1 @@ -79,4 +79,4 @@ while ($true) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-green.md b/docs/write-green.md index 0c29ceda0..cc4196abd 100644 --- a/docs/write-green.md +++ b/docs/write-green.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-green.ps1* -=================================== +Script: *write-green.ps1* +======================== This PowerShell script writes text in a green foreground color. @@ -64,4 +64,4 @@ write-host -foregroundColor green "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index 06dd628f1..7d8d50c50 100644 --- a/docs/write-hands-off.md +++ b/docs/write-hands-off.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-hands-off.ps1* -=================================== +Script: *write-hands-off.ps1* +======================== This PowerShell script writes 'Hands Off' in BIG letters. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-headline.md b/docs/write-headline.md index 4761006f3..6e6583d13 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-headline.ps1* -=================================== +Script: *write-headline.ps1* +======================== This PowerShell script writes the given text as a headline. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-help.md b/docs/write-help.md index 1b56f3243..374474e2d 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-help.ps1* -=================================== +Script: *write-help.ps1* +======================== write-help.ps1 @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index d2bce46ff..d1636da8a 100644 --- a/docs/write-in-emojis.md +++ b/docs/write-in-emojis.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-in-emojis.ps1* -=================================== +Script: *write-in-emojis.ps1* +======================== This PowerShell script replaces certain words in the given text by Emojis and writes it to the console. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 837f8504a..52889a63e 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-joke.ps1* -=================================== +Script: *write-joke.ps1* +======================== This PowerShell script selects a random joke (from Data/jokes.csv) and writes it to the console. @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-location.md b/docs/write-location.md index 79ccaf637..c49be60d8 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-location.ps1* -=================================== +Script: *write-location.ps1* +======================== This PowerShell script determines the location and writes it to the console. @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index f9f03be7a..0363c8c28 100644 --- a/docs/write-lowercase.md +++ b/docs/write-lowercase.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-lowercase.ps1* -=================================== +Script: *write-lowercase.ps1* +======================== This PowerShell script writes the given text in lowercase letters. @@ -66,4 +66,4 @@ Write-Output $text.ToLower() exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index 9c33ac93f..6ea7f25f4 100644 --- a/docs/write-marquee.md +++ b/docs/write-marquee.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-marquee.ps1* -=================================== +Script: *write-marquee.ps1* +======================== This PowerShell script writes the given text as marquee. @@ -91,4 +91,4 @@ StartMarquee " exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index 21a86e3c4..b23be319b 100644 --- a/docs/write-matrix.md +++ b/docs/write-matrix.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-matrix.ps1* -=================================== +Script: *write-matrix.ps1* +======================== write-matrix.ps1 @@ -81,4 +81,4 @@ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-moon.md b/docs/write-moon.md index ab884ffd2..21da0e957 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-moon.ps1* -=================================== +Script: *write-moon.ps1* +======================== This PowerShell script writes the current moon phase to the console. @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index 58e4f4b47..d66ed308c 100644 --- a/docs/write-morse-code.md +++ b/docs/write-morse-code.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-morse-code.ps1* -=================================== +Script: *write-morse-code.ps1* +======================== This PowerShell script writes the given text in Morse code. @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-motd.md b/docs/write-motd.md index 3a0df05d3..aaec5487d 100644 --- a/docs/write-motd.md +++ b/docs/write-motd.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-motd.ps1* -=================================== +Script: *write-motd.ps1* +======================== This PowerShell script writes the message of the day (MOTD). @@ -140,4 +140,4 @@ Write-Host " 'VEzjt:;;z>*`` " -ForegroundColor Yellow exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-pi.md b/docs/write-pi.md index 70009c304..98df950d3 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-pi.ps1* -=================================== +Script: *write-pi.ps1* +======================== This PowerShell script calculates and writes the digits of the mathematical constant PI. @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-progress-bar.md b/docs/write-progress-bar.md index bcf1ad5cc..0907dd250 100644 --- a/docs/write-progress-bar.md +++ b/docs/write-progress-bar.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-progress-bar.ps1* -=================================== +Script: *write-progress-bar.ps1* +======================== write-progress-bar.ps1 @@ -26,4 +26,4 @@ for ([int]$i = 0; $i -lt 150; $i++) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index 95a4104cb..432773a09 100644 --- a/docs/write-qr-code.md +++ b/docs/write-qr-code.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-qr-code.ps1* -=================================== +Script: *write-qr-code.ps1* +======================== This PowerShell script writes "Hello World" as QR code to the console output. @@ -65,4 +65,4 @@ Write-Host " " -foregroundColor black -backgroundCol exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 6c146d1de..2aca71e04 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-quote.ps1* -=================================== +Script: *write-quote.ps1* +======================== This PowerShell script selects a random quote from .../data/quotes.csv and writes it to the console. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-red.md b/docs/write-red.md index a09d3dbc9..e508b7581 100644 --- a/docs/write-red.md +++ b/docs/write-red.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-red.ps1* -=================================== +Script: *write-red.ps1* +======================== This PowerShell script writes text in a red foreground color. @@ -64,4 +64,4 @@ write-host -foregroundcolor red "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index 36b128cb8..563754e4e 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-rot13.ps1* -=================================== +Script: *write-rot13.ps1* +======================== This PowerShell script writes text encoded or decoded with ROT13. @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-shit.md b/docs/write-shit.md index 7facf3302..9b6633fea 100644 --- a/docs/write-shit.md +++ b/docs/write-shit.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-shit.ps1* -=================================== +Script: *write-shit.ps1* +======================== This PowerShell script writes shit to the console (fun). @@ -50,4 +50,4 @@ Write-Output "💩" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index 3084dba06..e7e29980d 100644 --- a/docs/write-sine-curves.md +++ b/docs/write-sine-curves.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-sine-curves.ps1* -=================================== +Script: *write-sine-curves.ps1* +======================== This PowerShell script writes sine curves. @@ -56,4 +56,4 @@ Script Content } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-story.md b/docs/write-story.md index 31099cbf2..a444b3529 100644 --- a/docs/write-story.md +++ b/docs/write-story.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-story.ps1* -=================================== +Script: *write-story.ps1* +======================== This PowerShell script writes a story to the console output. @@ -75,4 +75,4 @@ foreach($line in $story) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-time.md b/docs/write-time.md index d1af54248..a13a08b42 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-time.ps1* -=================================== +Script: *write-time.ps1* +======================== This PowerShell script queries the current time and writes it in US format to the console. @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index 7f17a962e..306001836 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-typewriter.ps1* -=================================== +Script: *write-typewriter.ps1* +======================== This PowerShell script writes the given text with the typewriter effect. @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index 2a92fa372..c466a55cd 100644 --- a/docs/write-uppercase.md +++ b/docs/write-uppercase.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-uppercase.ps1* -=================================== +Script: *write-uppercase.ps1* +======================== This PowerShell script writes the given text in uppercase letters. @@ -66,4 +66,4 @@ Write-Output $text.ToUpper() exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-value.md b/docs/write-value.md index d6d3b82fe..9c40be2fa 100644 --- a/docs/write-value.md +++ b/docs/write-value.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-value.ps1* -=================================== +Script: *write-value.ps1* +======================== This PowerShell script writes the given value with the unit and the value range to the console. @@ -170,4 +170,4 @@ Write-Host "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index b3e2ecef3..403d04ffc 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-vertical.ps1* -=================================== +Script: *write-vertical.ps1* +======================== This PowerShell script writes text in vertical direction. @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md index 6f6e53a4e..6f0a242f1 100644 --- a/docs/write-xmas-tree.md +++ b/docs/write-xmas-tree.md @@ -1,5 +1,5 @@ -PowerShell Script: *write-xmas-tree.ps1* -=================================== +Script: *write-xmas-tree.ps1* +======================== This PowerShell script writes a christmas tree to the terminal. @@ -132,4 +132,4 @@ do { ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 15:48:15)* +*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* diff --git a/scripts/convert-ps2md.ps1 b/scripts/convert-ps2md.ps1 index c9b8fc24a..dbca7dd48 100755 --- a/scripts/convert-ps2md.ps1 +++ b/scripts/convert-ps2md.ps1 @@ -56,8 +56,8 @@ try { $ScriptName = (Get-Item "$filename").Name $full = Get-Help $filename -Full - "PowerShell Script: *$($ScriptName)*" - "===================================" + "Script: *$($ScriptName)*" + "========================" $Description = ($full.description | Out-String).Trim() if ($Description -ne "") { From 6e7ac68a6a060895cb688492297be4efbd6ec1f5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 11 Aug 2025 13:30:54 +0200 Subject: [PATCH 427/737] Updated list-network-shares.ps1 --- scripts/list-network-shares.ps1 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/list-network-shares.ps1 b/scripts/list-network-shares.ps1 index d40f29bfe..bb0e8905d 100755 --- a/scripts/list-network-shares.ps1 +++ b/scripts/list-network-shares.ps1 @@ -5,7 +5,7 @@ This PowerShell script lists all network shares (aka "shared folders") of the local computer. .EXAMPLE PS> ./list-network-shares.ps1 - ✅ Shared folder \\LAPTOP\Public ("File transfer folder") -> D:\Public + ✅ Shared folder \\LAPTOP\Public -> D:\Public ("File transfer folder") .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -13,12 +13,16 @@ #> try { - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { # TODO } else { $shares = Get-WmiObject win32_share | where {$_.name -NotLike "*$"} foreach ($share in $shares) { - Write-Output "✅ Shared folder \\$(hostname)\$($share.Name) (`"$($share.Description)`") -> $($share.Path)" + if ($share.Description -eq "") { + Write-Host "✅ Shared folder \\$(hostname)\$($share.Name) -> $($share.Path)" + } else { + Write-Host "✅ Shared folder \\$(hostname)\$($share.Name) -> $($share.Path) (`"$($share.Description)`")" + } } } exit 0 # success From 6280e3216d8e7c44359a7031a64ddc38cd0fc365 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 11 Aug 2025 21:15:54 +0200 Subject: [PATCH 428/737] Updated list-internet-ip.ps1 --- scripts/list-internet-ip.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/list-internet-ip.ps1 b/scripts/list-internet-ip.ps1 index 3b977e960..6e7bad14c 100755 --- a/scripts/list-internet-ip.ps1 +++ b/scripts/list-internet-ip.ps1 @@ -5,7 +5,7 @@ This PowerShell script queries all public IP address information and prints it. .EXAMPLE PS> ./list-internet-ip.ps1 - ✅ Internet IP 185.72.229.161, 2003:f2:6128:fd01:e543:601:30c2:a028 near Munich, Germany + ✅ Internet IP 185.72.229.161 and 2003:f2:6128:fd01:e543:601:30c2:a028 near Munich, Germany .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -28,9 +28,9 @@ try { if ("$publicIPv6" -eq "") { $publicIPv6 = "no IPv6" } if ("$city" -eq "") { $city = "unknown city" } if ("$country" -eq "") { $country = "unknown country" } - "✅ Internet IP $publicIPv4, $publicIPv6 near $city, $country" + Write-Host "✅ Internet IP $publicIPv4 and $publicIPv6 near $city, $country" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } From cbac25fba3ee40aec812337906cdb5655e0ceefb Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 17 Aug 2025 12:53:24 +0200 Subject: [PATCH 429/737] Updated install-updates.ps1 --- scripts/install-updates.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install-updates.ps1 b/scripts/install-updates.ps1 index 0c39f5d42..ef7f8e635 100755 --- a/scripts/install-updates.ps1 +++ b/scripts/install-updates.ps1 @@ -34,7 +34,7 @@ try { "⏳ (2/5) Querying latest package information..." & sudo apt update - "⏳ (3/5) Removing obsolete packages..." + "⏳ (3/5) Removing obsolete packages (to save disk space)..." & sudo apt autoremove --yes "⏳ (4/5) Upgrading installed packages..." @@ -74,6 +74,6 @@ try { "✅ Updates installed in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } From 78a77f56848121684215ee5afcf5124032c8acce Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 17 Aug 2025 13:08:01 +0200 Subject: [PATCH 430/737] Updated install-obs-studio.ps1 --- scripts/install-obs-studio.ps1 | 22 +++++++++++++--------- scripts/install-vlc.ps1 | 2 +- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/scripts/install-obs-studio.ps1 b/scripts/install-obs-studio.ps1 index 89d8ee186..27d4d1cd6 100755 --- a/scripts/install-obs-studio.ps1 +++ b/scripts/install-obs-studio.ps1 @@ -1,31 +1,35 @@ <# .SYNOPSIS - Installs OBS Studio (needs admin rights) + Installs OBS Studio .DESCRIPTION - This PowerShell script installs OBS Studio (admin rights are needed). + This PowerShell script installs OBS Studio from Microsoft Store. .EXAMPLE PS> ./install-obs-studio.ps1 + ⏳ Installing OBS from Microsoft Store... + ✅ OBS installed successfully in 25s. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -#requires -version 5.1 -RunAsAdministrator +#requires -version 5.1 try { - $StopWatch = [system.diagnostics.stopwatch]::startNew() + $stopWatch = [system.diagnostics.stopwatch]::startNew() + "⏳ Installing OBS Studio from Microsoft Store..." - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { "Sorry, not supported yet." } else { - winget install obsproject.obsstudio + & winget install --id XPFFH613W8V6LV + if ($lastExitCode -ne 0) { throw "Can't install OBS, is it already installed?" } } - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✅ installed OBS Studio in $Elapsed sec" + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ OBS Studio installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/install-vlc.ps1 b/scripts/install-vlc.ps1 index 6733ae00c..a7ab4e1e6 100755 --- a/scripts/install-vlc.ps1 +++ b/scripts/install-vlc.ps1 @@ -26,6 +26,6 @@ try { "✅ VLC media player installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } From 15d6102b387c8e065a83ba2b6442329c68f519ef Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 17 Aug 2025 17:37:23 +0200 Subject: [PATCH 431/737] Updated list-unused-files.ps1 --- scripts/list-unused-files.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/list-unused-files.ps1 b/scripts/list-unused-files.ps1 index fc736628f..0eb8af9e2 100755 --- a/scripts/list-unused-files.ps1 +++ b/scripts/list-unused-files.ps1 @@ -1,6 +1,6 @@ <# .SYNOPSIS - Lists unused files in a directory tree + List unused files in a directory tree .DESCRIPTION This PowerShell script scans a directory tree and lists unused files (no read/write access since a number of days). .PARAMETER path @@ -10,7 +10,7 @@ .EXAMPLE PS> ./list-unused-files.ps1 C:\Windows ... - ✅ Found 43729 unused files (no access for 100 days) within 📂C:\Windows in 113 sec + ✅ 43729 unused files at 📂C:\Windows (no access for 100 days, took 113s). .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -28,15 +28,15 @@ try { $cutOffDate = (Get-Date).AddDays(-$Days) [int]$count = 0 Get-ChildItem -path $path -recurse | Where-Object {$_.LastAccessTime -le $cutOffDate} | Foreach-Object { - "📄$($_.FullName)" + "$($_.FullName)" $count++ } Write-Progress -completed " " [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Found $count unused files (no access for $days days) within 📂$path in $elapsed sec" + "✅ $count unused files at 📂$path (no access for $days days, took $($elapsed)s)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } From d48d90b6c3762d563d87e46b9d8e17a6dad4a76b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 18 Aug 2025 15:03:22 +0200 Subject: [PATCH 432/737] Updated some cd-*.ps1 scripts --- scripts/cd-autostart.ps1 | 4 +--- scripts/cd-crashdumps.ps1 | 6 +++--- scripts/cd-docs.ps1 | 8 ++------ scripts/cd-downloads.ps1 | 7 ++----- scripts/cd-home.ps1 | 2 +- scripts/cd-music.ps1 | 10 +++------- scripts/cd-pics.ps1 | 10 +++------- scripts/cd-repo.ps1 | 2 +- scripts/cd-temp.ps1 | 2 +- scripts/cd-templates.ps1 | 10 +++------- scripts/cd-videos.ps1 | 12 ++++++------ 11 files changed, 26 insertions(+), 47 deletions(-) diff --git a/scripts/cd-autostart.ps1 b/scripts/cd-autostart.ps1 index 0517cfdc1..4b59171ee 100755 --- a/scripts/cd-autostart.ps1 +++ b/scripts/cd-autostart.ps1 @@ -16,9 +16,7 @@ try { $path = Resolve-Path "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" - if (-not(Test-Path "$path" -pathType container)) { - throw "No autostart folder at 📂$path" - } + if (-not(Test-Path "$path" -pathType container)) { throw "The path to autostart folder '$path' doesn't exist (yet)" } Set-Location "$path" "📂$path" exit 0 # success diff --git a/scripts/cd-crashdumps.ps1 b/scripts/cd-crashdumps.ps1 index ce90e2feb..b8e49a60c 100755 --- a/scripts/cd-crashdumps.ps1 +++ b/scripts/cd-crashdumps.ps1 @@ -15,19 +15,19 @@ #requires -version 5.1 try { - if ($IsLinux) { throw "Sorry, Windows only" } + if ($IsLinux -or $IsMacOS) { throw "Sorry, Windows only" } [string]$path = Resolve-Path -Path "~" if (!(Test-Path "$path" -pathType container)) { throw "No home directory at $path" } $path += "\AppData\Local\CrashDumps" - if (!(Test-Path "$path" -pathType container)) { throw "No crashdumps folder at $path" } + if (-not(Test-Path "$path" -pathType container)) { throw "The path to crashdumps folder '$path' doesn't exist (yet)" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory "📂$path with $($files.Count) files entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-docs.ps1 b/scripts/cd-docs.ps1 index 0178c1819..0d8cdd748 100755 --- a/scripts/cd-docs.ps1 +++ b/scripts/cd-docs.ps1 @@ -16,15 +16,11 @@ try { if ($IsLinux -or $IsMacOS) { - if (-not(Test-Path "~/Documents" -pathType container)) { - throw "Your home directory has no 'Documents' folder yet" - } + if (-not(Test-Path "~/Documents" -pathType container)) { 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" - } + if (-not(Test-Path "$path" -pathType container)) { throw "The path to documents folder '$path' doesn't exist (yet)" } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory diff --git a/scripts/cd-downloads.ps1 b/scripts/cd-downloads.ps1 index 5c8ef6e61..8ac1424ca 100755 --- a/scripts/cd-downloads.ps1 +++ b/scripts/cd-downloads.ps1 @@ -16,15 +16,12 @@ try { if ($IsLinux -or $IsMacOS) { - if (-not(Test-Path "~/Downloads" -pathType container)) { - throw "No 'Downloads' folder in your home directory yet" + if (-not(Test-Path "~/Downloads" -pathType container)) { 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" - } + if (-not(Test-Path "$path" -pathType container)) { throw "The path to downloads folder '$path' doesn't exist (yet)" } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory diff --git a/scripts/cd-home.ps1 b/scripts/cd-home.ps1 index 7b2604ced..9d1e3d2bc 100755 --- a/scripts/cd-home.ps1 +++ b/scripts/cd-home.ps1 @@ -15,7 +15,7 @@ #requires -version 5.1 try { - if (-not(Test-Path "~" -pathType container)) { throw "No home directory at: $path" } + if (-not(Test-Path "~" -pathType container)) { throw "The path to home directory '$path' doesn't exist (yet)" } $path = Resolve-Path "~" Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory diff --git a/scripts/cd-music.ps1 b/scripts/cd-music.ps1 index 5fbf410b3..d85f52249 100755 --- a/scripts/cd-music.ps1 +++ b/scripts/cd-music.ps1 @@ -15,16 +15,12 @@ #requires -version 5.1 try { - if ($IsLinux) { - if (-not(Test-Path "~/Music/" -pathType container)) { - throw "No 'Music' folder in home directory" - } + if ($IsLinux -or $IsMacOS) { + if (-not(Test-Path "~/Music/" -pathType container)) { throw "No 'Music' folder in your home directory (yet)" } $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 "The path to music folder '$path' doesn't exist (yet)" } } Set-Location "$path" $folders = Get-ChildItem $path -attributes Directory diff --git a/scripts/cd-pics.ps1 b/scripts/cd-pics.ps1 index 3dcfecee6..73f5a3b3c 100755 --- a/scripts/cd-pics.ps1 +++ b/scripts/cd-pics.ps1 @@ -15,16 +15,12 @@ #requires -version 5.1 try { - if ($IsLinux) { - if (-not(Test-Path "~/Pictures" -pathType container)) { - throw "No 'Pictures' folder in your home directory yet" - } + if ($IsLinux -or $IsMacOS) { + 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 "The path to pictures folder '$path' doesn't exist (yet)" } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory diff --git a/scripts/cd-repo.ps1 b/scripts/cd-repo.ps1 index 42637c445..ccd7f3552 100755 --- a/scripts/cd-repo.ps1 +++ b/scripts/cd-repo.ps1 @@ -35,7 +35,7 @@ try { throw "No Git repositories folder in your home directory or in the root folder yet" } $path += "/" + $folderName - if (-not(Test-Path "$path" -pathType container)) { throw "The file path '$path' doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { throw "The path to folder '$path' doesn't exist (yet)" } $path = Resolve-Path "$path" Set-Location "$path" diff --git a/scripts/cd-temp.ps1 b/scripts/cd-temp.ps1 index adf4ac6a8..67a75e9fe 100755 --- a/scripts/cd-temp.ps1 +++ b/scripts/cd-temp.ps1 @@ -23,7 +23,7 @@ function GetTempDir { try { $path = GetTempDir - if (-not(Test-Path "$path" -pathType container)) { throw "No temporary folder at: $path" } + if (-not(Test-Path "$path" -pathType container)) { throw "The path to temporary folder '$path' doesn't exist (yet)" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory diff --git a/scripts/cd-templates.ps1 b/scripts/cd-templates.ps1 index 1bc62007d..326aaa52f 100755 --- a/scripts/cd-templates.ps1 +++ b/scripts/cd-templates.ps1 @@ -15,16 +15,12 @@ #requires -version 5.1 try { - if ($IsLinux) { - if (-not(Test-Path "~/Templates" -pathType container)) { - throw "No 'Templates' folder in your home directory yet" - } + if ($IsLinux -or $IsMacOS) { + 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 "The path to templates folder '$path' doesn't exist (yet)" } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory diff --git a/scripts/cd-videos.ps1 b/scripts/cd-videos.ps1 index da7d7d832..657493b62 100755 --- a/scripts/cd-videos.ps1 +++ b/scripts/cd-videos.ps1 @@ -15,13 +15,13 @@ #requires -version 5.1 try { - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { + if (-not(Test-Path "~/Videos" -pathType container)) { throw "No 'Videos' folder in your home directory (yet)" } + } $path = Resolve-Path "~/Videos" - } else { - $path = [Environment]::GetFolderPath('MyVideos') - } - if (-not(Test-Path "$path" -pathType container)) { - throw "No videos folder at $path" + } else { } + $path = [Environment]::GetFolderPath('MyVideos') } + if (-not(Test-Path "$path" -pathType container)) { throw "The path to video folder '$path' doesn't exist (yet)" } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory From 6ddb6b22f360e6147f6335b053e0f7eba4922022 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 18 Aug 2025 20:19:46 +0200 Subject: [PATCH 433/737] Updated write-progress-bar.ps1 --- scripts/write-progress-bar.ps1 | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/scripts/write-progress-bar.ps1 b/scripts/write-progress-bar.ps1 index 932e10aab..57474d4a5 100755 --- a/scripts/write-progress-bar.ps1 +++ b/scripts/write-progress-bar.ps1 @@ -1,7 +1,21 @@ -$progressBar = @('⣾','⣽','⣻','⢿','⡿','⣟','⣯','⣷') +<# +.SYNOPSIS + Writes a progress bar +.DESCRIPTION + This PowerShell script writes a progress bar to the console. +.EXAMPLE + PS> ./write-progress-bar.ps1 + 🕐 I'm working, please wait... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +$progressBar = @('🕐','🕑','🕒','🕓','🕔','🕕','🕖','🕗','🕘','🕙','🕚','🕛') for ([int]$i = 0; $i -lt 150; $i++) { - Write-Host "`r$($progressBar[$i % 7]) Working on something..." -NoNewline + Write-Host "`r$($progressBar[$i % 11]) I'm working, please wait..." -NoNewline Start-Sleep -milliseconds 100 } exit 0 # success From 90065007b0f7395d377295852bb467ead7bb297a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Aug 2025 07:38:53 +0200 Subject: [PATCH 434/737] Updated write-help.ps1 --- scripts/write-help.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/write-help.ps1 b/scripts/write-help.ps1 index 81b6ce8d3..bf0a9000f 100755 --- a/scripts/write-help.ps1 +++ b/scripts/write-help.ps1 @@ -37,7 +37,7 @@ try { White "████ █ █ █ ▀▄█▄ ▄▄ ▀█ ▄▄▄▄▀ ████`n" White "████ █▄▄▄█ █ ██ ▄█▄ ▄▀▀▀ ▄▄ ▄ █████ Type 'Get-Help ' to display information about `n" White "████▄▄▄▄▄▄▄█▄▄█▄▄████▄▄▄██▄▄▄█▄██████`n" - White "█████████████████████████████████████ HINT: press + to follow the links.`n" + White "█████████████████████████████████████ HINT: press to follow the links above.`n" White "█████████████████████████████████████`n" exit 0 # success } catch { From b89b5d350dca740da1ba359c3123fa068012d1d9 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Aug 2025 09:52:12 +0200 Subject: [PATCH 435/737] Updated my-profile.ps1 and write-help.ps1 --- scripts/my-profile.ps1 | 4 ++-- scripts/write-help.ps1 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/my-profile.ps1 b/scripts/my-profile.ps1 index e2f8e2c31..f48353037 100755 --- a/scripts/my-profile.ps1 +++ b/scripts/my-profile.ps1 @@ -1,11 +1,11 @@ -# POWERSHELL PROFILE TO DEFINE THE LOOK & FEEL +# MY POWERSHELL PROFILE # WINDOW TITLE if ($IsLinux) { $username = $(whoami) } else { $username = $env:USERNAME } $host.ui.RawUI.WindowTitle = "$username @ $(hostname)" # GREETING -Write-Host "✨ Welcome $username to $(hostname)'s PowerShell - type 'FAQ' for help." -foregroundColor green +Write-Host "✨ Welcome $username to $(hostname) - type 'FAQ' for help." -foregroundColor green # PROMPT function prompt { Write-Host "`n➤ " -noNewline -foregroundColor yellow; return " " } diff --git a/scripts/write-help.ps1 b/scripts/write-help.ps1 index bf0a9000f..4193ce94d 100755 --- a/scripts/write-help.ps1 +++ b/scripts/write-help.ps1 @@ -20,7 +20,7 @@ function Blue([string]$line) { try { Write-Host "" - White "█████████████████████████████████████ PowerShell $($PSVersionTable.PSVersion) $($PSVersionTable.PSEdition) Edition`n" + White "█████████████████████████████████████ POWERSHELL $($PSVersionTable.PSVersion) $($PSVersionTable.PSEdition) Edition`n" White "█████████████████████████████████████ ------------------------------------------`n" White "████ ▄▄▄▄▄ █▀ █▀▀█▀▀ ▄▄██ ▄▄▄▄▄ ████`n" White "████ █ █ █▀ ▄ █▀ ▀ ▀▄█ █ █ █ ████ Documentation: "; Blue "https://docs.microsoft.com/en-us/powershell`n" From c3ff2aa6381e7866f341627e72df5dd4c2d16202 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Aug 2025 16:07:28 +0200 Subject: [PATCH 436/737] Updated what-is.ps1 --- scripts/what-is.ps1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/what-is.ps1 b/scripts/what-is.ps1 index 8d223ab68..73007b81a 100755 --- a/scripts/what-is.ps1 +++ b/scripts/what-is.ps1 @@ -30,11 +30,12 @@ try { } } if ($basename -eq "") { - Write-Host "🤷‍ Sorry, '$term' is new to me. Let's search it at: " -noNewline - Write-Host "https://www.qwant.com/?q=what+is+$term" -foregroundColor blue + Write-Host "🤷‍ Sorry, I don't know '$term'. Let's search for it: " -noNewline + Write-Host "https://qwant.com/?q=what+is+$term" -foregroundColor blue -noNewline + Write-Host " (use )" } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } From 8db0e46759f7652b917abc855d0dc452620f6ea8 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 20 Aug 2025 17:41:36 +0200 Subject: [PATCH 437/737] Updated check-pending-reboot.ps1 --- scripts/check-pending-reboot.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-pending-reboot.ps1 b/scripts/check-pending-reboot.ps1 index 7b588388c..d7076b3b8 100755 --- a/scripts/check-pending-reboot.ps1 +++ b/scripts/check-pending-reboot.ps1 @@ -60,7 +60,7 @@ try { $reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'" } if ($reason -ne "") { - $reply = "⚠️ Pending reboot (found: $($reason.substring(2)) in registry)" + $reply = "⚠️ Pending reboot (registry has $($reason.substring(2)))" } } Write-Host $reply From 69b4a8497d7a7b14f8c1c48ef26e86e8e0af95db Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 21 Aug 2025 16:26:16 +0200 Subject: [PATCH 438/737] Updated pull-repos.ps1 --- scripts/pull-repos.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/pull-repos.ps1 b/scripts/pull-repos.ps1 index 4a0b2dead..625b68f0b 100755 --- a/scripts/pull-repos.ps1 +++ b/scripts/pull-repos.ps1 @@ -9,7 +9,7 @@ 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' repo... + ⏳ (3/35) Pulling into 'base256U'... ... .LINK https://github.com/fleschutz/PowerShell @@ -37,9 +37,9 @@ try { [int]$numFailed = 0 foreach ($folder in $folders) { $folderName = (Get-Item "$folder").Name - Write-Host "⏳ ($step/$($numFolders + 2)) Pulling into repo '$folderName'...`t`t" -NoNewline + Write-Host "⏳ ($step/$($numFolders + 2)) Pulling into '$folderName'...`t`t" -NoNewline - & git -C "$folder" pull --recurse-submodules --jobs=4 + & git -C "$folder" pull --recurse-submodules=yes if ($lastExitCode -ne 0) { $numFailed++; Write-Warning "'git pull' into 📂$folderName failed" } & git -C "$folder" submodule update --init --recursive @@ -55,6 +55,6 @@ try { exit 1 } } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (in script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } From 2c7eb5a560b027710c8c49d974205578cf52ece1 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 21 Aug 2025 16:30:02 +0200 Subject: [PATCH 439/737] Updated install-updates.ps1 --- scripts/install-updates.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install-updates.ps1 b/scripts/install-updates.ps1 index ef7f8e635..2f18a7ec7 100755 --- a/scripts/install-updates.ps1 +++ b/scripts/install-updates.ps1 @@ -24,6 +24,7 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() if ($IsLinux) { + "" "⏳ (1/5) Checking requirements..." & "$PSScriptRoot/check-power.ps1" & "$PSScriptRoot/check-smart-devices.ps1" @@ -34,7 +35,7 @@ try { "⏳ (2/5) Querying latest package information..." & sudo apt update - "⏳ (3/5) Removing obsolete packages (to save disk space)..." + "⏳ (3/5) Removing obsolete packages to save space..." & sudo apt autoremove --yes "⏳ (4/5) Upgrading installed packages..." @@ -47,6 +48,7 @@ try { & sudo softwareupdate -i -a Write-Progress -completed " " } else { # Windows: + "" "⏳ (1/2) Checking requirements..." & "$PSScriptRoot/check-power.ps1" & "$PSScriptRoot/check-smart-devices.ps1" From 9674f35c00a9b73621e042b84ee42f64a51fa476 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 21 Aug 2025 16:45:56 +0200 Subject: [PATCH 440/737] Updated install-updates.ps1 --- scripts/install-updates.ps1 | 71 +++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 39 deletions(-) diff --git a/scripts/install-updates.ps1 b/scripts/install-updates.ps1 index 2f18a7ec7..9aa98fc18 100755 --- a/scripts/install-updates.ps1 +++ b/scripts/install-updates.ps1 @@ -23,53 +23,46 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() - if ($IsLinux) { - "" - "⏳ (1/5) Checking requirements..." - & "$PSScriptRoot/check-power.ps1" - & "$PSScriptRoot/check-smart-devices.ps1" + "`n⏳ Checking requirements..." + & "$PSScriptRoot/check-power.ps1" + & "$PSScriptRoot/check-smart-devices.ps1" + if ($IsLinux -or $IsMacOS) { & "$PSScriptRoot/check-drive-space.ps1" / - & "$PSScriptRoot/check-swap-space.ps1" - Start-Sleep -seconds 3 - "" - "⏳ (2/5) Querying latest package information..." + } else { + & "$PSScriptRoot/check-drive-space.ps1" C + } + & "$PSScriptRoot/check-swap-space.ps1" + Start-Sleep -seconds 3 + + if (Get-Command apt -ErrorAction SilentlyContinue) { + "`n⏳ Querying latest package information..." & sudo apt update - "⏳ (3/5) Removing obsolete packages to save space..." + "`n⏳ Removing obsolete packages to save space..." & sudo apt autoremove --yes - "⏳ (4/5) Upgrading installed packages..." + "`n⏳ Upgrading installed packages..." & sudo apt upgrade --yes - - "⏳ (5/5) Upgrading installed Snaps..." + } + if (Get-Command snap -ErrorAction SilentlyContinue) { + "`n⏳ Upgrading installed Snaps..." & sudo snap refresh - } elseif ($IsMacOS) { - Write-Progress "⏳ Installing updates..." + } + if (Get-Command softwareupdate -ErrorAction SilentlyContinue) { + "`n⏳ Installing updates..." & sudo softwareupdate -i -a - Write-Progress -completed " " - } else { # Windows: - "" - "⏳ (1/2) Checking requirements..." - & "$PSScriptRoot/check-power.ps1" - & "$PSScriptRoot/check-smart-devices.ps1" - & "$PSScriptRoot/check-drive-space.ps1" C - & "$PSScriptRoot/check-swap-space.ps1" - Start-Sleep -seconds 3 - "" - "⏳ (2/4) Querying Microsoft Store..." - if (Get-Command winget -errorAction SilentlyContinue) { - & winget upgrade --all --source=msstore --include-unknown - } - "" - "⏳ (3/4) Querying WinGet..." - if (Get-Command winget -errorAction SilentlyContinue) { - & winget upgrade --all --source=winget --include-unknown - } - "" - "⏳ (4/4) Querying Chocolatey..." - if (Get-Command choco -errorAction SilentlyContinue) { - & choco upgrade all -y - } + } + if (Get-Command winget -errorAction SilentlyContinue) { + "`n⏳ Querying Microsoft Store..." + & winget upgrade --all --source=msstore --include-unknown + } + if (Get-Command winget -errorAction SilentlyContinue) { + "`n⏳ Querying WinGet..." + & winget upgrade --all --source=winget --include-unknown + } + if (Get-Command choco -errorAction SilentlyContinue) { + "`n⏳ Querying Chocolatey..." + & choco upgrade all -y } & "$PSScriptRoot/check-pending-reboot.ps1" [int]$elapsed = $stopWatch.Elapsed.TotalSeconds From c215eb6f9f72636951ae124f64ec9aa4327c16a7 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 21 Aug 2025 16:52:33 +0200 Subject: [PATCH 441/737] Updated list-updates.ps1 --- scripts/list-updates.ps1 | 64 +++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 34 deletions(-) diff --git a/scripts/list-updates.ps1 b/scripts/list-updates.ps1 index c192c5395..7a1c715ce 100755 --- a/scripts/list-updates.ps1 +++ b/scripts/list-updates.ps1 @@ -1,9 +1,9 @@ <# .SYNOPSIS - Lists software updates + Lists available software updates .DESCRIPTION This PowerShell script queries the latest available software updates for the - local machine and lists it (for installation use 'install-updates.ps1'). + local machine and lists it (execute 'install-updates.ps1' for installation). .EXAMPLE PS> ./list-updates.ps1 ⏳ Querying Microsoft Store... @@ -19,42 +19,38 @@ #> try { - if ($IsLinux) { - if (Get-Command apt -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying APT package updates..." -foregroundColor green - & sudo apt update - & sudo apt list --upgradable - } - if (Get-Command snap -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying Snap updates..." -foregroundColor green - & sudo snap refresh --list - } - } elseif ($IsMacOS) { - if (Get-Command brew -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying Homebrew updates..." -foregroundColor green - & brew outdated - } - } else { - if (Get-Command winget -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying Microsoft Store..." -foregroundColor green - & winget upgrade --include-unknown --source=msstore + if (Get-Command apt -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying APT package updates..." -foregroundColor green + & sudo apt update + & sudo apt list --upgradable + } + if (Get-Command snap -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Snap updates..." -foregroundColor green + & sudo snap refresh --list + } + if (Get-Command brew -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Homebrew updates..." -foregroundColor green + & brew outdated + } + if (Get-Command winget -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Microsoft Store..." -foregroundColor green + & winget upgrade --include-unknown --source=msstore - Write-Host "`n⏳ Querying WinGet..." -foregroundColor green - & winget upgrade --include-unknown --source=winget - } - if (Get-Command choco -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying Chocolatey..." -foregroundColor green - & choco outdated - } - if (Get-Command scoop -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying Scoop..." -foregroundColor green - & scoop status - } + Write-Host "`n⏳ Querying WinGet..." -foregroundColor green + & winget upgrade --include-unknown --source=winget + } + if (Get-Command choco -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Chocolatey..." -foregroundColor green + & choco outdated + } + if (Get-Command scoop -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Scoop..." -foregroundColor green + & scoop status } " " - "💡 Execute 'install-updates.ps1' to install the listed updates." + "💡 Execute 'install-updates.ps1' for installation." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } From bcce83bf46e294d3975bab55633e6405d9df07c0 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 21 Aug 2025 16:58:44 +0200 Subject: [PATCH 442/737] Updated install-updates.ps1 --- scripts/install-updates.ps1 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/install-updates.ps1 b/scripts/install-updates.ps1 index 9aa98fc18..6d8411ba6 100755 --- a/scripts/install-updates.ps1 +++ b/scripts/install-updates.ps1 @@ -23,7 +23,7 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() - "`n⏳ Checking requirements..." + Write-Host "`n⏳ Checking requirements..." -foregroundColor green & "$PSScriptRoot/check-power.ps1" & "$PSScriptRoot/check-smart-devices.ps1" if ($IsLinux -or $IsMacOS) { @@ -35,33 +35,33 @@ try { Start-Sleep -seconds 3 if (Get-Command apt -ErrorAction SilentlyContinue) { - "`n⏳ Querying latest package information..." + Write-Host "`n⏳ Querying APT package updates..." -foregroundColor green & sudo apt update - "`n⏳ Removing obsolete packages to save space..." + Write-Host "`n⏳ Removing obsolete packages to save space..." -foregroundColor green & sudo apt autoremove --yes - "`n⏳ Upgrading installed packages..." + Write-Host "`n⏳ Upgrading installed packages..." -foregroundColor green & sudo apt upgrade --yes } if (Get-Command snap -ErrorAction SilentlyContinue) { - "`n⏳ Upgrading installed Snaps..." + Write-Host "`n⏳ Upgrading installed Snaps..." -foregroundColor green & sudo snap refresh } if (Get-Command softwareupdate -ErrorAction SilentlyContinue) { - "`n⏳ Installing updates..." + Write-Host "`n⏳ Updating software..." -foregroundColor green & sudo softwareupdate -i -a } if (Get-Command winget -errorAction SilentlyContinue) { - "`n⏳ Querying Microsoft Store..." + Write-Host "`n⏳ Upgrading by Microsoft Store..." -foregroundColor green & winget upgrade --all --source=msstore --include-unknown } if (Get-Command winget -errorAction SilentlyContinue) { - "`n⏳ Querying WinGet..." + Write-Host "`n⏳ Upgrading by WinGet..." -foregroundColor green & winget upgrade --all --source=winget --include-unknown } if (Get-Command choco -errorAction SilentlyContinue) { - "`n⏳ Querying Chocolatey..." + Write-Host "`n⏳ Upgrading by Chocolatey..." -foregroundColor green & choco upgrade all -y } & "$PSScriptRoot/check-pending-reboot.ps1" From a9096dd2adfaeeae2410ec3392e5960f214d316a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 21 Aug 2025 17:19:33 +0200 Subject: [PATCH 443/737] Updated calculate-BMI.ps1 --- scripts/calculate-BMI.ps1 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/calculate-BMI.ps1 b/scripts/calculate-BMI.ps1 index c4ec5a114..dd3f10fd2 100755 --- a/scripts/calculate-BMI.ps1 +++ b/scripts/calculate-BMI.ps1 @@ -5,6 +5,8 @@ This PowerShell script calculates the BMI. .EXAMPLE PS> ./calculate-BMI.ps1 + Enter your height in m : + ..g .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -17,7 +19,15 @@ try { [float]$height = Read-Host("Enter your height in m ") [float]$weight = Read-Host("Enter your weight in kg") $BMI = $weight / ($height * $height) - "Your BMI is $BMI, for adults the WHO regards <16 as Underweight (severe thinness), 16-17 as Underweight (moderate thinness), 17-18.5 as Underweight (mild thinness), 18.5-25 as Normal range, 25-30 as Overweight (pre-obese), 30-35 as Obese (class I), 35-40 as Obese (class II), and >=40 as Obese (class III)." + "Your BMI is $BMI, for adults the WHO regards:" + " <16 as Underweight (severe thinness)" + " 16-17 as Underweight (moderate thinness)" + " 17-18.5 as Underweight (mild thinness)" + " 18.5-25 as Normal range" + " 25-30 as Overweight (pre-obese)" + " 30-35 as Obese (class I)" + " 35-40 as Obese (class II)" + " >=40 as Obese (class III)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." From 07b6bffaf5e1da24ef06344482bdc1140a67fa49 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 23 Aug 2025 12:47:10 +0200 Subject: [PATCH 444/737] Added write-skull.ps1 --- scripts/write-ascii-image.ps1 | 4 +-- scripts/write-skull.ps1 | 51 +++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 scripts/write-skull.ps1 diff --git a/scripts/write-ascii-image.ps1 b/scripts/write-ascii-image.ps1 index 2199cf8cb..3f5fa4adf 100755 --- a/scripts/write-ascii-image.ps1 +++ b/scripts/write-ascii-image.ps1 @@ -11,7 +11,7 @@ Author: Markus Fleschutz | License: CC0 #> -function WriteLine { param([string]$line) +function WriteLine([string]$line) { Write-Host $line -foregroundColor green } @@ -39,4 +39,4 @@ WriteLine " `&. ." WriteLine " `~, . ./" WriteLine " . _ .-" WriteLine " '`--._,dd###pp='''" -exit 0 # success \ No newline at end of file +exit 0 # success diff --git a/scripts/write-skull.ps1 b/scripts/write-skull.ps1 new file mode 100644 index 000000000..5f6a57a23 --- /dev/null +++ b/scripts/write-skull.ps1 @@ -0,0 +1,51 @@ +<# +.SYNOPSIS + ← enter a brief description of the script here +.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 +#> + +#requires -version 5.1 + +function WriteLine([string]$line) { + Write-Host $line -foregroundColor black -backgroundColor white +} + +Clear-Host +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +WriteLine "███████▀▀▀░░░░░░░▀▀▀███████" +WriteLine "████▀░░░░░░░░░░░░░░░░░▀████" +WriteLine "███│░░░░░░░░░░░░░░░░░░░│███" +WriteLine "██▌│░░░░░░░░░░░░░░░░░░░│▐██" +WriteLine "██░└┐░░░░░░░░░░░░░░░░░┌┘░██" +WriteLine "██░░└┐░░░░░░░░░░░░░░░┌┘░░██" +WriteLine "██░░┌┘▄▄▄▄▄░░░░░▄▄▄▄▄└┐░░██" +WriteLine "██▌░│██████▌░░░▐██████│░▐██" +WriteLine "███░│▐███▀▀░░▄░░▀▀███▌│░███" +WriteLine "██▀─┘░░░░░░░▐█▌░░░░░░░└─▀██" +WriteLine "██▄░░░▄▄▄▓░░▀█▀░░▓▄▄▄░░░▄██" +WriteLine "████▄─┘██▌░░░░░░░▐██└─▄████" +WriteLine "█████░░▐█─┬┬┬┬┬┬┬─█▌░░█████" +WriteLine "████▌░░░▀┬┼┼┼┼┼┼┼┬▀░░░▐████" +WriteLine "█████▄░░░└┴┴┴┴┴┴┴┘░░░▄█████" +WriteLine "███████▄░░░░░░░░░░░▄███████" +WriteLine "██████████▄▄▄▄▄▄▄██████████" +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +exit 0 # success From 3150a6b45cf8c270eb649b2c92255c8ea3eb0da9 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 23 Aug 2025 13:04:51 +0200 Subject: [PATCH 445/737] Added play-ascii-video.ps1 --- scripts/play-ascii-video.ps1 | 19 +++++++++++++++++++ scripts/play-rick.ps1 | 10 ++++++++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 scripts/play-ascii-video.ps1 diff --git a/scripts/play-ascii-video.ps1 b/scripts/play-ascii-video.ps1 new file mode 100644 index 000000000..00b63efea --- /dev/null +++ b/scripts/play-ascii-video.ps1 @@ -0,0 +1,19 @@ +<# +.SYNOPSIS + Plays an ASCII video +.DESCRIPTION + This PowerShell script launches the Web browser with YouTube playing Rick Astley. +.EXAMPLE + PS> ./play-ascii-video.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +if ($IsLinux -or $IsMacOS) { + & curl ascii.live/forrest +} else { + & curl.exe ascii.live/forrest +} +exit 0 # success diff --git a/scripts/play-rick.ps1 b/scripts/play-rick.ps1 index 9867cf228..0a8888381 100755 --- a/scripts/play-rick.ps1 +++ b/scripts/play-rick.ps1 @@ -11,6 +11,12 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/open-default-browser.ps1" "https://www.youtube.com/watch?v=v7ScGV5128A" -"Sorry, you've been Rick-Rolled by Markus 🤣" + +$host.ui.RawUI.WindowTitle = "You've been Rick-Rolled! 🤣" +& "$PSScriptRoot/open-URL.ps1" "https://www.youtube.com/watch?v=v7ScGV5128A" +if ($IsLinux -or $IsMacOS) { + & curl ascii.live/rick +} else { + & curl.exe ascii.live/rick +} exit 0 # success From 69c276a1ce6040cff62fe1b346b6dcc35bfb9580 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 24 Aug 2025 10:56:43 +0200 Subject: [PATCH 446/737] Update calculate-BMI.ps1 --- scripts/calculate-BMI.ps1 | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/scripts/calculate-BMI.ps1 b/scripts/calculate-BMI.ps1 index dd3f10fd2..ac8a92a5c 100755 --- a/scripts/calculate-BMI.ps1 +++ b/scripts/calculate-BMI.ps1 @@ -2,11 +2,9 @@ .SYNOPSIS Calculate the BMI .DESCRIPTION - This PowerShell script calculates the BMI. + This PowerShell script calculates your BMI value. .EXAMPLE PS> ./calculate-BMI.ps1 - Enter your height in m : - ..g .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -15,21 +13,16 @@ #requires -version 5.1 -try { - [float]$height = Read-Host("Enter your height in m ") - [float]$weight = Read-Host("Enter your weight in kg") - $BMI = $weight / ($height * $height) - "Your BMI is $BMI, for adults the WHO regards:" - " <16 as Underweight (severe thinness)" - " 16-17 as Underweight (moderate thinness)" - " 17-18.5 as Underweight (mild thinness)" - " 18.5-25 as Normal range" - " 25-30 as Overweight (pre-obese)" - " 30-35 as Obese (class I)" - " 35-40 as Obese (class II)" - " >=40 as Obese (class III)" - exit 0 # success -} catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." - exit 1 -} +[float]$height = Read-Host("Enter your height in m ") +[float]$weight = Read-Host("Enter your weight in kg") +$result = $weight / ($height * $height) +"Your BMI is $result, for adults the WHO regards:" +" <16 as Underweight (severe thinness)" +" 16-17 as Underweight (moderate thinness)" +" 17-18.5 as Underweight (mild thinness)" +" 18.5-25 as Normal range" +" 25-30 as Overweight (pre-obese)" +" 30-35 as Obese (class I)" +" 35-40 as Obese (class II)" +" >=40 as Obese (class III)" +exit 0 # success From a5f2da26f36b43da94e2f905480ecbc734554b10 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 25 Aug 2025 09:43:42 +0200 Subject: [PATCH 447/737] Added Jellyfin --- data/basic-apps.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/basic-apps.csv b/data/basic-apps.csv index e161862f5..d8bd1d842 100644 --- a/data/basic-apps.csv +++ b/data/basic-apps.csv @@ -13,6 +13,7 @@ APPLICATION, CATEGORY, APPID, "Helix", "text editor", "helix.helix", "inSSIDer", "Wifi tool", "MetaGeek.inSSIDer", "IrfanView", "image viewer", "9PJZ3BTL5PV6", +"Jellyfin", "media player", "Jellyfin.JellyfinMediaPlayer", "KDiff3", "file compare tool", "KDE.KDiff3", "KeePassXC", "password manager", "XP8K2L36VP0QMB", "Kodi", "media center", "9NBLGGH4T892", From 8df8f0ef5364701c8a52c52461e8ed22c40157a8 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 25 Aug 2025 12:21:31 +0200 Subject: [PATCH 448/737] Improved the error output line --- scripts/add-firewall-rules.ps1 | 3 ++- scripts/alert.ps1 | 2 +- scripts/build-repos.ps1 | 2 +- scripts/change-wallpaper.ps1 | 2 +- scripts/check-admin.ps1 | 2 +- scripts/check-apps.ps1 | 2 +- scripts/check-bios.ps1 | 2 +- scripts/check-cpu.ps1 | 2 +- scripts/check-credentials.ps1 | 2 +- scripts/check-day.ps1 | 2 +- scripts/check-dns.ps1 | 2 +- scripts/check-drive-space.ps1 | 2 +- scripts/check-drives.ps1 | 2 +- scripts/check-dusk.ps1 | 2 +- scripts/check-easter-sunday.ps1 | 2 +- scripts/check-file-system.ps1 | 2 +- scripts/check-firewall.ps1 | 2 +- scripts/check-gpu.ps1 | 2 +- scripts/check-independence-day.ps1 | 2 +- scripts/check-ipv4-address.ps1 | 2 +- scripts/check-ipv6-address.ps1 | 2 +- scripts/check-iss-position.ps1 | 2 +- scripts/check-mac-address.ps1 | 2 +- scripts/check-midnight.ps1 | 2 +- scripts/check-month.ps1 | 2 +- scripts/check-moon-phase.ps1 | 2 +- scripts/check-motherboard.ps1 | 2 +- scripts/check-noon.ps1 | 2 +- scripts/check-os.ps1 | 2 +- scripts/check-outlook.ps1 | 2 +- scripts/check-password.ps1 | 2 +- scripts/check-pending-reboot.ps1 | 2 +- scripts/check-pnp-devices.ps1 | 2 +- scripts/check-power.ps1 | 2 +- scripts/check-powershell.ps1 | 2 +- scripts/check-ps1-file.ps1 | 2 +- scripts/check-ram.ps1 | 2 +- scripts/check-repo.ps1 | 2 +- scripts/check-repos.ps1 | 2 +- scripts/check-santa.ps1 | 2 +- scripts/check-smart-devices.ps1 | 2 +- scripts/check-subnet-mask.ps1 | 2 +- scripts/check-swap-space.ps1 | 2 +- scripts/check-symlinks.ps1 | 2 +- scripts/check-time-zone.ps1 | 2 +- scripts/check-uptime.ps1 | 2 +- scripts/check-vpn.ps1 | 2 +- scripts/check-weather.ps1 | 2 +- scripts/check-week.ps1 | 2 +- scripts/check-wind.ps1 | 2 +- scripts/check-windows-system-files.ps1 | 2 +- scripts/check-xml-file.ps1 | 2 +- scripts/check-xml-files.ps1 | 2 +- scripts/clean-repos.ps1 | 2 +- scripts/clear-dns-cache.ps1 | 2 +- scripts/clear-recycle-bin.ps1 | 2 +- scripts/clone-repos.ps1 | 2 +- scripts/clone-shallow.ps1 | 2 +- scripts/close-program.ps1 | 2 +- scripts/configure-git.ps1 | 2 +- scripts/connect-vpn.ps1 | 2 +- scripts/convert-csv2txt.ps1 | 2 +- scripts/convert-dir27z.ps1 | 2 +- scripts/convert-dir2zip.ps1 | 2 +- scripts/convert-docx2md.ps1 | 2 +- scripts/convert-frames2mp4.ps1 | 2 +- scripts/convert-history2ps1.ps1 | 4 ++-- scripts/convert-image2blurred-frames.ps1 | 2 +- scripts/convert-image2pixelated-frames.ps1 | 2 +- scripts/convert-md2html.ps1 | 2 +- scripts/convert-mysql2csv.ps1 | 2 +- scripts/convert-ps2bat.ps1 | 2 +- scripts/convert-ps2md.ps1 | 2 +- scripts/convert-sql2csv.ps1 | 2 +- scripts/convert-txt2wav.ps1 | 2 +- scripts/copy-photos-sorted.ps1 | 2 +- scripts/copy-videos-sorted.ps1 | 2 +- scripts/count-characters.ps1 | 2 +- scripts/count-lines.ps1 | 2 +- scripts/decrypt-file.ps1 | 2 +- scripts/disable-ipv6.ps1 | 4 ++-- scripts/disconnect-vpn.ps1 | 2 +- scripts/download-dir.ps1 | 2 +- scripts/download-file.ps1 | 2 +- scripts/enable-god-mode.ps1 | 2 +- scripts/enable-ipv6.ps1 | 4 ++-- scripts/encrypt-file.ps1 | 2 +- scripts/enter-host.ps1 | 2 +- scripts/export-to-manuals.ps1 | 2 +- scripts/fetch-repos.ps1 | 2 +- scripts/firefox-installer.ps1 | 2 +- scripts/get-md5.ps1 | 2 +- scripts/get-sha1.ps1 | 2 +- scripts/get-sha256.ps1 | 2 +- scripts/get-sha512.ps1 | 2 +- scripts/hibernate.ps1 | 2 +- scripts/inspect-exe.ps1 | 2 +- scripts/install-audacity.ps1 | 2 +- scripts/install-basic-apps.ps1 | 2 +- scripts/install-basic-snaps.ps1 | 2 +- scripts/install-calibre-server.ps1 | 2 +- scripts/install-chocolatey.ps1 | 2 +- scripts/install-chrome.ps1 | 2 +- scripts/install-crystal-disk-info.ps1 | 2 +- scripts/install-crystal-disk-mark.ps1 | 2 +- scripts/install-discord.ps1 | 2 +- scripts/install-edge.ps1 | 2 +- scripts/install-edit.ps1 | 2 +- scripts/install-evcc.ps1 | 2 +- scripts/install-firefox.ps1 | 2 +- scripts/install-git-extensions.ps1 | 2 +- scripts/install-git-for-windows.ps1 | 2 +- scripts/install-github-cli.ps1 | 2 +- scripts/install-h2static.ps1 | 2 +- scripts/install-irfanview.ps1 | 2 +- scripts/install-jenkins-agent.ps1 | 4 ++-- scripts/install-knot-resolver.ps1 | 2 +- scripts/install-microsoft-teams.ps1 | 2 +- scripts/install-mini-dlna.ps1 | 2 +- scripts/install-netflix.ps1 | 2 +- scripts/install-obs-studio.ps1 | 2 +- scripts/install-octoprint.ps1 | 2 +- scripts/install-one-calendar.ps1 | 2 +- scripts/install-opera-browser.ps1 | 2 +- scripts/install-opera-gx.ps1 | 2 +- scripts/install-paint-3d.ps1 | 2 +- scripts/install-power-toys.ps1 | 2 +- scripts/install-rufus.ps1 | 2 +- scripts/install-salesforce-cli.ps1 | 4 ++-- scripts/install-signal-cli.ps1 | 2 +- scripts/install-spotify.ps1 | 2 +- scripts/install-ssh-client.ps1 | 2 +- scripts/install-ssh-server.ps1 | 2 +- scripts/install-syncthing.ps1 | 2 +- scripts/install-thunderbird.ps1 | 2 +- scripts/install-unbound-server.ps1 | 2 +- scripts/install-visual-studio-code.ps1 | 2 +- scripts/install-vivaldi.ps1 | 2 +- scripts/install-vlc.ps1 | 2 +- scripts/install-windows-terminal.ps1 | 2 +- scripts/install-wsl.ps1 | 2 +- scripts/install-zoom.ps1 | 2 +- scripts/introduce-powershell.ps1 | 2 +- scripts/kill-process.ps1 | 2 +- scripts/list-aliases.ps1 | 2 +- scripts/list-anagrams.ps1 | 2 +- scripts/list-apps.ps1 | 2 +- scripts/list-automatic-variables.ps1 | 2 +- scripts/list-battery-status.ps1 | 2 +- scripts/list-bios.ps1 | 2 +- scripts/list-bluetooth-devices.ps1 | 2 +- scripts/list-branches.ps1 | 2 +- scripts/list-calendar.ps1 | 4 ++-- scripts/list-city-weather.ps1 | 4 ++-- scripts/list-cli-tools.ps1 | 2 +- scripts/list-clipboard.ps1 | 2 +- scripts/list-cmdlets.ps1 | 2 +- scripts/list-coffee-prices.ps1 | 2 +- scripts/list-commit-stats.ps1 | 2 +- scripts/list-commits.ps1 | 2 +- scripts/list-console-colors.ps1 | 2 +- scripts/list-countries.ps1 | 2 +- scripts/list-cpu.ps1 | 2 +- scripts/list-crypto-rates.ps1 | 2 +- scripts/list-defender-settings.ps1 | 2 +- scripts/list-dir-tree.ps1 | 2 +- scripts/list-dns-servers.ps1 | 2 +- scripts/list-drives.ps1 | 2 +- scripts/list-earthquakes.ps1 | 2 +- scripts/list-empty-dirs.ps1 | 2 +- scripts/list-empty-files.ps1 | 2 +- scripts/list-encrypted-files.ps1 | 2 +- scripts/list-environment-variables.ps1 | 2 +- scripts/list-exchange-rates.ps1 | 2 +- scripts/list-executables.ps1 | 2 +- scripts/list-files.ps1 | 2 +- scripts/list-folder.ps1 | 2 +- scripts/list-headlines.ps1 | 2 +- scripts/list-hidden-files.ps1 | 2 +- scripts/list-installed-hotfixes.ps1 | 2 +- scripts/list-installed-languages.ps1 | 2 +- scripts/list-installed-software.ps1 | 2 +- scripts/list-ipv6.ps1 | 4 ++-- scripts/list-latest-tag.ps1 | 2 +- scripts/list-latest-tags.ps1 | 2 +- scripts/list-local-ip.ps1 | 2 +- scripts/list-memos.ps1 | 2 +- scripts/list-network-connections.ps1 | 2 +- scripts/list-network-neighbors.ps1 | 2 +- scripts/list-network-routes.ps1 | 2 +- scripts/list-network-shares.ps1 | 2 +- scripts/list-news.ps1 | 2 +- scripts/list-nic.ps1 | 2 +- scripts/list-nina-warnings.ps1 | 2 +- scripts/list-old-branches.ps1 | 2 +- scripts/list-os-releases.ps1 | 2 +- scripts/list-os-updates.ps1 | 2 +- scripts/list-os.ps1 | 2 +- scripts/list-outlook-inbox.ps1 | 2 +- scripts/list-outlook-sent.ps1 | 2 +- scripts/list-passwords.ps1 | 2 +- scripts/list-pins.ps1 | 2 +- scripts/list-powershell-modules.ps1 | 2 +- scripts/list-powershell-profiles.ps1 | 2 +- scripts/list-powershell-verbs.ps1 | 2 +- scripts/list-print-jobs.ps1 | 2 +- scripts/list-printers.ps1 | 2 +- scripts/list-processes.ps1 | 2 +- scripts/list-pull-requests.ps1 | 2 +- scripts/list-ram.ps1 | 2 +- scripts/list-read-only-files.ps1 | 2 +- scripts/list-recycle-bin.ps1 | 2 +- scripts/list-repos.ps1 | 2 +- scripts/list-scripts.ps1 | 2 +- scripts/list-scsi-devices.ps1 | 2 +- scripts/list-services.ps1 | 2 +- scripts/list-special-folders.ps1 | 4 ++-- scripts/list-ssh-key.ps1 | 2 +- scripts/list-submodules.ps1 | 2 +- scripts/list-suggestions.ps1 | 2 +- scripts/list-system-devices.ps1 | 2 +- scripts/list-system-files.ps1 | 2 +- scripts/list-tags.ps1 | 2 +- scripts/list-tasks.ps1 | 2 +- scripts/list-timezone.ps1 | 2 +- scripts/list-timezones.ps1 | 2 +- scripts/list-usb-devices.ps1 | 2 +- scripts/list-user-accounts.ps1 | 2 +- scripts/list-user-groups.ps1 | 2 +- scripts/list-weather.ps1 | 2 +- scripts/list-wifi.ps1 | 2 +- scripts/list-window-titles.ps1 | 2 +- scripts/list-workdir.ps1 | 2 +- scripts/list-wsl-distros.ps1 | 4 ++-- scripts/locate-city.ps1 | 2 +- scripts/locate-ipaddress.ps1 | 2 +- scripts/locate-zip-code.ps1 | 2 +- scripts/lock-desktop.ps1 | 2 +- scripts/log-off.ps1 | 2 +- scripts/make-install.ps1 | 2 +- scripts/minimize-all-windows.ps1 | 2 +- scripts/move-mouse-pointer.ps1 | 4 ++-- scripts/new-branch.ps1 | 2 +- scripts/new-dir.ps1 | 2 +- scripts/new-email.ps1 | 2 +- scripts/new-junction.ps1 | 2 +- scripts/new-markdown-file.ps1 | 2 +- scripts/new-powershell-script.ps1 | 2 +- scripts/new-qrcode.ps1 | 2 +- scripts/new-shortcut.ps1 | 2 +- scripts/new-ssh-key.ps1 | 2 +- scripts/new-symlink.ps1 | 2 +- scripts/new-tab.ps1 | 2 +- scripts/new-tag.ps1 | 2 +- scripts/new-text-file.ps1 | 2 +- scripts/new-user.ps1 | 2 +- scripts/on-desktop-login.ps1 | 2 +- scripts/open-URL.ps1 | 2 +- scripts/open-auto-start-folder.ps1 | 2 +- scripts/open-bing-maps.ps1 | 4 ++-- scripts/open-calculator.ps1 | 2 +- scripts/open-chrome.ps1 | 2 +- scripts/open-clock.ps1 | 2 +- scripts/open-cortana.ps1 | 2 +- scripts/open-dashboards.ps1 | 2 +- scripts/open-default-browser.ps1 | 2 +- scripts/open-desktop-folder.ps1 | 2 +- scripts/open-documents-folder.ps1 | 2 +- scripts/open-downloads-folder.ps1 | 2 +- scripts/open-dropbox-folder.ps1 | 2 +- scripts/open-email-client.ps1 | 2 +- scripts/open-file-explorer.ps1 | 2 +- scripts/open-firefox.ps1 | 2 +- scripts/open-git-extensions.ps1 | 2 +- scripts/open-home-folder.ps1 | 2 +- scripts/open-magnifier.ps1 | 2 +- scripts/open-microsoft-paint.ps1 | 2 +- scripts/open-microsoft-teams.ps1 | 2 +- scripts/open-music-folder.ps1 | 2 +- scripts/open-notepad.ps1 | 2 +- scripts/open-obs-studio.ps1 | 2 +- scripts/open-one-drive-folder.ps1 | 2 +- scripts/open-outlook.ps1 | 2 +- scripts/open-paint-three-d.ps1 | 2 +- scripts/open-pictures-folder.ps1 | 2 +- scripts/open-recycle-bin-folder.ps1 | 2 +- scripts/open-remote-desktop.ps1 | 2 +- scripts/open-repos-folder.ps1 | 2 +- scripts/open-screen-clip.ps1 | 2 +- scripts/open-screen-sketch.ps1 | 2 +- scripts/open-skype.ps1 | 2 +- scripts/open-task-manager.ps1 | 2 +- scripts/open-temporary-folder.ps1 | 2 +- scripts/open-thunderbird.ps1 | 2 +- scripts/open-videos-folders.ps1 | 2 +- scripts/open-visual-studio.ps1 | 2 +- scripts/open-voice-recorder.ps1 | 2 +- scripts/pick-commit.ps1 | 2 +- scripts/ping-host.ps1 | 2 +- scripts/ping-internet.ps1 | 2 +- scripts/ping-local-devices.ps1 | 2 +- scripts/ping-weather.ps1 | 4 ++-- scripts/play-files.ps1 | 2 +- scripts/play-happy-birthday.ps1 | 2 +- scripts/play-imperial-march.ps1 | 2 +- scripts/play-jingle-bells.ps1 | 2 +- scripts/play-m3u.ps1 | 2 +- scripts/play-mission-impossible.ps1 | 2 +- scripts/play-mp3.ps1 | 2 +- scripts/play-system-sounds.ps1 | 2 +- scripts/poweroff.ps1 | 2 +- scripts/print-image.ps1 | 2 +- scripts/publish-to-ipfs.ps1 | 2 +- scripts/pull-repos.ps1 | 2 +- scripts/query-smart-data.ps1 | 2 +- scripts/reboot.ps1 | 2 +- scripts/remember.ps1 | 2 +- scripts/remind-me.ps1 | 2 +- scripts/remove-dir.ps1 | 2 +- scripts/remove-empty-dirs.ps1 | 2 +- scripts/remove-old-dirs.ps1 | 2 +- scripts/remove-print-jobs.ps1 | 2 +- scripts/remove-tag.ps1 | 2 +- scripts/remove-user.ps1 | 2 +- scripts/replace-in-files.ps1 | 2 +- scripts/restart-network-adapters.ps1 | 2 +- scripts/save-credentials.ps1 | 2 +- scripts/save-screenshot.ps1 | 2 +- scripts/scan-folder.ps1 | 2 +- scripts/search-files.ps1 | 2 +- scripts/search-repo.ps1 | 2 +- scripts/send-email.ps1 | 2 +- scripts/send-tcp.ps1 | 2 +- scripts/send-udp.ps1 | 2 +- scripts/set-timer.ps1 | 2 +- scripts/set-volume.ps1 | 2 +- scripts/set-wallpaper.ps1 | 2 +- scripts/show-notification.ps1 | 4 ++-- scripts/simulate-presence.ps1 | 2 +- scripts/smart-data2csv.ps1 | 2 +- scripts/speak-arabic.ps1 | 2 +- scripts/speak-checklist.ps1 | 2 +- scripts/speak-countdown.ps1 | 2 +- scripts/speak-croatian.ps1 | 2 +- scripts/speak-danish.ps1 | 2 +- scripts/speak-dutch.ps1 | 2 +- scripts/speak-english.ps1 | 2 +- scripts/speak-esperanto.ps1 | 2 +- scripts/speak-file.ps1 | 2 +- scripts/speak-finnish.ps1 | 2 +- scripts/speak-french.ps1 | 2 +- scripts/speak-german.ps1 | 2 +- scripts/speak-greek.ps1 | 2 +- scripts/speak-hebrew.ps1 | 2 +- scripts/speak-hindi.ps1 | 2 +- scripts/speak-italian.ps1 | 2 +- scripts/speak-japanese.ps1 | 2 +- scripts/speak-korean.ps1 | 2 +- scripts/speak-latin.ps1 | 2 +- scripts/speak-mandarin.ps1 | 2 +- scripts/speak-norwegian.ps1 | 2 +- scripts/speak-polish.ps1 | 2 +- scripts/speak-portuguese.ps1 | 2 +- scripts/speak-russian.ps1 | 2 +- scripts/speak-spanish.ps1 | 2 +- scripts/speak-swedish.ps1 | 2 +- scripts/speak-test.ps1 | 2 +- scripts/speak-text.ps1 | 2 +- scripts/speak-thai.ps1 | 2 +- scripts/speak-turkish.ps1 | 2 +- scripts/speak-ukrainian.ps1 | 2 +- scripts/spell-word.ps1 | 2 +- scripts/start-ipfs-server.ps1 | 2 +- scripts/suspend.ps1 | 4 ++-- scripts/switch-shelly1.ps1 | 2 +- scripts/switch-tabs.ps1 | 2 +- scripts/sync-dir.ps1 | 4 ++-- scripts/sync-repo.ps1 | 2 +- scripts/tell-joke.ps1 | 2 +- scripts/tell-new-year.ps1 | 2 +- scripts/tell-quote.ps1 | 2 +- scripts/toggle-caps-lock.ps1 | 4 ++-- scripts/toggle-num-lock.ps1 | 2 +- scripts/toggle-scroll-lock.ps1 | 4 ++-- scripts/touch.ps1 | 2 +- scripts/translate-file.ps1 | 2 +- scripts/translate-files.ps1 | 2 +- scripts/translate-text.ps1 | 2 +- scripts/turn-volume-down.ps1 | 2 +- scripts/turn-volume-fully-up.ps1 | 2 +- scripts/turn-volume-off.ps1 | 2 +- scripts/turn-volume-on.ps1 | 2 +- scripts/turn-volume-up.ps1 | 2 +- scripts/uninstall-all-apps.ps1 | 2 +- scripts/uninstall-new-outlook.ps1 | 2 +- scripts/uninstall-outlook.ps1 | 2 +- scripts/update-powershell-profile.ps1 | 2 +- scripts/upgrade-ubuntu.ps1 | 2 +- scripts/upload-file.ps1 | 2 +- scripts/upload-to-dropbox.ps1 | 2 +- scripts/wake-up-host.ps1 | 2 +- scripts/watch-commits.ps1 | 2 +- scripts/watch-crypto-rates.ps1 | 2 +- scripts/watch-host.ps1 | 4 ++-- scripts/watch-news.ps1 | 2 +- scripts/watch-ping.ps1 | 4 ++-- scripts/weather-report.ps1 | 2 +- scripts/weather.ps1 | 2 +- scripts/write-animated.ps1 | 2 +- scripts/write-big.ps1 | 2 +- scripts/write-braille.ps1 | 2 +- scripts/write-centered.ps1 | 4 ++-- scripts/write-changelog.ps1 | 2 +- scripts/write-clock.ps1 | 2 +- scripts/write-code.ps1 | 2 +- scripts/write-credits.ps1 | 2 +- scripts/write-date.ps1 | 4 ++-- scripts/write-hands-off.ps1 | 4 ++-- scripts/write-headline.ps1 | 4 ++-- scripts/write-help.ps1 | 2 +- scripts/write-in-emojis.ps1 | 4 ++-- scripts/write-joke.ps1 | 2 +- scripts/write-location.ps1 | 4 ++-- scripts/write-moon.ps1 | 4 ++-- scripts/write-morse-code.ps1 | 4 ++-- scripts/write-pi.ps1 | 2 +- scripts/write-quote.ps1 | 2 +- scripts/write-rot13.ps1 | 2 +- scripts/write-time.ps1 | 4 ++-- scripts/write-typewriter.ps1 | 4 ++-- scripts/write-vertical.ps1 | 2 +- 431 files changed, 462 insertions(+), 461 deletions(-) diff --git a/scripts/add-firewall-rules.ps1 b/scripts/add-firewall-rules.ps1 index a039ef8b5..c5a87230c 100755 --- a/scripts/add-firewall-rules.ps1 +++ b/scripts/add-firewall-rules.ps1 @@ -49,6 +49,7 @@ try { Write-Host -ForegroundColor Green "Done" } catch { - Write-Error "Error in line $($_.InvocationInfo.ScriptLineNumber): $($_.Exception.Message)" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + exit 1 } diff --git a/scripts/alert.ps1 b/scripts/alert.ps1 index 841f98f4a..d8d6deb4b 100755 --- a/scripts/alert.ps1 +++ b/scripts/alert.ps1 @@ -24,6 +24,6 @@ try { exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/build-repos.ps1 b/scripts/build-repos.ps1 index 335be023c..9c43cf034 100755 --- a/scripts/build-repos.ps1 +++ b/scripts/build-repos.ps1 @@ -35,6 +35,6 @@ try { "✅ Built $FolderCount Git repositories at 📂$ParentDirName in $Elapsed sec" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/change-wallpaper.ps1 b/scripts/change-wallpaper.ps1 index b31dab091..51308dc2b 100755 --- a/scripts/change-wallpaper.ps1 +++ b/scripts/change-wallpaper.ps1 @@ -32,6 +32,6 @@ try { & "$PSScriptRoot/set-wallpaper.ps1" -ImageFile "$Path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-admin.ps1 b/scripts/check-admin.ps1 index d5526de6e..fe5e0c152 100755 --- a/scripts/check-admin.ps1 +++ b/scripts/check-admin.ps1 @@ -28,6 +28,6 @@ try { } exit 0 # success } catch { - "⚠️ Error: $($Error[0]) (in script line $($_.InvocationInfo.ScriptLineNumber))" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-apps.ps1 b/scripts/check-apps.ps1 index 0dfb6ef7e..01a2b9217 100755 --- a/scripts/check-apps.ps1 +++ b/scripts/check-apps.ps1 @@ -48,6 +48,6 @@ try { Write-Host "$status $reply" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-bios.ps1 b/scripts/check-bios.ps1 index a429fe3cc..0ade44406 100755 --- a/scripts/check-bios.ps1 +++ b/scripts/check-bios.ps1 @@ -36,6 +36,6 @@ try { Write-Host "✅ BIOS model $model, version $($version)$($releaseDate), S/N $serial by $manufacturer" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-cpu.ps1 b/scripts/check-cpu.ps1 index ac65346af..6d0d4df48 100755 --- a/scripts/check-cpu.ps1 +++ b/scripts/check-cpu.ps1 @@ -80,6 +80,6 @@ try { Write-Host "$status $cpuName ($($arch)$cores cores$($temp)$($deviceID)$($speed)$($socket))" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-credentials.ps1 b/scripts/check-credentials.ps1 index 97e43227c..b42e9d638 100755 --- a/scripts/check-credentials.ps1 +++ b/scripts/check-credentials.ps1 @@ -33,6 +33,6 @@ try { "✅ Your credentials are correct." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-day.ps1 b/scripts/check-day.ps1 index 7391b232e..8412bf638 100755 --- a/scripts/check-day.ps1 +++ b/scripts/check-day.ps1 @@ -18,6 +18,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "It's $Weekday." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-dns.ps1 b/scripts/check-dns.ps1 index 3e2fa33e2..758c38c95 100755 --- a/scripts/check-dns.ps1 +++ b/scripts/check-dns.ps1 @@ -33,6 +33,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-drive-space.ps1 b/scripts/check-drive-space.ps1 index 1d499fa67..0c941423e 100755 --- a/scripts/check-drive-space.ps1 +++ b/scripts/check-drive-space.ps1 @@ -53,6 +53,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-drives.ps1 b/scripts/check-drives.ps1 index 7fd7989f4..3379767aa 100755 --- a/scripts/check-drives.ps1 +++ b/scripts/check-drives.ps1 @@ -54,6 +54,6 @@ try { Write-Host "$status $reply" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-dusk.ps1 b/scripts/check-dusk.ps1 index 31e5cd0d6..a48cf9b6e 100755 --- a/scripts/check-dusk.ps1 +++ b/scripts/check-dusk.ps1 @@ -39,6 +39,6 @@ try { Write-Output $Reply exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-easter-sunday.ps1 b/scripts/check-easter-sunday.ps1 index e9f8bf489..f4b83b43a 100755 --- a/scripts/check-easter-sunday.ps1 +++ b/scripts/check-easter-sunday.ps1 @@ -23,6 +23,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-file-system.ps1 b/scripts/check-file-system.ps1 index 6ece4e8d9..2e7e2828c 100755 --- a/scripts/check-file-system.ps1 +++ b/scripts/check-file-system.ps1 @@ -27,6 +27,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "File system on drive $Drive is clean." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-firewall.ps1 b/scripts/check-firewall.ps1 index 327e6a613..76ec287dd 100755 --- a/scripts/check-firewall.ps1 +++ b/scripts/check-firewall.ps1 @@ -26,6 +26,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-gpu.ps1 b/scripts/check-gpu.ps1 index d5f4f7ff4..53a9499ff 100755 --- a/scripts/check-gpu.ps1 +++ b/scripts/check-gpu.ps1 @@ -43,6 +43,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-independence-day.ps1 b/scripts/check-independence-day.ps1 index f461772f5..d71daff30 100755 --- a/scripts/check-independence-day.ps1 +++ b/scripts/check-independence-day.ps1 @@ -23,6 +23,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-ipv4-address.ps1 b/scripts/check-ipv4-address.ps1 index 76e0832f0..0fc388918 100755 --- a/scripts/check-ipv4-address.ps1 +++ b/scripts/check-ipv4-address.ps1 @@ -36,6 +36,6 @@ try { exit 1 } } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-ipv6-address.ps1 b/scripts/check-ipv6-address.ps1 index 447ee5a72..d42b5573b 100755 --- a/scripts/check-ipv6-address.ps1 +++ b/scripts/check-ipv6-address.ps1 @@ -50,6 +50,6 @@ try { exit 1 } } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-iss-position.ps1 b/scripts/check-iss-position.ps1 index effb6ec96..567a82040 100755 --- a/scripts/check-iss-position.ps1 +++ b/scripts/check-iss-position.ps1 @@ -17,6 +17,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "The International Space Station is currently at $($ISS.iss_position.longitude)° longitude and $($ISS.iss_position.latitude)° latitude." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-mac-address.ps1 b/scripts/check-mac-address.ps1 index 62f4dab9d..19232e549 100755 --- a/scripts/check-mac-address.ps1 +++ b/scripts/check-mac-address.ps1 @@ -38,6 +38,6 @@ try { exit 1 } } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-midnight.ps1 b/scripts/check-midnight.ps1 index e2835e517..bbed5b8a2 100755 --- a/scripts/check-midnight.ps1 +++ b/scripts/check-midnight.ps1 @@ -36,6 +36,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "$Reply" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-month.ps1 b/scripts/check-month.ps1 index 55ac3a942..2cb41afc7 100755 --- a/scripts/check-month.ps1 +++ b/scripts/check-month.ps1 @@ -18,6 +18,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "It's $MonthName." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-moon-phase.ps1 b/scripts/check-moon-phase.ps1 index 1a00df5c7..b42b60640 100755 --- a/scripts/check-moon-phase.ps1 +++ b/scripts/check-moon-phase.ps1 @@ -38,6 +38,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "$Reply" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-motherboard.ps1 b/scripts/check-motherboard.ps1 index dd278c57b..9299bf6d8 100755 --- a/scripts/check-motherboard.ps1 +++ b/scripts/check-motherboard.ps1 @@ -20,6 +20,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-noon.ps1 b/scripts/check-noon.ps1 index 2b613d174..fca8ecf25 100755 --- a/scripts/check-noon.ps1 +++ b/scripts/check-noon.ps1 @@ -35,6 +35,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "$Reply" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-os.ps1 b/scripts/check-os.ps1 index c7f15fd5b..ed3041630 100755 --- a/scripts/check-os.ps1 +++ b/scripts/check-os.ps1 @@ -34,6 +34,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-outlook.ps1 b/scripts/check-outlook.ps1 index 9c9c3f78c..52a25db33 100755 --- a/scripts/check-outlook.ps1 +++ b/scripts/check-outlook.ps1 @@ -26,6 +26,6 @@ try { if ($Unread -eq 0) { "✅ No new mails." } exit 0 # success } catch { - "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-password.ps1 b/scripts/check-password.ps1 index 5c5e38ea8..546f85d1e 100755 --- a/scripts/check-password.ps1 +++ b/scripts/check-password.ps1 @@ -47,6 +47,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-pending-reboot.ps1 b/scripts/check-pending-reboot.ps1 index d7076b3b8..425584569 100755 --- a/scripts/check-pending-reboot.ps1 +++ b/scripts/check-pending-reboot.ps1 @@ -66,6 +66,6 @@ try { Write-Host $reply exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-pnp-devices.ps1 b/scripts/check-pnp-devices.ps1 index 46c3e17c2..8dc297b59 100755 --- a/scripts/check-pnp-devices.ps1 +++ b/scripts/check-pnp-devices.ps1 @@ -20,6 +20,6 @@ try { Get-PnpDevice | Where-Object {$_.Status -like "Error"} | Format-Table -property FriendlyName,Status,InstanceId exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-power.ps1 b/scripts/check-power.ps1 index 2e6211144..5c969c6f0 100755 --- a/scripts/check-power.ps1 +++ b/scripts/check-power.ps1 @@ -52,6 +52,6 @@ try { Write-Host $reply exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-powershell.ps1 b/scripts/check-powershell.ps1 index 5b37c7bf5..2b7886000 100755 --- a/scripts/check-powershell.ps1 +++ b/scripts/check-powershell.ps1 @@ -35,6 +35,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-ps1-file.ps1 b/scripts/check-ps1-file.ps1 index 2c0b1d5e1..91cc68d9b 100755 --- a/scripts/check-ps1-file.ps1 +++ b/scripts/check-ps1-file.ps1 @@ -28,6 +28,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-ram.ps1 b/scripts/check-ram.ps1 index 3e3636c38..f33bf5f8d 100755 --- a/scripts/check-ram.ps1 +++ b/scripts/check-ram.ps1 @@ -74,6 +74,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-repo.ps1 b/scripts/check-repo.ps1 index ba635c267..407b056fb 100755 --- a/scripts/check-repo.ps1 +++ b/scripts/check-repo.ps1 @@ -74,6 +74,6 @@ try { "✅ Repo '$repoDirName' has been checked in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-repos.ps1 b/scripts/check-repos.ps1 index 5bdd1ed3a..8c0e332b2 100755 --- a/scripts/check-repos.ps1 +++ b/scripts/check-repos.ps1 @@ -40,6 +40,6 @@ try { "✅ $numFolders Git repos checked at 📂$parentDir in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-santa.ps1 b/scripts/check-santa.ps1 index 289f00524..7e36e77f1 100755 --- a/scripts/check-santa.ps1 +++ b/scripts/check-santa.ps1 @@ -18,6 +18,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "Saint Nicholas Day is in $($Diff.Days) days." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-smart-devices.ps1 b/scripts/check-smart-devices.ps1 index 0d34b32f9..9ac0d2cd7 100755 --- a/scripts/check-smart-devices.ps1 +++ b/scripts/check-smart-devices.ps1 @@ -96,6 +96,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-subnet-mask.ps1 b/scripts/check-subnet-mask.ps1 index b468dd3ec..b91ff776b 100755 --- a/scripts/check-subnet-mask.ps1 +++ b/scripts/check-subnet-mask.ps1 @@ -36,6 +36,6 @@ try { exit 1 } } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-swap-space.ps1 b/scripts/check-swap-space.ps1 index 10f6d2d4d..3e2842eea 100755 --- a/scripts/check-swap-space.ps1 +++ b/scripts/check-swap-space.ps1 @@ -59,6 +59,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-symlinks.ps1 b/scripts/check-symlinks.ps1 index bddcdbc16..1e1a37989 100755 --- a/scripts/check-symlinks.ps1 +++ b/scripts/check-symlinks.ps1 @@ -51,6 +51,6 @@ try { } exit $numBroken } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-time-zone.ps1 b/scripts/check-time-zone.ps1 index 86bfc12d2..2152e4d23 100755 --- a/scripts/check-time-zone.ps1 +++ b/scripts/check-time-zone.ps1 @@ -27,6 +27,6 @@ try { Write-Host "✅ $Time $TZName (UTC+$($offset)$($DST))" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-uptime.ps1 b/scripts/check-uptime.ps1 index 83e23abf1..e0a35c6f5 100755 --- a/scripts/check-uptime.ps1 +++ b/scripts/check-uptime.ps1 @@ -90,6 +90,6 @@ try { Write-Host "$status $(hostname) is up for $(TimeSpanAsString $uptime) since $($lastBootTime.ToShortDateString()) $pending" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-vpn.ps1 b/scripts/check-vpn.ps1 index 726147b14..c5b73e500 100755 --- a/scripts/check-vpn.ps1 +++ b/scripts/check-vpn.ps1 @@ -26,6 +26,6 @@ try { if ($noVPN) { Write-Host "⚠️ No VPN configured" } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-weather.ps1 b/scripts/check-weather.ps1 index 4200f0395..8b0746bc7 100755 --- a/scripts/check-weather.ps1 +++ b/scripts/check-weather.ps1 @@ -34,6 +34,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "$($Temp)°C, $($Precip)mm rain, $($Humidity)% humidity, $($WindSpeed)km/h wind from $WindDir with $($Clouds)% clouds and $($Visib)km visibility at $Area ($Region)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-week.ps1 b/scripts/check-week.ps1 index c1b86ac6e..142f4f4b3 100755 --- a/scripts/check-week.ps1 +++ b/scripts/check-week.ps1 @@ -16,6 +16,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "It's week #$WeekNo." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-wind.ps1 b/scripts/check-wind.ps1 index 3977cde06..d33dba9d5 100755 --- a/scripts/check-wind.ps1 +++ b/scripts/check-wind.ps1 @@ -25,6 +25,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "$($WindSpeed)km/h wind from $WindDir at $Area ($Region)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-windows-system-files.ps1 b/scripts/check-windows-system-files.ps1 index d17d601aa..dad562b99 100755 --- a/scripts/check-windows-system-files.ps1 +++ b/scripts/check-windows-system-files.ps1 @@ -21,6 +21,6 @@ try { "✅ checked Windows system files" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-xml-file.ps1 b/scripts/check-xml-file.ps1 index 62078923c..2621d2f74 100755 --- a/scripts/check-xml-file.ps1 +++ b/scripts/check-xml-file.ps1 @@ -37,6 +37,6 @@ try { "✅ $path is valid XML" exit 0 # success } catch { - "⚠️ $($Error[0]) in 📄$path" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/check-xml-files.ps1 b/scripts/check-xml-files.ps1 index 8f4807fef..d90350853 100755 --- a/scripts/check-xml-files.ps1 +++ b/scripts/check-xml-files.ps1 @@ -35,6 +35,6 @@ try { } exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/clean-repos.ps1 b/scripts/clean-repos.ps1 index 671b11366..6c5aa8e18 100755 --- a/scripts/clean-repos.ps1 +++ b/scripts/clean-repos.ps1 @@ -49,6 +49,6 @@ try { "✅ Cleaned $numFolders Git repositories under 📂$parentDirName in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/clear-dns-cache.ps1 b/scripts/clear-dns-cache.ps1 index 928971ee7..577b5bb12 100755 --- a/scripts/clear-dns-cache.ps1 +++ b/scripts/clear-dns-cache.ps1 @@ -21,6 +21,6 @@ try { "✅ DNS cache cleared in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/clear-recycle-bin.ps1 b/scripts/clear-recycle-bin.ps1 index 6d449d186..7f6f06c57 100755 --- a/scripts/clear-recycle-bin.ps1 +++ b/scripts/clear-recycle-bin.ps1 @@ -19,6 +19,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "It's clean now." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/clone-repos.ps1 b/scripts/clone-repos.ps1 index f4a928bb7..346ba36ff 100755 --- a/scripts/clone-repos.ps1 +++ b/scripts/clone-repos.ps1 @@ -66,6 +66,6 @@ try { "✅ Cloned $cloned additional Git repos into 📂$targetDirName in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/clone-shallow.ps1 b/scripts/clone-shallow.ps1 index 212275b7d..cbfb6d474 100755 --- a/scripts/clone-shallow.ps1 +++ b/scripts/clone-shallow.ps1 @@ -27,6 +27,6 @@ try { "✅ Cloned the shallow repository in $elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/close-program.ps1 b/scripts/close-program.ps1 index c65c9724d..a80321c9b 100755 --- a/scripts/close-program.ps1 +++ b/scripts/close-program.ps1 @@ -53,6 +53,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/configure-git.ps1 b/scripts/configure-git.ps1 index 3bb5815cd..954cff1c2 100755 --- a/scripts/configure-git.ps1 +++ b/scripts/configure-git.ps1 @@ -70,6 +70,6 @@ try { "✅ Saved your Git configuration to ~/.gitconfig in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber)): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/connect-vpn.ps1 b/scripts/connect-vpn.ps1 index 28234bc46..d7ccec32c 100755 --- a/scripts/connect-vpn.ps1 +++ b/scripts/connect-vpn.ps1 @@ -24,6 +24,6 @@ try { } throw "No VPN connection available" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/convert-csv2txt.ps1 b/scripts/convert-csv2txt.ps1 index 145676651..21f231110 100755 --- a/scripts/convert-csv2txt.ps1 +++ b/scripts/convert-csv2txt.ps1 @@ -25,6 +25,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/convert-dir27z.ps1 b/scripts/convert-dir27z.ps1 index 14dc2813d..40587bec7 100755 --- a/scripts/convert-dir27z.ps1 +++ b/scripts/convert-dir27z.ps1 @@ -33,6 +33,6 @@ try { "✅ Converted 📂$dirPath into $targetFile in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/convert-dir2zip.ps1 b/scripts/convert-dir2zip.ps1 index 71fa6e433..bf28b9e49 100755 --- a/scripts/convert-dir2zip.ps1 +++ b/scripts/convert-dir2zip.ps1 @@ -31,6 +31,6 @@ try { "✅ Converted into compressed $zipPath in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/convert-docx2md.ps1 b/scripts/convert-docx2md.ps1 index bfbf65d33..c6a3ecc8f 100755 --- a/scripts/convert-docx2md.ps1 +++ b/scripts/convert-docx2md.ps1 @@ -34,6 +34,6 @@ try { "✅ converted in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/convert-frames2mp4.ps1 b/scripts/convert-frames2mp4.ps1 index 5f47f9526..7c0cfe105 100755 --- a/scripts/convert-frames2mp4.ps1 +++ b/scripts/convert-frames2mp4.ps1 @@ -36,6 +36,6 @@ try { "✅ converted $($Files.Count) image frames to video $TargetFile in $Elapsed sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/convert-history2ps1.ps1 b/scripts/convert-history2ps1.ps1 index 1313ad5db..3d7387e84 100755 --- a/scripts/convert-history2ps1.ps1 +++ b/scripts/convert-history2ps1.ps1 @@ -30,6 +30,6 @@ try { "✅ Converted your command history into PowerShell script: $path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/convert-image2blurred-frames.ps1 b/scripts/convert-image2blurred-frames.ps1 index 5b2ff15c0..be4a344c3 100755 --- a/scripts/convert-image2blurred-frames.ps1 +++ b/scripts/convert-image2blurred-frames.ps1 @@ -46,6 +46,6 @@ try { "✅ converted image $ImageFile to $Frames blurred frames in 📂$TargetDir in $Elapsed sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/convert-image2pixelated-frames.ps1 b/scripts/convert-image2pixelated-frames.ps1 index d50c102e6..11bbf8452 100755 --- a/scripts/convert-image2pixelated-frames.ps1 +++ b/scripts/convert-image2pixelated-frames.ps1 @@ -46,6 +46,6 @@ try { "✅ converted image $SourceFile to $Frames pixelated frames in 📂$TargetDir in $Elapsed sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/convert-md2html.ps1 b/scripts/convert-md2html.ps1 index fffea5294..a9719ae49 100755 --- a/scripts/convert-md2html.ps1 +++ b/scripts/convert-md2html.ps1 @@ -33,6 +33,6 @@ try { "✅ converted in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/convert-mysql2csv.ps1 b/scripts/convert-mysql2csv.ps1 index b188def3d..c9e45ab13 100755 --- a/scripts/convert-mysql2csv.ps1 +++ b/scripts/convert-mysql2csv.ps1 @@ -36,6 +36,6 @@ try { $result | Export-Csv $csvfilepath -NoTypeInformation exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/convert-ps2bat.ps1 b/scripts/convert-ps2bat.ps1 index 2bd0e55cb..76b6b4cbf 100755 --- a/scripts/convert-ps2bat.ps1 +++ b/scripts/convert-ps2bat.ps1 @@ -42,6 +42,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/convert-ps2md.ps1 b/scripts/convert-ps2md.ps1 index dbca7dd48..0e579c72a 100755 --- a/scripts/convert-ps2md.ps1 +++ b/scripts/convert-ps2md.ps1 @@ -138,6 +138,6 @@ try { $now = [datetime]::Now "*(page generated by convert-ps2md.ps1 as of $now)*" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/convert-sql2csv.ps1 b/scripts/convert-sql2csv.ps1 index 7bf9e7ae5..27eaa24cf 100755 --- a/scripts/convert-sql2csv.ps1 +++ b/scripts/convert-sql2csv.ps1 @@ -37,6 +37,6 @@ try { $result | Export-Csv $csvfilepath -NoTypeInformation exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/convert-txt2wav.ps1 b/scripts/convert-txt2wav.ps1 index 912fb3f35..74b82b8a2 100755 --- a/scripts/convert-txt2wav.ps1 +++ b/scripts/convert-txt2wav.ps1 @@ -28,6 +28,6 @@ try { $SpeechSynthesizer.Dispose() exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/copy-photos-sorted.ps1 b/scripts/copy-photos-sorted.ps1 index a4d06db29..a5a711b1c 100755 --- a/scripts/copy-photos-sorted.ps1 +++ b/scripts/copy-photos-sorted.ps1 @@ -92,6 +92,6 @@ try { "✅ $copied photos copied to 📂$targetDir in $($elapsed)s ($skipped skipped)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/copy-videos-sorted.ps1 b/scripts/copy-videos-sorted.ps1 index 8d0060b0b..bd49e0956 100755 --- a/scripts/copy-videos-sorted.ps1 +++ b/scripts/copy-videos-sorted.ps1 @@ -76,6 +76,6 @@ try { "✅ $copied videos copied to 📂$targetDir in $($elapsed)s ($skipped skipped)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/count-characters.ps1 b/scripts/count-characters.ps1 index 9ee7418f0..ff33f3681 100755 --- a/scripts/count-characters.ps1 +++ b/scripts/count-characters.ps1 @@ -23,6 +23,6 @@ try { "✅ $numChars characters counted in '$givenString'." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/count-lines.ps1 b/scripts/count-lines.ps1 index 511696b0b..5c6919942 100755 --- a/scripts/count-lines.ps1 +++ b/scripts/count-lines.ps1 @@ -35,6 +35,6 @@ try { "✅ Found $numLines lines in $numFiles text files within 📂$folderName in $Elapsed sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/decrypt-file.ps1 b/scripts/decrypt-file.ps1 index 4ad2fcce8..3c310f5bf 100755 --- a/scripts/decrypt-file.ps1 +++ b/scripts/decrypt-file.ps1 @@ -141,6 +141,6 @@ try { "✅ file decrypted in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/disable-ipv6.ps1 b/scripts/disable-ipv6.ps1 index 26045d671..b13f826cb 100755 --- a/scripts/disable-ipv6.ps1 +++ b/scripts/disable-ipv6.ps1 @@ -17,6 +17,6 @@ try { "✅ IPv6 is disabled now." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/disconnect-vpn.ps1 b/scripts/disconnect-vpn.ps1 index 9df8c5045..0658ef1a5 100755 --- a/scripts/disconnect-vpn.ps1 +++ b/scripts/disconnect-vpn.ps1 @@ -24,6 +24,6 @@ try { } throw "No VPN connection found." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/download-dir.ps1 b/scripts/download-dir.ps1 index c812aa695..f7dcca0e7 100755 --- a/scripts/download-dir.ps1 +++ b/scripts/download-dir.ps1 @@ -30,6 +30,6 @@ try { "✅ downloaded directory from $URL in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/download-file.ps1 b/scripts/download-file.ps1 index b6e09d074..640a4e58c 100755 --- a/scripts/download-file.ps1 +++ b/scripts/download-file.ps1 @@ -30,6 +30,6 @@ try { "✅ downloaded file from $URL in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/enable-god-mode.ps1 b/scripts/enable-god-mode.ps1 index ae243aa42..a226b5d3c 100755 --- a/scripts/enable-god-mode.ps1 +++ b/scripts/enable-god-mode.ps1 @@ -22,6 +22,6 @@ try { "✅ God mode enabled - just double-click the new desktop icon." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/enable-ipv6.ps1 b/scripts/enable-ipv6.ps1 index cdaac7425..c1054b332 100755 --- a/scripts/enable-ipv6.ps1 +++ b/scripts/enable-ipv6.ps1 @@ -17,6 +17,6 @@ try { "✅ IPv6 is enabled now." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/encrypt-file.ps1 b/scripts/encrypt-file.ps1 index f9a108d32..aaac6cdd3 100755 --- a/scripts/encrypt-file.ps1 +++ b/scripts/encrypt-file.ps1 @@ -126,6 +126,6 @@ try { "✅ file encrypted in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/enter-host.ps1 b/scripts/enter-host.ps1 index 7987ca88f..39f519e48 100755 --- a/scripts/enter-host.ps1 +++ b/scripts/enter-host.ps1 @@ -43,6 +43,6 @@ try { & ssh "$($remoteUser)@$($remoteHost)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/export-to-manuals.ps1 b/scripts/export-to-manuals.ps1 index d868c5397..ad50abf4e 100755 --- a/scripts/export-to-manuals.ps1 +++ b/scripts/export-to-manuals.ps1 @@ -33,6 +33,6 @@ try { "✅ Exported $($scripts.Count) Markdown manuals in $elapsed sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/fetch-repos.ps1 b/scripts/fetch-repos.ps1 index 8e4bdf075..7e2301ced 100755 --- a/scripts/fetch-repos.ps1 +++ b/scripts/fetch-repos.ps1 @@ -47,6 +47,6 @@ try { "✅ Fetched into $numFolders Git repos at 📂$parentDirPath in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/firefox-installer.ps1 b/scripts/firefox-installer.ps1 index 0d4608628..60249c8d0 100755 --- a/scripts/firefox-installer.ps1 +++ b/scripts/firefox-installer.ps1 @@ -24,7 +24,7 @@ try { "installed Firefox in $Elapsed sec" exit 0 # successfully installed firefox } catch { - "Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/get-md5.ps1 b/scripts/get-md5.ps1 index 99176e667..f3ded7eae 100755 --- a/scripts/get-md5.ps1 +++ b/scripts/get-md5.ps1 @@ -26,6 +26,6 @@ try { "✅ MD5 hash is $($result.Hash)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/get-sha1.ps1 b/scripts/get-sha1.ps1 index 46b62e6db..6db873bb9 100755 --- a/scripts/get-sha1.ps1 +++ b/scripts/get-sha1.ps1 @@ -26,6 +26,6 @@ try { "✅ SHA1 hash is $($result.Hash)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/get-sha256.ps1 b/scripts/get-sha256.ps1 index 458f6ff48..4a7e3927c 100755 --- a/scripts/get-sha256.ps1 +++ b/scripts/get-sha256.ps1 @@ -25,6 +25,6 @@ try { "✅ SHA256 hash is $($result.Hash)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/get-sha512.ps1 b/scripts/get-sha512.ps1 index a11e83e69..1b307d546 100755 --- a/scripts/get-sha512.ps1 +++ b/scripts/get-sha512.ps1 @@ -25,6 +25,6 @@ try { "✅ SHA512 hash is $($result.Hash)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/hibernate.ps1 b/scripts/hibernate.ps1 index f708c10a5..479c19b62 100755 --- a/scripts/hibernate.ps1 +++ b/scripts/hibernate.ps1 @@ -20,6 +20,6 @@ try { & rundll32.exe powrprof.dll,SetSuspendState 1,1,0 # bHibernate,bForce,bWakeupEventsDisabled exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/inspect-exe.ps1 b/scripts/inspect-exe.ps1 index a3e0d16a1..1bfabea6f 100755 --- a/scripts/inspect-exe.ps1 +++ b/scripts/inspect-exe.ps1 @@ -21,6 +21,6 @@ try { Get-ChildItem $PathToExe | % {$_.VersionInfo} | Select * exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-audacity.ps1 b/scripts/install-audacity.ps1 index 3ede109f0..170b67b37 100755 --- a/scripts/install-audacity.ps1 +++ b/scripts/install-audacity.ps1 @@ -22,6 +22,6 @@ try { "Audacity installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-basic-apps.ps1 b/scripts/install-basic-apps.ps1 index eb96d6d59..115c49f7f 100755 --- a/scripts/install-basic-apps.ps1 +++ b/scripts/install-basic-apps.ps1 @@ -51,6 +51,6 @@ try { "✅ $numInstalled basic apps installed ($numSkipped skipped, took $($elapsed)s)" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-basic-snaps.ps1 b/scripts/install-basic-snaps.ps1 index 25e3293cd..6722ffe24 100755 --- a/scripts/install-basic-snaps.ps1 +++ b/scripts/install-basic-snaps.ps1 @@ -44,6 +44,6 @@ try { "✅ Installed 20 snap apps in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-calibre-server.ps1 b/scripts/install-calibre-server.ps1 index 34dd3d348..bd459b233 100755 --- a/scripts/install-calibre-server.ps1 +++ b/scripts/install-calibre-server.ps1 @@ -53,6 +53,6 @@ try { " (URL=http://$(hostname):$port media=$mediaFolder userDB=$userDB log=$logfile)." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-chocolatey.ps1 b/scripts/install-chocolatey.ps1 index 7377b629c..5903f5f42 100755 --- a/scripts/install-chocolatey.ps1 +++ b/scripts/install-chocolatey.ps1 @@ -18,6 +18,6 @@ try { iwr https://community.chocolatey.org/install.ps1 -UseBasicParsing | iex exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-chrome.ps1 b/scripts/install-chrome.ps1 index c1a220cf2..0331c5572 100755 --- a/scripts/install-chrome.ps1 +++ b/scripts/install-chrome.ps1 @@ -22,6 +22,6 @@ try { "Google Chrome installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-crystal-disk-info.ps1 b/scripts/install-crystal-disk-info.ps1 index 62513e25d..ce796fe8b 100755 --- a/scripts/install-crystal-disk-info.ps1 +++ b/scripts/install-crystal-disk-info.ps1 @@ -24,6 +24,6 @@ try { "✅ CrystalDiskInfo installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-crystal-disk-mark.ps1 b/scripts/install-crystal-disk-mark.ps1 index dc80ddd1f..b1f1f3f86 100755 --- a/scripts/install-crystal-disk-mark.ps1 +++ b/scripts/install-crystal-disk-mark.ps1 @@ -22,6 +22,6 @@ try { "CrystalDiskMark installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-discord.ps1 b/scripts/install-discord.ps1 index a03e21cae..74116c36b 100755 --- a/scripts/install-discord.ps1 +++ b/scripts/install-discord.ps1 @@ -22,6 +22,6 @@ try { "Discord installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-edge.ps1 b/scripts/install-edge.ps1 index 7e9060b97..d223245d9 100755 --- a/scripts/install-edge.ps1 +++ b/scripts/install-edge.ps1 @@ -22,6 +22,6 @@ try { "Microsoft Edge installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-edit.ps1 b/scripts/install-edit.ps1 index 94996adaa..2f441b420 100755 --- a/scripts/install-edit.ps1 +++ b/scripts/install-edit.ps1 @@ -31,6 +31,6 @@ try { "✅ Microsoft Edit installed successfully (took $($elapsed)s)." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-evcc.ps1 b/scripts/install-evcc.ps1 index 6ef70d375..45f6f0460 100755 --- a/scripts/install-evcc.ps1 +++ b/scripts/install-evcc.ps1 @@ -41,6 +41,6 @@ try { "✅ evcc installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-firefox.ps1 b/scripts/install-firefox.ps1 index 073430a80..594918721 100755 --- a/scripts/install-firefox.ps1 +++ b/scripts/install-firefox.ps1 @@ -26,6 +26,6 @@ try { "✅ Mozilla Firefox installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-git-extensions.ps1 b/scripts/install-git-extensions.ps1 index f6faf9e8c..277ec8ef4 100755 --- a/scripts/install-git-extensions.ps1 +++ b/scripts/install-git-extensions.ps1 @@ -22,6 +22,6 @@ try { "Git Extensions installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-git-for-windows.ps1 b/scripts/install-git-for-windows.ps1 index 19201d64d..d27933de3 100755 --- a/scripts/install-git-for-windows.ps1 +++ b/scripts/install-git-for-windows.ps1 @@ -22,6 +22,6 @@ try { "Git for Windows installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-github-cli.ps1 b/scripts/install-github-cli.ps1 index 3cf6dc839..6b938bc9e 100755 --- a/scripts/install-github-cli.ps1 +++ b/scripts/install-github-cli.ps1 @@ -31,6 +31,6 @@ try { "✅ GitHub CLI installed successfully in $($elapsed)s - to authenticate execute: 'gh auth login'" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-h2static.ps1 b/scripts/install-h2static.ps1 index 86ac76045..e3bffe873 100755 --- a/scripts/install-h2static.ps1 +++ b/scripts/install-h2static.ps1 @@ -38,6 +38,6 @@ try { "✅ h2static installed in $($elapsed)s, Web server runs at :$port, execute 'snap info h2static' for details." exit 0 # success } catch { - "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-irfanview.ps1 b/scripts/install-irfanview.ps1 index 6a47b25d7..a94af0f6c 100755 --- a/scripts/install-irfanview.ps1 +++ b/scripts/install-irfanview.ps1 @@ -22,6 +22,6 @@ try { "IrfanView installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-jenkins-agent.ps1 b/scripts/install-jenkins-agent.ps1 index b05657cc9..d4321f9cb 100755 --- a/scripts/install-jenkins-agent.ps1 +++ b/scripts/install-jenkins-agent.ps1 @@ -38,6 +38,6 @@ try { "✅ Jenkins Agent installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" - exit 1 + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + exit 1 } diff --git a/scripts/install-knot-resolver.ps1 b/scripts/install-knot-resolver.ps1 index 02a5c3e7e..2f452938c 100755 --- a/scripts/install-knot-resolver.ps1 +++ b/scripts/install-knot-resolver.ps1 @@ -32,6 +32,6 @@ try { "✅ installed Knot Resolver in $Elapsed sec" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-microsoft-teams.ps1 b/scripts/install-microsoft-teams.ps1 index 25f6a1bfc..1646490fb 100755 --- a/scripts/install-microsoft-teams.ps1 +++ b/scripts/install-microsoft-teams.ps1 @@ -22,6 +22,6 @@ try { "Microsoft Teams installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-mini-dlna.ps1 b/scripts/install-mini-dlna.ps1 index d55bd5b3f..17382a208 100755 --- a/scripts/install-mini-dlna.ps1 +++ b/scripts/install-mini-dlna.ps1 @@ -27,6 +27,6 @@ try { " Log file: /var/snap/minidlna-jdstrand/current/home/minidlna.log" exit 0 # success } catch { - "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-netflix.ps1 b/scripts/install-netflix.ps1 index 62887a316..39501fa6c 100755 --- a/scripts/install-netflix.ps1 +++ b/scripts/install-netflix.ps1 @@ -22,6 +22,6 @@ try { "Netflix installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-obs-studio.ps1 b/scripts/install-obs-studio.ps1 index 27d4d1cd6..c96e1e335 100755 --- a/scripts/install-obs-studio.ps1 +++ b/scripts/install-obs-studio.ps1 @@ -30,6 +30,6 @@ try { "✅ OBS Studio installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-octoprint.ps1 b/scripts/install-octoprint.ps1 index cb7b98997..4fd9bafa6 100755 --- a/scripts/install-octoprint.ps1 +++ b/scripts/install-octoprint.ps1 @@ -9,6 +9,6 @@ try { "HINT: Access Octoprint's web login at: http://:5000" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-one-calendar.ps1 b/scripts/install-one-calendar.ps1 index e5cbb7d29..592c8dbbf 100755 --- a/scripts/install-one-calendar.ps1 +++ b/scripts/install-one-calendar.ps1 @@ -22,6 +22,6 @@ try { "One Calendar installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-opera-browser.ps1 b/scripts/install-opera-browser.ps1 index 0385796e4..954425596 100755 --- a/scripts/install-opera-browser.ps1 +++ b/scripts/install-opera-browser.ps1 @@ -22,6 +22,6 @@ try { "Opera Browser installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-opera-gx.ps1 b/scripts/install-opera-gx.ps1 index 89f00d30c..c187c3add 100755 --- a/scripts/install-opera-gx.ps1 +++ b/scripts/install-opera-gx.ps1 @@ -22,6 +22,6 @@ try { "Opera GX installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-paint-3d.ps1 b/scripts/install-paint-3d.ps1 index 8345d73e0..5c5babd98 100755 --- a/scripts/install-paint-3d.ps1 +++ b/scripts/install-paint-3d.ps1 @@ -22,6 +22,6 @@ try { "Paint 3D installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-power-toys.ps1 b/scripts/install-power-toys.ps1 index c109d7097..4a59f1bb4 100755 --- a/scripts/install-power-toys.ps1 +++ b/scripts/install-power-toys.ps1 @@ -22,6 +22,6 @@ try { "Microsoft Powertoys installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-rufus.ps1 b/scripts/install-rufus.ps1 index ee5f78910..dba7d9847 100755 --- a/scripts/install-rufus.ps1 +++ b/scripts/install-rufus.ps1 @@ -22,6 +22,6 @@ try { "Rufus installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-salesforce-cli.ps1 b/scripts/install-salesforce-cli.ps1 index 45644d590..6d03b749e 100755 --- a/scripts/install-salesforce-cli.ps1 +++ b/scripts/install-salesforce-cli.ps1 @@ -33,6 +33,6 @@ try { exit 0 # success } catch { - Write-Output "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." - exit 1 + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + exit 1 } diff --git a/scripts/install-signal-cli.ps1 b/scripts/install-signal-cli.ps1 index df57ff538..6d55d0ff2 100755 --- a/scripts/install-signal-cli.ps1 +++ b/scripts/install-signal-cli.ps1 @@ -44,6 +44,6 @@ try { "✅ Signal-cli $Version installed to /opt and /usr/local/bin in $elapsed sec." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-spotify.ps1 b/scripts/install-spotify.ps1 index cf70a6e48..9608b0aab 100755 --- a/scripts/install-spotify.ps1 +++ b/scripts/install-spotify.ps1 @@ -22,6 +22,6 @@ try { "Spotify installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-ssh-client.ps1 b/scripts/install-ssh-client.ps1 index c6ddd5792..6b1ae464e 100755 --- a/scripts/install-ssh-client.ps1 +++ b/scripts/install-ssh-client.ps1 @@ -26,6 +26,6 @@ try { "✅ installed SSH client in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-ssh-server.ps1 b/scripts/install-ssh-server.ps1 index c8675fff4..86f52d015 100755 --- a/scripts/install-ssh-server.ps1 +++ b/scripts/install-ssh-server.ps1 @@ -40,6 +40,6 @@ try { "✅ installed and started SSH server in $Elapsed sec" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-syncthing.ps1 b/scripts/install-syncthing.ps1 index a6ea7b8ef..36fc70b1d 100755 --- a/scripts/install-syncthing.ps1 +++ b/scripts/install-syncthing.ps1 @@ -35,6 +35,6 @@ try { " Sync folder at: ~/Sync/ (execute: cd-sync.ps1)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-thunderbird.ps1 b/scripts/install-thunderbird.ps1 index 74ab6b083..7fc8f30f5 100755 --- a/scripts/install-thunderbird.ps1 +++ b/scripts/install-thunderbird.ps1 @@ -22,6 +22,6 @@ try { "Mozilla Thunderbird installed successfully." exit 0 # success } catch { - "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-unbound-server.ps1 b/scripts/install-unbound-server.ps1 index c709b7f17..27f1a2c7a 100755 --- a/scripts/install-unbound-server.ps1 +++ b/scripts/install-unbound-server.ps1 @@ -61,6 +61,6 @@ try { "✅ Installed Unbound in $Elapsed sec" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-visual-studio-code.ps1 b/scripts/install-visual-studio-code.ps1 index dff803a8a..31901117b 100755 --- a/scripts/install-visual-studio-code.ps1 +++ b/scripts/install-visual-studio-code.ps1 @@ -22,6 +22,6 @@ try { "Visual Studio Code installed successfully." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-vivaldi.ps1 b/scripts/install-vivaldi.ps1 index 022d67477..e5a5fed0f 100755 --- a/scripts/install-vivaldi.ps1 +++ b/scripts/install-vivaldi.ps1 @@ -22,6 +22,6 @@ try { "Vivaldi installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-vlc.ps1 b/scripts/install-vlc.ps1 index a7ab4e1e6..c3e294d89 100755 --- a/scripts/install-vlc.ps1 +++ b/scripts/install-vlc.ps1 @@ -26,6 +26,6 @@ try { "✅ VLC media player installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-windows-terminal.ps1 b/scripts/install-windows-terminal.ps1 index 9f485ae50..bc3a0274c 100755 --- a/scripts/install-windows-terminal.ps1 +++ b/scripts/install-windows-terminal.ps1 @@ -22,6 +22,6 @@ try { "Windows Terminal installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-wsl.ps1 b/scripts/install-wsl.ps1 index 57e100341..9947fcdc4 100755 --- a/scripts/install-wsl.ps1 +++ b/scripts/install-wsl.ps1 @@ -36,6 +36,6 @@ try { " NOTE: reboot now, then visit the Microsoft Store and install a Linux distribution (e.g. Ubuntu, openSUSE, SUSE Linux, Kali Linux, Debian, Fedora, Pengwin, or Alpine)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/install-zoom.ps1 b/scripts/install-zoom.ps1 index a54fe59d2..c9fe7eec5 100755 --- a/scripts/install-zoom.ps1 +++ b/scripts/install-zoom.ps1 @@ -22,6 +22,6 @@ try { "Zoom installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/introduce-powershell.ps1 b/scripts/introduce-powershell.ps1 index cc5e587af..5657ba09b 100755 --- a/scripts/introduce-powershell.ps1 +++ b/scripts/introduce-powershell.ps1 @@ -54,6 +54,6 @@ try { & "$PSScriptRoot/write-typewriter.ps1" " NOTE: Use + to open the links above in your browser" 100 exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/kill-process.ps1 b/scripts/kill-process.ps1 index 280eb376f..c531d32d9 100755 --- a/scripts/kill-process.ps1 +++ b/scripts/kill-process.ps1 @@ -21,6 +21,6 @@ try { "✔️ Stopped all processes matching '$processName'." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-aliases.ps1 b/scripts/list-aliases.ps1 index d670ba7ef..04f82da07 100755 --- a/scripts/list-aliases.ps1 +++ b/scripts/list-aliases.ps1 @@ -20,6 +20,6 @@ try { Get-Alias exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-anagrams.ps1 b/scripts/list-anagrams.ps1 index 5d0c83687..2145718b7 100755 --- a/scripts/list-anagrams.ps1 +++ b/scripts/list-anagrams.ps1 @@ -64,6 +64,6 @@ try { GetPermutations -String $Word | Format-Wide -Column $Columns exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-apps.ps1 b/scripts/list-apps.ps1 index 704c9d789..6847dbe6d 100755 --- a/scripts/list-apps.ps1 +++ b/scripts/list-apps.ps1 @@ -19,6 +19,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-automatic-variables.ps1 b/scripts/list-automatic-variables.ps1 index 4e0fdae21..454dadde8 100755 --- a/scripts/list-automatic-variables.ps1 +++ b/scripts/list-automatic-variables.ps1 @@ -76,6 +76,6 @@ try { ListAutomaticVariables | format-table -property Variable,Content exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-battery-status.ps1 b/scripts/list-battery-status.ps1 index cac9b8d71..464f5d970 100755 --- a/scripts/list-battery-status.ps1 +++ b/scripts/list-battery-status.ps1 @@ -20,6 +20,6 @@ try { [System.Windows.Forms.SystemInformation]::PowerStatus exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-bios.ps1 b/scripts/list-bios.ps1 index 3d51b6eef..7bb3ff800 100755 --- a/scripts/list-bios.ps1 +++ b/scripts/list-bios.ps1 @@ -19,6 +19,6 @@ try { Get-CimInstance -ClassName Win32_BIOS exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-bluetooth-devices.ps1 b/scripts/list-bluetooth-devices.ps1 index f844cc4ea..2279ff742 100755 --- a/scripts/list-bluetooth-devices.ps1 +++ b/scripts/list-bluetooth-devices.ps1 @@ -20,6 +20,6 @@ try { Get-PnpDevice | Where-Object {$_.Class -eq "Bluetooth"} | Sort-Object -property FriendlyName | Format-Table -property FriendlyName,Status,InstanceId exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-branches.ps1 b/scripts/list-branches.ps1 index 6b0d83c8c..be7ec44a6 100755 --- a/scripts/list-branches.ps1 +++ b/scripts/list-branches.ps1 @@ -45,6 +45,6 @@ try { "" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-calendar.ps1 b/scripts/list-calendar.ps1 index e3eb3bf77..0a5868cd8 100755 --- a/scripts/list-calendar.ps1 +++ b/scripts/list-calendar.ps1 @@ -164,6 +164,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/list-city-weather.ps1 b/scripts/list-city-weather.ps1 index 3543e6039..af43c8a8e 100755 --- a/scripts/list-city-weather.ps1 +++ b/scripts/list-city-weather.ps1 @@ -32,6 +32,6 @@ try { List-City-Weather | Format-Table -property @{e='CITY';width=19},@{e='TEMP';width=9},@{e='RAIN';width=14},@{e='WIND';width=12},@{e='SUN';width=20} exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index 7a778abe9..11a630fe9 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -346,6 +346,6 @@ try { List-CLI-Tools | Format-Table -property @{e='NAME';width=15},@{e='VERSION';width=16},@{e='PATH';width=90} exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-clipboard.ps1 b/scripts/list-clipboard.ps1 index 9e11b9164..7b2c389a4 100755 --- a/scripts/list-clipboard.ps1 +++ b/scripts/list-clipboard.ps1 @@ -17,6 +17,6 @@ try { Write-Output "📋 `“ $text `„" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-cmdlets.ps1 b/scripts/list-cmdlets.ps1 index 517c31775..8d44e2667 100755 --- a/scripts/list-cmdlets.ps1 +++ b/scripts/list-cmdlets.ps1 @@ -21,6 +21,6 @@ try { Get-Command -Command-Type cmdlet exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-coffee-prices.ps1 b/scripts/list-coffee-prices.ps1 index cb8638c0a..33c01aa32 100755 --- a/scripts/list-coffee-prices.ps1 +++ b/scripts/list-coffee-prices.ps1 @@ -55,6 +55,6 @@ try { } exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-commit-stats.ps1 b/scripts/list-commit-stats.ps1 index d2acb3778..436b38757 100755 --- a/scripts/list-commit-stats.ps1 +++ b/scripts/list-commit-stats.ps1 @@ -41,6 +41,6 @@ try { if ($lastExitCode -ne 0) { throw "'git shortlog' failed with exit code $lastExitCode" } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-commits.ps1 b/scripts/list-commits.ps1 index 96d105e46..0e50e7e39 100755 --- a/scripts/list-commits.ps1 +++ b/scripts/list-commits.ps1 @@ -58,6 +58,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-console-colors.ps1 b/scripts/list-console-colors.ps1 index a41eefdac..ddcf69040 100755 --- a/scripts/list-console-colors.ps1 +++ b/scripts/list-console-colors.ps1 @@ -29,6 +29,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-countries.ps1 b/scripts/list-countries.ps1 index 017d697d9..160103a1e 100755 --- a/scripts/list-countries.ps1 +++ b/scripts/list-countries.ps1 @@ -28,6 +28,6 @@ try { ListCountries | format-table -property Country,Capital,Population,TLD,Phone exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-cpu.ps1 b/scripts/list-cpu.ps1 index b1f98f2c7..00af0357d 100755 --- a/scripts/list-cpu.ps1 +++ b/scripts/list-cpu.ps1 @@ -19,6 +19,6 @@ try { Get-WmiObject -Class Win32_Processor exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-crypto-rates.ps1 b/scripts/list-crypto-rates.ps1 index d7376f418..67fd4a2d3 100755 --- a/scripts/list-crypto-rates.ps1 +++ b/scripts/list-crypto-rates.ps1 @@ -52,6 +52,6 @@ try { Write-Host "(by https://www.cryptocompare.com • Crypto is volatile and unregulated • Capital at risk • Taxes may apply)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-defender-settings.ps1 b/scripts/list-defender-settings.ps1 index 7048d727b..1c616e74b 100755 --- a/scripts/list-defender-settings.ps1 +++ b/scripts/list-defender-settings.ps1 @@ -24,6 +24,6 @@ try { "NOTE: Documentation at: https://learn.microsoft.com/en-us/previous-versions/windows/desktop/legacy/dn455323(v=vs.85)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-dir-tree.ps1 b/scripts/list-dir-tree.ps1 index 57760e97e..f4646c92e 100755 --- a/scripts/list-dir-tree.ps1 +++ b/scripts/list-dir-tree.ps1 @@ -73,6 +73,6 @@ try { " ($($global:files) files, $($global:folders) folders, depth $($global:depth), $(Bytes2String $global:bytes) total)" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-dns-servers.ps1 b/scripts/list-dns-servers.ps1 index 07170f624..c3ae7395d 100755 --- a/scripts/list-dns-servers.ps1 +++ b/scripts/list-dns-servers.ps1 @@ -36,6 +36,6 @@ try { List-DNS-Servers | Format-Table -property @{e='DNS PROVIDER';width=50},@{e='IPv4 ADDRESSES';width=32},@{e='LATENCY';width=15} exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-drives.ps1 b/scripts/list-drives.ps1 index e608d039c..362f1c719 100755 --- a/scripts/list-drives.ps1 +++ b/scripts/list-drives.ps1 @@ -19,6 +19,6 @@ try { Get-Volume exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-earthquakes.ps1 b/scripts/list-earthquakes.ps1 index 274ff01f0..57d5064d0 100755 --- a/scripts/list-earthquakes.ps1 +++ b/scripts/list-earthquakes.ps1 @@ -39,6 +39,6 @@ try { ListEarthquakes | Format-Table -property @{e='MAG';width=5},@{e='LOCATION';width=50},@{e='DEPTH';width=8},'TIME UTC' exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-empty-dirs.ps1 b/scripts/list-empty-dirs.ps1 index b3c11fc44..8a29d6f73 100755 --- a/scripts/list-empty-dirs.ps1 +++ b/scripts/list-empty-dirs.ps1 @@ -32,6 +32,6 @@ try { "✅ Found $count empty directories within 📂$path in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-empty-files.ps1 b/scripts/list-empty-files.ps1 index 9d3990560..424a88b07 100755 --- a/scripts/list-empty-files.ps1 +++ b/scripts/list-empty-files.ps1 @@ -32,6 +32,6 @@ try { "✅ Found $count empty files within $path in $elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-encrypted-files.ps1 b/scripts/list-encrypted-files.ps1 index ac2091f96..2ef725046 100755 --- a/scripts/list-encrypted-files.ps1 +++ b/scripts/list-encrypted-files.ps1 @@ -32,6 +32,6 @@ try { "✅ Found $count encrypted files within 📂$path in $elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-environment-variables.ps1 b/scripts/list-environment-variables.ps1 index 94113cef8..dc9e6e182 100755 --- a/scripts/list-environment-variables.ps1 +++ b/scripts/list-environment-variables.ps1 @@ -20,6 +20,6 @@ try { Get-ChildItem env: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-exchange-rates.ps1 b/scripts/list-exchange-rates.ps1 index c598ad0d7..7362fb35a 100755 --- a/scripts/list-exchange-rates.ps1 +++ b/scripts/list-exchange-rates.ps1 @@ -38,6 +38,6 @@ try { ListExchangeRates $currency | format-table -property Rate,Currency,Inverse,Date exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-executables.ps1 b/scripts/list-executables.ps1 index d9433bf2b..c5d27c652 100755 --- a/scripts/list-executables.ps1 +++ b/scripts/list-executables.ps1 @@ -33,6 +33,6 @@ try { "✅ Found $count executables within 📂$path in $elapsed sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-files.ps1 b/scripts/list-files.ps1 index fffacb9b6..130414655 100755 --- a/scripts/list-files.ps1 +++ b/scripts/list-files.ps1 @@ -21,6 +21,6 @@ try { Get-ChildItem -path $DirTree -recurse | select FullName exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-folder.ps1 b/scripts/list-folder.ps1 index 1368e944d..edb987db8 100755 --- a/scripts/list-folder.ps1 +++ b/scripts/list-folder.ps1 @@ -45,6 +45,6 @@ try { ListFolder $searchPattern | Format-Wide -autoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-headlines.ps1 b/scripts/list-headlines.ps1 index cbf16cd5c..9fc675551 100755 --- a/scripts/list-headlines.ps1 +++ b/scripts/list-headlines.ps1 @@ -31,6 +31,6 @@ try { " (by $source as of $date)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-hidden-files.ps1 b/scripts/list-hidden-files.ps1 index d641d1229..5949f9830 100755 --- a/scripts/list-hidden-files.ps1 +++ b/scripts/list-hidden-files.ps1 @@ -32,6 +32,6 @@ try { "✅ Found $count hidden files within 📂$path in $elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-installed-hotfixes.ps1 b/scripts/list-installed-hotfixes.ps1 index e0fcd2910..4b2217994 100755 --- a/scripts/list-installed-hotfixes.ps1 +++ b/scripts/list-installed-hotfixes.ps1 @@ -19,6 +19,6 @@ try { Get-Hotfix exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-installed-languages.ps1 b/scripts/list-installed-languages.ps1 index bf4680ddb..1eb1cf67c 100755 --- a/scripts/list-installed-languages.ps1 +++ b/scripts/list-installed-languages.ps1 @@ -26,6 +26,6 @@ try { ListInstalledLanguages | Format-Table -property Tag,Autonym,English,Spellchecking,Handwriting exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-installed-software.ps1 b/scripts/list-installed-software.ps1 index 690880f7f..f8eb688cb 100755 --- a/scripts/list-installed-software.ps1 +++ b/scripts/list-installed-software.ps1 @@ -20,6 +20,6 @@ try { Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*, HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*, HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | select-object DisplayName,DisplayVersion,InstallDate | Format-Table -autoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-ipv6.ps1 b/scripts/list-ipv6.ps1 index b36741889..77fda122b 100755 --- a/scripts/list-ipv6.ps1 +++ b/scripts/list-ipv6.ps1 @@ -20,6 +20,6 @@ try { Get-NetAdapterBinding -name '*' -componentID 'ms_tcpip6' | Format-Table -autoSize -property Name,Enabled exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/list-latest-tag.ps1 b/scripts/list-latest-tag.ps1 index f88608b75..11366683a 100755 --- a/scripts/list-latest-tag.ps1 +++ b/scripts/list-latest-tag.ps1 @@ -29,6 +29,6 @@ try { "✅ Tag '$LatestTagName' at commit $LatestTagCommit ('$LatestTagMessage')" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-latest-tags.ps1 b/scripts/list-latest-tags.ps1 index 92c7b9f2f..7c82ee818 100755 --- a/scripts/list-latest-tags.ps1 +++ b/scripts/list-latest-tags.ps1 @@ -38,6 +38,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-local-ip.ps1 b/scripts/list-local-ip.ps1 index e253ad010..8b9613ae8 100755 --- a/scripts/list-local-ip.ps1 +++ b/scripts/list-local-ip.ps1 @@ -38,6 +38,6 @@ try { WriteLocalInterface "Bluetooth" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-memos.ps1 b/scripts/list-memos.ps1 index 46e0c83d1..7c7d61aa8 100755 --- a/scripts/list-memos.ps1 +++ b/scripts/list-memos.ps1 @@ -30,6 +30,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-network-connections.ps1 b/scripts/list-network-connections.ps1 index 5bde80adc..4dfcfb0d8 100755 --- a/scripts/list-network-connections.ps1 +++ b/scripts/list-network-connections.ps1 @@ -15,6 +15,6 @@ try { & netstat -n exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-network-neighbors.ps1 b/scripts/list-network-neighbors.ps1 index d5b18d483..f2ba2340d 100755 --- a/scripts/list-network-neighbors.ps1 +++ b/scripts/list-network-neighbors.ps1 @@ -26,6 +26,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-network-routes.ps1 b/scripts/list-network-routes.ps1 index 04aa25f43..1700f2f2e 100755 --- a/scripts/list-network-routes.ps1 +++ b/scripts/list-network-routes.ps1 @@ -15,6 +15,6 @@ try { & route print exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-network-shares.ps1 b/scripts/list-network-shares.ps1 index bb0e8905d..632057ed9 100755 --- a/scripts/list-network-shares.ps1 +++ b/scripts/list-network-shares.ps1 @@ -27,6 +27,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-news.ps1 b/scripts/list-news.ps1 index 5a0420ae8..d914a23da 100755 --- a/scripts/list-news.ps1 +++ b/scripts/list-news.ps1 @@ -41,6 +41,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-nic.ps1 b/scripts/list-nic.ps1 index 77e7eb7f8..0fd441661 100755 --- a/scripts/list-nic.ps1 +++ b/scripts/list-nic.ps1 @@ -15,6 +15,6 @@ try { Get-WmiObject -Class Win32_NetworkAdapterConfiguration | Format-Table -property ServiceName,Description,IPAddress,DHCPEnabled -AutoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-nina-warnings.ps1 b/scripts/list-nina-warnings.ps1 index 387eab773..d90997035 100755 --- a/scripts/list-nina-warnings.ps1 +++ b/scripts/list-nina-warnings.ps1 @@ -52,6 +52,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-old-branches.ps1 b/scripts/list-old-branches.ps1 index 624c13952..ce89c865e 100755 --- a/scripts/list-old-branches.ps1 +++ b/scripts/list-old-branches.ps1 @@ -36,6 +36,6 @@ try { } exit 0 # success } catch { - Write-Error "Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-os-releases.ps1 b/scripts/list-os-releases.ps1 index 4f65479c6..354d00a7b 100755 --- a/scripts/list-os-releases.ps1 +++ b/scripts/list-os-releases.ps1 @@ -28,6 +28,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-os-updates.ps1 b/scripts/list-os-updates.ps1 index a29e02f10..340816026 100755 --- a/scripts/list-os-updates.ps1 +++ b/scripts/list-os-updates.ps1 @@ -33,6 +33,6 @@ try { " (source: DistroWatch.com)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-os.ps1 b/scripts/list-os.ps1 index 73520eb9a..1d9053296 100755 --- a/scripts/list-os.ps1 +++ b/scripts/list-os.ps1 @@ -23,6 +23,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-outlook-inbox.ps1 b/scripts/list-outlook-inbox.ps1 index 4a8b5d62e..818a4ecb0 100755 --- a/scripts/list-outlook-inbox.ps1 +++ b/scripts/list-outlook-inbox.ps1 @@ -18,6 +18,6 @@ try { $Inbox.items | Select Received,Subject | Format-Table -AutoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-outlook-sent.ps1 b/scripts/list-outlook-sent.ps1 index 1dc0322e8..c117b95bc 100755 --- a/scripts/list-outlook-sent.ps1 +++ b/scripts/list-outlook-sent.ps1 @@ -18,6 +18,6 @@ try { $Inbox.items | Select SentOn,Subject | Format-Table -AutoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-passwords.ps1 b/scripts/list-passwords.ps1 index 558cce5bc..ddc25ab9c 100755 --- a/scripts/list-passwords.ps1 +++ b/scripts/list-passwords.ps1 @@ -41,6 +41,6 @@ try { write-output "" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-pins.ps1 b/scripts/list-pins.ps1 index 719227d5f..cf766d023 100755 --- a/scripts/list-pins.ps1 +++ b/scripts/list-pins.ps1 @@ -35,6 +35,6 @@ try { write-output "" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-powershell-modules.ps1 b/scripts/list-powershell-modules.ps1 index 4b7e87c39..97863057b 100755 --- a/scripts/list-powershell-modules.ps1 +++ b/scripts/list-powershell-modules.ps1 @@ -20,6 +20,6 @@ try { Get-Module | Format-Table -property Name,Version,ModuleType,ExportedCommands exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-powershell-profiles.ps1 b/scripts/list-powershell-profiles.ps1 index b003b7393..43a6eaa10 100755 --- a/scripts/list-powershell-profiles.ps1 +++ b/scripts/list-powershell-profiles.ps1 @@ -34,6 +34,6 @@ try { ListProfiles | Format-Table -property Prio,'Profile Name',Exists,Location exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-powershell-verbs.ps1 b/scripts/list-powershell-verbs.ps1 index 12997fad3..2b1aaf02c 100755 --- a/scripts/list-powershell-verbs.ps1 +++ b/scripts/list-powershell-verbs.ps1 @@ -20,6 +20,6 @@ try { Get-Verb | Sort-Object -Property Verb exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-print-jobs.ps1 b/scripts/list-print-jobs.ps1 index 3d2731c53..250533066 100755 --- a/scripts/list-print-jobs.ps1 +++ b/scripts/list-print-jobs.ps1 @@ -42,6 +42,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-printers.ps1 b/scripts/list-printers.ps1 index 9a245927f..427a587ce 100755 --- a/scripts/list-printers.ps1 +++ b/scripts/list-printers.ps1 @@ -21,6 +21,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-processes.ps1 b/scripts/list-processes.ps1 index ba2c8fce3..180a348c2 100755 --- a/scripts/list-processes.ps1 +++ b/scripts/list-processes.ps1 @@ -20,6 +20,6 @@ try { Get-Process | Format-Table -Property Id, @{Label="CPU(s)";Expression={$_.CPU.ToString("N")+"%"};Alignment="Right"}, ProcessName -AutoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-pull-requests.ps1 b/scripts/list-pull-requests.ps1 index 8452c03a8..a11742dd2 100755 --- a/scripts/list-pull-requests.ps1 +++ b/scripts/list-pull-requests.ps1 @@ -36,6 +36,6 @@ try { if ($lastExitCode -ne 0) { throw "'git ls-remote' failed with exit code $lastExitCode" } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-ram.ps1 b/scripts/list-ram.ps1 index 50e1c8387..906944f78 100755 --- a/scripts/list-ram.ps1 +++ b/scripts/list-ram.ps1 @@ -19,6 +19,6 @@ try { Get-WmiObject -Class Win32_PhysicalMemory exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-read-only-files.ps1 b/scripts/list-read-only-files.ps1 index 706a94550..be8715943 100755 --- a/scripts/list-read-only-files.ps1 +++ b/scripts/list-read-only-files.ps1 @@ -32,6 +32,6 @@ try { "✅ Found $count read-only files within 📂$path in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-recycle-bin.ps1 b/scripts/list-recycle-bin.ps1 index ccaf624c1..b686cfd8b 100755 --- a/scripts/list-recycle-bin.ps1 +++ b/scripts/list-recycle-bin.ps1 @@ -15,6 +15,6 @@ try { (New-Object -ComObject Shell.Application).NameSpace(0x0a).Items() | Select-Object Name,Size,Path exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-repos.ps1 b/scripts/list-repos.ps1 index 57ea4082a..367df9ebf 100755 --- a/scripts/list-repos.ps1 +++ b/scripts/list-repos.ps1 @@ -49,6 +49,6 @@ try { ListRepos | Format-Table -property @{e='REPOSITORY';width=19},@{e='LATEST TAG';width=16},@{e='BRANCH';width=19},@{e='REMOTE URL';width=50},@{e='STATUS';width=10} exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-scripts.ps1 b/scripts/list-scripts.ps1 index 6d709e1ee..e7c3f28a3 100755 --- a/scripts/list-scripts.ps1 +++ b/scripts/list-scripts.ps1 @@ -46,6 +46,6 @@ try { # } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-scsi-devices.ps1 b/scripts/list-scsi-devices.ps1 index a83e7b310..2dd67aa5f 100755 --- a/scripts/list-scsi-devices.ps1 +++ b/scripts/list-scsi-devices.ps1 @@ -20,6 +20,6 @@ try { Get-PnpDevice | Where-Object {$_.Class -like "SCSI*"} | Sort-Object -property FriendlyName | Format-Table -property FriendlyName,Status,InstanceId exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-services.ps1 b/scripts/list-services.ps1 index 4c85e9775..1db694795 100755 --- a/scripts/list-services.ps1 +++ b/scripts/list-services.ps1 @@ -20,6 +20,6 @@ try { Get-Service exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-special-folders.ps1 b/scripts/list-special-folders.ps1 index ed932d1d4..51f763955 100755 --- a/scripts/list-special-folders.ps1 +++ b/scripts/list-special-folders.ps1 @@ -81,6 +81,6 @@ try { ListSpecialFolders | Format-Table -property @{e='Folder Name';width=22},'Folder Path' exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/list-ssh-key.ps1 b/scripts/list-ssh-key.ps1 index 57c5664b8..f193fd331 100755 --- a/scripts/list-ssh-key.ps1 +++ b/scripts/list-ssh-key.ps1 @@ -23,6 +23,6 @@ try { "✅ Public SSH key: $key" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-submodules.ps1 b/scripts/list-submodules.ps1 index 1e523b1aa..d97293902 100755 --- a/scripts/list-submodules.ps1 +++ b/scripts/list-submodules.ps1 @@ -34,6 +34,6 @@ try { exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-suggestions.ps1 b/scripts/list-suggestions.ps1 index 4fd63f155..6cf1a9c39 100755 --- a/scripts/list-suggestions.ps1 +++ b/scripts/list-suggestions.ps1 @@ -25,6 +25,6 @@ try { ($Content | ConvertFrom-Json).SyncRoot | Select-Object -Skip 1 exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-system-devices.ps1 b/scripts/list-system-devices.ps1 index d21540fbe..1f5d48a5c 100755 --- a/scripts/list-system-devices.ps1 +++ b/scripts/list-system-devices.ps1 @@ -20,6 +20,6 @@ try { Get-PnpDevice | Where-Object {$_.Class -like "System"} | Format-Table -property FriendlyName,Status,InstanceId exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-system-files.ps1 b/scripts/list-system-files.ps1 index 92abce7da..2fefdb49f 100755 --- a/scripts/list-system-files.ps1 +++ b/scripts/list-system-files.ps1 @@ -32,6 +32,6 @@ try { "✅ Found $count system files within 📂$path in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-tags.ps1 b/scripts/list-tags.ps1 index d421ceba8..375513a08 100755 --- a/scripts/list-tags.ps1 +++ b/scripts/list-tags.ps1 @@ -47,6 +47,6 @@ try { exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-tasks.ps1 b/scripts/list-tasks.ps1 index 9b538c819..a7a39a640 100755 --- a/scripts/list-tasks.ps1 +++ b/scripts/list-tasks.ps1 @@ -20,6 +20,6 @@ try { Get-ScheduledTask | Format-Table -property @{e='TASKNAME';width=40},@{e='TASKPATH';width=55},@{e='STATE';width=10} exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-timezone.ps1 b/scripts/list-timezone.ps1 index 2f6c58055..3da1ca1c6 100755 --- a/scripts/list-timezone.ps1 +++ b/scripts/list-timezone.ps1 @@ -20,6 +20,6 @@ try { Get-Timezone exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-timezones.ps1 b/scripts/list-timezones.ps1 index 8320dbeb4..4aaff56b9 100755 --- a/scripts/list-timezones.ps1 +++ b/scripts/list-timezones.ps1 @@ -21,6 +21,6 @@ try { Get-Timezone -listavailable | Format-Table -property Id,DisplayName,SupportsDaylightSavingTime exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-usb-devices.ps1 b/scripts/list-usb-devices.ps1 index c850fbf22..2c648985a 100755 --- a/scripts/list-usb-devices.ps1 +++ b/scripts/list-usb-devices.ps1 @@ -20,6 +20,6 @@ try { Get-PnpDevice | Where-Object {$_.Class -eq "USB"} | Sort-Object -property FriendlyName | Format-Table -property FriendlyName,Status,InstanceId exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-user-accounts.ps1 b/scripts/list-user-accounts.ps1 index 0be2b8905..c611979ba 100755 --- a/scripts/list-user-accounts.ps1 +++ b/scripts/list-user-accounts.ps1 @@ -19,6 +19,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-user-groups.ps1 b/scripts/list-user-groups.ps1 index 0fd2d7312..966d47b0b 100755 --- a/scripts/list-user-groups.ps1 +++ b/scripts/list-user-groups.ps1 @@ -20,6 +20,6 @@ try { Get-LocalGroup exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-weather.ps1 b/scripts/list-weather.ps1 index 7c2a4d8a3..39363e2e8 100755 --- a/scripts/list-weather.ps1 +++ b/scripts/list-weather.ps1 @@ -128,6 +128,6 @@ try { } exit 0 # success } catch { - "⚠️ Sorry: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-wifi.ps1 b/scripts/list-wifi.ps1 index b764ae97c..0e8e074e0 100755 --- a/scripts/list-wifi.ps1 +++ b/scripts/list-wifi.ps1 @@ -15,6 +15,6 @@ try { & netsh wlan show profile exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-window-titles.ps1 b/scripts/list-window-titles.ps1 index abcab357b..565426ab3 100755 --- a/scripts/list-window-titles.ps1 +++ b/scripts/list-window-titles.ps1 @@ -20,6 +20,6 @@ try { Get-Process | Where-Object {$_.mainWindowTitle} | Format-Table ID,ProcessName,MainWindowTitle -AutoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-workdir.ps1 b/scripts/list-workdir.ps1 index ab1262b4b..c8f9555ce 100755 --- a/scripts/list-workdir.ps1 +++ b/scripts/list-workdir.ps1 @@ -17,6 +17,6 @@ try { "📂$Path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/list-wsl-distros.ps1 b/scripts/list-wsl-distros.ps1 index 9c4e53b1f..31d2ceefa 100755 --- a/scripts/list-wsl-distros.ps1 +++ b/scripts/list-wsl-distros.ps1 @@ -24,6 +24,6 @@ try { & wsl.exe --status exit 0 # success } catch { - "⚠️ Error: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/locate-city.ps1 b/scripts/locate-city.ps1 index 365565219..ca35220ab 100755 --- a/scripts/locate-city.ps1 +++ b/scripts/locate-city.ps1 @@ -38,6 +38,6 @@ try { if (-not $foundOne) { throw "No city '$city' found in database" } exit 0 # success } catch { - "⚠️ Error $($_.InvocationInfo.ScriptLineNumber): $($Error[0])." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/locate-ipaddress.ps1 b/scripts/locate-ipaddress.ps1 index 0c1502da9..9dc2a01e3 100755 --- a/scripts/locate-ipaddress.ps1 +++ b/scripts/locate-ipaddress.ps1 @@ -22,6 +22,6 @@ try { write-output $result exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/locate-zip-code.ps1 b/scripts/locate-zip-code.ps1 index 923be1bb6..75fcc99b1 100755 --- a/scripts/locate-zip-code.ps1 +++ b/scripts/locate-zip-code.ps1 @@ -44,6 +44,6 @@ try { } throw "Zip-code $ZipCode in country $CountryCode not found" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/lock-desktop.ps1 b/scripts/lock-desktop.ps1 index c3e2727cf..00ab25406 100755 --- a/scripts/lock-desktop.ps1 +++ b/scripts/lock-desktop.ps1 @@ -16,6 +16,6 @@ try { rundll32.exe user32.dll,LockWorkStation exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/log-off.ps1 b/scripts/log-off.ps1 index cd77d741f..33cd8dae8 100755 --- a/scripts/log-off.ps1 +++ b/scripts/log-off.ps1 @@ -15,6 +15,6 @@ try { Invoke-CimMethod -ClassName Win32_Operatingsystem -MethodName Win32Shutdown -Arguments @{ Flags = 0 } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/make-install.ps1 b/scripts/make-install.ps1 index 2a4d6428f..9a8803360 100755 --- a/scripts/make-install.ps1 +++ b/scripts/make-install.ps1 @@ -26,6 +26,6 @@ try { "✅ synced to %DST_DIR%" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/minimize-all-windows.ps1 b/scripts/minimize-all-windows.ps1 index e350744e1..827a8f1c7 100755 --- a/scripts/minimize-all-windows.ps1 +++ b/scripts/minimize-all-windows.ps1 @@ -16,6 +16,6 @@ try { $shell.minimizeall() exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/move-mouse-pointer.ps1 b/scripts/move-mouse-pointer.ps1 index 393540853..3fc3368df 100755 --- a/scripts/move-mouse-pointer.ps1 +++ b/scripts/move-mouse-pointer.ps1 @@ -28,6 +28,6 @@ try { [System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point($x, $y) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/new-branch.ps1 b/scripts/new-branch.ps1 index b42311b49..5d588cfd3 100755 --- a/scripts/new-branch.ps1 +++ b/scripts/new-branch.ps1 @@ -65,6 +65,6 @@ try { "✅ Repo '$repoName' on new branch '$newBranch' (based on '$currentBranch', took $($elapsed)s)." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/new-dir.ps1 b/scripts/new-dir.ps1 index 6bb0effcb..c9b12111f 100755 --- a/scripts/new-dir.ps1 +++ b/scripts/new-dir.ps1 @@ -27,6 +27,6 @@ try { "✅ New 📂$path created." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/new-email.ps1 b/scripts/new-email.ps1 index fbbe369bf..cc0ac34b6 100755 --- a/scripts/new-email.ps1 +++ b/scripts/new-email.ps1 @@ -20,6 +20,6 @@ try { Start-Process $URL exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/new-junction.ps1 b/scripts/new-junction.ps1 index 1af2c116c..0da04c8be 100755 --- a/scripts/new-junction.ps1 +++ b/scripts/new-junction.ps1 @@ -27,6 +27,6 @@ try { "✅ New junction '$junction' created, linking to: 📂$targetDir" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/new-markdown-file.ps1 b/scripts/new-markdown-file.ps1 index 1ecc0c3db..3966fae9d 100755 --- a/scripts/new-markdown-file.ps1 +++ b/scripts/new-markdown-file.ps1 @@ -26,6 +26,6 @@ try { "✅ New '$path' created (from data/templates/New.md)." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/new-powershell-script.ps1 b/scripts/new-powershell-script.ps1 index fff4c588c..f8d20edba 100755 --- a/scripts/new-powershell-script.ps1 +++ b/scripts/new-powershell-script.ps1 @@ -26,6 +26,6 @@ try { "✅ New '$path' created (from data/templates/New.ps1)." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/new-qrcode.ps1 b/scripts/new-qrcode.ps1 index f56e9bf77..5c8b1b136 100755 --- a/scripts/new-qrcode.ps1 +++ b/scripts/new-qrcode.ps1 @@ -45,6 +45,6 @@ try { "✅ New QR code saved as: $newFile" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/new-shortcut.ps1 b/scripts/new-shortcut.ps1 index cdc7ee060..713b83fdb 100755 --- a/scripts/new-shortcut.ps1 +++ b/scripts/new-shortcut.ps1 @@ -35,6 +35,6 @@ try { "✅ created new shortcut $shortcut ⭢ $target" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/new-ssh-key.ps1 b/scripts/new-ssh-key.ps1 index 5cfb4dfa5..eb45627ef 100755 --- a/scripts/new-ssh-key.ps1 +++ b/scripts/new-ssh-key.ps1 @@ -30,6 +30,6 @@ try { " $publicKey" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/new-symlink.ps1 b/scripts/new-symlink.ps1 index 60343bddd..d4155e324 100755 --- a/scripts/new-symlink.ps1 +++ b/scripts/new-symlink.ps1 @@ -28,6 +28,6 @@ try { "✅ Created new symlink '$symlink' linking to: $target" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/new-tab.ps1 b/scripts/new-tab.ps1 index 4acd942c8..db72cc155 100755 --- a/scripts/new-tab.ps1 +++ b/scripts/new-tab.ps1 @@ -19,6 +19,6 @@ try { "✅ Created a new tab in Windows Terminal." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/new-tag.ps1 b/scripts/new-tag.ps1 index 63fb2b002..164313a10 100755 --- a/scripts/new-tag.ps1 +++ b/scripts/new-tag.ps1 @@ -45,6 +45,6 @@ try { "✅ Created new tag '$TagName' in $Elapsed sec" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/new-text-file.ps1 b/scripts/new-text-file.ps1 index 9f7b88433..3461a2367 100755 --- a/scripts/new-text-file.ps1 +++ b/scripts/new-text-file.ps1 @@ -26,6 +26,6 @@ try { "✅ New '$path' created (from data/templates/New.txt)." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/new-user.ps1 b/scripts/new-user.ps1 index 1c393a55a..164b2b523 100755 --- a/scripts/new-user.ps1 +++ b/scripts/new-user.ps1 @@ -29,6 +29,6 @@ try { "✅ Created user account '$username' with encrypted home directory in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/on-desktop-login.ps1 b/scripts/on-desktop-login.ps1 index f8d914dbc..33b223d77 100755 --- a/scripts/on-desktop-login.ps1 +++ b/scripts/on-desktop-login.ps1 @@ -34,6 +34,6 @@ try { & "$PSScriptRoot/watch-news.ps1" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-URL.ps1 b/scripts/open-URL.ps1 index 010432a37..7c4f25a08 100755 --- a/scripts/open-URL.ps1 +++ b/scripts/open-URL.ps1 @@ -33,6 +33,6 @@ try { } exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-auto-start-folder.ps1 b/scripts/open-auto-start-folder.ps1 index e16861600..23e53cf53 100755 --- a/scripts/open-auto-start-folder.ps1 +++ b/scripts/open-auto-start-folder.ps1 @@ -21,6 +21,6 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-bing-maps.ps1 b/scripts/open-bing-maps.ps1 index 67044e211..2d9457e64 100755 --- a/scripts/open-bing-maps.ps1 +++ b/scripts/open-bing-maps.ps1 @@ -14,9 +14,9 @@ #requires -version 5.1 try { - start-process bingmaps: + Start-Process bingmaps: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-calculator.ps1 b/scripts/open-calculator.ps1 index 79670b25f..eeeb42730 100755 --- a/scripts/open-calculator.ps1 +++ b/scripts/open-calculator.ps1 @@ -17,6 +17,6 @@ try { Start-Process ms-calculator: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-chrome.ps1 b/scripts/open-chrome.ps1 index 6fb3dc711..19ca5d12e 100755 --- a/scripts/open-chrome.ps1 +++ b/scripts/open-chrome.ps1 @@ -21,6 +21,6 @@ try { Start-Process chrome.exe "$URL" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-clock.ps1 b/scripts/open-clock.ps1 index f74af2f1f..8d45131a7 100755 --- a/scripts/open-clock.ps1 +++ b/scripts/open-clock.ps1 @@ -17,6 +17,6 @@ try { Start-Process ms-clock: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-cortana.ps1 b/scripts/open-cortana.ps1 index c1557bca4..841d45e61 100755 --- a/scripts/open-cortana.ps1 +++ b/scripts/open-cortana.ps1 @@ -17,6 +17,6 @@ try { Start-Process ms-cortana2: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-dashboards.ps1 b/scripts/open-dashboards.ps1 index 8f32a0c3c..acc3c8b9c 100755 --- a/scripts/open-dashboards.ps1 +++ b/scripts/open-dashboards.ps1 @@ -35,6 +35,6 @@ try { Write-Host "NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-default-browser.ps1 b/scripts/open-default-browser.ps1 index aab1df3fd..9c82a2d73 100755 --- a/scripts/open-default-browser.ps1 +++ b/scripts/open-default-browser.ps1 @@ -21,6 +21,6 @@ try { Start-Process $URL exit 0 # success } catch { - "⚠️ ERROR: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-desktop-folder.ps1 b/scripts/open-desktop-folder.ps1 index 11021c5ce..a6d48232d 100755 --- a/scripts/open-desktop-folder.ps1 +++ b/scripts/open-desktop-folder.ps1 @@ -21,6 +21,6 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-documents-folder.ps1 b/scripts/open-documents-folder.ps1 index e607542a7..5f823531d 100755 --- a/scripts/open-documents-folder.ps1 +++ b/scripts/open-documents-folder.ps1 @@ -21,6 +21,6 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-downloads-folder.ps1 b/scripts/open-downloads-folder.ps1 index 1b4f134e7..7aa3575a0 100755 --- a/scripts/open-downloads-folder.ps1 +++ b/scripts/open-downloads-folder.ps1 @@ -25,6 +25,6 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" $Path exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-dropbox-folder.ps1 b/scripts/open-dropbox-folder.ps1 index 984514771..5a1cbb13a 100755 --- a/scripts/open-dropbox-folder.ps1 +++ b/scripts/open-dropbox-folder.ps1 @@ -21,6 +21,6 @@ try { } throw "No Dropbox folder at 📂$HOME/Dropbox" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-email-client.ps1 b/scripts/open-email-client.ps1 index 0c6d8d8a2..4b5de13f3 100755 --- a/scripts/open-email-client.ps1 +++ b/scripts/open-email-client.ps1 @@ -17,6 +17,6 @@ try { start-process "mailto:markus@fleschutz.de" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-file-explorer.ps1 b/scripts/open-file-explorer.ps1 index fbadf4773..66fd3640e 100755 --- a/scripts/open-file-explorer.ps1 +++ b/scripts/open-file-explorer.ps1 @@ -25,6 +25,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-firefox.ps1 b/scripts/open-firefox.ps1 index 3e95eb1c4..e7ee8e0b3 100755 --- a/scripts/open-firefox.ps1 +++ b/scripts/open-firefox.ps1 @@ -28,6 +28,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-git-extensions.ps1 b/scripts/open-git-extensions.ps1 index d3abccc81..76f277496 100755 --- a/scripts/open-git-extensions.ps1 +++ b/scripts/open-git-extensions.ps1 @@ -26,6 +26,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "Sorry, can't find Git Extensions." exit 1 } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-home-folder.ps1 b/scripts/open-home-folder.ps1 index 4a8e608a2..d66966486 100755 --- a/scripts/open-home-folder.ps1 +++ b/scripts/open-home-folder.ps1 @@ -21,6 +21,6 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-magnifier.ps1 b/scripts/open-magnifier.ps1 index a3fb24ed6..8ac6f929a 100755 --- a/scripts/open-magnifier.ps1 +++ b/scripts/open-magnifier.ps1 @@ -17,6 +17,6 @@ try { Start-Process magnify.exe exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-microsoft-paint.ps1 b/scripts/open-microsoft-paint.ps1 index 0be74da21..d8fb462f1 100755 --- a/scripts/open-microsoft-paint.ps1 +++ b/scripts/open-microsoft-paint.ps1 @@ -17,6 +17,6 @@ try { start-process mspaint.exe exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-microsoft-teams.ps1 b/scripts/open-microsoft-teams.ps1 index 24d14fc21..5eceaeb7f 100755 --- a/scripts/open-microsoft-teams.ps1 +++ b/scripts/open-microsoft-teams.ps1 @@ -17,6 +17,6 @@ try { Start-Process msteams: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-music-folder.ps1 b/scripts/open-music-folder.ps1 index f6333aad0..63fc8e421 100755 --- a/scripts/open-music-folder.ps1 +++ b/scripts/open-music-folder.ps1 @@ -21,6 +21,6 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-notepad.ps1 b/scripts/open-notepad.ps1 index f661a9436..487f7d569 100755 --- a/scripts/open-notepad.ps1 +++ b/scripts/open-notepad.ps1 @@ -17,6 +17,6 @@ try { Start-Process notepad.exe exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-obs-studio.ps1 b/scripts/open-obs-studio.ps1 index 9016eb57c..799557682 100755 --- a/scripts/open-obs-studio.ps1 +++ b/scripts/open-obs-studio.ps1 @@ -25,6 +25,6 @@ try { TryLaunching "C:\Program Files\OBS Studio\bin\64bit\obs64.exe" "C:\Program Files\OBS Studio\bin\64bit\" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-one-drive-folder.ps1 b/scripts/open-one-drive-folder.ps1 index 4dd738562..37dbdad78 100755 --- a/scripts/open-one-drive-folder.ps1 +++ b/scripts/open-one-drive-folder.ps1 @@ -21,6 +21,6 @@ try { } throw "No OneDrive folder at 📂$HOME/Dropbox" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-outlook.ps1 b/scripts/open-outlook.ps1 index db0587add..891c1b132 100755 --- a/scripts/open-outlook.ps1 +++ b/scripts/open-outlook.ps1 @@ -25,6 +25,6 @@ try { TryToExec "C:\Programs\Microsoft Office\Office14" "OUTLOOK.EXE" throw "It seems Outlook isn't installed yet." } catch { - & "$PSScriptRoot/speak-english.ps1" "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-paint-three-d.ps1 b/scripts/open-paint-three-d.ps1 index 43164011e..7908ea62f 100755 --- a/scripts/open-paint-three-d.ps1 +++ b/scripts/open-paint-three-d.ps1 @@ -17,6 +17,6 @@ try { Start-Process ms-paint: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-pictures-folder.ps1 b/scripts/open-pictures-folder.ps1 index 2e3cdcca7..cfd50bf0c 100755 --- a/scripts/open-pictures-folder.ps1 +++ b/scripts/open-pictures-folder.ps1 @@ -21,6 +21,6 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-recycle-bin-folder.ps1 b/scripts/open-recycle-bin-folder.ps1 index 9affd657f..df66de7fa 100755 --- a/scripts/open-recycle-bin-folder.ps1 +++ b/scripts/open-recycle-bin-folder.ps1 @@ -17,6 +17,6 @@ try { Start shell:recyclebinfolder exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-remote-desktop.ps1 b/scripts/open-remote-desktop.ps1 index 9eb443874..e8821a4ed 100755 --- a/scripts/open-remote-desktop.ps1 +++ b/scripts/open-remote-desktop.ps1 @@ -17,6 +17,6 @@ try { Start-Process ms-rd: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-repos-folder.ps1 b/scripts/open-repos-folder.ps1 index 7856cd3ec..849f5fa82 100755 --- a/scripts/open-repos-folder.ps1 +++ b/scripts/open-repos-folder.ps1 @@ -21,6 +21,6 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-screen-clip.ps1 b/scripts/open-screen-clip.ps1 index f65b7b90e..b7300d7d2 100755 --- a/scripts/open-screen-clip.ps1 +++ b/scripts/open-screen-clip.ps1 @@ -17,6 +17,6 @@ try { Start-Process ms-screenclip: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-screen-sketch.ps1 b/scripts/open-screen-sketch.ps1 index 3a4d04a99..06fe53498 100755 --- a/scripts/open-screen-sketch.ps1 +++ b/scripts/open-screen-sketch.ps1 @@ -17,6 +17,6 @@ try { Start-Process ms-screensketch: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-skype.ps1 b/scripts/open-skype.ps1 index 715fb9b17..260e66d20 100755 --- a/scripts/open-skype.ps1 +++ b/scripts/open-skype.ps1 @@ -17,6 +17,6 @@ try { Start-Process skype: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-task-manager.ps1 b/scripts/open-task-manager.ps1 index 942595684..20a098796 100755 --- a/scripts/open-task-manager.ps1 +++ b/scripts/open-task-manager.ps1 @@ -17,6 +17,6 @@ try { Start-Process taskmgr.exe exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-temporary-folder.ps1 b/scripts/open-temporary-folder.ps1 index dda90d5da..694a3a194 100755 --- a/scripts/open-temporary-folder.ps1 +++ b/scripts/open-temporary-folder.ps1 @@ -28,6 +28,6 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$Path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-thunderbird.ps1 b/scripts/open-thunderbird.ps1 index 6a1a9c8d4..2c189d037 100755 --- a/scripts/open-thunderbird.ps1 +++ b/scripts/open-thunderbird.ps1 @@ -24,5 +24,5 @@ try { TryToExec "C:\Program Files (x86)\Mozilla Thunderbird" "thunderbird.exe" throw "It seems Thunderbird isn't installed yet." } catch { - & "$PSScriptRoot/speak-english.ps1" "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" } diff --git a/scripts/open-videos-folders.ps1 b/scripts/open-videos-folders.ps1 index 862ddb4d4..ff6962e22 100755 --- a/scripts/open-videos-folders.ps1 +++ b/scripts/open-videos-folders.ps1 @@ -21,6 +21,6 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-visual-studio.ps1 b/scripts/open-visual-studio.ps1 index 3b151ea5a..513c07c38 100755 --- a/scripts/open-visual-studio.ps1 +++ b/scripts/open-visual-studio.ps1 @@ -25,6 +25,6 @@ try { tryToLaunch "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/open-voice-recorder.ps1 b/scripts/open-voice-recorder.ps1 index 6dd98c294..9f9866b12 100755 --- a/scripts/open-voice-recorder.ps1 +++ b/scripts/open-voice-recorder.ps1 @@ -17,6 +17,6 @@ try { Start-Process explorer.exe shell:appsFolder\Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe!App exit 0 # success } catch { - "⚠️ Error: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/pick-commit.ps1 b/scripts/pick-commit.ps1 index b88271397..e7ef68f90 100755 --- a/scripts/pick-commit.ps1 +++ b/scripts/pick-commit.ps1 @@ -76,6 +76,6 @@ try { "✅ cherry picked $CommitID into $NumBranches branches in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/ping-host.ps1 b/scripts/ping-host.ps1 index b26e45cf0..1b8d2e555 100755 --- a/scripts/ping-host.ps1 +++ b/scripts/ping-host.ps1 @@ -32,6 +32,6 @@ try { Write-Output "⚠️ No reply from '$hostname' - check the connection or maybe the host is down." exit 1 } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/ping-internet.ps1 b/scripts/ping-internet.ps1 index 5d43666f4..004cd9f9e 100755 --- a/scripts/ping-internet.ps1 +++ b/scripts/ping-internet.ps1 @@ -43,6 +43,6 @@ try { } exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/ping-local-devices.ps1 b/scripts/ping-local-devices.ps1 index a98dfead6..2077c41f6 100755 --- a/scripts/ping-local-devices.ps1 +++ b/scripts/ping-local-devices.ps1 @@ -34,6 +34,6 @@ try { Write-Host "" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/ping-weather.ps1 b/scripts/ping-weather.ps1 index d499f7eb1..8fde1df81 100755 --- a/scripts/ping-weather.ps1 +++ b/scripts/ping-weather.ps1 @@ -42,6 +42,6 @@ try { } while ($true) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/play-files.ps1 b/scripts/play-files.ps1 index 8ed53da7c..925b9ac8f 100755 --- a/scripts/play-files.ps1 +++ b/scripts/play-files.ps1 @@ -37,6 +37,6 @@ try { "✅ Played $count audio files for $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/play-happy-birthday.ps1 b/scripts/play-happy-birthday.ps1 index a604986de..7fccffe7b 100755 --- a/scripts/play-happy-birthday.ps1 +++ b/scripts/play-happy-birthday.ps1 @@ -40,6 +40,6 @@ try { [System.Console]::Beep(1413.961, 900) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/play-imperial-march.ps1 b/scripts/play-imperial-march.ps1 index c81db814e..95e7e4728 100755 --- a/scripts/play-imperial-march.ps1 +++ b/scripts/play-imperial-march.ps1 @@ -33,6 +33,6 @@ try { [System.Console]::beep(440, 1000) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/play-jingle-bells.ps1 b/scripts/play-jingle-bells.ps1 index df16bf5c3..bdeb2f6ec 100755 --- a/scripts/play-jingle-bells.ps1 +++ b/scripts/play-jingle-bells.ps1 @@ -162,6 +162,6 @@ try { [System.Console]::Beep($Notes.F, $Duration.HALF) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/play-m3u.ps1 b/scripts/play-m3u.ps1 index 243370f05..59241eb2f 100755 --- a/scripts/play-m3u.ps1 +++ b/scripts/play-m3u.ps1 @@ -35,6 +35,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/play-mission-impossible.ps1 b/scripts/play-mission-impossible.ps1 index 30c77c168..34916ba3d 100755 --- a/scripts/play-mission-impossible.ps1 +++ b/scripts/play-mission-impossible.ps1 @@ -61,6 +61,6 @@ try { [System.Console]::Beep(523,150) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/play-mp3.ps1 b/scripts/play-mp3.ps1 index 198eb3b02..65bc8e27c 100755 --- a/scripts/play-mp3.ps1 +++ b/scripts/play-mp3.ps1 @@ -48,6 +48,6 @@ try { $host.ui.RawUI.WindowTitle = $previousTitle exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/play-system-sounds.ps1 b/scripts/play-system-sounds.ps1 index 090aa59f9..da1f07822 100755 --- a/scripts/play-system-sounds.ps1 +++ b/scripts/play-system-sounds.ps1 @@ -43,6 +43,6 @@ try { PlaySoundFiles "$path\*\*.wav" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/poweroff.ps1 b/scripts/poweroff.ps1 index 478b67095..a07d03426 100755 --- a/scripts/poweroff.ps1 +++ b/scripts/poweroff.ps1 @@ -21,6 +21,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/print-image.ps1 b/scripts/print-image.ps1 index e4619000a..08b6a4701 100755 --- a/scripts/print-image.ps1 +++ b/scripts/print-image.ps1 @@ -22,6 +22,6 @@ try { Start-Process -filepath $Path -verb print exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/publish-to-ipfs.ps1 b/scripts/publish-to-ipfs.ps1 index 2368991a5..814363caa 100755 --- a/scripts/publish-to-ipfs.ps1 +++ b/scripts/publish-to-ipfs.ps1 @@ -54,6 +54,6 @@ try { " NOTE: to publish it to IPNS execute: ipfs name publish " exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/pull-repos.ps1 b/scripts/pull-repos.ps1 index 625b68f0b..fe0cb2981 100755 --- a/scripts/pull-repos.ps1 +++ b/scripts/pull-repos.ps1 @@ -55,6 +55,6 @@ try { exit 1 } } catch { - "⚠️ ERROR: $($Error[0]) (in script line $($_.InvocationInfo.ScriptLineNumber))" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/query-smart-data.ps1 b/scripts/query-smart-data.ps1 index 099a5b596..4ee218b34 100755 --- a/scripts/query-smart-data.ps1 +++ b/scripts/query-smart-data.ps1 @@ -57,6 +57,6 @@ try { "✅ Done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/reboot.ps1 b/scripts/reboot.ps1 index 60bd2eb48..a7339bc0e 100755 --- a/scripts/reboot.ps1 +++ b/scripts/reboot.ps1 @@ -21,6 +21,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/remember.ps1 b/scripts/remember.ps1 index 358267a74..d6d3ac21e 100755 --- a/scripts/remember.ps1 +++ b/scripts/remember.ps1 @@ -37,6 +37,6 @@ try { "✅ Saved to $path in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/remind-me.ps1 b/scripts/remind-me.ps1 index b59d13f24..d5c93f909 100755 --- a/scripts/remind-me.ps1 +++ b/scripts/remind-me.ps1 @@ -28,6 +28,6 @@ try { Register-ScheduledTask -Action $Task -Trigger $Trigger -TaskName "Reminder_$Random" -Description "Reminder" exit 0 } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/remove-dir.ps1 b/scripts/remove-dir.ps1 index 11618dfe7..2e4daf4ab 100755 --- a/scripts/remove-dir.ps1 +++ b/scripts/remove-dir.ps1 @@ -32,6 +32,6 @@ try { "✅ Directory $pathToDir removed (took $($elapsed)s)." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/remove-empty-dirs.ps1 b/scripts/remove-empty-dirs.ps1 index a26940c77..76a10ec1d 100755 --- a/scripts/remove-empty-dirs.ps1 +++ b/scripts/remove-empty-dirs.ps1 @@ -44,6 +44,6 @@ try { "✅ Done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/remove-old-dirs.ps1 b/scripts/remove-old-dirs.ps1 index fd1118148..4e101497f 100755 --- a/scripts/remove-old-dirs.ps1 +++ b/scripts/remove-old-dirs.ps1 @@ -41,6 +41,6 @@ try { "✅ Removed $numRemoved of $($folders.Count) subfolders in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/remove-print-jobs.ps1 b/scripts/remove-print-jobs.ps1 index 1ab8755e5..041bb0610 100755 --- a/scripts/remove-print-jobs.ps1 +++ b/scripts/remove-print-jobs.ps1 @@ -27,6 +27,6 @@ try { "✅ all print jobs removed" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/remove-tag.ps1 b/scripts/remove-tag.ps1 index f6c090c94..bc0502aad 100755 --- a/scripts/remove-tag.ps1 +++ b/scripts/remove-tag.ps1 @@ -46,6 +46,6 @@ try { "✅ removed tag '$TagName' in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/remove-user.ps1 b/scripts/remove-user.ps1 index 38fa2d59a..2ade96368 100755 --- a/scripts/remove-user.ps1 +++ b/scripts/remove-user.ps1 @@ -28,6 +28,6 @@ try { "✅ Removed user '$username' including home directory in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/replace-in-files.ps1 b/scripts/replace-in-files.ps1 index 80ca82ab5..75413d9da 100755 --- a/scripts/replace-in-files.ps1 +++ b/scripts/replace-in-files.ps1 @@ -39,6 +39,6 @@ try { "✅ Replaced '$pattern' by '$replacement' in $($files.Count) files in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/restart-network-adapters.ps1 b/scripts/restart-network-adapters.ps1 index 79c732151..c1c298bb5 100755 --- a/scripts/restart-network-adapters.ps1 +++ b/scripts/restart-network-adapters.ps1 @@ -22,6 +22,6 @@ try { "✅ restarted all local network adapters in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/save-credentials.ps1 b/scripts/save-credentials.ps1 index 88444b38d..9a8629ec7 100755 --- a/scripts/save-credentials.ps1 +++ b/scripts/save-credentials.ps1 @@ -24,6 +24,6 @@ try { "✅ Your credentials have been saved to $targetFile (encrypted)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/save-screenshot.ps1 b/scripts/save-screenshot.ps1 index 52f97b449..5340fdba0 100755 --- a/scripts/save-screenshot.ps1 +++ b/scripts/save-screenshot.ps1 @@ -50,6 +50,6 @@ try { "✅ screenshot saved to $FilePath" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/scan-folder.ps1 b/scripts/scan-folder.ps1 index f8d1524d1..a2045089d 100755 --- a/scripts/scan-folder.ps1 +++ b/scripts/scan-folder.ps1 @@ -40,6 +40,6 @@ try { Write-Host "✅ Scanned $path in $($elapsed)s: No malware found." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/search-files.ps1 b/scripts/search-files.ps1 index 527719abd..5349b30dd 100755 --- a/scripts/search-files.ps1 +++ b/scripts/search-files.ps1 @@ -36,6 +36,6 @@ try { ListLocations $textPattern $filePattern | Format-Table -property FILE,LINE -autoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/search-repo.ps1 b/scripts/search-repo.ps1 index 7b6ce5588..2bfd7c96c 100755 --- a/scripts/search-repo.ps1 +++ b/scripts/search-repo.ps1 @@ -33,6 +33,6 @@ try { exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/send-email.ps1 b/scripts/send-email.ps1 index 3d22f4f8c..24d8b5495 100755 --- a/scripts/send-email.ps1 +++ b/scripts/send-email.ps1 @@ -39,6 +39,6 @@ try { "✅ Message sent." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/send-tcp.ps1 b/scripts/send-tcp.ps1 index ddf47b225..f8e696675 100755 --- a/scripts/send-tcp.ps1 +++ b/scripts/send-tcp.ps1 @@ -39,6 +39,6 @@ try { "✅ Done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/send-udp.ps1 b/scripts/send-udp.ps1 index f0b567b8a..3c3416161 100755 --- a/scripts/send-udp.ps1 +++ b/scripts/send-udp.ps1 @@ -36,6 +36,6 @@ try { "✅ Done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/set-timer.ps1 b/scripts/set-timer.ps1 index eb5a0d600..7bb229b0e 100755 --- a/scripts/set-timer.ps1 +++ b/scripts/set-timer.ps1 @@ -27,6 +27,6 @@ try { "✅ $Seconds seconds countdown finished" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/set-volume.ps1 b/scripts/set-volume.ps1 index 135bf2fb0..8dd91dc38 100755 --- a/scripts/set-volume.ps1 +++ b/scripts/set-volume.ps1 @@ -30,6 +30,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/set-wallpaper.ps1 b/scripts/set-wallpaper.ps1 index 5a895d85b..cc81e3a61 100755 --- a/scripts/set-wallpaper.ps1 +++ b/scripts/set-wallpaper.ps1 @@ -66,6 +66,6 @@ try { "✅ Done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/show-notification.ps1 b/scripts/show-notification.ps1 index 481e83328..a012981d6 100755 --- a/scripts/show-notification.ps1 +++ b/scripts/show-notification.ps1 @@ -31,6 +31,6 @@ try { $balloon.ShowBalloonTip($duration) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/simulate-presence.ps1 b/scripts/simulate-presence.ps1 index 7584f66e7..e27becc31 100755 --- a/scripts/simulate-presence.ps1 +++ b/scripts/simulate-presence.ps1 @@ -27,6 +27,6 @@ try { "✅ Done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/smart-data2csv.ps1 b/scripts/smart-data2csv.ps1 index 5cbe38fbb..d9a930ed7 100755 --- a/scripts/smart-data2csv.ps1 +++ b/scripts/smart-data2csv.ps1 @@ -93,6 +93,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-arabic.ps1 b/scripts/speak-arabic.ps1 index 28e9ef96e..1c0520730 100755 --- a/scripts/speak-arabic.ps1 +++ b/scripts/speak-arabic.ps1 @@ -30,6 +30,6 @@ try { } throw "No Arabic text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-checklist.ps1 b/scripts/speak-checklist.ps1 index af218a5e0..a69379798 100755 --- a/scripts/speak-checklist.ps1 +++ b/scripts/speak-checklist.ps1 @@ -50,6 +50,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "You're done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-countdown.ps1 b/scripts/speak-countdown.ps1 index b7524be6c..aecbac504 100755 --- a/scripts/speak-countdown.ps1 +++ b/scripts/speak-countdown.ps1 @@ -26,6 +26,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "Zero and lift-off!" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-croatian.ps1 b/scripts/speak-croatian.ps1 index 32db7f549..f72d5d771 100755 --- a/scripts/speak-croatian.ps1 +++ b/scripts/speak-croatian.ps1 @@ -30,6 +30,6 @@ try { } throw "No Croatian text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-danish.ps1 b/scripts/speak-danish.ps1 index f412b3aa2..5abea2edf 100755 --- a/scripts/speak-danish.ps1 +++ b/scripts/speak-danish.ps1 @@ -30,6 +30,6 @@ try { } throw "No Danish text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-dutch.ps1 b/scripts/speak-dutch.ps1 index a18468aa6..cb5185d4e 100755 --- a/scripts/speak-dutch.ps1 +++ b/scripts/speak-dutch.ps1 @@ -30,6 +30,6 @@ try { } throw "No Dutch text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-english.ps1 b/scripts/speak-english.ps1 index 23126d6ed..b8f718f47 100755 --- a/scripts/speak-english.ps1 +++ b/scripts/speak-english.ps1 @@ -29,6 +29,6 @@ try { [void]$TTS.Speak($text) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-esperanto.ps1 b/scripts/speak-esperanto.ps1 index 3df2fc307..dfeff316b 100755 --- a/scripts/speak-esperanto.ps1 +++ b/scripts/speak-esperanto.ps1 @@ -30,6 +30,6 @@ try { } throw "No Esperanto text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-file.ps1 b/scripts/speak-file.ps1 index fb6f0dac8..7b61719c3 100755 --- a/scripts/speak-file.ps1 +++ b/scripts/speak-file.ps1 @@ -26,6 +26,6 @@ try { $Result = $Voice.Speak($Text) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-finnish.ps1 b/scripts/speak-finnish.ps1 index f09ab3901..5e552f99a 100755 --- a/scripts/speak-finnish.ps1 +++ b/scripts/speak-finnish.ps1 @@ -30,6 +30,6 @@ try { } throw "No Finnish text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-french.ps1 b/scripts/speak-french.ps1 index c0f0ba978..09569b795 100755 --- a/scripts/speak-french.ps1 +++ b/scripts/speak-french.ps1 @@ -30,6 +30,6 @@ try { } throw "No French text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-german.ps1 b/scripts/speak-german.ps1 index 84aa01ccc..2d719c1e9 100755 --- a/scripts/speak-german.ps1 +++ b/scripts/speak-german.ps1 @@ -30,6 +30,6 @@ try { } throw "No German text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-greek.ps1 b/scripts/speak-greek.ps1 index 2c82acb00..f43f7a97c 100755 --- a/scripts/speak-greek.ps1 +++ b/scripts/speak-greek.ps1 @@ -30,6 +30,6 @@ try { } throw "No Greek text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-hebrew.ps1 b/scripts/speak-hebrew.ps1 index 73a3136ad..7bbbf6102 100755 --- a/scripts/speak-hebrew.ps1 +++ b/scripts/speak-hebrew.ps1 @@ -30,6 +30,6 @@ try { } throw "No Hebrew text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-hindi.ps1 b/scripts/speak-hindi.ps1 index 4382a51ba..d628c6d6f 100755 --- a/scripts/speak-hindi.ps1 +++ b/scripts/speak-hindi.ps1 @@ -30,6 +30,6 @@ try { } throw "No Hindi text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-italian.ps1 b/scripts/speak-italian.ps1 index 93207faf7..adf1caa95 100755 --- a/scripts/speak-italian.ps1 +++ b/scripts/speak-italian.ps1 @@ -30,6 +30,6 @@ try { } throw "No Italian text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-japanese.ps1 b/scripts/speak-japanese.ps1 index b272dd88c..704024704 100755 --- a/scripts/speak-japanese.ps1 +++ b/scripts/speak-japanese.ps1 @@ -30,6 +30,6 @@ try { } throw "No Japanese text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-korean.ps1 b/scripts/speak-korean.ps1 index efba897e5..78ecbf28c 100755 --- a/scripts/speak-korean.ps1 +++ b/scripts/speak-korean.ps1 @@ -30,6 +30,6 @@ try { } throw "No Korean text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-latin.ps1 b/scripts/speak-latin.ps1 index 35e78d88f..a6c849f20 100755 --- a/scripts/speak-latin.ps1 +++ b/scripts/speak-latin.ps1 @@ -30,6 +30,6 @@ try { } throw "No Latin text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-mandarin.ps1 b/scripts/speak-mandarin.ps1 index 62b8ba84b..43a918d3f 100755 --- a/scripts/speak-mandarin.ps1 +++ b/scripts/speak-mandarin.ps1 @@ -30,6 +30,6 @@ try { } throw "No Mandarin text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-norwegian.ps1 b/scripts/speak-norwegian.ps1 index 3410ce224..150eddf83 100755 --- a/scripts/speak-norwegian.ps1 +++ b/scripts/speak-norwegian.ps1 @@ -30,6 +30,6 @@ try { } throw "No Norwegian text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-polish.ps1 b/scripts/speak-polish.ps1 index 31336614f..1c0a9c3a0 100755 --- a/scripts/speak-polish.ps1 +++ b/scripts/speak-polish.ps1 @@ -30,6 +30,6 @@ try { } throw "No Polish text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-portuguese.ps1 b/scripts/speak-portuguese.ps1 index b8f9a6a5f..f815a1a2c 100755 --- a/scripts/speak-portuguese.ps1 +++ b/scripts/speak-portuguese.ps1 @@ -30,6 +30,6 @@ try { } throw "No Portuguese text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-russian.ps1 b/scripts/speak-russian.ps1 index 4247faadf..33c194f1a 100755 --- a/scripts/speak-russian.ps1 +++ b/scripts/speak-russian.ps1 @@ -30,6 +30,6 @@ try { } throw "No Russian text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-spanish.ps1 b/scripts/speak-spanish.ps1 index 1ef977911..55b188589 100755 --- a/scripts/speak-spanish.ps1 +++ b/scripts/speak-spanish.ps1 @@ -30,6 +30,6 @@ try { } throw "No Spanish text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-swedish.ps1 b/scripts/speak-swedish.ps1 index e1650759f..6b90d4e43 100755 --- a/scripts/speak-swedish.ps1 +++ b/scripts/speak-swedish.ps1 @@ -30,6 +30,6 @@ try { } throw "No Swedish text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-test.ps1 b/scripts/speak-test.ps1 index bdf5efc0b..bda57d5f3 100755 --- a/scripts/speak-test.ps1 +++ b/scripts/speak-test.ps1 @@ -61,6 +61,6 @@ try { Speak("Thanks for your attention.") exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-text.ps1 b/scripts/speak-text.ps1 index 973282a2b..b642c46a2 100755 --- a/scripts/speak-text.ps1 +++ b/scripts/speak-text.ps1 @@ -24,6 +24,6 @@ try { [void]$Voice.Speak($text) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-thai.ps1 b/scripts/speak-thai.ps1 index a0dc995e5..10bb03a65 100755 --- a/scripts/speak-thai.ps1 +++ b/scripts/speak-thai.ps1 @@ -30,6 +30,6 @@ try { } throw "No Thai text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-turkish.ps1 b/scripts/speak-turkish.ps1 index 5317c22ee..c0949dbc2 100755 --- a/scripts/speak-turkish.ps1 +++ b/scripts/speak-turkish.ps1 @@ -30,6 +30,6 @@ try { } throw "No Turkish text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/speak-ukrainian.ps1 b/scripts/speak-ukrainian.ps1 index 32682b2b6..56e197790 100755 --- a/scripts/speak-ukrainian.ps1 +++ b/scripts/speak-ukrainian.ps1 @@ -30,6 +30,6 @@ try { } throw "No Ukrainian text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/spell-word.ps1 b/scripts/spell-word.ps1 index bacb2170c..4c116fb71 100755 --- a/scripts/spell-word.ps1 +++ b/scripts/spell-word.ps1 @@ -27,6 +27,6 @@ try { & "$PSScriptRoot/speak-english.ps1" $reply exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/start-ipfs-server.ps1 b/scripts/start-ipfs-server.ps1 index 68b1dd0fb..274fbc3e7 100755 --- a/scripts/start-ipfs-server.ps1 +++ b/scripts/start-ipfs-server.ps1 @@ -52,6 +52,6 @@ try { "⚠️ NOTE: make sure your router does not block TCP/UDP port 4001 for IPv4 and IPv6" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/suspend.ps1 b/scripts/suspend.ps1 index bd5d3eb86..60be93ce4 100755 --- a/scripts/suspend.ps1 +++ b/scripts/suspend.ps1 @@ -16,6 +16,6 @@ try { & rundll32.exe powrprof.dll,SetSuspendState 0,1,0 # bHibernate,bForce,bWakeupEventsDisabled exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/switch-shelly1.ps1 b/scripts/switch-shelly1.ps1 index c84b5ed8b..fc009822e 100755 --- a/scripts/switch-shelly1.ps1 +++ b/scripts/switch-shelly1.ps1 @@ -29,6 +29,6 @@ try { "✅ Switched Shelly1 device at $host to $turnMode for $timer sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/switch-tabs.ps1 b/scripts/switch-tabs.ps1 index 0a6d38d69..05dab95ae 100755 --- a/scripts/switch-tabs.ps1 +++ b/scripts/switch-tabs.ps1 @@ -27,6 +27,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/sync-dir.ps1 b/scripts/sync-dir.ps1 index b8af162e1..ba0d7dc9f 100755 --- a/scripts/sync-dir.ps1 +++ b/scripts/sync-dir.ps1 @@ -44,6 +44,6 @@ try { "✅ Synced 📂$sourcePath to 📂$targetPath in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/sync-repo.ps1 b/scripts/sync-repo.ps1 index bc76cb06a..c225b4b84 100755 --- a/scripts/sync-repo.ps1 +++ b/scripts/sync-repo.ps1 @@ -43,6 +43,6 @@ try { "✅ Repo '$pathName' synchronized in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/tell-joke.ps1 b/scripts/tell-joke.ps1 index b02c10f8d..6bab0a1bd 100755 --- a/scripts/tell-joke.ps1 +++ b/scripts/tell-joke.ps1 @@ -21,6 +21,6 @@ try { & "$PSScriptRoot/speak-english.ps1" $table[$row].Joke exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/tell-new-year.ps1 b/scripts/tell-new-year.ps1 index cb7d0092d..98e2ad29f 100755 --- a/scripts/tell-new-year.ps1 +++ b/scripts/tell-new-year.ps1 @@ -23,6 +23,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/tell-quote.ps1 b/scripts/tell-quote.ps1 index a4af08746..7d9d16eef 100755 --- a/scripts/tell-quote.ps1 +++ b/scripts/tell-quote.ps1 @@ -21,6 +21,6 @@ try { & "$PSScriptRoot/speak-english.ps1" "$($table[$row].QUOTE). By $($table[$row].AUTHOR)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/toggle-caps-lock.ps1 b/scripts/toggle-caps-lock.ps1 index 88007514f..daff964ba 100755 --- a/scripts/toggle-caps-lock.ps1 +++ b/scripts/toggle-caps-lock.ps1 @@ -16,6 +16,6 @@ try { $wsh.SendKeys('{CAPSLOCK}') exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/toggle-num-lock.ps1 b/scripts/toggle-num-lock.ps1 index 9ad8fed5b..c284d8b0c 100755 --- a/scripts/toggle-num-lock.ps1 +++ b/scripts/toggle-num-lock.ps1 @@ -16,6 +16,6 @@ try { $wsh.SendKeys('{NUMLOCK}') exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/toggle-scroll-lock.ps1 b/scripts/toggle-scroll-lock.ps1 index 512f7526b..4aed847ce 100755 --- a/scripts/toggle-scroll-lock.ps1 +++ b/scripts/toggle-scroll-lock.ps1 @@ -16,6 +16,6 @@ try { $wsh.SendKeys('{SCROLLLOCK}') exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/touch.ps1 b/scripts/touch.ps1 index b26ea0498..c1f356189 100755 --- a/scripts/touch.ps1 +++ b/scripts/touch.ps1 @@ -22,6 +22,6 @@ try { "✅ Created a new empty file called '$filename'." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/translate-file.ps1 b/scripts/translate-file.ps1 index 135173c06..986800450 100755 --- a/scripts/translate-file.ps1 +++ b/scripts/translate-file.ps1 @@ -43,6 +43,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/translate-files.ps1 b/scripts/translate-files.ps1 index 9d23a280f..5756cc15d 100755 --- a/scripts/translate-files.ps1 +++ b/scripts/translate-files.ps1 @@ -58,6 +58,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/translate-text.ps1 b/scripts/translate-text.ps1 index 8e725b3d1..a5e411d31 100755 --- a/scripts/translate-text.ps1 +++ b/scripts/translate-text.ps1 @@ -41,6 +41,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/turn-volume-down.ps1 b/scripts/turn-volume-down.ps1 index 21b1d8155..3d75a8b6f 100755 --- a/scripts/turn-volume-down.ps1 +++ b/scripts/turn-volume-down.ps1 @@ -22,6 +22,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/turn-volume-fully-up.ps1 b/scripts/turn-volume-fully-up.ps1 index f244f0ff2..ba96d7280 100755 --- a/scripts/turn-volume-fully-up.ps1 +++ b/scripts/turn-volume-fully-up.ps1 @@ -18,6 +18,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/turn-volume-off.ps1 b/scripts/turn-volume-off.ps1 index 14e9e62a8..44036bc30 100755 --- a/scripts/turn-volume-off.ps1 +++ b/scripts/turn-volume-off.ps1 @@ -16,6 +16,6 @@ try { $obj.SendKeys([char]173) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/turn-volume-on.ps1 b/scripts/turn-volume-on.ps1 index 4735e93cf..0d98534bc 100755 --- a/scripts/turn-volume-on.ps1 +++ b/scripts/turn-volume-on.ps1 @@ -16,6 +16,6 @@ try { $obj.SendKeys([char]173) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/turn-volume-up.ps1 b/scripts/turn-volume-up.ps1 index b82a9f415..dedfba457 100755 --- a/scripts/turn-volume-up.ps1 +++ b/scripts/turn-volume-up.ps1 @@ -22,6 +22,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/uninstall-all-apps.ps1 b/scripts/uninstall-all-apps.ps1 index 6764503e8..db7e8ac3b 100755 --- a/scripts/uninstall-all-apps.ps1 +++ b/scripts/uninstall-all-apps.ps1 @@ -19,6 +19,6 @@ try { "Uninstalled all applications, your PC is clean now." exit 0 # success } catch { - "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/uninstall-new-outlook.ps1 b/scripts/uninstall-new-outlook.ps1 index e3cb64743..30f50500e 100755 --- a/scripts/uninstall-new-outlook.ps1 +++ b/scripts/uninstall-new-outlook.ps1 @@ -19,6 +19,6 @@ try { "✅ New Outlook for Windows has been removed." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/uninstall-outlook.ps1 b/scripts/uninstall-outlook.ps1 index 5c78b9c1d..12c71e6c4 100755 --- a/scripts/uninstall-outlook.ps1 +++ b/scripts/uninstall-outlook.ps1 @@ -19,6 +19,6 @@ try { "✅ Outlook for Windows has been removed." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/update-powershell-profile.ps1 b/scripts/update-powershell-profile.ps1 index bca4934c9..3cf88d450 100755 --- a/scripts/update-powershell-profile.ps1 +++ b/scripts/update-powershell-profile.ps1 @@ -30,6 +30,6 @@ try { "✅ Updated your PowerShell profile, it get's active on next login." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/upgrade-ubuntu.ps1 b/scripts/upgrade-ubuntu.ps1 index 98f079c59..bc8018ad7 100755 --- a/scripts/upgrade-ubuntu.ps1 +++ b/scripts/upgrade-ubuntu.ps1 @@ -49,6 +49,6 @@ try { "✅ Done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/upload-file.ps1 b/scripts/upload-file.ps1 index 56556a927..9e062d9ea 100755 --- a/scripts/upload-file.ps1 +++ b/scripts/upload-file.ps1 @@ -71,6 +71,6 @@ try { exit 0 # success } catch { [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0]) after $Elapsed sec." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/upload-to-dropbox.ps1 b/scripts/upload-to-dropbox.ps1 index caf0eddc8..66a1fc98b 100755 --- a/scripts/upload-to-dropbox.ps1 +++ b/scripts/upload-to-dropbox.ps1 @@ -28,6 +28,6 @@ try { Invoke-RestMethod -Uri https://content.dropboxapi.com/2/files/upload -Method Post -InFile $SourceFilePath -Headers $headers exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0]) after $Elapsed sec." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/wake-up-host.ps1 b/scripts/wake-up-host.ps1 index 59bca4b91..6372b3a15 100755 --- a/scripts/wake-up-host.ps1 +++ b/scripts/wake-up-host.ps1 @@ -45,6 +45,6 @@ try { "✅ Sent magic packet to $ipAddr, UDP port $($udpPort) ($($numTimes)x). The device is up in a minute." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/watch-commits.ps1 b/scripts/watch-commits.ps1 index f5d98cacb..6bda122df 100755 --- a/scripts/watch-commits.ps1 +++ b/scripts/watch-commits.ps1 @@ -52,6 +52,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/watch-crypto-rates.ps1 b/scripts/watch-crypto-rates.ps1 index d5ef291e6..06dd1506b 100755 --- a/scripts/watch-crypto-rates.ps1 +++ b/scripts/watch-crypto-rates.ps1 @@ -56,6 +56,6 @@ try { } while ($true) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/watch-host.ps1 b/scripts/watch-host.ps1 index bbd316766..440122e3f 100755 --- a/scripts/watch-host.ps1 +++ b/scripts/watch-host.ps1 @@ -123,6 +123,6 @@ try { Start-Sleep -milliseconds 5000 } while ($true) } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/watch-news.ps1 b/scripts/watch-news.ps1 index f2e015bcf..2f891140e 100755 --- a/scripts/watch-news.ps1 +++ b/scripts/watch-news.ps1 @@ -58,6 +58,6 @@ try { } while ($true) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/watch-ping.ps1 b/scripts/watch-ping.ps1 index 618e8bb4e..c4345bf80 100755 --- a/scripts/watch-ping.ps1 +++ b/scripts/watch-ping.ps1 @@ -71,6 +71,6 @@ try { } while($true) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/weather-report.ps1 b/scripts/weather-report.ps1 index 3bbc67418..303ccd2e7 100755 --- a/scripts/weather-report.ps1 +++ b/scripts/weather-report.ps1 @@ -19,6 +19,6 @@ try { (Invoke-WebRequest http://v2d.wttr.in/$GeoLocation -userAgent "curl" -useBasicParsing).Content exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/weather.ps1 b/scripts/weather.ps1 index 7e74f1468..d6ff3f9f9 100755 --- a/scripts/weather.ps1 +++ b/scripts/weather.ps1 @@ -19,6 +19,6 @@ try { (Invoke-WebRequest http://wttr.in/$GeoLocation -userAgent "curl" -useBasicParsing).Content exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/write-animated.ps1 b/scripts/write-animated.ps1 index 296ee4ae9..5e6cf3a2e 100755 --- a/scripts/write-animated.ps1 +++ b/scripts/write-animated.ps1 @@ -35,6 +35,6 @@ try { WriteLine $text exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/write-big.ps1 b/scripts/write-big.ps1 index cbff2e2f1..649a2f60d 100755 --- a/scripts/write-big.ps1 +++ b/scripts/write-big.ps1 @@ -420,6 +420,6 @@ try { Write-Output "" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/write-braille.ps1 b/scripts/write-braille.ps1 index 4f4782cb4..5ef064720 100755 --- a/scripts/write-braille.ps1 +++ b/scripts/write-braille.ps1 @@ -361,6 +361,6 @@ try { write-output "" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/write-centered.ps1 b/scripts/write-centered.ps1 index 75ff499fc..29191153a 100755 --- a/scripts/write-centered.ps1 +++ b/scripts/write-centered.ps1 @@ -28,6 +28,6 @@ try { Write-Host "$spaces$text" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/write-changelog.ps1 b/scripts/write-changelog.ps1 index 7e5469d1a..8efb17c71 100755 --- a/scripts/write-changelog.ps1 +++ b/scripts/write-changelog.ps1 @@ -100,6 +100,6 @@ try { Write-Output "Changelog as of $Today." exit 0 # success } catch { - Write-Error $_.Exception.ToString() + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/write-clock.ps1 b/scripts/write-clock.ps1 index a80318475..f0fee8788 100755 --- a/scripts/write-clock.ps1 +++ b/scripts/write-clock.ps1 @@ -35,6 +35,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/write-code.ps1 b/scripts/write-code.ps1 index 44f47ec95..6c67a1807 100755 --- a/scripts/write-code.ps1 +++ b/scripts/write-code.ps1 @@ -88,6 +88,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/write-credits.ps1 b/scripts/write-credits.ps1 index 4a1ea5d3a..d488d7fff 100755 --- a/scripts/write-credits.ps1 +++ b/scripts/write-credits.ps1 @@ -38,6 +38,6 @@ try { & "$PSScriptRoot/write-big.ps1" " Thanx 4 watching" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/write-date.ps1 b/scripts/write-date.ps1 index 5b4f7436d..3831690d5 100755 --- a/scripts/write-date.ps1 +++ b/scripts/write-date.ps1 @@ -18,6 +18,6 @@ try { "📅$CurrentDate" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/write-hands-off.ps1 b/scripts/write-hands-off.ps1 index dda56ba7e..930670b3e 100755 --- a/scripts/write-hands-off.ps1 +++ b/scripts/write-hands-off.ps1 @@ -29,6 +29,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/write-headline.ps1 b/scripts/write-headline.ps1 index be1361a99..bed4d6a04 100755 --- a/scripts/write-headline.ps1 +++ b/scripts/write-headline.ps1 @@ -27,6 +27,6 @@ try { Write-Host "`n$line`n $text`n$line" -foregroundColor green exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/write-help.ps1 b/scripts/write-help.ps1 index 4193ce94d..e3acb4cff 100755 --- a/scripts/write-help.ps1 +++ b/scripts/write-help.ps1 @@ -41,6 +41,6 @@ try { White "█████████████████████████████████████`n" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/write-in-emojis.ps1 b/scripts/write-in-emojis.ps1 index ca84bfc93..951725dce 100755 --- a/scripts/write-in-emojis.ps1 +++ b/scripts/write-in-emojis.ps1 @@ -26,6 +26,6 @@ try { Write-Output $text exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/write-joke.ps1 b/scripts/write-joke.ps1 index bc2395da7..38fa8ac95 100755 --- a/scripts/write-joke.ps1 +++ b/scripts/write-joke.ps1 @@ -22,6 +22,6 @@ try { Write-Host "`n$Joke 😂" -foregroundColor Green exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/write-location.ps1 b/scripts/write-location.ps1 index f0dce70e9..75f7f5bfd 100755 --- a/scripts/write-location.ps1 +++ b/scripts/write-location.ps1 @@ -23,6 +23,6 @@ try { Write-Output "📍$lat°,$long° near $zip $city in $region, $country." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/write-moon.ps1 b/scripts/write-moon.ps1 index 20efa012b..df48376f1 100755 --- a/scripts/write-moon.ps1 +++ b/scripts/write-moon.ps1 @@ -15,6 +15,6 @@ try { (Invoke-WebRequest http://wttr.in/Moon -userAgent "curl" -useBasicParsing).Content exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/write-morse-code.ps1 b/scripts/write-morse-code.ps1 index dcb483570..7c38dca50 100755 --- a/scripts/write-morse-code.ps1 +++ b/scripts/write-morse-code.ps1 @@ -96,6 +96,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/write-pi.ps1 b/scripts/write-pi.ps1 index 51d459410..87a591384 100755 --- a/scripts/write-pi.ps1 +++ b/scripts/write-pi.ps1 @@ -69,6 +69,6 @@ try { Write-Pi $digits exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/write-quote.ps1 b/scripts/write-quote.ps1 index 98b59ec47..9a208e673 100755 --- a/scripts/write-quote.ps1 +++ b/scripts/write-quote.ps1 @@ -27,6 +27,6 @@ try { Write-Host "$spaces- $author" -foregroundColor Blue exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/write-rot13.ps1 b/scripts/write-rot13.ps1 index 6accc3eb2..d0e9993f1 100755 --- a/scripts/write-rot13.ps1 +++ b/scripts/write-rot13.ps1 @@ -35,6 +35,6 @@ try { write-output $Result exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } diff --git a/scripts/write-time.ps1 b/scripts/write-time.ps1 index fa4505fba..e25c2dec1 100755 --- a/scripts/write-time.ps1 +++ b/scripts/write-time.ps1 @@ -18,6 +18,6 @@ try { "🕒$CurrentTime" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/write-typewriter.ps1 b/scripts/write-typewriter.ps1 index f30045588..94c2836bd 100755 --- a/scripts/write-typewriter.ps1 +++ b/scripts/write-typewriter.ps1 @@ -26,6 +26,6 @@ try { Write-Host "" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 -} \ No newline at end of file +} diff --git a/scripts/write-vertical.ps1 b/scripts/write-vertical.ps1 index c41ab1200..d1a25c12d 100755 --- a/scripts/write-vertical.ps1 +++ b/scripts/write-vertical.ps1 @@ -24,6 +24,6 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } From 158e3362e6c2b22178ba3e8ac8532a222bd2f4ac Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 25 Aug 2025 12:25:01 +0200 Subject: [PATCH 449/737] Update FAQ.md --- docs/FAQ.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/FAQ.md b/docs/FAQ.md index 6fef195f3..d4dc4cd13 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -13,6 +13,7 @@ * **It's cross-platform** - available for Linux, Mac OS and Windows. * **It's open-source and free** - see the Github repository at: https://github.com/PowerShell/PowerShell. * **It's fully documented** - see the official documentation at: https://docs.microsoft.com/en-us/powershell. +* **It has modern features** such as Unicode support, metadata header, try-catch-blocks, and many more.
How to learn PowerShell? From db8c412f3953b1b23983b7199cd2542fa7199891 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 25 Aug 2025 12:26:00 +0200 Subject: [PATCH 450/737] Update FAQ.md --- docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index d4dc4cd13..3bc6349bb 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -13,7 +13,7 @@ * **It's cross-platform** - available for Linux, Mac OS and Windows. * **It's open-source and free** - see the Github repository at: https://github.com/PowerShell/PowerShell. * **It's fully documented** - see the official documentation at: https://docs.microsoft.com/en-us/powershell. -* **It has modern features** such as Unicode support, metadata header, try-catch-blocks, and many more. +* **It's got modern features** such as Unicode support, metadata header, try-catch-blocks, and many more.
How to learn PowerShell? From 2937d46a9b0380bffd68ba057bf88376fc1ea1ea Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 25 Aug 2025 16:21:08 +0200 Subject: [PATCH 451/737] Further improved play-rick.ps1 --- scripts/play-rick.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/play-rick.ps1 b/scripts/play-rick.ps1 index 0a8888381..62010b860 100755 --- a/scripts/play-rick.ps1 +++ b/scripts/play-rick.ps1 @@ -14,9 +14,10 @@ $host.ui.RawUI.WindowTitle = "You've been Rick-Rolled! 🤣" & "$PSScriptRoot/open-URL.ps1" "https://www.youtube.com/watch?v=v7ScGV5128A" +& "$PSScriptRoot/show-notification.ps1" "You've been Rick-Rolled!" +& "$PSScriptRoot/speak-english.ps1" "You've been Rick-Rolled!" if ($IsLinux -or $IsMacOS) { & curl ascii.live/rick } else { & curl.exe ascii.live/rick } -exit 0 # success From a35a303030d77dbf49d8f593fd6fd1d5358cc746 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 25 Aug 2025 16:46:53 +0200 Subject: [PATCH 452/737] Updated write-help.ps1 --- scripts/write-help.ps1 | 60 ++++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 28 deletions(-) diff --git a/scripts/write-help.ps1 b/scripts/write-help.ps1 index e3acb4cff..33e43fa40 100755 --- a/scripts/write-help.ps1 +++ b/scripts/write-help.ps1 @@ -11,36 +11,40 @@ Author: Markus Fleschutz | License: CC0 #> -function White([string]$line) { +function White($line) { Write-Host $line -foregroundColor white -backgroundColor black -noNewline } -function Blue([string]$line) { + +function Blue($line) { Write-Host $line -foregroundColor blue -backgroundColor black -noNewline } -try { - Write-Host "" - White "█████████████████████████████████████ POWERSHELL $($PSVersionTable.PSVersion) $($PSVersionTable.PSEdition) Edition`n" - White "█████████████████████████████████████ ------------------------------------------`n" - White "████ ▄▄▄▄▄ █▀ █▀▀█▀▀ ▄▄██ ▄▄▄▄▄ ████`n" - White "████ █ █ █▀ ▄ █▀ ▀ ▀▄█ █ █ █ ████ Documentation: "; Blue "https://docs.microsoft.com/en-us/powershell`n" - White "████ █▄▄▄█ █▀█ █▄▀▄▀ ▀ ▄▄█ █▄▄▄█ ████`n" - White "████▄▄▄▄▄▄▄█▄█▄█ █▄█ █▄▀ █▄▄▄▄▄▄▄████ Tutorial: "; Blue "https://www.guru99.com/powershell-tutorial.html`n" - White "████▄▄ ▄█▄▄ ▄█▄▄ █▀ ▀▀▀ ▀▄▀▄█▄▀████`n" - White "████▀▄▄█▀█▄██ ▀ ▄▄▀ █▄█▀ ▀ ▄▀▀█▀█████ Video tutorials: "; Blue "https://www.youtube.com/results?search_query=PowerShell`n" - White "█████ ▄▄█▄▄▀▄ ▀▄▀ ▄▄ ▀ ▀▀▀ ▀▄▄█▀████`n" - White "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████ FAQ's: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md`n" - White "████ ████▄▄ ▄█▄▄▄██ ▀ ▀▀▀▀▄ █▀████`n" - White "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████ Cheat sheet: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md`n" - White "████▄█▄███▄▄▀▄▄▄▀ ▄▄ ▄▀▄ ▄▄▄ ▀ ████`n" - White "████ ▄▄▄▄▄ █▄▄▄█▀█▄ ██ █▄█ ▄▄█▀████ Sample scripts: "; Blue "https://github.com/fleschutz/PowerShell`n" - White "████ █ █ █ ▀▄█▄ ▄▄ ▀█ ▄▄▄▄▀ ████`n" - White "████ █▄▄▄█ █ ██ ▄█▄ ▄▀▀▀ ▄▄ ▄ █████ Type 'Get-Help ' to display information about `n" - White "████▄▄▄▄▄▄▄█▄▄█▄▄████▄▄▄██▄▄▄█▄██████`n" - White "█████████████████████████████████████ HINT: press to follow the links above.`n" - White "█████████████████████████████████████`n" - exit 0 # success -} catch { - "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" - exit 1 -} +Write-Host "" +Write-Host " _____ _____ _ _ _ " +Write-Host " | __ \ / ____| | | | |" +Write-Host " | |__) |____ _____ _ _| (___ | |__ ___| | |" +Write-Host " | ___/ _ \ \ /\ / / _ \ '__\___ \| '_ \ / _ \ | |" +Write-Host " | | | (_) \ V V / __/ | ____) | | | | __/ | |" +Write-Host " |_| \___/ \_/\_/ \___|_| |_____/|_| |_|\___|_|_| $($PSVersionTable.PSVersion) $($PSVersionTable.PSEdition) Edition" +Write-Host "" +Write-Host "" +White "█████████████████████████████████████`n" +White "█████████████████████████████████████ Documentation: "; Blue "https://docs.microsoft.com/en-us/powershell`n" +White "████ ▄▄▄▄▄ █▀ █▀▀█▀▀ ▄▄██ ▄▄▄▄▄ ████`n" +White "████ █ █ █▀ ▄ █▀ ▀ ▀▄█ █ █ █ ████ Tutorial: "; Blue "https://www.guru99.com/powershell-tutorial.html`n" +White "████ █▄▄▄█ █▀█ █▄▀▄▀ ▀ ▄▄█ █▄▄▄█ ████`n" +White "████▄▄▄▄▄▄▄█▄█▄█ █▄█ █▄▀ █▄▄▄▄▄▄▄████ Video tutorials: "; Blue "https://www.youtube.com/results?search_query=PowerShell`n" +White "████▄▄ ▄█▄▄ ▄█▄▄ █▀ ▀▀▀ ▀▄▀▄█▄▀████`n" +White "████▀▄▄█▀█▄██ ▀ ▄▄▀ █▄█▀ ▀ ▄▀▀█▀█████ FAQ's: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md`n" +White "█████ ▄▄█▄▄▀▄ ▀▄▀ ▄▄ ▀ ▀▀▀ ▀▄▄█▀████`n" +White "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████ Cheat sheet: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md`n" +White "████ ████▄▄ ▄█▄▄▄██ ▀ ▀▀▀▀▄ █▀████`n" +White "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████ 500+ sample scripts: "; Blue "https://github.com/fleschutz/PowerShell`n" +White "████▄█▄███▄▄▀▄▄▄▀ ▄▄ ▄▀▄ ▄▄▄ ▀ ████`n" +White "████ ▄▄▄▄▄ █▄▄▄█▀█▄ ██ █▄█ ▄▄█▀████ Donate: "; Blue "https://www.paypal.com/paypalme/Fleschutz`n" +White "████ █ █ █ ▀▄█▄ ▄▄ ▀█ ▄▄▄▄▀ ████`n" +White "████ █▄▄▄█ █ ██ ▄█▄ ▄▀▀▀ ▄▄ ▄ █████ Type 'Get-Help ' to display information about `n" +White "████▄▄▄▄▄▄▄█▄▄█▄▄████▄▄▄██▄▄▄█▄██████`n" +White "█████████████████████████████████████ HINT: press + to follow the links above.`n" +White "█████████████████████████████████████`n" +exit 0 # success From 41d0cf9853d121b2f91e5a16688fb9e4d40c131d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 25 Aug 2025 16:51:38 +0200 Subject: [PATCH 453/737] Updated the manuals --- docs/add-firewall-rules.md | 5 +- docs/alert.md | 4 +- docs/build-repo.md | 2 +- docs/build-repos.md | 4 +- docs/calculate-BMI.md | 29 +++++---- docs/cd-autostart.md | 6 +- docs/cd-crashdumps.md | 8 +-- docs/cd-desktop.md | 2 +- docs/cd-docs.md | 10 +-- docs/cd-downloads.md | 9 +-- docs/cd-dropbox.md | 2 +- docs/cd-etc.md | 2 +- docs/cd-fonts.md | 2 +- docs/cd-home.md | 4 +- docs/cd-jenkins.md | 2 +- docs/cd-logs.md | 2 +- docs/cd-music.md | 12 ++-- docs/cd-nextcloud.md | 2 +- docs/cd-onedrive.md | 2 +- docs/cd-pics.md | 12 ++-- docs/cd-public.md | 2 +- docs/cd-recent.md | 2 +- docs/cd-recycle-bin.md | 2 +- docs/cd-repo.md | 4 +- docs/cd-repos.md | 2 +- docs/cd-root.md | 2 +- docs/cd-screenshots.md | 2 +- docs/cd-scripts.md | 2 +- docs/cd-ssh.md | 2 +- docs/cd-sync.md | 2 +- docs/cd-temp.md | 4 +- docs/cd-templates.md | 12 ++-- 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 | 2 +- docs/cd-videos.md | 11 ++-- docs/cd-windows.md | 2 +- docs/change-wallpaper.md | 4 +- docs/check-admin.md | 4 +- docs/check-apps.md | 4 +- docs/check-bios.md | 4 +- docs/check-cpu.md | 4 +- docs/check-credentials.md | 4 +- docs/check-day.md | 4 +- docs/check-dns.md | 4 +- docs/check-drive-space.md | 4 +- docs/check-drives.md | 4 +- docs/check-dusk.md | 4 +- docs/check-easter-sunday.md | 4 +- docs/check-file-system.md | 4 +- docs/check-file.md | 2 +- docs/check-firewall.md | 4 +- docs/check-gpu.md | 4 +- docs/check-hardware.md | 2 +- docs/check-health.md | 2 +- docs/check-independence-day.md | 4 +- docs/check-ipv4-address.md | 4 +- docs/check-ipv6-address.md | 4 +- docs/check-iss-position.md | 4 +- docs/check-mac-address.md | 4 +- docs/check-midnight.md | 4 +- docs/check-month.md | 4 +- docs/check-moon-phase.md | 4 +- docs/check-motherboard.md | 4 +- docs/check-network.md | 2 +- docs/check-noon.md | 4 +- docs/check-os.md | 4 +- docs/check-outlook.md | 4 +- docs/check-password.md | 4 +- docs/check-pending-reboot.md | 6 +- docs/check-pnp-devices.md | 4 +- docs/check-power.md | 4 +- docs/check-powershell.md | 4 +- docs/check-ps1-file.md | 4 +- docs/check-ram.md | 4 +- docs/check-repo.md | 4 +- docs/check-repos.md | 4 +- docs/check-santa.md | 4 +- docs/check-smart-devices.md | 4 +- docs/check-software.md | 2 +- docs/check-subnet-mask.md | 4 +- docs/check-swap-space.md | 4 +- docs/check-symlinks.md | 4 +- docs/check-time-zone.md | 4 +- docs/check-uptime.md | 4 +- docs/check-vpn.md | 4 +- docs/check-weather.md | 4 +- docs/check-week.md | 4 +- docs/check-wind.md | 4 +- docs/check-windows-system-files.md | 4 +- docs/check-xml-file.md | 4 +- docs/check-xml-files.md | 4 +- docs/clean-repo.md | 2 +- docs/clean-repos.md | 4 +- docs/clear-dns-cache.md | 4 +- docs/clear-recycle-bin.md | 4 +- docs/clone-repos.md | 4 +- docs/clone-shallow.md | 4 +- 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 | 4 +- 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 | 4 +- docs/connect-vpn.md | 4 +- docs/convert-csv2txt.md | 4 +- docs/convert-dir27z.md | 4 +- docs/convert-dir2zip.md | 4 +- docs/convert-docx2md.md | 4 +- docs/convert-frames2mp4.md | 4 +- docs/convert-history2ps1.md | 4 +- docs/convert-image2ascii.md | 2 +- docs/convert-image2blurred-frames.md | 4 +- docs/convert-image2pixelated-frames.md | 4 +- docs/convert-images2webp.md | 2 +- docs/convert-md2docx.md | 2 +- docs/convert-md2html.md | 4 +- docs/convert-md2pdf.md | 2 +- docs/convert-mysql2csv.md | 4 +- docs/convert-ps2bat.md | 4 +- docs/convert-ps2md.md | 4 +- docs/convert-sql2csv.md | 4 +- docs/convert-txt2wav.md | 4 +- docs/copy-broken-file.md | 2 +- docs/copy-photos-sorted.md | 4 +- docs/copy-videos-sorted.md | 4 +- docs/count-characters.md | 4 +- docs/count-lines.md | 4 +- docs/decrypt-file.md | 4 +- docs/disable-ipv6.md | 4 +- docs/disconnect-vpn.md | 4 +- docs/download-dir.md | 4 +- docs/download-file.md | 4 +- docs/edit.md | 2 +- docs/enable-crash-dumps.md | 2 +- docs/enable-god-mode.md | 4 +- docs/enable-ipv6.md | 4 +- docs/encrypt-file.md | 4 +- docs/enter-chat.md | 2 +- docs/enter-host.md | 4 +- docs/export-to-manuals.md | 4 +- docs/fetch-repo.md | 2 +- docs/fetch-repos.md | 4 +- docs/firefox-installer.md | 4 +- docs/get-md5.md | 4 +- docs/get-sha1.md | 4 +- docs/get-sha256.md | 4 +- docs/get-sha512.md | 4 +- docs/hello-world.md | 2 +- docs/hibernate.md | 4 +- docs/import-vm.md | 2 +- docs/inspect-exe.md | 4 +- docs/install-audacity.md | 4 +- docs/install-basic-apps.md | 4 +- docs/install-basic-snaps.md | 4 +- docs/install-calibre-server.md | 4 +- docs/install-chocolatey.md | 4 +- docs/install-chrome.md | 4 +- docs/install-crystal-disk-info.md | 4 +- docs/install-crystal-disk-mark.md | 4 +- docs/install-discord.md | 4 +- docs/install-edge.md | 4 +- docs/install-edit.md | 4 +- docs/install-evcc.md | 4 +- docs/install-firefox.md | 4 +- docs/install-fonts.md | 2 +- docs/install-git-extensions.md | 4 +- docs/install-git-for-windows.md | 4 +- docs/install-github-cli.md | 4 +- docs/install-gitlab.md | 2 +- docs/install-h2static.md | 4 +- docs/install-irfanview.md | 4 +- docs/install-jenkins-agent.md | 6 +- docs/install-knot-resolver.md | 4 +- docs/install-microsoft-teams.md | 4 +- docs/install-mini-dlna.md | 4 +- docs/install-netflix.md | 4 +- docs/install-obs-studio.md | 28 +++++---- docs/install-octoprint.md | 4 +- docs/install-one-calendar.md | 4 +- docs/install-opera-browser.md | 4 +- docs/install-opera-gx.md | 4 +- docs/install-paint-3d.md | 4 +- docs/install-power-toys.md | 4 +- docs/install-powershell.md | 2 +- docs/install-rufus.md | 4 +- docs/install-salesforce-cli.md | 6 +- docs/install-scoop.md | 2 +- docs/install-signal-cli.md | 4 +- docs/install-spotify.md | 4 +- docs/install-ssh-client.md | 4 +- docs/install-ssh-server.md | 4 +- docs/install-syncthing.md | 4 +- docs/install-thunderbird.md | 4 +- docs/install-unbound-server.md | 4 +- docs/install-updates.md | 73 ++++++++++------------ docs/install-visual-studio-code.md | 4 +- docs/install-vivaldi.md | 4 +- docs/install-vlc.md | 4 +- docs/install-windows-terminal.md | 4 +- docs/install-wsl.md | 4 +- docs/install-zoom.md | 4 +- docs/introduce-powershell.md | 4 +- docs/kill-process.md | 4 +- docs/list-aliases.md | 4 +- docs/list-anagrams.md | 4 +- docs/list-apps.md | 4 +- docs/list-ascii-table.md | 2 +- docs/list-automatic-variables.md | 4 +- docs/list-battery-status.md | 4 +- docs/list-bios.md | 4 +- docs/list-bluetooth-devices.md | 4 +- docs/list-branches.md | 4 +- docs/list-calendar.md | 4 +- docs/list-cheat-sheet.md | 2 +- docs/list-city-weather.md | 4 +- docs/list-cli-tools.md | 4 +- docs/list-clipboard.md | 4 +- docs/list-cmdlets.md | 4 +- docs/list-coffee-prices.md | 4 +- docs/list-commit-stats.md | 4 +- docs/list-commits.md | 4 +- docs/list-console-colors.md | 4 +- docs/list-countries.md | 4 +- docs/list-cpu.md | 4 +- docs/list-crypto-rates.md | 4 +- docs/list-defender-settings.md | 4 +- docs/list-dir-tree.md | 4 +- docs/list-dns-servers.md | 4 +- docs/list-drives.md | 4 +- docs/list-earthquakes.md | 4 +- docs/list-emojis.md | 2 +- docs/list-empty-dirs.md | 4 +- docs/list-empty-files.md | 4 +- docs/list-encrypted-files.md | 4 +- docs/list-environment-variables.md | 4 +- docs/list-error-types.md | 2 +- docs/list-exchange-rates.md | 4 +- docs/list-executables.md | 4 +- docs/list-fibonacci.md | 2 +- docs/list-files.md | 4 +- docs/list-folder.md | 4 +- docs/list-fritzbox-calls.md | 2 +- docs/list-fritzbox-devices.md | 2 +- docs/list-headlines.md | 4 +- docs/list-hidden-files.md | 4 +- docs/list-installed-hotfixes.md | 4 +- docs/list-installed-languages.md | 4 +- docs/list-installed-scripts.md | 2 +- docs/list-installed-software.md | 4 +- docs/list-internet-ip.md | 10 +-- docs/list-ipv6.md | 4 +- docs/list-latest-tag.md | 4 +- docs/list-latest-tags.md | 4 +- docs/list-local-ip.md | 4 +- docs/list-mDNS.md | 2 +- docs/list-memos.md | 4 +- docs/list-mysql-tables.md | 2 +- docs/list-network-connections.md | 4 +- docs/list-network-neighbors.md | 4 +- docs/list-network-routes.md | 4 +- docs/list-network-shares.md | 16 +++-- docs/list-news.md | 4 +- docs/list-nic.md | 4 +- docs/list-nina-warnings.md | 4 +- docs/list-old-branches.md | 4 +- docs/list-os-releases.md | 4 +- docs/list-os-updates.md | 4 +- docs/list-os.md | 4 +- docs/list-outlook-inbox.md | 4 +- docs/list-outlook-sent.md | 4 +- docs/list-passwords.md | 4 +- docs/list-pins.md | 4 +- docs/list-power-schemes.md | 2 +- docs/list-powershell-modules.md | 4 +- docs/list-powershell-profiles.md | 4 +- docs/list-powershell-verbs.md | 4 +- docs/list-print-jobs.md | 4 +- docs/list-printers.md | 4 +- docs/list-processes.md | 4 +- docs/list-pull-requests.md | 4 +- docs/list-ram.md | 4 +- docs/list-read-only-files.md | 4 +- docs/list-recycle-bin.md | 4 +- docs/list-repos.md | 4 +- docs/list-scripts.md | 4 +- docs/list-scsi-devices.md | 4 +- docs/list-services.md | 4 +- docs/list-special-folders.md | 4 +- docs/list-sql-tables.md | 2 +- docs/list-ssh-key.md | 4 +- docs/list-submodules.md | 4 +- docs/list-suggestions.md | 4 +- docs/list-system-devices.md | 4 +- docs/list-system-files.md | 4 +- docs/list-system-info.md | 2 +- docs/list-tags.md | 4 +- docs/list-tasks.md | 4 +- docs/list-timezone.md | 4 +- docs/list-timezones.md | 4 +- docs/list-tiobe-index.md | 2 +- docs/list-unused-files.md | 14 ++--- docs/list-updates.md | 68 ++++++++++---------- docs/list-usb-devices.md | 4 +- docs/list-user-accounts.md | 4 +- docs/list-user-groups.md | 4 +- docs/list-voices.md | 2 +- docs/list-weather.md | 4 +- docs/list-wifi.md | 4 +- docs/list-window-titles.md | 4 +- docs/list-workdir.md | 4 +- docs/list-wsl-distros.md | 4 +- docs/locate-city.md | 4 +- docs/locate-ipaddress.md | 4 +- docs/locate-my-phone.md | 2 +- docs/locate-zip-code.md | 4 +- docs/lock-desktop.md | 4 +- docs/log-off.md | 4 +- docs/make-install.md | 4 +- 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 | 4 +- docs/move-mouse-pointer.md | 4 +- docs/move-vm.md | 2 +- docs/my-profile.md | 6 +- docs/new-branch.md | 4 +- docs/new-dir.md | 4 +- docs/new-email.md | 4 +- docs/new-junction.md | 4 +- docs/new-linux-vm.md | 2 +- docs/new-markdown-file.md | 4 +- docs/new-power-plan.md | 2 +- docs/new-powershell-script.md | 4 +- docs/new-qrcode.md | 4 +- docs/new-reboot-task.md | 2 +- docs/new-shortcut.md | 4 +- docs/new-ssh-key.md | 4 +- docs/new-symlink.md | 4 +- docs/new-tab.md | 4 +- docs/new-tag.md | 4 +- docs/new-text-file.md | 4 +- docs/new-user.md | 4 +- docs/new-windows-vm.md | 2 +- docs/on-desktop-login.md | 4 +- docs/open-URL.md | 4 +- docs/open-apps-folder.md | 2 +- docs/open-auto-start-folder.md | 4 +- docs/open-bing-maps.md | 6 +- docs/open-booking-com.md | 2 +- docs/open-c-drive.md | 2 +- docs/open-calculator.md | 4 +- docs/open-chrome.md | 4 +- docs/open-clock.md | 4 +- docs/open-cortana.md | 4 +- docs/open-d-drive.md | 2 +- docs/open-dashboards.md | 4 +- docs/open-deep-l-translator.md | 2 +- docs/open-default-browser.md | 4 +- docs/open-desktop-folder.md | 4 +- docs/open-documents-folder.md | 4 +- docs/open-downloads-folder.md | 4 +- docs/open-dropbox-folder.md | 4 +- 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 | 4 +- docs/open-f-drive.md | 2 +- docs/open-file-explorer.md | 4 +- docs/open-fire-place.md | 2 +- docs/open-firefox.md | 4 +- docs/open-flight-radar.md | 2 +- docs/open-g-drive.md | 2 +- docs/open-git-extensions.md | 4 +- 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 | 4 +- docs/open-internet-archive.md | 2 +- docs/open-jitsi-meet.md | 2 +- docs/open-m-drive.md | 2 +- docs/open-magnifier.md | 4 +- docs/open-microsoft-paint.md | 4 +- docs/open-microsoft-solitaire.md | 2 +- docs/open-microsoft-store.md | 2 +- docs/open-microsoft-teams.md | 4 +- docs/open-music-folder.md | 4 +- docs/open-netflix.md | 2 +- docs/open-notepad.md | 4 +- docs/open-obs-studio.md | 4 +- docs/open-office-365.md | 2 +- docs/open-one-drive-folder.md | 4 +- docs/open-outlook.md | 4 +- docs/open-paint-three-d.md | 4 +- docs/open-pictures-folder.md | 4 +- docs/open-rdp.md | 2 +- docs/open-recycle-bin-folder.md | 4 +- docs/open-remote-desktop.md | 4 +- docs/open-repos-folder.md | 4 +- docs/open-screen-clip.md | 4 +- docs/open-screen-sketch.md | 4 +- docs/open-skype.md | 4 +- 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 | 4 +- docs/open-temporary-folder.md | 4 +- docs/open-three-d-viewer.md | 2 +- docs/open-thunderbird.md | 4 +- docs/open-videos-folders.md | 4 +- docs/open-visual-studio.md | 4 +- docs/open-voice-recorder.md | 4 +- docs/open-vpn-settings.md | 2 +- docs/open-windows-defender.md | 2 +- docs/open-windows-terminal.md | 2 +- docs/open-windy.md | 2 +- docs/open-xing.md | 2 +- docs/pick-commit.md | 4 +- docs/ping-host.md | 4 +- docs/ping-internet.md | 4 +- docs/ping-local-devices.md | 4 +- docs/ping-weather.md | 4 +- docs/play-ascii-video.md | 55 ++++++++++++++++ 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 | 4 +- docs/play-frog-sound.md | 2 +- docs/play-goat-sound.md | 2 +- docs/play-gorilla-sound.md | 2 +- docs/play-happy-birthday.md | 4 +- docs/play-horse-sound.md | 2 +- docs/play-imperial-march.md | 4 +- docs/play-jingle-bells.md | 4 +- docs/play-lion-sound.md | 2 +- docs/play-m3u.md | 4 +- docs/play-mission-impossible.md | 4 +- docs/play-mp3.md | 4 +- 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 | 15 +++-- docs/play-snake.md | 2 +- docs/play-super-mario.md | 2 +- docs/play-system-sounds.md | 4 +- docs/play-tetris-melody.md | 2 +- docs/play-vulture-sound.md | 2 +- docs/play-wolf-sound.md | 2 +- docs/poweroff.md | 4 +- docs/print-image.md | 4 +- docs/publish-to-ipfs.md | 4 +- docs/pull-repo.md | 2 +- docs/pull-repos.md | 12 ++-- docs/query-smart-data.md | 4 +- docs/reboot-fritzbox.md | 2 +- docs/reboot-into-bios.md | 2 +- docs/reboot.md | 4 +- docs/remember.md | 4 +- docs/remind-me.md | 4 +- docs/remove-dir.md | 4 +- docs/remove-empty-dirs.md | 4 +- docs/remove-old-dirs.md | 4 +- docs/remove-print-jobs.md | 4 +- docs/remove-tag.md | 4 +- docs/remove-user.md | 4 +- docs/remove-vm.md | 2 +- docs/replace-in-files.md | 4 +- docs/restart-network-adapters.md | 4 +- docs/roll-a-dice.md | 2 +- docs/save-credentials.md | 4 +- docs/save-screenshot.md | 4 +- docs/scan-folder.md | 4 +- docs/scan-network.md | 2 +- docs/scan-ports.md | 2 +- docs/search-filename.md | 2 +- docs/search-files.md | 4 +- docs/search-repo.md | 4 +- docs/send-email.md | 4 +- docs/send-tcp.md | 4 +- docs/send-udp.md | 4 +- docs/set-timer.md | 4 +- docs/set-volume.md | 4 +- docs/set-wallpaper.md | 4 +- docs/show-lightnings.md | 2 +- docs/show-notification-motivation-quote.md | 2 +- docs/show-notification.md | 4 +- docs/show-traffic.md | 2 +- docs/simulate-presence.md | 4 +- docs/smart-data2csv.md | 4 +- docs/speak-arabic.md | 4 +- docs/speak-checklist.md | 4 +- docs/speak-countdown.md | 4 +- docs/speak-croatian.md | 4 +- docs/speak-danish.md | 4 +- docs/speak-dutch.md | 4 +- docs/speak-english.md | 4 +- docs/speak-epub.md | 2 +- docs/speak-esperanto.md | 4 +- docs/speak-file.md | 4 +- docs/speak-finnish.md | 4 +- docs/speak-french.md | 4 +- docs/speak-german.md | 4 +- docs/speak-greek.md | 4 +- docs/speak-hebrew.md | 4 +- docs/speak-hindi.md | 4 +- docs/speak-italian.md | 4 +- docs/speak-japanese.md | 4 +- docs/speak-korean.md | 4 +- docs/speak-latin.md | 4 +- docs/speak-mandarin.md | 4 +- docs/speak-norwegian.md | 4 +- docs/speak-polish.md | 4 +- docs/speak-portuguese.md | 4 +- docs/speak-russian.md | 4 +- docs/speak-spanish.md | 4 +- docs/speak-swedish.md | 4 +- docs/speak-test.md | 4 +- docs/speak-text.md | 4 +- docs/speak-thai.md | 4 +- docs/speak-turkish.md | 4 +- docs/speak-ukrainian.md | 4 +- docs/spell-word.md | 4 +- docs/start-ipfs-server.md | 4 +- docs/suspend.md | 4 +- docs/switch-branch.md | 2 +- docs/switch-shelly1.md | 4 +- docs/switch-tabs.md | 4 +- docs/sync-dir.md | 4 +- docs/sync-repo.md | 4 +- docs/tell-joke.md | 4 +- docs/tell-new-year.md | 4 +- docs/tell-quote.md | 4 +- docs/toggle-caps-lock.md | 4 +- docs/toggle-num-lock.md | 4 +- docs/toggle-scroll-lock.md | 4 +- docs/touch.md | 4 +- docs/translate-file.md | 4 +- docs/translate-files.md | 4 +- docs/translate-text.md | 4 +- docs/turn-volume-down.md | 4 +- docs/turn-volume-fully-up.md | 4 +- docs/turn-volume-off.md | 4 +- docs/turn-volume-on.md | 4 +- docs/turn-volume-up.md | 4 +- docs/uninstall-all-apps.md | 4 +- docs/uninstall-bloatware.md | 2 +- docs/uninstall-new-outlook.md | 4 +- docs/uninstall-outlook.md | 4 +- docs/update-powershell-profile.md | 4 +- docs/upgrade-ubuntu.md | 4 +- docs/upload-file.md | 4 +- docs/upload-to-dropbox.md | 4 +- docs/wake-up-host.md | 4 +- docs/wake-up-human.md | 2 +- docs/watch-commits.md | 4 +- docs/watch-crypto-rates.md | 4 +- docs/watch-file.md | 2 +- docs/watch-host.md | 4 +- docs/watch-news.md | 4 +- docs/watch-ping.md | 4 +- docs/weather-report.md | 4 +- docs/weather.md | 4 +- docs/what-is.md | 9 +-- docs/windefender.md | 2 +- docs/write-animated.md | 4 +- docs/write-ascii-image.md | 4 +- docs/write-big.md | 4 +- docs/write-blue.md | 2 +- docs/write-braille.md | 4 +- docs/write-centered.md | 4 +- docs/write-changelog.md | 4 +- docs/write-chart.md | 2 +- docs/write-clock.md | 4 +- docs/write-code.md | 4 +- docs/write-credits.md | 4 +- docs/write-date.md | 4 +- docs/write-fractal.md | 2 +- docs/write-green.md | 2 +- docs/write-hands-off.md | 4 +- docs/write-headline.md | 4 +- docs/write-help.md | 62 +++++++++--------- docs/write-in-emojis.md | 4 +- docs/write-joke.md | 4 +- docs/write-location.md | 4 +- docs/write-lowercase.md | 2 +- docs/write-marquee.md | 2 +- docs/write-matrix.md | 2 +- docs/write-moon.md | 4 +- docs/write-morse-code.md | 4 +- docs/write-motd.md | 2 +- docs/write-pi.md | 4 +- docs/write-progress-bar.md | 41 ++++++++++-- docs/write-qr-code.md | 2 +- docs/write-quote.md | 4 +- docs/write-red.md | 2 +- docs/write-rot13.md | 4 +- docs/write-shit.md | 2 +- docs/write-sine-curves.md | 2 +- docs/write-skull.md | 73 ++++++++++++++++++++++ docs/write-story.md | 2 +- docs/write-time.md | 4 +- docs/write-typewriter.md | 4 +- docs/write-uppercase.md | 2 +- docs/write-value.md | 2 +- docs/write-vertical.md | 4 +- docs/write-xmas-tree.md | 2 +- scripts/cd-templates.ps1 | 2 +- scripts/cd-videos.ps1 | 5 +- scripts/play-ascii-video.ps1 | 0 scripts/write-skull.ps1 | 0 664 files changed, 1447 insertions(+), 1296 deletions(-) create mode 100644 docs/play-ascii-video.md create mode 100644 docs/write-skull.md mode change 100644 => 100755 scripts/play-ascii-video.ps1 mode change 100644 => 100755 scripts/write-skull.ps1 diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index f70e4ff02..83028daaa 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -111,9 +111,10 @@ try { Write-Host -ForegroundColor Green "Done" } catch { - Write-Error "Error in line $($_.InvocationInfo.ScriptLineNumber): $($_.Exception.Message)" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/alert.md b/docs/alert.md index 2d3deb1ef..b76f5d1c3 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -67,9 +67,9 @@ try { exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/build-repo.md b/docs/build-repo.md index 3671a2bb6..371dd2d26 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -215,4 +215,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/build-repos.md b/docs/build-repos.md index cacac9869..4d1137d77 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -78,9 +78,9 @@ try { "✅ Built $FolderCount Git repositories at 📂$ParentDirName in $Elapsed sec" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/calculate-BMI.md b/docs/calculate-BMI.md index d67587b64..9a66642fe 100644 --- a/docs/calculate-BMI.md +++ b/docs/calculate-BMI.md @@ -1,7 +1,7 @@ Script: *calculate-BMI.ps1* ======================== -This PowerShell script calculates the BMI. +This PowerShell script calculates your BMI value. Parameters ---------- @@ -35,7 +35,7 @@ Script Content .SYNOPSIS Calculate the BMI .DESCRIPTION - This PowerShell script calculates the BMI. + This PowerShell script calculates your BMI value. .EXAMPLE PS> ./calculate-BMI.ps1 .LINK @@ -46,16 +46,19 @@ Script Content #requires -version 5.1 -try { - [float]$height = Read-Host("Enter your height in m ") - [float]$weight = Read-Host("Enter your weight in kg") - $BMI = $weight / ($height * $height) - "Your BMI is $BMI, for adults the WHO regards <16 as Underweight (severe thinness), 16-17 as Underweight (moderate thinness), 17-18.5 as Underweight (mild thinness), 18.5-25 as Normal range, 25-30 as Overweight (pre-obese), 30-35 as Obese (class I), 35-40 as Obese (class II), and >=40 as Obese (class III)." - exit 0 # success -} catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." - exit 1 -} +[float]$height = Read-Host("Enter your height in m ") +[float]$weight = Read-Host("Enter your weight in kg") +$result = $weight / ($height * $height) +"Your BMI is $result, for adults the WHO regards:" +" <16 as Underweight (severe thinness)" +" 16-17 as Underweight (moderate thinness)" +" 17-18.5 as Underweight (mild thinness)" +" 18.5-25 as Normal range" +" 25-30 as Overweight (pre-obese)" +" 30-35 as Obese (class I)" +" 35-40 as Obese (class II)" +" >=40 as Obese (class III)" +exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index f1cd68000..ce02c376e 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -50,9 +50,7 @@ Script Content try { $path = Resolve-Path "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" - if (-not(Test-Path "$path" -pathType container)) { - throw "No autostart folder at 📂$path" - } + if (-not(Test-Path "$path" -pathType container)) { throw "The path to autostart folder '$path' doesn't exist (yet)" } Set-Location "$path" "📂$path" exit 0 # success @@ -62,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index 1b29df78e..02d7f657d 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -49,22 +49,22 @@ Script Content #requires -version 5.1 try { - if ($IsLinux) { throw "Sorry, Windows only" } + if ($IsLinux -or $IsMacOS) { throw "Sorry, Windows only" } [string]$path = Resolve-Path -Path "~" if (!(Test-Path "$path" -pathType container)) { throw "No home directory at $path" } $path += "\AppData\Local\CrashDumps" - if (!(Test-Path "$path" -pathType container)) { throw "No crashdumps folder at $path" } + if (-not(Test-Path "$path" -pathType container)) { throw "The path to crashdumps folder '$path' doesn't exist (yet)" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory "📂$path with $($files.Count) files entered." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index 3df793473..54b4ee5a2 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index 2c37b0e39..b909769a4 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -50,15 +50,11 @@ Script Content try { if ($IsLinux -or $IsMacOS) { - if (-not(Test-Path "~/Documents" -pathType container)) { - throw "Your home directory has no 'Documents' folder yet" - } + if (-not(Test-Path "~/Documents" -pathType container)) { 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" - } + if (-not(Test-Path "$path" -pathType container)) { throw "The path to documents folder '$path' doesn't exist (yet)" } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory @@ -71,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index 5a8cc7f10..f02ffb9e8 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -50,15 +50,12 @@ Script Content try { if ($IsLinux -or $IsMacOS) { - if (-not(Test-Path "~/Downloads" -pathType container)) { - throw "No 'Downloads' folder in your home directory yet" + if (-not(Test-Path "~/Downloads" -pathType container)) { 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" - } + if (-not(Test-Path "$path" -pathType container)) { throw "The path to downloads folder '$path' doesn't exist (yet)" } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory @@ -71,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index 6f2bf9b00..cbdae6111 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index 70e85ea16..d294ff911 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index 8daa51a76..972a41ae1 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-home.md b/docs/cd-home.md index bc6877e71..09663107b 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -49,7 +49,7 @@ Script Content #requires -version 5.1 try { - if (-not(Test-Path "~" -pathType container)) { throw "No home directory at: $path" } + if (-not(Test-Path "~" -pathType container)) { throw "The path to home directory '$path' doesn't exist (yet)" } $path = Resolve-Path "~" Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index 5db8cc475..4144513de 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index 8044742cc..85cc92ef5 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-music.md b/docs/cd-music.md index 30d2e8603..b67ef4646 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -49,16 +49,12 @@ Script Content #requires -version 5.1 try { - if ($IsLinux) { - if (-not(Test-Path "~/Music/" -pathType container)) { - throw "No 'Music' folder in home directory" - } + if ($IsLinux -or $IsMacOS) { + if (-not(Test-Path "~/Music/" -pathType container)) { throw "No 'Music' folder in your home directory (yet)" } $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 "The path to music folder '$path' doesn't exist (yet)" } } Set-Location "$path" $folders = Get-ChildItem $path -attributes Directory @@ -71,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index 9085d23f3..4d212ce05 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index aba530f11..866872bed 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index 37d8e6e84..97b6e382b 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -49,16 +49,12 @@ Script Content #requires -version 5.1 try { - if ($IsLinux) { - if (-not(Test-Path "~/Pictures" -pathType container)) { - throw "No 'Pictures' folder in your home directory yet" - } + if ($IsLinux -or $IsMacOS) { + 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 "The path to pictures folder '$path' doesn't exist (yet)" } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory @@ -71,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-public.md b/docs/cd-public.md index 17aad87ef..870764ddd 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index a7591b9f9..8da4c038e 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index f44d50c51..fb8dfd7f8 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index b876b6636..a38230d77 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -79,7 +79,7 @@ try { throw "No Git repositories folder in your home directory or in the root folder yet" } $path += "/" + $folderName - if (-not(Test-Path "$path" -pathType container)) { throw "The file path '$path' doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { throw "The path to folder '$path' doesn't exist (yet)" } $path = Resolve-Path "$path" Set-Location "$path" @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index ce5d4bcca..492909a78 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-root.md b/docs/cd-root.md index 1eda72199..0daeb2f5f 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index 893b71606..171ae273a 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index e7ed4299f..0e9fd289a 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index 811459736..38741c362 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-sync.md b/docs/cd-sync.md index 55ec5a039..16f978063 100644 --- a/docs/cd-sync.md +++ b/docs/cd-sync.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index b25c10cc4..613e00e94 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -57,7 +57,7 @@ function GetTempDir { try { $path = GetTempDir - if (-not(Test-Path "$path" -pathType container)) { throw "No temporary folder at: $path" } + if (-not(Test-Path "$path" -pathType container)) { throw "The path to temporary folder '$path' doesn't exist (yet)" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index 2205ca3e2..875f8f762 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -49,16 +49,12 @@ Script Content #requires -version 5.1 try { - if ($IsLinux) { - if (-not(Test-Path "~/Templates" -pathType container)) { - throw "No 'Templates' folder in your home directory yet" - } + if ($IsLinux -or $IsMacOS) { + 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 "The path to templates folder '$path' doesn't exist (yet)" } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory @@ -71,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index 4568ce2f5..30419045b 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-up.md b/docs/cd-up.md index 432d90494..a736fc3c1 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index 1f79d1985..f0fa6068a 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index 679c933d5..f1bb34a73 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index 21b6c0777..a66dd6820 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-users.md b/docs/cd-users.md index d934fc750..40f440e8a 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index c647c5e12..6bf6dc318 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -49,13 +49,12 @@ Script Content #requires -version 5.1 try { - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { + if (-not(Test-Path "~/Videos" -pathType container)) { throw "No 'Videos' folder in your home directory (yet)" } $path = Resolve-Path "~/Videos" - } else { + } else { $path = [Environment]::GetFolderPath('MyVideos') - } - if (-not(Test-Path "$path" -pathType container)) { - throw "No videos folder at $path" + if (-not(Test-Path "$path" -pathType container)) { throw "The path to video folder '$path' doesn't exist (yet)" } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory @@ -68,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index e678ac91e..b44f162ac 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index 5e45e6b81..b5f2b85c1 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -75,9 +75,9 @@ try { & "$PSScriptRoot/set-wallpaper.ps1" -ImageFile "$Path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:02)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-admin.md b/docs/check-admin.md index ab614e866..4b9d54c3a 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -62,9 +62,9 @@ try { } exit 0 # success } catch { - "⚠️ Error: $($Error[0]) (in script line $($_.InvocationInfo.ScriptLineNumber))" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-apps.md b/docs/check-apps.md index 2e3b5c4f4..f11819902 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -67,9 +67,9 @@ try { Write-Host "$status $reply" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-bios.md b/docs/check-bios.md index 7a1cb7716..080f60010 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -70,9 +70,9 @@ try { Write-Host "✅ BIOS model $model, version $($version)$($releaseDate), S/N $serial by $manufacturer" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index 8cdb2d98e..1be575ae5 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -99,9 +99,9 @@ try { Write-Host "$status $cpuName ($($arch)$cores cores$($temp)$($deviceID)$($speed)$($socket))" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index d5d2bf0e2..bf30efad7 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -78,9 +78,9 @@ try { "✅ Your credentials are correct." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-day.md b/docs/check-day.md index 043106987..ff2d65ee8 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -52,9 +52,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "It's $Weekday." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-dns.md b/docs/check-dns.md index 476629707..284c10c84 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -67,9 +67,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index e96af282a..66bedd32c 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -107,9 +107,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-drives.md b/docs/check-drives.md index ddb5beaad..42978355d 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -98,9 +98,9 @@ try { Write-Host "$status $reply" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index 19942e30e..e669c954b 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -58,9 +58,9 @@ try { Write-Output $Reply exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index 823cd8076..3654267ab 100644 --- a/docs/check-easter-sunday.md +++ b/docs/check-easter-sunday.md @@ -56,9 +56,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index ef0990acb..cbca0befc 100644 --- a/docs/check-file-system.md +++ b/docs/check-file-system.md @@ -71,9 +71,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "File system on drive $Drive is clean." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-file.md b/docs/check-file.md index 39e3743ec..1d24585ba 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index 3f59d74cb..4e5271e61 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -60,9 +60,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index e6ced1d86..697f0f261 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -62,9 +62,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index 4d810b98b..2c04ca9a2 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-health.md b/docs/check-health.md index 130ef588a..029e03e0a 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index 90a2d2673..5cd1bda31 100644 --- a/docs/check-independence-day.md +++ b/docs/check-independence-day.md @@ -56,9 +56,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index 861ee3e6c..3ae137305 100644 --- a/docs/check-ipv4-address.md +++ b/docs/check-ipv4-address.md @@ -80,9 +80,9 @@ try { exit 1 } } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index 248ac35b5..8f6dfebf7 100644 --- a/docs/check-ipv6-address.md +++ b/docs/check-ipv6-address.md @@ -94,9 +94,9 @@ try { exit 1 } } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index 7560ac6cd..c0d101738 100644 --- a/docs/check-iss-position.md +++ b/docs/check-iss-position.md @@ -50,9 +50,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "The International Space Station is currently at $($ISS.iss_position.longitude)° longitude and $($ISS.iss_position.latitude)° latitude." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index d0aaf6edd..7eecc9dfc 100644 --- a/docs/check-mac-address.md +++ b/docs/check-mac-address.md @@ -83,9 +83,9 @@ try { exit 1 } } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index 1025fd6f9..b37a6fde2 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -55,9 +55,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "$Reply" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-month.md b/docs/check-month.md index 38b046711..a181fe376 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -52,9 +52,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "It's $MonthName." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index 456d4e3d2..323b56585 100644 --- a/docs/check-moon-phase.md +++ b/docs/check-moon-phase.md @@ -71,9 +71,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "$Reply" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index 99b14be5e..760e32c1c 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -54,9 +54,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-network.md b/docs/check-network.md index 39b65cd52..9522885ed 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-noon.md b/docs/check-noon.md index 9a4646b37..540ed7a5f 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -54,9 +54,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "$Reply" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-os.md b/docs/check-os.md index 494492949..b5166a3f3 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -68,9 +68,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index 145b39dbf..9b3a9c9f0 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -60,9 +60,9 @@ try { if ($Unread -eq 0) { "✅ No new mails." } exit 0 # success } catch { - "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-password.md b/docs/check-password.md index 119d6f15c..db69403e4 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -90,9 +90,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index 5e4670722..9e8485d81 100644 --- a/docs/check-pending-reboot.md +++ b/docs/check-pending-reboot.md @@ -79,15 +79,15 @@ try { $reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'" } if ($reason -ne "") { - $reply = "⚠️ Pending reboot (found: $($reason.substring(2)) in registry)" + $reply = "⚠️ Pending reboot (registry has $($reason.substring(2)))" } } Write-Host $reply exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index c42e81aca..d945aeb63 100644 --- a/docs/check-pnp-devices.md +++ b/docs/check-pnp-devices.md @@ -60,9 +60,9 @@ try { Get-PnpDevice | Where-Object {$_.Status -like "Error"} | Format-Table -property FriendlyName,Status,InstanceId exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-power.md b/docs/check-power.md index e7e4670f6..f78460225 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -86,9 +86,9 @@ try { Write-Host $reply exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index 7906f138d..46591b272 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -54,9 +54,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 44163d67f..f592b987d 100644 --- a/docs/check-ps1-file.md +++ b/docs/check-ps1-file.md @@ -72,9 +72,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-ram.md b/docs/check-ram.md index c3c4ddd04..10ad56884 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -93,9 +93,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-repo.md b/docs/check-repo.md index e9280a800..a4cb09f5d 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -125,9 +125,9 @@ try { "✅ Repo '$repoDirName' has been checked in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-repos.md b/docs/check-repos.md index 22f55bd61..e7246217c 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -87,9 +87,9 @@ try { "✅ $numFolders Git repos checked at 📂$parentDir in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-santa.md b/docs/check-santa.md index d5ddec51f..8f1ca64d6 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -51,9 +51,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "Saint Nicholas Day is in $($Diff.Days) days." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index 48764588b..59953f8c4 100644 --- a/docs/check-smart-devices.md +++ b/docs/check-smart-devices.md @@ -115,9 +115,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-software.md b/docs/check-software.md index bf557b04e..e4496d66d 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index 57c60d79a..d9c4d98fa 100644 --- a/docs/check-subnet-mask.md +++ b/docs/check-subnet-mask.md @@ -80,9 +80,9 @@ try { exit 1 } } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index 57d027cad..5f61a04d6 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -103,9 +103,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index 078bd7672..038f99c20 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -96,9 +96,9 @@ try { } exit $numBroken } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index 807c6d21c..3b624e535 100644 --- a/docs/check-time-zone.md +++ b/docs/check-time-zone.md @@ -61,9 +61,9 @@ try { Write-Host "✅ $Time $TZName (UTC+$($offset)$($DST))" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index 91c658fd8..8fdd86d7a 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -109,9 +109,9 @@ try { Write-Host "$status $(hostname) is up for $(TimeSpanAsString $uptime) since $($lastBootTime.ToShortDateString()) $pending" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index 52aaa4344..1a6cfea48 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -60,9 +60,9 @@ try { if ($noVPN) { Write-Host "⚠️ No VPN configured" } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-weather.md b/docs/check-weather.md index 55929054e..485982814 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -77,9 +77,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "$($Temp)°C, $($Precip)mm rain, $($Humidity)% humidity, $($WindSpeed)km/h wind from $WindDir with $($Clouds)% clouds and $($Visib)km visibility at $Area ($Region)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-week.md b/docs/check-week.md index 4871d3c09..01cded6c1 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -49,9 +49,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "It's week #$WeekNo." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-wind.md b/docs/check-wind.md index 3103fb1b4..09a81ddb4 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -68,9 +68,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "$($WindSpeed)km/h wind from $WindDir at $Area ($Region)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index e988b2db0..ac9375a4d 100644 --- a/docs/check-windows-system-files.md +++ b/docs/check-windows-system-files.md @@ -55,9 +55,9 @@ try { "✅ checked Windows system files" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index c5d4cad65..be96b9839 100644 --- a/docs/check-xml-file.md +++ b/docs/check-xml-file.md @@ -81,9 +81,9 @@ try { "✅ $path is valid XML" exit 0 # success } catch { - "⚠️ $($Error[0]) in 📄$path" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index b5a6174bb..50a1aa965 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -80,9 +80,9 @@ try { } exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index 5e148985a..eb2dcb6b0 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index 02db39db6..eac2a8069 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -96,9 +96,9 @@ try { "✅ Cleaned $numFolders Git repositories under 📂$parentDirName in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index e0005bbd1..331cb5681 100644 --- a/docs/clear-dns-cache.md +++ b/docs/clear-dns-cache.md @@ -55,9 +55,9 @@ try { "✅ DNS cache cleared in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index bb93eb7e1..447cb405e 100644 --- a/docs/clear-recycle-bin.md +++ b/docs/clear-recycle-bin.md @@ -53,9 +53,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "It's clean now." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index 9a38800e1..deac35952 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -114,9 +114,9 @@ try { "✅ Cloned $cloned additional Git repos into 📂$targetDirName in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index c2d6011b1..eaa3eba66 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -70,9 +70,9 @@ try { "✅ Cloned the shallow repository in $elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index 4b7cea345..6a1cc4840 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index 3fd89e3a6..1a82aa77b 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index 75fb9cee6..f892d115e 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-edge.md b/docs/close-edge.md index fcf81e3d1..68b503a62 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index f2937dae3..7022341d2 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index 7b4c4e148..923922c9c 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index eaa8c9ecd..c626f0de6 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index 955b8ea4a..385d8fa3a 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 847d77c1d..ccc04d2ea 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index 1c1a75bea..6666d0aa9 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index ec68df279..eff19ff94 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index babd22cbe..d40d8cebb 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index 5ed3b9552..6d7234e80 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index 67b9b2944..65a61cdde 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index 7c5854ca1..dc41b61f4 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index 827445a25..a5eb9e666 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-program.md b/docs/close-program.md index f03bf3be2..f031fc5fd 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -116,9 +116,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index 56c27e46e..3d9bf5406 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index 556722365..dffc8bf6c 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index 58da1a138..149ac09c4 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 38df39246..5f4463201 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index 40617ed7c..0e54d1596 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index 2ef786598..80d96f710 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index 12f9c08f3..05c775a17 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index 05a61304d..4157c6527 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index eef59f328..12ebd3edd 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/configure-git.md b/docs/configure-git.md index 854a94874..c9f0a012c 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -139,9 +139,9 @@ try { "✅ Saved your Git configuration to ~/.gitconfig in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber)): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index ab3725dd8..3c136ea07 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -57,9 +57,9 @@ try { } throw "No VPN connection available" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index 344875d07..c3f158537 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -68,9 +68,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-dir27z.md b/docs/convert-dir27z.md index 51b21d499..35400b980 100644 --- a/docs/convert-dir27z.md +++ b/docs/convert-dir27z.md @@ -88,9 +88,9 @@ try { "✅ Converted 📂$dirPath into $targetFile in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index a983b5222..8e9ae097a 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -85,9 +85,9 @@ try { "✅ Converted into compressed $zipPath in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index 71e7e1fc5..7e0175a47 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -77,9 +77,9 @@ try { "✅ converted in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index 9652bf0f8..e901f39e2 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -55,9 +55,9 @@ try { "✅ converted $($Files.Count) image frames to video $TargetFile in $Elapsed sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-history2ps1.md b/docs/convert-history2ps1.md index b2167cd1e..f9eefbe19 100644 --- a/docs/convert-history2ps1.md +++ b/docs/convert-history2ps1.md @@ -75,9 +75,9 @@ try { "✅ Converted your command history into PowerShell script: $path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index 3e7c1df75..195c62ab0 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 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index b814f4fdd..39b719187 100644 --- a/docs/convert-image2blurred-frames.md +++ b/docs/convert-image2blurred-frames.md @@ -65,9 +65,9 @@ try { "✅ converted image $ImageFile to $Frames blurred frames in 📂$TargetDir in $Elapsed sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:03)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index 9503a4c68..5c307ac8c 100644 --- a/docs/convert-image2pixelated-frames.md +++ b/docs/convert-image2pixelated-frames.md @@ -65,9 +65,9 @@ try { "✅ converted image $SourceFile to $Frames pixelated frames in 📂$TargetDir in $Elapsed sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-images2webp.md b/docs/convert-images2webp.md index 3af91d729..3cccf3f2d 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 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index 3b03c9cdb..db269001f 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 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index ddb2c9e2c..5a0f68207 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -76,9 +76,9 @@ try { "✅ converted in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index 4c7ccb93f..771414a6a 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 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index 2e58938e2..2925d6283 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -119,9 +119,9 @@ try { $result | Export-Csv $csvfilepath -NoTypeInformation exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index 3c735b705..719a835a9 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -85,9 +85,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index f54773b2b..db80d4304 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -181,9 +181,9 @@ try { $now = [datetime]::Now "*(page generated by convert-ps2md.ps1 as of $now)*" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index 124246bdb..181c3481b 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -120,9 +120,9 @@ try { $result | Export-Csv $csvfilepath -NoTypeInformation exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index ff7b2e9ad..2b99a3c84 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -81,9 +81,9 @@ try { $SpeechSynthesizer.Dispose() exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/copy-broken-file.md b/docs/copy-broken-file.md index a23ba341d..9f1913807 100644 --- a/docs/copy-broken-file.md +++ b/docs/copy-broken-file.md @@ -683,4 +683,4 @@ if ($UnreadableBlocks) { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index 183bbfb2f..67b6b71d6 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -148,9 +148,9 @@ try { "✅ $copied photos copied to 📂$targetDir in $($elapsed)s ($skipped skipped)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/copy-videos-sorted.md b/docs/copy-videos-sorted.md index c468efe64..2060dff98 100644 --- a/docs/copy-videos-sorted.md +++ b/docs/copy-videos-sorted.md @@ -131,9 +131,9 @@ try { "✅ $copied videos copied to 📂$targetDir in $($elapsed)s ($skipped skipped)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/count-characters.md b/docs/count-characters.md index 20c23a1b2..676498ee0 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -67,9 +67,9 @@ try { "✅ $numChars characters counted in '$givenString'." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/count-lines.md b/docs/count-lines.md index 346040b47..98cb50816 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -79,9 +79,9 @@ try { "✅ Found $numLines lines in $numFiles text files within 📂$folderName in $Elapsed sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index 44dca9af1..51a058a36 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -194,9 +194,9 @@ try { "✅ file decrypted in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index b004bafde..5ed208e06 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -51,9 +51,9 @@ try { "✅ IPv6 is disabled now." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index e036131d3..293884ea6 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -58,9 +58,9 @@ try { } throw "No VPN connection found." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/download-dir.md b/docs/download-dir.md index 84f4d2c8d..77d6037c4 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -73,9 +73,9 @@ try { "✅ downloaded directory from $URL in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/download-file.md b/docs/download-file.md index 3081b2d38..3889cfc63 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -73,9 +73,9 @@ try { "✅ downloaded file from $URL in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/edit.md b/docs/edit.md index 386b05e70..3c443675c 100644 --- a/docs/edit.md +++ b/docs/edit.md @@ -89,4 +89,4 @@ Write-Host "" exit 1 ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 625eacec6..846e13ac9 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -346,4 +346,4 @@ Else exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index 2e12ec352..94fe98409 100644 --- a/docs/enable-god-mode.md +++ b/docs/enable-god-mode.md @@ -56,9 +56,9 @@ try { "✅ God mode enabled - just double-click the new desktop icon." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index b925152fd..97fd37aeb 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -51,9 +51,9 @@ try { "✅ IPv6 is enabled now." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index 1c3ed0a92..3a56bbd78 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -179,9 +179,9 @@ try { "✅ file encrypted in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index b1347cd37..4c4b25e6e 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 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/enter-host.md b/docs/enter-host.md index 646bd026c..9a5dd3ca1 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -90,9 +90,9 @@ try { & ssh "$($remoteUser)@$($remoteHost)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index ae857d38e..91ef0d8c0 100644 --- a/docs/export-to-manuals.md +++ b/docs/export-to-manuals.md @@ -87,9 +87,9 @@ try { "✅ Exported $($scripts.Count) Markdown manuals in $elapsed sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index d3cb8240a..b7bdebd26 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 120514eaa..6de1eabca 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -94,9 +94,9 @@ try { "✅ Fetched into $numFolders Git repos at 📂$parentDirPath in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index 2b753f2f3..748557561 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -57,11 +57,11 @@ try { "installed Firefox in $Elapsed sec" exit 0 # successfully installed firefox } catch { - "Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/get-md5.md b/docs/get-md5.md index eda598f84..7e71003f7 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -71,9 +71,9 @@ try { "✅ MD5 hash is $($result.Hash)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index eaa4638b8..eecc9c22b 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -71,9 +71,9 @@ try { "✅ SHA1 hash is $($result.Hash)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index 9ce0bfc8e..f15975c09 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -69,9 +69,9 @@ try { "✅ SHA256 hash is $($result.Hash)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/get-sha512.md b/docs/get-sha512.md index 6549b1eb5..5e72c59b0 100644 --- a/docs/get-sha512.md +++ b/docs/get-sha512.md @@ -69,9 +69,9 @@ try { "✅ SHA512 hash is $($result.Hash)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/hello-world.md b/docs/hello-world.md index ec59408be..e8a90e66f 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 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 641e91ce1..7c82b0a16 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -54,9 +54,9 @@ try { & rundll32.exe powrprof.dll,SetSuspendState 1,1,0 # bHibernate,bForce,bWakeupEventsDisabled exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/import-vm.md b/docs/import-vm.md index fe19d0fc9..edbb75047 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 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index 47ecdd2de..49bc74b9e 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -64,9 +64,9 @@ try { Get-ChildItem $PathToExe | % {$_.VersionInfo} | Select * exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index 7b31ba0a9..69e2ae3ba 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -55,9 +55,9 @@ try { "Audacity installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index c46585f06..8d2ac1224 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -90,9 +90,9 @@ try { "✅ $numInstalled basic apps installed ($numSkipped skipped, took $($elapsed)s)" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 9cafe7a40..33192e5af 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -78,9 +78,9 @@ try { "✅ Installed 20 snap apps in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index 49e78b0f5..c91344571 100644 --- a/docs/install-calibre-server.md +++ b/docs/install-calibre-server.md @@ -128,9 +128,9 @@ try { " (URL=http://$(hostname):$port media=$mediaFolder userDB=$userDB log=$logfile)." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index b74c7454b..d988f7828 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -51,9 +51,9 @@ try { iwr https://community.chocolatey.org/install.ps1 -UseBasicParsing | iex exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index e83932249..e56af2787 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -55,9 +55,9 @@ try { "Google Chrome installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index 3e8e8dc00..5b10cddc6 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -57,9 +57,9 @@ try { "✅ CrystalDiskInfo installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index a907d9074..3c133fbde 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -55,9 +55,9 @@ try { "CrystalDiskMark installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-discord.md b/docs/install-discord.md index 06ed94d7c..3593019f8 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -55,9 +55,9 @@ try { "Discord installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-edge.md b/docs/install-edge.md index 9d0ebe4f0..407b27a82 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -55,9 +55,9 @@ try { "Microsoft Edge installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-edit.md b/docs/install-edit.md index 7d9992a84..b5acfbf9c 100644 --- a/docs/install-edit.md +++ b/docs/install-edit.md @@ -66,9 +66,9 @@ try { "✅ Microsoft Edit installed successfully (took $($elapsed)s)." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index 1cacedefb..a82d0bb1c 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -74,9 +74,9 @@ try { "✅ evcc installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index 5417413dc..95869a969 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -61,9 +61,9 @@ try { "✅ Mozilla Firefox installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-fonts.md b/docs/install-fonts.md index 0ff535c5e..7dbc63eaf 100644 --- a/docs/install-fonts.md +++ b/docs/install-fonts.md @@ -53,4 +53,4 @@ foreach ($font in $fontFiles) { Write-Output "Fonts have been installed successfully." ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index b1b4a2360..c8951dddb 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -55,9 +55,9 @@ try { "Git Extensions installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index 6c2853ccd..6325f2f83 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -55,9 +55,9 @@ try { "Git for Windows installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index e4a9bb559..89e8e012e 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -66,9 +66,9 @@ try { "✅ GitHub CLI installed successfully in $($elapsed)s - to authenticate execute: 'gh auth login'" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index 1d0f14418..3d7508031 100644 --- a/docs/install-gitlab.md +++ b/docs/install-gitlab.md @@ -32,4 +32,4 @@ Script Content ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-h2static.md b/docs/install-h2static.md index e3ba60df4..b01bae2b0 100644 --- a/docs/install-h2static.md +++ b/docs/install-h2static.md @@ -89,9 +89,9 @@ try { "✅ h2static installed in $($elapsed)s, Web server runs at :$port, execute 'snap info h2static' for details." exit 0 # success } catch { - "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index e47096171..7110170cf 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -55,9 +55,9 @@ try { "IrfanView installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-jenkins-agent.md b/docs/install-jenkins-agent.md index 81540e075..d98fad46f 100644 --- a/docs/install-jenkins-agent.md +++ b/docs/install-jenkins-agent.md @@ -98,9 +98,9 @@ try { "✅ Jenkins Agent installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" - exit 1 + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index ff0b3053b..bb4b399e1 100644 --- a/docs/install-knot-resolver.md +++ b/docs/install-knot-resolver.md @@ -65,9 +65,9 @@ try { "✅ installed Knot Resolver in $Elapsed sec" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index 35b03709c..17efcf153 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -55,9 +55,9 @@ try { "Microsoft Teams installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-mini-dlna.md b/docs/install-mini-dlna.md index 9cf5118d9..cc4520adf 100644 --- a/docs/install-mini-dlna.md +++ b/docs/install-mini-dlna.md @@ -60,9 +60,9 @@ try { " Log file: /var/snap/minidlna-jdstrand/current/home/minidlna.log" exit 0 # success } catch { - "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index 368b999ed..2512b010a 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -55,9 +55,9 @@ try { "Netflix installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index eaabfd993..3904e073c 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -1,7 +1,7 @@ Script: *install-obs-studio.ps1* ======================== -This PowerShell script installs OBS Studio (admin rights are needed). +This PowerShell script installs OBS Studio from Microsoft Store. Parameters ---------- @@ -17,6 +17,8 @@ Example ------- ```powershell PS> ./install-obs-studio.ps1 +⏳ Installing OBS from Microsoft Store... +✅ OBS installed successfully in 25s. ``` @@ -33,35 +35,39 @@ Script Content ```powershell <# .SYNOPSIS - Installs OBS Studio (needs admin rights) + Installs OBS Studio .DESCRIPTION - This PowerShell script installs OBS Studio (admin rights are needed). + This PowerShell script installs OBS Studio from Microsoft Store. .EXAMPLE PS> ./install-obs-studio.ps1 + ⏳ Installing OBS from Microsoft Store... + ✅ OBS installed successfully in 25s. .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -#requires -version 5.1 -RunAsAdministrator +#requires -version 5.1 try { - $StopWatch = [system.diagnostics.stopwatch]::startNew() + $stopWatch = [system.diagnostics.stopwatch]::startNew() + "⏳ Installing OBS Studio from Microsoft Store..." - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { "Sorry, not supported yet." } else { - winget install obsproject.obsstudio + & winget install --id XPFFH613W8V6LV + if ($lastExitCode -ne 0) { throw "Can't install OBS, is it already installed?" } } - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✅ installed OBS Studio in $Elapsed sec" + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ OBS Studio installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index 813e85fb7..fefc10820 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -28,9 +28,9 @@ try { "HINT: Access Octoprint's web login at: http://:5000" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index b7af6b32d..b7a5e01b5 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -55,9 +55,9 @@ try { "One Calendar installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index 6d3df0a3c..27f81c560 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -55,9 +55,9 @@ try { "Opera Browser installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index cfd9ee0c0..2426754c8 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -55,9 +55,9 @@ try { "Opera GX installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index 20f3e14fe..ad528c356 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -55,9 +55,9 @@ try { "Paint 3D installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index 2f825a4c6..d967d7d04 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -55,9 +55,9 @@ try { "Microsoft Powertoys installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index 6d0834929..daaa64729 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -662,4 +662,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index 734ad1ab2..4a9765a4e 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -55,9 +55,9 @@ try { "Rufus installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index 8808daaa2..d7807959c 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -67,9 +67,9 @@ try { exit 0 # success } catch { - Write-Output "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." - exit 1 + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-scoop.md b/docs/install-scoop.md index 95df39bdd..ad61307be 100644 --- a/docs/install-scoop.md +++ b/docs/install-scoop.md @@ -21,4 +21,4 @@ Script Content Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index 9b4efca17..498c42f3c 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -88,9 +88,9 @@ try { "✅ Signal-cli $Version installed to /opt and /usr/local/bin in $elapsed sec." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index b45902a61..ac3693615 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -55,9 +55,9 @@ try { "Spotify installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index ad937b1df..5e6efb335 100644 --- a/docs/install-ssh-client.md +++ b/docs/install-ssh-client.md @@ -59,9 +59,9 @@ try { "✅ installed SSH client in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index be669d8c4..8ee9f56ea 100644 --- a/docs/install-ssh-server.md +++ b/docs/install-ssh-server.md @@ -73,9 +73,9 @@ try { "✅ installed and started SSH server in $Elapsed sec" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-syncthing.md b/docs/install-syncthing.md index a0e46f7ac..d2ba6ba56 100644 --- a/docs/install-syncthing.md +++ b/docs/install-syncthing.md @@ -73,9 +73,9 @@ try { " Sync folder at: ~/Sync/ (execute: cd-sync.ps1)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index 240181195..9305468bc 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -55,9 +55,9 @@ try { "Mozilla Thunderbird installed successfully." exit 0 # success } catch { - "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index 5733c4801..1dd00340b 100644 --- a/docs/install-unbound-server.md +++ b/docs/install-unbound-server.md @@ -94,9 +94,9 @@ try { "✅ Installed Unbound in $Elapsed sec" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-updates.md b/docs/install-updates.md index 3f22b3d88..b13b357db 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -65,60 +65,55 @@ Script Content try { $stopWatch = [system.diagnostics.stopwatch]::startNew() - if ($IsLinux) { - "⏳ (1/5) Checking requirements..." - & "$PSScriptRoot/check-power.ps1" - & "$PSScriptRoot/check-smart-devices.ps1" + Write-Host "`n⏳ Checking requirements..." -foregroundColor green + & "$PSScriptRoot/check-power.ps1" + & "$PSScriptRoot/check-smart-devices.ps1" + if ($IsLinux -or $IsMacOS) { & "$PSScriptRoot/check-drive-space.ps1" / - & "$PSScriptRoot/check-swap-space.ps1" - Start-Sleep -seconds 3 - "" - "⏳ (2/5) Querying latest package information..." + } else { + & "$PSScriptRoot/check-drive-space.ps1" C + } + & "$PSScriptRoot/check-swap-space.ps1" + Start-Sleep -seconds 3 + + if (Get-Command apt -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying APT package updates..." -foregroundColor green & sudo apt update - "⏳ (3/5) Removing obsolete packages..." + Write-Host "`n⏳ Removing obsolete packages to save space..." -foregroundColor green & sudo apt autoremove --yes - "⏳ (4/5) Upgrading installed packages..." + Write-Host "`n⏳ Upgrading installed packages..." -foregroundColor green & sudo apt upgrade --yes - - "⏳ (5/5) Upgrading installed Snaps..." + } + if (Get-Command snap -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Upgrading installed Snaps..." -foregroundColor green & sudo snap refresh - } elseif ($IsMacOS) { - Write-Progress "⏳ Installing updates..." + } + if (Get-Command softwareupdate -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Updating software..." -foregroundColor green & sudo softwareupdate -i -a - Write-Progress -completed " " - } else { # Windows: - "⏳ (1/2) Checking requirements..." - & "$PSScriptRoot/check-power.ps1" - & "$PSScriptRoot/check-smart-devices.ps1" - & "$PSScriptRoot/check-drive-space.ps1" C - & "$PSScriptRoot/check-swap-space.ps1" - Start-Sleep -seconds 3 - "" - "⏳ (2/4) Querying Microsoft Store..." - if (Get-Command winget -errorAction SilentlyContinue) { - & winget upgrade --all --source=msstore --include-unknown - } - "" - "⏳ (3/4) Querying WinGet..." - if (Get-Command winget -errorAction SilentlyContinue) { - & winget upgrade --all --source=winget --include-unknown - } - "" - "⏳ (4/4) Querying Chocolatey..." - if (Get-Command choco -errorAction SilentlyContinue) { - & choco upgrade all -y - } + } + if (Get-Command winget -errorAction SilentlyContinue) { + Write-Host "`n⏳ Upgrading by Microsoft Store..." -foregroundColor green + & winget upgrade --all --source=msstore --include-unknown + } + if (Get-Command winget -errorAction SilentlyContinue) { + Write-Host "`n⏳ Upgrading by WinGet..." -foregroundColor green + & winget upgrade --all --source=winget --include-unknown + } + if (Get-Command choco -errorAction SilentlyContinue) { + Write-Host "`n⏳ Upgrading by Chocolatey..." -foregroundColor green + & choco upgrade all -y } & "$PSScriptRoot/check-pending-reboot.ps1" [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "✅ Updates installed in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index 114da52c6..dfffa3343 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -55,9 +55,9 @@ try { "Visual Studio Code installed successfully." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index 1473629c2..8e1aa5215 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -55,9 +55,9 @@ try { "Vivaldi installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index 12bffd605..d4917c945 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -61,9 +61,9 @@ try { "✅ VLC media player installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index 3f2edfeab..9e27e2e3f 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -55,9 +55,9 @@ try { "Windows Terminal installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index d906a987b..ea93af66a 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -69,9 +69,9 @@ try { " NOTE: reboot now, then visit the Microsoft Store and install a Linux distribution (e.g. Ubuntu, openSUSE, SUSE Linux, Kali Linux, Debian, Fedora, Pengwin, or Alpine)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index 966a55d28..395671e1f 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -55,9 +55,9 @@ try { "Zoom installed successfully." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index 400d01e2f..5f893ff12 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -87,9 +87,9 @@ try { & "$PSScriptRoot/write-typewriter.ps1" " NOTE: Use + to open the links above in your browser" 100 exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/kill-process.md b/docs/kill-process.md index 0edc7ce41..7394af28c 100644 --- a/docs/kill-process.md +++ b/docs/kill-process.md @@ -64,9 +64,9 @@ try { "✔️ Stopped all processes matching '$processName'." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index 92e428105..415ab1f31 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -60,9 +60,9 @@ try { Get-Alias exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index 5dfe69351..cbf4fdae6 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -117,9 +117,9 @@ try { GetPermutations -String $Word | Format-Wide -Column $Columns exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-apps.md b/docs/list-apps.md index df6d7f583..3fa70d9ed 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -52,9 +52,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index de2cf0bae..ddf586faf 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 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index 1b397f07e..0e9d5bab2 100644 --- a/docs/list-automatic-variables.md +++ b/docs/list-automatic-variables.md @@ -95,9 +95,9 @@ try { ListAutomaticVariables | format-table -property Variable,Content exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index af61dcca5..d7237b780 100644 --- a/docs/list-battery-status.md +++ b/docs/list-battery-status.md @@ -59,9 +59,9 @@ try { [System.Windows.Forms.SystemInformation]::PowerStatus exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-bios.md b/docs/list-bios.md index e83c36f2b..864abedb9 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -58,9 +58,9 @@ try { Get-CimInstance -ClassName Win32_BIOS exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 9f8a68683..638bcb76e 100644 --- a/docs/list-bluetooth-devices.md +++ b/docs/list-bluetooth-devices.md @@ -60,9 +60,9 @@ try { Get-PnpDevice | Where-Object {$_.Class -eq "Bluetooth"} | Sort-Object -property FriendlyName | Format-Table -property FriendlyName,Status,InstanceId exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-branches.md b/docs/list-branches.md index be40b83d7..4762902c3 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -104,9 +104,9 @@ try { "" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index fd13ab0fc..dc024a6e7 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -242,9 +242,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index c082b6160..efa35b2e6 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 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index 03577e9a3..94f1dc438 100644 --- a/docs/list-city-weather.md +++ b/docs/list-city-weather.md @@ -51,9 +51,9 @@ try { List-City-Weather | Format-Table -property @{e='CITY';width=19},@{e='TEMP';width=9},@{e='RAIN';width=14},@{e='WIND';width=12},@{e='SUN';width=20} exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index 597afe66f..7b0215391 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -365,9 +365,9 @@ try { List-CLI-Tools | Format-Table -property @{e='NAME';width=15},@{e='VERSION';width=16},@{e='PATH';width=90} exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index d1067440e..26d66f86f 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -51,9 +51,9 @@ try { Write-Output "📋 `“ $text `„" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index edc9a650d..aedf232b3 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -62,9 +62,9 @@ try { Get-Command -Command-Type cmdlet exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:04)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index 0694a1f28..d9d8ac789 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -74,9 +74,9 @@ try { } exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index 68a65d6d1..44fe6746c 100644 --- a/docs/list-commit-stats.md +++ b/docs/list-commit-stats.md @@ -89,9 +89,9 @@ try { if ($lastExitCode -ne 0) { throw "'git shortlog' failed with exit code $lastExitCode" } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-commits.md b/docs/list-commits.md index 6ee5e0bef..0450adbda 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -117,9 +117,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 71fce7635..4ba0d683b 100644 --- a/docs/list-console-colors.md +++ b/docs/list-console-colors.md @@ -68,9 +68,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-countries.md b/docs/list-countries.md index 239bfe7d9..266150722 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -47,9 +47,9 @@ try { ListCountries | format-table -property Country,Capital,Population,TLD,Phone exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index 3d70d3a58..21697a3fc 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -58,9 +58,9 @@ try { Get-WmiObject -Class Win32_Processor exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index eb2f63eb7..d9c6304c4 100644 --- a/docs/list-crypto-rates.md +++ b/docs/list-crypto-rates.md @@ -71,9 +71,9 @@ try { Write-Host "(by https://www.cryptocompare.com • Crypto is volatile and unregulated • Capital at risk • Taxes may apply)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index 1cede7611..c2b9cf0cd 100644 --- a/docs/list-defender-settings.md +++ b/docs/list-defender-settings.md @@ -64,9 +64,9 @@ try { "NOTE: Documentation at: https://learn.microsoft.com/en-us/previous-versions/windows/desktop/legacy/dn455323(v=vs.85)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index 8c8094299..4dc72faea 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -119,9 +119,9 @@ try { " ($($global:files) files, $($global:folders) folders, depth $($global:depth), $(Bytes2String $global:bytes) total)" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index f3cc30f26..422eaef3a 100644 --- a/docs/list-dns-servers.md +++ b/docs/list-dns-servers.md @@ -55,9 +55,9 @@ try { List-DNS-Servers | Format-Table -property @{e='DNS PROVIDER';width=50},@{e='IPv4 ADDRESSES';width=32},@{e='LATENCY';width=15} exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-drives.md b/docs/list-drives.md index f6b113350..6776af92b 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -58,9 +58,9 @@ try { Get-Volume exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index bb66784bd..4b1171402 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -89,9 +89,9 @@ try { ListEarthquakes | Format-Table -property @{e='MAG';width=5},@{e='LOCATION';width=50},@{e='DEPTH';width=8},'TIME UTC' exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index 0905fe973..17bda4e63 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 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 5b45c0bfa..f77c115d4 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -77,9 +77,9 @@ try { "✅ Found $count empty directories within 📂$path in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index c2eb88fd3..8c2e28cbd 100644 --- a/docs/list-empty-files.md +++ b/docs/list-empty-files.md @@ -77,9 +77,9 @@ try { "✅ Found $count empty files within $path in $elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index 53590fb24..366e84684 100644 --- a/docs/list-encrypted-files.md +++ b/docs/list-encrypted-files.md @@ -77,9 +77,9 @@ try { "✅ Found $count encrypted files within 📂$path in $elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index a6733d283..a94a6e139 100644 --- a/docs/list-environment-variables.md +++ b/docs/list-environment-variables.md @@ -60,9 +60,9 @@ try { Get-ChildItem env: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index 054ae7b42..df5b669c2 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 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index 56ec42a6c..f5774167e 100644 --- a/docs/list-exchange-rates.md +++ b/docs/list-exchange-rates.md @@ -91,9 +91,9 @@ try { ListExchangeRates $currency | format-table -property Rate,Currency,Inverse,Date exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-executables.md b/docs/list-executables.md index a64bec24e..d78fda125 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -79,9 +79,9 @@ try { "✅ Found $count executables within 📂$path in $elapsed sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index a83ac5d1e..e99e15dca 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 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-files.md b/docs/list-files.md index 3943b8308..4c8d6aeb9 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -64,9 +64,9 @@ try { Get-ChildItem -path $DirTree -recurse | select FullName exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-folder.md b/docs/list-folder.md index 7d9b3dbf9..2a8924130 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -88,9 +88,9 @@ try { ListFolder $searchPattern | Format-Wide -autoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index ca701597a..9232d1603 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 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index a7c058936..97902d007 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 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index 77e62c983..939364536 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -86,9 +86,9 @@ try { " (by $source as of $date)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index 8d9ccef84..3c27a2a5f 100644 --- a/docs/list-hidden-files.md +++ b/docs/list-hidden-files.md @@ -77,9 +77,9 @@ try { "✅ Found $count hidden files within 📂$path in $elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-installed-hotfixes.md b/docs/list-installed-hotfixes.md index 1c94ca1a4..2e0e5f03d 100644 --- a/docs/list-installed-hotfixes.md +++ b/docs/list-installed-hotfixes.md @@ -60,9 +60,9 @@ try { Get-Hotfix exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index 6466588dd..66a61e7c0 100644 --- a/docs/list-installed-languages.md +++ b/docs/list-installed-languages.md @@ -45,9 +45,9 @@ try { ListInstalledLanguages | Format-Table -property Tag,Autonym,English,Spellchecking,Handwriting exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index 856db5c02..2a3dfe444 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 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index 4dbab481a..630e43a2c 100644 --- a/docs/list-installed-software.md +++ b/docs/list-installed-software.md @@ -60,9 +60,9 @@ try { Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*, HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*, HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | select-object DisplayName,DisplayVersion,InstallDate | Format-Table -autoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index 176f2e9f0..146f8a5a4 100644 --- a/docs/list-internet-ip.md +++ b/docs/list-internet-ip.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./list-internet-ip.ps1 -✅ Internet IP 185.72.229.161, 2003:f2:6128:fd01:e543:601:30c2:a028 near Munich, Germany +✅ Internet IP 185.72.229.161 and 2003:f2:6128:fd01:e543:601:30c2:a028 near Munich, Germany ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script queries all public IP address information and prints it. .EXAMPLE PS> ./list-internet-ip.ps1 - ✅ Internet IP 185.72.229.161, 2003:f2:6128:fd01:e543:601:30c2:a028 near Munich, Germany + ✅ Internet IP 185.72.229.161 and 2003:f2:6128:fd01:e543:601:30c2:a028 near Munich, Germany .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -62,12 +62,12 @@ try { if ("$publicIPv6" -eq "") { $publicIPv6 = "no IPv6" } if ("$city" -eq "") { $city = "unknown city" } if ("$country" -eq "") { $country = "unknown country" } - "✅ Internet IP $publicIPv4, $publicIPv6 near $city, $country" + Write-Host "✅ Internet IP $publicIPv4 and $publicIPv6 near $city, $country" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index 41ffff141..5cb7ca821 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -58,9 +58,9 @@ try { Get-NetAdapterBinding -name '*' -componentID 'ms_tcpip6' | Format-Table -autoSize -property Name,Enabled exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index 3562fc430..53a018acc 100644 --- a/docs/list-latest-tag.md +++ b/docs/list-latest-tag.md @@ -73,9 +73,9 @@ try { "✅ Tag '$LatestTagName' at commit $LatestTagCommit ('$LatestTagMessage')" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index c8aed6505..4fc505fe2 100644 --- a/docs/list-latest-tags.md +++ b/docs/list-latest-tags.md @@ -81,9 +81,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index cbcff07fa..16d4ef7d8 100644 --- a/docs/list-local-ip.md +++ b/docs/list-local-ip.md @@ -57,9 +57,9 @@ try { WriteLocalInterface "Bluetooth" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index b1b5b231f..90cf58cea 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 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-memos.md b/docs/list-memos.md index 714ccd059..bd485ee5e 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -63,9 +63,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index 054ce8444..1df87eabb 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 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index c51294c84..0f1882f11 100644 --- a/docs/list-network-connections.md +++ b/docs/list-network-connections.md @@ -48,9 +48,9 @@ try { & netstat -n exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index 814933e21..8b269cc4a 100644 --- a/docs/list-network-neighbors.md +++ b/docs/list-network-neighbors.md @@ -66,9 +66,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index 064dc5f55..5d98fcbf2 100644 --- a/docs/list-network-routes.md +++ b/docs/list-network-routes.md @@ -48,9 +48,9 @@ try { & route print exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index 4c1e832bf..d36fa0a43 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./list-network-shares.ps1 -✅ Shared folder \\LAPTOP\Public ("File transfer folder") -> D:\Public +✅ Shared folder \\LAPTOP\Public -> D:\Public ("File transfer folder") ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script lists all network shares (aka "shared folders") of the local computer. .EXAMPLE PS> ./list-network-shares.ps1 - ✅ Shared folder \\LAPTOP\Public ("File transfer folder") -> D:\Public + ✅ Shared folder \\LAPTOP\Public -> D:\Public ("File transfer folder") .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,19 +47,23 @@ Script Content #> try { - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { # TODO } else { $shares = Get-WmiObject win32_share | where {$_.name -NotLike "*$"} foreach ($share in $shares) { - Write-Output "✅ Shared folder \\$(hostname)\$($share.Name) (`"$($share.Description)`") -> $($share.Path)" + if ($share.Description -eq "") { + Write-Host "✅ Shared folder \\$(hostname)\$($share.Name) -> $($share.Path)" + } else { + Write-Host "✅ Shared folder \\$(hostname)\$($share.Name) -> $($share.Path) (`"$($share.Description)`")" + } } } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-news.md b/docs/list-news.md index f579fee3a..ab3bfc6e5 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -109,9 +109,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-nic.md b/docs/list-nic.md index 34dd1d72a..e1a659e5a 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -48,9 +48,9 @@ try { Get-WmiObject -Class Win32_NetworkAdapterConfiguration | Format-Table -property ServiceName,Description,IPAddress,DHCPEnabled -AutoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index f923607b0..feeecb246 100644 --- a/docs/list-nina-warnings.md +++ b/docs/list-nina-warnings.md @@ -100,9 +100,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index 5056b32a5..26b17b5b2 100644 --- a/docs/list-old-branches.md +++ b/docs/list-old-branches.md @@ -81,9 +81,9 @@ try { } exit 0 # success } catch { - Write-Error "Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index e560d57a6..b85552f55 100644 --- a/docs/list-os-releases.md +++ b/docs/list-os-releases.md @@ -61,9 +61,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index 3eb20c31f..bfa687927 100644 --- a/docs/list-os-updates.md +++ b/docs/list-os-updates.md @@ -86,9 +86,9 @@ try { " (source: DistroWatch.com)" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-os.md b/docs/list-os.md index e8390896f..edfc9d909 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -56,9 +56,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index aa9817490..96489a9d3 100644 --- a/docs/list-outlook-inbox.md +++ b/docs/list-outlook-inbox.md @@ -51,9 +51,9 @@ try { $Inbox.items | Select Received,Subject | Format-Table -AutoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index 9e86893b5..776c67b64 100644 --- a/docs/list-outlook-sent.md +++ b/docs/list-outlook-sent.md @@ -51,9 +51,9 @@ try { $Inbox.items | Select SentOn,Subject | Format-Table -AutoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-passwords.md b/docs/list-passwords.md index 9a2dba1f5..823891f46 100644 --- a/docs/list-passwords.md +++ b/docs/list-passwords.md @@ -109,9 +109,9 @@ try { write-output "" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-pins.md b/docs/list-pins.md index cfb6ac462..0f33d5c97 100644 --- a/docs/list-pins.md +++ b/docs/list-pins.md @@ -98,9 +98,9 @@ try { write-output "" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index b52dd154c..9548efe63 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 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index 19943d13c..478d0bfb4 100644 --- a/docs/list-powershell-modules.md +++ b/docs/list-powershell-modules.md @@ -60,9 +60,9 @@ try { Get-Module | Format-Table -property Name,Version,ModuleType,ExportedCommands exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index 309f669a9..56fcad334 100644 --- a/docs/list-powershell-profiles.md +++ b/docs/list-powershell-profiles.md @@ -53,9 +53,9 @@ try { ListProfiles | Format-Table -property Prio,'Profile Name',Exists,Location exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index 26fe21e38..99cc7a700 100644 --- a/docs/list-powershell-verbs.md +++ b/docs/list-powershell-verbs.md @@ -60,9 +60,9 @@ try { Get-Verb | Sort-Object -Property Verb exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index de74d9b4a..366a40531 100644 --- a/docs/list-print-jobs.md +++ b/docs/list-print-jobs.md @@ -82,9 +82,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-printers.md b/docs/list-printers.md index f8b167e2a..8bda13548 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -54,9 +54,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-processes.md b/docs/list-processes.md index b62908f12..d02b98669 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -60,9 +60,9 @@ try { Get-Process | Format-Table -Property Id, @{Label="CPU(s)";Expression={$_.CPU.ToString("N")+"%"};Alignment="Right"}, ProcessName -AutoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index 2fcbea450..b96ebe5ba 100644 --- a/docs/list-pull-requests.md +++ b/docs/list-pull-requests.md @@ -79,9 +79,9 @@ try { if ($lastExitCode -ne 0) { throw "'git ls-remote' failed with exit code $lastExitCode" } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-ram.md b/docs/list-ram.md index 61c492202..6633311e9 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -58,9 +58,9 @@ try { Get-WmiObject -Class Win32_PhysicalMemory exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index 7bf56ea51..fa1120df8 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -77,9 +77,9 @@ try { "✅ Found $count read-only files within 📂$path in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index 4133b0887..0c04b1cf4 100644 --- a/docs/list-recycle-bin.md +++ b/docs/list-recycle-bin.md @@ -48,9 +48,9 @@ try { (New-Object -ComObject Shell.Application).NameSpace(0x0a).Items() | Select-Object Name,Size,Path exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-repos.md b/docs/list-repos.md index 3012d5836..3454826fe 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -99,9 +99,9 @@ try { ListRepos | Format-Table -property @{e='REPOSITORY';width=19},@{e='LATEST TAG';width=16},@{e='BRANCH';width=19},@{e='REMOTE URL';width=50},@{e='STATUS';width=10} exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index 035258a89..58897f128 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -65,9 +65,9 @@ try { # } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index dd745cbbd..2b5f0e227 100644 --- a/docs/list-scsi-devices.md +++ b/docs/list-scsi-devices.md @@ -60,9 +60,9 @@ try { Get-PnpDevice | Where-Object {$_.Class -like "SCSI*"} | Sort-Object -property FriendlyName | Format-Table -property FriendlyName,Status,InstanceId exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* diff --git a/docs/list-services.md b/docs/list-services.md index 254c83348..9327ba063 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -60,9 +60,9 @@ try { Get-Service exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index b513a5084..e4e5c65e7 100644 --- a/docs/list-special-folders.md +++ b/docs/list-special-folders.md @@ -100,9 +100,9 @@ try { ListSpecialFolders | Format-Table -property @{e='Folder Name';width=22},'Folder Path' exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index 233a6acde..a929afd9d 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 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index 034309edb..702b63a0b 100644 --- a/docs/list-ssh-key.md +++ b/docs/list-ssh-key.md @@ -56,9 +56,9 @@ try { "✅ Public SSH key: $key" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index 153ee972a..9bba129b3 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -77,9 +77,9 @@ try { exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index 24f3d9885..8d3270af8 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -71,9 +71,9 @@ try { ($Content | ConvertFrom-Json).SyncRoot | Select-Object -Skip 1 exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index d345a7d75..de6626540 100644 --- a/docs/list-system-devices.md +++ b/docs/list-system-devices.md @@ -60,9 +60,9 @@ try { Get-PnpDevice | Where-Object {$_.Class -like "System"} | Format-Table -property FriendlyName,Status,InstanceId exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index cd667cc65..70b3a22a6 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -77,9 +77,9 @@ try { "✅ Found $count system files within 📂$path in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index e26bf453a..2fa3265be 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 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-tags.md b/docs/list-tags.md index 1dc13a1b3..a5edf341a 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -107,9 +107,9 @@ try { exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index eeba768e6..6b7978a85 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -39,9 +39,9 @@ try { Get-ScheduledTask | Format-Table -property @{e='TASKNAME';width=40},@{e='TASKPATH';width=55},@{e='STATE';width=10} exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index da0eb95b5..5ee87f09b 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -59,9 +59,9 @@ try { Get-Timezone exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index a5906f6c4..4130a9fa2 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -62,9 +62,9 @@ try { Get-Timezone -listavailable | Format-Table -property Id,DisplayName,SupportsDaylightSavingTime exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index 24ea3268e..9a1974e06 100644 --- a/docs/list-tiobe-index.md +++ b/docs/list-tiobe-index.md @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index d5b5d8e72..0add22c01 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -38,7 +38,7 @@ Example ```powershell PS> ./list-unused-files.ps1 C:\Windows ... -✅ Found 43729 unused files (no access for 100 days) within 📂C:\Windows in 113 sec +✅ 43729 unused files at 📂C:\Windows (no access for 100 days, took 113s). ``` @@ -55,7 +55,7 @@ Script Content ```powershell <# .SYNOPSIS - Lists unused files in a directory tree + List unused files in a directory tree .DESCRIPTION This PowerShell script scans a directory tree and lists unused files (no read/write access since a number of days). .PARAMETER path @@ -65,7 +65,7 @@ Script Content .EXAMPLE PS> ./list-unused-files.ps1 C:\Windows ... - ✅ Found 43729 unused files (no access for 100 days) within 📂C:\Windows in 113 sec + ✅ 43729 unused files at 📂C:\Windows (no access for 100 days, took 113s). .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -83,18 +83,18 @@ try { $cutOffDate = (Get-Date).AddDays(-$Days) [int]$count = 0 Get-ChildItem -path $path -recurse | Where-Object {$_.LastAccessTime -le $cutOffDate} | Foreach-Object { - "📄$($_.FullName)" + "$($_.FullName)" $count++ } Write-Progress -completed " " [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Found $count unused files (no access for $days days) within 📂$path in $elapsed sec" + "✅ $count unused files at 📂$path (no access for $days days, took $($elapsed)s)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-updates.md b/docs/list-updates.md index e9956cf13..5c9abed2e 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -2,7 +2,7 @@ Script: *list-updates.ps1* ======================== This PowerShell script queries the latest available software updates for the -local machine and lists it (for installation use 'install-updates.ps1'). +local machine and lists it (execute 'install-updates.ps1' for installation). Parameters ---------- @@ -42,10 +42,10 @@ Script Content ```powershell <# .SYNOPSIS - Lists software updates + Lists available software updates .DESCRIPTION This PowerShell script queries the latest available software updates for the - local machine and lists it (for installation use 'install-updates.ps1'). + local machine and lists it (execute 'install-updates.ps1' for installation). .EXAMPLE PS> ./list-updates.ps1 ⏳ Querying Microsoft Store... @@ -61,45 +61,41 @@ Script Content #> try { - if ($IsLinux) { - if (Get-Command apt -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying APT package updates..." -foregroundColor green - & sudo apt update - & sudo apt list --upgradable - } - if (Get-Command snap -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying Snap updates..." -foregroundColor green - & sudo snap refresh --list - } - } elseif ($IsMacOS) { - if (Get-Command brew -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying Homebrew updates..." -foregroundColor green - & brew outdated - } - } else { - if (Get-Command winget -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying Microsoft Store..." -foregroundColor green - & winget upgrade --include-unknown --source=msstore + if (Get-Command apt -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying APT package updates..." -foregroundColor green + & sudo apt update + & sudo apt list --upgradable + } + if (Get-Command snap -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Snap updates..." -foregroundColor green + & sudo snap refresh --list + } + if (Get-Command brew -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Homebrew updates..." -foregroundColor green + & brew outdated + } + if (Get-Command winget -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Microsoft Store..." -foregroundColor green + & winget upgrade --include-unknown --source=msstore - Write-Host "`n⏳ Querying WinGet..." -foregroundColor green - & winget upgrade --include-unknown --source=winget - } - if (Get-Command choco -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying Chocolatey..." -foregroundColor green - & choco outdated - } - if (Get-Command scoop -ErrorAction SilentlyContinue) { - Write-Host "`n⏳ Querying Scoop..." -foregroundColor green - & scoop status - } + Write-Host "`n⏳ Querying WinGet..." -foregroundColor green + & winget upgrade --include-unknown --source=winget + } + if (Get-Command choco -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Chocolatey..." -foregroundColor green + & choco outdated + } + if (Get-Command scoop -ErrorAction SilentlyContinue) { + Write-Host "`n⏳ Querying Scoop..." -foregroundColor green + & scoop status } " " - "💡 Execute 'install-updates.ps1' to install the listed updates." + "💡 Execute 'install-updates.ps1' for installation." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index 9095ce79a..e69cac67c 100644 --- a/docs/list-usb-devices.md +++ b/docs/list-usb-devices.md @@ -60,9 +60,9 @@ try { Get-PnpDevice | Where-Object {$_.Class -eq "USB"} | Sort-Object -property FriendlyName | Format-Table -property FriendlyName,Status,InstanceId exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index ac55e7056..8d0017ade 100644 --- a/docs/list-user-accounts.md +++ b/docs/list-user-accounts.md @@ -52,9 +52,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index 508c37f7b..6fea0e6a6 100644 --- a/docs/list-user-groups.md +++ b/docs/list-user-groups.md @@ -60,9 +60,9 @@ try { Get-LocalGroup exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-voices.md b/docs/list-voices.md index b789a5d5a..08cdb3743 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-weather.md b/docs/list-weather.md index 14a25cf90..96c0a533b 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -174,9 +174,9 @@ try { } exit 0 # success } catch { - "⚠️ Sorry: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index f80f3c0c6..3b65715e2 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -48,9 +48,9 @@ try { & netsh wlan show profile exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index 279087c02..8db28d49e 100644 --- a/docs/list-window-titles.md +++ b/docs/list-window-titles.md @@ -60,9 +60,9 @@ try { Get-Process | Where-Object {$_.mainWindowTitle} | Format-Table ID,ProcessName,MainWindowTitle -AutoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index 5765fd8d8..2d0734124 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -51,9 +51,9 @@ try { "📂$Path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index 2dcfaade2..3647de219 100644 --- a/docs/list-wsl-distros.md +++ b/docs/list-wsl-distros.md @@ -60,9 +60,9 @@ try { & wsl.exe --status exit 0 # success } catch { - "⚠️ Error: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/locate-city.md b/docs/locate-city.md index 127cebec7..8c4ef2b6c 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -83,9 +83,9 @@ try { if (-not $foundOne) { throw "No city '$city' found in database" } exit 0 # success } catch { - "⚠️ Error $($_.InvocationInfo.ScriptLineNumber): $($Error[0])." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:05)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index e643da975..432e9b435 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -41,9 +41,9 @@ try { write-output $result exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index 4cbc5e748..51edcf8c1 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index 06bbaa69d..b9f0a5077 100644 --- a/docs/locate-zip-code.md +++ b/docs/locate-zip-code.md @@ -98,9 +98,9 @@ try { } throw "Zip-code $ZipCode in country $CountryCode not found" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index bfb90dba7..4a282e3e8 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -49,9 +49,9 @@ try { rundll32.exe user32.dll,LockWorkStation exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/log-off.md b/docs/log-off.md index a44096ff6..d9a4ad2e2 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -48,9 +48,9 @@ try { Invoke-CimMethod -ClassName Win32_Operatingsystem -MethodName Win32Shutdown -Arguments @{ Flags = 0 } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/make-install.md b/docs/make-install.md index 93c0f56c2..522200daa 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -59,9 +59,9 @@ try { "✅ synced to %DST_DIR%" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index fbce80055..92bafc76d 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index f79b4e6ee..d475dc058 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index d99e805c5..29def88cf 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index 0faf2a166..10ff74e4e 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index 78fa173be..fa856b270 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index d9ae63eeb..6381fc085 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index 55574e7bc..6bf1f6e79 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index 695824ca5..cedb48c81 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index b36cb3ba9..b3b683bb3 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index 7dcb36691..788e8b276 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index 7bf21124d..0f70232ef 100644 --- a/docs/minimize-all-windows.md +++ b/docs/minimize-all-windows.md @@ -49,9 +49,9 @@ try { $shell.minimizeall() exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index fae6a091f..16a6625de 100644 --- a/docs/move-mouse-pointer.md +++ b/docs/move-mouse-pointer.md @@ -81,9 +81,9 @@ try { [System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point($x, $y) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/move-vm.md b/docs/move-vm.md index 4775a43ab..f96e5c80c 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/my-profile.md b/docs/my-profile.md index c11c80925..08f3c831b 100644 --- a/docs/my-profile.md +++ b/docs/my-profile.md @@ -17,14 +17,14 @@ Parameters Script Content -------------- ```powershell -# POWERSHELL PROFILE TO DEFINE THE LOOK & FEEL +# MY POWERSHELL PROFILE # WINDOW TITLE if ($IsLinux) { $username = $(whoami) } else { $username = $env:USERNAME } $host.ui.RawUI.WindowTitle = "$username @ $(hostname)" # GREETING -Write-Host "✨ Welcome $username to $(hostname)'s PowerShell - type 'FAQ' for help." -foregroundColor green +Write-Host "✨ Welcome $username to $(hostname) - type 'FAQ' for help." -foregroundColor green # PROMPT function prompt { Write-Host "`n➤ " -noNewline -foregroundColor yellow; return " " } @@ -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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-branch.md b/docs/new-branch.md index 74f1dd51b..514c03fa0 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -125,9 +125,9 @@ try { "✅ Repo '$repoName' on new branch '$newBranch' (based on '$currentBranch', took $($elapsed)s)." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-dir.md b/docs/new-dir.md index e70638029..5e9169f9b 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -71,9 +71,9 @@ try { "✅ New 📂$path created." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-email.md b/docs/new-email.md index bdfaa6743..8f5ae4de7 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -63,9 +63,9 @@ try { Start-Process $URL exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-junction.md b/docs/new-junction.md index 04a7d39b3..4394e8608 100644 --- a/docs/new-junction.md +++ b/docs/new-junction.md @@ -81,9 +81,9 @@ try { "✅ New junction '$junction' created, linking to: 📂$targetDir" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index aeebb7526..4948d8560 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-markdown-file.md b/docs/new-markdown-file.md index 2db3e1fcb..baa38ab0d 100644 --- a/docs/new-markdown-file.md +++ b/docs/new-markdown-file.md @@ -70,9 +70,9 @@ try { "✅ New '$path' created (from data/templates/New.md)." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-power-plan.md b/docs/new-power-plan.md index 87e1bda36..dd4b2d6be 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-powershell-script.md b/docs/new-powershell-script.md index ec3763a60..849a68db6 100644 --- a/docs/new-powershell-script.md +++ b/docs/new-powershell-script.md @@ -70,9 +70,9 @@ try { "✅ New '$path' created (from data/templates/New.ps1)." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 57246ff61..87459d633 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -108,9 +108,9 @@ try { "✅ New QR code saved as: $newFile" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index 5de84ae2b..05cde29fe 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index 9e3e7ff70..4e00c5340 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -98,9 +98,9 @@ try { "✅ created new shortcut $shortcut ⭢ $target" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index 35e6d8f7d..ccb83a271 100644 --- a/docs/new-ssh-key.md +++ b/docs/new-ssh-key.md @@ -65,9 +65,9 @@ try { " $publicKey" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index 2a8ba33a7..2ea2e990d 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -82,9 +82,9 @@ try { "✅ Created new symlink '$symlink' linking to: $target" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-tab.md b/docs/new-tab.md index 39b9e8d47..808b5b21a 100644 --- a/docs/new-tab.md +++ b/docs/new-tab.md @@ -53,9 +53,9 @@ try { "✅ Created a new tab in Windows Terminal." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-tag.md b/docs/new-tag.md index ea6d5e608..f7408bc99 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -98,9 +98,9 @@ try { "✅ Created new tag '$TagName' in $Elapsed sec" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-text-file.md b/docs/new-text-file.md index ef274ddd4..ef302deda 100644 --- a/docs/new-text-file.md +++ b/docs/new-text-file.md @@ -70,9 +70,9 @@ try { "✅ New '$path' created (from data/templates/New.txt)." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-user.md b/docs/new-user.md index a93463a46..0fabb038a 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -72,9 +72,9 @@ try { "✅ Created user account '$username' with encrypted home directory in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index 7e37ea258..0fdbbf5b6 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index 4e2f8dca5..d6c9dffa7 100644 --- a/docs/on-desktop-login.md +++ b/docs/on-desktop-login.md @@ -68,9 +68,9 @@ try { & "$PSScriptRoot/watch-news.ps1" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-URL.md b/docs/open-URL.md index ff9109582..1b1f4f064 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -86,9 +86,9 @@ try { } exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index 436248144..a144aca9b 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -51,4 +51,4 @@ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index 66fa0cb56..b481689b2 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -54,9 +54,9 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index 82967e062..ca8cdb9c7 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -47,12 +47,12 @@ Script Content #requires -version 5.1 try { - start-process bingmaps: + Start-Process bingmaps: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index f8b76839c..d29f46171 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index 312b89bb8..3c5d90741 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index 948a0e358..b03af0a60 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -50,9 +50,9 @@ try { Start-Process ms-calculator: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index a99f741f5..a1dd6d691 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -64,9 +64,9 @@ try { Start-Process chrome.exe "$URL" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-clock.md b/docs/open-clock.md index 4747d32ec..a541e6638 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -50,9 +50,9 @@ try { Start-Process ms-clock: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index b250c8c9c..524d080f0 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -50,9 +50,9 @@ try { Start-Process ms-cortana2: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index 4784c8caa..43ebd5b47 100644 --- a/docs/open-d-drive.md +++ b/docs/open-d-drive.md @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "D:" ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 9faec3bfd..7b09f39ae 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -80,9 +80,9 @@ try { Write-Host "NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index 920fe39f9..ccbfb29b8 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index 7d746b53e..feb467aec 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -64,9 +64,9 @@ try { Start-Process $URL exit 0 # success } catch { - "⚠️ ERROR: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index 16bc5926b..f6980c749 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -54,9 +54,9 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index 725cc6df2..1a4a53faf 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -54,9 +54,9 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index f748bbce2..108e35b0a 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -58,9 +58,9 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" $Path exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index 02e41d120..eb8fff788 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -54,9 +54,9 @@ try { } throw "No Dropbox folder at 📂$HOME/Dropbox" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index 36195b3e6..4346ce697 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index fcf7b557b..dcec1ca5d 100644 --- a/docs/open-e-drive.md +++ b/docs/open-e-drive.md @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "E:" ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-edge.md b/docs/open-edge.md index 818c4e8ad..891202271 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -50,4 +50,4 @@ Start-Process microsoft-edge:// exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index d620a4487..d76e29ab7 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index 34160878e..ede8713fe 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -50,9 +50,9 @@ try { start-process "mailto:markus@fleschutz.de" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index 6c38bf74d..df9a1cb36 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index 656af0981..0405b85da 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -68,9 +68,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index 4a8bfe238..da08fd1e5 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index 9df1cc8f5..96f5a34ad 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -71,9 +71,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index 0a906567d..13fa18cf0 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index 8f12b8ba1..fa3ae89be 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index 855479dad..834714c1c 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -59,9 +59,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "Sorry, can't find Git Extensions." exit 1 } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index 89aa1dcbc..5dd08df99 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index f0ba21474..035d8e2cd 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index f6ed65d71..b5c834cef 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index 7e660b5cd..9a5f847d1 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 3a1e2c58f..58a23989f 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index a74a96e19..bc8e68435 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index 675ce7462..03702088e 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index 9a01b8d8f..96502c3a4 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index 6d702ce17..42d35f300 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index 38e54c97e..fdb230e92 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index a4c78c641..83997a505 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index 0bc8568cb..3ae6766f1 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index 0bc61d5ca..7de18da29 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index 69970c96f..5254aa177 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -54,9 +54,9 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 0e6ceae9a..747b725da 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index a9c9637cf..e8a5890f9 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index 36d4421b9..a0979f336 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index 6dbc1ac06..9e9957fb9 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -50,9 +50,9 @@ try { Start-Process magnify.exe exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index 9a4fd8eed..874d27b23 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -50,9 +50,9 @@ try { start-process mspaint.exe exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index c5bcdcf75..d1c3dac72 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -50,4 +50,4 @@ Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index e38f3bac1..90ba26865 100644 --- a/docs/open-microsoft-store.md +++ b/docs/open-microsoft-store.md @@ -50,4 +50,4 @@ Start-Process ms-windows-store: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index 565cf24b3..6959c0d01 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -50,9 +50,9 @@ try { Start-Process msteams: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index 3e880ab46..4dceb4ce8 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -54,9 +54,9 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index d0785b4ca..56daf17f1 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -50,4 +50,4 @@ Start-Process netflix: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index 31027a3f2..1df3cc83b 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -50,9 +50,9 @@ try { Start-Process notepad.exe exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index 34cad23cd..29ba9e966 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -58,9 +58,9 @@ try { TryLaunching "C:\Program Files\OBS Studio\bin\64bit\obs64.exe" "C:\Program Files\OBS Studio\bin\64bit\" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index 55e410453..97c900d90 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index 14f5fd292..bd26afd6f 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -54,9 +54,9 @@ try { } throw "No OneDrive folder at 📂$HOME/Dropbox" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index 71559fc2e..d22fb8e4f 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -58,9 +58,9 @@ try { TryToExec "C:\Programs\Microsoft Office\Office14" "OUTLOOK.EXE" throw "It seems Outlook isn't installed yet." } catch { - & "$PSScriptRoot/speak-english.ps1" "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index 31e3f966d..7de8e023b 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -50,9 +50,9 @@ try { Start-Process ms-paint: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index 10dc2b259..6f6df4958 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -54,9 +54,9 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index 2a2b259d3..f939cb8c3 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -67,4 +67,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index 57977593b..3f8d3ec0e 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -50,9 +50,9 @@ try { Start shell:recyclebinfolder exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index b5ee6a8cb..b62e2712f 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -50,9 +50,9 @@ try { Start-Process ms-rd: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index eaf960037..aad1343df 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -54,9 +54,9 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index f699dd436..076720700 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -50,9 +50,9 @@ try { Start-Process ms-screenclip: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index 5cf6770f1..258b19c3a 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -50,9 +50,9 @@ try { Start-Process ms-screensketch: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-skype.md b/docs/open-skype.md index e77836555..d1aeb6ea6 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -50,9 +50,9 @@ try { Start-Process skype: exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index 6b91a4fa8..224262447 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -50,4 +50,4 @@ Start-Process SnippingTool.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index a5a0bad8d..f1ea7837e 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index 219b6330a..bb8b6db06 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -50,4 +50,4 @@ Start-Process spotify: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index 8c6f62f05..54902a9d7 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 8f5a9aba6..163f00de2 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index 26250a0de..b6ae1d607 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index d4ea0d254..b2eb21eb4 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -50,9 +50,9 @@ try { Start-Process taskmgr.exe exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index 2b2e85a8b..cc85a935b 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -61,9 +61,9 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$Path" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index d8be977ed..b5be3fca6 100644 --- a/docs/open-three-d-viewer.md +++ b/docs/open-three-d-viewer.md @@ -50,4 +50,4 @@ Start-Process com.microsoft.3dviewer: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index a194ab549..7c02ec68f 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -57,8 +57,8 @@ try { TryToExec "C:\Program Files (x86)\Mozilla Thunderbird" "thunderbird.exe" throw "It seems Thunderbird isn't installed yet." } catch { - & "$PSScriptRoot/speak-english.ps1" "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index 4333fa83c..df72ca9ae 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -54,9 +54,9 @@ try { & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index 256ac7577..92b40897e 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -58,9 +58,9 @@ try { tryToLaunch "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index 5587ae78b..d1275e5e2 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -50,9 +50,9 @@ try { Start-Process explorer.exe shell:appsFolder\Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe!App exit 0 # success } catch { - "⚠️ Error: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 5b5207b42..235e5c715 100644 --- a/docs/open-vpn-settings.md +++ b/docs/open-vpn-settings.md @@ -50,4 +50,4 @@ Start-Process ms-settings:network-vpn exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index 2fd0018b4..f911c96ef 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -50,4 +50,4 @@ Start-Process windowsdefender: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index c392ecb94..830953a6e 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -50,4 +50,4 @@ Start-Process wt.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-windy.md b/docs/open-windy.md index d59ea5935..4651ff971 100644 --- a/docs/open-windy.md +++ b/docs/open-windy.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/open-xing.md b/docs/open-xing.md index fcdb42205..541eed66e 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index 92f876da3..297152c2f 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -150,9 +150,9 @@ try { "✅ cherry picked $CommitID into $NumBranches branches in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/ping-host.md b/docs/ping-host.md index cc5e0dd68..4acc1b716 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -76,9 +76,9 @@ try { Write-Output "⚠️ No reply from '$hostname' - check the connection or maybe the host is down." exit 1 } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index b24ebee92..50edade2b 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -87,9 +87,9 @@ try { } exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index f4c99fe64..6c2edd038 100644 --- a/docs/ping-local-devices.md +++ b/docs/ping-local-devices.md @@ -77,9 +77,9 @@ try { Write-Host "" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index 3dce52f7f..e4f9a25a3 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -96,9 +96,9 @@ try { } while ($true) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-ascii-video.md b/docs/play-ascii-video.md new file mode 100644 index 000000000..f7566bdc1 --- /dev/null +++ b/docs/play-ascii-video.md @@ -0,0 +1,55 @@ +Script: *play-ascii-video.ps1* +======================== + +This PowerShell script launches the Web browser with YouTube playing Rick Astley. + +Parameters +---------- +```powershell +PS> ./play-ascii-video.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./play-ascii-video.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Plays an ASCII video +.DESCRIPTION + This PowerShell script launches the Web browser with YouTube playing Rick Astley. +.EXAMPLE + PS> ./play-ascii-video.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +if ($IsLinux -or $IsMacOS) { + & curl ascii.live/forrest +} else { + & curl.exe ascii.live/forrest +} +exit 0 # success +``` + +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index d2d207290..f8fef7f82 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index fc4395112..82b18600a 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index 0c7af02eb..ab5ab5070 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index 07b7a6e51..6df2f79f1 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-chess.md b/docs/play-chess.md index 94b3be4db..257be3b0c 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index da1c263a0..a2e2262d8 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index a0aff3f2f..39f6a7b3a 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index 9f9823751..070cbbbc1 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 08/07/2025 16:01:06)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-drug-wars.md b/docs/play-drug-wars.md index 5af2453c5..a1492adc3 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index fdb677ab4..aa265b189 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index 452cbe3ab..2faf69bc2 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-files.md b/docs/play-files.md index e9dcd297a..e75fd9a6d 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -82,9 +82,9 @@ try { "✅ Played $count audio files for $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index 9de185477..1e29f6ff6 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index c6188e5da..91024ef3a 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index 03744a31b..63b113fa0 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index 328cb8828..e26de024c 100644 --- a/docs/play-happy-birthday.md +++ b/docs/play-happy-birthday.md @@ -74,9 +74,9 @@ try { [System.Console]::Beep(1413.961, 900) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index f43d40cfe..1a2cfb675 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index 0d890d96f..c79d1cc78 100644 --- a/docs/play-imperial-march.md +++ b/docs/play-imperial-march.md @@ -67,9 +67,9 @@ try { [System.Console]::beep(440, 1000) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index 532446922..d87f4e527 100644 --- a/docs/play-jingle-bells.md +++ b/docs/play-jingle-bells.md @@ -196,9 +196,9 @@ try { [System.Console]::Beep($Notes.F, $Duration.HALF) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index 55ee831d6..9b264a008 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index 77d0728bb..8cf0adfb1 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -80,9 +80,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index b9b0927c9..a53900c85 100644 --- a/docs/play-mission-impossible.md +++ b/docs/play-mission-impossible.md @@ -95,9 +95,9 @@ try { [System.Console]::Beep(523,150) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index 575efcad2..aa6ad54fb 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -92,9 +92,9 @@ try { $host.ui.RawUI.WindowTitle = $previousTitle exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index bb8b9e006..54a8a0988 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index 1f1829595..37f653ff6 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-pong.md b/docs/play-pong.md index a01080ca0..4c2a7707b 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index 13fc2d519..00f0154ad 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-rick.md b/docs/play-rick.md index e058aef48..5623d2157 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -44,9 +44,16 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/open-default-browser.ps1" "https://www.youtube.com/watch?v=v7ScGV5128A" -"Sorry, you've been Rick-Rolled by Markus 🤣" -exit 0 # success + +$host.ui.RawUI.WindowTitle = "You've been Rick-Rolled! 🤣" +& "$PSScriptRoot/open-URL.ps1" "https://www.youtube.com/watch?v=v7ScGV5128A" +& "$PSScriptRoot/show-notification.ps1" "You've been Rick-Rolled!" +& "$PSScriptRoot/speak-english.ps1" "You've been Rick-Rolled!" +if ($IsLinux -or $IsMacOS) { + & curl ascii.live/rick +} else { + & curl.exe ascii.live/rick +} ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-snake.md b/docs/play-snake.md index 2b4d80a31..c12c854e6 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index dfe8ca753..41509a76b 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index f8c49ae14..873dc970d 100644 --- a/docs/play-system-sounds.md +++ b/docs/play-system-sounds.md @@ -62,9 +62,9 @@ try { PlaySoundFiles "$path\*\*.wav" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index 09f84f79c..61cf8fae6 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index 583788195..56c8b2464 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index 67bba2313..6009cc99b 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/poweroff.md b/docs/poweroff.md index ba3444e9a..bc1743793 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -54,9 +54,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/print-image.md b/docs/print-image.md index 6c393adb8..25ee24d2d 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -65,9 +65,9 @@ try { Start-Process -filepath $Path -verb print exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index 2afcfb4b2..abafa38a1 100644 --- a/docs/publish-to-ipfs.md +++ b/docs/publish-to-ipfs.md @@ -117,9 +117,9 @@ try { " NOTE: to publish it to IPNS execute: ipfs name publish " exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index 75cfe708b..2530f0066 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index 99831a95b..55624c0cc 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' repo... +⏳ (3/35) Pulling into 'base256U'... ... ``` @@ -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' repo... + ⏳ (3/35) Pulling into 'base256U'... ... .LINK https://github.com/fleschutz/PowerShell @@ -84,9 +84,9 @@ try { [int]$numFailed = 0 foreach ($folder in $folders) { $folderName = (Get-Item "$folder").Name - Write-Host "⏳ ($step/$($numFolders + 2)) Pulling into repo '$folderName'...`t`t" -NoNewline + Write-Host "⏳ ($step/$($numFolders + 2)) Pulling into '$folderName'...`t`t" -NoNewline - & git -C "$folder" pull --recurse-submodules --jobs=4 + & git -C "$folder" pull --recurse-submodules=yes if ($lastExitCode -ne 0) { $numFailed++; Write-Warning "'git pull' into 📂$folderName failed" } & git -C "$folder" submodule update --init --recursive @@ -102,9 +102,9 @@ try { exit 1 } } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index 2062a11de..f8ef888ef 100644 --- a/docs/query-smart-data.md +++ b/docs/query-smart-data.md @@ -102,9 +102,9 @@ try { "✅ Done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index 53b78d34c..d4b5874a6 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/reboot-into-bios.md b/docs/reboot-into-bios.md index 6c819881d..174ca770a 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/reboot.md b/docs/reboot.md index 4f1552574..bd1382c4f 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -54,9 +54,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/remember.md b/docs/remember.md index 9e6316130..58e109220 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -99,9 +99,9 @@ try { "✅ Saved to $path in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/remind-me.md b/docs/remind-me.md index f033c7dbe..2bb906413 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -85,9 +85,9 @@ try { Register-ScheduledTask -Action $Task -Trigger $Trigger -TaskName "Reminder_$Random" -Description "Reminder" exit 0 } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/remove-dir.md b/docs/remove-dir.md index 5253d55f4..64a3b806b 100644 --- a/docs/remove-dir.md +++ b/docs/remove-dir.md @@ -78,9 +78,9 @@ try { "✅ Directory $pathToDir removed (took $($elapsed)s)." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index e43bd7eb7..585689dbd 100644 --- a/docs/remove-empty-dirs.md +++ b/docs/remove-empty-dirs.md @@ -87,9 +87,9 @@ try { "✅ Done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index ce656379f..90191d4cf 100644 --- a/docs/remove-old-dirs.md +++ b/docs/remove-old-dirs.md @@ -97,9 +97,9 @@ try { "✅ Removed $numRemoved of $($folders.Count) subfolders in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 7020e6323..8d2ef902c 100644 --- a/docs/remove-print-jobs.md +++ b/docs/remove-print-jobs.md @@ -60,9 +60,9 @@ try { "✅ all print jobs removed" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index f3f570946..06c42939d 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -109,9 +109,9 @@ try { "✅ removed tag '$TagName' in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/remove-user.md b/docs/remove-user.md index 26dcbd02b..5d698fb02 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -71,9 +71,9 @@ try { "✅ Removed user '$username' including home directory in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index 595dfed64..092d4bb2a 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index 59900e80c..6be36f4f4 100644 --- a/docs/replace-in-files.md +++ b/docs/replace-in-files.md @@ -102,9 +102,9 @@ try { "✅ Replaced '$pattern' by '$replacement' in $($files.Count) files in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index e375c7532..82c1ea325 100644 --- a/docs/restart-network-adapters.md +++ b/docs/restart-network-adapters.md @@ -55,9 +55,9 @@ try { "✅ restarted all local network adapters in $Elapsed sec" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index 4c15c98c4..feff92863 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index 1b6d15a0f..cde1c0c84 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -69,9 +69,9 @@ try { "✅ Your credentials have been saved to $targetFile (encrypted)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index bae3d798a..725e1f323 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -94,9 +94,9 @@ try { "✅ screenshot saved to $FilePath" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index d4f00296f..cf3bd3618 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -85,9 +85,9 @@ try { Write-Host "✅ Scanned $path in $($elapsed)s: No malware found." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/scan-network.md b/docs/scan-network.md index 42695ed6f..b4c9bc4b0 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index ee47adcd3..e9c7edf70 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/search-filename.md b/docs/search-filename.md index 36437529c..5bf5f54e2 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/search-files.md b/docs/search-files.md index 27ec9ecd9..514601ac3 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -96,9 +96,9 @@ try { ListLocations $textPattern $filePattern | Format-Table -property FILE,LINE -autoSize exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/search-repo.md b/docs/search-repo.md index 0bccbc888..b4b83227b 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -88,9 +88,9 @@ try { exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/send-email.md b/docs/send-email.md index 2468606f8..14b0478e9 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -121,9 +121,9 @@ try { "✅ Message sent." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index af2d3fa47..2aa183cd3 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -102,9 +102,9 @@ try { "✅ Done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/send-udp.md b/docs/send-udp.md index 449f9cadd..e2db82c41 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -100,9 +100,9 @@ try { "✅ Done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/set-timer.md b/docs/set-timer.md index a370bf0cf..760a97ef1 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -70,9 +70,9 @@ try { "✅ $Seconds seconds countdown finished" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/set-volume.md b/docs/set-volume.md index 4bc368d07..b97320989 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -73,9 +73,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index 41ba5ed76..6539b6979 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -119,9 +119,9 @@ try { "✅ Done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index a8bcb2d91..9242e693c 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index 364461f03..e7dacb0e8 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* diff --git a/docs/show-notification.md b/docs/show-notification.md index 2400ec9c2..453916608 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -94,9 +94,9 @@ try { $balloon.ShowBalloonTip($duration) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index 3f04163fa..56c52fb69 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 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index f53790606..55c0c5911 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -70,9 +70,9 @@ try { "✅ Done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index 7770418b3..fa972ac94 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -137,9 +137,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index ce6732996..1e39a8b52 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -73,9 +73,9 @@ try { } throw "No Arabic text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index 5c4d068df..35456562b 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -93,9 +93,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "You're done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index 2b26d9d2e..4a67385b1 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -70,9 +70,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "Zero and lift-off!" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index 4745b2192..28552824b 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -73,9 +73,9 @@ try { } throw "No Croatian text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index fd564a204..efdccc63d 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -73,9 +73,9 @@ try { } throw "No Danish text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index cdca918c5..b17102a15 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -73,9 +73,9 @@ try { } throw "No Dutch text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-english.md b/docs/speak-english.md index 565a99494..cc9a1c300 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -72,9 +72,9 @@ try { [void]$TTS.Speak($text) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index d1886444d..820ca0cd0 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -142,4 +142,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index 31c3f2278..79feac431 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -73,9 +73,9 @@ try { } throw "No Esperanto text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-file.md b/docs/speak-file.md index a6e741904..953d73219 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -69,9 +69,9 @@ try { $Result = $Voice.Speak($Text) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index 5c8aa1881..0b4430467 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -73,9 +73,9 @@ try { } throw "No Finnish text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-french.md b/docs/speak-french.md index 8f742d521..c504511ba 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -73,9 +73,9 @@ try { } throw "No French text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-german.md b/docs/speak-german.md index 51f2e0d0f..9dc0622b5 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -73,9 +73,9 @@ try { } throw "No German text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index cd895d377..54aa6241c 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -73,9 +73,9 @@ try { } throw "No Greek text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index c335ecf43..00460d32d 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -73,9 +73,9 @@ try { } throw "No Hebrew text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index 740bc3fec..0c7b2778e 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -73,9 +73,9 @@ try { } throw "No Hindi text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index fec6c03c0..f5c9eae44 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -73,9 +73,9 @@ try { } throw "No Italian text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index 20e8e5c18..3b1df0827 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -73,9 +73,9 @@ try { } throw "No Japanese text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index fcc227f1d..7b50cf685 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -73,9 +73,9 @@ try { } throw "No Korean text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index cfc1d7ec2..93e5f7e77 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -73,9 +73,9 @@ try { } throw "No Latin text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index d8fb65579..bb5052aad 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -73,9 +73,9 @@ try { } throw "No Mandarin text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 5c25559e0..5287a415e 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -73,9 +73,9 @@ try { } throw "No Norwegian text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index 30d7119c2..eec346ddb 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -73,9 +73,9 @@ try { } throw "No Polish text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index 68fab3d50..8ee337cda 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -73,9 +73,9 @@ try { } throw "No Portuguese text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index 27a5de20a..7eceba966 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -73,9 +73,9 @@ try { } throw "No Russian text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index a0aafaa7e..f4af91adf 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -73,9 +73,9 @@ try { } throw "No Spanish text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index c08c006ce..7c594896a 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -73,9 +73,9 @@ try { } throw "No Swedish text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-test.md b/docs/speak-test.md index 8fc5c8c67..34d89f931 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -96,9 +96,9 @@ try { Speak("Thanks for your attention.") exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-text.md b/docs/speak-text.md index 3d89afa0f..286be227b 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -67,9 +67,9 @@ try { [void]$Voice.Speak($text) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index 53437e3d8..8150e7b0d 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -73,9 +73,9 @@ try { } throw "No Thai text-to-speech voice found - please install one." } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index b76533a3e..fceaf8e37 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -73,9 +73,9 @@ try { } throw "No Turkish text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index 6959b74f4..9da48e99f 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -73,9 +73,9 @@ try { } throw "No Ukrainian text-to-speech voice found - please install one" } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/spell-word.md b/docs/spell-word.md index fa3948e8c..983453633 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -71,9 +71,9 @@ try { & "$PSScriptRoot/speak-english.ps1" $reply exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index 2bd94041f..12e24e3c3 100644 --- a/docs/start-ipfs-server.md +++ b/docs/start-ipfs-server.md @@ -85,9 +85,9 @@ try { "⚠️ NOTE: make sure your router does not block TCP/UDP port 4001 for IPv4 and IPv6" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/suspend.md b/docs/suspend.md index 97689d24b..c97b92e20 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -49,9 +49,9 @@ try { & rundll32.exe powrprof.dll,SetSuspendState 0,1,0 # bHibernate,bForce,bWakeupEventsDisabled exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index 7c4e151c8..a2e1cacb9 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -128,4 +128,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index 717a551d8..379a4d545 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -92,9 +92,9 @@ try { "✅ Switched Shelly1 device at $host to $turnMode for $timer sec." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index 1832da96b..55fabaae4 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -72,9 +72,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/sync-dir.md b/docs/sync-dir.md index c3dd878db..310c1509b 100644 --- a/docs/sync-dir.md +++ b/docs/sync-dir.md @@ -101,9 +101,9 @@ try { "✅ Synced 📂$sourcePath to 📂$targetPath in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index bf2b809ef..c1ce6c393 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -91,9 +91,9 @@ try { "✅ Repo '$pathName' synchronized in $($elapsed)s." exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index 8fd2fd307..a5404d193 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -55,9 +55,9 @@ try { & "$PSScriptRoot/speak-english.ps1" $table[$row].Joke exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index 3d91dde19..cbb868dcb 100644 --- a/docs/tell-new-year.md +++ b/docs/tell-new-year.md @@ -57,9 +57,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index 14c93ae75..4023862b6 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -55,9 +55,9 @@ try { & "$PSScriptRoot/speak-english.ps1" "$($table[$row].QUOTE). By $($table[$row].AUTHOR)." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index 0cec0c5b6..59e2fb78e 100644 --- a/docs/toggle-caps-lock.md +++ b/docs/toggle-caps-lock.md @@ -49,9 +49,9 @@ try { $wsh.SendKeys('{CAPSLOCK}') exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index f7571647c..4fc64ec64 100644 --- a/docs/toggle-num-lock.md +++ b/docs/toggle-num-lock.md @@ -49,9 +49,9 @@ try { $wsh.SendKeys('{NUMLOCK}') exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index 0a586a546..f59a6ed60 100644 --- a/docs/toggle-scroll-lock.md +++ b/docs/toggle-scroll-lock.md @@ -49,9 +49,9 @@ try { $wsh.SendKeys('{SCROLLLOCK}') exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/touch.md b/docs/touch.md index 338db562f..996af9153 100644 --- a/docs/touch.md +++ b/docs/touch.md @@ -66,9 +66,9 @@ try { "✅ Created a new empty file called '$filename'." exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/translate-file.md b/docs/translate-file.md index 205003292..1225e5a74 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -106,9 +106,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:07)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/translate-files.md b/docs/translate-files.md index 884f2d179..287c8122b 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -101,9 +101,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/translate-text.md b/docs/translate-text.md index eb22a4fba..0f837c65f 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -102,9 +102,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index 997f9e1e5..b6da7ab2e 100644 --- a/docs/turn-volume-down.md +++ b/docs/turn-volume-down.md @@ -65,9 +65,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index ed9f8a852..1b79ff1b6 100644 --- a/docs/turn-volume-fully-up.md +++ b/docs/turn-volume-fully-up.md @@ -51,9 +51,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index 49050ab7c..1adedcd37 100644 --- a/docs/turn-volume-off.md +++ b/docs/turn-volume-off.md @@ -49,9 +49,9 @@ try { $obj.SendKeys([char]173) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index 4c675349d..30d357ced 100644 --- a/docs/turn-volume-on.md +++ b/docs/turn-volume-on.md @@ -49,9 +49,9 @@ try { $obj.SendKeys([char]173) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index ec1d7fae8..c38f797eb 100644 --- a/docs/turn-volume-up.md +++ b/docs/turn-volume-up.md @@ -65,9 +65,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index d37598acb..ac7e223e4 100644 --- a/docs/uninstall-all-apps.md +++ b/docs/uninstall-all-apps.md @@ -52,9 +52,9 @@ try { "Uninstalled all applications, your PC is clean now." exit 0 # success } catch { - "Sorry: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index 7cc36899d..662bf661f 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/uninstall-new-outlook.md b/docs/uninstall-new-outlook.md index bc86c9889..2940a0a05 100644 --- a/docs/uninstall-new-outlook.md +++ b/docs/uninstall-new-outlook.md @@ -52,9 +52,9 @@ try { "✅ New Outlook for Windows has been removed." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/uninstall-outlook.md b/docs/uninstall-outlook.md index fb4098b50..afd60e0b2 100644 --- a/docs/uninstall-outlook.md +++ b/docs/uninstall-outlook.md @@ -52,9 +52,9 @@ try { "✅ Outlook for Windows has been removed." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index 686c1d149..0e168e014 100644 --- a/docs/update-powershell-profile.md +++ b/docs/update-powershell-profile.md @@ -76,9 +76,9 @@ try { "✅ Updated your PowerShell profile, it get's active on next login." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index 11cf34964..8078f16f4 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -82,9 +82,9 @@ try { "✅ Done." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/upload-file.md b/docs/upload-file.md index 22f9fb413..a74ae72ec 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -144,9 +144,9 @@ try { exit 0 # success } catch { [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0]) after $Elapsed sec." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index d2ed81762..fc0a180e2 100644 --- a/docs/upload-to-dropbox.md +++ b/docs/upload-to-dropbox.md @@ -70,9 +70,9 @@ try { Invoke-RestMethod -Uri https://content.dropboxapi.com/2/files/upload -Method Post -InFile $SourceFilePath -Headers $headers exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0]) after $Elapsed sec." + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index e2eb72f68..8d515340e 100644 --- a/docs/wake-up-host.md +++ b/docs/wake-up-host.md @@ -119,9 +119,9 @@ try { "✅ Sent magic packet to $ipAddr, UDP port $($udpPort) ($($numTimes)x). The device is up in a minute." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/wake-up-human.md b/docs/wake-up-human.md index a5d1d5a14..3a166d578 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index 811eb4cf8..74b686745 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -120,9 +120,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/watch-crypto-rates.md b/docs/watch-crypto-rates.md index 170933e61..5a35a76d3 100644 --- a/docs/watch-crypto-rates.md +++ b/docs/watch-crypto-rates.md @@ -75,9 +75,9 @@ try { } while ($true) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/watch-file.md b/docs/watch-file.md index 724a114d1..a5f47d82f 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/watch-host.md b/docs/watch-host.md index b17835e19..2acfd2677 100644 --- a/docs/watch-host.md +++ b/docs/watch-host.md @@ -142,9 +142,9 @@ try { Start-Sleep -milliseconds 5000 } while ($true) } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/watch-news.md b/docs/watch-news.md index 1ab471289..5b03a66c9 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -118,9 +118,9 @@ try { } while ($true) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index 0384819dc..62fd2da54 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -132,9 +132,9 @@ try { } while($true) exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/weather-report.md b/docs/weather-report.md index 690d56b73..8f7b12f7c 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -62,9 +62,9 @@ try { (Invoke-WebRequest http://v2d.wttr.in/$GeoLocation -userAgent "curl" -useBasicParsing).Content exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/weather.md b/docs/weather.md index a475352e5..ce6934d55 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -62,9 +62,9 @@ try { (Invoke-WebRequest http://wttr.in/$GeoLocation -userAgent "curl" -useBasicParsing).Content exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/what-is.md b/docs/what-is.md index f9918ed46..21f03bd65 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -74,14 +74,15 @@ try { } } if ($basename -eq "") { - Write-Host "🤷‍ Sorry, '$term' is new to me. Let's search it at: " -noNewline - Write-Host "https://www.qwant.com/?q=what+is+$term" -foregroundColor blue + Write-Host "🤷‍ Sorry, I don't know '$term'. Let's search for it: " -noNewline + Write-Host "https://qwant.com/?q=what+is+$term" -foregroundColor blue -noNewline + Write-Host " (use )" } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/windefender.md b/docs/windefender.md index f5d934de0..6b4a1294c 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -82,4 +82,4 @@ break } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-animated.md b/docs/write-animated.md index aece22282..efd85ffc6 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -89,9 +89,9 @@ try { WriteLine $text exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index 4df059cd9..d6e11f36a 100644 --- a/docs/write-ascii-image.md +++ b/docs/write-ascii-image.md @@ -30,7 +30,7 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -function WriteLine { param([string]$line) +function WriteLine([string]$line) { Write-Host $line -foregroundColor green } @@ -61,4 +61,4 @@ WriteLine " '`--._,dd###pp='''" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-big.md b/docs/write-big.md index e471cc791..641b62cbe 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -467,9 +467,9 @@ try { Write-Output "" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-blue.md b/docs/write-blue.md index 62093bbef..1c4c0b942 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-braille.md b/docs/write-braille.md index d832835ed..ab8fad067 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -404,9 +404,9 @@ try { write-output "" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-centered.md b/docs/write-centered.md index db5f36fad..b191dfc06 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -72,9 +72,9 @@ try { Write-Host "$spaces$text" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index f79290131..5788244d1 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -150,9 +150,9 @@ try { Write-Output "Changelog as of $Today." exit 0 # success } catch { - Write-Error $_.Exception.ToString() + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-chart.md b/docs/write-chart.md index bbaac8512..448299338 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-clock.md b/docs/write-clock.md index ea6829dd3..4aa65a89a 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -68,9 +68,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-code.md b/docs/write-code.md index 564a2eb5a..6ee9a9a45 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -139,9 +139,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-credits.md b/docs/write-credits.md index d8d6c2b29..6b49ed98a 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -71,9 +71,9 @@ try { & "$PSScriptRoot/write-big.ps1" " Thanx 4 watching" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-date.md b/docs/write-date.md index 4a2142cf2..e9196bab0 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -52,9 +52,9 @@ try { "📅$CurrentDate" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index 070b57398..c8cb1b01a 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-green.md b/docs/write-green.md index cc4196abd..d71e9b171 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index 7d8d50c50..1f7902c2d 100644 --- a/docs/write-hands-off.md +++ b/docs/write-hands-off.md @@ -62,9 +62,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-headline.md b/docs/write-headline.md index 6e6583d13..e6fc12264 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -73,9 +73,9 @@ try { Write-Host "`n$line`n $text`n$line" -foregroundColor green exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-help.md b/docs/write-help.md index 374474e2d..0b46ab9bf 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -30,39 +30,43 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -function White([string]$line) { +function White($line) { Write-Host $line -foregroundColor white -backgroundColor black -noNewline } -function Blue([string]$line) { + +function Blue($line) { Write-Host $line -foregroundColor blue -backgroundColor black -noNewline } -try { - Write-Host "" - White "█████████████████████████████████████ PowerShell $($PSVersionTable.PSVersion) $($PSVersionTable.PSEdition) Edition`n" - White "█████████████████████████████████████ ------------------------------------------`n" - White "████ ▄▄▄▄▄ █▀ █▀▀█▀▀ ▄▄██ ▄▄▄▄▄ ████`n" - White "████ █ █ █▀ ▄ █▀ ▀ ▀▄█ █ █ █ ████ Documentation: "; Blue "https://docs.microsoft.com/en-us/powershell`n" - White "████ █▄▄▄█ █▀█ █▄▀▄▀ ▀ ▄▄█ █▄▄▄█ ████`n" - White "████▄▄▄▄▄▄▄█▄█▄█ █▄█ █▄▀ █▄▄▄▄▄▄▄████ Tutorial: "; Blue "https://www.guru99.com/powershell-tutorial.html`n" - White "████▄▄ ▄█▄▄ ▄█▄▄ █▀ ▀▀▀ ▀▄▀▄█▄▀████`n" - White "████▀▄▄█▀█▄██ ▀ ▄▄▀ █▄█▀ ▀ ▄▀▀█▀█████ Video tutorials: "; Blue "https://www.youtube.com/results?search_query=PowerShell`n" - White "█████ ▄▄█▄▄▀▄ ▀▄▀ ▄▄ ▀ ▀▀▀ ▀▄▄█▀████`n" - White "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████ FAQ's: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md`n" - White "████ ████▄▄ ▄█▄▄▄██ ▀ ▀▀▀▀▄ █▀████`n" - White "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████ Cheat sheet: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md`n" - White "████▄█▄███▄▄▀▄▄▄▀ ▄▄ ▄▀▄ ▄▄▄ ▀ ████`n" - White "████ ▄▄▄▄▄ █▄▄▄█▀█▄ ██ █▄█ ▄▄█▀████ Sample scripts: "; Blue "https://github.com/fleschutz/PowerShell`n" - White "████ █ █ █ ▀▄█▄ ▄▄ ▀█ ▄▄▄▄▀ ████`n" - White "████ █▄▄▄█ █ ██ ▄█▄ ▄▀▀▀ ▄▄ ▄ █████ Type 'Get-Help ' to display information about `n" - White "████▄▄▄▄▄▄▄█▄▄█▄▄████▄▄▄██▄▄▄█▄██████`n" - White "█████████████████████████████████████ HINT: press + to follow the links.`n" - White "█████████████████████████████████████`n" - exit 0 # success -} catch { - "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." - exit 1 -} +Write-Host "" +Write-Host " _____ _____ _ _ _ " +Write-Host " | __ \ / ____| | | | |" +Write-Host " | |__) |____ _____ _ _| (___ | |__ ___| | |" +Write-Host " | ___/ _ \ \ /\ / / _ \ '__\___ \| '_ \ / _ \ | |" +Write-Host " | | | (_) \ V V / __/ | ____) | | | | __/ | |" +Write-Host " |_| \___/ \_/\_/ \___|_| |_____/|_| |_|\___|_|_| $($PSVersionTable.PSVersion) $($PSVersionTable.PSEdition) Edition" +Write-Host "" +Write-Host "" +White "█████████████████████████████████████`n" +White "█████████████████████████████████████ Documentation: "; Blue "https://docs.microsoft.com/en-us/powershell`n" +White "████ ▄▄▄▄▄ █▀ █▀▀█▀▀ ▄▄██ ▄▄▄▄▄ ████`n" +White "████ █ █ █▀ ▄ █▀ ▀ ▀▄█ █ █ █ ████ Tutorial: "; Blue "https://www.guru99.com/powershell-tutorial.html`n" +White "████ █▄▄▄█ █▀█ █▄▀▄▀ ▀ ▄▄█ █▄▄▄█ ████`n" +White "████▄▄▄▄▄▄▄█▄█▄█ █▄█ █▄▀ █▄▄▄▄▄▄▄████ Video tutorials: "; Blue "https://www.youtube.com/results?search_query=PowerShell`n" +White "████▄▄ ▄█▄▄ ▄█▄▄ █▀ ▀▀▀ ▀▄▀▄█▄▀████`n" +White "████▀▄▄█▀█▄██ ▀ ▄▄▀ █▄█▀ ▀ ▄▀▀█▀█████ FAQ's: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md`n" +White "█████ ▄▄█▄▄▀▄ ▀▄▀ ▄▄ ▀ ▀▀▀ ▀▄▄█▀████`n" +White "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████ Cheat sheet: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md`n" +White "████ ████▄▄ ▄█▄▄▄██ ▀ ▀▀▀▀▄ █▀████`n" +White "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████ 500+ sample scripts: "; Blue "https://github.com/fleschutz/PowerShell`n" +White "████▄█▄███▄▄▀▄▄▄▀ ▄▄ ▄▀▄ ▄▄▄ ▀ ████`n" +White "████ ▄▄▄▄▄ █▄▄▄█▀█▄ ██ █▄█ ▄▄█▀████ Donate: "; Blue "https://www.paypal.com/paypalme/Fleschutz`n" +White "████ █ █ █ ▀▄█▄ ▄▄ ▀█ ▄▄▄▄▀ ████`n" +White "████ █▄▄▄█ █ ██ ▄█▄ ▄▀▀▀ ▄▄ ▄ █████ Type 'Get-Help ' to display information about `n" +White "████▄▄▄▄▄▄▄█▄▄█▄▄████▄▄▄██▄▄▄█▄██████`n" +White "█████████████████████████████████████ HINT: press + to follow the links above.`n" +White "█████████████████████████████████████`n" +exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index d1636da8a..b916c9e2c 100644 --- a/docs/write-in-emojis.md +++ b/docs/write-in-emojis.md @@ -70,9 +70,9 @@ try { Write-Output $text exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 52889a63e..dcf7c147f 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -56,9 +56,9 @@ try { Write-Host "`n$Joke 😂" -foregroundColor Green exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-location.md b/docs/write-location.md index c49be60d8..012b2660b 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -57,9 +57,9 @@ try { Write-Output "📍$lat°,$long° near $zip $city in $region, $country." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index 0363c8c28..e5009da24 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index 6ea7f25f4..fee112c5e 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index b23be319b..a56b7aede 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-moon.md b/docs/write-moon.md index 21da0e957..025a2225e 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -48,9 +48,9 @@ try { (Invoke-WebRequest http://wttr.in/Moon -userAgent "curl" -useBasicParsing).Content exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index d66ed308c..f619a46c3 100644 --- a/docs/write-morse-code.md +++ b/docs/write-morse-code.md @@ -150,9 +150,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-motd.md b/docs/write-motd.md index aaec5487d..0a56b7f80 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-pi.md b/docs/write-pi.md index 98df950d3..501d1ccdc 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -113,9 +113,9 @@ try { Write-Pi $digits exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-progress-bar.md b/docs/write-progress-bar.md index 0907dd250..b5397895e 100644 --- a/docs/write-progress-bar.md +++ b/docs/write-progress-bar.md @@ -1,29 +1,58 @@ Script: *write-progress-bar.ps1* ======================== -write-progress-bar.ps1 - +This PowerShell script writes a progress bar to the console. Parameters ---------- ```powershell - +PS> ./write-progress-bar.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS> ./write-progress-bar.ps1 +🕐 I'm working, please wait... + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell -$progressBar = @('⣾','⣽','⣻','⢿','⡿','⣟','⣯','⣷') +<# +.SYNOPSIS + Writes a progress bar +.DESCRIPTION + This PowerShell script writes a progress bar to the console. +.EXAMPLE + PS> ./write-progress-bar.ps1 + 🕐 I'm working, please wait... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +$progressBar = @('🕐','🕑','🕒','🕓','🕔','🕕','🕖','🕗','🕘','🕙','🕚','🕛') for ([int]$i = 0; $i -lt 150; $i++) { - Write-Host "`r$($progressBar[$i % 7]) Working on something..." -NoNewline + Write-Host "`r$($progressBar[$i % 11]) I'm working, please wait..." -NoNewline Start-Sleep -milliseconds 100 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index 432773a09..d535480c0 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 2aca71e04..e3b4f65ab 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -62,9 +62,9 @@ try { Write-Host "$spaces- $author" -foregroundColor Blue exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-red.md b/docs/write-red.md index e508b7581..296c64007 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index 563754e4e..2f3c9091b 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -78,9 +78,9 @@ try { write-output $Result exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* diff --git a/docs/write-shit.md b/docs/write-shit.md index 9b6633fea..3e97981ef 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index e7e29980d..91475b32d 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* diff --git a/docs/write-skull.md b/docs/write-skull.md new file mode 100644 index 000000000..d0b9945a8 --- /dev/null +++ b/docs/write-skull.md @@ -0,0 +1,73 @@ +Script: *write-skull.ps1* +======================== + +write-skull.ps1 + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + ← enter a brief description of the script here +.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 +#> + +#requires -version 5.1 + +function WriteLine([string]$line) { + Write-Host $line -foregroundColor black -backgroundColor white +} + +Clear-Host +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +WriteLine "███████▀▀▀░░░░░░░▀▀▀███████" +WriteLine "████▀░░░░░░░░░░░░░░░░░▀████" +WriteLine "███│░░░░░░░░░░░░░░░░░░░│███" +WriteLine "██▌│░░░░░░░░░░░░░░░░░░░│▐██" +WriteLine "██░└┐░░░░░░░░░░░░░░░░░┌┘░██" +WriteLine "██░░└┐░░░░░░░░░░░░░░░┌┘░░██" +WriteLine "██░░┌┘▄▄▄▄▄░░░░░▄▄▄▄▄└┐░░██" +WriteLine "██▌░│██████▌░░░▐██████│░▐██" +WriteLine "███░│▐███▀▀░░▄░░▀▀███▌│░███" +WriteLine "██▀─┘░░░░░░░▐█▌░░░░░░░└─▀██" +WriteLine "██▄░░░▄▄▄▓░░▀█▀░░▓▄▄▄░░░▄██" +WriteLine "████▄─┘██▌░░░░░░░▐██└─▄████" +WriteLine "█████░░▐█─┬┬┬┬┬┬┬─█▌░░█████" +WriteLine "████▌░░░▀┬┼┼┼┼┼┼┼┬▀░░░▐████" +WriteLine "█████▄░░░└┴┴┴┴┴┴┴┘░░░▄█████" +WriteLine "███████▄░░░░░░░░░░░▄███████" +WriteLine "██████████▄▄▄▄▄▄▄██████████" +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +WriteLine "███████████████████████████" +exit 0 # success +``` + +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* diff --git a/docs/write-story.md b/docs/write-story.md index a444b3529..f2f323aa2 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* diff --git a/docs/write-time.md b/docs/write-time.md index a13a08b42..8e1e513af 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -52,9 +52,9 @@ try { "🕒$CurrentTime" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index 306001836..5b0f7bb98 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -79,9 +79,9 @@ try { Write-Host "" exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index c466a55cd..4d29db9a7 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* diff --git a/docs/write-value.md b/docs/write-value.md index 9c40be2fa..3ed36432d 100644 --- a/docs/write-value.md +++ b/docs/write-value.md @@ -170,4 +170,4 @@ Write-Host "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index 403d04ffc..0dd27026d 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -67,9 +67,9 @@ try { } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md index 6f0a242f1..d0cecef45 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 08/07/2025 16:01:08)* +*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* diff --git a/scripts/cd-templates.ps1 b/scripts/cd-templates.ps1 index 326aaa52f..c2f4ee03b 100755 --- a/scripts/cd-templates.ps1 +++ b/scripts/cd-templates.ps1 @@ -16,7 +16,7 @@ try { if ($IsLinux -or $IsMacOS) { - if (-not(Test-Path "~/Templates" -pathType container)) { throw "No 'Templates' folder in your home directory (yet)" + 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') diff --git a/scripts/cd-videos.ps1 b/scripts/cd-videos.ps1 index 657493b62..2dc4e71d7 100755 --- a/scripts/cd-videos.ps1 +++ b/scripts/cd-videos.ps1 @@ -17,10 +17,9 @@ try { if ($IsLinux -or $IsMacOS) { if (-not(Test-Path "~/Videos" -pathType container)) { throw "No 'Videos' folder in your home directory (yet)" } - } $path = Resolve-Path "~/Videos" - } else { } - $path = [Environment]::GetFolderPath('MyVideos') } + } else { + $path = [Environment]::GetFolderPath('MyVideos') if (-not(Test-Path "$path" -pathType container)) { throw "The path to video folder '$path' doesn't exist (yet)" } } Set-Location "$path" diff --git a/scripts/play-ascii-video.ps1 b/scripts/play-ascii-video.ps1 old mode 100644 new mode 100755 diff --git a/scripts/write-skull.ps1 b/scripts/write-skull.ps1 old mode 100644 new mode 100755 From a2e84da7bfd938f3bc379f6da9b1150b1cbf7b13 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 25 Aug 2025 16:55:04 +0200 Subject: [PATCH 454/737] Updated check-gpu.ps1 --- scripts/check-gpu.ps1 | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/scripts/check-gpu.ps1 b/scripts/check-gpu.ps1 index 53a9499ff..daab71b08 100755 --- a/scripts/check-gpu.ps1 +++ b/scripts/check-gpu.ps1 @@ -1,27 +1,27 @@ <# .SYNOPSIS - Checks the GPU status + Checks the GPU status .DESCRIPTION - This PowerShell script queries the GPU status and prints it. + This PowerShell script queries the GPU status and prints it. .EXAMPLE - PS> ./check-gpu.ps1 + PS> ./check-gpu.ps1 ✅ NVIDIA Quadro P400 GPU (2GB RAM, 3840x2160 pixels, 32-bit, 59Hz, driver 31.0.15.1740) - status OK .LINK - https://github.com/fleschutz/PowerShell + https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz, Tyler MacInnis | License: CC0 + Author: Markus Fleschutz, Tyler MacInnis | License: CC0 #> function Bytes2String { param([int64]$Bytes) - if ($Bytes -lt 1000) { return "$Bytes bytes" } - $Bytes /= 1000 - if ($Bytes -lt 1000) { return "$($Bytes)KB" } - $Bytes /= 1000 - if ($Bytes -lt 1000) { return "$($Bytes)MB" } - $Bytes /= 1000 - if ($Bytes -lt 1000) { return "$($Bytes)GB" } - $Bytes /= 1000 - return "$($Bytes)TB" + if ($Bytes -lt 1000) { return "$Bytes bytes" } + $Bytes /= 1000 + if ($Bytes -lt 1000) { return "$($Bytes)KB" } + $Bytes /= 1000 + if ($Bytes -lt 1000) { return "$($Bytes)MB" } + $Bytes /= 1000 + if ($Bytes -lt 1000) { return "$($Bytes)GB" } + $Bytes /= 1000 + return "$($Bytes)TB" } try { @@ -44,5 +44,5 @@ try { exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" - exit 1 + exit 1 } From f6eea444be16f1414890a2cb3942b336410ff013 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 25 Aug 2025 17:24:19 +0200 Subject: [PATCH 455/737] Improved write-quote.ps1 by Yoda :-) --- data/quotes.csv | 99 ++++++++++++++--------------------------- scripts/write-quote.ps1 | 31 +++++++++++-- 2 files changed, 61 insertions(+), 69 deletions(-) diff --git a/data/quotes.csv b/data/quotes.csv index a8b680e47..8340b1c4b 100644 --- a/data/quotes.csv +++ b/data/quotes.csv @@ -1,65 +1,34 @@ -CATEGORY,AUTHOR,QUOTE, -IQ,Thomas Edison,"Genius is one percent inspiration and ninety-nine percent perspiration.", -Life,Abraham Lincoln,"In the end, it's not the years in your life that count. It's the life in your years.", -Life,Albert Einstein,"Only a life lived for others is a life worthwhile.", -Life,Marilyn Monroe,"Keep smiling, because life is a beautiful thing and there's so much to smile about.", -Life,James M. Barrie,"Life is a long lesson in humility.", -Life,Bob Marley,"Love the life you live. Live the life you love.", -Life,Ray Bradbury,"Life is trying things to see if they work.", -Life,Helen Keller,"Life is either a daring adventure or nothing at all.", -Life,John Lennon,"Life is what happens when you're busy making other plans.", -Life,Jonathan Swift,"May you live all the days of your life.", -Life,Johann Wolfgang von Goethe,"If you want to make life easy, make it hard.", -Success,Dante Alighieri,"Follow your path, and let the people talk.", -Success,Albert Einstein,"Try not to become a man of success, but rather try to become a man of value.", -Success,Steve Jobs,"If you really look closely, most overnight successes took a long time.", -Success,Oprah Winfrey,"You know you are on the road to success if you would do your job and not be paid for it.", -Success,David Brinkley,"A successful man is one who can lay a firm foundation with the bricks others have thrown at him.", -Success,Estee Lauder,"I never dreamed about success, I worked for it.", -Success,Henry David Thoreau,"Success usually comes to those who are too busy to be looking for it.", -Success,Colin Powell,"There are no secrets to success. It is the result of preparation, hard work, and learning from failure.", -Success,John D. Rockefeller,"The secret of success is to do the common thing uncommonly well.", -Various,Abraham Lincoln,"The best thing about the future is that it only comes one day at a time.", -Various,Albert Einstein,"Learn from yesterday, live for today, hope for tomorrow.", -Various,Anne Frank,"Whoever is happy will make others happy too.", -Various,Aristotle,"It is during our darkest moments that we must focus to see the light.", -Various,Benjamin Franklin,"Tell me and I forget. Teach me and I remember. Involve me and I learn.", -Various,Bruce Lee,"Mistakes are always forgivable, if one has the courage to admit them.", -Various,Eleanor Roosevelt,"The future belongs to those who believe in the beauty of their dreams.", -Various,Johann Wolfgang von Goethe,"Difficulties increase the nearer we get to the goal.", -Various,Michelangelo,"Faith in oneself is the best and safest course.", -Various,Sophocles,"It takes both sunshine and rain to make a rainbow.", -Various,Mahatma Gandhi,"We must become the change we want to see.", -Various,Johann Wolfgang von Goethe,"Knowing is not enough; we must apply!", -Various,Immanuel Kant,"Science is organized knowledge. Wisdom is organized life.", -Various,Indira Gandhi,"You can't shake hands with a clenched fist.", -Various,Pierre Auguste Renoir,"The pain passes, but the beauty remains.", -Various,Heraclitus,"All is flux; nothing stays still.", -Various,Japanese proverb,"The day you decide to do it is your lucky day.", -Various,Epictetus,"We have two ears and one mouth so that we can listen twice as much as we speak.", -Various,Cervantes,"Be slow of tongue and quick of eye.", -Various,Nelson Mandela,"The greatest glory in living lies not in never falling, but in rising every time we fall.", -Various,Mother Teresa,"Spread love everywhere you go. Let no one ever come to you without leaving happier.", -Various,Mae West,"You only live once, but if you do it right, once is enough.", -Various,Hans Christian Andersen,"Life itself is the most wonderful fairy tale.", -Various,Walt Disney,"The way to get started is to quit talking and begin doing.", -Various,William Shakespeare,"Having nothing, nothing can he lose.", -Various,Tony Robbins,"The only impossible journey is the one you never begin.", -Various,Ralph Waldo Emerson,"Do not go where the path may lead, go instead where there is no path and leave a trail.", -Various,Margaret Mead,"Always remember that you are absolutely unique. Just like everyone else.", -Various,J.K. Rowling,"When in doubt go to the library.", -Various,Walt Whitman,"Keep your face always toward the sunshine and shadows will fall behind you.", -Various,Edgar Allan Poe,"Believe nothing you hear, and only half that you see.", -Various,Romain Rolland,"A hero is a man who does what he can.", -Various,Mark Twain,"Kindness is the language which the deaf can hear and the blind can see.", -Various,Benjamin Franklin,"By failing to prepare, you are preparing to fail.", -Various,Albert Einstein,"The only thing more dangerous than ignorance is arrogance.", -Various,Marie Curie,"Be less curious about people and more curious about ideas.", -Various,Charles Dickens,"A very little key will open a very heavy door.", -Various,Franklin Pierce,"If your past is limited, your future is boundless.", -Various,Samuel Johnson,"Never trust your tongue when your heart is bitter.", -Various,William James,"The good we do today becomes the happiness of tomorrow.", -Various,Rene Descartes,"Conquer yourself rather than the world.", -Various,Voltaire,"Everything you say should be true, but not everything true should be said.", -Various,Elizabeth Barrett Browning,"Silence is the best response to a fool.", -Various,Bertrand Russell,"The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts." \ No newline at end of file +AUTHOR,QUOTE, +Yoda,"Train yourself to let go of everything you fear to lose.", +Yoda,"Do, or do not. There is no try.", +Yoda,"The greatest teacher, failure is.", +Yoda,"Much to learn, you still have.", +Yoda,"Adventure. Excitement. A Jedi craves not these things.", +Yoda,"Size matters not. Look at me. Judge me by my size, do you?", +Yoda,"Fear is the path to the dark side.", +Yoda,"Your friends are not who you think they are.", +Yoda,"In the end, cowards are those who follow the dark side.", +Yoda,"A Jedi uses the Force for knowledge and defense, never for attack.", +Yoda,"Wisdom is the weapon to defeat ignorance.", +Yoda,"Knowledge and wisdom, pebbles on the path to enlightenment.", +Yoda,"In knowledge, there is power; in wisdom, there is peace.", +Yoda,"A mind that seeks knowledge is never stagnant.", +Yoda,"The more you learn, the more you can teach.", +Yoda,"True wisdom comes from the journey, not the destination.", +Yoda,"Listen to the lessons in every moment.", +Yoda,"Seek knowledge, and you shall find your path.", +Yoda,"Wisdom flows through the ages; embrace it.", +Yoda,"Knowledge acquired without experience is empty.", +Yoda,"Do not let fear control your destiny.", +Yoda,"Mastery comes from confronting your fears.", +Yoda,"Fall, we all must; rise again, we can.", +Yoda,"In overcoming fear, we find strength.", +Yoda,"The dark side is fueled by fear.", +Yoda,"Face your fears and conquer them.", +Yoda,"Your fear is a great teacher; learn from it.", +Yoda,"Train you must, or fallen short you will be.", +Yoda,"Mastery cannot be rushed; time it takes.", +Yoda,"Learn, we must, from every failure.", +Yoda,"Use the Force wisely; its power is great.", +Yoda,"Patience you must have, my young Padawan.", +Yoda,"Persistence is the key; never give up.", diff --git a/scripts/write-quote.ps1 b/scripts/write-quote.ps1 index 9a208e673..639fd8800 100755 --- a/scripts/write-quote.ps1 +++ b/scripts/write-quote.ps1 @@ -5,8 +5,6 @@ This PowerShell script selects a random quote from .../data/quotes.csv and writes it to the console. .EXAMPLE PS> ./write-quote.ps1 - “ We must become the change we want to see. „ - - Mahatma Gandhi .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,8 +20,33 @@ try { $author = $table[$row].AUTHOR $spaces = " " $spaces = $spaces.Substring(0, $quote.Length - $author.Length) - - Write-Host "`n"'“'"$quote"'„'"" -foregroundColor Green + "" + "" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣤⠤⠐⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡌⡦⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⣼⡊⢀⠔⠀⠀⣄⠤⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣤⣄⣀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣶⠃⠉⠡⡠⠤⠊⠀⠠⣀⣀⡠⠔⠒⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣾⣿⢟⠿⠛⠛⠁" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⡇⠀⠀⠀⠀⠑⠶⠖⠊⠁⠀⠀⠀⡀⠀⠀⠀⢀⣠⣤⣤⡀⠀⠀⠀⠀⠀⢀⣠⣤⣶⣿⣿⠟⡱⠁⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⣾⣿⡇⠀⢀⡠⠀⠀⠀⠈⠑⢦⣄⣀⣀⣽⣦⣤⣾⣿⠿⠿⠿⣿⡆⠀⠀⢀⠺⣿⣿⣿⣿⡿⠁⡰⠁⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣾⣿⣿⣧⣠⠊⣠⣶⣾⣿⣿⣶⣶⣿⣿⠿⠛⢿⣿⣫⢕⡠⢥⣈⠀⠙⠀⠰⣷⣿⣿⣿⡿⠋⢀⠜⠁⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⢿⣿⣿⣿⣿⣰⣿⣿⠿⣛⡛⢛⣿⣿⣟⢅⠀⠀⢿⣿⠕⢺⣿⡇⠩⠓⠂⢀⠛⠛⠋⢁⣠⠞⠁⠀⠀⠀⠀⠀⠀⠀⠀" + "⠘⢶⡶⢶⣶⣦⣤⣤⣤⣤⣤⣀⣀⣀⣀⡀⠀⠘⣿⣿⣿⠟⠁⡡⣒⣬⢭⢠⠝⢿⡡⠂⠀⠈⠻⣯⣖⣒⣺⡭⠂⢀⠈⣶⣶⣾⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠙⠳⣌⡛⢿⣿⣿⣿⣿⣿⣿⣿⣿⣻⣵⣨⣿⣿⡏⢀⠪⠎⠙⠿⣋⠴⡃⢸⣷⣤⣶⡾⠋⠈⠻⣶⣶⣶⣷⣶⣷⣿⣟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠈⠛⢦⣌⡙⠛⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡀⠀⠀⠩⠭⡭⠴⠊⢀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣿⣿⣿⣿⣿⡇⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠈⠙⠓⠦⣄⡉⠛⠛⠻⢿⣿⣿⣿⣷⡀⠀⠀⠀⠀⢀⣰⠋⠀⠀⠀⠀⠀⣀⣰⠤⣳⣿⣿⣿⣿⣟⠑⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠓⠒⠒⠶⢺⣿⣿⣿⣿⣦⣄⣀⣴⣿⣯⣤⣔⠒⠚⣒⣉⣉⣴⣾⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠹⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣭⣉⣉⣤⣿⣿⣿⣿⣿⣿⡿⢀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⡁⡆⠙⢶⣀⠀⢀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣴⣶⣾⣿⣟⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⢛⣩⣴⣿⠇⡇⠸⡆⠙⢷⣄⠻⣿⣦⡄⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⣿⣿⣿⣿⣿⣿⣿⣎⢻⣿⣿⣿⣿⣿⣿⣿⣭⣭⣭⣵⣶⣾⣿⣿⣿⠟⢰⢣⠀⠈⠀⠀⠙⢷⡎⠙⣿⣦⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⣿⣿⣿⣿⣿⣿⣿⣿⡟⣿⡆⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠟⠛⠋⠁⢀⠇⢸⡇⠀⠀⠀⠀⠈⠁⠀⢸⣿⡆⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡜⡿⡘⣿⣿⣿⣿⣿⣶⣶⣤⣤⣤⣤⣤⣤⣤⣴⡎⠖⢹⡇⠀⠀⠀⠀⠀⠀⠀⠀⣿⣷⡄⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀⠘⢿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠛⠋⡟⠀⠀⣸⣷⣀⣤⣀⣀⣀⣤⣤⣾⣿⣿⣿⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣭⣓⡲⠬⢭⣙⡛⠿⣿⣿⣶⣦⣀⠀⡜⠀⠀⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀" + "" + "" + Write-Host ""'“'"$quote"'„'"" -foregroundColor Green Write-Host "$spaces- $author" -foregroundColor Blue exit 0 # success } catch { From 19aa4ab5eda7965ee5cd1cc0968eb4eed50c3c28 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 29 Aug 2025 09:30:52 +0200 Subject: [PATCH 456/737] Updated write-skull.ps1 --- scripts/write-skull.ps1 | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/scripts/write-skull.ps1 b/scripts/write-skull.ps1 index 5f6a57a23..797a53908 100755 --- a/scripts/write-skull.ps1 +++ b/scripts/write-skull.ps1 @@ -17,15 +17,15 @@ #requires -version 5.1 function WriteLine([string]$line) { - Write-Host $line -foregroundColor black -backgroundColor white + Write-Host $line -foregroundColor black -backgroundColor red } Clear-Host -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" +WriteLine "" +WriteLine "" +WriteLine "" +WriteLine "" +WriteLine "" WriteLine "███████▀▀▀░░░░░░░▀▀▀███████" WriteLine "████▀░░░░░░░░░░░░░░░░░▀████" WriteLine "███│░░░░░░░░░░░░░░░░░░░│███" @@ -43,9 +43,9 @@ WriteLine "████▌░░░▀┬┼┼┼┼┼┼┼┬▀░░░▐ WriteLine "█████▄░░░└┴┴┴┴┴┴┴┘░░░▄█████" WriteLine "███████▄░░░░░░░░░░░▄███████" WriteLine "██████████▄▄▄▄▄▄▄██████████" -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" +WriteLine "" +WriteLine "" +WriteLine "" +WriteLine "" +WriteLine "" exit 0 # success From 41ba1573b9a469d9a0b77b1c1d53633dc780af67 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 20 Sep 2025 18:38:20 +0200 Subject: [PATCH 457/737] Added play-tetris.ps1 --- scripts/play-tetris.ps1 | 684 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 684 insertions(+) create mode 100644 scripts/play-tetris.ps1 diff --git a/scripts/play-tetris.ps1 b/scripts/play-tetris.ps1 new file mode 100644 index 000000000..5156c7e80 --- /dev/null +++ b/scripts/play-tetris.ps1 @@ -0,0 +1,684 @@ +<# +.SYNOPSIS + Play Tetris +.DESCRIPTION + This PowerShell script plays the Tetris. +.EXAMPLE + PS> ./play-tetris.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +using Namespace System.Drawing +using Namespace System.Windows.Forms + +enum ShapeTypes { + Unspecified = 0 + Line = 1 + T = 2 + Square = 3 + L = 4 + LMirrored = 5 + S = 6 + SMirrored = 7 +} + +class TetrisShape { + [System.Drawing.Point] $Position + [System.Drawing.Color] $Color + [ShapeTypes] $Type = 0 + [int[, ]] $Body + + [PSCustomObject] $Moveset = [PSCustomObject] @{ + Left = $false + Right = $false + Up = $false + Down = $false + } + + [int[, ]] SetShape([ShapeTypes] $Type) { + $Coordinates = [int[, ]]::new(5, 5) + Switch ([int]$Type) { + Default { + $Coordinates[2, 0] = 1 + $Coordinates[2, 1] = 1 + $Coordinates[2, 2] = 1 + $Coordinates[2, 3] = 1 + } + 2 { + $Coordinates[2, 1] = 1 + $Coordinates[2, 2] = 1 + $Coordinates[2, 3] = 1 + $Coordinates[1, 2] = 1 + } + 3 { + $Coordinates[2, 2] = 1 + $Coordinates[2, 3] = 1 + $Coordinates[3, 2] = 1 + $Coordinates[3, 3] = 1 + } + 4 { + $Coordinates[1, 2] = 1 + $Coordinates[1, 3] = 1 + $Coordinates[2, 2] = 1 + $Coordinates[3, 2] = 1 + } + 5 { + $Coordinates[1, 1] = 1 + $Coordinates[1, 2] = 1 + $Coordinates[2, 2] = 1 + $Coordinates[3, 2] = 1 + } + 6 { + $Coordinates[1, 2] = 1 + $Coordinates[2, 1] = 1 + $Coordinates[2, 2] = 1 + $Coordinates[3, 1] = 1 + } + 7 { + $Coordinates[1, 2] = 1 + $Coordinates[2, 2] = 1 + $Coordinates[2, 3] = 1 + $Coordinates[3, 3] = 1 + } + } + return $Coordinates + } + + [bool] IsColliding([int[, ]] $Body, [int[, ]] $Table, [System.Drawing.Point] $Position) { + for ($Y = 0; $Y -le $Body.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $Body.GetUpperBound(0); $X++) { + if ($Table[($Position.X + $X), ($Position.Y + $Y)] -and $Body[$X, $Y]) { + return $true + } + } + } + return $false + } + + [void] Move([System.Drawing.Point] $PositionChange, [int[, ]] $TableCoordinates) { + $PositionChange = [System.Drawing.Point]::new( + ($this.Position.X + $PositionChange.X), + ($this.Position.X + $PositionChange.Y) + ) + + if (!$this.IsColliding($this.Body, $TableCoordinates, $PositionChange)) { + $this.Position = $PositionChange + } + } + + [void] Rotate([bool] $Reverse, [int[, ]] $TableCoordinates) { + if ($this.Type -ne [ShapeTypes]::Square) { + [int[, ]] $RotatedBody = [int[, ]]::new(($this.Body.GetUpperBound(1) + 1), ($this.Body.GetUpperBound(1) + 1)) + + for ($Y = 0; $Y -lt ($this.Body.GetUpperBound(1) + 1); ++$Y) { + for ($X = 0; $X -lt ($this.Body.GetUpperBound(1) + 1); ++$X) { + if ($Reverse) { + $RotatedBody[$Y, $X] = $this.Body[$X, (($this.Body.GetUpperBound(1) + 1) - $Y - 1)] + } + else { + $RotatedBody[$Y, $X] = $this.Body[(($this.Body.GetUpperBound(1) + 1) - $X - 1), $Y] + } + } + } + if (!$this.IsColliding($RotatedBody, $TableCoordinates, $this.Position)) { + $this.Body = $RotatedBody + } + } + } + + [void] PrintBody() { + [console]::WriteLine( + ('Type: {0}, Color: {1}: Left: {2}, Right: {3} Position: {4}, {5}' -f + $this.Type, $this.Color.Name, + $this.Moveset.Left, $this.Moveset.Right, + $this.Position.X, $this.Position.Y + ) + ) + + ForEach ($Y in 0 .. $this.Body.GetUpperBound(1)) { + [console]::WriteLine( + ( + ( + 0 .. $this.Body.GetUpperBound(0) | ForEach-Object { + $this.Body[$_, $Y] + } + ) -join '-' -replace '0', '-' + ) + ) + } + } + + TetrisShape([ShapeTypes] $ShapeName) { + $this.Color = [System.Drawing.Color]::FromArgb(255, (Get-Random (1 .. 255)), (Get-Random (1 .. 255)), (Get-Random (1 .. 255))) + $this.Type = $ShapeName + $this.Body = $this.SetShape([int]$ShapeName) + } +} + +class TetrisBoard { + [bool] $Debug = $false + [int32] $BlockSize + [int32] $Width + [int32] $Height + [int[, ]] $Coordinates + [TetrisShape] $NextShape + [TetrisShape] $ActiveShape + [PSCustomObject] $Background = [PSCustomObject] @{ + Burn = $false + Color = [System.Drawing.Color]::FromArgb(255, 135, 206, 235) + Min = 200 + Max = 254 + } + + [void] Kill() { + if ($null -ne $this.ActiveShape) { + for ($Y = 0; $Y -le $this.ActiveShape.Body.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $this.ActiveShape.Body.GetUpperBound(0); $X++) { + if ($this.ActiveShape.Body[$X, $Y]) { + Try { + $this.Coordinates[($this.ActiveShape.Position.X + ($X)), ($this.ActiveShape.Position.Y + $Y)] = 1 + } + Catch { } + } + } + } + $this.ActiveShape = $null + } + } + + [bool] LostGame() { + # If the next shape collides with a deadblock - player lost + if ($null -ne $this.NextShape) { + return $this.NextShape.IsColliding($this.NextShape.Body, $this.Coordinates, $this.NextShape.Position) + } + else { + return $false + } + } + + [void] UpdateBoard() { + # Check for any lines to be removed, or if player has fucked up enough + } + + [void] UpdateMoveset() { + if ($null -ne $this.ActiveShape) { + # Enable movement to each direction + $this.ActiveShape.Moveset.Left = $true + $this.ActiveShape.Moveset.Right = $true + $this.ActiveShape.Moveset.Down = $true + for ($Y = 0; $Y -le $this.ActiveShape.Body.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $this.ActiveShape.Body.GetUpperBound(0); $X++) { + if ($this.ActiveShape.Body[$X, $Y]) { + if ( + # If the left side of the block is blocked, or is out of bounds + $this.Coordinates[($this.ActiveShape.Position.X + ($X - 1)), ($this.ActiveShape.Position.Y + $Y)] -or + $this.RelativePoint($X, $Y, $this.ActiveShape).X -lt $this.BlockSize + ) { + $this.ActiveShape.Moveset.Left = $false + } + if ( + # If the right side of the block is blocked, or is out of bounds + $this.Coordinates[($this.ActiveShape.Position.X + ($X + 1)), ($this.ActiveShape.Position.Y + $Y)] -or + $this.RelativePoint($X, $Y, $this.ActiveShape).X -ge (($this.Width * $this.BlockSize) - $this.BlockSize) + ) { + $this.ActiveShape.Moveset.Right = $false + } + if ( + # If the block below is dead, or is out of bounds (Debug mode, invincible execpt oob) + ( + !$this.Debug -and + $this.Coordinates[($this.ActiveShape.Position.X + $X), ($this.ActiveShape.Position.Y + ($Y + 1))] + ) -or + $this.RelativePoint($X, $Y, $this.ActiveShape).Y -ge (($this.Height * $this.BlockSize) - $this.BlockSize) + ) { + $this.ActiveShape.Moveset.Down = $false + } + } + } + } + + } + } + + [void] NewShape() { + if ($null -ne $this.NextShape) { + if ($null -eq $this.ActiveShape) { + $this.ActiveShape = $this.NextShape + $this.NextShape = [TetrisShape]::new((Get-Random (1 .. 7))) + $this.NextShape.Position = [System.Drawing.Point]::new((Get-Random (1 .. ($this.Width - ($this.NextShape.Body.GetUpperBound(0) + 1)))), 0) + } + } + else { + $this.NextShape = [TetrisShape]::new((Get-Random (1 .. 7))) + $this.NextShape.Position = [System.Drawing.Point]::new((Get-Random (1 .. ($this.Width - ($this.NextShape.Body.GetUpperBound(0) + 1)))), 0) + } + } + + [System.Drawing.Point] RelativePoint([int]$X, [int]$Y, [TetrisShape] $Shape) { + return [System.Drawing.Point]::new( + (($Shape.Position.X * $this.BlockSize) + ($X * $this.BlockSize)), + (($Shape.Position.Y * $this.BlockSize) + ($Y * $this.BlockSize)) + ) + } + + [void] AddLines([int] $Lines) { + 1 .. $Lines | ForEach-Object { + #Write-Host 'Starting adding a new line' + ForEach ($Y in 1 .. $this.Coordinates.GetUpperBound(1)) { + #Write-Host ('Loop Y:{0}/{1}' -f $Y, $this.Coordinates.GetUpperBound(1)) + 0 .. $this.Coordinates.GetUpperBound(0) | ForEach-Object { + #Write-Host ('Column X:{0}/{1} Y:{2} = X:{3}/{4} Y:{5}' -f $_, $this.Coordinates.GetUpperBound(0), ($Y - 1), $_, $this.Coordinates.GetUpperBound(0), $Y) + $this.Coordinates[$_, ($Y - 1)] = $this.Coordinates[$_, $Y] + } + } + 0 .. $this.Coordinates.GetUpperBound(0) | ForEach-Object { + #Write-Host ('Set: {0},{1} = 1' -f $_, $this.Coordinates.GetUpperBound(1)) + $this.Coordinates[$_, $this.Coordinates.GetUpperBound(1)] = Get-Random (0 .. 1) + } + } + } + + [void] ClearLines() { + ForEach ($Y in $this.Coordinates.GetUpperBound(1) .. 0) { + if (!( -join (0 .. $this.Coordinates.GetUpperBound(0) | ForEach-Object { $this.Coordinates[$_, $Y] })).Contains('0')) { + # Reset top row + 0 .. $this.Coordinates.GetUpperBound(0) | ForEach-Object { $this.Coordinates[$_, 0] = 0 } + # Loop, from current full row -> row 1 and set currentrow to the one above + ForEach ($TempY in $Y .. 1) { + 0 .. $this.Coordinates.GetUpperBound(0) | ForEach-Object { + $this.Coordinates[$_, $TempY] = $this.Coordinates[$_, ($TempY - 1)] + } + } + } + } + } + + [void] PrintBoard() { + for ($Y = 0; $Y -le $this.Coordinates.GetUpperBound(1); $Y++) { + [console]::WriteLine( + ( + ( + 0 .. $this.Coordinates.GetUpperBound(0) | ForEach-Object { + $this.Coordinates[$_, $Y] + } + ) -join '-' -replace '0', '-' + ) + ) + } + } + + [System.Drawing.Image] DrawImage() { + $Buffer = [System.Drawing.Bitmap]::new($this.Width * $this.BlockSize, $this.Height * $this.BlockSize) + $Graphics = [System.Drawing.Graphics]::FromImage($Buffer) + # Fill buffer with a white background + $Graphics.FillRectangle( + [System.Drawing.SolidBrush]::new($this.Background.Color), + [System.Drawing.Rectangle]::new(0, 0, $Buffer.Width, $Buffer.Height) + ) + + if ( + ($this.Background.Burn -and $this.Background.Color.B -ge $this.Background.Max) -or + (!$this.Background.Burn -and $this.Background.Color.B -lt $this.Background.Min) + ) { + $this.Background.Burn = !$this.Background.Burn + } + if ($this.Background.Burn) { + $this.Background.Color = [System.Drawing.Color]::FromArgb(255, $this.Background.Color.R, $this.Background.Color.G, ($this.Background.Color.B + 1)) + } + else { + $this.Background.Color = [System.Drawing.Color]::FromArgb(255, $this.Background.Color.R, $this.Background.Color.G, ($this.Background.Color.B - 1)) + } + if ($null -ne $this.NextShape) { + # Draw NextShape + for ($Y = 0; $Y -le $this.NextShape.Body.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $this.NextShape.Body.GetUpperBound(0); $X++) { + if ($this.NextShape.Body[$X, $Y]) { + # If this part of the shape body is solid, draw it on the table + $Graphics.FillRectangle( + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::FromArgb(255, ($this.Background.Color.R - 60), ($this.Background.Color.G - 60), ($this.Background.Color.B - 60))), + [System.Drawing.Rectangle]::new( + $this.RelativePoint($X, $Y, $this.NextShape).X, $this.RelativePoint($X, $Y, $this.NextShape).Y, + $this.BlockSize, $this.BlockSize + ) + ) + $Graphics.FillRectangle( + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::FromArgb(255, ($this.Background.Color.R - 30), ($this.Background.Color.G - 30), ($this.Background.Color.B - 30))), + [System.Drawing.Rectangle]::new( + $this.RelativePoint($X, $Y, $this.NextShape).X, $this.RelativePoint($X, $Y, $this.NextShape).Y, + $this.BlockSize - 2, $this.BlockSize - 2 + ) + ) + } + } + } + } + + if ($null -ne $this.ActiveShape) { + # Draw ActiveShape + for ($Y = 0; $Y -le $this.ActiveShape.Body.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $this.ActiveShape.Body.GetUpperBound(0); $X++) { + if ($this.ActiveShape.Body[$X, $Y]) { + # If this part of the shape body is solid, draw it on the table + $Graphics.FillRectangle( + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::Gray), + [System.Drawing.Rectangle]::new( + $this.RelativePoint($X, $Y, $this.ActiveShape).X, $this.RelativePoint($X, $Y, $this.ActiveShape).Y, + $this.BlockSize, $this.BlockSize + ) + ) + $Graphics.FillRectangle( + [System.Drawing.SolidBrush]::new($this.ActiveShape.Color), + [System.Drawing.Rectangle]::new( + $this.RelativePoint($X, $Y, $this.ActiveShape).X, $this.RelativePoint($X, $Y, $this.ActiveShape).Y, + $this.BlockSize - 2, $this.BlockSize - 2 + ) + ) + } + } + } + } + + # Draw DeadBlocks + for ($Y = 0; $Y -le $this.Coordinates.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $this.Coordinates.GetUpperBound(0); $X++) { + if ($this.Coordinates[$X, $Y]) { + # Draw a Gray outline + $Graphics.FillRectangle( + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::Gray), + [System.Drawing.Rectangle]::new( + $X * $this.BlockSize, $Y * $this.BlockSize, + $this.BlockSize, $this.BlockSize + ) + ) + # Fill rest of the rectangle to give 3d block effect + $Graphics.FillRectangle( + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::Silver), + [System.Drawing.Rectangle]::new( + $X * $this.BlockSize, $Y * $this.BlockSize, + $this.BlockSize - 2, $this.BlockSize - 2 + ) + ) + } + } + } + + if ($this.Debug) { + for ($Y = 0; $Y -le $this.Coordinates.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $this.Coordinates.GetUpperBound(0); $X++) { + if ($this.Coordinates[$X, $Y]) { + } + } + } + for ($Y = 0; $Y -le $this.ActiveShape.Body.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $this.ActiveShape.Body.GetUpperBound(0); $X++) { + if ( + $this.Coordinates[($this.ActiveShape.Position.X + $X), ($this.ActiveShape.Position.Y + $Y)] -and + $this.ActiveShape.Body[$X, $Y] + ) { + $Graphics.DrawString( + ('{0},{1}: {2}' -f + ($this.ActiveShape.Position.X + $X), + ($this.ActiveShape.Position.Y + $Y), + $this.Coordinates[($this.ActiveShape.Position.X + $X), ($this.ActiveShape.Position.Y + $Y)] + ), + [System.Drawing.Font]::new('Segoe UI', 8, [System.Drawing.FontStyle]::Regular), + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::Red), + $this.RelativePoint($X, $Y, $this.ActiveShape).X, $this.RelativePoint($X, $Y, $this.ActiveShape).Y + ) + } + } + } + # Draws the ActiveShape Body (5x5 dimensions) + $Graphics.DrawRectangle( + [System.Drawing.Pen]::new($this.ActiveShape.Color, 1), + [System.Drawing.Rectangle]::new( + ($this.ActiveShape.Position.X * $this.BlockSize), ($this.ActiveShape.Position.Y * $this.BlockSize), + (($this.ActiveShape.Body.GetUpperBound(0) + 1) * $this.BlockSize) , (($this.ActiveShape.Body.GetUpperBound(1) + 1) * $this.BlockSize) + ) + ) + # Draws coordinate of the middle body + $Graphics.DrawString( ('Type: {0}' -f $this.ActiveShape.Type ), + [System.Drawing.Font]::new('Segoe UI', 8, [System.Drawing.FontStyle]::Regular), + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::Red), + 1, 0 * $this.BlockSize + ) + $Graphics.DrawString( ('Color: {0}' -f $this.ActiveShape.Color.Name ), + [System.Drawing.Font]::new('Segoe UI', 8, [System.Drawing.FontStyle]::Regular), + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::Red), + 1, 1 * $this.BlockSize + ) + $Graphics.DrawString( ('Left: {0}, Right: {1}, Down: {2}' -f $this.ActiveShape.Moveset.Left, $this.ActiveShape.Moveset.Right, $this.ActiveShape.Moveset.Down ), + [System.Drawing.Font]::new('Segoe UI', 8, [System.Drawing.FontStyle]::Regular), + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::Red), + 1, 2 * $this.BlockSize + ) + } + $Graphics.Dispose() + return $Buffer + } + + TetrisBoard($Width, $Height, $BlockSize) { + $this.Coordinates = [int[, ]]::new($Width, $Height) + $this.BlockSize = $BlockSize + $this.Width = $Width + $this.Height = $Height + # Generate random rubble at start + $this.AddLines(4) + } +} + +$engine = [Hashtable]::Synchronized(@{}) +$engine.Settings = @{ + Block = @{ + Size = 30 + } + Board = @{ + Width = 11 + Height = 21 + } + SpeedMs = 300 + CurrentSpeedMs = 300 + LoopTime = 100 +} +$engine.TetrisBoard = [TetrisBoard]::new($engine.Settings.Board.Width, $engine.Settings.Board.Height, $engine.Settings.Block.Size) +$engine.NextFall = [Datetime]::Now.AddMilliseconds($engine.Settings.CurrentSpeedMs) + +$PowerShell = [PowerShell]::Create() +$PowerShell.Runspace = [RunSpaceFactory]::CreateRunspace() +$PowerShell.Runspace.Open() +$PowerShell.Runspace.SessionStateProxy.setVariable('Engine', $engine) +$IAsyncResult = $PowerShell.AddScript( { + [void] [System.Reflection.Assembly]::LoadWithPartialName('System.Drawing') + [void] [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms') + [System.Windows.Forms.Application]::EnableVisualStyles() + $engine.Form = [System.Windows.Forms.Form] @{ + Text = 'PowerShell Tetris' + ClientSize = [System.Drawing.Size]::new( + ($engine.Settings.Block.Size * $engine.Settings.Board.Width), + ($engine.Settings.Block.Size * $engine.Settings.Board.Height) + ) + Font = [System.Drawing.Font]::new('Segoe UI', 8.25, [System.Drawing.FontStyle]::Regular) + FormBorderStyle = [System.Windows.Forms.FormBorderStyle]::Fixed3D + KeyPreview = $true + MaximizeBox = $false + } + $engine.PictureBox = [System.Windows.Forms.PictureBox] @{ + Dock = [System.Windows.Forms.DockStyle]::Fill + SizeMode = [System.Windows.Forms.PictureBoxSizeMode]::StretchImage + } + $engine.PictureBox.Add_MouseClick( + { + Param( + $Object, + [System.Windows.Forms.MouseEventArgs] $MouseEventArgs + ) + $engine.InstantiateBlock = [System.Drawing.Point]::new( + ($MouseEventArgs.X - ($MouseEventArgs.X % $engine.Settings.Block.Size)) / $engine.Settings.Block.Size, + ($MouseEventArgs.Y - ($MouseEventArgs.Y % $engine.Settings.Block.Size)) / $engine.Settings.Block.Size + ) + } + ) + $engine.Form.Add_KeyUp( { + Param( + $Object, + [System.Windows.Forms.KeyEventArgs] $Key + ) + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::Space) { + $engine.Settings.CurrentSpeedMs = $engine.Settings.SpeedMs + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::Enter) { + $engine.SwitchShape = $true + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::X -and $engine.TetrisBoard.Debug) { + $engine.AddLines = Get-Random (1 .. 4) + } + } + ) + $engine.Form.Add_KeyDown( { + Param( + $Object, + [System.Windows.Forms.KeyEventArgs] $Key + ) + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::Space) { + $engine.Settings.CurrentSpeedMs = $engine.Settings.SpeedMs / 4 + } + if ($engine.TetrisBoard.Debug) { + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::K) { + $engine.TetrisBoard.Kill() + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::NumPad8) { + $engine.TetrisBoard.ActiveShape.Position = [System.Drawing.Point]::new( + $engine.TetrisBoard.ActiveShape.Position.X, + $engine.TetrisBoard.ActiveShape.Position.Y - 1 + ) + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::NumPad4) { + $engine.TetrisBoard.ActiveShape.Position = [System.Drawing.Point]::new( + $engine.TetrisBoard.ActiveShape.Position.X - 1, + $engine.TetrisBoard.ActiveShape.Position.Y + ) + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::NumPad6) { + $engine.TetrisBoard.ActiveShape.Position = [System.Drawing.Point]::new( + $engine.TetrisBoard.ActiveShape.Position.X + 1, + $engine.TetrisBoard.ActiveShape.Position.Y + ) + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::NumPad2) { + $engine.TetrisBoard.ActiveShape.Position = [System.Drawing.Point]::new( + $engine.TetrisBoard.ActiveShape.Position.X, + $engine.TetrisBoard.ActiveShape.Position.Y + 1 + ) + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::NumPad7) { + $engine.TetrisBoard.ActiveShape.Rotate($false) + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::NumPad9) { + $engine.TetrisBoard.ActiveShape.Rotate($true) + } + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::P) { + $engine.Debug = $true + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::Left) { + $engine.XMove = [System.Drawing.Point]::new(-1, 0) + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::Right) { + $engine.XMove = [System.Drawing.Point]::new(1, 0) + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::Up) { + $engine.Rotate = $true + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::Down) { + $engine.Rotate = $false + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::R) { + $engine.Renew = $true + } + } + ) + $engine.Form.Controls.Add($engine.PictureBox) + $engine.Form.Add_Resize( { if ($engine.Dispose) { $engine.Form.Close() } } ) + $engine.Form.Add_Load( { $engine.Form.Activate() }) + $engine.Form.ShowDialog() + $engine.Form.Dispose() + } +).BeginInvoke() + +while (-not $IAsyncResult.IsCompleted) { + if ($null -ne $engine.PictureBox) { + $time = Measure-Command { + if ($null -ne $engine.AddLines -and $engine.TetrisBoard.Debug) { + Write-Host ('Adding {0} lines' -f $engine.AddLines) + $engine.TetrisBoard.AddLines($engine.AddLines) + $engine.AddLines = $null + } + if ($null -ne $engine.SwitchShape -and $null -ne $engine.TetrisBoard.ActiveShape -and $null -ne $engine.TetrisBoard.NextShape) { + $TempShape = $engine.TetrisBoard.ActiveShape + $engine.TetrisBoard.ActiveShape = $engine.TetrisBoard.NextShape + $engine.TetrisBoard.NextShape = $TempShape + $TempShape = $null + $engine.SwitchShape = $null + } + if ($null -ne $engine.InstantiateBlock -and $engine.TetrisBoard.Debug) { + $engine.TetrisBoard.Coordinates[$engine.InstantiateBlock.X, $engine.InstantiateBlock.Y] = !$engine.TetrisBoard.Coordinates[$engine.InstantiateBlock.X, $engine.InstantiateBlock.Y] + $engine.InstantiateBlock = $null + } + if ($null -ne $engine.XMove) { + $engine.TetrisBoard.UpdateMoveset() + if ( + ($engine.XMove.X -gt 0 -and $engine.TetrisBoard.ActiveShape.Moveset.Right) -or + ($engine.XMove.X -lt 0 -and $engine.TetrisBoard.ActiveShape.Moveset.Left) + ) { + $engine.TetrisBoard.ActiveShape.Position = [System.Drawing.Point]::new( + ($engine.TetrisBoard.ActiveShape.Position.X + $engine.XMove.X), + $engine.TetrisBoard.ActiveShape.Position.Y + $engine.XMove.Y + ) + } + $engine.XMove = $null + } + if ($null -ne $engine.Debug) { + $engine.TetrisBoard.Debug = !$engine.TetrisBoard.Debug + $engine.Debug = $null + } + if ($null -ne $engine.Renew) { + $engine.TetrisBoard.ActiveShape = $null + $engine.Renew = $null + } + if ($null -ne $engine.Rotate -and $null -ne $engine.TetrisBoard.ActiveShape) { + $engine.TetrisBoard.UpdateMoveset() + $engine.TetrisBoard.ActiveShape.Rotate($engine.Rotate, $engine.TetrisBoard.Coordinates) + $engine.Rotate = $null + } + + if ([Datetime]::Now -ge $engine.NextFall -and $null -ne $engine.TetrisBoard.ActiveShape) { + $engine.TetrisBoard.UpdateMoveset() + if ($engine.TetrisBoard.ActiveShape.Moveset.Down) { + $engine.TetrisBoard.ActiveShape.Position = [System.Drawing.Point]::new( + ($engine.TetrisBoard.ActiveShape.Position.X), + $engine.TetrisBoard.ActiveShape.Position.Y + 1 + ) + } + else { + $engine.TetrisBoard.Kill() + } + $engine.NextFall = [Datetime]::Now.AddMilliseconds($engine.Settings.CurrentSpeedMs) + } + if ($engine.TetrisBoard.LostGame()) { + $engine.TetrisBoard = [TetrisBoard]::new($engine.Settings.Board.Width, $engine.Settings.Board.Height, $engine.Settings.Block.Size) + } + if ($null -eq $engine.TetrisBoard.ActiveShape) { + $engine.TetrisBoard.NewShape() + } + $engine.TetrisBoard.UpdateMoveset() + $engine.TetrisBoard.ClearLines() + $engine.PictureBox.Image = $engine.TetrisBoard.DrawImage() + } + if ($time.TotalMilliseconds -lt $engine.Settings.LoopTime) { + [System.Threading.Thread]::Sleep(($engine.Settings.LoopTime - $time.TotalMilliseconds)) + } + } +} From 86e8b2cb7ee53494505332ebeb562315358ee9a5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 20 Sep 2025 18:49:07 +0200 Subject: [PATCH 458/737] Updated play-chess.ps1 --- scripts/play-chess.ps1 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/play-chess.ps1 b/scripts/play-chess.ps1 index 221de1132..28e419a50 100755 --- a/scripts/play-chess.ps1 +++ b/scripts/play-chess.ps1 @@ -17,8 +17,8 @@ they only appear when run in PowerShell ISE. #Update-Board must be run before Publish-Board #Draws the board to the screen and displays all the icons -Function Publish-Board { - Clear +function Publish-Board { + Clear-Host Write-Host "`n`n" Write-Host ' A B C D E F G H' Write-Host ' --------------------------------- ' @@ -82,7 +82,7 @@ Function Read-Input { } #Update the status of all the pieces and place them -Function Update-Board { +function Update-Board { #Get arrays of all piece that are still alive [Array]$CurrentWhite = $Script:WhitePieces | Where-Object {$_.Alive -eq $true} [Array]$CurrentBlack = $Script:BlackPieces | Where-Object {$_.Alive -eq $true} @@ -107,7 +107,7 @@ Function Update-Board { } #Used to move pieces on the board -Function New-Move { +function New-Move { param ([string]$src, [string]$dst) enum castleOptions { @@ -580,7 +580,7 @@ Function New-Move { } #Log logic will go here -Function Update-Log { +function Update-Log { param([string]$src, [string]$dst, [string]$piece, [bool]$attack, [int]$castle, [bool]$promote, [bool]$ep, [bool]$check, [bool]$resign) @@ -655,7 +655,7 @@ Function Update-Log { } #Try a move, used for check and castling logic -Function Test-Move { +function Test-Move { param ([string]$src, [string]$dst) [bool]$attack = $false @@ -982,7 +982,7 @@ Function Test-Move { } #Figure out if the game is over or still ongoing -Function Test-Gamestatus { +function Test-Gamestatus { if ($wK.Alive -eq $false) { $Script:gameStatus = [gamestatus]::blackWin } elseif ($bK.Alive -eq $false) { @@ -990,7 +990,7 @@ Function Test-Gamestatus { } } -Function Get-Column { +function Get-Column { param ([ValidatePattern('[A-H]')][string]$Col) switch ($Col) { "A" {Return "0"} @@ -1004,7 +1004,7 @@ Function Get-Column { } } -Function Get-Row { +function Get-Row { param ([ValidateRange(1,8)][string]$row) return ($row - 1) From 735859aca51f7f7ee8ff7f4c900d5c8b305f541d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 24 Sep 2025 14:32:42 +0200 Subject: [PATCH 459/737] Updated play-tetris.ps1 --- scripts/play-tetris.ps1 | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/scripts/play-tetris.ps1 b/scripts/play-tetris.ps1 index 5156c7e80..477a628d2 100644 --- a/scripts/play-tetris.ps1 +++ b/scripts/play-tetris.ps1 @@ -1,8 +1,8 @@ -<# +<# .SYNOPSIS Play Tetris .DESCRIPTION - This PowerShell script plays the Tetris. + This PowerShell script let's you play the Tetris game. .EXAMPLE PS> ./play-tetris.ps1 .LINK @@ -11,6 +11,8 @@ Author: Markus Fleschutz | License: CC0 #> +#requires -version 5.1 + using Namespace System.Drawing using Namespace System.Windows.Forms @@ -26,10 +28,10 @@ enum ShapeTypes { } class TetrisShape { - [System.Drawing.Point] $Position - [System.Drawing.Color] $Color - [ShapeTypes] $Type = 0 - [int[, ]] $Body + [System.Drawing.Point]$Position + [System.Drawing.Color]$Color + [ShapeTypes]$Type = 0 + [int[, ]]$Body [PSCustomObject] $Moveset = [PSCustomObject] @{ Left = $false @@ -40,7 +42,7 @@ class TetrisShape { [int[, ]] SetShape([ShapeTypes] $Type) { $Coordinates = [int[, ]]::new(5, 5) - Switch ([int]$Type) { + switch ([int]$Type) { Default { $Coordinates[2, 0] = 1 $Coordinates[2, 1] = 1 From c65a222befb07f4da631e366e54b23e238face06 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 25 Sep 2025 12:20:48 +0200 Subject: [PATCH 460/737] Updated clone-shallow.ps1 and remove-dir.ps1 --- scripts/clone-shallow.ps1 | 16 ++++++++-------- scripts/remove-dir.ps1 | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/clone-shallow.ps1 b/scripts/clone-shallow.ps1 index cbfb6d474..f41efeb0c 100755 --- a/scripts/clone-shallow.ps1 +++ b/scripts/clone-shallow.ps1 @@ -2,29 +2,29 @@ .SYNOPSIS Clones a shallow Git repo .DESCRIPTION - This PowerShell script clones popular Git repositories into a common target directory. + This PowerShell script clones a shallow Git repository for speed and disk space (1 branch and 1 commit only, no blobs). .PARAMETER URL + Specifies the URL to the remote Git repository (queried if none given) .PARAMETER branchName -.PARAMETER targetDir - Specifies the file path to the target directory (current working directory by default) + Specifies the branch name ('main' by default) .EXAMPLE - PS> ./clone-shallow C:\MyRepos + PS> ./clone-shallow.ps1 https://github.com/fleschutz/PowerShell.git .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$targetDir = "$PWD") +param([string]$URL = "", [string]$branchName = "main") try { + if ($URL -eq "") { $URL = Read-Host "Enter the URL to the remote Git repository" } $stopWatch = [system.diagnostics.stopwatch]::startNew() - $ git clone --branch $branchName --single-branch --depth 1 --recurse-submodules $URL $targetDir - + & git clone $URL --depth 1 --single-branch --branch $branchName --filter=blob:none --recurse-submodules --shallow-submodules --jobs 4 [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Cloned the shallow repository in $elapsed sec" + "✅ Cloned '$branchName' branch from $URL in $($elapsed)s." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" diff --git a/scripts/remove-dir.ps1 b/scripts/remove-dir.ps1 index 2e4daf4ab..2d61a0c50 100755 --- a/scripts/remove-dir.ps1 +++ b/scripts/remove-dir.ps1 @@ -8,8 +8,8 @@ Specifies the file path to the directory tree .EXAMPLE PS> ./remove-dir.ps1 C:\Temp - ⏳ Removing directory 'C:\Temp', please wait..." - ✅ Directory C:\Temp\ removed (took 9s). + ⏳ Removing directory 'C:\Temp', please wait... + ✅ Removed 'C:\Temp\' in 9s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -24,12 +24,12 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() if (!(Test-Path "$pathToDir" -pathType container)) { throw "Cannot access directory '$pathToDir'" } - "⏳ Removing directory '$pathToDir', please wait..." + "⏳ Removing directory '$pathToDir' ..." Remove-Item -force -recurse -confirm:$false $pathToDir if ($lastExitCode -ne 0) { throw "'Remove-Item' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Directory $pathToDir removed (took $($elapsed)s)." + "✅ Removed '$pathToDir' in $($elapsed)s." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" From 6d09fba591a6a4234f189f661332122ae5a8f4e4 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 25 Sep 2025 14:33:02 +0200 Subject: [PATCH 461/737] Updated popular-repos.csv --- data/popular-repos.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/popular-repos.csv b/data/popular-repos.csv index d7d40a971..dedbc70f7 100644 --- a/data/popular-repos.csv +++ b/data/popular-repos.csv @@ -13,7 +13,7 @@ jhead, "EXIF tool", "https://github.com/Matthias-Wandel/jhead", leon, "personal assistant", "https://github.com/leon-ai/leon", master, yes, llvm, "compiler", "https://github.com/llvm/llvm-project", main, yes, LSS, "math tool", "git@github.com:fleschutz/LSS.git", main, yes, -my-backups, "backup tool", "git@github.com:fleschutz/my-backups.git", main, yes, +bulletproof-backups,"backup tool", "git@github.com:fleschutz/pulletproof-backups.git",main, yes, my-settings, "settings", "git@github.com:fleschutz/my-settings.git", main, yes, ninja, "build tool", "https://github.com/ninja-build/ninja", master, yes, opencv, "dev lib", "https://github.com/opencv/opencv", master, yes, @@ -27,4 +27,4 @@ tensorflow, "AI tool", "https://github.com/tensorflow/tensorfl terminal, "desktop tool", "https://github.com/microsoft/terminal", main, yes, tinycc, "compiler", "https://github.com/TinyCC/tinycc", mob, yes, voice2json, "voice tool", "https://github.com/synesthesiam/voice2json", master, yes, -zfs, "filesystem tool", "https://github.com/openzfs/zfs", master, yes, \ No newline at end of file +zfs, "filesystem tool", "https://github.com/openzfs/zfs", master, yes, From 93ceca32173831c8e9e5b89067f56697cbd5efd5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 29 Sep 2025 12:53:15 +0200 Subject: [PATCH 462/737] Updated cd-autostart.ps1 and cd-windows.ps1 --- scripts/cd-autostart.ps1 | 7 +++++-- scripts/cd-windows.ps1 | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/cd-autostart.ps1 b/scripts/cd-autostart.ps1 index 4b59171ee..c7b647c4e 100755 --- a/scripts/cd-autostart.ps1 +++ b/scripts/cd-autostart.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's autostart folder. .EXAMPLE PS> ./cd-autostart.ps1 - 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup + 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup with 0 files entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -15,10 +15,13 @@ #requires -version 5.1 try { + if ($IsLinux -or $IsMacOS) { throw "This script only works on Windows" } + $path = Resolve-Path "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" if (-not(Test-Path "$path" -pathType container)) { throw "The path to autostart folder '$path' doesn't exist (yet)" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + "📂$path with $($files.Count) files entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" diff --git a/scripts/cd-windows.ps1 b/scripts/cd-windows.ps1 index 810388c0f..863e2c3d0 100755 --- a/scripts/cd-windows.ps1 +++ b/scripts/cd-windows.ps1 @@ -15,7 +15,7 @@ #requires -version 5.1 try { - if ($IsLinux -or $IsMacOS) { throw "This script requires a Windows operating system" } + if ($IsLinux -or $IsMacOS) { throw "This script only works on Windows" } $path = Resolve-Path "$env:WINDIR" if (-not(Test-Path "$path" -pathType container)) { throw "No Windows directory at $path" } From 3469fef3202cead716d7b25be96c16c7d1808e83 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 29 Sep 2025 13:43:13 +0200 Subject: [PATCH 463/737] Updated check-dns.ps1 and ping-local-devices.ps1 --- scripts/check-dns.ps1 | 10 +++++----- scripts/ping-local-devices.ps1 | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/check-dns.ps1 b/scripts/check-dns.ps1 index 758c38c95..6420ee717 100755 --- a/scripts/check-dns.ps1 +++ b/scripts/check-dns.ps1 @@ -1,11 +1,11 @@ <# .SYNOPSIS - Check the DNS resolution + Checks the DNS speed .DESCRIPTION This PowerShell script measures the DNS resolution speed using 100 internet domains and prints it. .EXAMPLE PS> ./check-dns.ps1 - ✅ Internet DNS: 33.6ms lookup time + ✅ Internet DNS with 33.6ms average lookup time .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -25,11 +25,11 @@ try { [float]$elapsed = $stopWatch.Elapsed.TotalSeconds * 1000.0 $speed = [math]::round($elapsed / $table.Length, 1) if ($speed -lt 10.0) { - Write-Output "✅ Internet DNS: $($speed)ms excellent lookup time" + Write-Output "✅ Internet DNS with excellent $($speed)ms average lookup time" } elseif ($speed -lt 100.0) { - Write-Output "✅ Internet DNS: $($speed)ms lookup time" + Write-Output "✅ Internet DNS with $($speed)ms average lookup time" } else { - Write-Output "⚠️ Internet DNS: $($speed)ms slow lookup time" + Write-Output "⚠️ Internet DNS with slow $($speed)ms average lookup time" } exit 0 # success } catch { diff --git a/scripts/ping-local-devices.ps1 b/scripts/ping-local-devices.ps1 index 2077c41f6..6c971c84c 100755 --- a/scripts/ping-local-devices.ps1 +++ b/scripts/ping-local-devices.ps1 @@ -1,11 +1,11 @@ <# .SYNOPSIS - Pings local devices + Ping local devices .DESCRIPTION This PowerShell script pings devices in the local network and lists which one are up. .EXAMPLE PS> ./ping-local-devices.ps1 - ✅ Up: epson raspi tux + ✅ Up are: epson raspi tux .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -16,13 +16,13 @@ param([int]$timeout = 600) # ms ping timeout try { - $names = @('accesspoint','AD','AP','amnesiac','archlinux','auriga','berlin','berry','boston','brother','canon','castor','cisco','echodot','epson','epson2815','fedora','fireball','firewall','fritz.box','fritz.nas','fritz.powerline','fritz.repeater','gassensor','gateway','hippo','heizung','hodor','homemanager','io','iphone','jarvis','jenkins','LA','laptop','linux','jupiter','mars','mercury','miami','mobile','nas','none','none-1','none-2','NY','o2.lte','octo','office','officepc','paris','PI','pixel-6a','PC','pluto','printer','proxy','R2D2','raspberry','raspi','rocket','rome','router','sentinel','server','shelly','shelly1','smartphone','smartwatch','soundbar','speedport.ip','synologynas','sunnyboy','surface','switch','tablet','tau','tigercat','tolino','tux','TV','ubuntu','vega','venus','xrx','zeus') # sorted alphabetically + $names = @('accesspoint','AD','AP','amnesiac','archlinux','auriga','berlin','berry','boston','brother','canon','castor','cisco','echodot','epson','epson2815','fedora','fireball','firewall','fritz.box','fritz.nas','fritz.powerline','fritz.repeater','gassensor','gateway','hippo','heizung','hodor','homemanager','io','iphone','jarvis','jenkins','LA','laptop','linux','jupiter','mars','mercury','miami','mobile','nas','none','none-1','none-2','NY','o2.lte','octo','office','officepc','paris','PI','pixel-6a','PC','pluto','printer','proxy','R2D2','raspberry','raspi','rocket','rome','router','sentinel','server','shelly','shelly1','smartphone','smartwatch','soundbar','speedport.ip','synologynas','sunnyboy','surface','switch','tablet','tau','tigercat','tolino','tux','TV','ubuntu','vega','venus','windows','xrx','zeus') # sorted alphabetically $queue = [System.Collections.Queue]::new() foreach($name in $names) { $ping = [System.Net.Networkinformation.Ping]::new() $queue.Enqueue( @{Host=$name;Ping=$ping;Async=$ping.SendPingAsync($name,$timeout)} ) } [string]$up = "" - Write-Host "✅ Local devices: " -noNewline + Write-Host "✅ Up are: " -noNewline while($queue.Count -gt 0) { $obj = $queue.Dequeue() try { if ($obj.Async.Wait($timeout)) { if ($obj.Async.Result.Status -ne "TimedOut") { Write-Host "$($obj.Host) " -noNewline } From 64b5c0457070111b22caeb23f2f934b0047ac610 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 29 Sep 2025 15:32:54 +0200 Subject: [PATCH 464/737] Updated some cd-*.ps1 scripts --- scripts/cd-desktop.ps1 | 6 +++--- scripts/cd-dropbox.ps1 | 6 +++--- scripts/cd-home.ps1 | 6 +++--- scripts/cd-jenkins.ps1 | 4 ++-- scripts/cd-music.ps1 | 4 ++-- scripts/cd-nextcloud.ps1 | 6 +++--- scripts/cd-onedrive.ps1 | 6 +++--- scripts/cd-repos.ps1 | 4 ++-- scripts/cd-root.ps1 | 4 ++-- scripts/cd-scripts.ps1 | 4 ++-- scripts/cd-ssh.ps1 | 4 ++-- scripts/cd-sync.ps1 | 4 ++-- scripts/cd-temp.ps1 | 6 +++--- scripts/cd-windows.ps1 | 6 +++--- 14 files changed, 35 insertions(+), 35 deletions(-) diff --git a/scripts/cd-desktop.ps1 b/scripts/cd-desktop.ps1 index 676fd7a80..4c3f65fa5 100755 --- a/scripts/cd-desktop.ps1 +++ b/scripts/cd-desktop.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's desktop folder. .EXAMPLE PS> ./cd-desktop.ps1 - 📂/home/Markus/Desktop with 3 files and 0 folders entered. + 📂/home/Markus/Desktop entered (has 3 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -29,9 +29,9 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-dropbox.ps1 b/scripts/cd-dropbox.ps1 index 6a31203c3..822ed68a3 100755 --- a/scripts/cd-dropbox.ps1 +++ b/scripts/cd-dropbox.ps1 @@ -5,7 +5,7 @@ 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 0 folders) + 📂C:\Users\Markus\Dropbox entered (has 2 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -16,7 +16,7 @@ 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 - Please install Dropbox." } $path = Resolve-Path "~/Dropbox" Set-Location "$path" @@ -25,6 +25,6 @@ try { "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-home.ps1 b/scripts/cd-home.ps1 index 9d1e3d2bc..d3ae98e7c 100755 --- a/scripts/cd-home.ps1 +++ b/scripts/cd-home.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's home directory. .EXAMPLE PS> ./cd-home.ps1 - 📂C:\Users\Markus with 4 files and 7 folders entered. + 📂C:\Users\Markus entered (has 4 files and 7 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -20,9 +20,9 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-jenkins.ps1 b/scripts/cd-jenkins.ps1 index c9a05c749..f729947e5 100755 --- a/scripts/cd-jenkins.ps1 +++ b/scripts/cd-jenkins.ps1 @@ -20,7 +20,7 @@ try { } elseif (Test-Path "/var/snap/jenkins" -pathType container) { $path = "/var/snap/jenkins" } else { - throw "No Jenkins home directory found - is Jenkins installed?" + throw "No Jenkins home directory found - Please install Jenkins" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory @@ -28,6 +28,6 @@ try { "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-music.ps1 b/scripts/cd-music.ps1 index d85f52249..89009481a 100755 --- a/scripts/cd-music.ps1 +++ b/scripts/cd-music.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's music folder. .EXAMPLE PS> ./cd-music.ps1 - 📂C:\Users\Markus\Music with 3 folders and 0 files entered. + 📂C:\Users\Markus\Music entered (has 3 folders and 0 files) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -25,7 +25,7 @@ try { Set-Location "$path" $folders = Get-ChildItem $path -attributes Directory $files = Get-ChildItem $path -attributes !Directory - "📂$path with $($folders.Count) folders and $($files.Count) files entered." + "📂$path entered (has $($folders.Count) folders and $($files.Count) files)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" diff --git a/scripts/cd-nextcloud.ps1 b/scripts/cd-nextcloud.ps1 index d46d21718..fbc57bd7f 100755 --- a/scripts/cd-nextcloud.ps1 +++ b/scripts/cd-nextcloud.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's NextCloud folder. .EXAMPLE PS> ./cd-nextcloud.ps1 - 📂C:\Users\Markus\NextCloud with 2 files and 0 folders entered. + 📂C:\Users\Markus\NextCloud entered (has 2 files and 0 folder) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -16,13 +16,13 @@ try { if (-not(Test-Path "~/NextCloud" -pathType container)) { - throw "No 'NextCloud' folder in your home directory - is NextCloud installed?" + throw "No 'NextCloud' folder in your home directory - Please install NextCloud" } $path = Resolve-Path "~/NextCloud" Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" diff --git a/scripts/cd-onedrive.ps1 b/scripts/cd-onedrive.ps1 index f0e231bc1..8e166c408 100755 --- a/scripts/cd-onedrive.ps1 +++ b/scripts/cd-onedrive.ps1 @@ -5,7 +5,7 @@ This PowerShell script sets the current working directory to the user's OneDrive folder. .EXAMPLE PS> ./cd-onedrive.ps1 - 📂C:\Users\Markus\OneDrive with 2 files and 0 folders entered. + 📂C:\Users\Markus\OneDrive entered (has 2 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -16,13 +16,13 @@ try { if (-not(Test-Path "~/OneDrive" -pathType container)) { - throw "No 'OneDrive' folder in your home directory - is OneDrive installed?" + throw "No 'OneDrive' folder in your home directory - Please install OneDrive." } $path = Resolve-Path "~/OneDrive" Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" diff --git a/scripts/cd-repos.ps1 b/scripts/cd-repos.ps1 index efaa4a49c..128925606 100755 --- a/scripts/cd-repos.ps1 +++ b/scripts/cd-repos.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the current working directory to the folder for Git repositories. .EXAMPLE PS> ./cd-repos.ps1 - 📂C:\Repos with 33 folders entered. + 📂C:\Repos entered (has 33 subfolders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -29,7 +29,7 @@ try { $path = Resolve-Path $path Set-Location "$path" $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($folders.Count) folders entered." + "📂$path entered (has $($folders.Count) subfolders)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" diff --git a/scripts/cd-root.ps1 b/scripts/cd-root.ps1 index 8279401b3..6dd045eac 100755 --- a/scripts/cd-root.ps1 +++ b/scripts/cd-root.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the current working directory to the root directory (C:\ on Windows). .EXAMPLE PS> ./cd-root.ps1 - 📂C:\ with 7 folders and 0 files entered. + 📂C:\ entered (has 7 folders and 0 files) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -19,7 +19,7 @@ try { Set-Location "$path" $folders = Get-ChildItem $path -attributes Directory $files = Get-ChildItem $path -attributes !Directory - "📂$path with $($folders.Count) folders and $($files.Count) files entered." + "📂$path entered (has $($folders.Count) folders and $($files.Count) files)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" diff --git a/scripts/cd-scripts.ps1 b/scripts/cd-scripts.ps1 index fba2f6a94..715da1e6e 100755 --- a/scripts/cd-scripts.ps1 +++ b/scripts/cd-scripts.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the currrent working directory to the PowerShell scripts folder. .EXAMPLE PS> ./cd-scripts.ps1 - 📂C:\Repos\PowerShell\scripts with 655 scripts entered. + 📂C:\Repos\PowerShell\scripts entered (has 655 scripts) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -19,7 +19,7 @@ try { if (-not(Test-Path "$path" -pathType container)) { throw "No scripts folder at: $path" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - "📂$path with $($files.Count) scripts entered." + "📂$path entered (has $($files.Count) scripts)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" diff --git a/scripts/cd-ssh.ps1 b/scripts/cd-ssh.ps1 index 2de3f7f49..adf70cbba 100755 --- a/scripts/cd-ssh.ps1 +++ b/scripts/cd-ssh.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the current working directory to the user's secure shell (SSH) folder. .EXAMPLE PS> ./cd-ssh.ps1 - 📂C:\Users\Markus\.ssh with 4 files entered. + 📂C:\Users\Markus\.ssh entered (has 4 files) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,7 +22,7 @@ try { $path = Resolve-Path "$path" Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - "📂$path with $($files.Count) files entered." + "📂$path entered (has $($files.Count) files)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" diff --git a/scripts/cd-sync.ps1 b/scripts/cd-sync.ps1 index 7c0b39d2d..8295d67b5 100755 --- a/scripts/cd-sync.ps1 +++ b/scripts/cd-sync.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the current working directory to the user's Syncthing folder. .EXAMPLE PS> ./cd-sync.ps1 - 📂C:\Users\Markus\Sync with 2 files and 0 folders entered. + 📂C:\Users\Markus\Sync entered (has 2 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,7 +22,7 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" diff --git a/scripts/cd-temp.ps1 b/scripts/cd-temp.ps1 index 67a75e9fe..79af25fa6 100755 --- a/scripts/cd-temp.ps1 +++ b/scripts/cd-temp.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the current working directory to the temporary folder. .EXAMPLE PS> ./cd-temp.ps1 - 📂C:\Users\Markus\AppData\Local\Temp with 2 files and 3 subfolders entered. + 📂C:\Users\Markus\AppData\Local\Temp entered (has 2 files and 3 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -23,11 +23,11 @@ function GetTempDir { try { $path = GetTempDir - if (-not(Test-Path "$path" -pathType container)) { throw "The path to temporary folder '$path' doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { throw "The temporary folder at '$path' doesn't exist (yet)" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) subfolders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" diff --git a/scripts/cd-windows.ps1 b/scripts/cd-windows.ps1 index 863e2c3d0..fcd32963a 100755 --- a/scripts/cd-windows.ps1 +++ b/scripts/cd-windows.ps1 @@ -5,7 +5,7 @@ This PowerShell script sets the current working directory to the Windows directory. .EXAMPLE PS> ./cd-windows.ps1 - 📂C:\Windows with 7 files and 42 folders entered. + 📂C:\Windows entered (has 7 files and 42 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -15,7 +15,7 @@ #requires -version 5.1 try { - if ($IsLinux -or $IsMacOS) { throw "This script only works on Windows" } + if ($IsLinux -or $IsMacOS) { throw "This script requires Windows" } $path = Resolve-Path "$env:WINDIR" if (-not(Test-Path "$path" -pathType container)) { throw "No Windows directory at $path" } @@ -23,7 +23,7 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" From b3fb5d6a4f1348e687bb6b01c3d1c7689faf5ef5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 29 Sep 2025 15:50:59 +0200 Subject: [PATCH 465/737] Updated some cd-*.ps1 scripts --- scripts/cd-autostart.ps1 | 8 ++++---- scripts/cd-crashdumps.ps1 | 8 ++++---- scripts/cd-docs.ps1 | 4 ++-- scripts/cd-public.ps1 | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/cd-autostart.ps1 b/scripts/cd-autostart.ps1 index c7b647c4e..e8ac51f94 100755 --- a/scripts/cd-autostart.ps1 +++ b/scripts/cd-autostart.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's autostart folder. .EXAMPLE PS> ./cd-autostart.ps1 - 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup with 0 files entered. + 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup entered (has 0 files) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -15,15 +15,15 @@ #requires -version 5.1 try { - if ($IsLinux -or $IsMacOS) { throw "This script only works on Windows" } + if ($IsLinux -or $IsMacOS) { throw "This script requires Windows" } $path = Resolve-Path "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" if (-not(Test-Path "$path" -pathType container)) { throw "The path to autostart folder '$path' doesn't exist (yet)" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - "📂$path with $($files.Count) files entered." + "📂$path entered (has $($files.Count) files)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/cd-crashdumps.ps1 b/scripts/cd-crashdumps.ps1 index b8e49a60c..681e4081b 100755 --- a/scripts/cd-crashdumps.ps1 +++ b/scripts/cd-crashdumps.ps1 @@ -5,7 +5,7 @@ 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.ps1 - 📂C:\Users\Markus\AppData\Local\CrashDumps with 3 files entered. + 📂C:\Users\Markus\AppData\Local\CrashDumps entered (has 3 files) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -15,17 +15,17 @@ #requires -version 5.1 try { - if ($IsLinux -or $IsMacOS) { throw "Sorry, Windows only" } + if ($IsLinux -or $IsMacOS) { throw "This script requires Windows" } [string]$path = Resolve-Path -Path "~" - if (!(Test-Path "$path" -pathType container)) { throw "No home directory at $path" } + if (!(Test-Path "$path" -pathType container)) { throw "No home directory at '$path'" } $path += "\AppData\Local\CrashDumps" if (-not(Test-Path "$path" -pathType container)) { throw "The path to crashdumps folder '$path' doesn't exist (yet)" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - "📂$path with $($files.Count) files entered." + "📂$path entered (has $($files.Count) files)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" diff --git a/scripts/cd-docs.ps1 b/scripts/cd-docs.ps1 index 0d8cdd748..ac3df8a22 100755 --- a/scripts/cd-docs.ps1 +++ b/scripts/cd-docs.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the current working directory to the documents folder. .EXAMPLE PS> ./cd-docs.ps1 - 📂C:\Users\Markus\Documents with 3 files and 0 folders entered. + 📂C:\Users\Markus\Documents entered (has 3 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -25,7 +25,7 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" diff --git a/scripts/cd-public.ps1 b/scripts/cd-public.ps1 index 315e35610..80d165868 100755 --- a/scripts/cd-public.ps1 +++ b/scripts/cd-public.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the current working directory to the Public folder. .EXAMPLE PS> ./cd-public.ps1 - 📂C:\Users\Public with 2 files and 3 folders entered. + 📂C:\Users\Public entered (has 2 files and 3 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -29,7 +29,7 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" From f46dce377ac1c84917adc6e7cf9212c9c34872fa Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 30 Sep 2025 07:28:12 +0200 Subject: [PATCH 466/737] Improved connect-vpn.ps1 and disconnect-vpn.ps1 --- scripts/connect-vpn.ps1 | 16 +++++++++------- scripts/disconnect-vpn.ps1 | 17 +++++++++-------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/scripts/connect-vpn.ps1 b/scripts/connect-vpn.ps1 index d7ccec32c..f3da3a94d 100755 --- a/scripts/connect-vpn.ps1 +++ b/scripts/connect-vpn.ps1 @@ -5,6 +5,8 @@ This PowerShell script tries to connect to the VPN. .EXAMPLE PS> ./connect-vpn.ps1 + ⏳ Connecting to NASA-VPN..." + ✅ VPN connected. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -12,18 +14,18 @@ #> try { - $Connections = (Get-VPNConnection) - foreach($Connection in $Connections) { - if ($Connection.ConnectionStatus -eq "Connected") { throw "Already connected to VPN $($Connection.Name)" } - if ($Connection.ConnectionStatus -ne "Disconnected") { continue } - "Connecting to VPN $($Connection.Name)..." + $connections = (Get-VPNConnection) + foreach($connection in $connections) { + if ($connection.ConnectionStatus -eq "Connected") { throw "Already connected to VPN $($connection.Name)" } + if ($connection.ConnectionStatus -ne "Disconnected") { continue } + "⏳ Connecting to $($Connection.Name)..." & rasdial.exe "$($Connection.Name)" if ($lastExitCode -ne 0) { throw "Cannot establish connection" } - "Connected now." + "✅ VPN connected." exit 0 # success } throw "No VPN connection available" } catch { - "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + "⚠️ ERROR: $($Error[0])" exit 1 } diff --git a/scripts/disconnect-vpn.ps1 b/scripts/disconnect-vpn.ps1 index 0658ef1a5..32378bcdc 100755 --- a/scripts/disconnect-vpn.ps1 +++ b/scripts/disconnect-vpn.ps1 @@ -5,7 +5,8 @@ This PowerShell script disconnects the active VPN connection. .EXAMPLE PS> ./disconnect-vpn.ps1 - Disconnected now. + ⏳ Disconnecting NASA-VPN... + ✅ VPN disconnected. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -13,17 +14,17 @@ #> try { - $Connections = (Get-VPNConnection) - foreach($Connection in $Connections) { - if ($Connection.ConnectionStatus -ne "Connected") { continue } - "Disconnecting $($Connection.Name)..." - & rasdial.exe "$($Connection.Name)" /DISCONNECT + $connections = (Get-VPNConnection) + foreach($connection in $connections) { + if ($connection.ConnectionStatus -ne "Connected") { continue } + "⏳ Disconnecting $($connection.Name)..." + & rasdial.exe "$($connection.Name)" /DISCONNECT if ($lastExitCode -ne 0) { throw "Disconnect failed with exit code $lastExitCode" } - "Disconnected now." + "✅ VPN disconnected." exit 0 # success } throw "No VPN connection found." } catch { - "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + "⚠️ ERROR: $($Error[0])" exit 1 } From 0a5e99c56bb7e3031c38fa657ee7e5498a8278bc Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 30 Sep 2025 09:20:06 +0200 Subject: [PATCH 467/737] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a801c063..f0ff1d687 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/login/logoff/daily/hourly/shutdown or via AutoHotkey/Jenkins/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console like *Windows Terminal* is recommended.** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/login/logoff/daily/hourly/shutdown or via AutoHotkey/Jenkins/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console like *Windows Terminal* is recommended.** **[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md) | [PowerShell Documentation](https://docs.microsoft.com/en-us/powershell)** From 3999bdb8bbdc6c37863cb73f718d283751b1871c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 1 Oct 2025 16:47:15 +0200 Subject: [PATCH 468/737] Improved list-weather.ps1 --- scripts/list-weather.ps1 | 99 ++++++++++++++++++++-------------------- 1 file changed, 50 insertions(+), 49 deletions(-) diff --git a/scripts/list-weather.ps1 b/scripts/list-weather.ps1 index 39363e2e8..ccbf85ede 100755 --- a/scripts/list-weather.ps1 +++ b/scripts/list-weather.ps1 @@ -7,7 +7,7 @@ Specifies the location to use (determined automatically by default) .EXAMPLE PS> ./list-weather.ps1 - TODAY 🌡°C ☂️mm 💧 💨km/h ☀️UV ☁️ 👁km at Munich (Bayern, Germany) + TODAY Temp ☂️mm 💧 💨km/h ☀️UV ☁️ 👁km at Munich (Bayern, Germany) 0h 11° 0.0 88% ↖ 7 1 8% 10 🌙 clear ... .LINK @@ -20,50 +20,50 @@ param([string]$location = "") # empty means determine automatically function GetDescription([string]$text) { switch ($text) { - "Blizzard" { return "❄️ blizzard ⚠️" } - "Blowing snow" { return "❄️ blowing snow ⚠️" } - "Clear" { return "🌙 clear" } - "Cloudy" { return "☁️ cloudy" } - "Fog" { return "🌫 fog" } - "Freezing fog" { return "🌫 freezing fog" } - "Heavy rain" { return "💧 heavy rain ⚠️" } - "Heavy snow" { return "❄️ heavy snow ⚠️" } - "Light drizzle" { return "💧 light drizzle" } - "Light freezing rain" { return "💧 light freezing rain ⚠️" } - "Light rain" { return "💧 light rain" } - "Light rain shower" { return "💧 light rain shower" } - "Light sleet" { return "❄️ light sleet" } - "Light sleet showers" { return "❄️ light sleet showers" } - "Light snow" { return "❄️ light snow" } - "Light snow showers" { return "❄️ light snow showers" } - "Moderate or heavy freezing rain"{return "💧 moderate or heavy freezing rain ⚠️" } - "Moderate or heavy sleet" { return "❄️ moderate or heavy sleet ⚠️" } - "Moderate or heavy rain shower" { return "💧 moderate or heavy rain shower ⚠️" } - "Moderate or heavy rain in area with thunder" { return "💧 moderate or heavy rain in area with thunder ⚠️" } - "Moderate or heavy snow showers"{ return "❄️ moderate or heavy snow showers ⚠️" } - "Moderate or heavy snow in area with thunder" { return "❄️ moderate or heavy snow in area with thunder ⚠️" } - "Moderate rain" { return "💧 moderate rain" } - "Moderate rain at times" { return "💧 moderate rain at times" } - "Moderate snow" { return "❄️ moderate snow" } - "Mist" { return "🌫 misty" } - "Overcast" { return "☁️ overcast" } - "Partly cloudy" { return "⛅️ partly cloudy" } - "Patchy heavy snow" { return "❄️ patchy heavy snow ⚠️" } - "Patchy light drizzle" { return "💧 patchy light drizzle" } - "Patchy light rain" { return "💧 patchy light rain" } - "Patchy light rain in area with thunder" { return "💧 patchy light rain in area with thunder" } - "Patchy light rain with thunder" { return "💧 patchy light rain with thunder" } - "Patchy light snow" { return "❄️ patchy light snow" } - "Patchy moderate snow" { return "❄️ patchy moderate snow" } - "Patchy rain possible" { return "💧 patchy rain possible" } - "Patchy rain nearby" { return "💧 patchy rain nearby" } - "Patchy sleet nearby" { return "❄️ patchy sleet nearby" } - "Patchy snow nearby" { return "❄️ patchy snow nearby" } - "Patchy snow possible" { return "❄️ patchy snow possible" } - "Sunny" { return "☀️ sunny" } - "Thundery outbreaks possible" { return "⚡️ thundery outbreaks possible" } - "Thundery outbreaks in nearby" { return "⚡️ thundery outbreaks in nearby" } - default { return $text } + "Blizzard" { return "❄️" } + "Blowing snow" { return "❄️" } + "Clear" { return "🌙" } + "Cloudy" { return "☁️" } + "Fog" { return "🌫 " } + "Freezing fog" { return "🌫 " } + "Heavy rain" { return "💧" } + "Heavy snow" { return "❄️" } + "Light drizzle" { return "💧" } + "Light freezing rain" { return "💧" } + "Light rain" { return "💧" } + "Light rain shower" { return "💧" } + "Light sleet" { return "❄️" } + "Light sleet showers" { return "❄️" } + "Light snow" { return "❄️" } + "Light snow showers" { return "❄️" } + "Moderate or heavy freezing rain"{return "💧" } + "Moderate or heavy sleet" { return "❄️" } + "Moderate or heavy rain shower" { return "💧" } + "Moderate or heavy rain in area with thunder" { return "💧" } + "Moderate or heavy snow showers"{ return "❄️" } + "Moderate or heavy snow in area with thunder" { return "❄️" } + "Moderate rain" { return "💧" } + "Moderate rain at times" { return "💧" } + "Moderate snow" { return "❄️" } + "Mist" { return "🌫 " } + "Overcast" { return "☁️" } + "Partly cloudy" { return "⛅️" } + "Patchy heavy snow" { return "❄️" } + "Patchy light drizzle" { return "💧" } + "Patchy light rain" { return "💧" } + "Patchy light rain in area with thunder" { return "💧" } + "Patchy light rain with thunder" { return "💧" } + "Patchy light snow" { return "❄️" } + "Patchy moderate snow" { return "❄️" } + "Patchy rain possible" { return "💧" } + "Patchy rain nearby" { return "💧" } + "Patchy sleet nearby" { return "❄️" } + "Patchy snow nearby" { return "❄️" } + "Patchy snow possible" { return "❄️" } + "Sunny" { return "☀️" } + "Thundery outbreaks possible" { return "⚡️" } + "Thundery outbreaks in nearby" { return "⚡️" } + default { return "?" } } } @@ -100,7 +100,7 @@ try { [int]$day = 0 foreach($hourly in $weather.weather.hourly) { $hour = $hourly.time / 100 - $tempC = $(($hourly.tempC.toString()).PadLeft(3)) + $tempC = $(($hourly.tempC.toString()).PadLeft(2)) $precip = $($($hourly.precipMM).PadLeft(4)) $humidity = $(($hourly.humidity.toString()).PadLeft(3)) $pressure = $hourly.pressure @@ -109,10 +109,11 @@ try { $UV = $hourly.uvIndex $clouds = $(($hourly.cloudcover.toString()).PadLeft(3)) $visib = $(($hourly.visibility.toString()).PadLeft(2)) - $desc = GetDescription $hourly.weatherDesc.value.trim() + $desc = $hourly.weatherDesc.value.trim() + $icon = GetDescription $desc if ($hour -eq 0) { if ($day -eq 0) { - Write-Host "TODAY 🌡°C ☂️mm 💧 💨km/h ☀️UV ☁️ 👁km at $area ($region, $country)" -foregroundColor green + Write-Host "TODAY Temp ☂️mm 💧 💨km/h ☀️UV ☁️ 👁 km at $area ($region, $country)" -foregroundColor green } elseif ($day -eq 1) { $date = (Get-Date).AddDays(1) [string]$dayOfWeek = $date.DayOfWeek @@ -124,7 +125,7 @@ try { } $day++ } - "$(($hour.toString()).PadLeft(2))h $tempC° $precip $humidity% $($windDir)$windSpeed $UV $clouds% $visib $desc" + "$(($hour.toString()).PadLeft(2))h $($icon)$tempC° $precip $humidity% $($windDir)$windSpeed $UV $clouds% $visib $desc" } exit 0 # success } catch { From 1eab7d950408f14ae14e204294aec022b8ad456a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 4 Oct 2025 13:50:32 +0200 Subject: [PATCH 469/737] Updated cd-repos.ps1 --- scripts/cd-repos.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cd-repos.ps1 b/scripts/cd-repos.ps1 index 128925606..6c9600232 100755 --- a/scripts/cd-repos.ps1 +++ b/scripts/cd-repos.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the current working directory to the folder for Git repositories. .EXAMPLE PS> ./cd-repos.ps1 - 📂C:\Repos entered (has 33 subfolders) + 📂C:\Repos entered, has 33 subfolders. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -29,7 +29,7 @@ try { $path = Resolve-Path $path Set-Location "$path" $folders = Get-ChildItem $path -attributes Directory - "📂$path entered (has $($folders.Count) subfolders)" + "📂$path entered, has $($folders.Count) subfolders." exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" From 8ade091fa477f8b9a951508724dec9574a09e2af Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 5 Oct 2025 11:49:33 +0200 Subject: [PATCH 470/737] Updated cd-scripts.ps1 --- scripts/cd-scripts.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cd-scripts.ps1 b/scripts/cd-scripts.ps1 index 715da1e6e..1d7a0f205 100755 --- a/scripts/cd-scripts.ps1 +++ b/scripts/cd-scripts.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the currrent working directory to the PowerShell scripts folder. .EXAMPLE PS> ./cd-scripts.ps1 - 📂C:\Repos\PowerShell\scripts entered (has 655 scripts) + 📂C:\Repos\PowerShell\scripts entered, has 655 scripts. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -19,7 +19,7 @@ try { 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 entered, has $($files.Count) scripts." exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" From 0a04d7dc3b91238560dce2e0e4c2774a6e153c30 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 6 Oct 2025 10:55:07 +0200 Subject: [PATCH 471/737] Updated list-weather.ps1 --- scripts/list-weather.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/list-weather.ps1 b/scripts/list-weather.ps1 index ccbf85ede..ce55994ef 100755 --- a/scripts/list-weather.ps1 +++ b/scripts/list-weather.ps1 @@ -7,8 +7,8 @@ Specifies the location to use (determined automatically by default) .EXAMPLE PS> ./list-weather.ps1 - TODAY Temp ☂️mm 💧 💨km/h ☀️UV ☁️ 👁km at Munich (Bayern, Germany) - 0h 11° 0.0 88% ↖ 7 1 8% 10 🌙 clear + TODAY Temp ☂️mm 💧 💨km/h ☀️UV ☁️ 👁km Munich (Bayern, Germany) + 0h 🌙11° 0.0 88% ↖ 7 1 8% 10 clear ... .LINK https://github.com/fleschutz/PowerShell @@ -113,7 +113,7 @@ try { $icon = GetDescription $desc if ($hour -eq 0) { if ($day -eq 0) { - Write-Host "TODAY Temp ☂️mm 💧 💨km/h ☀️UV ☁️ 👁 km at $area ($region, $country)" -foregroundColor green + Write-Host "`nTODAY Temp ☂️mm 💧 💨km/h ☁️ ☀️UV 👁 km $area ($region, $country)" -foregroundColor green } elseif ($day -eq 1) { $date = (Get-Date).AddDays(1) [string]$dayOfWeek = $date.DayOfWeek @@ -125,7 +125,7 @@ try { } $day++ } - "$(($hour.toString()).PadLeft(2))h $($icon)$tempC° $precip $humidity% $($windDir)$windSpeed $UV $clouds% $visib $desc" + "$(($hour.toString()).PadLeft(2))h $($icon)$tempC° $precip $humidity% $($windDir)$windSpeed $clouds% $UV $visib $desc" } exit 0 # success } catch { From b1ac4a70bc480cd19b5b276b2a4069f75af7db67 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 7 Oct 2025 17:51:48 +0200 Subject: [PATCH 472/737] Updated check-drive-space.ps1 and check-swap-space.ps1 --- scripts/check-drive-space.ps1 | 4 ++-- scripts/check-swap-space.ps1 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/check-drive-space.ps1 b/scripts/check-drive-space.ps1 index 0c941423e..ec5407fb6 100755 --- a/scripts/check-drive-space.ps1 +++ b/scripts/check-drive-space.ps1 @@ -9,7 +9,7 @@ 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 with 442GB free. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,7 +49,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) with $(Bytes2String $free) free." } exit 0 # success } catch { diff --git a/scripts/check-swap-space.ps1 b/scripts/check-swap-space.ps1 index 3e2842eea..2282485cc 100755 --- a/scripts/check-swap-space.ps1 +++ b/scripts/check-swap-space.ps1 @@ -7,7 +7,7 @@ Specifies the minimum level in MB (10 MB by default) .EXAMPLE PS> ./check-swap-space.ps1 - ✅ Swap space uses 1GB (21%) of 5GB + ✅ Swap space uses 21% of 5GB with 1GB free. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -55,7 +55,7 @@ try { Write-Output "✅ Swap space has $(MB2String $total) reserved." } else { [int64]$percent = ($used * 100) / $total - Write-Output "✅ Swap space uses $percent% of $(MB2String $total): $(MB2String $free) free" + Write-Output "✅ Swap space uses $percent% of $(MB2String $total) with $(MB2String $free) free." } exit 0 # success } catch { From 3a5abee4c1f7011ccb872853f9f2c66c6d03344d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 8 Oct 2025 11:07:47 +0200 Subject: [PATCH 473/737] Updated open-dashboards.ps1 and switch-tabs.ps1 --- scripts/open-dashboards.ps1 | 10 +++++----- scripts/switch-tabs.ps1 | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/open-dashboards.ps1 b/scripts/open-dashboards.ps1 index acc3c8b9c..823bfadc9 100755 --- a/scripts/open-dashboards.ps1 +++ b/scripts/open-dashboards.ps1 @@ -7,8 +7,8 @@ Specifies the time interval between each tab (110ms per default) .EXAMPLE PS> ./open-dashboards.ps1 - ⏳ Launching Web browser with 24 tabs: Toggl Track,Google Calendar,Google Mail,... - NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically. + ⏳ Launching Web browser with 24 new tabs: Toggl Track, Google Calendar, Google Mail,... + 💡 Hint: use './switch-tabs.ps1' to automatically switch from tab to tab. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -25,14 +25,14 @@ try { $numRows = $table.Count Write-Progress -completed "Done." - Write-Host "⏳ Launching Web browser with $numRows tabs: " -noNewline + Write-Host "⏳ Launching Web browser with $numRows new tabs: " -noNewline foreach($row in $table) { - Write-Host "$($row.NAME)," -noNewline + Write-Host "$($row.NAME), " -noNewline & "$PSScriptRoot/open-default-browser.ps1" "$($row.URL)" Start-Sleep -milliseconds $timeInterval } Write-Host "" - Write-Host "NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically." + Write-Host "💡 Hint: use './switch-tabs.ps1' to automatically switch from tab to tab." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" diff --git a/scripts/switch-tabs.ps1 b/scripts/switch-tabs.ps1 index 05dab95ae..8d1481cdf 100755 --- a/scripts/switch-tabs.ps1 +++ b/scripts/switch-tabs.ps1 @@ -8,7 +8,7 @@ .EXAMPLE PS> ./switch-tabs.ps1 ⏳ Switching from tab to tab automatically every 10 seconds... - (click the Web browser to activate it - press here to stop it) + 💡 Hint: click the Web browser to activate it. Press here to stop it. .NOTES Author: Markus Fleschutz / License: CC0 .LINK @@ -19,7 +19,7 @@ param([int]$timeInterval = 10) # in seconds try { Write-Host "⏳ Switching from tab to tab automatically every $timeInterval seconds..." - Write-Host " (click the Web browser to activate it - press here to stop it)" + Write-Host "💡 Hint: click the Web browser to activate it. Press here to stop it." $obj = New-Object -com wscript.shell while ($true) { $obj.SendKeys("^{PGDN}") From bf973fe68b7ad4786b53f2f4790d12dee6d339a3 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 8 Oct 2025 13:33:16 +0200 Subject: [PATCH 474/737] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f0ff1d687..d1fe25b7f 100644 --- a/README.md +++ b/README.md @@ -369,13 +369,16 @@ Mega Collection of PowerShell Scripts | [write-vertical.ps1](scripts/write-vertical.ps1) | Writes the given text in vertical direction. [More »](docs/write-vertical.md) | | [show-notification-motivation-quote.ps1](scripts/show-notification-motivation-quote.ps1) | Show notification with random cat picture and motivation quote. [More »](docs/show-notification-motivation-quote.md) | + 🤝 Contributing --------------- * Contributions, suggestions, and improvements are welcome! * Open an Issue if you encounter bugs or have feature ideas. * Create a Pull Request if you'd like to improve a script. -* Or just send your feedback to: `markus.fleschutz [at] gmail.com` + 📜 License & Copyright ----------------------- This open source project is licensed under the CC0-1.0 license. All trademarks are the property of their respective owners. + +If you made it this far, thanks for reading! From b0c7f249ca7f4b0880d24c7e21f0d1cae0b74851 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 8 Oct 2025 13:33:45 +0200 Subject: [PATCH 475/737] Update README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index d1fe25b7f..8e94e3e1d 100644 --- a/README.md +++ b/README.md @@ -380,5 +380,3 @@ Mega Collection of PowerShell Scripts 📜 License & Copyright ----------------------- This open source project is licensed under the CC0-1.0 license. All trademarks are the property of their respective owners. - -If you made it this far, thanks for reading! From 96dee6c70875731a79347b5a579a450763dec860 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 12 Oct 2025 18:38:39 +0200 Subject: [PATCH 476/737] Improved upgrade-ubuntu.ps1 --- scripts/upgrade-ubuntu.ps1 | 44 ++++++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/scripts/upgrade-ubuntu.ps1 b/scripts/upgrade-ubuntu.ps1 index bc8018ad7..42c78de7d 100755 --- a/scripts/upgrade-ubuntu.ps1 +++ b/scripts/upgrade-ubuntu.ps1 @@ -12,41 +12,49 @@ #> try { + "⏳ (1/4) Checking requirements..." -foregroundColor green + & "$PSScriptRoot/check-power.ps1" + & "$PSScriptRoot/check-smart-devices.ps1" + if ($IsLinux -or $IsMacOS) { + & "$PSScriptRoot/check-drive-space.ps1" / + } else { + & "$PSScriptRoot/check-drive-space.ps1" C + } + & "$PSScriptRoot/check-swap-space.ps1" + "NOTE: It's strongly recommended to backup your data BEFORE the upgrade!" + $confirm = Read-Host "Press to continue..." "" - "⏳ (1/4) Perform a backup!" - "It's strongly recommended to backup your data BEFORE the upgrade!" - $Confirm = Read-Host "Press to continue..." - - "" - "⏳ (2/4) Install update-manager-core, Upgrade Packages & Reboot" - $Confirm = Read-Host "Enter to perform this step (otherwise it will be skipped)" - if ($Confirm -eq "yes") { + "⏳ (2/4) Upgrade installed packages, then reboot" + $confirm = Read-Host "Enter to perform this step (otherwise it will be skipped)" + if ($confirm -eq "yes") { sudo apt install update-manager-core + "⏳ Updating..." sudo apt update sudo apt list --upgradable + "⏳ Upgrading..." sudo apt upgrade + "⏳ Rebooting..." sudo reboot } - "" "⏳ (3/4) Remove obsolete kernel modules" - $Confirm = Read-Host "Enter to perform this step (otherwise it will be skipped)" - if ($Confirm -eq "yes") { + $confirm = Read-Host "Enter to perform this step (otherwise it will be skipped)" + if ($confirm -eq "yes") { sudo apt --purge autoremove } - "" - "⏳ (4/4) Upgrade Ubuntu & reboot" - $Confirm = Read-Host "Enter to upgrade to latest LTS release, to upgrade to latest Ubuntu release (otherwise this step will be skipped)" - if ($Confirm -eq "LTS") { + "⏳ (4/4) Upgrade Ubuntu OS, then reboot" + $confirm = Read-Host "Enter to upgrade to latest LTS release, to upgrade to latest Ubuntu release (otherwise this step will be skipped)" + if ($confirm -eq "LTS") { sudo do-release-upgrade + "⏳ Rebooting..." sudo reboot - } elseif ($Confirm -eq "latest") { + } elseif ($confirm -eq "latest") { sudo do-release-upgrade -d + "⏳ Rebooting..." sudo reboot } - - "✅ Done." + "✅ Update done." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" From fe82723fb8fe818e668cb95b33d3e48b76de1c66 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 12 Oct 2025 19:11:05 +0200 Subject: [PATCH 477/737] Updated upgrade-ubuntu.ps1 --- scripts/upgrade-ubuntu.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade-ubuntu.ps1 b/scripts/upgrade-ubuntu.ps1 index 42c78de7d..3b7cfdc58 100755 --- a/scripts/upgrade-ubuntu.ps1 +++ b/scripts/upgrade-ubuntu.ps1 @@ -12,7 +12,7 @@ #> try { - "⏳ (1/4) Checking requirements..." -foregroundColor green + "⏳ (1/4) Checking requirements..." & "$PSScriptRoot/check-power.ps1" & "$PSScriptRoot/check-smart-devices.ps1" if ($IsLinux -or $IsMacOS) { From 325d66efb6dbb7e9547d9ec2a8ccc1d15aa59d2f Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 13 Oct 2025 18:44:09 +0200 Subject: [PATCH 478/737] Updated install-updates.ps1 --- scripts/install-updates.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install-updates.ps1 b/scripts/install-updates.ps1 index 6d8411ba6..d67e4a71f 100755 --- a/scripts/install-updates.ps1 +++ b/scripts/install-updates.ps1 @@ -53,11 +53,11 @@ try { & sudo softwareupdate -i -a } if (Get-Command winget -errorAction SilentlyContinue) { - Write-Host "`n⏳ Upgrading by Microsoft Store..." -foregroundColor green + Write-Host "`n⏳ Upgrading apps from Microsoft Store..." -foregroundColor green & winget upgrade --all --source=msstore --include-unknown } if (Get-Command winget -errorAction SilentlyContinue) { - Write-Host "`n⏳ Upgrading by WinGet..." -foregroundColor green + Write-Host "`n⏳ Upgrading apps from WinGet..." -foregroundColor green & winget upgrade --all --source=winget --include-unknown } if (Get-Command choco -errorAction SilentlyContinue) { From 4bf7ce7d1b9f43a9b7628c5c4a2d17952332c188 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 13 Oct 2025 19:28:27 +0200 Subject: [PATCH 479/737] Updated pull-repos.ps1 --- scripts/pull-repos.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pull-repos.ps1 b/scripts/pull-repos.ps1 index fe0cb2981..424042db0 100755 --- a/scripts/pull-repos.ps1 +++ b/scripts/pull-repos.ps1 @@ -48,10 +48,10 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($numFailed -eq 0) { - "✅ Pulled into $numFolders Git repos at 📂$parentDir in $($elapsed)s." + "✅ Pulled updates into $numFolders Git repos at 📂$parentDir in $($elapsed)s." exit 0 # success } else { - "⚠️ Pulled into $numFolders Git repos at 📂$parentDir but $numFailed failed (took $($elapsed)s)!" + "⚠️ Pulled updates into $numFolders Git repos at 📂$parentDir but $numFailed failed (took $($elapsed)s)!" exit 1 } } catch { From a350806607d36b2e388dc30015bd7734a4ebfd40 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 13 Oct 2025 19:44:29 +0200 Subject: [PATCH 480/737] Updated list-internet-ip.ps1 and list-ssh-key.ps1 --- scripts/list-internet-ip.ps1 | 6 +++--- scripts/list-ssh-key.ps1 | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/list-internet-ip.ps1 b/scripts/list-internet-ip.ps1 index 6e7bad14c..2e13dddf0 100755 --- a/scripts/list-internet-ip.ps1 +++ b/scripts/list-internet-ip.ps1 @@ -5,7 +5,7 @@ This PowerShell script queries all public IP address information and prints it. .EXAMPLE PS> ./list-internet-ip.ps1 - ✅ Internet IP 185.72.229.161 and 2003:f2:6128:fd01:e543:601:30c2:a028 near Munich, Germany + ✅ Internet IP is 185.72.229.161 and 2003:f2:6128:fd01:e543:601:30c2:a028 near Munich, Germany. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -13,7 +13,7 @@ #> try { - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { [string]$publicIPv4 = (curl -4 --silent ifconfig.co) [string]$publicIPv6 = (curl -6 --silent ifconfig.co) [string]$city = (curl --silent ifconfig.co/city) @@ -28,7 +28,7 @@ try { if ("$publicIPv6" -eq "") { $publicIPv6 = "no IPv6" } if ("$city" -eq "") { $city = "unknown city" } if ("$country" -eq "") { $country = "unknown country" } - Write-Host "✅ Internet IP $publicIPv4 and $publicIPv6 near $city, $country" + Write-Host "✅ Internet IP is $publicIPv4 and $publicIPv6 near $city, $country." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" diff --git a/scripts/list-ssh-key.ps1 b/scripts/list-ssh-key.ps1 index f193fd331..cf15ab0b4 100755 --- a/scripts/list-ssh-key.ps1 +++ b/scripts/list-ssh-key.ps1 @@ -1,10 +1,11 @@ <# .SYNOPSIS - Lists the public SSH key + List the public SSH key .DESCRIPTION - This PowerShell script lists the user's public SSH key. + This PowerShell script lists the user's public SSH key (resides in the ~/.ssh folder). .EXAMPLE PS> ./list-ssh-key.ps1 + ✅ Public SSH key is: ssh-ed25519 AAAC3NzaC1lZDINTE5AAAAIKjhD0zlk9HV6OAXVtluUJ5c2BawfetGDLWu0CA1R markus@tux .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -17,12 +18,11 @@ try { } elseif (Test-Path "~/.ssh/id_rsa.pub") { $key = Get-Content "~/.ssh/id_rsa.pub" } else { - "⚠️ No SSH key found - execute 'new-ssh-key.ps1' to create one" - exit 1 + throw "No public SSH key found - execute 'new-ssh-key.ps1' to create one" } - "✅ Public SSH key: $key" + Write-Host "✅ Public SSH key is: $key" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + "⚠️ ERROR: $($Error[0])" exit 1 } From 08059b35083f44983fcacf4af65624a224ff3266 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 13 Oct 2025 19:58:31 +0200 Subject: [PATCH 481/737] Updated check-swap-space.ps1 --- scripts/check-swap-space.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/check-swap-space.ps1 b/scripts/check-swap-space.ps1 index 2282485cc..3c7302193 100755 --- a/scripts/check-swap-space.ps1 +++ b/scripts/check-swap-space.ps1 @@ -7,7 +7,7 @@ Specifies the minimum level in MB (10 MB by default) .EXAMPLE PS> ./check-swap-space.ps1 - ✅ Swap space uses 21% of 5GB with 1GB free. + ✅ Swap space uses 21% of 5GB (1GB free) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -30,7 +30,7 @@ function MB2String { param([int64]$bytes) try { - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { $Result = $(free --mega | grep Swap:) [int64]$total = $Result.subString(5,15) [int64]$used = $Result.substring(20,13) @@ -46,7 +46,7 @@ try { [int64]$free = ($total - $used) } if ($total -eq 0) { - Write-Output "⚠️ No swap space configured." + Write-Output "⚠️ No swap space configured." } elseif ($free -eq 0) { Write-Output "⚠️ Swap space of $(MB2String $total) is FULL!" } elseif ($free -lt $minLevel) { @@ -55,7 +55,7 @@ try { Write-Output "✅ Swap space has $(MB2String $total) reserved." } else { [int64]$percent = ($used * 100) / $total - Write-Output "✅ Swap space uses $percent% of $(MB2String $total) with $(MB2String $free) free." + Write-Output "✅ Swap space uses $percent% of $(MB2String $total) ($(MB2String $free) free)" } exit 0 # success } catch { From 84ad9ab665872b4223c17420c92c63c47fb55cf4 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 13 Oct 2025 20:03:27 +0200 Subject: [PATCH 482/737] Updated check-drives.ps1 --- scripts/check-drives.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/check-drives.ps1 b/scripts/check-drives.ps1 index 3379767aa..9874f906c 100755 --- a/scripts/check-drives.ps1 +++ b/scripts/check-drives.ps1 @@ -7,7 +7,7 @@ Specifies the minimum warning level (5GB by default) .EXAMPLE PS> ./check-drives.ps1 - ✅ Drive C: uses 489GB (53%) of 930GB, D: uses 3TB (87%) of 4TB, E: is empty + ✅ Drive C: uses 53% of 930GB (521GB free), D: uses 87% of 4TB (1TB free), E: is empty .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,7 +48,7 @@ try { $reply += "$name nearly full ($(Bytes2String $free) of $(Bytes2String $total) left)" } else { [int64]$percent = ($used * 100) / $total - $reply += "$name uses $(Bytes2String $used) ($percent%) of $(Bytes2String $total)" + $reply += "$name uses $percent% of $(Bytes2String $total) ($(Bytes2String $free) free)" } } Write-Host "$status $reply" From c4d110d516694cfc076cd9f76a574e70a477ab97 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 14 Oct 2025 09:52:18 +0200 Subject: [PATCH 483/737] Improved list-passwords.ps1 --- scripts/list-passwords.ps1 | 47 +++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/scripts/list-passwords.ps1 b/scripts/list-passwords.ps1 index ddc25ab9c..2e0589817 100755 --- a/scripts/list-passwords.ps1 +++ b/scripts/list-passwords.ps1 @@ -1,18 +1,20 @@ <# .SYNOPSIS - Lists random passwords + List secure passwords .DESCRIPTION - This PowerShell script lists random passwords. -.PARAMETER PasswordLength - Specifies the length of the password -.PARAMETER Columns - Specifies the number of columns -.PARAMETER Rows - Specifies the number of rows + This PowerShell script writes a list of secure passwords to the console (for the user to select one). + NOTE: The new NIST and CISA recommendation of 2024 for very strong passwords is at least 16 characters. +.PARAMETER passwordLength + Specifies the length of the password (16 by default) +.PARAMETER columns + Specifies the number of columns (6 by default) +.PARAMETER rows + Specifies the number of rows (27 by default) .EXAMPLE PS> ./list-passwords.ps1 - - "4yE=[mu"Az|IE@ PZ}E9Q"&?.!%49` zU3[E7`xA)(6W_3 :wd'a(O@fr}.Z8= + P6zYR't)/TrfEMJa %.]wrp@&w;`Z`Fv$ =q8},Bvn/)Moqg ;Kz|I[tG$t"3kj6x <. -param([int]$PasswordLength = 15, [int]$Columns = 6, [int]$Rows = 30) - -$MinCharCode = 33 -$MaxCharCode = 126 +param([int]$passwordLength = 16, [int]$columns = 6, [int]$rows = 27) try { - write-output "" - $Generator = New-Object System.Random - for ($j = 0; $j -lt $Rows; $j++) { - $Line = "" - for ($k = 0; $k -lt $Columns; $k++) { - for ($i = 0; $i -lt $PasswordLength; $i++) { - $Line += [char]$Generator.next($MinCharCode,$MaxCharCode) + [int]$minCharCode = 33 + [int]$maxCharCode = 126 + $generator = New-Object System.Random + for ([int]$row = 0; $row -lt $rows; $row++) { + $line = "" + for ([int]$col = 0; $col -lt $columns; $col++) { + for ([int]$i = 0; $i -lt $passwordLength; $i++) { + $line += [char]$generator.next($minCharCode, $maxCharCode) } - $Line += " " + $line += " " } - write-output "$Line" + Write-Output $line } - write-output "" exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" From ccf3649839a2c1dafd71b3eb2ece721721e7ff54 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 17 Oct 2025 15:37:39 +0200 Subject: [PATCH 484/737] Added write-generated-story.ps1 --- scripts/write-generated-story.ps1 | 43 +++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 scripts/write-generated-story.ps1 diff --git a/scripts/write-generated-story.ps1 b/scripts/write-generated-story.ps1 new file mode 100644 index 000000000..0cd144c34 --- /dev/null +++ b/scripts/write-generated-story.ps1 @@ -0,0 +1,43 @@ +<# +.SYNOPSIS + Writes a generated story +.DESCRIPTION + This PowerShell script writes a story generated by rules and randomness to the console output. +.EXAMPLE + PS> ./write-generated-story.ps1 + The angry Ron hits the road. + ... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +function GetAdverb { + return "angry","clever","colorful","cool","funny","glad","happy","hot","late","lazy","loud","lovely","nice","poor","rich","romantic","selfish","shy","silent","slow","smart","violent" | Get-Random +} + +function GetSubject { + return "airport","Amy","baby","Ben","Bob","brothers","car","cat","Dick","dog","earth","Eva","fox","guy","jet","Joe","Jon","kids","Leo","Max","man","moon","movies","parents","people","Peter","plane","Pope","Ron","Sam","sisters","sun","Tim","Tom","woman" | Get-Random +} + +function GetVerb { + return "beats","broadcasts","catches","goes to","hits","listens to","loves","talks to","walks to","welcomes" | Get-Random +} + +function GetObject { + return "a ball","a house","a sheep","a table","a vase","god","the church","the road","the tea","the woods","Lisa","Mary" | Get-Random +} + +function GetSentence { + return "The $(GetAdverb) $(GetSubject) $(GetVerb) $(GetObject)." +} + + +"" +" A Funny Story" +" -------------" +"" +" Generated by a script with rules & randomness." +"" +while ($true) { & "$PSScriptRoot/write-typewriter.ps1" $(GetSentence) 20 } From 13e0ac021977427fda1f500ee7c738e72bd3e07f Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 17 Oct 2025 15:45:31 +0200 Subject: [PATCH 485/737] Added exec file permissions --- scripts/play-tetris.ps1 | 0 scripts/write-generated-story.ps1 | 0 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts/play-tetris.ps1 mode change 100644 => 100755 scripts/write-generated-story.ps1 diff --git a/scripts/play-tetris.ps1 b/scripts/play-tetris.ps1 old mode 100644 new mode 100755 diff --git a/scripts/write-generated-story.ps1 b/scripts/write-generated-story.ps1 old mode 100644 new mode 100755 From 9073bd62089ac50c4b6d1d5276df948a7c98082e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 17 Oct 2025 15:46:35 +0200 Subject: [PATCH 486/737] Updated the manuals --- docs/add-firewall-rules.md | 2 +- docs/alert.md | 2 +- docs/build-repo.md | 2 +- docs/build-repos.md | 2 +- docs/calculate-BMI.md | 2 +- docs/cd-autostart.md | 13 +- docs/cd-crashdumps.md | 12 +- docs/cd-desktop.md | 10 +- docs/cd-docs.md | 8 +- docs/cd-downloads.md | 2 +- docs/cd-dropbox.md | 10 +- docs/cd-etc.md | 2 +- docs/cd-fonts.md | 2 +- docs/cd-home.md | 10 +- docs/cd-jenkins.md | 6 +- docs/cd-logs.md | 2 +- docs/cd-music.md | 8 +- docs/cd-nextcloud.md | 10 +- docs/cd-onedrive.md | 10 +- docs/cd-pics.md | 2 +- docs/cd-public.md | 8 +- docs/cd-recent.md | 2 +- docs/cd-recycle-bin.md | 2 +- docs/cd-repo.md | 2 +- docs/cd-repos.md | 8 +- docs/cd-root.md | 8 +- docs/cd-screenshots.md | 2 +- docs/cd-scripts.md | 8 +- docs/cd-ssh.md | 8 +- docs/cd-sync.md | 8 +- docs/cd-temp.md | 10 +- docs/cd-templates.md | 2 +- 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 | 2 +- docs/cd-videos.md | 2 +- docs/cd-windows.md | 10 +- 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 | 14 +- docs/check-drive-space.md | 8 +- docs/check-drives.md | 8 +- 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 | 32 +- 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 | 12 +- 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 | 2 +- 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 | 40 +- 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 | 20 +- 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-broken-file.md | 2 +- docs/copy-photos-sorted.md | 2 +- docs/copy-videos-sorted.md | 2 +- docs/count-characters.md | 2 +- docs/count-lines.md | 2 +- docs/decrypt-file.md | 2 +- docs/disable-ipv6.md | 2 +- docs/disconnect-vpn.md | 22 +- 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 | 2 +- docs/install-crystal-disk-mark.md | 2 +- docs/install-discord.md | 2 +- docs/install-edge.md | 2 +- docs/install-edit.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 | 2 +- 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-spotify.md | 2 +- docs/install-ssh-client.md | 2 +- docs/install-ssh-server.md | 2 +- docs/install-syncthing.md | 2 +- docs/install-thunderbird.md | 2 +- docs/install-unbound-server.md | 2 +- docs/install-updates.md | 6 +- 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 | 2 +- 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 | 2 +- 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 | 2 +- docs/list-earthquakes.md | 2 +- docs/list-emojis.md | 2 +- docs/list-empty-dirs.md | 2 +- 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 | 10 +- 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 | 77 ++- 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 | 2 +- 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 | 17 +- docs/list-submodules.md | 2 +- docs/list-suggestions.md | 2 +- docs/list-system-devices.md | 2 +- docs/list-system-files.md | 2 +- 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 | 107 +-- 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 | 2 +- docs/new-power-plan.md | 2 +- docs/new-powershell-script.md | 2 +- 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 | 2 +- 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 | 16 +- 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-windy.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 | 12 +- docs/ping-weather.md | 2 +- docs/play-ascii-video.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 | 20 +- 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-tetris.md | 722 +++++++++++++++++++++ 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 | 6 +- 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.md | 14 +- 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 | 2 +- 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 | 8 +- 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 | 2 +- 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 | 46 +- 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 | 2 +- docs/write-credits.md | 2 +- docs/write-date.md | 2 +- docs/write-fractal.md | 2 +- docs/write-generated-story.md | 65 ++ 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 | 2 +- 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 | 35 +- docs/write-red.md | 2 +- docs/write-rot13.md | 2 +- docs/write-shit.md | 2 +- docs/write-sine-curves.md | 2 +- docs/write-skull.md | 24 +- 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 +- 662 files changed, 1791 insertions(+), 955 deletions(-) create mode 100644 docs/play-tetris.md create mode 100644 docs/write-generated-story.md diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index 83028daaa..f3b6c14e5 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -117,4 +117,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/alert.md b/docs/alert.md index b76f5d1c3..f4095bffd 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/build-repo.md b/docs/build-repo.md index 371dd2d26..90a8314cf 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -215,4 +215,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/build-repos.md b/docs/build-repos.md index 4d1137d77..a0026b528 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/calculate-BMI.md b/docs/calculate-BMI.md index 9a66642fe..11395eefa 100644 --- a/docs/calculate-BMI.md +++ b/docs/calculate-BMI.md @@ -61,4 +61,4 @@ $result = $weight / ($height * $height) exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index ce02c376e..ffe6f7f7e 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-autostart.ps1 -📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup +📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup entered (has 0 files) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the user's autostart folder. .EXAMPLE PS> ./cd-autostart.ps1 - 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup + 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup entered (has 0 files) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,15 +49,18 @@ Script Content #requires -version 5.1 try { + if ($IsLinux -or $IsMacOS) { throw "This script requires Windows" } + $path = Resolve-Path "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" if (-not(Test-Path "$path" -pathType container)) { throw "The path to autostart folder '$path' doesn't exist (yet)" } Set-Location "$path" - "📂$path" + $files = Get-ChildItem $path -attributes !Directory + "📂$path entered (has $($files.Count) files)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index 02d7f657d..a216287bb 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-crashdumps.ps1 -📂C:\Users\Markus\AppData\Local\CrashDumps with 3 files entered. +📂C:\Users\Markus\AppData\Local\CrashDumps entered (has 3 files) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash. .EXAMPLE PS> ./cd-crashdumps.ps1 - 📂C:\Users\Markus\AppData\Local\CrashDumps with 3 files entered. + 📂C:\Users\Markus\AppData\Local\CrashDumps entered (has 3 files) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,17 +49,17 @@ Script Content #requires -version 5.1 try { - if ($IsLinux -or $IsMacOS) { throw "Sorry, Windows only" } + if ($IsLinux -or $IsMacOS) { throw "This script requires Windows" } [string]$path = Resolve-Path -Path "~" - if (!(Test-Path "$path" -pathType container)) { throw "No home directory at $path" } + if (!(Test-Path "$path" -pathType container)) { throw "No home directory at '$path'" } $path += "\AppData\Local\CrashDumps" if (-not(Test-Path "$path" -pathType container)) { throw "The path to crashdumps folder '$path' doesn't exist (yet)" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - "📂$path with $($files.Count) files entered." + "📂$path entered (has $($files.Count) files)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index 54b4ee5a2..ddb3f4fa9 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-desktop.ps1 -📂/home/Markus/Desktop with 3 files and 0 folders entered. +📂/home/Markus/Desktop entered (has 3 files and 0 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the user's desktop folder. .EXAMPLE PS> ./cd-desktop.ps1 - 📂/home/Markus/Desktop with 3 files and 0 folders entered. + 📂/home/Markus/Desktop entered (has 3 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -63,12 +63,12 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index b909769a4..4b6fbd563 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-docs.ps1 -📂C:\Users\Markus\Documents with 3 files and 0 folders entered. +📂C:\Users\Markus\Documents entered (has 3 files and 0 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the current working directory to the documents folder. .EXAMPLE PS> ./cd-docs.ps1 - 📂C:\Users\Markus\Documents with 3 files and 0 folders entered. + 📂C:\Users\Markus\Documents entered (has 3 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -59,7 +59,7 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index f02ffb9e8..53be038ad 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index cbdae6111..cd7b9afe7 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 0 folders) +📂C:\Users\Markus\Dropbox entered (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 0 folders) + 📂C:\Users\Markus\Dropbox entered (has 2 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -50,7 +50,7 @@ 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 - Please install Dropbox." } $path = Resolve-Path "~/Dropbox" Set-Location "$path" @@ -59,9 +59,9 @@ try { "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index d294ff911..cdc35f025 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index 972a41ae1..a5c4dea8a 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-home.md b/docs/cd-home.md index 09663107b..a9bc77930 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-home.ps1 -📂C:\Users\Markus with 4 files and 7 folders entered. +📂C:\Users\Markus entered (has 4 files and 7 folders) ``` @@ -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 with 4 files and 7 folders entered. + 📂C:\Users\Markus entered (has 4 files and 7 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -54,12 +54,12 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index 4144513de..ba4575b87 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -54,7 +54,7 @@ try { } elseif (Test-Path "/var/snap/jenkins" -pathType container) { $path = "/var/snap/jenkins" } else { - throw "No Jenkins home directory found - is Jenkins installed?" + throw "No Jenkins home directory found - Please install Jenkins" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory @@ -62,9 +62,9 @@ try { "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { - "⚠️ Error: $($Error[0])" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index 85cc92ef5..60cf3f0c1 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-music.md b/docs/cd-music.md index b67ef4646..e13cd569f 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-music.ps1 -📂C:\Users\Markus\Music with 3 folders and 0 files entered. +📂C:\Users\Markus\Music entered (has 3 folders and 0 files) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the user's music folder. .EXAMPLE PS> ./cd-music.ps1 - 📂C:\Users\Markus\Music with 3 folders and 0 files entered. + 📂C:\Users\Markus\Music entered (has 3 folders and 0 files) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -59,7 +59,7 @@ try { Set-Location "$path" $folders = Get-ChildItem $path -attributes Directory $files = Get-ChildItem $path -attributes !Directory - "📂$path with $($folders.Count) folders and $($files.Count) files entered." + "📂$path entered (has $($folders.Count) folders and $($files.Count) files)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index 4d212ce05..114fccd66 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-nextcloud.ps1 -📂C:\Users\Markus\NextCloud with 2 files and 0 folders entered. +📂C:\Users\Markus\NextCloud entered (has 2 files and 0 folder) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the user's NextCloud folder. .EXAMPLE PS> ./cd-nextcloud.ps1 - 📂C:\Users\Markus\NextCloud with 2 files and 0 folders entered. + 📂C:\Users\Markus\NextCloud entered (has 2 files and 0 folder) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -50,13 +50,13 @@ Script Content try { if (-not(Test-Path "~/NextCloud" -pathType container)) { - throw "No 'NextCloud' folder in your home directory - is NextCloud installed?" + throw "No 'NextCloud' folder in your home directory - Please install NextCloud" } $path = Resolve-Path "~/NextCloud" Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index 866872bed..ba0cc46bc 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-onedrive.ps1 -📂C:\Users\Markus\OneDrive with 2 files and 0 folders entered. +📂C:\Users\Markus\OneDrive entered (has 2 files and 0 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script sets the current working directory to the user's OneDrive folder. .EXAMPLE PS> ./cd-onedrive.ps1 - 📂C:\Users\Markus\OneDrive with 2 files and 0 folders entered. + 📂C:\Users\Markus\OneDrive entered (has 2 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -50,13 +50,13 @@ Script Content try { if (-not(Test-Path "~/OneDrive" -pathType container)) { - throw "No 'OneDrive' folder in your home directory - is OneDrive installed?" + throw "No 'OneDrive' folder in your home directory - Please install OneDrive." } $path = Resolve-Path "~/OneDrive" Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index 97b6e382b..effbdff54 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-public.md b/docs/cd-public.md index 870764ddd..3ae89147c 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-public.ps1 -📂C:\Users\Public with 2 files and 3 folders entered. +📂C:\Users\Public entered (has 2 files and 3 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the current working directory to the Public folder. .EXAMPLE PS> ./cd-public.ps1 - 📂C:\Users\Public with 2 files and 3 folders entered. + 📂C:\Users\Public entered (has 2 files and 3 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -63,7 +63,7 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index 8da4c038e..e7cd291d3 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index fb8dfd7f8..5166c19d1 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index a38230d77..3e253b136 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index 492909a78..9a3066e9f 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-repos.ps1 -📂C:\Repos with 33 folders entered. +📂C:\Repos entered, has 33 subfolders. ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the current working directory to the folder for Git repositories. .EXAMPLE PS> ./cd-repos.ps1 - 📂C:\Repos with 33 folders entered. + 📂C:\Repos entered, has 33 subfolders. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -63,7 +63,7 @@ try { $path = Resolve-Path $path Set-Location "$path" $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($folders.Count) folders entered." + "📂$path entered, has $($folders.Count) subfolders." exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-root.md b/docs/cd-root.md index 0daeb2f5f..41a482fda 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-root.ps1 -📂C:\ with 7 folders and 0 files entered. +📂C:\ entered (has 7 folders and 0 files) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the current working directory to the root directory (C:\ on Windows). .EXAMPLE PS> ./cd-root.ps1 - 📂C:\ with 7 folders and 0 files entered. + 📂C:\ entered (has 7 folders and 0 files) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -53,7 +53,7 @@ try { Set-Location "$path" $folders = Get-ChildItem $path -attributes Directory $files = Get-ChildItem $path -attributes !Directory - "📂$path with $($folders.Count) folders and $($files.Count) files entered." + "📂$path entered (has $($folders.Count) folders and $($files.Count) files)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index 171ae273a..e5cc4c78f 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index 0e9fd289a..7840d98e3 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 with 655 scripts entered. +📂C:\Repos\PowerShell\scripts entered, has 655 scripts. ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the currrent working directory to the PowerShell scripts folder. .EXAMPLE PS> ./cd-scripts.ps1 - 📂C:\Repos\PowerShell\scripts with 655 scripts entered. + 📂C:\Repos\PowerShell\scripts entered, has 655 scripts. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -53,7 +53,7 @@ try { if (-not(Test-Path "$path" -pathType container)) { throw "No scripts folder at: $path" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - "📂$path with $($files.Count) scripts entered." + "📂$path entered, has $($files.Count) scripts." exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index 38741c362..6eb9a10aa 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-ssh.ps1 -📂C:\Users\Markus\.ssh with 4 files entered. +📂C:\Users\Markus\.ssh entered (has 4 files) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the current working directory to the user's secure shell (SSH) folder. .EXAMPLE PS> ./cd-ssh.ps1 - 📂C:\Users\Markus\.ssh with 4 files entered. + 📂C:\Users\Markus\.ssh entered (has 4 files) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -56,7 +56,7 @@ try { $path = Resolve-Path "$path" Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - "📂$path with $($files.Count) files entered." + "📂$path entered (has $($files.Count) files)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-sync.md b/docs/cd-sync.md index 16f978063..302d797b8 100644 --- a/docs/cd-sync.md +++ b/docs/cd-sync.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-sync.ps1 -📂C:\Users\Markus\Sync with 2 files and 0 folders entered. +📂C:\Users\Markus\Sync entered (has 2 files and 0 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the current working directory to the user's Syncthing folder. .EXAMPLE PS> ./cd-sync.ps1 - 📂C:\Users\Markus\Sync with 2 files and 0 folders entered. + 📂C:\Users\Markus\Sync entered (has 2 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -56,7 +56,7 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index 613e00e94..3eb425a30 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-temp.ps1 -📂C:\Users\Markus\AppData\Local\Temp with 2 files and 3 subfolders entered. +📂C:\Users\Markus\AppData\Local\Temp entered (has 2 files and 3 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the current working directory to the temporary folder. .EXAMPLE PS> ./cd-temp.ps1 - 📂C:\Users\Markus\AppData\Local\Temp with 2 files and 3 subfolders entered. + 📂C:\Users\Markus\AppData\Local\Temp entered (has 2 files and 3 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -57,11 +57,11 @@ function GetTempDir { try { $path = GetTempDir - if (-not(Test-Path "$path" -pathType container)) { throw "The path to temporary folder '$path' doesn't exist (yet)" } + if (-not(Test-Path "$path" -pathType container)) { throw "The temporary folder at '$path' doesn't exist (yet)" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) subfolders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index 875f8f762..325a87ae7 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index 30419045b..aa23652e7 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-up.md b/docs/cd-up.md index a736fc3c1..ce375cafe 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index f0fa6068a..10b12a5a6 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index f1bb34a73..94c49319a 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index a66dd6820..f4ba3a15f 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-users.md b/docs/cd-users.md index 40f440e8a..cfb1daf5f 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index 6bf6dc318..1550252e2 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index b44f162ac..dc295f5ac 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-windows.ps1 -📂C:\Windows with 7 files and 42 folders entered. +📂C:\Windows entered (has 7 files and 42 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script sets the current working directory to the Windows directory. .EXAMPLE PS> ./cd-windows.ps1 - 📂C:\Windows with 7 files and 42 folders entered. + 📂C:\Windows entered (has 7 files and 42 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,7 +49,7 @@ Script Content #requires -version 5.1 try { - if ($IsLinux -or $IsMacOS) { throw "This script requires a Windows operating system" } + if ($IsLinux -or $IsMacOS) { throw "This script requires Windows" } $path = Resolve-Path "$env:WINDIR" if (-not(Test-Path "$path" -pathType container)) { throw "No Windows directory at $path" } @@ -57,7 +57,7 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index b5f2b85c1..4dcae7ef4 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-admin.md b/docs/check-admin.md index 4b9d54c3a..1ed784333 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-apps.md b/docs/check-apps.md index f11819902..45aefb90e 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-bios.md b/docs/check-bios.md index 080f60010..d65c03a18 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index 1be575ae5..2fc81538a 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index bf30efad7..cec710302 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-day.md b/docs/check-day.md index ff2d65ee8..0b722c48d 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-dns.md b/docs/check-dns.md index 284c10c84..7c3529ef2 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./check-dns.ps1 -✅ Internet DNS: 33.6ms lookup time +✅ Internet DNS with 33.6ms average lookup time ``` @@ -34,12 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Check the DNS resolution + Checks the DNS speed .DESCRIPTION This PowerShell script measures the DNS resolution speed using 100 internet domains and prints it. .EXAMPLE PS> ./check-dns.ps1 - ✅ Internet DNS: 33.6ms lookup time + ✅ Internet DNS with 33.6ms average lookup time .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -59,11 +59,11 @@ try { [float]$elapsed = $stopWatch.Elapsed.TotalSeconds * 1000.0 $speed = [math]::round($elapsed / $table.Length, 1) if ($speed -lt 10.0) { - Write-Output "✅ Internet DNS: $($speed)ms excellent lookup time" + Write-Output "✅ Internet DNS with excellent $($speed)ms average lookup time" } elseif ($speed -lt 100.0) { - Write-Output "✅ Internet DNS: $($speed)ms lookup time" + Write-Output "✅ Internet DNS with $($speed)ms average lookup time" } else { - Write-Output "⚠️ Internet DNS: $($speed)ms slow lookup time" + Write-Output "⚠️ Internet DNS with slow $($speed)ms average lookup time" } exit 0 # success } catch { @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index 66bedd32c..fc909980f 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 with 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 with 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) with $(Bytes2String $free) free." } exit 0 # success } catch { @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-drives.md b/docs/check-drives.md index 42978355d..019decec1 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -27,7 +27,7 @@ Example ------- ```powershell PS> ./check-drives.ps1 -✅ Drive C: uses 489GB (53%) of 930GB, D: uses 3TB (87%) of 4TB, E: is empty +✅ Drive C: uses 53% of 930GB (521GB free), D: uses 87% of 4TB (1TB free), E: is empty ``` @@ -51,7 +51,7 @@ Script Content Specifies the minimum warning level (5GB by default) .EXAMPLE PS> ./check-drives.ps1 - ✅ Drive C: uses 489GB (53%) of 930GB, D: uses 3TB (87%) of 4TB, E: is empty + ✅ Drive C: uses 53% of 930GB (521GB free), D: uses 87% of 4TB (1TB free), E: is empty .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -92,7 +92,7 @@ try { $reply += "$name nearly full ($(Bytes2String $free) of $(Bytes2String $total) left)" } else { [int64]$percent = ($used * 100) / $total - $reply += "$name uses $(Bytes2String $used) ($percent%) of $(Bytes2String $total)" + $reply += "$name uses $percent% of $(Bytes2String $total) ($(Bytes2String $free) free)" } } Write-Host "$status $reply" @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index e669c954b..f6bf56152 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index 3654267ab..e33229d65 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index cbca0befc..9acdb8192 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-file.md b/docs/check-file.md index 1d24585ba..954f2bb3e 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index 4e5271e61..6c6e0ed32 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index 697f0f261..11401579c 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -19,28 +19,28 @@ Script Content ```powershell <# .SYNOPSIS - Checks the GPU status + Checks the GPU status .DESCRIPTION - This PowerShell script queries the GPU status and prints it. + This PowerShell script queries the GPU status and prints it. .EXAMPLE - PS> ./check-gpu.ps1 + PS> ./check-gpu.ps1 ✅ NVIDIA Quadro P400 GPU (2GB RAM, 3840x2160 pixels, 32-bit, 59Hz, driver 31.0.15.1740) - status OK .LINK - https://github.com/fleschutz/PowerShell + https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz, Tyler MacInnis | License: CC0 + Author: Markus Fleschutz, Tyler MacInnis | License: CC0 #> function Bytes2String { param([int64]$Bytes) - if ($Bytes -lt 1000) { return "$Bytes bytes" } - $Bytes /= 1000 - if ($Bytes -lt 1000) { return "$($Bytes)KB" } - $Bytes /= 1000 - if ($Bytes -lt 1000) { return "$($Bytes)MB" } - $Bytes /= 1000 - if ($Bytes -lt 1000) { return "$($Bytes)GB" } - $Bytes /= 1000 - return "$($Bytes)TB" + if ($Bytes -lt 1000) { return "$Bytes bytes" } + $Bytes /= 1000 + if ($Bytes -lt 1000) { return "$($Bytes)KB" } + $Bytes /= 1000 + if ($Bytes -lt 1000) { return "$($Bytes)MB" } + $Bytes /= 1000 + if ($Bytes -lt 1000) { return "$($Bytes)GB" } + $Bytes /= 1000 + return "$($Bytes)TB" } try { @@ -63,8 +63,8 @@ try { exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" - exit 1 + exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index 2c04ca9a2..c4d7c1e0e 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-health.md b/docs/check-health.md index 029e03e0a..47ffb3044 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index 5cd1bda31..a8d282624 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index 3ae137305..2abbe1a55 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index 8f6dfebf7..326dcc5a0 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index c0d101738..d6d574c5f 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index 7eecc9dfc..d08e7a4ac 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index b37a6fde2..4a8697efd 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-month.md b/docs/check-month.md index a181fe376..a5a0891b6 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index 323b56585..3e43a0532 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index 760e32c1c..472c2dcce 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-network.md b/docs/check-network.md index 9522885ed..0c8e4cc68 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* diff --git a/docs/check-noon.md b/docs/check-noon.md index 540ed7a5f..d904ce270 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-os.md b/docs/check-os.md index b5166a3f3..4ac4e89d7 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index 9b3a9c9f0..c8cd2af02 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-password.md b/docs/check-password.md index db69403e4..12bd8283c 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index 9e8485d81..bb29fec37 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index d945aeb63..6d5331903 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-power.md b/docs/check-power.md index f78460225..5b69a46a2 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index 46591b272..27e8be83d 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index f592b987d..3d00f79f9 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-ram.md b/docs/check-ram.md index 10ad56884..a3f25650d 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-repo.md b/docs/check-repo.md index a4cb09f5d..184f599c5 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-repos.md b/docs/check-repos.md index e7246217c..18e8657dc 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-santa.md b/docs/check-santa.md index 8f1ca64d6..e5ce6dbd3 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index 59953f8c4..a103c4ca6 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-software.md b/docs/check-software.md index e4496d66d..c1c90705d 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index d9c4d98fa..a2e69e97d 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index 5f61a04d6..76509c3fa 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -27,7 +27,7 @@ Example ------- ```powershell PS> ./check-swap-space.ps1 -✅ Swap space uses 1GB (21%) of 5GB +✅ Swap space uses 21% of 5GB (1GB free) ``` @@ -51,7 +51,7 @@ Script Content Specifies the minimum level in MB (10 MB by default) .EXAMPLE PS> ./check-swap-space.ps1 - ✅ Swap space uses 1GB (21%) of 5GB + ✅ Swap space uses 21% of 5GB (1GB free) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -74,7 +74,7 @@ function MB2String { param([int64]$bytes) try { - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { $Result = $(free --mega | grep Swap:) [int64]$total = $Result.subString(5,15) [int64]$used = $Result.substring(20,13) @@ -90,7 +90,7 @@ try { [int64]$free = ($total - $used) } if ($total -eq 0) { - Write-Output "⚠️ No swap space configured." + Write-Output "⚠️ No swap space configured." } elseif ($free -eq 0) { Write-Output "⚠️ Swap space of $(MB2String $total) is FULL!" } elseif ($free -lt $minLevel) { @@ -99,7 +99,7 @@ try { Write-Output "✅ Swap space has $(MB2String $total) reserved." } else { [int64]$percent = ($used * 100) / $total - Write-Output "✅ Swap space uses $percent% of $(MB2String $total): $(MB2String $free) free" + 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index 038f99c20..1cd5aaa67 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index 3b624e535..7bd949b16 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index 8fdd86d7a..ec4f360cf 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index 1a6cfea48..585ae7d29 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-weather.md b/docs/check-weather.md index 485982814..0965714e5 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-week.md b/docs/check-week.md index 01cded6c1..7f8c26c89 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-wind.md b/docs/check-wind.md index 09a81ddb4..6a37823d7 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index ac9375a4d..e111dd26b 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index be96b9839..562468d2f 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index 50a1aa965..cc660cc1e 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index eb2dcb6b0..7ee30464c 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index eac2a8069..674b60ea6 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index 331cb5681..3a941aa76 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index 447cb405e..0c4d57c2f 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index deac35952..573efcd92 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index eaa3eba66..8b1dc1956 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -1,19 +1,29 @@ Script: *clone-shallow.ps1* ======================== -This PowerShell script clones popular Git repositories into a common target directory. +This PowerShell script clones a shallow Git repository for speed and disk space (1 branch and 1 commit only, no blobs). Parameters ---------- ```powershell -PS> ./clone-shallow.ps1 [[-targetDir] ] [] +PS> ./clone-shallow.ps1 [[-URL] ] [[-branchName] ] [] --targetDir - Specifies the file path to the target directory (current working directory by default) +-URL + Specifies the URL to the remote Git repository (queried if none given) Required? false Position? 1 - Default value "$PWD" + Default value + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +-branchName + Specifies the branch name ('main' by default) + + Required? false + Position? 2 + Default value main Accept pipeline input? false Aliases Accept wildcard characters? false @@ -26,7 +36,7 @@ PS> ./clone-shallow.ps1 [[-targetDir] ] [] Example ------- ```powershell -PS> ./clone-shallow C:\MyRepos +PS> ./clone-shallow.ps1 https://github.com/fleschutz/PowerShell.git ``` @@ -45,29 +55,29 @@ Script Content .SYNOPSIS Clones a shallow Git repo .DESCRIPTION - This PowerShell script clones popular Git repositories into a common target directory. + This PowerShell script clones a shallow Git repository for speed and disk space (1 branch and 1 commit only, no blobs). .PARAMETER URL + Specifies the URL to the remote Git repository (queried if none given) .PARAMETER branchName -.PARAMETER targetDir - Specifies the file path to the target directory (current working directory by default) + Specifies the branch name ('main' by default) .EXAMPLE - PS> ./clone-shallow C:\MyRepos + PS> ./clone-shallow.ps1 https://github.com/fleschutz/PowerShell.git .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$targetDir = "$PWD") +param([string]$URL = "", [string]$branchName = "main") try { + if ($URL -eq "") { $URL = Read-Host "Enter the URL to the remote Git repository" } $stopWatch = [system.diagnostics.stopwatch]::startNew() - $ git clone --branch $branchName --single-branch --depth 1 --recurse-submodules $URL $targetDir - + & git clone $URL --depth 1 --single-branch --branch $branchName --filter=blob:none --recurse-submodules --shallow-submodules --jobs 4 [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Cloned the shallow repository in $elapsed sec" + "✅ Cloned '$branchName' branch from $URL in $($elapsed)s." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" @@ -75,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index 6a1cc4840..0aa192d61 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index 1a82aa77b..b61c7a746 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index f892d115e..a87682b42 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-edge.md b/docs/close-edge.md index 68b503a62..3d672240a 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index 7022341d2..2df7f067e 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index 923922c9c..61981ec6b 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index c626f0de6..3ac917e87 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index 385d8fa3a..bf838475b 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index ccc04d2ea..6c52b555d 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index 6666d0aa9..040642ec2 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index eff19ff94..2125a0568 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index d40d8cebb..294de241b 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index 6d7234e80..b37e91de8 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index 65a61cdde..e81fd5e74 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index dc41b61f4..8764bfcd0 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index a5eb9e666..4f32d276d 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-program.md b/docs/close-program.md index f031fc5fd..aa78a1bf4 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index 3d9bf5406..7a70eb399 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index dffc8bf6c..d4f947435 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index 149ac09c4..ed3349ae1 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 08/25/2025 16:51:24)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 5f4463201..d578b68e7 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index 0e54d1596..7bda556a7 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index 80d96f710..0fe5204e6 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index 05c775a17..25d7c889d 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index 4157c6527..c15e4d9ab 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index 12ebd3edd..dd4800e3e 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/configure-git.md b/docs/configure-git.md index c9f0a012c..210238df8 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index 3c136ea07..5bb10741c 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -17,6 +17,8 @@ Example ------- ```powershell PS> ./connect-vpn.ps1 +⏳ Connecting to NASA-VPN..." +✅ VPN connected. ``` @@ -38,6 +40,8 @@ Script Content This PowerShell script tries to connect to the VPN. .EXAMPLE PS> ./connect-vpn.ps1 + ⏳ Connecting to NASA-VPN..." + ✅ VPN connected. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -45,21 +49,21 @@ Script Content #> try { - $Connections = (Get-VPNConnection) - foreach($Connection in $Connections) { - if ($Connection.ConnectionStatus -eq "Connected") { throw "Already connected to VPN $($Connection.Name)" } - if ($Connection.ConnectionStatus -ne "Disconnected") { continue } - "Connecting to VPN $($Connection.Name)..." + $connections = (Get-VPNConnection) + foreach($connection in $connections) { + if ($connection.ConnectionStatus -eq "Connected") { throw "Already connected to VPN $($connection.Name)" } + if ($connection.ConnectionStatus -ne "Disconnected") { continue } + "⏳ Connecting to $($Connection.Name)..." & rasdial.exe "$($Connection.Name)" if ($lastExitCode -ne 0) { throw "Cannot establish connection" } - "Connected now." + "✅ VPN connected." exit 0 # success } throw "No VPN connection available" } catch { - "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index c3f158537..d8c5ef1df 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/convert-dir27z.md b/docs/convert-dir27z.md index 35400b980..6c4fc946d 100644 --- a/docs/convert-dir27z.md +++ b/docs/convert-dir27z.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index 8e9ae097a..44d3f89b9 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index 7e0175a47..f63446e54 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index e901f39e2..051fe9065 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/convert-history2ps1.md b/docs/convert-history2ps1.md index f9eefbe19..5b1b2a6fc 100644 --- a/docs/convert-history2ps1.md +++ b/docs/convert-history2ps1.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index 195c62ab0..d297320a6 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index 39b719187..ee42a304d 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index 5c307ac8c..63bbb0e23 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/convert-images2webp.md b/docs/convert-images2webp.md index 3cccf3f2d..21f376103 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index db269001f..541350cb6 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index 5a0f68207..a94c7cff4 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index 771414a6a..2545514e6 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index 2925d6283..bade5420e 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index 719a835a9..92c77eae0 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index db80d4304..99ce87e7b 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -186,4 +186,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index 181c3481b..8a902020a 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index 2b99a3c84..4b5b1b107 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/copy-broken-file.md b/docs/copy-broken-file.md index 9f1913807..30ecc55bf 100644 --- a/docs/copy-broken-file.md +++ b/docs/copy-broken-file.md @@ -683,4 +683,4 @@ if ($UnreadableBlocks) { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index 67b6b71d6..7b6a66406 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -153,4 +153,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/copy-videos-sorted.md b/docs/copy-videos-sorted.md index 2060dff98..0a0974f94 100644 --- a/docs/copy-videos-sorted.md +++ b/docs/copy-videos-sorted.md @@ -136,4 +136,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/count-characters.md b/docs/count-characters.md index 676498ee0..b33ea1613 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/count-lines.md b/docs/count-lines.md index 98cb50816..4cb41ee57 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index 51a058a36..c270de1c8 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -199,4 +199,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index 5ed208e06..cbaaf2904 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index 293884ea6..3b95ac388 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -17,7 +17,8 @@ Example ------- ```powershell PS> ./disconnect-vpn.ps1 -Disconnected now. +⏳ Disconnecting NASA-VPN... +✅ VPN disconnected. ``` @@ -39,7 +40,8 @@ Script Content This PowerShell script disconnects the active VPN connection. .EXAMPLE PS> ./disconnect-vpn.ps1 - Disconnected now. + ⏳ Disconnecting NASA-VPN... + ✅ VPN disconnected. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,20 +49,20 @@ Script Content #> try { - $Connections = (Get-VPNConnection) - foreach($Connection in $Connections) { - if ($Connection.ConnectionStatus -ne "Connected") { continue } - "Disconnecting $($Connection.Name)..." - & rasdial.exe "$($Connection.Name)" /DISCONNECT + $connections = (Get-VPNConnection) + foreach($connection in $connections) { + if ($connection.ConnectionStatus -ne "Connected") { continue } + "⏳ Disconnecting $($connection.Name)..." + & rasdial.exe "$($connection.Name)" /DISCONNECT if ($lastExitCode -ne 0) { throw "Disconnect failed with exit code $lastExitCode" } - "Disconnected now." + "✅ VPN disconnected." exit 0 # success } throw "No VPN connection found." } catch { - "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/download-dir.md b/docs/download-dir.md index 77d6037c4..ad2c2e5e1 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/download-file.md b/docs/download-file.md index 3889cfc63..060b4866f 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/edit.md b/docs/edit.md index 3c443675c..d6ae48828 100644 --- a/docs/edit.md +++ b/docs/edit.md @@ -89,4 +89,4 @@ Write-Host "" exit 1 ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 846e13ac9..78338d24d 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -346,4 +346,4 @@ Else exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index 94fe98409..ec478199c 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index 97fd37aeb..320e5a479 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index 3a56bbd78..232854529 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -184,4 +184,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index 4c4b25e6e..fbc0ad7f9 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/enter-host.md b/docs/enter-host.md index 9a5dd3ca1..84b03a986 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index 91ef0d8c0..b4c83704d 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index b7bdebd26..8cc576752 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 6de1eabca..5c8251c4c 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index 748557561..e8b2a6b9a 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -64,4 +64,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 7e71003f7..615852829 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index eecc9c22b..089df5bb5 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index f15975c09..10bbfdce3 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/get-sha512.md b/docs/get-sha512.md index 5e72c59b0..b75ef1a12 100644 --- a/docs/get-sha512.md +++ b/docs/get-sha512.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/hello-world.md b/docs/hello-world.md index e8a90e66f..2ce72bb35 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 7c82b0a16..73670afeb 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/import-vm.md b/docs/import-vm.md index edbb75047..58a4fc581 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index 49bc74b9e..5a04e5e36 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index 69e2ae3ba..ed12ccb34 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index 8d2ac1224..84a1fead5 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 33192e5af..8292e70df 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index c91344571..48c1068b9 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index d988f7828..d6ca29650 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index e56af2787..0b920f4dc 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index 5b10cddc6..8fd671c9c 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index 3c133fbde..a5aa8e989 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-discord.md b/docs/install-discord.md index 3593019f8..7116e5936 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-edge.md b/docs/install-edge.md index 407b27a82..113059a98 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-edit.md b/docs/install-edit.md index b5acfbf9c..456103995 100644 --- a/docs/install-edit.md +++ b/docs/install-edit.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index a82d0bb1c..cdbf509a6 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index 95869a969..e92ddfe26 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-fonts.md b/docs/install-fonts.md index 7dbc63eaf..6bec06dc7 100644 --- a/docs/install-fonts.md +++ b/docs/install-fonts.md @@ -53,4 +53,4 @@ foreach ($font in $fontFiles) { Write-Output "Fonts have been installed successfully." ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index c8951dddb..4dd5ab014 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index 6325f2f83..cb6824a05 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index 89e8e012e..406158e55 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index 3d7508031..b1a1df21e 100644 --- a/docs/install-gitlab.md +++ b/docs/install-gitlab.md @@ -32,4 +32,4 @@ Script Content ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-h2static.md b/docs/install-h2static.md index b01bae2b0..fd7e4e7de 100644 --- a/docs/install-h2static.md +++ b/docs/install-h2static.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index 7110170cf..3ef453315 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-jenkins-agent.md b/docs/install-jenkins-agent.md index d98fad46f..f2f056c70 100644 --- a/docs/install-jenkins-agent.md +++ b/docs/install-jenkins-agent.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index bb4b399e1..6d9005745 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index 17efcf153..228af389e 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-mini-dlna.md b/docs/install-mini-dlna.md index cc4520adf..b257d4421 100644 --- a/docs/install-mini-dlna.md +++ b/docs/install-mini-dlna.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index 2512b010a..a3eb8dbef 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index 3904e073c..a0cb31127 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index fefc10820..a1660734b 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -33,4 +33,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index b7a5e01b5..e0b9bf817 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index 27f81c560..417dd5fe6 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index 2426754c8..c795396ae 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index ad528c356..1f8305947 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index d967d7d04..7639582cf 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index daaa64729..8e8967c4a 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -662,4 +662,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index 4a9765a4e..df75d8b84 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index d7807959c..0b401ed12 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-scoop.md b/docs/install-scoop.md index ad61307be..43a3beedc 100644 --- a/docs/install-scoop.md +++ b/docs/install-scoop.md @@ -21,4 +21,4 @@ Script Content Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index 498c42f3c..a2412cbde 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index ac3693615..8a6e9edcd 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index 5e6efb335..986da5935 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index 8ee9f56ea..962ed9f1c 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* diff --git a/docs/install-syncthing.md b/docs/install-syncthing.md index d2ba6ba56..f85b7803a 100644 --- a/docs/install-syncthing.md +++ b/docs/install-syncthing.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index 9305468bc..a511e7d9a 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index 1dd00340b..57f39e733 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 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/install-updates.md b/docs/install-updates.md index b13b357db..01fd34580 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -95,11 +95,11 @@ try { & sudo softwareupdate -i -a } if (Get-Command winget -errorAction SilentlyContinue) { - Write-Host "`n⏳ Upgrading by Microsoft Store..." -foregroundColor green + Write-Host "`n⏳ Upgrading apps from Microsoft Store..." -foregroundColor green & winget upgrade --all --source=msstore --include-unknown } if (Get-Command winget -errorAction SilentlyContinue) { - Write-Host "`n⏳ Upgrading by WinGet..." -foregroundColor green + Write-Host "`n⏳ Upgrading apps from WinGet..." -foregroundColor green & winget upgrade --all --source=winget --include-unknown } if (Get-Command choco -errorAction SilentlyContinue) { @@ -116,4 +116,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index dfffa3343..0e7a1fef9 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index 8e1aa5215..40879b575 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:25)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index d4917c945..fc8ed725d 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index 9e27e2e3f..e67580e40 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index ea93af66a..94e69f8bf 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index 395671e1f..83a5b58d5 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index 5f893ff12..dd7a746a2 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/kill-process.md b/docs/kill-process.md index 7394af28c..2d66a00cd 100644 --- a/docs/kill-process.md +++ b/docs/kill-process.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index 415ab1f31..728371388 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index cbf4fdae6..75d12b2d5 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-apps.md b/docs/list-apps.md index 3fa70d9ed..7e2cf7d16 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index ddf586faf..36371ff60 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index 0e9d5bab2..34140e6e8 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index d7237b780..b08f99c4a 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-bios.md b/docs/list-bios.md index 864abedb9..f18f0d700 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 638bcb76e..f8bdc8e78 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-branches.md b/docs/list-branches.md index 4762902c3..a34efe211 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -109,4 +109,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index dc024a6e7..a42113065 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -247,4 +247,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index efa35b2e6..0b24e56ee 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index 94f1dc438..51e19a7de 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index 7b0215391..80613f9b5 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -370,4 +370,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index 26d66f86f..76bf3c47f 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index aedf232b3..d20a28ffa 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index d9d8ac789..502bb85dd 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index 44fe6746c..c120ce1f5 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-commits.md b/docs/list-commits.md index 0450adbda..9d57ed89c 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 4ba0d683b..10948b356 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-countries.md b/docs/list-countries.md index 266150722..cb4e2941c 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -52,4 +52,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index 21697a3fc..e0a1a2678 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index d9c6304c4..0ff5a0d93 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index c2b9cf0cd..c9ea135c6 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index 4dc72faea..c66982304 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index 422eaef3a..b797c73e5 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-drives.md b/docs/list-drives.md index 6776af92b..79d0b79fa 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index 4b1171402..fb3dda033 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index 17bda4e63..c7c194f18 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index f77c115d4..060e08827 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index 8c2e28cbd..663a879d5 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index 366e84684..1f7d195e4 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index a94a6e139..c17a20914 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index df5b669c2..a9e9ac293 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index f5774167e..9a903fc8d 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-executables.md b/docs/list-executables.md index d78fda125..a51f0ad26 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index e99e15dca..b11f238cd 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-files.md b/docs/list-files.md index 4c8d6aeb9..0ce9dcf8e 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-folder.md b/docs/list-folder.md index 2a8924130..a29654348 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index 9232d1603..ace3a654c 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index 97902d007..8c2fc5c7f 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index 939364536..e3fd78d72 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index 3c27a2a5f..09a8d4a2a 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-installed-hotfixes.md b/docs/list-installed-hotfixes.md index 2e0e5f03d..19ae9f1fd 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index 66a61e7c0..3a50f2ae6 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index 2a3dfe444..c8fe511b6 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index 630e43a2c..57e981aa0 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index 146f8a5a4..3fa2cfe3e 100644 --- a/docs/list-internet-ip.md +++ b/docs/list-internet-ip.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./list-internet-ip.ps1 -✅ Internet IP 185.72.229.161 and 2003:f2:6128:fd01:e543:601:30c2:a028 near Munich, Germany +✅ Internet IP is 185.72.229.161 and 2003:f2:6128:fd01:e543:601:30c2:a028 near Munich, Germany. ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script queries all public IP address information and prints it. .EXAMPLE PS> ./list-internet-ip.ps1 - ✅ Internet IP 185.72.229.161 and 2003:f2:6128:fd01:e543:601:30c2:a028 near Munich, Germany + ✅ Internet IP is 185.72.229.161 and 2003:f2:6128:fd01:e543:601:30c2:a028 near Munich, Germany. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,7 +47,7 @@ Script Content #> try { - if ($IsLinux) { + if ($IsLinux -or $IsMacOS) { [string]$publicIPv4 = (curl -4 --silent ifconfig.co) [string]$publicIPv6 = (curl -6 --silent ifconfig.co) [string]$city = (curl --silent ifconfig.co/city) @@ -62,7 +62,7 @@ try { if ("$publicIPv6" -eq "") { $publicIPv6 = "no IPv6" } if ("$city" -eq "") { $city = "unknown city" } if ("$country" -eq "") { $country = "unknown country" } - Write-Host "✅ Internet IP $publicIPv4 and $publicIPv6 near $city, $country" + Write-Host "✅ Internet IP is $publicIPv4 and $publicIPv6 near $city, $country." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index 5cb7ca821..ab987d47f 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index 53a018acc..005218078 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index 4fc505fe2..27f4c5dab 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index 16d4ef7d8..c4d160e7b 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index 90cf58cea..ee9b712e8 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-memos.md b/docs/list-memos.md index bd485ee5e..d24ec1706 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index 1df87eabb..d6e37b3c2 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index 0f1882f11..dc8a52d00 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index 8b269cc4a..e3a9d4521 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index 5d98fcbf2..a082688d8 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index d36fa0a43..de89d4258 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* diff --git a/docs/list-news.md b/docs/list-news.md index ab3bfc6e5..7f25ea677 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-nic.md b/docs/list-nic.md index e1a659e5a..38f28f9ed 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index feeecb246..f8ee7b04c 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index 26b17b5b2..ac9f7e546 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index b85552f55..08260fa60 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index bfa687927..78c4d02aa 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-os.md b/docs/list-os.md index edfc9d909..399892e84 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index 96489a9d3..c09718d54 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index 776c67b64..1913d4e45 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-passwords.md b/docs/list-passwords.md index 823891f46..88d01bf44 100644 --- a/docs/list-passwords.md +++ b/docs/list-passwords.md @@ -1,25 +1,26 @@ Script: *list-passwords.ps1* ======================== -This PowerShell script lists random passwords. +This PowerShell script writes a list of secure passwords to the console (for the user to select one). +NOTE: The new NIST and CISA recommendation of 2024 for very strong passwords is at least 16 characters. Parameters ---------- ```powershell -PS> ./list-passwords.ps1 [[-PasswordLength] ] [[-Columns] ] [[-Rows] ] [] +PS> ./list-passwords.ps1 [[-passwordLength] ] [[-columns] ] [[-rows] ] [] --PasswordLength - Specifies the length of the password +-passwordLength + Specifies the length of the password (16 by default) Required? false Position? 1 - Default value 15 + Default value 16 Accept pipeline input? false Aliases Accept wildcard characters? false --Columns - Specifies the number of columns +-columns + Specifies the number of columns (6 by default) Required? false Position? 2 @@ -28,12 +29,12 @@ PS> ./list-passwords.ps1 [[-PasswordLength] ] [[-Columns] ] [[-Row Aliases Accept wildcard characters? false --Rows - Specifies the number of rows +-rows + Specifies the number of rows (27 by default) Required? false Position? 3 - Default value 30 + Default value 27 Accept pipeline input? false Aliases Accept wildcard characters? false @@ -47,10 +48,9 @@ Example ------- ```powershell PS> ./list-passwords.ps1 - - - -"4yE=[mu"Az|IE@ PZ}E9Q"&?.!%49` zU3[E7`xA)(6W_3 :wd'a(O@fr}.Z8= +P6zYR't)/TrfEMJa %.]wrp@&w;`Z`Fv$ =q8},Bvn/)Moqg ;Kz|I[tG$t"3kj6x <. ./list-passwords.ps1 - - "4yE=[mu"Az|IE@ PZ}E9Q"&?.!%49` zU3[E7`xA)(6W_3 :wd'a(O@fr}.Z8= + P6zYR't)/TrfEMJa %.]wrp@&w;`Z`Fv$ =q8},Bvn/)Moqg ;Kz|I[tG$t"3kj6x <. -param([int]$PasswordLength = 15, [int]$Columns = 6, [int]$Rows = 30) - -$MinCharCode = 33 -$MaxCharCode = 126 +param([int]$passwordLength = 16, [int]$columns = 6, [int]$rows = 27) try { - write-output "" - $Generator = New-Object System.Random - for ($j = 0; $j -lt $Rows; $j++) { - $Line = "" - for ($k = 0; $k -lt $Columns; $k++) { - for ($i = 0; $i -lt $PasswordLength; $i++) { - $Line += [char]$Generator.next($MinCharCode,$MaxCharCode) + [int]$minCharCode = 33 + [int]$maxCharCode = 126 + $generator = New-Object System.Random + for ([int]$row = 0; $row -lt $rows; $row++) { + $line = "" + for ([int]$col = 0; $col -lt $columns; $col++) { + for ([int]$i = 0; $i -lt $passwordLength; $i++) { + $line += [char]$generator.next($minCharCode, $maxCharCode) } - $Line += " " + $line += " " } - write-output "$Line" + Write-Output $line } - write-output "" exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" @@ -114,4 +113,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-pins.md b/docs/list-pins.md index 0f33d5c97..74eb64718 100644 --- a/docs/list-pins.md +++ b/docs/list-pins.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index 9548efe63..2499c8f75 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index 478d0bfb4..5da7a349f 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index 56fcad334..64ea7d528 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index 99cc7a700..6aa77bb32 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index 366a40531..f53cb3622 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 8bda13548..96381f689 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-processes.md b/docs/list-processes.md index d02b98669..faff27101 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index b96ebe5ba..ea83f9995 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-ram.md b/docs/list-ram.md index 6633311e9..9d3d0dbad 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index fa1120df8..0b1d63e75 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index 0c04b1cf4..3276b4d03 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-repos.md b/docs/list-repos.md index 3454826fe..c8ec1836f 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index 58897f128..85c78f121 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index 2b5f0e227..4a6278530 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 08/25/2025 16:51:26)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-services.md b/docs/list-services.md index 9327ba063..3bc3df804 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index e4e5c65e7..3553d1e56 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index a929afd9d..4a2182750 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index 702b63a0b..ee65a1db6 100644 --- a/docs/list-ssh-key.md +++ b/docs/list-ssh-key.md @@ -1,7 +1,7 @@ Script: *list-ssh-key.ps1* ======================== -This PowerShell script lists the user's public SSH key. +This PowerShell script lists the user's public SSH key (resides in the ~/.ssh folder). Parameters ---------- @@ -17,6 +17,7 @@ Example ------- ```powershell PS> ./list-ssh-key.ps1 +✅ Public SSH key is: ssh-ed25519 AAAC3NzaC1lZDINTE5AAAAIKjhD0zlk9HV6OAXVtluUJ5c2BawfetGDLWu0CA1R markus@tux ``` @@ -33,11 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Lists the public SSH key + List the public SSH key .DESCRIPTION - This PowerShell script lists the user's public SSH key. + This PowerShell script lists the user's public SSH key (resides in the ~/.ssh folder). .EXAMPLE PS> ./list-ssh-key.ps1 + ✅ Public SSH key is: ssh-ed25519 AAAC3NzaC1lZDINTE5AAAAIKjhD0zlk9HV6OAXVtluUJ5c2BawfetGDLWu0CA1R markus@tux .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -50,15 +52,14 @@ try { } elseif (Test-Path "~/.ssh/id_rsa.pub") { $key = Get-Content "~/.ssh/id_rsa.pub" } else { - "⚠️ No SSH key found - execute 'new-ssh-key.ps1' to create one" - exit 1 + throw "No public SSH key found - execute 'new-ssh-key.ps1' to create one" } - "✅ Public SSH key: $key" + Write-Host "✅ Public SSH key is: $key" exit 0 # success } catch { - "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + "⚠️ ERROR: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index 9bba129b3..49a488d30 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index 8d3270af8..64d56f776 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index de6626540..a7fdcd73d 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index 70b3a22a6..0218497be 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index 2fa3265be..efaca1479 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-tags.md b/docs/list-tags.md index a5edf341a..55c3c5899 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index 6b7978a85..a533e600f 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index 5ee87f09b..33340de01 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 4130a9fa2..0acee3339 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index 9a1974e06..35f00fbee 100644 --- a/docs/list-tiobe-index.md +++ b/docs/list-tiobe-index.md @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index 0add22c01..077d63ca3 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-updates.md b/docs/list-updates.md index 5c9abed2e..2181bfeb3 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index e69cac67c..5eb753760 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 8d0017ade..5277107cb 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index 6fea0e6a6..9b01de4c9 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-voices.md b/docs/list-voices.md index 08cdb3743..b3179ef6f 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-weather.md b/docs/list-weather.md index 96c0a533b..7bf530289 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -27,8 +27,8 @@ Example ------- ```powershell PS> ./list-weather.ps1 -TODAY 🌡°C ☂️mm 💧 💨km/h ☀️UV ☁️ 👁km at Munich (Bayern, Germany) - 0h 11° 0.0 88% ↖ 7 1 8% 10 🌙 clear +TODAY Temp ☂️mm 💧 💨km/h ☀️UV ☁️ 👁km Munich (Bayern, Germany) + 0h 🌙11° 0.0 88% ↖ 7 1 8% 10 clear ... ``` @@ -53,8 +53,8 @@ Script Content Specifies the location to use (determined automatically by default) .EXAMPLE PS> ./list-weather.ps1 - TODAY 🌡°C ☂️mm 💧 💨km/h ☀️UV ☁️ 👁km at Munich (Bayern, Germany) - 0h 11° 0.0 88% ↖ 7 1 8% 10 🌙 clear + TODAY Temp ☂️mm 💧 💨km/h ☀️UV ☁️ 👁km Munich (Bayern, Germany) + 0h 🌙11° 0.0 88% ↖ 7 1 8% 10 clear ... .LINK https://github.com/fleschutz/PowerShell @@ -66,50 +66,50 @@ param([string]$location = "") # empty means determine automatically function GetDescription([string]$text) { switch ($text) { - "Blizzard" { return "❄️ blizzard ⚠️" } - "Blowing snow" { return "❄️ blowing snow ⚠️" } - "Clear" { return "🌙 clear" } - "Cloudy" { return "☁️ cloudy" } - "Fog" { return "🌫 fog" } - "Freezing fog" { return "🌫 freezing fog" } - "Heavy rain" { return "💧 heavy rain ⚠️" } - "Heavy snow" { return "❄️ heavy snow ⚠️" } - "Light drizzle" { return "💧 light drizzle" } - "Light freezing rain" { return "💧 light freezing rain ⚠️" } - "Light rain" { return "💧 light rain" } - "Light rain shower" { return "💧 light rain shower" } - "Light sleet" { return "❄️ light sleet" } - "Light sleet showers" { return "❄️ light sleet showers" } - "Light snow" { return "❄️ light snow" } - "Light snow showers" { return "❄️ light snow showers" } - "Moderate or heavy freezing rain"{return "💧 moderate or heavy freezing rain ⚠️" } - "Moderate or heavy sleet" { return "❄️ moderate or heavy sleet ⚠️" } - "Moderate or heavy rain shower" { return "💧 moderate or heavy rain shower ⚠️" } - "Moderate or heavy rain in area with thunder" { return "💧 moderate or heavy rain in area with thunder ⚠️" } - "Moderate or heavy snow showers"{ return "❄️ moderate or heavy snow showers ⚠️" } - "Moderate or heavy snow in area with thunder" { return "❄️ moderate or heavy snow in area with thunder ⚠️" } - "Moderate rain" { return "💧 moderate rain" } - "Moderate rain at times" { return "💧 moderate rain at times" } - "Moderate snow" { return "❄️ moderate snow" } - "Mist" { return "🌫 misty" } - "Overcast" { return "☁️ overcast" } - "Partly cloudy" { return "⛅️ partly cloudy" } - "Patchy heavy snow" { return "❄️ patchy heavy snow ⚠️" } - "Patchy light drizzle" { return "💧 patchy light drizzle" } - "Patchy light rain" { return "💧 patchy light rain" } - "Patchy light rain in area with thunder" { return "💧 patchy light rain in area with thunder" } - "Patchy light rain with thunder" { return "💧 patchy light rain with thunder" } - "Patchy light snow" { return "❄️ patchy light snow" } - "Patchy moderate snow" { return "❄️ patchy moderate snow" } - "Patchy rain possible" { return "💧 patchy rain possible" } - "Patchy rain nearby" { return "💧 patchy rain nearby" } - "Patchy sleet nearby" { return "❄️ patchy sleet nearby" } - "Patchy snow nearby" { return "❄️ patchy snow nearby" } - "Patchy snow possible" { return "❄️ patchy snow possible" } - "Sunny" { return "☀️ sunny" } - "Thundery outbreaks possible" { return "⚡️ thundery outbreaks possible" } - "Thundery outbreaks in nearby" { return "⚡️ thundery outbreaks in nearby" } - default { return $text } + "Blizzard" { return "❄️" } + "Blowing snow" { return "❄️" } + "Clear" { return "🌙" } + "Cloudy" { return "☁️" } + "Fog" { return "🌫 " } + "Freezing fog" { return "🌫 " } + "Heavy rain" { return "💧" } + "Heavy snow" { return "❄️" } + "Light drizzle" { return "💧" } + "Light freezing rain" { return "💧" } + "Light rain" { return "💧" } + "Light rain shower" { return "💧" } + "Light sleet" { return "❄️" } + "Light sleet showers" { return "❄️" } + "Light snow" { return "❄️" } + "Light snow showers" { return "❄️" } + "Moderate or heavy freezing rain"{return "💧" } + "Moderate or heavy sleet" { return "❄️" } + "Moderate or heavy rain shower" { return "💧" } + "Moderate or heavy rain in area with thunder" { return "💧" } + "Moderate or heavy snow showers"{ return "❄️" } + "Moderate or heavy snow in area with thunder" { return "❄️" } + "Moderate rain" { return "💧" } + "Moderate rain at times" { return "💧" } + "Moderate snow" { return "❄️" } + "Mist" { return "🌫 " } + "Overcast" { return "☁️" } + "Partly cloudy" { return "⛅️" } + "Patchy heavy snow" { return "❄️" } + "Patchy light drizzle" { return "💧" } + "Patchy light rain" { return "💧" } + "Patchy light rain in area with thunder" { return "💧" } + "Patchy light rain with thunder" { return "💧" } + "Patchy light snow" { return "❄️" } + "Patchy moderate snow" { return "❄️" } + "Patchy rain possible" { return "💧" } + "Patchy rain nearby" { return "💧" } + "Patchy sleet nearby" { return "❄️" } + "Patchy snow nearby" { return "❄️" } + "Patchy snow possible" { return "❄️" } + "Sunny" { return "☀️" } + "Thundery outbreaks possible" { return "⚡️" } + "Thundery outbreaks in nearby" { return "⚡️" } + default { return "?" } } } @@ -146,7 +146,7 @@ try { [int]$day = 0 foreach($hourly in $weather.weather.hourly) { $hour = $hourly.time / 100 - $tempC = $(($hourly.tempC.toString()).PadLeft(3)) + $tempC = $(($hourly.tempC.toString()).PadLeft(2)) $precip = $($($hourly.precipMM).PadLeft(4)) $humidity = $(($hourly.humidity.toString()).PadLeft(3)) $pressure = $hourly.pressure @@ -155,10 +155,11 @@ try { $UV = $hourly.uvIndex $clouds = $(($hourly.cloudcover.toString()).PadLeft(3)) $visib = $(($hourly.visibility.toString()).PadLeft(2)) - $desc = GetDescription $hourly.weatherDesc.value.trim() + $desc = $hourly.weatherDesc.value.trim() + $icon = GetDescription $desc if ($hour -eq 0) { if ($day -eq 0) { - Write-Host "TODAY 🌡°C ☂️mm 💧 💨km/h ☀️UV ☁️ 👁km at $area ($region, $country)" -foregroundColor green + Write-Host "`nTODAY Temp ☂️mm 💧 💨km/h ☁️ ☀️UV 👁 km $area ($region, $country)" -foregroundColor green } elseif ($day -eq 1) { $date = (Get-Date).AddDays(1) [string]$dayOfWeek = $date.DayOfWeek @@ -170,7 +171,7 @@ try { } $day++ } - "$(($hour.toString()).PadLeft(2))h $tempC° $precip $humidity% $($windDir)$windSpeed $UV $clouds% $visib $desc" + "$(($hour.toString()).PadLeft(2))h $($icon)$tempC° $precip $humidity% $($windDir)$windSpeed $clouds% $UV $visib $desc" } exit 0 # success } catch { @@ -179,4 +180,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index 3b65715e2..52decfc9b 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index 8db28d49e..20acac630 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index 2d0734124..ba34dedbe 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index 3647de219..621d2c327 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/locate-city.md b/docs/locate-city.md index 8c4ef2b6c..1eda43e6f 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index 432e9b435..fc59cf926 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -46,4 +46,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index 51edcf8c1..f061c05e3 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index b9f0a5077..c709304b0 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index 4a282e3e8..8f83544e0 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/log-off.md b/docs/log-off.md index d9a4ad2e2..c0f29f9a3 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/make-install.md b/docs/make-install.md index 522200daa..a5ee38754 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index 92bafc76d..09a1b0c6e 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index d475dc058..c015c8ea4 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index 29def88cf..1d92375c6 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index 10ff74e4e..41510866f 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index fa856b270..ad785cd63 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index 6381fc085..e38a2fc85 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index 6bf1f6e79..70b9cde21 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index cedb48c81..b90327a52 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index b3b683bb3..90a4493f0 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index 788e8b276..78340661c 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index 0f70232ef..e342d7d50 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index 16a6625de..2be155e8e 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/move-vm.md b/docs/move-vm.md index f96e5c80c..ce056ae19 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/my-profile.md b/docs/my-profile.md index 08f3c831b..9d71966ee 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/new-branch.md b/docs/new-branch.md index 514c03fa0..80d9b9744 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 5e9169f9b..1db1cd22a 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/new-email.md b/docs/new-email.md index 8f5ae4de7..2768e5747 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/new-junction.md b/docs/new-junction.md index 4394e8608..152aab5cf 100644 --- a/docs/new-junction.md +++ b/docs/new-junction.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index 4948d8560..25611be8f 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/new-markdown-file.md b/docs/new-markdown-file.md index baa38ab0d..411c2f58e 100644 --- a/docs/new-markdown-file.md +++ b/docs/new-markdown-file.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* diff --git a/docs/new-power-plan.md b/docs/new-power-plan.md index dd4b2d6be..b0842f2e3 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/new-powershell-script.md b/docs/new-powershell-script.md index 849a68db6..b1cd0352b 100644 --- a/docs/new-powershell-script.md +++ b/docs/new-powershell-script.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 87459d633..594a5d8bd 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -113,4 +113,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index 05cde29fe..f90abd69f 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index 4e00c5340..f67913826 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index ccb83a271..e90842b57 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index 2ea2e990d..37d5be429 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/new-tab.md b/docs/new-tab.md index 808b5b21a..08c1fd776 100644 --- a/docs/new-tab.md +++ b/docs/new-tab.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/new-tag.md b/docs/new-tag.md index f7408bc99..02469b052 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/new-text-file.md b/docs/new-text-file.md index ef302deda..a7b1544cf 100644 --- a/docs/new-text-file.md +++ b/docs/new-text-file.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/new-user.md b/docs/new-user.md index 0fabb038a..9957ed4e5 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index 0fdbbf5b6..60571f71a 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index d6c9dffa7..5d110b823 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 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-URL.md b/docs/open-URL.md index 1b1f4f064..cca1b69e6 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index a144aca9b..599dcfab3 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -51,4 +51,4 @@ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index b481689b2..0aa08baf9 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index ca8cdb9c7..f4e17a4a9 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index d29f46171..7e37cfae1 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index 3c5d90741..f0aadb7db 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index b03af0a60..63d46ad2d 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index a1dd6d691..1dd46fcd1 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-clock.md b/docs/open-clock.md index a541e6638..31080234b 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index 524d080f0..3d4b9e31c 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index 43ebd5b47..afd2f6e9e 100644 --- a/docs/open-d-drive.md +++ b/docs/open-d-drive.md @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "D:" ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 7b09f39ae..2fd49bde4 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -27,8 +27,8 @@ Example ------- ```powershell PS> ./open-dashboards.ps1 -⏳ Launching Web browser with 24 tabs: Toggl Track,Google Calendar,Google Mail,... -NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically. +⏳ Launching Web browser with 24 new tabs: Toggl Track, Google Calendar, Google Mail,... +💡 Hint: use './switch-tabs.ps1' to automatically switch from tab to tab. ``` @@ -52,8 +52,8 @@ Script Content Specifies the time interval between each tab (110ms per default) .EXAMPLE PS> ./open-dashboards.ps1 - ⏳ Launching Web browser with 24 tabs: Toggl Track,Google Calendar,Google Mail,... - NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically. + ⏳ Launching Web browser with 24 new tabs: Toggl Track, Google Calendar, Google Mail,... + 💡 Hint: use './switch-tabs.ps1' to automatically switch from tab to tab. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -70,14 +70,14 @@ try { $numRows = $table.Count Write-Progress -completed "Done." - Write-Host "⏳ Launching Web browser with $numRows tabs: " -noNewline + Write-Host "⏳ Launching Web browser with $numRows new tabs: " -noNewline foreach($row in $table) { - Write-Host "$($row.NAME)," -noNewline + Write-Host "$($row.NAME), " -noNewline & "$PSScriptRoot/open-default-browser.ps1" "$($row.URL)" Start-Sleep -milliseconds $timeInterval } Write-Host "" - Write-Host "NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically." + Write-Host "💡 Hint: use './switch-tabs.ps1' to automatically switch from tab to tab." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index ccbfb29b8..b1e038ead 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index feb467aec..c2c837551 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index f6980c749..97547a262 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index 1a4a53faf..33996206e 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index 108e35b0a..f6a84d0d8 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index eb8fff788..53217aee0 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index 4346ce697..26ee3b3b2 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index dcec1ca5d..a4472cb17 100644 --- a/docs/open-e-drive.md +++ b/docs/open-e-drive.md @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "E:" ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-edge.md b/docs/open-edge.md index 891202271..294d467bd 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -50,4 +50,4 @@ Start-Process microsoft-edge:// exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index d76e29ab7..d7cc63d63 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index ede8713fe..504fd4572 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index df9a1cb36..c4df5cd49 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index 0405b85da..7fc527433 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index da08fd1e5..ba2a6353b 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index 96f5a34ad..4cf4a6237 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index 13fa18cf0..64e224fc5 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index fa3ae89be..80e096249 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index 834714c1c..9aebe5989 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index 5dd08df99..4ba564b17 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index 035d8e2cd..8c74c02f7 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index b5c834cef..1d00b5026 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index 9a5f847d1..d78336801 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 58a23989f..cb8882730 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index bc8e68435..01b40b7b8 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index 03702088e..ca63bf9d0 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index 96502c3a4..901a8f0fa 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index 42d35f300..dad358b0f 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index fdb230e92..0066e3558 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index 83997a505..dd42cf484 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index 3ae6766f1..8e3e8a9c2 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index 7de18da29..f4fcd3faf 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index 5254aa177..3f1270975 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 747b725da..2b6e0a454 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index e8a5890f9..d92cdabd4 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index a0979f336..72a6ace49 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index 9e9957fb9..1329fba50 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index 874d27b23..df1b6ba2e 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index d1c3dac72..cdec53405 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -50,4 +50,4 @@ Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index 90ba26865..cba495661 100644 --- a/docs/open-microsoft-store.md +++ b/docs/open-microsoft-store.md @@ -50,4 +50,4 @@ Start-Process ms-windows-store: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index 6959c0d01..7003d169d 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index 4dceb4ce8..22a693d0a 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index 56daf17f1..9cd3a4f95 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -50,4 +50,4 @@ Start-Process netflix: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index 1df3cc83b..c68b3c632 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index 29ba9e966..cf9ca7f7e 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index 97c900d90..dade19359 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index bd26afd6f..657e43e5b 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index d22fb8e4f..f9c775c66 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index 7de8e023b..4eed3e8c8 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index 6f6df4958..b249893a5 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:27)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index f939cb8c3..1ea93595b 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -67,4 +67,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index 3f8d3ec0e..728338b85 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index b62e2712f..e548d4802 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index aad1343df..219876338 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index 076720700..da761b5ad 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index 258b19c3a..2468da6d0 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-skype.md b/docs/open-skype.md index d1aeb6ea6..1954db9f3 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index 224262447..55fc24957 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -50,4 +50,4 @@ Start-Process SnippingTool.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index f1ea7837e..64b87429a 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index bb8b6db06..e16bfbcff 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -50,4 +50,4 @@ Start-Process spotify: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index 54902a9d7..c8f42b158 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 163f00de2..545878a93 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index b6ae1d607..038377ff2 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index b2eb21eb4..64b9e6f70 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index cc85a935b..be7b0e8a4 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index b5be3fca6..5ab75e8d7 100644 --- a/docs/open-three-d-viewer.md +++ b/docs/open-three-d-viewer.md @@ -50,4 +50,4 @@ Start-Process com.microsoft.3dviewer: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index 7c02ec68f..39c6f0e26 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index df72ca9ae..6cc34699f 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index 92b40897e..f22e784d5 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index d1275e5e2..ea173b4c6 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 235e5c715..342a4a276 100644 --- a/docs/open-vpn-settings.md +++ b/docs/open-vpn-settings.md @@ -50,4 +50,4 @@ Start-Process ms-settings:network-vpn exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index f911c96ef..036029b3c 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -50,4 +50,4 @@ Start-Process windowsdefender: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index 830953a6e..83476ac16 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -50,4 +50,4 @@ Start-Process wt.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-windy.md b/docs/open-windy.md index 4651ff971..d459899f5 100644 --- a/docs/open-windy.md +++ b/docs/open-windy.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/open-xing.md b/docs/open-xing.md index 541eed66e..918c9f6b0 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index 297152c2f..60a676d49 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/ping-host.md b/docs/ping-host.md index 4acc1b716..9fdfefb8b 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index 50edade2b..3e098ce75 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index 6c2edd038..43703830b 100644 --- a/docs/ping-local-devices.md +++ b/docs/ping-local-devices.md @@ -26,7 +26,7 @@ Example ------- ```powershell PS> ./ping-local-devices.ps1 -✅ Up: epson raspi tux +✅ Up are: epson raspi tux ``` @@ -43,12 +43,12 @@ Script Content ```powershell <# .SYNOPSIS - Pings local devices + Ping local devices .DESCRIPTION This PowerShell script pings devices in the local network and lists which one are up. .EXAMPLE PS> ./ping-local-devices.ps1 - ✅ Up: epson raspi tux + ✅ Up are: epson raspi tux .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -59,13 +59,13 @@ param([int]$timeout = 600) # ms ping timeout try { - $names = @('accesspoint','AD','AP','amnesiac','archlinux','auriga','berlin','berry','boston','brother','canon','castor','cisco','echodot','epson','epson2815','fedora','fireball','firewall','fritz.box','fritz.nas','fritz.powerline','fritz.repeater','gassensor','gateway','hippo','heizung','hodor','homemanager','io','iphone','jarvis','jenkins','LA','laptop','linux','jupiter','mars','mercury','miami','mobile','nas','none','none-1','none-2','NY','o2.lte','octo','office','officepc','paris','PI','pixel-6a','PC','pluto','printer','proxy','R2D2','raspberry','raspi','rocket','rome','router','sentinel','server','shelly','shelly1','smartphone','smartwatch','soundbar','speedport.ip','synologynas','sunnyboy','surface','switch','tablet','tau','tigercat','tolino','tux','TV','ubuntu','vega','venus','xrx','zeus') # sorted alphabetically + $names = @('accesspoint','AD','AP','amnesiac','archlinux','auriga','berlin','berry','boston','brother','canon','castor','cisco','echodot','epson','epson2815','fedora','fireball','firewall','fritz.box','fritz.nas','fritz.powerline','fritz.repeater','gassensor','gateway','hippo','heizung','hodor','homemanager','io','iphone','jarvis','jenkins','LA','laptop','linux','jupiter','mars','mercury','miami','mobile','nas','none','none-1','none-2','NY','o2.lte','octo','office','officepc','paris','PI','pixel-6a','PC','pluto','printer','proxy','R2D2','raspberry','raspi','rocket','rome','router','sentinel','server','shelly','shelly1','smartphone','smartwatch','soundbar','speedport.ip','synologynas','sunnyboy','surface','switch','tablet','tau','tigercat','tolino','tux','TV','ubuntu','vega','venus','windows','xrx','zeus') # sorted alphabetically $queue = [System.Collections.Queue]::new() foreach($name in $names) { $ping = [System.Net.Networkinformation.Ping]::new() $queue.Enqueue( @{Host=$name;Ping=$ping;Async=$ping.SendPingAsync($name,$timeout)} ) } [string]$up = "" - Write-Host "✅ Local devices: " -noNewline + Write-Host "✅ Up are: " -noNewline while($queue.Count -gt 0) { $obj = $queue.Dequeue() try { if ($obj.Async.Wait($timeout)) { if ($obj.Async.Result.Status -ne "TimedOut") { Write-Host "$($obj.Host) " -noNewline } @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index e4f9a25a3..7409076f4 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/play-ascii-video.md b/docs/play-ascii-video.md index f7566bdc1..f67c6bb57 100644 --- a/docs/play-ascii-video.md +++ b/docs/play-ascii-video.md @@ -52,4 +52,4 @@ if ($IsLinux -or $IsMacOS) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index f8fef7f82..d981362c1 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index 82b18600a..f9608bd60 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index ab5ab5070..50e150cc7 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index 6df2f79f1..54529f6ce 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/play-chess.md b/docs/play-chess.md index 257be3b0c..b06241810 100644 --- a/docs/play-chess.md +++ b/docs/play-chess.md @@ -45,8 +45,8 @@ they only appear when run in PowerShell ISE. #Update-Board must be run before Publish-Board #Draws the board to the screen and displays all the icons -Function Publish-Board { - Clear +function Publish-Board { + Clear-Host Write-Host "`n`n" Write-Host ' A B C D E F G H' Write-Host ' --------------------------------- ' @@ -110,7 +110,7 @@ Function Read-Input { } #Update the status of all the pieces and place them -Function Update-Board { +function Update-Board { #Get arrays of all piece that are still alive [Array]$CurrentWhite = $Script:WhitePieces | Where-Object {$_.Alive -eq $true} [Array]$CurrentBlack = $Script:BlackPieces | Where-Object {$_.Alive -eq $true} @@ -135,7 +135,7 @@ Function Update-Board { } #Used to move pieces on the board -Function New-Move { +function New-Move { param ([string]$src, [string]$dst) enum castleOptions { @@ -608,7 +608,7 @@ Function New-Move { } #Log logic will go here -Function Update-Log { +function Update-Log { param([string]$src, [string]$dst, [string]$piece, [bool]$attack, [int]$castle, [bool]$promote, [bool]$ep, [bool]$check, [bool]$resign) @@ -683,7 +683,7 @@ Function Update-Log { } #Try a move, used for check and castling logic -Function Test-Move { +function Test-Move { param ([string]$src, [string]$dst) [bool]$attack = $false @@ -1010,7 +1010,7 @@ Function Test-Move { } #Figure out if the game is over or still ongoing -Function Test-Gamestatus { +function Test-Gamestatus { if ($wK.Alive -eq $false) { $Script:gameStatus = [gamestatus]::blackWin } elseif ($bK.Alive -eq $false) { @@ -1018,7 +1018,7 @@ Function Test-Gamestatus { } } -Function Get-Column { +function Get-Column { param ([ValidatePattern('[A-H]')][string]$Col) switch ($Col) { "A" {Return "0"} @@ -1032,7 +1032,7 @@ Function Get-Column { } } -Function Get-Row { +function Get-Row { param ([ValidateRange(1,8)][string]$row) return ($row - 1) @@ -1260,4 +1260,4 @@ while ($Script:gameStatus -eq [gamestatus]::ongoing) { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index a2e2262d8..b722d2551 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index 39f6a7b3a..6d8916bbc 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index 070cbbbc1..76bb8b2f2 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* diff --git a/docs/play-drug-wars.md b/docs/play-drug-wars.md index a1492adc3..aa1fea9d5 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index aa265b189..21e517521 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index 2faf69bc2..b93c249cc 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-files.md b/docs/play-files.md index e75fd9a6d..f16dbcbe5 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index 1e29f6ff6..fe0586299 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index 91024ef3a..5b4d9b387 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index 63b113fa0..6974426e3 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index e26de024c..a57827ea8 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 1a2cfb675..6a998bdbf 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index c79d1cc78..779020d23 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index d87f4e527..08af16635 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index 9b264a008..c5c69db28 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index 8cf0adfb1..8fdb0d334 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index a53900c85..6351f6741 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index aa6ad54fb..ed6dadc46 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index 54a8a0988..fa6f96d9f 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index 37f653ff6..faa0ee3f4 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-pong.md b/docs/play-pong.md index 4c2a7707b..b23395863 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index 00f0154ad..aa7c4bffa 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 5623d2157..79f932e65 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -56,4 +56,4 @@ if ($IsLinux -or $IsMacOS) { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-snake.md b/docs/play-snake.md index c12c854e6..87cd63b59 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index 41509a76b..412560178 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index 873dc970d..3e73796f0 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index 61cf8fae6..fa096f3bf 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-tetris.md b/docs/play-tetris.md new file mode 100644 index 000000000..f5242467a --- /dev/null +++ b/docs/play-tetris.md @@ -0,0 +1,722 @@ +Script: *play-tetris.ps1* +======================== + +This PowerShell script let's you play the Tetris game. + +Parameters +---------- +```powershell +PS> ./play-tetris.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./play-tetris.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Play Tetris +.DESCRIPTION + This PowerShell script let's you play the Tetris game. +.EXAMPLE + PS> ./play-tetris.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +#requires -version 5.1 + +using Namespace System.Drawing +using Namespace System.Windows.Forms + +enum ShapeTypes { + Unspecified = 0 + Line = 1 + T = 2 + Square = 3 + L = 4 + LMirrored = 5 + S = 6 + SMirrored = 7 +} + +class TetrisShape { + [System.Drawing.Point]$Position + [System.Drawing.Color]$Color + [ShapeTypes]$Type = 0 + [int[, ]]$Body + + [PSCustomObject] $Moveset = [PSCustomObject] @{ + Left = $false + Right = $false + Up = $false + Down = $false + } + + [int[, ]] SetShape([ShapeTypes] $Type) { + $Coordinates = [int[, ]]::new(5, 5) + switch ([int]$Type) { + Default { + $Coordinates[2, 0] = 1 + $Coordinates[2, 1] = 1 + $Coordinates[2, 2] = 1 + $Coordinates[2, 3] = 1 + } + 2 { + $Coordinates[2, 1] = 1 + $Coordinates[2, 2] = 1 + $Coordinates[2, 3] = 1 + $Coordinates[1, 2] = 1 + } + 3 { + $Coordinates[2, 2] = 1 + $Coordinates[2, 3] = 1 + $Coordinates[3, 2] = 1 + $Coordinates[3, 3] = 1 + } + 4 { + $Coordinates[1, 2] = 1 + $Coordinates[1, 3] = 1 + $Coordinates[2, 2] = 1 + $Coordinates[3, 2] = 1 + } + 5 { + $Coordinates[1, 1] = 1 + $Coordinates[1, 2] = 1 + $Coordinates[2, 2] = 1 + $Coordinates[3, 2] = 1 + } + 6 { + $Coordinates[1, 2] = 1 + $Coordinates[2, 1] = 1 + $Coordinates[2, 2] = 1 + $Coordinates[3, 1] = 1 + } + 7 { + $Coordinates[1, 2] = 1 + $Coordinates[2, 2] = 1 + $Coordinates[2, 3] = 1 + $Coordinates[3, 3] = 1 + } + } + return $Coordinates + } + + [bool] IsColliding([int[, ]] $Body, [int[, ]] $Table, [System.Drawing.Point] $Position) { + for ($Y = 0; $Y -le $Body.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $Body.GetUpperBound(0); $X++) { + if ($Table[($Position.X + $X), ($Position.Y + $Y)] -and $Body[$X, $Y]) { + return $true + } + } + } + return $false + } + + [void] Move([System.Drawing.Point] $PositionChange, [int[, ]] $TableCoordinates) { + $PositionChange = [System.Drawing.Point]::new( + ($this.Position.X + $PositionChange.X), + ($this.Position.X + $PositionChange.Y) + ) + + if (!$this.IsColliding($this.Body, $TableCoordinates, $PositionChange)) { + $this.Position = $PositionChange + } + } + + [void] Rotate([bool] $Reverse, [int[, ]] $TableCoordinates) { + if ($this.Type -ne [ShapeTypes]::Square) { + [int[, ]] $RotatedBody = [int[, ]]::new(($this.Body.GetUpperBound(1) + 1), ($this.Body.GetUpperBound(1) + 1)) + + for ($Y = 0; $Y -lt ($this.Body.GetUpperBound(1) + 1); ++$Y) { + for ($X = 0; $X -lt ($this.Body.GetUpperBound(1) + 1); ++$X) { + if ($Reverse) { + $RotatedBody[$Y, $X] = $this.Body[$X, (($this.Body.GetUpperBound(1) + 1) - $Y - 1)] + } + else { + $RotatedBody[$Y, $X] = $this.Body[(($this.Body.GetUpperBound(1) + 1) - $X - 1), $Y] + } + } + } + if (!$this.IsColliding($RotatedBody, $TableCoordinates, $this.Position)) { + $this.Body = $RotatedBody + } + } + } + + [void] PrintBody() { + [console]::WriteLine( + ('Type: {0}, Color: {1}: Left: {2}, Right: {3} Position: {4}, {5}' -f + $this.Type, $this.Color.Name, + $this.Moveset.Left, $this.Moveset.Right, + $this.Position.X, $this.Position.Y + ) + ) + + ForEach ($Y in 0 .. $this.Body.GetUpperBound(1)) { + [console]::WriteLine( + ( + ( + 0 .. $this.Body.GetUpperBound(0) | ForEach-Object { + $this.Body[$_, $Y] + } + ) -join '-' -replace '0', '-' + ) + ) + } + } + + TetrisShape([ShapeTypes] $ShapeName) { + $this.Color = [System.Drawing.Color]::FromArgb(255, (Get-Random (1 .. 255)), (Get-Random (1 .. 255)), (Get-Random (1 .. 255))) + $this.Type = $ShapeName + $this.Body = $this.SetShape([int]$ShapeName) + } +} + +class TetrisBoard { + [bool] $Debug = $false + [int32] $BlockSize + [int32] $Width + [int32] $Height + [int[, ]] $Coordinates + [TetrisShape] $NextShape + [TetrisShape] $ActiveShape + [PSCustomObject] $Background = [PSCustomObject] @{ + Burn = $false + Color = [System.Drawing.Color]::FromArgb(255, 135, 206, 235) + Min = 200 + Max = 254 + } + + [void] Kill() { + if ($null -ne $this.ActiveShape) { + for ($Y = 0; $Y -le $this.ActiveShape.Body.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $this.ActiveShape.Body.GetUpperBound(0); $X++) { + if ($this.ActiveShape.Body[$X, $Y]) { + Try { + $this.Coordinates[($this.ActiveShape.Position.X + ($X)), ($this.ActiveShape.Position.Y + $Y)] = 1 + } + Catch { } + } + } + } + $this.ActiveShape = $null + } + } + + [bool] LostGame() { + # If the next shape collides with a deadblock - player lost + if ($null -ne $this.NextShape) { + return $this.NextShape.IsColliding($this.NextShape.Body, $this.Coordinates, $this.NextShape.Position) + } + else { + return $false + } + } + + [void] UpdateBoard() { + # Check for any lines to be removed, or if player has fucked up enough + } + + [void] UpdateMoveset() { + if ($null -ne $this.ActiveShape) { + # Enable movement to each direction + $this.ActiveShape.Moveset.Left = $true + $this.ActiveShape.Moveset.Right = $true + $this.ActiveShape.Moveset.Down = $true + for ($Y = 0; $Y -le $this.ActiveShape.Body.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $this.ActiveShape.Body.GetUpperBound(0); $X++) { + if ($this.ActiveShape.Body[$X, $Y]) { + if ( + # If the left side of the block is blocked, or is out of bounds + $this.Coordinates[($this.ActiveShape.Position.X + ($X - 1)), ($this.ActiveShape.Position.Y + $Y)] -or + $this.RelativePoint($X, $Y, $this.ActiveShape).X -lt $this.BlockSize + ) { + $this.ActiveShape.Moveset.Left = $false + } + if ( + # If the right side of the block is blocked, or is out of bounds + $this.Coordinates[($this.ActiveShape.Position.X + ($X + 1)), ($this.ActiveShape.Position.Y + $Y)] -or + $this.RelativePoint($X, $Y, $this.ActiveShape).X -ge (($this.Width * $this.BlockSize) - $this.BlockSize) + ) { + $this.ActiveShape.Moveset.Right = $false + } + if ( + # If the block below is dead, or is out of bounds (Debug mode, invincible execpt oob) + ( + !$this.Debug -and + $this.Coordinates[($this.ActiveShape.Position.X + $X), ($this.ActiveShape.Position.Y + ($Y + 1))] + ) -or + $this.RelativePoint($X, $Y, $this.ActiveShape).Y -ge (($this.Height * $this.BlockSize) - $this.BlockSize) + ) { + $this.ActiveShape.Moveset.Down = $false + } + } + } + } + + } + } + + [void] NewShape() { + if ($null -ne $this.NextShape) { + if ($null -eq $this.ActiveShape) { + $this.ActiveShape = $this.NextShape + $this.NextShape = [TetrisShape]::new((Get-Random (1 .. 7))) + $this.NextShape.Position = [System.Drawing.Point]::new((Get-Random (1 .. ($this.Width - ($this.NextShape.Body.GetUpperBound(0) + 1)))), 0) + } + } + else { + $this.NextShape = [TetrisShape]::new((Get-Random (1 .. 7))) + $this.NextShape.Position = [System.Drawing.Point]::new((Get-Random (1 .. ($this.Width - ($this.NextShape.Body.GetUpperBound(0) + 1)))), 0) + } + } + + [System.Drawing.Point] RelativePoint([int]$X, [int]$Y, [TetrisShape] $Shape) { + return [System.Drawing.Point]::new( + (($Shape.Position.X * $this.BlockSize) + ($X * $this.BlockSize)), + (($Shape.Position.Y * $this.BlockSize) + ($Y * $this.BlockSize)) + ) + } + + [void] AddLines([int] $Lines) { + 1 .. $Lines | ForEach-Object { + #Write-Host 'Starting adding a new line' + ForEach ($Y in 1 .. $this.Coordinates.GetUpperBound(1)) { + #Write-Host ('Loop Y:{0}/{1}' -f $Y, $this.Coordinates.GetUpperBound(1)) + 0 .. $this.Coordinates.GetUpperBound(0) | ForEach-Object { + #Write-Host ('Column X:{0}/{1} Y:{2} = X:{3}/{4} Y:{5}' -f $_, $this.Coordinates.GetUpperBound(0), ($Y - 1), $_, $this.Coordinates.GetUpperBound(0), $Y) + $this.Coordinates[$_, ($Y - 1)] = $this.Coordinates[$_, $Y] + } + } + 0 .. $this.Coordinates.GetUpperBound(0) | ForEach-Object { + #Write-Host ('Set: {0},{1} = 1' -f $_, $this.Coordinates.GetUpperBound(1)) + $this.Coordinates[$_, $this.Coordinates.GetUpperBound(1)] = Get-Random (0 .. 1) + } + } + } + + [void] ClearLines() { + ForEach ($Y in $this.Coordinates.GetUpperBound(1) .. 0) { + if (!( -join (0 .. $this.Coordinates.GetUpperBound(0) | ForEach-Object { $this.Coordinates[$_, $Y] })).Contains('0')) { + # Reset top row + 0 .. $this.Coordinates.GetUpperBound(0) | ForEach-Object { $this.Coordinates[$_, 0] = 0 } + # Loop, from current full row -> row 1 and set currentrow to the one above + ForEach ($TempY in $Y .. 1) { + 0 .. $this.Coordinates.GetUpperBound(0) | ForEach-Object { + $this.Coordinates[$_, $TempY] = $this.Coordinates[$_, ($TempY - 1)] + } + } + } + } + } + + [void] PrintBoard() { + for ($Y = 0; $Y -le $this.Coordinates.GetUpperBound(1); $Y++) { + [console]::WriteLine( + ( + ( + 0 .. $this.Coordinates.GetUpperBound(0) | ForEach-Object { + $this.Coordinates[$_, $Y] + } + ) -join '-' -replace '0', '-' + ) + ) + } + } + + [System.Drawing.Image] DrawImage() { + $Buffer = [System.Drawing.Bitmap]::new($this.Width * $this.BlockSize, $this.Height * $this.BlockSize) + $Graphics = [System.Drawing.Graphics]::FromImage($Buffer) + # Fill buffer with a white background + $Graphics.FillRectangle( + [System.Drawing.SolidBrush]::new($this.Background.Color), + [System.Drawing.Rectangle]::new(0, 0, $Buffer.Width, $Buffer.Height) + ) + + if ( + ($this.Background.Burn -and $this.Background.Color.B -ge $this.Background.Max) -or + (!$this.Background.Burn -and $this.Background.Color.B -lt $this.Background.Min) + ) { + $this.Background.Burn = !$this.Background.Burn + } + if ($this.Background.Burn) { + $this.Background.Color = [System.Drawing.Color]::FromArgb(255, $this.Background.Color.R, $this.Background.Color.G, ($this.Background.Color.B + 1)) + } + else { + $this.Background.Color = [System.Drawing.Color]::FromArgb(255, $this.Background.Color.R, $this.Background.Color.G, ($this.Background.Color.B - 1)) + } + if ($null -ne $this.NextShape) { + # Draw NextShape + for ($Y = 0; $Y -le $this.NextShape.Body.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $this.NextShape.Body.GetUpperBound(0); $X++) { + if ($this.NextShape.Body[$X, $Y]) { + # If this part of the shape body is solid, draw it on the table + $Graphics.FillRectangle( + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::FromArgb(255, ($this.Background.Color.R - 60), ($this.Background.Color.G - 60), ($this.Background.Color.B - 60))), + [System.Drawing.Rectangle]::new( + $this.RelativePoint($X, $Y, $this.NextShape).X, $this.RelativePoint($X, $Y, $this.NextShape).Y, + $this.BlockSize, $this.BlockSize + ) + ) + $Graphics.FillRectangle( + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::FromArgb(255, ($this.Background.Color.R - 30), ($this.Background.Color.G - 30), ($this.Background.Color.B - 30))), + [System.Drawing.Rectangle]::new( + $this.RelativePoint($X, $Y, $this.NextShape).X, $this.RelativePoint($X, $Y, $this.NextShape).Y, + $this.BlockSize - 2, $this.BlockSize - 2 + ) + ) + } + } + } + } + + if ($null -ne $this.ActiveShape) { + # Draw ActiveShape + for ($Y = 0; $Y -le $this.ActiveShape.Body.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $this.ActiveShape.Body.GetUpperBound(0); $X++) { + if ($this.ActiveShape.Body[$X, $Y]) { + # If this part of the shape body is solid, draw it on the table + $Graphics.FillRectangle( + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::Gray), + [System.Drawing.Rectangle]::new( + $this.RelativePoint($X, $Y, $this.ActiveShape).X, $this.RelativePoint($X, $Y, $this.ActiveShape).Y, + $this.BlockSize, $this.BlockSize + ) + ) + $Graphics.FillRectangle( + [System.Drawing.SolidBrush]::new($this.ActiveShape.Color), + [System.Drawing.Rectangle]::new( + $this.RelativePoint($X, $Y, $this.ActiveShape).X, $this.RelativePoint($X, $Y, $this.ActiveShape).Y, + $this.BlockSize - 2, $this.BlockSize - 2 + ) + ) + } + } + } + } + + # Draw DeadBlocks + for ($Y = 0; $Y -le $this.Coordinates.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $this.Coordinates.GetUpperBound(0); $X++) { + if ($this.Coordinates[$X, $Y]) { + # Draw a Gray outline + $Graphics.FillRectangle( + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::Gray), + [System.Drawing.Rectangle]::new( + $X * $this.BlockSize, $Y * $this.BlockSize, + $this.BlockSize, $this.BlockSize + ) + ) + # Fill rest of the rectangle to give 3d block effect + $Graphics.FillRectangle( + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::Silver), + [System.Drawing.Rectangle]::new( + $X * $this.BlockSize, $Y * $this.BlockSize, + $this.BlockSize - 2, $this.BlockSize - 2 + ) + ) + } + } + } + + if ($this.Debug) { + for ($Y = 0; $Y -le $this.Coordinates.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $this.Coordinates.GetUpperBound(0); $X++) { + if ($this.Coordinates[$X, $Y]) { + } + } + } + for ($Y = 0; $Y -le $this.ActiveShape.Body.GetUpperBound(1); $Y++) { + for ($X = 0; $X -le $this.ActiveShape.Body.GetUpperBound(0); $X++) { + if ( + $this.Coordinates[($this.ActiveShape.Position.X + $X), ($this.ActiveShape.Position.Y + $Y)] -and + $this.ActiveShape.Body[$X, $Y] + ) { + $Graphics.DrawString( + ('{0},{1}: {2}' -f + ($this.ActiveShape.Position.X + $X), + ($this.ActiveShape.Position.Y + $Y), + $this.Coordinates[($this.ActiveShape.Position.X + $X), ($this.ActiveShape.Position.Y + $Y)] + ), + [System.Drawing.Font]::new('Segoe UI', 8, [System.Drawing.FontStyle]::Regular), + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::Red), + $this.RelativePoint($X, $Y, $this.ActiveShape).X, $this.RelativePoint($X, $Y, $this.ActiveShape).Y + ) + } + } + } + # Draws the ActiveShape Body (5x5 dimensions) + $Graphics.DrawRectangle( + [System.Drawing.Pen]::new($this.ActiveShape.Color, 1), + [System.Drawing.Rectangle]::new( + ($this.ActiveShape.Position.X * $this.BlockSize), ($this.ActiveShape.Position.Y * $this.BlockSize), + (($this.ActiveShape.Body.GetUpperBound(0) + 1) * $this.BlockSize) , (($this.ActiveShape.Body.GetUpperBound(1) + 1) * $this.BlockSize) + ) + ) + # Draws coordinate of the middle body + $Graphics.DrawString( ('Type: {0}' -f $this.ActiveShape.Type ), + [System.Drawing.Font]::new('Segoe UI', 8, [System.Drawing.FontStyle]::Regular), + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::Red), + 1, 0 * $this.BlockSize + ) + $Graphics.DrawString( ('Color: {0}' -f $this.ActiveShape.Color.Name ), + [System.Drawing.Font]::new('Segoe UI', 8, [System.Drawing.FontStyle]::Regular), + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::Red), + 1, 1 * $this.BlockSize + ) + $Graphics.DrawString( ('Left: {0}, Right: {1}, Down: {2}' -f $this.ActiveShape.Moveset.Left, $this.ActiveShape.Moveset.Right, $this.ActiveShape.Moveset.Down ), + [System.Drawing.Font]::new('Segoe UI', 8, [System.Drawing.FontStyle]::Regular), + [System.Drawing.SolidBrush]::new([System.Drawing.Color]::Red), + 1, 2 * $this.BlockSize + ) + } + $Graphics.Dispose() + return $Buffer + } + + TetrisBoard($Width, $Height, $BlockSize) { + $this.Coordinates = [int[, ]]::new($Width, $Height) + $this.BlockSize = $BlockSize + $this.Width = $Width + $this.Height = $Height + # Generate random rubble at start + $this.AddLines(4) + } +} + +$engine = [Hashtable]::Synchronized(@{}) +$engine.Settings = @{ + Block = @{ + Size = 30 + } + Board = @{ + Width = 11 + Height = 21 + } + SpeedMs = 300 + CurrentSpeedMs = 300 + LoopTime = 100 +} +$engine.TetrisBoard = [TetrisBoard]::new($engine.Settings.Board.Width, $engine.Settings.Board.Height, $engine.Settings.Block.Size) +$engine.NextFall = [Datetime]::Now.AddMilliseconds($engine.Settings.CurrentSpeedMs) + +$PowerShell = [PowerShell]::Create() +$PowerShell.Runspace = [RunSpaceFactory]::CreateRunspace() +$PowerShell.Runspace.Open() +$PowerShell.Runspace.SessionStateProxy.setVariable('Engine', $engine) +$IAsyncResult = $PowerShell.AddScript( { + [void] [System.Reflection.Assembly]::LoadWithPartialName('System.Drawing') + [void] [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms') + [System.Windows.Forms.Application]::EnableVisualStyles() + $engine.Form = [System.Windows.Forms.Form] @{ + Text = 'PowerShell Tetris' + ClientSize = [System.Drawing.Size]::new( + ($engine.Settings.Block.Size * $engine.Settings.Board.Width), + ($engine.Settings.Block.Size * $engine.Settings.Board.Height) + ) + Font = [System.Drawing.Font]::new('Segoe UI', 8.25, [System.Drawing.FontStyle]::Regular) + FormBorderStyle = [System.Windows.Forms.FormBorderStyle]::Fixed3D + KeyPreview = $true + MaximizeBox = $false + } + $engine.PictureBox = [System.Windows.Forms.PictureBox] @{ + Dock = [System.Windows.Forms.DockStyle]::Fill + SizeMode = [System.Windows.Forms.PictureBoxSizeMode]::StretchImage + } + $engine.PictureBox.Add_MouseClick( + { + Param( + $Object, + [System.Windows.Forms.MouseEventArgs] $MouseEventArgs + ) + $engine.InstantiateBlock = [System.Drawing.Point]::new( + ($MouseEventArgs.X - ($MouseEventArgs.X % $engine.Settings.Block.Size)) / $engine.Settings.Block.Size, + ($MouseEventArgs.Y - ($MouseEventArgs.Y % $engine.Settings.Block.Size)) / $engine.Settings.Block.Size + ) + } + ) + $engine.Form.Add_KeyUp( { + Param( + $Object, + [System.Windows.Forms.KeyEventArgs] $Key + ) + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::Space) { + $engine.Settings.CurrentSpeedMs = $engine.Settings.SpeedMs + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::Enter) { + $engine.SwitchShape = $true + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::X -and $engine.TetrisBoard.Debug) { + $engine.AddLines = Get-Random (1 .. 4) + } + } + ) + $engine.Form.Add_KeyDown( { + Param( + $Object, + [System.Windows.Forms.KeyEventArgs] $Key + ) + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::Space) { + $engine.Settings.CurrentSpeedMs = $engine.Settings.SpeedMs / 4 + } + if ($engine.TetrisBoard.Debug) { + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::K) { + $engine.TetrisBoard.Kill() + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::NumPad8) { + $engine.TetrisBoard.ActiveShape.Position = [System.Drawing.Point]::new( + $engine.TetrisBoard.ActiveShape.Position.X, + $engine.TetrisBoard.ActiveShape.Position.Y - 1 + ) + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::NumPad4) { + $engine.TetrisBoard.ActiveShape.Position = [System.Drawing.Point]::new( + $engine.TetrisBoard.ActiveShape.Position.X - 1, + $engine.TetrisBoard.ActiveShape.Position.Y + ) + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::NumPad6) { + $engine.TetrisBoard.ActiveShape.Position = [System.Drawing.Point]::new( + $engine.TetrisBoard.ActiveShape.Position.X + 1, + $engine.TetrisBoard.ActiveShape.Position.Y + ) + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::NumPad2) { + $engine.TetrisBoard.ActiveShape.Position = [System.Drawing.Point]::new( + $engine.TetrisBoard.ActiveShape.Position.X, + $engine.TetrisBoard.ActiveShape.Position.Y + 1 + ) + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::NumPad7) { + $engine.TetrisBoard.ActiveShape.Rotate($false) + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::NumPad9) { + $engine.TetrisBoard.ActiveShape.Rotate($true) + } + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::P) { + $engine.Debug = $true + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::Left) { + $engine.XMove = [System.Drawing.Point]::new(-1, 0) + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::Right) { + $engine.XMove = [System.Drawing.Point]::new(1, 0) + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::Up) { + $engine.Rotate = $true + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::Down) { + $engine.Rotate = $false + } + if ($Key.KeyCode -eq [System.Windows.Forms.Keys]::R) { + $engine.Renew = $true + } + } + ) + $engine.Form.Controls.Add($engine.PictureBox) + $engine.Form.Add_Resize( { if ($engine.Dispose) { $engine.Form.Close() } } ) + $engine.Form.Add_Load( { $engine.Form.Activate() }) + $engine.Form.ShowDialog() + $engine.Form.Dispose() + } +).BeginInvoke() + +while (-not $IAsyncResult.IsCompleted) { + if ($null -ne $engine.PictureBox) { + $time = Measure-Command { + if ($null -ne $engine.AddLines -and $engine.TetrisBoard.Debug) { + Write-Host ('Adding {0} lines' -f $engine.AddLines) + $engine.TetrisBoard.AddLines($engine.AddLines) + $engine.AddLines = $null + } + if ($null -ne $engine.SwitchShape -and $null -ne $engine.TetrisBoard.ActiveShape -and $null -ne $engine.TetrisBoard.NextShape) { + $TempShape = $engine.TetrisBoard.ActiveShape + $engine.TetrisBoard.ActiveShape = $engine.TetrisBoard.NextShape + $engine.TetrisBoard.NextShape = $TempShape + $TempShape = $null + $engine.SwitchShape = $null + } + if ($null -ne $engine.InstantiateBlock -and $engine.TetrisBoard.Debug) { + $engine.TetrisBoard.Coordinates[$engine.InstantiateBlock.X, $engine.InstantiateBlock.Y] = !$engine.TetrisBoard.Coordinates[$engine.InstantiateBlock.X, $engine.InstantiateBlock.Y] + $engine.InstantiateBlock = $null + } + if ($null -ne $engine.XMove) { + $engine.TetrisBoard.UpdateMoveset() + if ( + ($engine.XMove.X -gt 0 -and $engine.TetrisBoard.ActiveShape.Moveset.Right) -or + ($engine.XMove.X -lt 0 -and $engine.TetrisBoard.ActiveShape.Moveset.Left) + ) { + $engine.TetrisBoard.ActiveShape.Position = [System.Drawing.Point]::new( + ($engine.TetrisBoard.ActiveShape.Position.X + $engine.XMove.X), + $engine.TetrisBoard.ActiveShape.Position.Y + $engine.XMove.Y + ) + } + $engine.XMove = $null + } + if ($null -ne $engine.Debug) { + $engine.TetrisBoard.Debug = !$engine.TetrisBoard.Debug + $engine.Debug = $null + } + if ($null -ne $engine.Renew) { + $engine.TetrisBoard.ActiveShape = $null + $engine.Renew = $null + } + if ($null -ne $engine.Rotate -and $null -ne $engine.TetrisBoard.ActiveShape) { + $engine.TetrisBoard.UpdateMoveset() + $engine.TetrisBoard.ActiveShape.Rotate($engine.Rotate, $engine.TetrisBoard.Coordinates) + $engine.Rotate = $null + } + + if ([Datetime]::Now -ge $engine.NextFall -and $null -ne $engine.TetrisBoard.ActiveShape) { + $engine.TetrisBoard.UpdateMoveset() + if ($engine.TetrisBoard.ActiveShape.Moveset.Down) { + $engine.TetrisBoard.ActiveShape.Position = [System.Drawing.Point]::new( + ($engine.TetrisBoard.ActiveShape.Position.X), + $engine.TetrisBoard.ActiveShape.Position.Y + 1 + ) + } + else { + $engine.TetrisBoard.Kill() + } + $engine.NextFall = [Datetime]::Now.AddMilliseconds($engine.Settings.CurrentSpeedMs) + } + if ($engine.TetrisBoard.LostGame()) { + $engine.TetrisBoard = [TetrisBoard]::new($engine.Settings.Board.Width, $engine.Settings.Board.Height, $engine.Settings.Block.Size) + } + if ($null -eq $engine.TetrisBoard.ActiveShape) { + $engine.TetrisBoard.NewShape() + } + $engine.TetrisBoard.UpdateMoveset() + $engine.TetrisBoard.ClearLines() + $engine.PictureBox.Image = $engine.TetrisBoard.DrawImage() + } + if ($time.TotalMilliseconds -lt $engine.Settings.LoopTime) { + [System.Threading.Thread]::Sleep(($engine.Settings.LoopTime - $time.TotalMilliseconds)) + } + } +} +``` + +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index 56c8b2464..394e7e13a 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index 6009cc99b..9a8899f8c 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/poweroff.md b/docs/poweroff.md index bc1743793..725efeff9 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/print-image.md b/docs/print-image.md index 25ee24d2d..d79874e81 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index abafa38a1..270d8d7e1 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index 2530f0066..67ddb22f3 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index 55624c0cc..954a43cbc 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -95,10 +95,10 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($numFailed -eq 0) { - "✅ Pulled into $numFolders Git repos at 📂$parentDir in $($elapsed)s." + "✅ Pulled updates into $numFolders Git repos at 📂$parentDir in $($elapsed)s." exit 0 # success } else { - "⚠️ Pulled into $numFolders Git repos at 📂$parentDir but $numFailed failed (took $($elapsed)s)!" + "⚠️ Pulled updates into $numFolders Git repos at 📂$parentDir but $numFailed failed (took $($elapsed)s)!" exit 1 } } catch { @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index f8ef888ef..cc25f4a08 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index d4b5874a6..8bc7f3678 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/reboot-into-bios.md b/docs/reboot-into-bios.md index 174ca770a..c56b77c86 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/reboot.md b/docs/reboot.md index bd1382c4f..727424699 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/remember.md b/docs/remember.md index 58e109220..04bf4d952 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/remind-me.md b/docs/remind-me.md index 2bb906413..ad889c8f0 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/remove-dir.md b/docs/remove-dir.md index 64a3b806b..5fa27325a 100644 --- a/docs/remove-dir.md +++ b/docs/remove-dir.md @@ -28,8 +28,8 @@ Example ------- ```powershell PS> ./remove-dir.ps1 C:\Temp -⏳ Removing directory 'C:\Temp', please wait..." -✅ Directory C:\Temp\ removed (took 9s). +⏳ Removing directory 'C:\Temp', please wait... +✅ Removed 'C:\Temp\' in 9s. ``` @@ -54,8 +54,8 @@ Script Content Specifies the file path to the directory tree .EXAMPLE PS> ./remove-dir.ps1 C:\Temp - ⏳ Removing directory 'C:\Temp', please wait..." - ✅ Directory C:\Temp\ removed (took 9s). + ⏳ Removing directory 'C:\Temp', please wait... + ✅ Removed 'C:\Temp\' in 9s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -70,12 +70,12 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() if (!(Test-Path "$pathToDir" -pathType container)) { throw "Cannot access directory '$pathToDir'" } - "⏳ Removing directory '$pathToDir', please wait..." + "⏳ Removing directory '$pathToDir' ..." Remove-Item -force -recurse -confirm:$false $pathToDir if ($lastExitCode -ne 0) { throw "'Remove-Item' failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Directory $pathToDir removed (took $($elapsed)s)." + "✅ Removed '$pathToDir' in $($elapsed)s." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index 585689dbd..1f2063e8c 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index 90191d4cf..8c99a1656 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 8d2ef902c..5edca6c1d 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index 06c42939d..b4ec5567f 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/remove-user.md b/docs/remove-user.md index 5d698fb02..19c1678c1 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index 092d4bb2a..eff8d648e 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index 6be36f4f4..b06bb6349 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index 82c1ea325..fcf3334dc 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index feff92863..cd5b6949c 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index cde1c0c84..946f54dd8 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 725e1f323..00af59925 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index cf3bd3618..0b0581194 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/scan-network.md b/docs/scan-network.md index b4c9bc4b0..ea15ea7ca 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index e9c7edf70..3ce96b63d 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/search-filename.md b/docs/search-filename.md index 5bf5f54e2..46a5afe15 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/search-files.md b/docs/search-files.md index 514601ac3..7e43d186b 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/search-repo.md b/docs/search-repo.md index b4b83227b..2ad41fe15 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/send-email.md b/docs/send-email.md index 14b0478e9..b8404ed7f 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -126,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index 2aa183cd3..cec588509 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/send-udp.md b/docs/send-udp.md index e2db82c41..7b522c88c 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/set-timer.md b/docs/set-timer.md index 760a97ef1..12d3b0bd9 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/set-volume.md b/docs/set-volume.md index b97320989..0ce7b5453 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index 6539b6979..5b51d0fcf 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index 9242e693c..4db2fb8ac 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index e7dacb0e8..4243e31c9 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 08/25/2025 16:51:28)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/show-notification.md b/docs/show-notification.md index 453916608..424b89653 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index 56c52fb69..dd13279d8 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index 55c0c5911..62bbd7ac7 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index fa972ac94..1b079696f 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -142,4 +142,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 1e39a8b52..4a0f8b6f1 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index 35456562b..809f999f2 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index 4a67385b1..1ac4ab04f 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index 28552824b..7544bf4ca 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index efdccc63d..dfc3be9e5 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index b17102a15..f031a43a7 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-english.md b/docs/speak-english.md index cc9a1c300..7e956a22b 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index 820ca0cd0..d6aa52df6 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -142,4 +142,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index 79feac431..d16703231 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-file.md b/docs/speak-file.md index 953d73219..8d29e8ef6 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index 0b4430467..8d89cc0b0 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-french.md b/docs/speak-french.md index c504511ba..0fe3ff033 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-german.md b/docs/speak-german.md index 9dc0622b5..3e658f4cb 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index 54aa6241c..ba37b0b44 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index 00460d32d..1298d3cdb 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index 0c7b2778e..08d0bd691 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index f5c9eae44..e9a9036be 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index 3b1df0827..e0b0e8f3b 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index 7b50cf685..3ce0d749e 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index 93e5f7e77..e51b10ef3 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index bb5052aad..c9a2e2c3e 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 5287a415e..1ad5e63c3 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index eec346ddb..922a4e20f 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index 8ee337cda..d7217a8bf 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index 7eceba966..c1536089a 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index f4af91adf..496a8381c 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index 7c594896a..43c649699 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-test.md b/docs/speak-test.md index 34d89f931..e24c6488c 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-text.md b/docs/speak-text.md index 286be227b..68b10445e 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index 8150e7b0d..d9f9b6eb0 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index fceaf8e37..7d6d43c80 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index 9da48e99f..aaf7371ed 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/spell-word.md b/docs/spell-word.md index 983453633..959d284da 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index 12e24e3c3..1bb3f039f 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/suspend.md b/docs/suspend.md index c97b92e20..eb2182430 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index a2e1cacb9..3d7337bdd 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -128,4 +128,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index 379a4d545..f6bc162fc 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index 55fabaae4..a5adc7065 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -28,7 +28,7 @@ Example ```powershell PS> ./switch-tabs.ps1 ⏳ Switching from tab to tab automatically every 10 seconds... - (click the Web browser to activate it - press here to stop it) +💡 Hint: click the Web browser to activate it. Press here to stop it. ``` @@ -53,7 +53,7 @@ Script Content .EXAMPLE PS> ./switch-tabs.ps1 ⏳ Switching from tab to tab automatically every 10 seconds... - (click the Web browser to activate it - press here to stop it) + 💡 Hint: click the Web browser to activate it. Press here to stop it. .NOTES Author: Markus Fleschutz / License: CC0 .LINK @@ -64,7 +64,7 @@ param([int]$timeInterval = 10) # in seconds try { Write-Host "⏳ Switching from tab to tab automatically every $timeInterval seconds..." - Write-Host " (click the Web browser to activate it - press here to stop it)" + Write-Host "💡 Hint: click the Web browser to activate it. Press here to stop it." $obj = New-Object -com wscript.shell while ($true) { $obj.SendKeys("^{PGDN}") @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/sync-dir.md b/docs/sync-dir.md index 310c1509b..206677a8a 100644 --- a/docs/sync-dir.md +++ b/docs/sync-dir.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index c1ce6c393..bbcb44088 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index a5404d193..6d47d0ac4 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index cbb868dcb..997cb19fc 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index 4023862b6..b35c2df9c 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index 59e2fb78e..2ad99ca17 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index 4fc64ec64..2b17fe25f 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index f59a6ed60..c604aceb0 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/touch.md b/docs/touch.md index 996af9153..11d3bd28f 100644 --- a/docs/touch.md +++ b/docs/touch.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/translate-file.md b/docs/translate-file.md index 1225e5a74..ea68162bd 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/translate-files.md b/docs/translate-files.md index 287c8122b..a412d64e5 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/translate-text.md b/docs/translate-text.md index 0f837c65f..5fe752669 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index b6da7ab2e..1c3aca771 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index 1b79ff1b6..c02eccc46 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index 1adedcd37..8b7415f6f 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index 30d357ced..a075e398e 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index c38f797eb..6e3551509 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index ac7e223e4..ef276a42e 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index 662bf661f..d0db67437 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/uninstall-new-outlook.md b/docs/uninstall-new-outlook.md index 2940a0a05..42624228b 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/uninstall-outlook.md b/docs/uninstall-outlook.md index afd60e0b2..0a6103b9a 100644 --- a/docs/uninstall-outlook.md +++ b/docs/uninstall-outlook.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index 0e168e014..7b7888e0c 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index 8078f16f4..516e30c6e 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -45,41 +45,49 @@ Script Content #> try { + "⏳ (1/4) Checking requirements..." + & "$PSScriptRoot/check-power.ps1" + & "$PSScriptRoot/check-smart-devices.ps1" + if ($IsLinux -or $IsMacOS) { + & "$PSScriptRoot/check-drive-space.ps1" / + } else { + & "$PSScriptRoot/check-drive-space.ps1" C + } + & "$PSScriptRoot/check-swap-space.ps1" + "NOTE: It's strongly recommended to backup your data BEFORE the upgrade!" + $confirm = Read-Host "Press to continue..." "" - "⏳ (1/4) Perform a backup!" - "It's strongly recommended to backup your data BEFORE the upgrade!" - $Confirm = Read-Host "Press to continue..." - - "" - "⏳ (2/4) Install update-manager-core, Upgrade Packages & Reboot" - $Confirm = Read-Host "Enter to perform this step (otherwise it will be skipped)" - if ($Confirm -eq "yes") { + "⏳ (2/4) Upgrade installed packages, then reboot" + $confirm = Read-Host "Enter to perform this step (otherwise it will be skipped)" + if ($confirm -eq "yes") { sudo apt install update-manager-core + "⏳ Updating..." sudo apt update sudo apt list --upgradable + "⏳ Upgrading..." sudo apt upgrade + "⏳ Rebooting..." sudo reboot } - "" "⏳ (3/4) Remove obsolete kernel modules" - $Confirm = Read-Host "Enter to perform this step (otherwise it will be skipped)" - if ($Confirm -eq "yes") { + $confirm = Read-Host "Enter to perform this step (otherwise it will be skipped)" + if ($confirm -eq "yes") { sudo apt --purge autoremove } - "" - "⏳ (4/4) Upgrade Ubuntu & reboot" - $Confirm = Read-Host "Enter to upgrade to latest LTS release, to upgrade to latest Ubuntu release (otherwise this step will be skipped)" - if ($Confirm -eq "LTS") { + "⏳ (4/4) Upgrade Ubuntu OS, then reboot" + $confirm = Read-Host "Enter to upgrade to latest LTS release, to upgrade to latest Ubuntu release (otherwise this step will be skipped)" + if ($confirm -eq "LTS") { sudo do-release-upgrade + "⏳ Rebooting..." sudo reboot - } elseif ($Confirm -eq "latest") { + } elseif ($confirm -eq "latest") { sudo do-release-upgrade -d + "⏳ Rebooting..." sudo reboot } - - "✅ Done." + "✅ Update done." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" @@ -87,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/upload-file.md b/docs/upload-file.md index a74ae72ec..0f45a5c2e 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -149,4 +149,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index fc0a180e2..b81c5ba4d 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index 8d515340e..5adba6641 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/wake-up-human.md b/docs/wake-up-human.md index 3a166d578..df66bbdc6 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index 74b686745..5b54cf00a 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/watch-crypto-rates.md b/docs/watch-crypto-rates.md index 5a35a76d3..ad33c6d52 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/watch-file.md b/docs/watch-file.md index a5f47d82f..99f6bd171 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/watch-host.md b/docs/watch-host.md index 2acfd2677..abdcc2f93 100644 --- a/docs/watch-host.md +++ b/docs/watch-host.md @@ -147,4 +147,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/watch-news.md b/docs/watch-news.md index 5b03a66c9..2ff1c6beb 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -123,4 +123,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index 62fd2da54..47ef02a81 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -137,4 +137,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/weather-report.md b/docs/weather-report.md index 8f7b12f7c..c5779d8e6 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/weather.md b/docs/weather.md index ce6934d55..e3944cc9c 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/what-is.md b/docs/what-is.md index 21f03bd65..afdd73137 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/windefender.md b/docs/windefender.md index 6b4a1294c..410adba12 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -82,4 +82,4 @@ break } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-animated.md b/docs/write-animated.md index efd85ffc6..17239226a 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index d6e11f36a..a239f6ef8 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-big.md b/docs/write-big.md index 641b62cbe..14e7cad89 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -472,4 +472,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-blue.md b/docs/write-blue.md index 1c4c0b942..e065f77ab 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-braille.md b/docs/write-braille.md index ab8fad067..c843fc45c 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -409,4 +409,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-centered.md b/docs/write-centered.md index b191dfc06..6419e41c2 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index 5788244d1..f4d2d0ac1 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-chart.md b/docs/write-chart.md index 448299338..71b7774dc 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-clock.md b/docs/write-clock.md index 4aa65a89a..0d5670a34 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-code.md b/docs/write-code.md index 6ee9a9a45..9fa62e431 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-credits.md b/docs/write-credits.md index 6b49ed98a..4bbde7181 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-date.md b/docs/write-date.md index e9196bab0..29ae551a6 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index c8cb1b01a..4684ac344 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-generated-story.md b/docs/write-generated-story.md new file mode 100644 index 000000000..1df51205b --- /dev/null +++ b/docs/write-generated-story.md @@ -0,0 +1,65 @@ +Script: *write-generated-story.ps1* +======================== + +write-generated-story.ps1 + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Writes a generated story +.DESCRIPTION + This PowerShell script writes a story generated by rules and randomness to the console output. +.EXAMPLE + PS> ./write-generated-story.ps1 + The angry Ron hits the road. + ... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +function GetAdverb { + return "angry","clever","colorful","cool","funny","glad","happy","hot","late","lazy","loud","lovely","nice","poor","rich","romantic","selfish","shy","silent","slow","smart","violent" | Get-Random +} + +function GetSubject { + return "airport","Amy","baby","Ben","Bob","brothers","car","cat","Dick","dog","earth","Eva","fox","guy","jet","Joe","Jon","kids","Leo","Max","man","moon","movies","parents","people","Peter","plane","Pope","Ron","Sam","sisters","sun","Tim","Tom","woman" | Get-Random +} + +function GetVerb { + return "beats","broadcasts","catches","goes to","hits","listens to","loves","talks to","walks to","welcomes" | Get-Random +} + +function GetObject { + return "a ball","a house","a sheep","a table","a vase","god","the church","the road","the tea","the woods","Lisa","Mary" | Get-Random +} + +function GetSentence { + return "The $(GetAdverb) $(GetSubject) $(GetVerb) $(GetObject)." +} + + +"" +" A Funny Story" +" -------------" +"" +" Generated by a script with rules & randomness." +"" +while ($true) { & "$PSScriptRoot/write-typewriter.ps1" $(GetSentence) 20 } +``` + +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-green.md b/docs/write-green.md index d71e9b171..8945ae93f 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index 1f7902c2d..9d6cde73c 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-headline.md b/docs/write-headline.md index e6fc12264..231771107 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* diff --git a/docs/write-help.md b/docs/write-help.md index 0b46ab9bf..720e1008a 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -69,4 +69,4 @@ White "████████████████████████ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index b916c9e2c..4fe56d267 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-joke.md b/docs/write-joke.md index dcf7c147f..70e0dab4b 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-location.md b/docs/write-location.md index 012b2660b..4cb4f9227 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index e5009da24..ec3a65200 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index fee112c5e..8be2d74fb 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index a56b7aede..8493c09bb 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-moon.md b/docs/write-moon.md index 025a2225e..b1941e142 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index f619a46c3..f71e98946 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-motd.md b/docs/write-motd.md index 0a56b7f80..25e6ad8d1 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-pi.md b/docs/write-pi.md index 501d1ccdc..85dc556df 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-progress-bar.md b/docs/write-progress-bar.md index b5397895e..a4ad759b1 100644 --- a/docs/write-progress-bar.md +++ b/docs/write-progress-bar.md @@ -55,4 +55,4 @@ for ([int]$i = 0; $i -lt 150; $i++) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index d535480c0..26e956c33 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-quote.md b/docs/write-quote.md index e3b4f65ab..6692d9d36 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -17,8 +17,6 @@ Example ------- ```powershell PS> ./write-quote.ps1 -“ We must become the change we want to see. „ - - Mahatma Gandhi ``` @@ -40,8 +38,6 @@ Script Content This PowerShell script selects a random quote from .../data/quotes.csv and writes it to the console. .EXAMPLE PS> ./write-quote.ps1 - “ We must become the change we want to see. „ - - Mahatma Gandhi .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -57,8 +53,33 @@ try { $author = $table[$row].AUTHOR $spaces = " " $spaces = $spaces.Substring(0, $quote.Length - $author.Length) - - Write-Host "`n"'“'"$quote"'„'"" -foregroundColor Green + "" + "" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣤⠤⠐⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡌⡦⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⣼⡊⢀⠔⠀⠀⣄⠤⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣤⣄⣀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣶⠃⠉⠡⡠⠤⠊⠀⠠⣀⣀⡠⠔⠒⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣾⣿⢟⠿⠛⠛⠁" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⡇⠀⠀⠀⠀⠑⠶⠖⠊⠁⠀⠀⠀⡀⠀⠀⠀⢀⣠⣤⣤⡀⠀⠀⠀⠀⠀⢀⣠⣤⣶⣿⣿⠟⡱⠁⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⣾⣿⡇⠀⢀⡠⠀⠀⠀⠈⠑⢦⣄⣀⣀⣽⣦⣤⣾⣿⠿⠿⠿⣿⡆⠀⠀⢀⠺⣿⣿⣿⣿⡿⠁⡰⠁⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣾⣿⣿⣧⣠⠊⣠⣶⣾⣿⣿⣶⣶⣿⣿⠿⠛⢿⣿⣫⢕⡠⢥⣈⠀⠙⠀⠰⣷⣿⣿⣿⡿⠋⢀⠜⠁⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⢿⣿⣿⣿⣿⣰⣿⣿⠿⣛⡛⢛⣿⣿⣟⢅⠀⠀⢿⣿⠕⢺⣿⡇⠩⠓⠂⢀⠛⠛⠋⢁⣠⠞⠁⠀⠀⠀⠀⠀⠀⠀⠀" + "⠘⢶⡶⢶⣶⣦⣤⣤⣤⣤⣤⣀⣀⣀⣀⡀⠀⠘⣿⣿⣿⠟⠁⡡⣒⣬⢭⢠⠝⢿⡡⠂⠀⠈⠻⣯⣖⣒⣺⡭⠂⢀⠈⣶⣶⣾⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠙⠳⣌⡛⢿⣿⣿⣿⣿⣿⣿⣿⣿⣻⣵⣨⣿⣿⡏⢀⠪⠎⠙⠿⣋⠴⡃⢸⣷⣤⣶⡾⠋⠈⠻⣶⣶⣶⣷⣶⣷⣿⣟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠈⠛⢦⣌⡙⠛⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡀⠀⠀⠩⠭⡭⠴⠊⢀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣿⣿⣿⣿⣿⡇⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠈⠙⠓⠦⣄⡉⠛⠛⠻⢿⣿⣿⣿⣷⡀⠀⠀⠀⠀⢀⣰⠋⠀⠀⠀⠀⠀⣀⣰⠤⣳⣿⣿⣿⣿⣟⠑⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠓⠒⠒⠶⢺⣿⣿⣿⣿⣦⣄⣀⣴⣿⣯⣤⣔⠒⠚⣒⣉⣉⣴⣾⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠹⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣭⣉⣉⣤⣿⣿⣿⣿⣿⣿⡿⢀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⡁⡆⠙⢶⣀⠀⢀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣴⣶⣾⣿⣟⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⢛⣩⣴⣿⠇⡇⠸⡆⠙⢷⣄⠻⣿⣦⡄⠀⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⣿⣿⣿⣿⣿⣿⣿⣎⢻⣿⣿⣿⣿⣿⣿⣿⣭⣭⣭⣵⣶⣾⣿⣿⣿⠟⢰⢣⠀⠈⠀⠀⠙⢷⡎⠙⣿⣦⠀⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⣿⣿⣿⣿⣿⣿⣿⣿⡟⣿⡆⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠟⠛⠋⠁⢀⠇⢸⡇⠀⠀⠀⠀⠈⠁⠀⢸⣿⡆⠀⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡜⡿⡘⣿⣿⣿⣿⣿⣶⣶⣤⣤⣤⣤⣤⣤⣤⣴⡎⠖⢹⡇⠀⠀⠀⠀⠀⠀⠀⠀⣿⣷⡄⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀⠘⢿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠛⠋⡟⠀⠀⣸⣷⣀⣤⣀⣀⣀⣤⣤⣾⣿⣿⣿⠀⠀⠀" + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣭⣓⡲⠬⢭⣙⡛⠿⣿⣿⣶⣦⣀⠀⡜⠀⠀⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀" + "" + "" + Write-Host ""'“'"$quote"'„'"" -foregroundColor Green Write-Host "$spaces- $author" -foregroundColor Blue exit 0 # success } catch { @@ -67,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-red.md b/docs/write-red.md index 296c64007..a3dc00232 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 08/25/2025 16:51:29)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index 2f3c9091b..c8982c21e 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-shit.md b/docs/write-shit.md index 3e97981ef..a3b0b0c1f 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 08/25/2025 16:51:30)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index 91475b32d..b473d6cc9 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 08/25/2025 16:51:30)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-skull.md b/docs/write-skull.md index d0b9945a8..4612fb82f 100644 --- a/docs/write-skull.md +++ b/docs/write-skull.md @@ -36,15 +36,15 @@ Script Content #requires -version 5.1 function WriteLine([string]$line) { - Write-Host $line -foregroundColor black -backgroundColor white + Write-Host $line -foregroundColor black -backgroundColor red } Clear-Host -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" +WriteLine "" +WriteLine "" +WriteLine "" +WriteLine "" +WriteLine "" WriteLine "███████▀▀▀░░░░░░░▀▀▀███████" WriteLine "████▀░░░░░░░░░░░░░░░░░▀████" WriteLine "███│░░░░░░░░░░░░░░░░░░░│███" @@ -62,12 +62,12 @@ WriteLine "████▌░░░▀┬┼┼┼┼┼┼┼┬▀░░░▐ WriteLine "█████▄░░░└┴┴┴┴┴┴┴┘░░░▄█████" WriteLine "███████▄░░░░░░░░░░░▄███████" WriteLine "██████████▄▄▄▄▄▄▄██████████" -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" -WriteLine "███████████████████████████" +WriteLine "" +WriteLine "" +WriteLine "" +WriteLine "" +WriteLine "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-story.md b/docs/write-story.md index f2f323aa2..3763dd4cf 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 08/25/2025 16:51:30)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-time.md b/docs/write-time.md index 8e1e513af..b8867829a 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index 5b0f7bb98..39018ad62 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index 4d29db9a7..83029e8a3 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 08/25/2025 16:51:30)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-value.md b/docs/write-value.md index 3ed36432d..93a7432d0 100644 --- a/docs/write-value.md +++ b/docs/write-value.md @@ -170,4 +170,4 @@ Write-Host "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index 0dd27026d..e7bd8181c 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 08/25/2025 16:51:30)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md index d0cecef45..9c0ea74d8 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 08/25/2025 16:51:30)* +*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* From a15fe494eac459047af541449283ea575e6e5d8e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 17 Oct 2025 17:16:27 +0200 Subject: [PATCH 487/737] Updated locate-city.ps1 --- scripts/locate-city.ps1 | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/scripts/locate-city.ps1 b/scripts/locate-city.ps1 index ca35220ab..e30cc5215 100755 --- a/scripts/locate-city.ps1 +++ b/scripts/locate-city.ps1 @@ -1,14 +1,14 @@ <# .SYNOPSIS - Prints the geographic location of a city + Shows the geographic location of a city .DESCRIPTION - This PowerShell script prints the geographic location of the given city. + This PowerShell script shows the geographic location of the given city. .PARAMETER city - Specifies the name of the city to look for + Specifies the name of the city (ask the user if not given) .EXAMPLE PS> ./locate-city.ps1 Amsterdam - * Amsterdam (United States, New York, population 21241) is at 42.9420°N, -74.1907°W - * Amsterdam (Netherlands, Noord-Holland, population 1031000) is at 52.3500°N, 4.9166°W + 📍Amsterdam in New York (United States) with population 21241 is at 42.9420°N, -74.1907°W. + 📍Amsterdam in Noord-Holland (Netherlands) with population 1031000 is at 52.3500°N, 4.9166°W. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,20 +22,21 @@ try { Write-Progress "Reading data/worldcities.csv..." $table = Import-CSV "$PSScriptRoot/../data/worldcities.csv" - - $foundOne = 0 + $foundOne = $false foreach($row in $table) { if ($row.city -eq $city) { - $foundOne = 1 + $foundOne = $true $country = $row.country $region = $row.admin_name $lat = $row.lat - $long = $row.lng + $lng = $row.lng + if ($lat -lt 0.0) { $latText = "$(-$lat)°S" } else { $latText = "$lat°N" } + if ($lng -lt 0.0) { $lngText = "$(-$lng)°E" } else { $lngText = "$lng°W" } $population = $row.population - Write-Host "* $city ($country, $region, population $population) is at $lat°N, $long°W" + "📍$city in $region ($country) with population $population is at $latText, $lngText." } } - if (-not $foundOne) { throw "No city '$city' found in database" } + if (-not $foundOne) { throw "There's no city '$city' in the database" } exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" From 81ebb1201fbaf93f51df0a0616397ccb0c78fdb2 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 20 Oct 2025 11:07:00 +0200 Subject: [PATCH 488/737] Updated general.csv --- data/dicts/general.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/data/dicts/general.csv b/data/dicts/general.csv index 56e522af3..66d3d8611 100644 --- a/data/dicts/general.csv +++ b/data/dicts/general.csv @@ -506,6 +506,7 @@ B2B,Business to Business B2C,Business to Consumer B2G,Business to Government B2E,Business to Employee +BAFO,Best And Final Offer BAR,"Barbados (IOC trigram,but not FIFA or ISO 3166),British American Racing,Browning Automatic Rifle,Buy-American Restrictions,BARD , Binational Agricultural Research and Development fund (between the US and Israel),BARDA , Biomedical Advanced Research and Development Agency,BART , Bay Area Rapid Transit,BAS , Battalion Aid Station,BASE , Building,Antenna,Span,Earth (parachute from),BASF , Badische Anilin und Soda Fabrik (Baden Aniline and Soda Factory,a German chemicals company),BASIC , Beginner's All-purpose Symbolic Instruction Code (acronym was added later,originally it was simply Basic),BAT , Basic Aid Training,BATF , U.S. Bureau of Alcohol,Tobacco,and Firearms,BATS , Behavior Analysis Training System ,Bradley Advanced Training System,BATTeRS , Bisei Asteroid Tracking Telescope for Rapid Survey,BB[edit]" BB,"Barbados (ISO 3166 digram),Boys' Brigade (Christian youth organization),Brigitte Bardot (actress),Bumblebee" BBB,"Better Business Bureau,Blood-brain barrier" From f9150e47a61c67c6feecfd609a89ea02e64cf309 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 23 Oct 2025 19:22:47 +0200 Subject: [PATCH 489/737] Improved install-powershell.ps1 --- scripts/install-powershell.ps1 | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/scripts/install-powershell.ps1 b/scripts/install-powershell.ps1 index 66d7fea91..9403ab657 100755 --- a/scripts/install-powershell.ps1 +++ b/scripts/install-powershell.ps1 @@ -253,13 +253,14 @@ function Add-PathTToSettings { $Key.SetValue("PATH", $NewPathValue, $PathValueKind) } +Write-Host "⏳ (1/6) Querying platform... " -noNewline if ($IsLinux) { - $platform = (uname -i) + $platform = (uname -m) if ($platform -eq "x86_64") { $architecture = "x64" } elseif ($platform -eq "x86_32") { $architecture = "x86" } elseif ($platform -eq "aarch64") { $architecture = "arm64" } elseif ($platform -eq "aarch32") { $architecture = "arm32" } - else { Write-Host "Unknown platform $platform" } + else { Write-Host "Unknown platform '$platform'" } } elseif (-not $IsWinEnv) { $architecture = "x64" } elseif ($(Get-ComputerInfo -Property OsArchitecture).OsArchitecture -eq "ARM 64-bit Processor") { @@ -271,6 +272,7 @@ if ($IsLinux) { default { throw "PowerShell package for OS architecture '$_' is not supported." } } } +Write-Host "$architecture" $tempDir = Join-Path ([System.IO.Path]::GetTempPath()) ([System.IO.Path]::GetRandomFileName()) $null = New-Item -ItemType Directory -Path $tempDir -Force -ErrorAction SilentlyContinue try { @@ -357,7 +359,7 @@ try { tar zxf $packagePath -C $contentPath } } else { - Write-Host "⏳ (1/5) Querying infos from https://raw.githubusercontent.com ..." + Write-Host "⏳ (2/6) Querying infos from https://raw.githubusercontent.com ..." $metadata = Invoke-RestMethod https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/metadata.json if ($Preview) { $release = $metadata.PreviewReleaseTag -replace '^v' @@ -383,7 +385,7 @@ try { Write-Host " Latest release is $release for $architecture (package name: $packageName)" $downloadURL = "https://github.com/PowerShell/PowerShell/releases/download/v${release}/${packageName}" - Write-Host "⏳ (2/5) Loading $downloadURL" + Write-Host "⏳ (3/6) Loading $downloadURL" $packagePath = Join-Path -Path $tempDir -ChildPath $packageName if (!$PSVersionTable.ContainsKey('PSEdition') -or $PSVersionTable.PSEdition -eq "Desktop") { @@ -426,13 +428,13 @@ try { Expand-ArchiveInternal -Path $packagePath -DestinationPath $contentPath } } else { - Write-Host "⏳ (3/5) Extracting to $contentPath..." + Write-Host "⏳ (4/6) Extracting to $contentPath..." & tar zxf $packagePath -C $contentPath } } if (-not $UseMSI) { - Write-Host "⏳ (4/5) Removing old installation at $Destination ..." + Write-Host "⏳ (5/6) Removing old installation at $Destination ..." if ($IsLinuxEnv) { & sudo rm -rf "$Destination" } else { @@ -440,18 +442,18 @@ try { } if (Test-Path $Destination) { - Write-Host "⏳ (5/5) Copying files to $Destination... " + Write-Host "⏳ (6/6) Copying files to $Destination... " # only copy files as folders will already exist at $Destination Get-ChildItem -Recurse -Path "$contentPath" -File | ForEach-Object { $DestinationFilePath = Join-Path $Destination $_.fullname.replace($contentPath, "") Copy-Item $_.fullname -Destination $DestinationFilePath } } elseif ($IsWinEnv) { - Write-Host "⏳ (5/5) Moving new installation to $Destination... " + Write-Host "⏳ (6/6) Moving new installation to $Destination... " $null = New-Item -Path (Split-Path -Path $Destination -Parent) -ItemType Directory -ErrorAction SilentlyContinue Move-Item -Path $contentPath -Destination $Destination } else { - Write-Host "⏳ (5/5) Moving new installation to $Destination... " + Write-Host "⏳ (6/6) Moving new installation to $Destination... " & sudo mv "$contentPath" "$Destination" } } From dc01d1100281e33929844446ed7a15470e280bdf Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 27 Oct 2025 09:55:11 +0100 Subject: [PATCH 490/737] Updated watch-news.ps1 --- scripts/watch-news.ps1 | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/scripts/watch-news.ps1 b/scripts/watch-news.ps1 index 2f891140e..fd25c561a 100755 --- a/scripts/watch-news.ps1 +++ b/scripts/watch-news.ps1 @@ -4,16 +4,14 @@ .DESCRIPTION This PowerShell script continuously lists the latest headlines by using a RSS (Really Simple Syndication) feed. .PARAMETER URL - Specifies the URL to the RSS feed (Yahoo World News by default) -.PARAMETER lines - Specifies the initial number of headlines -.PARAMETER timeInterval - Specifies the time interval in seconds between two Web requests (60 seconds by default) + Specifies the URL to the RSS feed (default: https://news.yahoo.com/rss/world) +.PARAMETER updateInterval + Specifies the update interval in seconds (default: 60 seconds) .EXAMPLE PS> ./watch-news.ps1 - UTC HEADLINES (source: https://www.yahoo.com/news/world) - --- --------- + TIME NEWS (source: https://www.yahoo.com/news/world, UTC times) + ---- ---- 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria ... .LINK @@ -22,9 +20,9 @@ Author: Markus Fleschutz | License: CC0 #> -param([string]$URL = "https://news.yahoo.com/rss/world", [int]$timeInterval = 60) # in seconds +param([string]$URL = "https://news.yahoo.com/rss/world", [int]$updateInterval = 60) # in seconds -function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp, [string]$icon) { +function PrintNewerHeadlines([xml]$content, [string]$latestTimestamp, [string]$icon) { $items = $content.rss.channel.item [array]::Reverse($items) $newLatest = $latestTimestamp @@ -34,7 +32,6 @@ function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp, [string]$ $title = $item.title -replace "â","'" $time = $pubDate.Substring(11, 5) Write-Host "$time $title$icon" - Start-Sleep -milliseconds 500 if ($pubDate -gt $newLatest) { $newLatest = $pubDate } } return $newLatest @@ -42,19 +39,18 @@ function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp, [string]$ try { [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content - $title = $content.rss.channel.title.toUpper() - $link = $content.rss.channel.link - Write-Host "`n UTC HEADLINES (source: " -noNewline - Write-Host $link -foregroundColor blue -noNewline - Write-Host ")" - Write-Host " --- ---------" + $webLink = $content.rss.channel.link + Write-Host "`nTIME NEWS (source: " -noNewline + Write-Host $webLink -foregroundColor blue -noNewline + Write-Host ", UTC times)" + Write-Host "---- ----" $latestTimestamp = "2000-01-01" $icon = "" do { - $latestTimestamp = PrintLatestHeadlines $content $latestTimestamp $icon - $icon = "🆕" - Start-Sleep -seconds $timeInterval + $latestTimestamp = PrintNewerHeadlines $content $latestTimestamp $icon + Start-Sleep -seconds $updateInterval [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content + $icon = "🆕" } while ($true) exit 0 # success } catch { From 23fa5c7821d9b68c7e30e9e54f3b30f03a0e7475 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 27 Oct 2025 10:37:10 +0100 Subject: [PATCH 491/737] Updated my-profile.ps1 and write-help.ps1 --- scripts/my-profile.ps1 | 2 +- scripts/write-help.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/my-profile.ps1 b/scripts/my-profile.ps1 index f48353037..a1a201988 100755 --- a/scripts/my-profile.ps1 +++ b/scripts/my-profile.ps1 @@ -5,7 +5,7 @@ if ($IsLinux) { $username = $(whoami) } else { $username = $env:USERNAME } $host.ui.RawUI.WindowTitle = "$username @ $(hostname)" # GREETING -Write-Host "✨ Welcome $username to $(hostname) - type 'FAQ' for help." -foregroundColor green +Write-Host "✨ Welcome to $(hostname)'s PowerShell prompt - type 'FAQ' for help." -foregroundColor green # PROMPT function prompt { Write-Host "`n➤ " -noNewline -foregroundColor yellow; return " " } diff --git a/scripts/write-help.ps1 b/scripts/write-help.ps1 index 33e43fa40..26d03811c 100755 --- a/scripts/write-help.ps1 +++ b/scripts/write-help.ps1 @@ -39,7 +39,7 @@ White "████▀▄▄█▀█▄██ ▀ ▄▄▀ █▄█▀ ▀ White "█████ ▄▄█▄▄▀▄ ▀▄▀ ▄▄ ▀ ▀▀▀ ▀▄▄█▀████`n" White "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████ Cheat sheet: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md`n" White "████ ████▄▄ ▄█▄▄▄██ ▀ ▀▀▀▀▄ █▀████`n" -White "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████ 500+ sample scripts: "; Blue "https://github.com/fleschutz/PowerShell`n" +White "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████ Sample scripts: "; Blue "https://github.com/fleschutz/PowerShell`n" White "████▄█▄███▄▄▀▄▄▄▀ ▄▄ ▄▀▄ ▄▄▄ ▀ ████`n" White "████ ▄▄▄▄▄ █▄▄▄█▀█▄ ██ █▄█ ▄▄█▀████ Donate: "; Blue "https://www.paypal.com/paypalme/Fleschutz`n" White "████ █ █ █ ▀▄█▄ ▄▄ ▀█ ▄▄▄▄▀ ████`n" From 5883b038ffdcae56c7cf43babc926572c5b6631f Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 27 Oct 2025 19:48:10 +0100 Subject: [PATCH 492/737] Updated update-powershell-profile.ps1 --- scripts/update-powershell-profile.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/update-powershell-profile.ps1 b/scripts/update-powershell-profile.ps1 index 3cf88d450..a060436e5 100755 --- a/scripts/update-powershell-profile.ps1 +++ b/scripts/update-powershell-profile.ps1 @@ -9,7 +9,7 @@ PS> ./update-powershell-profile.ps1 ⏳ (1/2) Querying path to PowerShell profile 'CurrentUserCurrentHost'... ⏳ (2/2) Copying my-profile.ps1 to /home/Markus/.config/powershell/Microsoft.PowerShell_profile.ps1... - ✅ Updated your PowerShell profile, it get's active on next login. + ✅ PowerShell profile updated - it get's active on next login. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -27,7 +27,7 @@ try { $null = New-Item -Path $pathToProfile -ItemType "file" -Force Copy-Item "$path" "$pathToProfile" -force - "✅ Updated your PowerShell profile, it get's active on next login." + "✅ PowerShell profile updated - it get's active on next login." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" From 39adca4e262326a2dd01a533b6a6963ee11d782b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 28 Oct 2025 14:54:56 +0100 Subject: [PATCH 493/737] Updated new-ssh-key.ps1 --- scripts/new-ssh-key.ps1 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/new-ssh-key.ps1 b/scripts/new-ssh-key.ps1 index eb45627ef..a53ca4840 100755 --- a/scripts/new-ssh-key.ps1 +++ b/scripts/new-ssh-key.ps1 @@ -1,16 +1,16 @@ <# .SYNOPSIS - Creates a new SSH key + Create a new SSH key .DESCRIPTION - This PowerShell script creates a new SSH key for the user. + This PowerShell script creates a new personal SSH key for the user (needed for remote login, Git, etc.). .EXAMPLE - PS> ./new-ssh-key.ps1 - ✅ New SSH key of Ed25519 type saved to ~/.ssh - your public key is: - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILb8s5zU9YDApGQ82H45fMKVPMr5cw9fzh3PEBjZZ+Rm markus@PI + PS> ./new-ssh-key.ps1 + ✅ Your new SSH key has been saved to ~/.ssh (Ed25519 type). The public key is: + ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILb8s5zU9YDApGQ82H45fMKVPMr5cw9fzh3PEBjZZ+Rm markus@PI .LINK - https://github.com/fleschutz/PowerShell + https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz | License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { @@ -19,14 +19,14 @@ try { if (Test-Path "~/.ssh/id_ed25519.pub") { $publicKey = Get-Content "~/.ssh/id_ed25519.pub" - $enc = "Ed25519" + $type = "Ed25519" } elseif (Test-Path "~/.ssh/id_rsa.pub") { $publicKey = Get-Content "~/.ssh/id_rsa.pub" - $enc = "RSA" + $type = "RSA" } else { throw "No public key found." } - "✅ New SSH key of $enc type saved to ~/.ssh - your public key is:" + "✅ Your new SSH key has been saved to ~/.ssh ($type type). The public key is:" " $publicKey" exit 0 # success } catch { From 01fa4ff2dc417f6c8af54c569295d41e9255d4b2 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 28 Oct 2025 15:05:09 +0100 Subject: [PATCH 494/737] Updated cd-ssh.ps1 --- scripts/cd-ssh.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cd-ssh.ps1 b/scripts/cd-ssh.ps1 index adf70cbba..e94a1b04f 100755 --- a/scripts/cd-ssh.ps1 +++ b/scripts/cd-ssh.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes 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 entered, has 4 files. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,7 +22,7 @@ try { $path = Resolve-Path "$path" Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - "📂$path entered (has $($files.Count) files)" + "📂$path entered, has $($files.Count) files." exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" From 48218a50cd9b8e1e71c5f9eea3ec9e167de09353 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 29 Oct 2025 07:48:46 +0100 Subject: [PATCH 495/737] Updated cd-crashdumps.ps1 --- scripts/cd-crashdumps.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cd-crashdumps.ps1 b/scripts/cd-crashdumps.ps1 index 681e4081b..e1fd30510 100755 --- a/scripts/cd-crashdumps.ps1 +++ b/scripts/cd-crashdumps.ps1 @@ -5,7 +5,7 @@ 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.ps1 - 📂C:\Users\Markus\AppData\Local\CrashDumps entered (has 3 files) + 📂C:\Users\Markus\AppData\Local\CrashDumps entered, has 3 files. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -25,7 +25,7 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - "📂$path entered (has $($files.Count) files)" + "📂$path entered, has $($files.Count) files." exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" From 38e14b075b174d477243ba7285623887e959cb5a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 29 Oct 2025 07:55:37 +0100 Subject: [PATCH 496/737] Updated list-network-shares.ps1 --- scripts/list-network-shares.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/list-network-shares.ps1 b/scripts/list-network-shares.ps1 index 632057ed9..baf2b97cf 100755 --- a/scripts/list-network-shares.ps1 +++ b/scripts/list-network-shares.ps1 @@ -1,11 +1,11 @@ <# .SYNOPSIS - Lists the network shares + List network shares .DESCRIPTION This PowerShell script lists all network shares (aka "shared folders") of the local computer. .EXAMPLE PS> ./list-network-shares.ps1 - ✅ Shared folder \\LAPTOP\Public -> D:\Public ("File transfer folder") + ✅ Folder D:\Public shared as: \\LAPTOP\Public ('File transfer folder') .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -19,9 +19,9 @@ try { $shares = Get-WmiObject win32_share | where {$_.name -NotLike "*$"} foreach ($share in $shares) { if ($share.Description -eq "") { - Write-Host "✅ Shared folder \\$(hostname)\$($share.Name) -> $($share.Path)" + Write-Host "✅ Folder $($share.Path) shared as: \\$(hostname)\$($share.Name)" } else { - Write-Host "✅ Shared folder \\$(hostname)\$($share.Name) -> $($share.Path) (`"$($share.Description)`")" + Write-Host "✅ Folder $($share.Path) shared as: \\$(hostname)\$($share.Name) ('$($share.Description)')" } } } From 8fd94e0669417ff0566186cbf75503f5297df9db Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 29 Oct 2025 08:07:28 +0100 Subject: [PATCH 497/737] Updated check-os.ps1 --- scripts/check-os.ps1 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/check-os.ps1 b/scripts/check-os.ps1 index ed3041630..0a230e8a9 100755 --- a/scripts/check-os.ps1 +++ b/scripts/check-os.ps1 @@ -1,8 +1,8 @@ <# .SYNOPSIS - Checks the OS status + Check the OS status .DESCRIPTION - This PowerShell script queries the operating system status and prints it. + This PowerShell script queries the operating system status and writes it to the console. .EXAMPLE PS> ./check-os.ps1 ✅ Windows 10 Pro 64-bit since 6/22/2021 (v10.0.19045, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P) @@ -14,9 +14,10 @@ try { if ($IsLinux) { - $Name = $PSVersionTable.OS - if ([System.Environment]::Is64BitOperatingSystem) { $Arch = "64-bit" } else { $Arch = "32-bit" } - Write-Host "✅ $Name (Linux $Arch)" + $name = $PSVersionTable.OS + $kernel = (uname --kernel-release) + $architecture = (uname --machine) + Write-Host "✅ $name (Linux kernel $kernel on $architecture)" } else { $OS = Get-WmiObject -class Win32_OperatingSystem $Name = $OS.Caption -Replace "Microsoft Windows","Windows" From b5ef9341ca5cae34984ea1b45dac54673803e3cc Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 30 Oct 2025 07:14:28 +0100 Subject: [PATCH 498/737] Updated list-repos.ps1 --- scripts/list-repos.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/list-repos.ps1 b/scripts/list-repos.ps1 index 367df9ebf..7d8baa227 100755 --- a/scripts/list-repos.ps1 +++ b/scripts/list-repos.ps1 @@ -8,9 +8,9 @@ .EXAMPLE PS> ./list-repos.ps1 C:\MyRepos - REPOSITORY LATEST TAG BRANCH REMOTE URL STATUS - ---------- ---------- ------ ---------- ------ - 📂cmake v3.30.2 master https://github.com/Kitware/CMake ↓0 ✅clean + REPOSITORY LATEST TAG BRANCH REMOTE URL STATUS + ---------- ---------- ------ ---------- ------ + 📂cmake v3.30.2 master https://github.com/Kitware/CMake ✅clean ↓0 ... .LINK https://github.com/fleschutz/PowerShell @@ -36,7 +36,7 @@ function ListRepos { $status = (git -C "$dir" status --short) if ("$status" -eq "") { $status = "✅clean" } elseif ("$status" -like " M *") { $status = "⚠️changed" } - New-Object PSObject -property @{'REPOSITORY'="📂$dirName";'LATEST TAG'="$latestTag";'BRANCH'="$branch";'REMOTE URL'="$remoteURL ↓$numCommits";'STATUS'="$status"} + New-Object PSObject -property @{'REPOSITORY'="📂$dirName";'LATEST TAG'="$latestTag";'BRANCH'="$branch";'REMOTE URL'="$remoteURL";'STATUS'="$status ↓$numCommits"} } } @@ -46,7 +46,7 @@ try { $null = (git --version) if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } - ListRepos | Format-Table -property @{e='REPOSITORY';width=19},@{e='LATEST TAG';width=16},@{e='BRANCH';width=19},@{e='REMOTE URL';width=50},@{e='STATUS';width=10} + ListRepos | Format-Table -property @{e='REPOSITORY';width=19},@{e='LATEST TAG';width=16},@{e='BRANCH';width=17},@{e='REMOTE URL';width=48},@{e='STATUS';width=14} exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" From 0199d94444f732253d6b6fc1c80210b520a9e964 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 1 Nov 2025 11:25:17 +0100 Subject: [PATCH 499/737] Renamed to new-passwords.ps1, new-pins.ps1, and new-story.ps1 --- scripts/list-pins.ps1 | 40 ------------------ .../{list-passwords.ps1 => new-passwords.ps1} | 15 +++---- scripts/new-pins.ps1 | 41 +++++++++++++++++++ ...rite-generated-story.ps1 => new-story.ps1} | 6 +-- 4 files changed, 52 insertions(+), 50 deletions(-) delete mode 100755 scripts/list-pins.ps1 rename scripts/{list-passwords.ps1 => new-passwords.ps1} (71%) create mode 100755 scripts/new-pins.ps1 rename scripts/{write-generated-story.ps1 => new-story.ps1} (85%) diff --git a/scripts/list-pins.ps1 b/scripts/list-pins.ps1 deleted file mode 100755 index cf766d023..000000000 --- a/scripts/list-pins.ps1 +++ /dev/null @@ -1,40 +0,0 @@ -<# -.SYNOPSIS - Lists random PIN's -.DESCRIPTION - This PowerShell script lists random PIN's. -.PARAMETER PinLength - Specifies the PIN length -.PARAMETER Columns - Specifies the number of columns -.PARAMETER Rows - Specifies the number of rows -.EXAMPLE - PS> ./list-pins.ps1 -.LINK - https://github.com/fleschutz/PowerShell -.NOTES - Author: Markus Fleschutz | License: CC0 -#> - -param([int]$PinLength = 5, [int]$Columns = 12, [int]$Rows = 30) - -try { - write-output "" - $Generator = New-Object System.Random - for ($j = 0; $j -lt $Rows; $j++) { - $Line = "" - for ($k = 0; $k -lt $Columns; $k++) { - for ($i = 0; $i -lt $PinLength; $i++) { - $Line += [char]$Generator.next(48,57) - } - $Line += " " - } - write-output $Line - } - write-output "" - exit 0 # success -} catch { - "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" - exit 1 -} diff --git a/scripts/list-passwords.ps1 b/scripts/new-passwords.ps1 similarity index 71% rename from scripts/list-passwords.ps1 rename to scripts/new-passwords.ps1 index 2e0589817..cf7247ed8 100755 --- a/scripts/list-passwords.ps1 +++ b/scripts/new-passwords.ps1 @@ -1,17 +1,18 @@ <# .SYNOPSIS - List secure passwords + Generates new passwords .DESCRIPTION - This PowerShell script writes a list of secure passwords to the console (for the user to select one). - NOTE: The new NIST and CISA recommendation of 2024 for very strong passwords is at least 16 characters. + This PowerShell script generates a table of secure passwords and writes them to the console (for + the user to select one). + NOTE: The NIST and CISA recommendation of 2024 for very strong passwords is at least 16 characters! .PARAMETER passwordLength - Specifies the length of the password (16 by default) + Specifies the length of the password (default: 16) .PARAMETER columns - Specifies the number of columns (6 by default) + Specifies the number of columns (default: 6) .PARAMETER rows - Specifies the number of rows (27 by default) + Specifies the number of rows (default: 27) .EXAMPLE - PS> ./list-passwords.ps1 + PS> ./new-passwords.ps1 P6zYR't)/TrfEMJa %.]wrp@&w;`Z`Fv$ =q8},Bvn/)Moqg ;Kz|I[tG$t"3kj6x <. ./new-pins.ps1 + 18055 42534 12845 68646 21478 22841 80575 38416 21424 42627 + ... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([int]$pinLength = 5, [int]$columns = 15, [int]$rows = 27) + +try { + $generator = New-Object System.Random + for ($i = 0; $i -lt $rows; $i++) { + $line = "" + for ($j = 0; $j -lt $columns; $j++) { + for ($k = 0; $k -lt $pinLength; $k++) { + $line += [char]$generator.next(48,57) # 48='0', 57='9' + } + $line += " " + } + Write-Output $line + } + exit 0 # success +} catch { + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + exit 1 +} diff --git a/scripts/write-generated-story.ps1 b/scripts/new-story.ps1 similarity index 85% rename from scripts/write-generated-story.ps1 rename to scripts/new-story.ps1 index 0cd144c34..6ed9fcbb9 100755 --- a/scripts/write-generated-story.ps1 +++ b/scripts/new-story.ps1 @@ -1,10 +1,10 @@ <# .SYNOPSIS - Writes a generated story + Generates a new story .DESCRIPTION - This PowerShell script writes a story generated by rules and randomness to the console output. + This PowerShell script generates a new story by rules and randomness and writes it to the console. .EXAMPLE - PS> ./write-generated-story.ps1 + PS> ./new-story.ps1 The angry Ron hits the road. ... .LINK From 888af9bf975f79c3dd8832f8dc5fa2a97b9fc11f Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 1 Nov 2025 11:45:36 +0100 Subject: [PATCH 500/737] Updated cd-repos.ps1 --- scripts/cd-repos.ps1 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/cd-repos.ps1 b/scripts/cd-repos.ps1 index 6c9600232..fbb9d7213 100755 --- a/scripts/cd-repos.ps1 +++ b/scripts/cd-repos.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Sets the working dir to the repos folder .DESCRIPTION - This PowerShell script changes the current working directory to the folder for Git repositories. + This PowerShell script changes the current working directory to the Git repositories folder. .EXAMPLE PS> ./cd-repos.ps1 📂C:\Repos entered, has 33 subfolders. @@ -19,12 +19,19 @@ try { } elseif (Test-Path "~/repos" -pathType container) { $path = "~/repos" } elseif (Test-Path "~/Repositories" -pathType container) { $path = "~/Repositories" } elseif (Test-Path "~/repositories" -pathType container) { $path = "~/repositories" + } elseif (Test-Path "~/Git" -pathType container) { $path = "~/Git" + } elseif (Test-Path "~/git" -pathType container) { $path = "~/git" } elseif (Test-Path "/Repos" -pathType container) { $path = "/Repos" } elseif (Test-Path "/repos" -pathType container) { $path = "/repos" } elseif (Test-Path "/Repositories" -pathType container) { $path = "/Repositories" } elseif (Test-Path "/repositories" -pathType container) { $path = "/repositories" + } elseif (Test-Path "/Git" -pathType container) { $path = "/Git" + } elseif (Test-Path "/git" -pathType container) { $path = "/git" } 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 + } elseif (Test-Path "D:/Repos" -pathType container) { $path = "D:/Repos" # on HDD + } elseif (Test-Path "D:/Repositories" -pathType container) { $path = "D:/Repositories" # on HDD + } elseif (Test-Path "D:/Git" -pathType container) { $path = "D:/Git" # on HDD + } elseif (Test-Path "D:/git" -pathType container) { $path = "D:/git" # on HDD } else { throw "Found no folder for Git repositories (in home or root directory) - Please create one." } $path = Resolve-Path $path Set-Location "$path" From cf214a75c47677bccfec2a57c9dda19a73c4b851 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 2 Nov 2025 10:01:48 +0100 Subject: [PATCH 501/737] Updated new-story.ps1 --- scripts/new-story.ps1 | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/scripts/new-story.ps1 b/scripts/new-story.ps1 index 6ed9fcbb9..970d4b6e8 100755 --- a/scripts/new-story.ps1 +++ b/scripts/new-story.ps1 @@ -13,31 +13,32 @@ Author: Markus Fleschutz | License: CC0 #> -function GetAdverb { - return "angry","clever","colorful","cool","funny","glad","happy","hot","late","lazy","loud","lovely","nice","poor","rich","romantic","selfish","shy","silent","slow","smart","violent" | Get-Random +function RandomAdverb { + return "angry","clever","colorful","cool","funny","glad","happy","holy","hot","late","lazy","loud","lovely","nice","poor","rich","romantic","selfish","shy","silent","slow","smart","violent" | Get-Random } -function GetSubject { +function RandomSubject { return "airport","Amy","baby","Ben","Bob","brothers","car","cat","Dick","dog","earth","Eva","fox","guy","jet","Joe","Jon","kids","Leo","Max","man","moon","movies","parents","people","Peter","plane","Pope","Ron","Sam","sisters","sun","Tim","Tom","woman" | Get-Random } -function GetVerb { - return "beats","broadcasts","catches","goes to","hits","listens to","loves","talks to","walks to","welcomes" | Get-Random +function RandomVerb { + return "beats","broadcasts","catches","enters","goes to","hits","leaves","listens to","loves","talks to","walks to","welcomes" | Get-Random } -function GetObject { +function RandomObject { return "a ball","a house","a sheep","a table","a vase","god","the church","the road","the tea","the woods","Lisa","Mary" | Get-Random } -function GetSentence { - return "The $(GetAdverb) $(GetSubject) $(GetVerb) $(GetObject)." +function RandomSentence { + return "The $(RandomAdverb) $(RandomSubject) $(RandomVerb) $(RandomObject)." } "" -" A Funny Story" -" -------------" +" A Funny Story" +" -------------" "" -" Generated by a script with rules & randomness." +" Generated by a script with rules & randomness only." "" -while ($true) { & "$PSScriptRoot/write-typewriter.ps1" $(GetSentence) 20 } +while ($true) { & "$PSScriptRoot/write-typewriter.ps1" $(RandomSentence) 20 } +exit 0 # success From 4a3cc665dccd0c174198d0150b7992b973ea93d4 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 2 Nov 2025 12:14:28 +0100 Subject: [PATCH 502/737] Improved build-repo.ps1 for CMake builds --- scripts/build-repo.ps1 | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index a4673071b..f3f73a434 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -8,9 +8,9 @@ Specifies the file path to the Git repository (default: current working directory) .EXAMPLE PS> ./build-repo.ps1 C:\Repos\ninja - ⏳ Building 'ninja' by executing cmake... + ⏳ Configuring ninja by executing 'cmake .'... ... - ✅ Build of 'ninja' succeeded in 47s, results at: 📂C:\Repos\ninja\_results + ✅ ninja built successfully in 47s, results at: 📂C:\Repos\ninja\_x86_64_build .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,8 +22,9 @@ param([string]$path = "$PWD") function BuildFolder([string]$path) { $dirName = (Get-Item "$path").Name if (Test-Path "$path/CMakeLists.txt" -pathType leaf) { - "⏳ (1/3) Building '$dirName' by executing cmake..." - $global:results = "$path/_results/" + "⏳ (1/3) Configuring $dirName by executing 'cmake .'..." + $arch = (uname -m) + $global:results = "$path/_$(arch)_build/" if (-not(Test-Path $global:results -pathType container)) { & mkdir $global:results } @@ -31,11 +32,11 @@ function BuildFolder([string]$path) { & cmake .. if ($lastExitCode -ne 0) { throw "Executing 'cmake ..' failed with exit code $lastExitCode" } - "⏳ (2/3) Executing 'make -j4' to compile and link..." + "⏳ (2/3) Building $dirName by executing 'make -j4'..." & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } - "⏳ (3/3) Checking '$dirName' by executing 'ctest -V'... (if tests are provided)" + "⏳ (3/3) Testing $dirName by 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) { @@ -158,7 +159,7 @@ try { if ($global:results -eq "") { "✅ Build of '$dirName' succeeded in $($elapsed)s." } else { - "✅ Build of '$dirName' succeeded in $($elapsed)s, results at: 📂$($global:results)" + "✅ $dirName built successfully in $($elapsed)s, results at: 📂$($global:results)" } exit 0 # success } catch { From e9c12b822e8b586ac8bf0284b0c55b1865b5de9a Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 2 Nov 2025 12:32:28 +0100 Subject: [PATCH 503/737] Updated build-repo.ps1 --- scripts/build-repo.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index f3f73a434..b07f7609b 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -157,9 +157,9 @@ try { $dirName = (Get-Item "$path").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($global:results -eq "") { - "✅ Build of '$dirName' succeeded in $($elapsed)s." + "✅ $dirName built and tested successfully in $($elapsed)s." } else { - "✅ $dirName built successfully in $($elapsed)s, results at: 📂$($global:results)" + "✅ $dirName built and tested successfully in $($elapsed)s, results at: 📂$($global:results)" } exit 0 # success } catch { From f58719489fade6e2027a6ad750ead6cb3005ae1b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 3 Nov 2025 07:46:23 +0100 Subject: [PATCH 504/737] Updated edit.ps1 --- scripts/edit.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/edit.ps1 b/scripts/edit.ps1 index baa3cf456..61e71d270 100755 --- a/scripts/edit.ps1 +++ b/scripts/edit.ps1 @@ -5,7 +5,7 @@ This PowerShell script opens the installed text editor with the given text file. Supported are: Emacs, Helix, pico, nano, neovim, Notepad, vi, vim, Visual Studio Code and Wordpad. .PARAMETER path - Specifies the path to the text file (default is to query the user to specify it) + Specifies the path to the file to edit (default: ask user) .EXAMPLE PS> ./edit.ps1 C:\MyDiary.txt .LINK @@ -41,5 +41,5 @@ TryEditor "edit.exe" $path TryEditor "wordpad.exe" $path Write-Host "" -"⚠️ Sorry, no text editor found. Please install your favorite one (e.g. by executing 'winget install helix.helix')." +"⚠️ Sorry, no supported text editor found (Emacs, Helix, pico, nano, neovim, Notepad, vi, vim, Visual Studio Code, Wordpad)" exit 1 From 69229b502af1e2933518226b3736a90c7d6544c6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 3 Nov 2025 08:45:28 +0100 Subject: [PATCH 505/737] Updated build-repo.ps1 --- scripts/build-repo.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index b07f7609b..6ab722357 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -8,9 +8,9 @@ Specifies the file path to the Git repository (default: current working directory) .EXAMPLE PS> ./build-repo.ps1 C:\Repos\ninja - ⏳ Configuring ninja by executing 'cmake .'... + ⏳ Configuring CMake by executing 'cmake .'... ... - ✅ ninja built successfully in 47s, results at: 📂C:\Repos\ninja\_x86_64_build + ✅ Repo 'ninja' built successfully in 47s, results at: 📂C:\Repos\ninja\_x86_64_build .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -22,7 +22,7 @@ param([string]$path = "$PWD") function BuildFolder([string]$path) { $dirName = (Get-Item "$path").Name if (Test-Path "$path/CMakeLists.txt" -pathType leaf) { - "⏳ (1/3) Configuring $dirName by executing 'cmake .'..." + "⏳ (1/3) Configuring CMake by executing 'cmake .'..." $arch = (uname -m) $global:results = "$path/_$(arch)_build/" if (-not(Test-Path $global:results -pathType container)) { @@ -157,9 +157,9 @@ try { $dirName = (Get-Item "$path").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($global:results -eq "") { - "✅ $dirName built and tested successfully in $($elapsed)s." + "✅ Repo '$dirName' built successfully in $($elapsed)s." } else { - "✅ $dirName built and tested successfully in $($elapsed)s, results at: 📂$($global:results)" + "✅ Repo '$dirName' built successfully in $($elapsed)s, results at: 📂$($global:results)" } exit 0 # success } catch { From 2e9c8218ec8e1dae90221e055bdaaa9ac1f78c82 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 4 Nov 2025 13:57:12 +0100 Subject: [PATCH 506/737] Added support for build.ps1 --- scripts/build-repo.ps1 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index 6ab722357..ea5d82670 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -2,8 +2,9 @@ .SYNOPSIS Builds a repo .DESCRIPTION - This PowerShell script builds a Git repository by supporting the following build - systems: autogen, cargo, cmake, configure, Gradle, Imakefile, Makefile, and Meson. + This PowerShell script builds an arbitrary source code repository by supporting + build systems like: autogen, cargo, cmake, configure, Gradle, Imakefile, Makefile, + Meson, and PowerShell (build.ps1). .PARAMETER path Specifies the file path to the Git repository (default: current working directory) .EXAMPLE @@ -116,6 +117,13 @@ function BuildFolder([string]$path) { & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } + } elseif (Test-Path "$path/build.ps1" -pathType leaf) { + + "⏳ Building '$dirName' by executing 'build.ps1'..." + Set-Location "$path/" + & ./build.ps1 + if ($lastExitCode -ne 0) { throw "Executing './build.ps1' failed with exit code $lastExitCode" } + } elseif (Test-Path "$path/compile.sh" -pathType leaf) { "⏳ Building '$dirName' by executing 'compile.sh'..." From 75d42cbbee603578e321a435649a86455f59193b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 4 Nov 2025 14:12:21 +0100 Subject: [PATCH 507/737] Renamed to vi.ps1 --- scripts/{edit.ps1 => vi.ps1} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename scripts/{edit.ps1 => vi.ps1} (100%) diff --git a/scripts/edit.ps1 b/scripts/vi.ps1 similarity index 100% rename from scripts/edit.ps1 rename to scripts/vi.ps1 From 63c1ac5fce5a3291f9799340c17edb9094640938 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 4 Nov 2025 21:32:07 +0100 Subject: [PATCH 508/737] Updated build-repos.ps1 --- scripts/build-repos.ps1 | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/scripts/build-repos.ps1 b/scripts/build-repos.ps1 index 9c43cf034..8995ffc47 100755 --- a/scripts/build-repos.ps1 +++ b/scripts/build-repos.ps1 @@ -1,9 +1,9 @@ <# .SYNOPSIS - Builds Git repositories + Build Git repos .DESCRIPTION - This PowerShell script builds all Git repositories in a folder. -.PARAMETER ParentDir + This PowerShell script builds all Git repositories within a folder. +.PARAMETER parentDir Specifies the path to the parent folder .EXAMPLE PS> ./build-repos.ps1 C:\MyRepos @@ -13,26 +13,23 @@ Author: Markus Fleschutz | License: CC0 #> -param([string]$ParentDir = "$PWD") +param([string]$parentDir = "$PWD") try { - $StopWatch = [system.diagnostics.stopwatch]::startNew() + $stopWatch = [system.diagnostics.stopwatch]::startNew() - $ParentDirName = (Get-Item "$ParentDir").Name - "⏳ Step 1 - Checking parent folder 📂$ParentDirName..." - if (-not(Test-Path "$ParentDir" -pathType container)) { throw "Can't access folder: $ParentDir" } - $Folders = (Get-ChildItem "$ParentDir" -attributes Directory) - $FolderCount = $Folders.Count - "Found $FolderCount subfolders." + $parentDirName = (Get-Item "$parentDir").Name + "⏳ Step 1 - Checking parent folder 📂$parentDirName..." + if (-not(Test-Path "$parentDir" -pathType container)) { throw "Can't access folder: $parentDir" } + $folders = (Get-ChildItem "$parentDir" -attributes Directory) + $numFolders = $folders.Count + "Found $numFolders subfolders." - [int]$Step = 1 - foreach ($Folder in $Folders) { - & "$PSScriptRoot/build-repo.ps1" "$Folder" - $Step++ + foreach ($folder in $folders) { + & "$PSScriptRoot/build-repo.ps1" "$folder" } - - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✅ Built $FolderCount Git repositories at 📂$ParentDirName in $Elapsed sec" + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ Built $numFolders Git repositories at 📂$parentDirName in $($elapsed)s." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" From b5561bdc226833a681fc0a013aab0807913effb8 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 4 Nov 2025 22:14:31 +0100 Subject: [PATCH 509/737] Updated build-repos.ps1 --- scripts/build-repos.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-repos.ps1 b/scripts/build-repos.ps1 index 8995ffc47..cd590acc7 100755 --- a/scripts/build-repos.ps1 +++ b/scripts/build-repos.ps1 @@ -29,7 +29,7 @@ try { & "$PSScriptRoot/build-repo.ps1" "$folder" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ Built $numFolders Git repositories at 📂$parentDirName in $($elapsed)s." + "✅ $numFolders Git repositories built at 📂$parentDir in $($elapsed)s." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" From 5e6aa7727f3e00eee1ca0c4be15c5612f3a0812c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 8 Nov 2025 09:12:32 +0100 Subject: [PATCH 510/737] Updated cd-autostart.ps1 --- scripts/cd-autostart.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/cd-autostart.ps1 b/scripts/cd-autostart.ps1 index e8ac51f94..527e39e68 100755 --- a/scripts/cd-autostart.ps1 +++ b/scripts/cd-autostart.ps1 @@ -1,11 +1,11 @@ <# .SYNOPSIS - Sets the working directory to the user's autostart folder + Sets the working directory to the autostart folder .DESCRIPTION - This PowerShell script changes the working directory to the user's autostart folder. + This PowerShell script changes the current working directory to the autostart folder. .EXAMPLE PS> ./cd-autostart.ps1 - 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup entered (has 0 files) + 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup entered, has 0 files. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -17,11 +17,11 @@ try { if ($IsLinux -or $IsMacOS) { throw "This script requires Windows" } - $path = Resolve-Path "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" + $path = Resolve-Path "$($env:APPDATA)/Microsoft/Windows/Start Menu/Programs/Startup" if (-not(Test-Path "$path" -pathType container)) { throw "The path to autostart folder '$path' doesn't exist (yet)" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - "📂$path entered (has $($files.Count) files)" + "📂$path entered, has $($files.Count) files." exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" From 9f77c80eb91dca8fb57ce16832d3e9e566f8d5e3 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 9 Nov 2025 16:35:30 +0100 Subject: [PATCH 511/737] Updated list-weather.ps1 --- scripts/list-weather.ps1 | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/list-weather.ps1 b/scripts/list-weather.ps1 index ce55994ef..516b7bcae 100755 --- a/scripts/list-weather.ps1 +++ b/scripts/list-weather.ps1 @@ -18,7 +18,7 @@ param([string]$location = "") # empty means determine automatically -function GetDescription([string]$text) { +function GetEmoji([string]$text) { switch ($text) { "Blizzard" { return "❄️" } "Blowing snow" { return "❄️" } @@ -100,17 +100,16 @@ try { [int]$day = 0 foreach($hourly in $weather.weather.hourly) { $hour = $hourly.time / 100 - $tempC = $(($hourly.tempC.toString()).PadLeft(2)) + $temp = $(($hourly.tempC.toString()).PadLeft(2)) $precip = $($($hourly.precipMM).PadLeft(4)) $humidity = $(($hourly.humidity.toString()).PadLeft(3)) - $pressure = $hourly.pressure $windSpeed = $(($hourly.windspeedKmph.toString()).PadLeft(2)) $windDir = GetWindDir $hourly.winddir16Point - $UV = $hourly.uvIndex $clouds = $(($hourly.cloudcover.toString()).PadLeft(3)) + $UV = $hourly.uvIndex $visib = $(($hourly.visibility.toString()).PadLeft(2)) $desc = $hourly.weatherDesc.value.trim() - $icon = GetDescription $desc + $emoji = GetEmoji $desc if ($hour -eq 0) { if ($day -eq 0) { Write-Host "`nTODAY Temp ☂️mm 💧 💨km/h ☁️ ☀️UV 👁 km $area ($region, $country)" -foregroundColor green @@ -125,7 +124,7 @@ try { } $day++ } - "$(($hour.toString()).PadLeft(2))h $($icon)$tempC° $precip $humidity% $($windDir)$windSpeed $clouds% $UV $visib $desc" + "$(($hour.toString()).PadLeft(2))h $($emoji)$temp° $precip $humidity% $($windDir)$windSpeed $clouds% $UV $visib $desc" } exit 0 # success } catch { From 608f5ebb5b657af927518260fe8a383013d33ef7 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 9 Nov 2025 18:45:09 +0100 Subject: [PATCH 512/737] Added new-image.ps1 --- scripts/new-image.ps1 | 17 +++++++++++++++++ scripts/open-URL.ps1 | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 scripts/new-image.ps1 diff --git a/scripts/new-image.ps1 b/scripts/new-image.ps1 new file mode 100644 index 000000000..a4ae8588a --- /dev/null +++ b/scripts/new-image.ps1 @@ -0,0 +1,17 @@ +<# +.SYNOPSIS + Create an image +.DESCRIPTION + This script launches the Web browser with texttoimage.org to create a new image. +.EXAMPLE + PS> ./new-image.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +#requires -version 5.1 + +& "$PSScriptRoot/open-URL.ps1" "https://www.texttoimage.org" "Text to Image: " +exit 0 # success diff --git a/scripts/open-URL.ps1 b/scripts/open-URL.ps1 index 7c4f25a08..d6471d22f 100755 --- a/scripts/open-URL.ps1 +++ b/scripts/open-URL.ps1 @@ -28,7 +28,7 @@ try { Write-Host " (open link with: )" } else { Start-Process $URL - Write-Host "✅ Launched Web browser with $text" -noNewline + Write-Host "✅ Launching Web browser with $text" -noNewline Write-Host $URL -foregroundColor blue } exit 0 # success From 01cd68e28ee24b14942258fb428bcebc2877cd62 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 11 Nov 2025 16:51:52 +0100 Subject: [PATCH 513/737] Updated list-news.ps1 --- scripts/list-cli-tools.ps1 | 1 + scripts/list-news.ps1 | 16 ++++++++-------- scripts/vi.ps1 | 7 ++++--- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/scripts/list-cli-tools.ps1 b/scripts/list-cli-tools.ps1 index 11a630fe9..b73cf9ec6 100755 --- a/scripts/list-cli-tools.ps1 +++ b/scripts/list-cli-tools.ps1 @@ -183,6 +183,7 @@ function List-CLI-Tools { ListTool gh "--version" ListTool git "--version" ListTool gkill "--version" + ListTool glxinfo "" ListTool gmondump "--version" ListTool go "version" ListTool gpg "--version" diff --git a/scripts/list-news.ps1 b/scripts/list-news.ps1 index d914a23da..9913bf16f 100755 --- a/scripts/list-news.ps1 +++ b/scripts/list-news.ps1 @@ -4,15 +4,15 @@ .DESCRIPTION This PowerShell script lists the latest news by using a RSS (Really Simple Syndication) feed. .PARAMETER RSS_URL - Specifies the URL to the RSS feed (Yahoo World News by default) + Specifies the URL to the RSS feed (default: New York Times) .PARAMETER maxLines - Specifies the maximum number of lines to list (24 by default) + Specifies the maximum number of lines to list (default: 24) .PARAMETER speed - Specifies the speed to write the text (10 ms by default) + Specifies the speed to write the text (default: 10ms) .EXAMPLE PS> ./list-news.ps1 - UTC HEADLINES (source: https://www.yahoo.com/news/world) + UTC HEADLINES (source: https://www.nytimes.com/section/world) --- --------- 09:15 Deadly Mediterranean wildfires kill more than 40 ... @@ -22,20 +22,20 @@ Author: Markus Fleschutz | License: CC0 #> -param([string]$RSS_URL = "https://news.yahoo.com/rss/world", [int]$maxLines = 24, [int]$speed = 5) +param([string]$RSS_URL = "https://rss.nytimes.com/services/xml/rss/nyt/World.xml", [int]$maxLines = 24, [int]$speed = 5) try { [xml]$content = (Invoke-WebRequest -URI $RSS_URL -useBasicParsing).Content $title = $content.rss.channel.title $URL = $content.rss.channel.link - Write-Host "`n UTC HEADLINES (source: " -noNewline + Write-Host "`n UTC HEADLINES (source: " -noNewline Write-Host $URL -foregroundColor blue -noNewline Write-Host ")" - Write-Host " --- ---------" + Write-Host " --- ---------" [int]$count = 1 foreach ($item in $content.rss.channel.item) { $title = $item.title -replace "â","'" - $time = $item.pubDate.Substring(11, 5) + $time = $item.pubDate.Substring(16, 6) & "$PSScriptRoot/write-typewriter.ps1" "$time $title" $speed if ($count++ -eq $maxLines) { break } } diff --git a/scripts/vi.ps1 b/scripts/vi.ps1 index 61e71d270..bdb58e37f 100755 --- a/scripts/vi.ps1 +++ b/scripts/vi.ps1 @@ -1,13 +1,14 @@ <# .SYNOPSIS - Opens a text editor + Edit a text file .DESCRIPTION This PowerShell script opens the installed text editor with the given text file. - Supported are: Emacs, Helix, pico, nano, neovim, Notepad, vi, vim, Visual Studio Code and Wordpad. + It tries to use neovim, vim, vi, nano, pico, Helix, Emacs, Visual Studio Code, + Notepad, Microsoft Edit, or Wordpad (in that order). .PARAMETER path Specifies the path to the file to edit (default: ask user) .EXAMPLE - PS> ./edit.ps1 C:\MyDiary.txt + PS> ./vi.ps1 C:\MyDiary.txt .LINK https://github.com/fleschutz/PowerShell .NOTES From b4d0dbf5e003a09f29076d5d44832ddbd38adbc2 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 16 Nov 2025 12:29:15 +0100 Subject: [PATCH 514/737] Updated list-tiobe-index.ps1 --- data/TIOBE-index.csv | 40 ++++++++++++++++++------------------ scripts/list-tiobe-index.ps1 | 11 +++++++--- 2 files changed, 28 insertions(+), 23 deletions(-) diff --git a/data/TIOBE-index.csv b/data/TIOBE-index.csv index df7a6cd8c..f603d4deb 100644 --- a/data/TIOBE-index.csv +++ b/data/TIOBE-index.csv @@ -1,21 +1,21 @@ LANGUAGE,POPULARITY,CHANGE, -C,12.54,-4.65, -Python,11.84,+3.48, -Java,11.54,-4.56, -C++,7.36,+1.41, -C#,4.33,-0.40, -Visual Basic,4.01,-0.68, -JavaScript,2.33,+0.06, -PHP,2.21,-0.05, -Assembly language,2.05,+1.09, -SQL,1.88,+0.15, -Classic Visual Basic,1.72,+1.07, -Groovy,1.29,+0.87, -Ruby,1.23,+0.25, -R,1.20,-0.99, -Perl,1.18,+0.36, -Swift,1.10,-0.35, -Fortran,1.07,+0.80, -Delphi/Object Pascal,1.06,+0.47, -MATLAB,1.05,+0.15, -Go,0.95,-0.06, +Python,23.37,+0.52, +C,9.68,+0.67, +C++,8.95,-1.69, +Java,8.54,-1.06, +C#,7.65,+2.67, +JavaScript,3.42,-0.29, +Visual Basic,3.31,+1.36, +Delphi/Object Pascal,2.06,+0.58, +Perl,1.84,+1.16, +SQL,1.80,-0.14, +Go,1.72,-0.63, +R,1.67,+0.65, +Fortran,1.55,-0.42, +Rust,1.39,+0.21, +MATLAB,1.38,+0.11, +PHP,1.31,-0.16, +Ada,1.23,+0.52, +Assembly language,1.16,+0.20, +Scratch,1.02,-0.09, +Kotlin,0.98,+0.06, diff --git a/scripts/list-tiobe-index.ps1 b/scripts/list-tiobe-index.ps1 index 83bb2acf6..475f0272f 100755 --- a/scripts/list-tiobe-index.ps1 +++ b/scripts/list-tiobe-index.ps1 @@ -42,8 +42,9 @@ function WriteBar { param([string]$text, [float]$value, [float]$max, [float]$cha try { Write-Host "" - Write-Host "TIOBE INDEX 2021-06 (source: https://www.tiobe.com)" - Write-Host "====================================================" + Write-Host "" + Write-Host "`t`t`t`tTIOBE Index for November 2025" + Write-Host "`t`t`t`t=============================" Write-Host "" $table = Import-CSV "$PSScriptRoot/../data/TIOBE-index.csv" @@ -51,8 +52,12 @@ try { [string]$name = $row.Language [float]$value = $row.Popularity [float]$change = $row.Change - WriteBar $name $value 14.0 $change + WriteBar $name $value 25.0 $change } + Write-Host "" + Write-Host "Source: " -noNewline + Write-Host "https://tiobe.com/tiobe-index/" -foregroundColor blue -noNewline + Write-Host " ( to open the link in your browser)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" From dc12797b5264e9eef22717ab934bacbba2c20f70 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 16 Nov 2025 12:52:46 +0100 Subject: [PATCH 515/737] Updated list-tiobe-index.ps1 --- data/TIOBE-index.csv | 42 ++++++++++++++++++------------------ scripts/list-tiobe-index.ps1 | 10 +++++---- 2 files changed, 27 insertions(+), 25 deletions(-) diff --git a/data/TIOBE-index.csv b/data/TIOBE-index.csv index f603d4deb..b1ba1ecf4 100644 --- a/data/TIOBE-index.csv +++ b/data/TIOBE-index.csv @@ -1,21 +1,21 @@ -LANGUAGE,POPULARITY,CHANGE, -Python,23.37,+0.52, -C,9.68,+0.67, -C++,8.95,-1.69, -Java,8.54,-1.06, -C#,7.65,+2.67, -JavaScript,3.42,-0.29, -Visual Basic,3.31,+1.36, -Delphi/Object Pascal,2.06,+0.58, -Perl,1.84,+1.16, -SQL,1.80,-0.14, -Go,1.72,-0.63, -R,1.67,+0.65, -Fortran,1.55,-0.42, -Rust,1.39,+0.21, -MATLAB,1.38,+0.11, -PHP,1.31,-0.16, -Ada,1.23,+0.52, -Assembly language,1.16,+0.20, -Scratch,1.02,-0.09, -Kotlin,0.98,+0.06, +RANK,LANGUAGE,POPULARITY,CHANGE, +1,Python,23.37,+0.52, +2,C,9.68,+0.67, +3,C++,8.95,-1.69, +4,Java,8.54,-1.06, +5,C#,7.65,+2.67, +6,JavaScript,3.42,-0.29, +7,Visual Basic,3.31,+1.36, +8,Delphi/Object Pascal,2.06,+0.58, +9,Perl,1.84,+1.16, +10,SQL,1.80,-0.14, +11,Go,1.72,-0.63, +12,R,1.67,+0.65, +13,Fortran,1.55,-0.42, +14,Rust,1.39,+0.21, +15,MATLAB,1.38,+0.11, +16,PHP,1.31,-0.16, +17,Ada,1.23,+0.52, +18,Assembly language,1.16,+0.20, +19,Scratch,1.02,-0.09, +20,Kotlin,0.98,+0.06, diff --git a/scripts/list-tiobe-index.ps1 b/scripts/list-tiobe-index.ps1 index 475f0272f..f1d85ffb5 100755 --- a/scripts/list-tiobe-index.ps1 +++ b/scripts/list-tiobe-index.ps1 @@ -49,10 +49,12 @@ try { $table = Import-CSV "$PSScriptRoot/../data/TIOBE-index.csv" foreach($row in $table) { - [string]$name = $row.Language - [float]$value = $row.Popularity - [float]$change = $row.Change - WriteBar $name $value 25.0 $change + [string]$rank = "{0,2}" -f $row.RANK + [string]$language = "{0,-20}" -f $row.LANGUAGE + [float]$popularity = $row.POPULARITY + [float]$change = $row.CHANGE + Write-Host "$($rank). $language" -noNewline + WriteBar "" $popularity 30.0 $change } Write-Host "" Write-Host "Source: " -noNewline From db3e120898ac22853a96b50f23647f2675114761 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 17 Nov 2025 10:23:58 +0100 Subject: [PATCH 516/737] Updated some abbreviations --- data/dicts/aviation.csv | 2 +- data/dicts/chemistry.csv | 1 - data/dicts/computing.csv | 5 ++--- data/dicts/general.csv | 7 ++----- scripts/what-is.ps1 | 2 +- 5 files changed, 6 insertions(+), 11 deletions(-) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index 09116fa9d..a189b5e65 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -329,6 +329,7 @@ IANS,Institute of Air Navigation Services, a division of Eurocontrol IAS,Indicated airspeed IATA,"International Air Transport Association, HQ in Montreal, Canada" ICA,Initial Climb Area +ICAO,International Civil Aviation Organization ICARD,International Codes and Route Designators IFE,In-flight Emergency IFR,Instrument Flight Rules @@ -435,7 +436,6 @@ RCR,Runway Condition Reading RCS,Radar Cross Section RESA,Runway End Safety Area RET,Rapid Exit Taxiways -RF,Radio Frequency RFFS,Rescue and Fire Fighting Services RFM,Rotorcraft Flight Manual RIMCAS,Runway Incursion Monitoring and Conflict Alert System diff --git a/data/dicts/chemistry.csv b/data/dicts/chemistry.csv index 732b734b5..687cc383e 100644 --- a/data/dicts/chemistry.csv +++ b/data/dicts/chemistry.csv @@ -877,7 +877,6 @@ rem,"Radiation Equivalent, Man" REM,Rare Earth Metal REQ,Required RER,Respiratory Exchange Ratio -RF,"Radio Frequency, Resonance Frequency" Rf,Rutherfordium RFIC,Reagent-Free Ion Chromatography RFM,Relative Formula Mass diff --git a/data/dicts/computing.csv b/data/dicts/computing.csv index e7f552495..7557a033e 100644 --- a/data/dicts/computing.csv +++ b/data/dicts/computing.csv @@ -1508,8 +1508,7 @@ ITS,issue tracking system ITSM,IT Service Management ITSO,International Technical Support Organization ITSS,Information Technology Solutions Shop -ITU,International Technical Union -ITU,International Telecommunication Union +ITU,International Telecommunications Union IV,initialization vector IVR,Interactive Voice Response IXC,interexchange carrier @@ -1750,6 +1749,7 @@ MSCS,Microsoft Cluster Server MSDOS,Microsoft Disk Operating System MSDS,Material Safety Data Sheet MSE,Microsoft Security Essentials +MSFS,Microsoft Flight Simulator MSP,managed service provider MSP,management service provider MSRP,Message Session Relay Protocol @@ -2169,7 +2169,6 @@ REC,Regional Extension Center ReFS,Resilient File System regex,regular expression REST,REpresentational State Transfer -RF,Radio Frequency RFC,Remote Function Call RFC,Request for Comments RFI,request for information diff --git a/data/dicts/general.csv b/data/dicts/general.csv index 66d3d8611..804f07f0c 100644 --- a/data/dicts/general.csv +++ b/data/dicts/general.csv @@ -94,7 +94,6 @@ AC1,Aircraftman 1st Class AC2,Aircraftman 2nd Class ACA,"Affordable Care Act,shorthand for the Patient Protection and Affordable Care Act,commonly called 'Obamacare',Airspace Control Authority,Airspace Co-ordination Area,A Current Affair" ACAB,All cops are bastards -ACARS,Aircraft Communications Addressing and Reporting System ACAS,"Aboriginal Children's Advancement Society,Advisory,Conciliation and Arbitration Service" ACB,"Asociación de Clubes de Baloncesto (Spanish for 'Association of Basketball Clubs')" ACCA,The Association of Chartered Certified Accountants,Automatic Cloud Cover Assessment @@ -292,7 +291,7 @@ Am,Americium AM,"Amplitude Modulation and Ante Meridiem; see entry,Armenia (ISO 3166 digram)" AM1,Airman 1st class AMA,American Medical Association,Australian Medical Association -AMAPS,Aircraft,Missile,Avionics Performance Simulation +AMAPS,"Aircraft,Missile,Avionics Performance Simulation" AMC,Adaptive modulation and coding (digital communications),U.S. Air Mobility Command,American Motors Corporation,American Movie Classics (TV network; now known simply by the initials),U.S. Army Materiel Command AMCB,Army/Marine Corps Board (USA) AMFOM,Advanced Missile Fly Out Model @@ -2115,7 +2114,6 @@ IBRD,International Bank for Reconstruction and Development (part of the World Ba IBS,Irritable Bowel Syndrome IC,"Ice Crystals (METAR Code),Integrated Circuit,[inner circle]" ICANN,Internet Corporation for Assigned Names and Numbers -ICAO,International Civil Aviation Organization ICBM,I see (phonetically "c") BatMan ICBM,Intercontinental Ballistic Missile ICBN,International Code of Botanical Nomenclature @@ -4087,8 +4085,7 @@ RERC,Rehabilitation Engineering Research Center RES,Radiation Exposure Status,Reserve RESNA,Rehabilitation Engineering and Assistive Technology Society of North America REU,Réunion (ISO 3166 trigram) -RF,Radio Frequency,Receptive Field (neurophysiology) -Rf,Rutherfordium +RF,"Radio Frequency, Resonance Frequency, Receptive Field (neurophysiology)" RFC,Request for Comments,Royal Flying Corps (WWI precursor to RAF) RFD,Request for Documentation RFE,Request for Evaluation diff --git a/scripts/what-is.ps1 b/scripts/what-is.ps1 index 73007b81a..578aee672 100755 --- a/scripts/what-is.ps1 +++ b/scripts/what-is.ps1 @@ -32,7 +32,7 @@ try { if ($basename -eq "") { Write-Host "🤷‍ Sorry, I don't know '$term'. Let's search for it: " -noNewline Write-Host "https://qwant.com/?q=what+is+$term" -foregroundColor blue -noNewline - Write-Host " (use )" + Write-Host " (Ctrl+Click to open link)" } exit 0 # success } catch { From 3ae15b67c831cce686e3f427b46bacc30c6e6c35 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 17 Nov 2025 10:57:40 +0100 Subject: [PATCH 517/737] Added some abbreviations --- data/dicts/aviation.csv | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index a189b5e65..b8d51b7a4 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -309,6 +309,7 @@ FIS,Federal Inspection Services FL,Flight Level FLIP,Flight Information Publication FMG,Flughafen München GmbH +FMGC,Flight Management and Guidance Computer FMS,Flight Management System FOD,Foreign Object Debris FOV,Field of View @@ -353,6 +354,7 @@ LH,Lufthansa LITAS,Low Intensity Two Colour Approach System LL,Lower Limit LMUK,Lockheed Martin UK +LNAV,Lateral Navigation LOD,Level of Detail LTA,Lower Traffic Area LUAW,Line up and wait @@ -363,6 +365,7 @@ MA,Missed Approach (IFR) MATS,Malta Air Traffic Services MEA,Minimum En-route Altitude METAR,Meteorological Aerodrome Report +MCDU,Multifunction Control and Display Unit MCP,Maximum Continuous Power MGTOW,Maximum Gross Take-off Weight MLW,Maximum Landing Weight @@ -558,6 +561,7 @@ TOC,Top Of Climb TOD,Top Of Descent TODA,Take-off Distance Available TODAH,Take-off Distance Available for Helicopter +TOGA,Take-Off/Go Around TOP,Take-Off Power TOR,"Terms of Reference, or Tornado aircraft" TORA,Takeoff Run Available @@ -617,6 +621,7 @@ VMO,maximum operation speed is the air speed than should never be exceeded delib VOLMET,Meteorological Information for Aircraft in Flight VOR,VHF Omni-directional Receiver VORTAC,VOR -TACAN combination +VNAV,Vertical Navigation VREF,1.3 times the stalling speed of the aircraft in the stated landing configuration and at the prevailing aircraft weight VRS,Vortex Ring State VS,"Stall speed, defined as the minimum steady flight speed at which the airplane is controllable" From 4c603a3c1779c789d8fa31c176e38de359a6bed1 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 17 Nov 2025 13:08:47 +0100 Subject: [PATCH 518/737] Removed an abbreviation --- data/dicts/computing.csv | 1 - 1 file changed, 1 deletion(-) diff --git a/data/dicts/computing.csv b/data/dicts/computing.csv index 7557a033e..bd5d5d716 100644 --- a/data/dicts/computing.csv +++ b/data/dicts/computing.csv @@ -515,7 +515,6 @@ CIA,"confidentiality, integrity, and availability" CICS,Customer Information Control System CIDM,Customer-Integrated Decision Making CIDR,Classless Inter-Domain Routing or supernetting -CIDR,supernetting or Classless Inter-Domain Routing CIFS,Common Internet File System CIM,Common Information Model CIO,Chief Information Officer From 87f9bb6ed44f5fdba0a128734e7546ca6f6e87aa Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 18 Nov 2025 19:35:30 +0100 Subject: [PATCH 519/737] Updated check-drive-space.ps1 --- scripts/check-drive-space.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/check-drive-space.ps1 b/scripts/check-drive-space.ps1 index ec5407fb6..fc6d68b9e 100755 --- a/scripts/check-drive-space.ps1 +++ b/scripts/check-drive-space.ps1 @@ -9,7 +9,7 @@ Specifies the minimum level in bytes (10GB by default) .EXAMPLE PS> ./check-drive-space.ps1 C - ✅ Drive C: uses 56% of 1TB with 442GB free. + ✅ Drive C: uses 56% of 1TB (442GB free) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -44,12 +44,12 @@ try { if ($total -eq 0) { Write-Host "✅ Drive $driveName is empty" } elseif ($free -eq 0) { - Write-Host "⚠️ Drive $driveName with $(Bytes2String $total) is full" + Write-Host "⚠️ Drive $driveName with $(Bytes2String $total) is FULL" } elseif ($free -lt $minLevel) { 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) with $(Bytes2String $free) free." + Write-Host "✅ Drive $driveName uses $percent% of $(Bytes2String $total) ($(Bytes2String $free) free)" } exit 0 # success } catch { From 5ff0e8cd54fd10b6f51266be3bfa8fc2c7dad252 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 20 Nov 2025 16:55:30 +0100 Subject: [PATCH 520/737] Added missing metadata header --- scripts/check-pending-reboot.ps1 | 1 - scripts/new-reboot-task.ps1 | 56 +++++++++++++++----------------- scripts/reboot-into-bios.ps1 | 21 ++++++++++-- 3 files changed, 44 insertions(+), 34 deletions(-) diff --git a/scripts/check-pending-reboot.ps1 b/scripts/check-pending-reboot.ps1 index 425584569..926f2da89 100755 --- a/scripts/check-pending-reboot.ps1 +++ b/scripts/check-pending-reboot.ps1 @@ -5,7 +5,6 @@ This PowerShell script queries pending operating system reboots and prints it. .EXAMPLE ./check-pending-reboot.ps1 - ✅ No pending reboot. .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/scripts/new-reboot-task.ps1 b/scripts/new-reboot-task.ps1 index e0cc0e78d..eb6121b62 100755 --- a/scripts/new-reboot-task.ps1 +++ b/scripts/new-reboot-task.ps1 @@ -1,21 +1,27 @@ -# Skript zum erstellen bzw. Anpassen eine Neustarttasks -# Stannek GmbH - Version 1.3 - 15.06.2023 ES +<# +.SYNOPSIS + Create a timed task to reboot +.DESCRIPTION + This PowerShell script creates a timed task to reboot the local computer. +.EXAMPLE + ./new-reboot-task.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> -# Diese Skript muss als Administrator ausgeführt werden, ansonsten wird es nicht gestartet #Requires -RunAsAdministrator -# Parameter -$TaskName = "einmaliger Neustart" +# parameter +$TaskName = "Timed Reboot" -# Assemblys laden Add-Type -AssemblyName System.Windows.Forms -## Abfrage Fenster ## - -# Erstellt das Hauptfenster +# main menu $font = New-Object System.Drawing.Font("Arial", 11) $mainForm = New-Object System.Windows.Forms.Form -$mainForm.Text = "Neustart-Task planen" +$mainForm.Text = "Plan the next reboot" $mainForm.Font = $font $mainForm.ForeColor = "Black" $mainForm.BackColor = "White" @@ -24,69 +30,59 @@ $mainForm.Height = 200 $mainForm.StartPosition = "CenterScreen" $mainForm.MaximizeBox = $False -# Erzeugt das Description Label +# create description label $DescriptLabel = New-Object System.Windows.Forms.Label -$DescriptLabel.Text = "Wann soll der Computer neustarten?" +$DescriptLabel.Text = "When to reboot the computer?" $DescriptLabel.Location = "15, 10" $DescriptLabel.Height = 22 $DescriptLabel.Width = 280 -# Fügt Label zum Hauptfenster hinzu $mainForm.Controls.Add($DescriptLabel) - -# Rezeugt das DatePicker Label +# create DatePicker label $datePickerLabel = New-Object System.Windows.Forms.Label -$datePickerLabel.Text = "Datum" +$datePickerLabel.Text = "Date" $datePickerLabel.Location = "15, 45" $datePickerLabel.Height = 22 $datePickerLabel.Width = 90 -# Fügt Label zum Hauptfenster hinzu $mainForm.Controls.Add($datePickerLabel) -# Erzeugt das TimePicker Label +# create TimePicker label $TimePickerLabel = New-Object System.Windows.Forms.Label -$TimePickerLabel.Text = "Uhrzeit" +$TimePickerLabel.Text = "Time" $TimePickerLabel.Location = "15, 80" $TimePickerLabel.Height = 22 $TimePickerLabel.Width = 90 -# Fügt Label zum Hauptfenster hinzu $mainForm.Controls.Add($TimePickerLabel) -# Erzeugt das DatePicker-Feld +# create DatePicker input field $datePicker = New-Object System.Windows.Forms.DateTimePicker $datePicker.Location = "110, 42" $datePicker.Width = "150" $datePicker.Format = [windows.forms.datetimepickerFormat]::custom $datePicker.CustomFormat = "dd/MM/yyyy" -# Fügt DatePicker-Feld zum Hauptfenster hinzu $mainForm.Controls.Add($datePicker) -# Erzeugt das TimePicker-Feld +# create TimePicker input field $TimePicker = New-Object System.Windows.Forms.DateTimePicker $TimePicker.Location = "110, 77" $TimePicker.Width = "150" $TimePicker.Format = [windows.forms.datetimepickerFormat]::custom $TimePicker.CustomFormat = "HH:mm" $TimePicker.ShowUpDown = $TRUE -# Fügt TimePicker-Feld zum Hauptfenster hinzu $mainForm.Controls.Add($TimePicker) -# Erzeugt den OK Button +# create OK button $okButton = New-Object System.Windows.Forms.Button $okButton.Location = "15, 130" $okButton.ForeColor = "Black" $okButton.BackColor = "White" $okButton.Text = "OK" -# Legt die Button Aktion fest (DialogResult auf OK und Eingabefenster schließen $okButton.add_Click({$mainForm.DialogResult = "OK";$mainForm.close()}) -# Fügt Button zum Hauptfenster hinzu $mainForm.Controls.Add($okButton) -# Fensterausgabe +# show window [void] $mainForm.ShowDialog() -## Ende Abfrage Fenster ## - # Skript abbrechen, wenn Fenster geschlossen wird If ($mainForm.DialogResult -eq "Cancel") {Break} diff --git a/scripts/reboot-into-bios.ps1 b/scripts/reboot-into-bios.ps1 index b12eb39ee..7a5a47a54 100755 --- a/scripts/reboot-into-bios.ps1 +++ b/scripts/reboot-into-bios.ps1 @@ -1,3 +1,18 @@ +<# +.SYNOPSIS + Reboots into BIOS (needs admin rights) +.DESCRIPTION + This PowerShell script reboots the local computer immediately into BIOS (needs admin rights). +.EXAMPLE + PS> ./reboot-into-bios.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +#Requires -RunAsAdministrator + # Requires admin privileges to run if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { Write-Host "This script requires administrative privileges." -ForegroundColor Red @@ -17,9 +32,9 @@ try { $result = shutdown /r /fw /t 0 if ($lastExitCode -ne 0) { throw "Failed to initiate reboot" } + exit 0 # success } catch { - Write-Host "Error: $_" -ForegroundColor Red - Write-Host "Failed to initiate BIOS reboot." -ForegroundColor Red + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" pause exit 1 -} \ No newline at end of file +} From 650949b49225c3c119dcdfb78983f84c929139a8 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 20 Nov 2025 16:59:56 +0100 Subject: [PATCH 521/737] Added executable permissions for new-image.ps1 --- scripts/new-image.ps1 | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts/new-image.ps1 diff --git a/scripts/new-image.ps1 b/scripts/new-image.ps1 old mode 100644 new mode 100755 From 28b2e6250c8ee5c65e0c2481c446ca4d0e89df1c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 20 Nov 2025 17:01:26 +0100 Subject: [PATCH 522/737] Updated the manuals --- docs/add-firewall-rules.md | 2 +- docs/alert.md | 2 +- docs/build-repo.md | 40 ++++--- docs/build-repos.md | 41 ++++--- docs/calculate-BMI.md | 2 +- docs/cd-autostart.md | 16 +-- docs/cd-crashdumps.md | 8 +- docs/cd-desktop.md | 2 +- docs/cd-docs.md | 2 +- docs/cd-downloads.md | 2 +- docs/cd-dropbox.md | 2 +- docs/cd-etc.md | 2 +- docs/cd-fonts.md | 2 +- docs/cd-home.md | 2 +- docs/cd-jenkins.md | 2 +- docs/cd-logs.md | 2 +- docs/cd-music.md | 2 +- docs/cd-nextcloud.md | 2 +- docs/cd-onedrive.md | 2 +- docs/cd-pics.md | 2 +- docs/cd-public.md | 2 +- docs/cd-recent.md | 2 +- docs/cd-recycle-bin.md | 2 +- docs/cd-repo.md | 2 +- docs/cd-repos.md | 15 ++- docs/cd-root.md | 2 +- docs/cd-screenshots.md | 2 +- docs/cd-scripts.md | 2 +- docs/cd-ssh.md | 8 +- docs/cd-sync.md | 2 +- docs/cd-temp.md | 2 +- docs/cd-templates.md | 2 +- 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 | 2 +- docs/cd-videos.md | 2 +- docs/cd-windows.md | 2 +- 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 | 10 +- 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 | 15 +-- docs/check-outlook.md | 2 +- docs/check-password.md | 2 +- docs/check-pending-reboot.md | 3 +- 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 | 2 +- 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 | 2 +- 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-broken-file.md | 2 +- docs/copy-photos-sorted.md | 2 +- docs/copy-videos-sorted.md | 2 +- 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/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 | 2 +- docs/install-crystal-disk-mark.md | 2 +- docs/install-discord.md | 2 +- docs/install-edge.md | 2 +- docs/install-edit.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 | 2 +- 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 | 22 ++-- docs/install-rufus.md | 2 +- docs/install-salesforce-cli.md | 2 +- docs/install-scoop.md | 2 +- docs/install-signal-cli.md | 2 +- docs/install-spotify.md | 2 +- docs/install-ssh-client.md | 2 +- docs/install-ssh-server.md | 2 +- docs/install-syncthing.md | 2 +- docs/install-thunderbird.md | 2 +- docs/install-unbound-server.md | 2 +- docs/install-updates.md | 2 +- 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 | 2 +- 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 | 3 +- 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 | 2 +- docs/list-earthquakes.md | 2 +- docs/list-emojis.md | 2 +- docs/list-empty-dirs.md | 2 +- 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 | 12 +-- docs/list-news.md | 28 ++--- 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-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 | 2 +- docs/list-recycle-bin.md | 2 +- docs/list-repos.md | 18 ++-- 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 | 2 +- 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 | 21 ++-- 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 | 13 ++- 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 | 33 +++--- 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 | 4 +- docs/new-branch.md | 2 +- docs/new-dir.md | 2 +- docs/new-email.md | 2 +- docs/new-image.md | 53 +++++++++ docs/new-junction.md | 2 +- docs/new-linux-vm.md | 2 +- docs/new-markdown-file.md | 2 +- docs/new-passwords.md | 118 +++++++++++++++++++++ docs/new-pins.md | 110 +++++++++++++++++++ docs/new-power-plan.md | 2 +- docs/new-powershell-script.md | 2 +- docs/new-qrcode.md | 2 +- docs/new-reboot-task.md | 78 ++++++++------ docs/new-shortcut.md | 2 +- docs/new-ssh-key.md | 26 ++--- docs/new-story.md | 66 ++++++++++++ docs/new-symlink.md | 2 +- docs/new-tab.md | 2 +- docs/new-tag.md | 2 +- docs/new-text-file.md | 2 +- docs/new-user.md | 2 +- docs/new-windows-vm.md | 2 +- docs/on-desktop-login.md | 2 +- docs/open-URL.md | 4 +- 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-windy.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-ascii-video.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-tetris.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 | 2 +- docs/query-smart-data.md | 2 +- docs/reboot-fritzbox.md | 2 +- docs/reboot-into-bios.md | 41 +++++-- docs/reboot.md | 2 +- docs/remember.md | 2 +- docs/remind-me.md | 2 +- docs/remove-dir.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 | 2 +- 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 | 2 +- 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 | 8 +- docs/upgrade-ubuntu.md | 2 +- docs/upload-file.md | 2 +- docs/upload-to-dropbox.md | 2 +- docs/vi.md | 94 ++++++++++++++++ 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 | 48 ++++----- docs/watch-ping.md | 2 +- docs/weather-report.md | 2 +- docs/weather.md | 2 +- docs/what-is.md | 4 +- 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 | 2 +- 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 | 4 +- docs/write-in-emojis.md | 2 +- docs/write-joke.md | 2 +- 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-skull.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 +- 663 files changed, 1364 insertions(+), 864 deletions(-) create mode 100644 docs/new-image.md create mode 100644 docs/new-passwords.md create mode 100644 docs/new-pins.md create mode 100644 docs/new-story.md create mode 100644 docs/vi.md diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index f3b6c14e5..1291b91b3 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -117,4 +117,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* diff --git a/docs/alert.md b/docs/alert.md index f4095bffd..817b0942c 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* diff --git a/docs/build-repo.md b/docs/build-repo.md index 90a8314cf..7075aa42d 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -1,8 +1,9 @@ Script: *build-repo.ps1* ======================== -This PowerShell script builds a Git repository by supporting the following build -systems: autogen, cargo, cmake, configure, Gradle, Imakefile, Makefile, and Meson. +This PowerShell script builds an arbitrary source code repository by supporting +build systems like: autogen, cargo, cmake, configure, Gradle, Imakefile, Makefile, +Meson, and PowerShell (build.ps1). Parameters ---------- @@ -28,9 +29,9 @@ Example ------- ```powershell PS> ./build-repo.ps1 C:\Repos\ninja -⏳ Building 'ninja' by executing cmake... +⏳ Configuring CMake by executing 'cmake .'... ... -✅ Build of 'ninja' succeeded in 47s, results at: 📂C:\Repos\ninja\_results +✅ Repo 'ninja' built successfully in 47s, results at: 📂C:\Repos\ninja\_x86_64_build ``` @@ -49,15 +50,16 @@ Script Content .SYNOPSIS Builds a repo .DESCRIPTION - This PowerShell script builds a Git repository by supporting the following build - systems: autogen, cargo, cmake, configure, Gradle, Imakefile, Makefile, and Meson. + This PowerShell script builds an arbitrary source code repository by supporting + build systems like: autogen, cargo, cmake, configure, Gradle, Imakefile, Makefile, + Meson, and PowerShell (build.ps1). .PARAMETER path Specifies the file path to the Git repository (default: current working directory) .EXAMPLE PS> ./build-repo.ps1 C:\Repos\ninja - ⏳ Building 'ninja' by executing cmake... + ⏳ Configuring CMake by executing 'cmake .'... ... - ✅ Build of 'ninja' succeeded in 47s, results at: 📂C:\Repos\ninja\_results + ✅ Repo 'ninja' built successfully in 47s, results at: 📂C:\Repos\ninja\_x86_64_build .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -69,8 +71,9 @@ param([string]$path = "$PWD") function BuildFolder([string]$path) { $dirName = (Get-Item "$path").Name if (Test-Path "$path/CMakeLists.txt" -pathType leaf) { - "⏳ (1/3) Building '$dirName' by executing cmake..." - $global:results = "$path/_results/" + "⏳ (1/3) Configuring CMake by executing 'cmake .'..." + $arch = (uname -m) + $global:results = "$path/_$(arch)_build/" if (-not(Test-Path $global:results -pathType container)) { & mkdir $global:results } @@ -78,11 +81,11 @@ function BuildFolder([string]$path) { & cmake .. if ($lastExitCode -ne 0) { throw "Executing 'cmake ..' failed with exit code $lastExitCode" } - "⏳ (2/3) Executing 'make -j4' to compile and link..." + "⏳ (2/3) Building $dirName by executing 'make -j4'..." & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } - "⏳ (3/3) Checking '$dirName' by executing 'ctest -V'... (if tests are provided)" + "⏳ (3/3) Testing $dirName by 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) { @@ -162,6 +165,13 @@ function BuildFolder([string]$path) { & make -j4 if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } + } elseif (Test-Path "$path/build.ps1" -pathType leaf) { + + "⏳ Building '$dirName' by executing 'build.ps1'..." + Set-Location "$path/" + & ./build.ps1 + if ($lastExitCode -ne 0) { throw "Executing './build.ps1' failed with exit code $lastExitCode" } + } elseif (Test-Path "$path/compile.sh" -pathType leaf) { "⏳ Building '$dirName' by executing 'compile.sh'..." @@ -203,9 +213,9 @@ try { $dirName = (Get-Item "$path").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds if ($global:results -eq "") { - "✅ Build of '$dirName' succeeded in $($elapsed)s." + "✅ Repo '$dirName' built successfully in $($elapsed)s." } else { - "✅ Build of '$dirName' succeeded in $($elapsed)s, results at: 📂$($global:results)" + "✅ Repo '$dirName' built successfully in $($elapsed)s, results at: 📂$($global:results)" } exit 0 # success } catch { @@ -215,4 +225,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* diff --git a/docs/build-repos.md b/docs/build-repos.md index a0026b528..dce2e46f1 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -1,14 +1,14 @@ Script: *build-repos.ps1* ======================== -This PowerShell script builds all Git repositories in a folder. +This PowerShell script builds all Git repositories within a folder. Parameters ---------- ```powershell -PS> ./build-repos.ps1 [[-ParentDir] ] [] +PS> ./build-repos.ps1 [[-parentDir] ] [] --ParentDir +-parentDir Specifies the path to the parent folder Required? false @@ -43,10 +43,10 @@ Script Content ```powershell <# .SYNOPSIS - Builds Git repositories + Build Git repos .DESCRIPTION - This PowerShell script builds all Git repositories in a folder. -.PARAMETER ParentDir + This PowerShell script builds all Git repositories within a folder. +.PARAMETER parentDir Specifies the path to the parent folder .EXAMPLE PS> ./build-repos.ps1 C:\MyRepos @@ -56,26 +56,23 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -param([string]$ParentDir = "$PWD") +param([string]$parentDir = "$PWD") try { - $StopWatch = [system.diagnostics.stopwatch]::startNew() + $stopWatch = [system.diagnostics.stopwatch]::startNew() - $ParentDirName = (Get-Item "$ParentDir").Name - "⏳ Step 1 - Checking parent folder 📂$ParentDirName..." - if (-not(Test-Path "$ParentDir" -pathType container)) { throw "Can't access folder: $ParentDir" } - $Folders = (Get-ChildItem "$ParentDir" -attributes Directory) - $FolderCount = $Folders.Count - "Found $FolderCount subfolders." + $parentDirName = (Get-Item "$parentDir").Name + "⏳ Step 1 - Checking parent folder 📂$parentDirName..." + if (-not(Test-Path "$parentDir" -pathType container)) { throw "Can't access folder: $parentDir" } + $folders = (Get-ChildItem "$parentDir" -attributes Directory) + $numFolders = $folders.Count + "Found $numFolders subfolders." - [int]$Step = 1 - foreach ($Folder in $Folders) { - & "$PSScriptRoot/build-repo.ps1" "$Folder" - $Step++ + foreach ($folder in $folders) { + & "$PSScriptRoot/build-repo.ps1" "$folder" } - - [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✅ Built $FolderCount Git repositories at 📂$ParentDirName in $Elapsed sec" + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ $numFolders Git repositories built at 📂$parentDir in $($elapsed)s." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" @@ -83,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* diff --git a/docs/calculate-BMI.md b/docs/calculate-BMI.md index 11395eefa..a946049db 100644 --- a/docs/calculate-BMI.md +++ b/docs/calculate-BMI.md @@ -61,4 +61,4 @@ $result = $weight / ($height * $height) exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index ffe6f7f7e..54e4f8db5 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -1,7 +1,7 @@ Script: *cd-autostart.ps1* ======================== -This PowerShell script changes the working directory to the user's autostart folder. +This PowerShell script changes the current working directory to the autostart folder. Parameters ---------- @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-autostart.ps1 -📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup entered (has 0 files) +📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup entered, has 0 files. ``` @@ -34,12 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to the user's autostart folder + Sets the working directory to the autostart folder .DESCRIPTION - This PowerShell script changes the working directory to the user's autostart folder. + This PowerShell script changes the current working directory to the autostart folder. .EXAMPLE PS> ./cd-autostart.ps1 - 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup entered (has 0 files) + 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup entered, has 0 files. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -51,11 +51,11 @@ Script Content try { if ($IsLinux -or $IsMacOS) { throw "This script requires Windows" } - $path = Resolve-Path "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" + $path = Resolve-Path "$($env:APPDATA)/Microsoft/Windows/Start Menu/Programs/Startup" if (-not(Test-Path "$path" -pathType container)) { throw "The path to autostart folder '$path' doesn't exist (yet)" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - "📂$path entered (has $($files.Count) files)" + "📂$path entered, has $($files.Count) files." exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index a216287bb..97ff00b6a 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-crashdumps.ps1 -📂C:\Users\Markus\AppData\Local\CrashDumps entered (has 3 files) +📂C:\Users\Markus\AppData\Local\CrashDumps entered, has 3 files. ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash. .EXAMPLE PS> ./cd-crashdumps.ps1 - 📂C:\Users\Markus\AppData\Local\CrashDumps entered (has 3 files) + 📂C:\Users\Markus\AppData\Local\CrashDumps entered, has 3 files. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -59,7 +59,7 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - "📂$path entered (has $($files.Count) files)" + "📂$path entered, has $($files.Count) files." exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index ddb3f4fa9..a3d2dbd66 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index 4b6fbd563..c1fb81908 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index 53be038ad..c8807fc57 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index cd7b9afe7..936fe8588 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index cdc35f025..b092f65ee 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index a5c4dea8a..7daa5e923 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* diff --git a/docs/cd-home.md b/docs/cd-home.md index a9bc77930..cc7f7144f 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index ba4575b87..653d5a1ae 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index 60cf3f0c1..111fa4bae 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-music.md b/docs/cd-music.md index e13cd569f..7eda62165 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index 114fccd66..e6f48d763 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index ba0cc46bc..6660e777f 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index effbdff54..7d5ac7c8b 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-public.md b/docs/cd-public.md index 3ae89147c..d274a9129 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index e7cd291d3..76365f253 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index 5166c19d1..9679cf0e5 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index 3e253b136..2cf264d00 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index 9a3066e9f..60621b584 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -1,7 +1,7 @@ Script: *cd-repos.ps1* ======================== -This PowerShell script changes the current working directory to the folder for Git repositories. +This PowerShell script changes the current working directory to the Git repositories folder. Parameters ---------- @@ -36,7 +36,7 @@ Script Content .SYNOPSIS Sets the working dir to the repos folder .DESCRIPTION - This PowerShell script changes the current working directory to the folder for Git repositories. + This PowerShell script changes the current working directory to the Git repositories folder. .EXAMPLE PS> ./cd-repos.ps1 📂C:\Repos entered, has 33 subfolders. @@ -53,12 +53,19 @@ try { } elseif (Test-Path "~/repos" -pathType container) { $path = "~/repos" } elseif (Test-Path "~/Repositories" -pathType container) { $path = "~/Repositories" } elseif (Test-Path "~/repositories" -pathType container) { $path = "~/repositories" + } elseif (Test-Path "~/Git" -pathType container) { $path = "~/Git" + } elseif (Test-Path "~/git" -pathType container) { $path = "~/git" } elseif (Test-Path "/Repos" -pathType container) { $path = "/Repos" } elseif (Test-Path "/repos" -pathType container) { $path = "/repos" } elseif (Test-Path "/Repositories" -pathType container) { $path = "/Repositories" } elseif (Test-Path "/repositories" -pathType container) { $path = "/repositories" + } elseif (Test-Path "/Git" -pathType container) { $path = "/Git" + } elseif (Test-Path "/git" -pathType container) { $path = "/git" } 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 + } elseif (Test-Path "D:/Repos" -pathType container) { $path = "D:/Repos" # on HDD + } elseif (Test-Path "D:/Repositories" -pathType container) { $path = "D:/Repositories" # on HDD + } elseif (Test-Path "D:/Git" -pathType container) { $path = "D:/Git" # on HDD + } elseif (Test-Path "D:/git" -pathType container) { $path = "D:/git" # on HDD } else { throw "Found no folder for Git repositories (in home or root directory) - Please create one." } $path = Resolve-Path $path Set-Location "$path" @@ -71,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-root.md b/docs/cd-root.md index 41a482fda..d01cf85b1 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index e5cc4c78f..bbd18b764 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index 7840d98e3..96d369772 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index 6eb9a10aa..c1dc4abd0 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-ssh.ps1 -📂C:\Users\Markus\.ssh entered (has 4 files) +📂C:\Users\Markus\.ssh entered, has 4 files. ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes 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 entered, has 4 files. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -56,7 +56,7 @@ try { $path = Resolve-Path "$path" Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - "📂$path entered (has $($files.Count) files)" + "📂$path entered, has $($files.Count) files." exit 0 # success } catch { "⚠️ ERROR: $($Error[0])" @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-sync.md b/docs/cd-sync.md index 302d797b8..e17edee31 100644 --- a/docs/cd-sync.md +++ b/docs/cd-sync.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index 3eb425a30..ad7b6d033 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index 325a87ae7..ef0868ec1 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index aa23652e7..e13088fdc 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-up.md b/docs/cd-up.md index ce375cafe..7e143bbdd 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index 10b12a5a6..a6879f615 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index 94c49319a..ae6865ea4 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index f4ba3a15f..7b6ce1f55 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-users.md b/docs/cd-users.md index cfb1daf5f..8c082f309 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index 1550252e2..dfe6967ce 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index dc295f5ac..0cbb7bea3 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index 4dcae7ef4..d19495760 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-admin.md b/docs/check-admin.md index 1ed784333..0f1a23028 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-apps.md b/docs/check-apps.md index 45aefb90e..b300c5d02 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-bios.md b/docs/check-bios.md index d65c03a18..824de6099 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index 2fc81538a..a5e63e549 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index cec710302..dd4466d62 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-day.md b/docs/check-day.md index 0b722c48d..b5b7f7e67 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-dns.md b/docs/check-dns.md index 7c3529ef2..f3caf6e11 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index fc909980f..1bbd4fc0e 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 with 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 with 442GB free. + ✅ Drive C: uses 56% of 1TB (442GB free) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -98,12 +98,12 @@ try { if ($total -eq 0) { Write-Host "✅ Drive $driveName is empty" } elseif ($free -eq 0) { - Write-Host "⚠️ Drive $driveName with $(Bytes2String $total) is full" + Write-Host "⚠️ Drive $driveName with $(Bytes2String $total) is FULL" } elseif ($free -lt $minLevel) { 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) with $(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 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-drives.md b/docs/check-drives.md index 019decec1..f067461a4 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index f6bf56152..8e7cba56a 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index e33229d65..a10ec726d 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 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index 9acdb8192..4fad85c77 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 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-file.md b/docs/check-file.md index 954f2bb3e..fc601a2a4 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 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index 6c6e0ed32..758e5e5fe 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index 11401579c..9751576b9 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index c4d7c1e0e..f425ed2be 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 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-health.md b/docs/check-health.md index 47ffb3044..cbef6473b 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 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index a8d282624..28d197497 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 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index 2abbe1a55..1ee4c8619 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 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index 326dcc5a0..b5f2d40f0 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 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index d6d574c5f..6a849c934 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 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index d08e7a4ac..e563e91c0 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 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index 4a8697efd..f9069b0d1 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-month.md b/docs/check-month.md index a5a0891b6..ac3e770cc 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index 3e43a0532..c88244bc1 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 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index 472c2dcce..2d68bade3 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-network.md b/docs/check-network.md index 0c8e4cc68..4247b0b6c 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 10/17/2025 15:46:15)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-noon.md b/docs/check-noon.md index d904ce270..acbfc1717 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-os.md b/docs/check-os.md index 4ac4e89d7..a229678de 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -1,7 +1,7 @@ Script: *check-os.ps1* ======================== -This PowerShell script queries the operating system status and prints it. +This PowerShell script queries the operating system status and writes it to the console. Parameters ---------- @@ -34,9 +34,9 @@ Script Content ```powershell <# .SYNOPSIS - Checks the OS status + Check the OS status .DESCRIPTION - This PowerShell script queries the operating system status and prints it. + This PowerShell script queries the operating system status and writes it to the console. .EXAMPLE PS> ./check-os.ps1 ✅ Windows 10 Pro 64-bit since 6/22/2021 (v10.0.19045, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P) @@ -48,9 +48,10 @@ Script Content try { if ($IsLinux) { - $Name = $PSVersionTable.OS - if ([System.Environment]::Is64BitOperatingSystem) { $Arch = "64-bit" } else { $Arch = "32-bit" } - Write-Host "✅ $Name (Linux $Arch)" + $name = $PSVersionTable.OS + $kernel = (uname --kernel-release) + $architecture = (uname --machine) + Write-Host "✅ $name (Linux kernel $kernel on $architecture)" } else { $OS = Get-WmiObject -class Win32_OperatingSystem $Name = $OS.Caption -Replace "Microsoft Windows","Windows" @@ -73,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index c8cd2af02..b2c1198e5 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-password.md b/docs/check-password.md index 12bd8283c..9084558a7 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index bb29fec37..dbf3b75ec 100644 --- a/docs/check-pending-reboot.md +++ b/docs/check-pending-reboot.md @@ -24,7 +24,6 @@ Script Content This PowerShell script queries pending operating system reboots and prints it. .EXAMPLE ./check-pending-reboot.ps1 - ✅ No pending reboot. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -90,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index 6d5331903..9539c1afc 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-power.md b/docs/check-power.md index 5b69a46a2..a37187a86 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index 27e8be83d..8bf7ac902 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 3d00f79f9..3f8283a18 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-ram.md b/docs/check-ram.md index a3f25650d..b8bd2d025 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-repo.md b/docs/check-repo.md index 184f599c5..f53d3a425 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-repos.md b/docs/check-repos.md index 18e8657dc..21f491884 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-santa.md b/docs/check-santa.md index e5ce6dbd3..d61e56a5e 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index a103c4ca6..3a0b79370 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-software.md b/docs/check-software.md index c1c90705d..15ee4b11c 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index a2e69e97d..466595616 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index 76509c3fa..760ed2e14 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -108,4 +108,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index 1cd5aaa67..df445f2d0 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index 7bd949b16..734348614 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index ec4f360cf..7daaa7c56 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index 585ae7d29..137117b87 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/check-weather.md b/docs/check-weather.md index 0965714e5..a921c487f 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/check-week.md b/docs/check-week.md index 7f8c26c89..0e31a5c6a 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/check-wind.md b/docs/check-wind.md index 6a37823d7..37e1007ed 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index e111dd26b..a4d1cc195 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index 562468d2f..d83b7a83d 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index cc660cc1e..5d7ee4cf0 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index 7ee30464c..85f2ff0b8 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index 674b60ea6..d92b7fae6 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index 3a941aa76..c8d3e4e42 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index 0c4d57c2f..8b8f8c8a3 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index 573efcd92..12803e423 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index 8b1dc1956..acc5cf7d3 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index 0aa192d61..fa8029f2f 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index b61c7a746..2434fcc43 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index a87682b42..30c3a76f6 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-edge.md b/docs/close-edge.md index 3d672240a..8694aac4d 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index 2df7f067e..d5872fc9c 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index 61981ec6b..b2508582b 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index 3ac917e87..e9b5d9593 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index bf838475b..9f2295340 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 6c52b555d..5f6802c31 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index 040642ec2..8077a61e9 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index 2125a0568..ce9f1c9e9 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index 294de241b..ff4388f90 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index b37e91de8..f53495477 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index e81fd5e74..d9cf4e335 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index 8764bfcd0..10a8115ff 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index 4f32d276d..1f9a80a52 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-program.md b/docs/close-program.md index aa78a1bf4..d54621f8e 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index 7a70eb399..e024ff9fe 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index d4f947435..dc45a0248 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index ed3349ae1..8259d0d96 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index d578b68e7..5df9d5474 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index 7bda556a7..7f4da682c 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index 0fe5204e6..6df96427b 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index 25d7c889d..ea0e68927 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index c15e4d9ab..c2712a734 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index dd4800e3e..76ad211f4 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/configure-git.md b/docs/configure-git.md index 210238df8..be316187f 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index 5bb10741c..aa6e60091 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index d8c5ef1df..4d1b4b747 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-dir27z.md b/docs/convert-dir27z.md index 6c4fc946d..13841224c 100644 --- a/docs/convert-dir27z.md +++ b/docs/convert-dir27z.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index 44d3f89b9..0bcdc0d66 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index f63446e54..662d2375a 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index 051fe9065..23ad68867 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-history2ps1.md b/docs/convert-history2ps1.md index 5b1b2a6fc..b1ec80c43 100644 --- a/docs/convert-history2ps1.md +++ b/docs/convert-history2ps1.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index d297320a6..625a17abe 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index ee42a304d..0bbdf60a9 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index 63bbb0e23..917cb85cf 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-images2webp.md b/docs/convert-images2webp.md index 21f376103..9787c1290 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 10/17/2025 15:46:16)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index 541350cb6..fe6de836b 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 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index a94c7cff4..52f9573a2 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index 2545514e6..776eba0ce 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 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index bade5420e..899d24c9f 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index 92c77eae0..21e730908 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index 99ce87e7b..ebbb357a3 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -186,4 +186,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index 8a902020a..6e798495c 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index 4b5b1b107..e7d2bc2d9 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/copy-broken-file.md b/docs/copy-broken-file.md index 30ecc55bf..385af5e20 100644 --- a/docs/copy-broken-file.md +++ b/docs/copy-broken-file.md @@ -683,4 +683,4 @@ if ($UnreadableBlocks) { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index 7b6a66406..e5d495512 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -153,4 +153,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/copy-videos-sorted.md b/docs/copy-videos-sorted.md index 0a0974f94..18c59ac07 100644 --- a/docs/copy-videos-sorted.md +++ b/docs/copy-videos-sorted.md @@ -136,4 +136,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/count-characters.md b/docs/count-characters.md index b33ea1613..59e920da5 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/count-lines.md b/docs/count-lines.md index 4cb41ee57..af5f9d9ea 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index c270de1c8..516c1960e 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -199,4 +199,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index cbaaf2904..4b8c7ad12 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index 3b95ac388..52a0858eb 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/download-dir.md b/docs/download-dir.md index ad2c2e5e1..7ff78d648 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/download-file.md b/docs/download-file.md index 060b4866f..60521ad66 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 78338d24d..be56cc299 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -346,4 +346,4 @@ Else exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index ec478199c..039d0370e 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 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index 320e5a479..4e0181388 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index 232854529..61631acfc 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -184,4 +184,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index fbc0ad7f9..41633e0bf 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 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/enter-host.md b/docs/enter-host.md index 84b03a986..7c2c9018f 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index b4c83704d..73e14dc51 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 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index 8cc576752..4919f5f25 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 5c8251c4c..4ef45b23a 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index e8b2a6b9a..6b5d1b72e 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -64,4 +64,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 615852829..024c033d0 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index 089df5bb5..850d5b45b 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index 10bbfdce3..839e6781a 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/get-sha512.md b/docs/get-sha512.md index b75ef1a12..6f1ec371e 100644 --- a/docs/get-sha512.md +++ b/docs/get-sha512.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/hello-world.md b/docs/hello-world.md index 2ce72bb35..2ac753626 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 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 73670afeb..1f19b4c8a 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/import-vm.md b/docs/import-vm.md index 58a4fc581..881184c5d 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 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index 5a04e5e36..58b87f93f 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index ed12ccb34..27647cf03 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index 84a1fead5..bf1eea534 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 8292e70df..9b5ba7fae 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index 48c1068b9..91ba621d9 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 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index d6ca29650..a9beebdde 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index 0b920f4dc..cd1faa92a 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index 8fd671c9c..43a9035da 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index a5aa8e989..beb0d73f9 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-discord.md b/docs/install-discord.md index 7116e5936..5babbd67c 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-edge.md b/docs/install-edge.md index 113059a98..d1649021c 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-edit.md b/docs/install-edit.md index 456103995..298077316 100644 --- a/docs/install-edit.md +++ b/docs/install-edit.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index cdbf509a6..d818e7677 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index e92ddfe26..1493a1f82 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-fonts.md b/docs/install-fonts.md index 6bec06dc7..fe9ff6124 100644 --- a/docs/install-fonts.md +++ b/docs/install-fonts.md @@ -53,4 +53,4 @@ foreach ($font in $fontFiles) { Write-Output "Fonts have been installed successfully." ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index 4dd5ab014..522ea11b9 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index cb6824a05..a069ec76d 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index 406158e55..779e2fdfd 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index b1a1df21e..8eb329976 100644 --- a/docs/install-gitlab.md +++ b/docs/install-gitlab.md @@ -32,4 +32,4 @@ Script Content ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-h2static.md b/docs/install-h2static.md index fd7e4e7de..83fba268a 100644 --- a/docs/install-h2static.md +++ b/docs/install-h2static.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index 3ef453315..17183da51 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-jenkins-agent.md b/docs/install-jenkins-agent.md index f2f056c70..26f88a2e1 100644 --- a/docs/install-jenkins-agent.md +++ b/docs/install-jenkins-agent.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index 6d9005745..73e1e6508 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 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index 228af389e..6f4454f7c 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-mini-dlna.md b/docs/install-mini-dlna.md index b257d4421..0982da71c 100644 --- a/docs/install-mini-dlna.md +++ b/docs/install-mini-dlna.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index a3eb8dbef..4ab6621c8 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index a0cb31127..7385f4dbe 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index a1660734b..4eaa0ce97 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -33,4 +33,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index e0b9bf817..47b1741e9 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index 417dd5fe6..afbe52dc3 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index c795396ae..ff19384b4 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index 1f8305947..aa0c7fd95 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index 7639582cf..aeb05e198 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index 8e8967c4a..6ca2c0f2a 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -378,13 +378,14 @@ function Add-PathTToSettings { $Key.SetValue("PATH", $NewPathValue, $PathValueKind) } +Write-Host "⏳ (1/6) Querying platform... " -noNewline if ($IsLinux) { - $platform = (uname -i) + $platform = (uname -m) if ($platform -eq "x86_64") { $architecture = "x64" } elseif ($platform -eq "x86_32") { $architecture = "x86" } elseif ($platform -eq "aarch64") { $architecture = "arm64" } elseif ($platform -eq "aarch32") { $architecture = "arm32" } - else { Write-Host "Unknown platform $platform" } + else { Write-Host "Unknown platform '$platform'" } } elseif (-not $IsWinEnv) { $architecture = "x64" } elseif ($(Get-ComputerInfo -Property OsArchitecture).OsArchitecture -eq "ARM 64-bit Processor") { @@ -396,6 +397,7 @@ if ($IsLinux) { default { throw "PowerShell package for OS architecture '$_' is not supported." } } } +Write-Host "$architecture" $tempDir = Join-Path ([System.IO.Path]::GetTempPath()) ([System.IO.Path]::GetRandomFileName()) $null = New-Item -ItemType Directory -Path $tempDir -Force -ErrorAction SilentlyContinue try { @@ -482,7 +484,7 @@ try { tar zxf $packagePath -C $contentPath } } else { - Write-Host "⏳ (1/5) Querying infos from https://raw.githubusercontent.com ..." + Write-Host "⏳ (2/6) Querying infos from https://raw.githubusercontent.com ..." $metadata = Invoke-RestMethod https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/metadata.json if ($Preview) { $release = $metadata.PreviewReleaseTag -replace '^v' @@ -508,7 +510,7 @@ try { Write-Host " Latest release is $release for $architecture (package name: $packageName)" $downloadURL = "https://github.com/PowerShell/PowerShell/releases/download/v${release}/${packageName}" - Write-Host "⏳ (2/5) Loading $downloadURL" + Write-Host "⏳ (3/6) Loading $downloadURL" $packagePath = Join-Path -Path $tempDir -ChildPath $packageName if (!$PSVersionTable.ContainsKey('PSEdition') -or $PSVersionTable.PSEdition -eq "Desktop") { @@ -551,13 +553,13 @@ try { Expand-ArchiveInternal -Path $packagePath -DestinationPath $contentPath } } else { - Write-Host "⏳ (3/5) Extracting to $contentPath..." + Write-Host "⏳ (4/6) Extracting to $contentPath..." & tar zxf $packagePath -C $contentPath } } if (-not $UseMSI) { - Write-Host "⏳ (4/5) Removing old installation at $Destination ..." + Write-Host "⏳ (5/6) Removing old installation at $Destination ..." if ($IsLinuxEnv) { & sudo rm -rf "$Destination" } else { @@ -565,18 +567,18 @@ try { } if (Test-Path $Destination) { - Write-Host "⏳ (5/5) Copying files to $Destination... " + Write-Host "⏳ (6/6) Copying files to $Destination... " # only copy files as folders will already exist at $Destination Get-ChildItem -Recurse -Path "$contentPath" -File | ForEach-Object { $DestinationFilePath = Join-Path $Destination $_.fullname.replace($contentPath, "") Copy-Item $_.fullname -Destination $DestinationFilePath } } elseif ($IsWinEnv) { - Write-Host "⏳ (5/5) Moving new installation to $Destination... " + Write-Host "⏳ (6/6) Moving new installation to $Destination... " $null = New-Item -Path (Split-Path -Path $Destination -Parent) -ItemType Directory -ErrorAction SilentlyContinue Move-Item -Path $contentPath -Destination $Destination } else { - Write-Host "⏳ (5/5) Moving new installation to $Destination... " + Write-Host "⏳ (6/6) Moving new installation to $Destination... " & sudo mv "$contentPath" "$Destination" } } @@ -662,4 +664,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index df75d8b84..751cb1de5 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index 0b401ed12..b325d2973 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-scoop.md b/docs/install-scoop.md index 43a3beedc..c6aeedea9 100644 --- a/docs/install-scoop.md +++ b/docs/install-scoop.md @@ -21,4 +21,4 @@ Script Content Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index a2412cbde..324f9557d 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index 8a6e9edcd..1a613a300 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index 986da5935..fee24e41a 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 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index 962ed9f1c..280b5656e 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 10/17/2025 15:46:17)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-syncthing.md b/docs/install-syncthing.md index f85b7803a..513d40eb6 100644 --- a/docs/install-syncthing.md +++ b/docs/install-syncthing.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index a511e7d9a..1046c8848 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index 57f39e733..9268b0e29 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-updates.md b/docs/install-updates.md index 01fd34580..74cfe1849 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -116,4 +116,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index 0e7a1fef9..a21362f14 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index 40879b575..2e6e697c4 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index fc8ed725d..cf67d8b7a 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index e67580e40..8031fc70e 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index 94e69f8bf..6af2f60a7 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index 83a5b58d5..cf3f2cd66 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index dd7a746a2..0381bd800 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/kill-process.md b/docs/kill-process.md index 2d66a00cd..69f751598 100644 --- a/docs/kill-process.md +++ b/docs/kill-process.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index 728371388..b2b5cc8e4 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index 75d12b2d5..bf7c31dfc 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-apps.md b/docs/list-apps.md index 7e2cf7d16..f801ec1bc 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index 36371ff60..7c9954ac5 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index 34140e6e8..9c99cb34f 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index b08f99c4a..6ff555180 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-bios.md b/docs/list-bios.md index f18f0d700..09431ccf1 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index f8bdc8e78..3c0b48c61 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-branches.md b/docs/list-branches.md index a34efe211..ed0d80e2d 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -109,4 +109,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index a42113065..3644b9acd 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -247,4 +247,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index 0b24e56ee..ce1c1763e 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index 51e19a7de..84d4d5af9 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index 80613f9b5..19593a60c 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -202,6 +202,7 @@ function List-CLI-Tools { ListTool gh "--version" ListTool git "--version" ListTool gkill "--version" + ListTool glxinfo "" ListTool gmondump "--version" ListTool go "version" ListTool gpg "--version" @@ -370,4 +371,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index 76bf3c47f..9474c0e72 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index d20a28ffa..0ebfa060b 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index 502bb85dd..677fce2a6 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index c120ce1f5..9efb9e230 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-commits.md b/docs/list-commits.md index 9d57ed89c..1e19066c6 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 10948b356..8341b6e0b 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* diff --git a/docs/list-countries.md b/docs/list-countries.md index cb4e2941c..1ec6aedcb 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -52,4 +52,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index e0a1a2678..ee5c4cee8 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index 0ff5a0d93..6f3590284 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index c9ea135c6..263a63ee6 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index c66982304..b264539ec 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index b797c73e5..f154f3fc3 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-drives.md b/docs/list-drives.md index 79d0b79fa..b95110dd4 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index fb3dda033..e2900186c 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index c7c194f18..67660a6eb 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 060e08827..991648dfe 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index 663a879d5..01f4a88af 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index 1f7d195e4..c2930fbe3 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index c17a20914..5fc03f159 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index a9e9ac293..0c8f86cec 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index 9a903fc8d..757053cae 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-executables.md b/docs/list-executables.md index a51f0ad26..81ff576e2 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index b11f238cd..38b7669e6 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-files.md b/docs/list-files.md index 0ce9dcf8e..edeca6c7b 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-folder.md b/docs/list-folder.md index a29654348..12d6f00a1 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index ace3a654c..dea72aa8c 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index 8c2fc5c7f..832df8181 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index e3fd78d72..dc83af4eb 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index 09a8d4a2a..fa0a2b525 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-installed-hotfixes.md b/docs/list-installed-hotfixes.md index 19ae9f1fd..8950ab55b 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index 3a50f2ae6..7afeb67dd 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index c8fe511b6..2674537eb 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index 57e981aa0..172a55a85 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index 3fa2cfe3e..168d4f24f 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index ab987d47f..a184075f4 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index 005218078..018ed3914 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index 27f4c5dab..3b2fd2030 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index c4d160e7b..45bd221cb 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index ee9b712e8..546756fe7 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-memos.md b/docs/list-memos.md index d24ec1706..6d07d688c 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index d6e37b3c2..57d5ff9d8 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index dc8a52d00..6ba7abd44 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index e3a9d4521..56a872061 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index a082688d8..e3e828fa4 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 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index de89d4258..dfbee168f 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./list-network-shares.ps1 -✅ Shared folder \\LAPTOP\Public -> D:\Public ("File transfer folder") +✅ Folder D:\Public shared as: \\LAPTOP\Public ('File transfer folder') ``` @@ -34,12 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Lists the network shares + List network shares .DESCRIPTION This PowerShell script lists all network shares (aka "shared folders") of the local computer. .EXAMPLE PS> ./list-network-shares.ps1 - ✅ Shared folder \\LAPTOP\Public -> D:\Public ("File transfer folder") + ✅ Folder D:\Public shared as: \\LAPTOP\Public ('File transfer folder') .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -53,9 +53,9 @@ try { $shares = Get-WmiObject win32_share | where {$_.name -NotLike "*$"} foreach ($share in $shares) { if ($share.Description -eq "") { - Write-Host "✅ Shared folder \\$(hostname)\$($share.Name) -> $($share.Path)" + Write-Host "✅ Folder $($share.Path) shared as: \\$(hostname)\$($share.Name)" } else { - Write-Host "✅ Shared folder \\$(hostname)\$($share.Name) -> $($share.Path) (`"$($share.Description)`")" + Write-Host "✅ Folder $($share.Path) shared as: \\$(hostname)\$($share.Name) ('$($share.Description)')" } } } @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:18)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-news.md b/docs/list-news.md index 7f25ea677..01c94fba6 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -9,17 +9,17 @@ Parameters PS> ./list-news.ps1 [[-RSS_URL] ] [[-maxLines] ] [[-speed] ] [] -RSS_URL - Specifies the URL to the RSS feed (Yahoo World News by default) + Specifies the URL to the RSS feed (default: New York Times) Required? false Position? 1 - Default value https://news.yahoo.com/rss/world + Default value https://rss.nytimes.com/services/xml/rss/nyt/World.xml Accept pipeline input? false Aliases Accept wildcard characters? false -maxLines - Specifies the maximum number of lines to list (24 by default) + Specifies the maximum number of lines to list (default: 24) Required? false Position? 2 @@ -29,7 +29,7 @@ PS> ./list-news.ps1 [[-RSS_URL] ] [[-maxLines] ] [[-speed] - Specifies the speed to write the text (10 ms by default) + Specifies the speed to write the text (default: 10ms) Required? false Position? 3 @@ -48,7 +48,7 @@ Example ```powershell PS> ./list-news.ps1 - UTC HEADLINES (source: https://www.yahoo.com/news/world) + UTC HEADLINES (source: https://www.nytimes.com/section/world) --- --------- 09:15 Deadly Mediterranean wildfires kill more than 40 ... @@ -72,15 +72,15 @@ Script Content .DESCRIPTION This PowerShell script lists the latest news by using a RSS (Really Simple Syndication) feed. .PARAMETER RSS_URL - Specifies the URL to the RSS feed (Yahoo World News by default) + Specifies the URL to the RSS feed (default: New York Times) .PARAMETER maxLines - Specifies the maximum number of lines to list (24 by default) + Specifies the maximum number of lines to list (default: 24) .PARAMETER speed - Specifies the speed to write the text (10 ms by default) + Specifies the speed to write the text (default: 10ms) .EXAMPLE PS> ./list-news.ps1 - UTC HEADLINES (source: https://www.yahoo.com/news/world) + UTC HEADLINES (source: https://www.nytimes.com/section/world) --- --------- 09:15 Deadly Mediterranean wildfires kill more than 40 ... @@ -90,20 +90,20 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -param([string]$RSS_URL = "https://news.yahoo.com/rss/world", [int]$maxLines = 24, [int]$speed = 5) +param([string]$RSS_URL = "https://rss.nytimes.com/services/xml/rss/nyt/World.xml", [int]$maxLines = 24, [int]$speed = 5) try { [xml]$content = (Invoke-WebRequest -URI $RSS_URL -useBasicParsing).Content $title = $content.rss.channel.title $URL = $content.rss.channel.link - Write-Host "`n UTC HEADLINES (source: " -noNewline + Write-Host "`n UTC HEADLINES (source: " -noNewline Write-Host $URL -foregroundColor blue -noNewline Write-Host ")" - Write-Host " --- ---------" + Write-Host " --- ---------" [int]$count = 1 foreach ($item in $content.rss.channel.item) { $title = $item.title -replace "â","'" - $time = $item.pubDate.Substring(11, 5) + $time = $item.pubDate.Substring(16, 6) & "$PSScriptRoot/write-typewriter.ps1" "$time $title" $speed if ($count++ -eq $maxLines) { break } } @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-nic.md b/docs/list-nic.md index 38f28f9ed..fb8f28dfa 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index f8ee7b04c..f71524b3b 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index ac9f7e546..37afaedfa 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index 08260fa60..40864a50e 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index 78c4d02aa..d6ff6df5a 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-os.md b/docs/list-os.md index 399892e84..32e476c62 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index c09718d54..7da707357 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index 1913d4e45..f23580bb5 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index 2499c8f75..38b918948 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index 5da7a349f..df82a152e 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index 64ea7d528..da078048e 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index 6aa77bb32..616a9efb5 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index f53cb3622..bcf2714f7 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 96381f689..710e5ca06 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-processes.md b/docs/list-processes.md index faff27101..d697ade66 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index ea83f9995..3948fdc8e 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-ram.md b/docs/list-ram.md index 9d3d0dbad..04498dbe0 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index 0b1d63e75..b38b76f9d 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index 3276b4d03..7a6a8e2f5 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-repos.md b/docs/list-repos.md index c8ec1836f..6843d223e 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -30,9 +30,9 @@ PS> ./list-repos.ps1 C:\MyRepos -REPOSITORY LATEST TAG BRANCH REMOTE URL STATUS ----------- ---------- ------ ---------- ------ -📂cmake v3.30.2 master https://github.com/Kitware/CMake ↓0 ✅clean +REPOSITORY LATEST TAG BRANCH REMOTE URL STATUS +---------- ---------- ------ ---------- ------ +📂cmake v3.30.2 master https://github.com/Kitware/CMake ✅clean ↓0 ... ``` @@ -58,9 +58,9 @@ Script Content .EXAMPLE PS> ./list-repos.ps1 C:\MyRepos - REPOSITORY LATEST TAG BRANCH REMOTE URL STATUS - ---------- ---------- ------ ---------- ------ - 📂cmake v3.30.2 master https://github.com/Kitware/CMake ↓0 ✅clean + REPOSITORY LATEST TAG BRANCH REMOTE URL STATUS + ---------- ---------- ------ ---------- ------ + 📂cmake v3.30.2 master https://github.com/Kitware/CMake ✅clean ↓0 ... .LINK https://github.com/fleschutz/PowerShell @@ -86,7 +86,7 @@ function ListRepos { $status = (git -C "$dir" status --short) if ("$status" -eq "") { $status = "✅clean" } elseif ("$status" -like " M *") { $status = "⚠️changed" } - New-Object PSObject -property @{'REPOSITORY'="📂$dirName";'LATEST TAG'="$latestTag";'BRANCH'="$branch";'REMOTE URL'="$remoteURL ↓$numCommits";'STATUS'="$status"} + New-Object PSObject -property @{'REPOSITORY'="📂$dirName";'LATEST TAG'="$latestTag";'BRANCH'="$branch";'REMOTE URL'="$remoteURL";'STATUS'="$status ↓$numCommits"} } } @@ -96,7 +96,7 @@ try { $null = (git --version) if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } - ListRepos | Format-Table -property @{e='REPOSITORY';width=19},@{e='LATEST TAG';width=16},@{e='BRANCH';width=19},@{e='REMOTE URL';width=50},@{e='STATUS';width=10} + ListRepos | Format-Table -property @{e='REPOSITORY';width=19},@{e='LATEST TAG';width=16},@{e='BRANCH';width=17},@{e='REMOTE URL';width=48},@{e='STATUS';width=14} exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index 85c78f121..89645f9c3 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index 4a6278530..a0e272ff7 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-services.md b/docs/list-services.md index 3bc3df804..66a979c6f 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index 3553d1e56..6aa240bda 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index 4a2182750..a8274101e 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index ee65a1db6..607f2a085 100644 --- a/docs/list-ssh-key.md +++ b/docs/list-ssh-key.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index 49a488d30..af0f3e9db 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index 64d56f776..c50362e6b 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index a7fdcd73d..56f64d3dd 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index 0218497be..9444e251b 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index efaca1479..dfc988c11 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-tags.md b/docs/list-tags.md index 55c3c5899..019d22892 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index a533e600f..31b6d7bda 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index 33340de01..edee13e23 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 0acee3339..46ce8d689 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index 35f00fbee..725ec3d01 100644 --- a/docs/list-tiobe-index.md +++ b/docs/list-tiobe-index.md @@ -61,17 +61,24 @@ function WriteBar { param([string]$text, [float]$value, [float]$max, [float]$cha try { Write-Host "" - Write-Host "TIOBE INDEX 2021-06 (source: https://www.tiobe.com)" - Write-Host "====================================================" + Write-Host "" + Write-Host "`t`t`t`tTIOBE Index for November 2025" + Write-Host "`t`t`t`t=============================" Write-Host "" $table = Import-CSV "$PSScriptRoot/../data/TIOBE-index.csv" foreach($row in $table) { - [string]$name = $row.Language - [float]$value = $row.Popularity - [float]$change = $row.Change - WriteBar $name $value 14.0 $change + [string]$rank = "{0,2}" -f $row.RANK + [string]$language = "{0,-20}" -f $row.LANGUAGE + [float]$popularity = $row.POPULARITY + [float]$change = $row.CHANGE + Write-Host "$($rank). $language" -noNewline + WriteBar "" $popularity 30.0 $change } + Write-Host "" + Write-Host "Source: " -noNewline + Write-Host "https://tiobe.com/tiobe-index/" -foregroundColor blue -noNewline + Write-Host " ( to open the link in your browser)" exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" @@ -79,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index 077d63ca3..28a2f2f2e 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-updates.md b/docs/list-updates.md index 2181bfeb3..f27d752e3 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index 5eb753760..46eb8e51f 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 5277107cb..2de417efd 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index 9b01de4c9..5e4dc7690 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-voices.md b/docs/list-voices.md index b3179ef6f..95fa5da65 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-weather.md b/docs/list-weather.md index 7bf530289..b962cbd9a 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -64,7 +64,7 @@ Script Content param([string]$location = "") # empty means determine automatically -function GetDescription([string]$text) { +function GetEmoji([string]$text) { switch ($text) { "Blizzard" { return "❄️" } "Blowing snow" { return "❄️" } @@ -146,17 +146,16 @@ try { [int]$day = 0 foreach($hourly in $weather.weather.hourly) { $hour = $hourly.time / 100 - $tempC = $(($hourly.tempC.toString()).PadLeft(2)) + $temp = $(($hourly.tempC.toString()).PadLeft(2)) $precip = $($($hourly.precipMM).PadLeft(4)) $humidity = $(($hourly.humidity.toString()).PadLeft(3)) - $pressure = $hourly.pressure $windSpeed = $(($hourly.windspeedKmph.toString()).PadLeft(2)) $windDir = GetWindDir $hourly.winddir16Point - $UV = $hourly.uvIndex $clouds = $(($hourly.cloudcover.toString()).PadLeft(3)) + $UV = $hourly.uvIndex $visib = $(($hourly.visibility.toString()).PadLeft(2)) $desc = $hourly.weatherDesc.value.trim() - $icon = GetDescription $desc + $emoji = GetEmoji $desc if ($hour -eq 0) { if ($day -eq 0) { Write-Host "`nTODAY Temp ☂️mm 💧 💨km/h ☁️ ☀️UV 👁 km $area ($region, $country)" -foregroundColor green @@ -171,7 +170,7 @@ try { } $day++ } - "$(($hour.toString()).PadLeft(2))h $($icon)$tempC° $precip $humidity% $($windDir)$windSpeed $clouds% $UV $visib $desc" + "$(($hour.toString()).PadLeft(2))h $($emoji)$temp° $precip $humidity% $($windDir)$windSpeed $clouds% $UV $visib $desc" } exit 0 # success } catch { @@ -180,4 +179,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index 52decfc9b..8b1cdd530 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index 20acac630..92a689fbf 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index ba34dedbe..058aa3824 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index 621d2c327..cd62ae6d5 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/locate-city.md b/docs/locate-city.md index 1eda43e6f..fd331e78c 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -1,7 +1,7 @@ Script: *locate-city.ps1* ======================== -This PowerShell script prints the geographic location of the given city. +This PowerShell script shows the geographic location of the given city. Parameters ---------- @@ -9,7 +9,7 @@ Parameters PS> ./locate-city.ps1 [[-city] ] [] -city - Specifies the name of the city to look for + Specifies the name of the city (ask the user if not given) Required? false Position? 1 @@ -27,8 +27,8 @@ Example ------- ```powershell PS> ./locate-city.ps1 Amsterdam -* Amsterdam (United States, New York, population 21241) is at 42.9420°N, -74.1907°W -* Amsterdam (Netherlands, Noord-Holland, population 1031000) is at 52.3500°N, 4.9166°W +📍Amsterdam in New York (United States) with population 21241 is at 42.9420°N, -74.1907°W. +📍Amsterdam in Noord-Holland (Netherlands) with population 1031000 is at 52.3500°N, 4.9166°W. ``` @@ -45,15 +45,15 @@ Script Content ```powershell <# .SYNOPSIS - Prints the geographic location of a city + Shows the geographic location of a city .DESCRIPTION - This PowerShell script prints the geographic location of the given city. + This PowerShell script shows the geographic location of the given city. .PARAMETER city - Specifies the name of the city to look for + Specifies the name of the city (ask the user if not given) .EXAMPLE PS> ./locate-city.ps1 Amsterdam - * Amsterdam (United States, New York, population 21241) is at 42.9420°N, -74.1907°W - * Amsterdam (Netherlands, Noord-Holland, population 1031000) is at 52.3500°N, 4.9166°W + 📍Amsterdam in New York (United States) with population 21241 is at 42.9420°N, -74.1907°W. + 📍Amsterdam in Noord-Holland (Netherlands) with population 1031000 is at 52.3500°N, 4.9166°W. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -67,20 +67,21 @@ try { Write-Progress "Reading data/worldcities.csv..." $table = Import-CSV "$PSScriptRoot/../data/worldcities.csv" - - $foundOne = 0 + $foundOne = $false foreach($row in $table) { if ($row.city -eq $city) { - $foundOne = 1 + $foundOne = $true $country = $row.country $region = $row.admin_name $lat = $row.lat - $long = $row.lng + $lng = $row.lng + if ($lat -lt 0.0) { $latText = "$(-$lat)°S" } else { $latText = "$lat°N" } + if ($lng -lt 0.0) { $lngText = "$(-$lng)°E" } else { $lngText = "$lng°W" } $population = $row.population - Write-Host "* $city ($country, $region, population $population) is at $lat°N, $long°W" + "📍$city in $region ($country) with population $population is at $latText, $lngText." } } - if (-not $foundOne) { throw "No city '$city' found in database" } + if (-not $foundOne) { throw "There's no city '$city' in the database" } exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" @@ -88,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index fc59cf926..8e4845421 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -46,4 +46,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index f061c05e3..039fe5473 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index c709304b0..3dcff6e91 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index 8f83544e0..94e51b1bc 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/log-off.md b/docs/log-off.md index c0f29f9a3..834cbf963 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/make-install.md b/docs/make-install.md index a5ee38754..b47888f13 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index 09a1b0c6e..e37c962c1 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index c015c8ea4..b904b0180 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index 1d92375c6..66a95d7ed 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index 41510866f..c3a8882c3 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index ad785cd63..64b99347c 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index e38a2fc85..4387029a2 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index 70b9cde21..63566fa1c 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index b90327a52..6bae43fc9 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index 90a4493f0..a89fc617a 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index 78340661c..9e990a7d2 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index e342d7d50..766557b3b 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index 2be155e8e..01a33aae7 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/move-vm.md b/docs/move-vm.md index ce056ae19..d32648c71 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/my-profile.md b/docs/my-profile.md index 9d71966ee..553ce048e 100644 --- a/docs/my-profile.md +++ b/docs/my-profile.md @@ -24,7 +24,7 @@ if ($IsLinux) { $username = $(whoami) } else { $username = $env:USERNAME } $host.ui.RawUI.WindowTitle = "$username @ $(hostname)" # GREETING -Write-Host "✨ Welcome $username to $(hostname) - type 'FAQ' for help." -foregroundColor green +Write-Host "✨ Welcome to $(hostname)'s PowerShell prompt - type 'FAQ' for help." -foregroundColor green # PROMPT function prompt { Write-Host "`n➤ " -noNewline -foregroundColor yellow; return " " } @@ -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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-branch.md b/docs/new-branch.md index 80d9b9744..b56002899 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 1db1cd22a..6d0a0232d 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-email.md b/docs/new-email.md index 2768e5747..f638c23a1 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-image.md b/docs/new-image.md new file mode 100644 index 000000000..b35fe20c0 --- /dev/null +++ b/docs/new-image.md @@ -0,0 +1,53 @@ +Script: *new-image.ps1* +======================== + +This script launches the Web browser with texttoimage.org to create a new image. + +Parameters +---------- +```powershell +PS> ./new-image.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./new-image.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Create an image +.DESCRIPTION + This script launches the Web browser with texttoimage.org to create a new image. +.EXAMPLE + PS> ./new-image.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +#requires -version 5.1 + +& "$PSScriptRoot/open-URL.ps1" "https://www.texttoimage.org" "Text to Image: " +exit 0 # success +``` + +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-junction.md b/docs/new-junction.md index 152aab5cf..62f5e457d 100644 --- a/docs/new-junction.md +++ b/docs/new-junction.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index 25611be8f..66544bf93 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 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-markdown-file.md b/docs/new-markdown-file.md index 411c2f58e..885ce4b2d 100644 --- a/docs/new-markdown-file.md +++ b/docs/new-markdown-file.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:19)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-passwords.md b/docs/new-passwords.md new file mode 100644 index 000000000..d6c08f6c8 --- /dev/null +++ b/docs/new-passwords.md @@ -0,0 +1,118 @@ +Script: *new-passwords.ps1* +======================== + +This PowerShell script generates a table of secure passwords and writes them to the console (for +the user to select one). +NOTE: The NIST and CISA recommendation of 2024 for very strong passwords is at least 16 characters! + +Parameters +---------- +```powershell +PS> ./new-passwords.ps1 [[-passwordLength] ] [[-columns] ] [[-rows] ] [] + +-passwordLength + Specifies the length of the password (default: 16) + + Required? false + Position? 1 + Default value 16 + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +-columns + Specifies the number of columns (default: 6) + + Required? false + Position? 2 + Default value 6 + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +-rows + Specifies the number of rows (default: 27) + + Required? false + Position? 3 + Default value 27 + 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-passwords.ps1 +P6zYR't)/TrfEMJa %.]wrp@&w;`Z`Fv$ =q8},Bvn/)Moqg ;Kz|I[tG$t"3kj6x <. ./new-passwords.ps1 + P6zYR't)/TrfEMJa %.]wrp@&w;`Z`Fv$ =q8},Bvn/)Moqg ;Kz|I[tG$t"3kj6x <. + +param([int]$passwordLength = 16, [int]$columns = 6, [int]$rows = 27) + +try { + [int]$minCharCode = 33 + [int]$maxCharCode = 126 + $generator = New-Object System.Random + for ([int]$row = 0; $row -lt $rows; $row++) { + $line = "" + for ([int]$col = 0; $col -lt $columns; $col++) { + for ([int]$i = 0; $i -lt $passwordLength; $i++) { + $line += [char]$generator.next($minCharCode, $maxCharCode) + } + $line += " " + } + Write-Output $line + } + exit 0 # success +} catch { + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-pins.md b/docs/new-pins.md new file mode 100644 index 000000000..634f54658 --- /dev/null +++ b/docs/new-pins.md @@ -0,0 +1,110 @@ +Script: *new-pins.ps1* +======================== + +This PowerShell script generates a table of random PIN's and writes them to the console (for +the user to select one). + +Parameters +---------- +```powershell +PS> ./new-pins.ps1 [[-pinLength] ] [[-columns] ] [[-rows] ] [] + +-pinLength + Specifies the PIN length (default: 5) + + Required? false + Position? 1 + Default value 5 + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +-columns + Specifies the number of columns (default: 15) + + Required? false + Position? 2 + Default value 15 + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +-rows + Specifies the number of rows (default: 27) + + Required? false + Position? 3 + Default value 27 + 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-pins.ps1 +18055 42534 12845 68646 21478 22841 80575 38416 21424 42627 +... + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Generates new PIN's +.DESCRIPTION + This PowerShell script generates a table of random PIN's and writes them to the console (for + the user to select one). +.PARAMETER pinLength + Specifies the PIN length (default: 5) +.PARAMETER columns + Specifies the number of columns (default: 15) +.PARAMETER rows + Specifies the number of rows (default: 27) +.EXAMPLE + PS> ./new-pins.ps1 + 18055 42534 12845 68646 21478 22841 80575 38416 21424 42627 + ... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([int]$pinLength = 5, [int]$columns = 15, [int]$rows = 27) + +try { + $generator = New-Object System.Random + for ($i = 0; $i -lt $rows; $i++) { + $line = "" + for ($j = 0; $j -lt $columns; $j++) { + for ($k = 0; $k -lt $pinLength; $k++) { + $line += [char]$generator.next(48,57) # 48='0', 57='9' + } + $line += " " + } + Write-Output $line + } + exit 0 # success +} catch { + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-power-plan.md b/docs/new-power-plan.md index b0842f2e3..75f33c9e9 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 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-powershell-script.md b/docs/new-powershell-script.md index b1cd0352b..b37eea669 100644 --- a/docs/new-powershell-script.md +++ b/docs/new-powershell-script.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 594a5d8bd..a667ff7de 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -113,4 +113,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index f90abd69f..6e43c9a0e 100644 --- a/docs/new-reboot-task.md +++ b/docs/new-reboot-task.md @@ -1,40 +1,60 @@ Script: *new-reboot-task.ps1* ======================== -new-reboot-task.ps1 - +This PowerShell script creates a timed task to reboot the local computer. Parameters ---------- ```powershell - +PS> ./new-reboot-task.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS > ./new-reboot-task.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell -# Skript zum erstellen bzw. Anpassen eine Neustarttasks -# Stannek GmbH - Version 1.3 - 15.06.2023 ES +<# +.SYNOPSIS + Create a timed task to reboot +.DESCRIPTION + This PowerShell script creates a timed task to reboot the local computer. +.EXAMPLE + ./new-reboot-task.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> -# Diese Skript muss als Administrator ausgeführt werden, ansonsten wird es nicht gestartet #Requires -RunAsAdministrator -# Parameter -$TaskName = "einmaliger Neustart" +# parameter +$TaskName = "Timed Reboot" -# Assemblys laden Add-Type -AssemblyName System.Windows.Forms -## Abfrage Fenster ## - -# Erstellt das Hauptfenster +# main menu $font = New-Object System.Drawing.Font("Arial", 11) $mainForm = New-Object System.Windows.Forms.Form -$mainForm.Text = "Neustart-Task planen" +$mainForm.Text = "Plan the next reboot" $mainForm.Font = $font $mainForm.ForeColor = "Black" $mainForm.BackColor = "White" @@ -43,69 +63,59 @@ $mainForm.Height = 200 $mainForm.StartPosition = "CenterScreen" $mainForm.MaximizeBox = $False -# Erzeugt das Description Label +# create description label $DescriptLabel = New-Object System.Windows.Forms.Label -$DescriptLabel.Text = "Wann soll der Computer neustarten?" +$DescriptLabel.Text = "When to reboot the computer?" $DescriptLabel.Location = "15, 10" $DescriptLabel.Height = 22 $DescriptLabel.Width = 280 -# Fügt Label zum Hauptfenster hinzu $mainForm.Controls.Add($DescriptLabel) - -# Rezeugt das DatePicker Label +# create DatePicker label $datePickerLabel = New-Object System.Windows.Forms.Label -$datePickerLabel.Text = "Datum" +$datePickerLabel.Text = "Date" $datePickerLabel.Location = "15, 45" $datePickerLabel.Height = 22 $datePickerLabel.Width = 90 -# Fügt Label zum Hauptfenster hinzu $mainForm.Controls.Add($datePickerLabel) -# Erzeugt das TimePicker Label +# create TimePicker label $TimePickerLabel = New-Object System.Windows.Forms.Label -$TimePickerLabel.Text = "Uhrzeit" +$TimePickerLabel.Text = "Time" $TimePickerLabel.Location = "15, 80" $TimePickerLabel.Height = 22 $TimePickerLabel.Width = 90 -# Fügt Label zum Hauptfenster hinzu $mainForm.Controls.Add($TimePickerLabel) -# Erzeugt das DatePicker-Feld +# create DatePicker input field $datePicker = New-Object System.Windows.Forms.DateTimePicker $datePicker.Location = "110, 42" $datePicker.Width = "150" $datePicker.Format = [windows.forms.datetimepickerFormat]::custom $datePicker.CustomFormat = "dd/MM/yyyy" -# Fügt DatePicker-Feld zum Hauptfenster hinzu $mainForm.Controls.Add($datePicker) -# Erzeugt das TimePicker-Feld +# create TimePicker input field $TimePicker = New-Object System.Windows.Forms.DateTimePicker $TimePicker.Location = "110, 77" $TimePicker.Width = "150" $TimePicker.Format = [windows.forms.datetimepickerFormat]::custom $TimePicker.CustomFormat = "HH:mm" $TimePicker.ShowUpDown = $TRUE -# Fügt TimePicker-Feld zum Hauptfenster hinzu $mainForm.Controls.Add($TimePicker) -# Erzeugt den OK Button +# create OK button $okButton = New-Object System.Windows.Forms.Button $okButton.Location = "15, 130" $okButton.ForeColor = "Black" $okButton.BackColor = "White" $okButton.Text = "OK" -# Legt die Button Aktion fest (DialogResult auf OK und Eingabefenster schließen $okButton.add_Click({$mainForm.DialogResult = "OK";$mainForm.close()}) -# Fügt Button zum Hauptfenster hinzu $mainForm.Controls.Add($okButton) -# Fensterausgabe +# show window [void] $mainForm.ShowDialog() -## Ende Abfrage Fenster ## - # Skript abbrechen, wenn Fenster geschlossen wird If ($mainForm.DialogResult -eq "Cancel") {Break} @@ -134,4 +144,4 @@ Else If ((Get-ScheduledTask -TaskName $Taskname).State -eq "Disabled") {Enable-ScheduledTask -TaskName $TaskName} ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index f67913826..0d7fc6372 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index e90842b57..3ed7b5b63 100644 --- a/docs/new-ssh-key.md +++ b/docs/new-ssh-key.md @@ -1,7 +1,7 @@ Script: *new-ssh-key.ps1* ======================== -This PowerShell script creates a new SSH key for the user. +This PowerShell script creates a new personal SSH key for the user (needed for remote login, Git, etc.). Parameters ---------- @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./new-ssh-key.ps1 -✅ New SSH key of Ed25519 type saved to ~/.ssh - your public key is: +✅ Your new SSH key has been saved to ~/.ssh (Ed25519 type). The public key is: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILb8s5zU9YDApGQ82H45fMKVPMr5cw9fzh3PEBjZZ+Rm markus@PI ``` @@ -35,17 +35,17 @@ Script Content ```powershell <# .SYNOPSIS - Creates a new SSH key + Create a new SSH key .DESCRIPTION - This PowerShell script creates a new SSH key for the user. + This PowerShell script creates a new personal SSH key for the user (needed for remote login, Git, etc.). .EXAMPLE - PS> ./new-ssh-key.ps1 - ✅ New SSH key of Ed25519 type saved to ~/.ssh - your public key is: - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILb8s5zU9YDApGQ82H45fMKVPMr5cw9fzh3PEBjZZ+Rm markus@PI + PS> ./new-ssh-key.ps1 + ✅ Your new SSH key has been saved to ~/.ssh (Ed25519 type). The public key is: + ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILb8s5zU9YDApGQ82H45fMKVPMr5cw9fzh3PEBjZZ+Rm markus@PI .LINK - https://github.com/fleschutz/PowerShell + https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz | License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { @@ -54,14 +54,14 @@ try { if (Test-Path "~/.ssh/id_ed25519.pub") { $publicKey = Get-Content "~/.ssh/id_ed25519.pub" - $enc = "Ed25519" + $type = "Ed25519" } elseif (Test-Path "~/.ssh/id_rsa.pub") { $publicKey = Get-Content "~/.ssh/id_rsa.pub" - $enc = "RSA" + $type = "RSA" } else { throw "No public key found." } - "✅ New SSH key of $enc type saved to ~/.ssh - your public key is:" + "✅ Your new SSH key has been saved to ~/.ssh ($type type). The public key is:" " $publicKey" exit 0 # success } catch { @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-story.md b/docs/new-story.md new file mode 100644 index 000000000..85315c652 --- /dev/null +++ b/docs/new-story.md @@ -0,0 +1,66 @@ +Script: *new-story.ps1* +======================== + +new-story.ps1 + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Generates a new story +.DESCRIPTION + This PowerShell script generates a new story by rules and randomness and writes it to the console. +.EXAMPLE + PS> ./new-story.ps1 + The angry Ron hits the road. + ... +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +function RandomAdverb { + return "angry","clever","colorful","cool","funny","glad","happy","holy","hot","late","lazy","loud","lovely","nice","poor","rich","romantic","selfish","shy","silent","slow","smart","violent" | Get-Random +} + +function RandomSubject { + return "airport","Amy","baby","Ben","Bob","brothers","car","cat","Dick","dog","earth","Eva","fox","guy","jet","Joe","Jon","kids","Leo","Max","man","moon","movies","parents","people","Peter","plane","Pope","Ron","Sam","sisters","sun","Tim","Tom","woman" | Get-Random +} + +function RandomVerb { + return "beats","broadcasts","catches","enters","goes to","hits","leaves","listens to","loves","talks to","walks to","welcomes" | Get-Random +} + +function RandomObject { + return "a ball","a house","a sheep","a table","a vase","god","the church","the road","the tea","the woods","Lisa","Mary" | Get-Random +} + +function RandomSentence { + return "The $(RandomAdverb) $(RandomSubject) $(RandomVerb) $(RandomObject)." +} + + +"" +" A Funny Story" +" -------------" +"" +" Generated by a script with rules & randomness only." +"" +while ($true) { & "$PSScriptRoot/write-typewriter.ps1" $(RandomSentence) 20 } +exit 0 # success +``` + +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index 37d5be429..158184a59 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-tab.md b/docs/new-tab.md index 08c1fd776..289713d68 100644 --- a/docs/new-tab.md +++ b/docs/new-tab.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-tag.md b/docs/new-tag.md index 02469b052..1c6930ec1 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-text-file.md b/docs/new-text-file.md index a7b1544cf..876a0cc86 100644 --- a/docs/new-text-file.md +++ b/docs/new-text-file.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-user.md b/docs/new-user.md index 9957ed4e5..2d2db7981 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index 60571f71a..4b6b687ae 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 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index 5d110b823..8ecfc72bf 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 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-URL.md b/docs/open-URL.md index cca1b69e6..1169818e7 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -81,7 +81,7 @@ try { Write-Host " (open link with: )" } else { Start-Process $URL - Write-Host "✅ Launched Web browser with $text" -noNewline + Write-Host "✅ Launching Web browser with $text" -noNewline Write-Host $URL -foregroundColor blue } exit 0 # success @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index 599dcfab3..cb261e57f 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -51,4 +51,4 @@ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index 0aa08baf9..7a101402a 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index f4e17a4a9..8859967bf 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index 7e37cfae1..356d995a9 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index f0aadb7db..dee9935f8 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index 63d46ad2d..7126b61b1 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index 1dd46fcd1..e259f10e5 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-clock.md b/docs/open-clock.md index 31080234b..bbce0a8df 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index 3d4b9e31c..236ce8fff 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index afd2f6e9e..1a6f39370 100644 --- a/docs/open-d-drive.md +++ b/docs/open-d-drive.md @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "D:" ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 2fd49bde4..2bf2fe9d0 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index b1e038ead..b60565668 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index c2c837551..ca4e6fdad 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index 97547a262..0fcc1677a 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index 33996206e..ecf206768 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index f6a84d0d8..eb73def63 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index 53217aee0..05b19dc00 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index 26ee3b3b2..c519fce67 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index a4472cb17..b06c0809c 100644 --- a/docs/open-e-drive.md +++ b/docs/open-e-drive.md @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "E:" ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-edge.md b/docs/open-edge.md index 294d467bd..551eac936 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -50,4 +50,4 @@ Start-Process microsoft-edge:// exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index d7cc63d63..63b11e067 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index 504fd4572..3017666c9 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index c4df5cd49..3d3bdd67a 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index 7fc527433..0aa7de481 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index ba2a6353b..2c54ddf17 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index 4cf4a6237..e825d0e8e 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index 64e224fc5..2d8de5fdf 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index 80e096249..d21222869 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index 9aebe5989..0f6b9f26c 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index 4ba564b17..04b37eeb2 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index 8c74c02f7..5580eca8b 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index 1d00b5026..3383237a9 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index d78336801..f542e9a07 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index cb8882730..35034bc34 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index 01b40b7b8..572cbb076 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index ca63bf9d0..1e94d0f11 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index 901a8f0fa..6a258e451 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index dad358b0f..8e7bee530 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index 0066e3558..963ab4356 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index dd42cf484..90ade7512 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index 8e3e8a9c2..e3fe5bf8c 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index f4fcd3faf..2515c6988 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index 3f1270975..fcdf8de6d 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 2b6e0a454..0a2e4211f 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index d92cdabd4..601bb9795 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index 72a6ace49..e62e11d77 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index 1329fba50..b72e4022a 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index df1b6ba2e..a8dfc7978 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index cdec53405..891c2e3f8 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -50,4 +50,4 @@ Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index cba495661..944e957f7 100644 --- a/docs/open-microsoft-store.md +++ b/docs/open-microsoft-store.md @@ -50,4 +50,4 @@ Start-Process ms-windows-store: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index 7003d169d..d24626822 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index 22a693d0a..c33acd234 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index 9cd3a4f95..8a69839fc 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -50,4 +50,4 @@ Start-Process netflix: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index c68b3c632..04793f735 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index cf9ca7f7e..32f5ea717 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index dade19359..a5a584d84 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index 657e43e5b..ec33704a9 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index f9c775c66..fb8b159a8 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index 4eed3e8c8..bc7746620 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index b249893a5..cb27a5bbf 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index 1ea93595b..9a82694fe 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -67,4 +67,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index 728338b85..1d240cfbd 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index e548d4802..6feb44ceb 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 219876338..9d43a791c 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index da761b5ad..5435d447d 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index 2468da6d0..1aabfa98d 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-skype.md b/docs/open-skype.md index 1954db9f3..68b0f1997 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index 55fc24957..946b7a489 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -50,4 +50,4 @@ Start-Process SnippingTool.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index 64b87429a..c580f71c9 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index e16bfbcff..02af818e4 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -50,4 +50,4 @@ Start-Process spotify: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index c8f42b158..f31f0ec78 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 545878a93..74ca9b290 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index 038377ff2..f15dcbef5 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index 64b9e6f70..630cc7082 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index be7b0e8a4..11e73939e 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index 5ab75e8d7..62a3a8aac 100644 --- a/docs/open-three-d-viewer.md +++ b/docs/open-three-d-viewer.md @@ -50,4 +50,4 @@ Start-Process com.microsoft.3dviewer: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index 39c6f0e26..15ef7308f 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index 6cc34699f..58bf50bce 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index f22e784d5..67c91e210 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index ea173b4c6..167ea1ac8 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 342a4a276..5c474d01e 100644 --- a/docs/open-vpn-settings.md +++ b/docs/open-vpn-settings.md @@ -50,4 +50,4 @@ Start-Process ms-settings:network-vpn exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index 036029b3c..c191847fd 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -50,4 +50,4 @@ Start-Process windowsdefender: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index 83476ac16..8a9291fcd 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -50,4 +50,4 @@ Start-Process wt.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-windy.md b/docs/open-windy.md index d459899f5..add067263 100644 --- a/docs/open-windy.md +++ b/docs/open-windy.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/open-xing.md b/docs/open-xing.md index 918c9f6b0..11796240e 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 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index 60a676d49..fd9819227 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/ping-host.md b/docs/ping-host.md index 9fdfefb8b..e61fc5ab0 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index 3e098ce75..c75545914 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index 43703830b..6b14df3bb 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 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index 7409076f4..dceb32543 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-ascii-video.md b/docs/play-ascii-video.md index f67c6bb57..8818f5c57 100644 --- a/docs/play-ascii-video.md +++ b/docs/play-ascii-video.md @@ -52,4 +52,4 @@ if ($IsLinux -or $IsMacOS) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index d981362c1..8f9cfbe40 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 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index f9608bd60..97bbbd406 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 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index 50e150cc7..50dbdec35 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 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index 54529f6ce..e62f0682a 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 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-chess.md b/docs/play-chess.md index b06241810..a7ef387d0 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 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index b722d2551..b5aec10be 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 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index 6d8916bbc..3c48f4f4b 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 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index 76bb8b2f2..f828fe115 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 10/17/2025 15:46:20)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-drug-wars.md b/docs/play-drug-wars.md index aa1fea9d5..cb287719a 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index 21e517521..26eeb093d 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index b93c249cc..d918df3b4 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-files.md b/docs/play-files.md index f16dbcbe5..95df88873 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index fe0586299..89ebda42f 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index 5b4d9b387..39bdc9b6d 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index 6974426e3..82f5b7ef2 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index a57827ea8..5871a687b 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 6a998bdbf..4d974006e 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index 779020d23..e1f960a9b 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index 08af16635..997494191 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index c5c69db28..fbd3b5001 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index 8fdb0d334..1c9e9ec48 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index 6351f6741..57659bca0 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index ed6dadc46..0b141c553 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index fa6f96d9f..73fa6a638 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index faa0ee3f4..804011f62 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-pong.md b/docs/play-pong.md index b23395863..f24d54a99 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index aa7c4bffa..4769dfc00 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 79f932e65..b7edf56bb 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -56,4 +56,4 @@ if ($IsLinux -or $IsMacOS) { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-snake.md b/docs/play-snake.md index 87cd63b59..51475d845 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index 412560178..1d21bba94 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index 3e73796f0..a515552dc 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index fa096f3bf..b6d76e8ea 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/play-tetris.md b/docs/play-tetris.md index f5242467a..8ef9f6cb5 100644 --- a/docs/play-tetris.md +++ b/docs/play-tetris.md @@ -719,4 +719,4 @@ while (-not $IAsyncResult.IsCompleted) { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index 394e7e13a..7e9d3b1e0 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index 9a8899f8c..fc31b5eeb 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/poweroff.md b/docs/poweroff.md index 725efeff9..39ea6877c 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/print-image.md b/docs/print-image.md index d79874e81..fdba96d2c 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index 270d8d7e1..29a595fdb 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index 67ddb22f3..8bfa323d1 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index 954a43cbc..8a18904ed 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index cc25f4a08..9d768cd8d 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index 8bc7f3678..5e09ea4fd 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/reboot-into-bios.md b/docs/reboot-into-bios.md index c56b77c86..1d4758a71 100644 --- a/docs/reboot-into-bios.md +++ b/docs/reboot-into-bios.md @@ -1,22 +1,51 @@ Script: *reboot-into-bios.ps1* ======================== -reboot-into-bios.ps1 - +This PowerShell script reboots the local computer immediately into BIOS (needs admin rights). Parameters ---------- ```powershell - +PS> ./reboot-into-bios.ps1 [] [] This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. ``` +Example +------- +```powershell +PS> ./reboot-into-bios.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + Script Content -------------- ```powershell +<# +.SYNOPSIS + Reboots into BIOS (needs admin rights) +.DESCRIPTION + This PowerShell script reboots the local computer immediately into BIOS (needs admin rights). +.EXAMPLE + PS> ./reboot-into-bios.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +#Requires -RunAsAdministrator + # Requires admin privileges to run if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { Write-Host "This script requires administrative privileges." -ForegroundColor Red @@ -36,12 +65,12 @@ try { $result = shutdown /r /fw /t 0 if ($lastExitCode -ne 0) { throw "Failed to initiate reboot" } + exit 0 # success } catch { - Write-Host "Error: $_" -ForegroundColor Red - Write-Host "Failed to initiate BIOS reboot." -ForegroundColor Red + "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" pause exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/reboot.md b/docs/reboot.md index 727424699..1afe12009 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/remember.md b/docs/remember.md index 04bf4d952..1cb8b5102 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/remind-me.md b/docs/remind-me.md index ad889c8f0..d056da0b9 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/remove-dir.md b/docs/remove-dir.md index 5fa27325a..c3a11ae46 100644 --- a/docs/remove-dir.md +++ b/docs/remove-dir.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index 1f2063e8c..ff18c9c97 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index 8c99a1656..eb2ff2867 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 5edca6c1d..1ff0df3ea 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index b4ec5567f..31dec84b4 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/remove-user.md b/docs/remove-user.md index 19c1678c1..d9192d4bf 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index eff8d648e..a4cb06ee0 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index b06bb6349..c239a7534 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index fcf3334dc..90b0b493b 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index cd5b6949c..7a9ba5f57 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index 946f54dd8..d6b5ad3ae 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 00af59925..74336b9d2 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index 0b0581194..fc129e360 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/scan-network.md b/docs/scan-network.md index ea15ea7ca..1cfdc5540 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index 3ce96b63d..f97ad9c4c 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/search-filename.md b/docs/search-filename.md index 46a5afe15..6fcffff54 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/search-files.md b/docs/search-files.md index 7e43d186b..98067ad25 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/search-repo.md b/docs/search-repo.md index 2ad41fe15..2f1944134 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/send-email.md b/docs/send-email.md index b8404ed7f..07526144e 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -126,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index cec588509..8426a084e 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/send-udp.md b/docs/send-udp.md index 7b522c88c..aa5db9faa 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/set-timer.md b/docs/set-timer.md index 12d3b0bd9..0968e03c1 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/set-volume.md b/docs/set-volume.md index 0ce7b5453..fbd0ad635 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index 5b51d0fcf..49e6bc266 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index 4db2fb8ac..fdb350751 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index 4243e31c9..a52733b64 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/show-notification.md b/docs/show-notification.md index 424b89653..658655f7b 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index dd13279d8..0c57e8b43 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 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index 62bbd7ac7..05a99a98f 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index 1b079696f..3cb81a1ec 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -142,4 +142,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:21)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 4a0f8b6f1..1c535739d 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index 809f999f2..c6d4c0c0f 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index 1ac4ab04f..603af8986 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index 7544bf4ca..f0c5cdf54 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index dfc3be9e5..25044745f 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index f031a43a7..07cc58966 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-english.md b/docs/speak-english.md index 7e956a22b..f5bcb5bbb 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index d6aa52df6..25d56e706 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -142,4 +142,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index d16703231..3abd25d97 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-file.md b/docs/speak-file.md index 8d29e8ef6..c5c6d5e4d 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index 8d89cc0b0..440f2d977 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-french.md b/docs/speak-french.md index 0fe3ff033..597f44073 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-german.md b/docs/speak-german.md index 3e658f4cb..ac97216b8 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index ba37b0b44..c4e819843 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index 1298d3cdb..10e9566f8 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index 08d0bd691..e3d37225a 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index e9a9036be..75cb01404 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index e0b0e8f3b..0e85d08dc 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index 3ce0d749e..6094137bb 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index e51b10ef3..28970f3a2 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index c9a2e2c3e..2025e0ad6 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 1ad5e63c3..8db0084e6 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index 922a4e20f..aa5355d32 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index d7217a8bf..97dfe2466 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index c1536089a..a473cce87 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index 496a8381c..27d4e213b 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index 43c649699..38cea4611 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-test.md b/docs/speak-test.md index e24c6488c..96bde5349 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-text.md b/docs/speak-text.md index 68b10445e..ea38bed3b 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index d9f9b6eb0..06d7f5a9d 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index 7d6d43c80..c89a38c01 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index aaf7371ed..7d96c406e 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/spell-word.md b/docs/spell-word.md index 959d284da..2f9144dc0 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index 1bb3f039f..cfdf5e643 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/suspend.md b/docs/suspend.md index eb2182430..32ad6111d 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index 3d7337bdd..ae0b58785 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -128,4 +128,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index f6bc162fc..f2bccf626 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index a5adc7065..514895bd1 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/sync-dir.md b/docs/sync-dir.md index 206677a8a..b2bda92b9 100644 --- a/docs/sync-dir.md +++ b/docs/sync-dir.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index bbcb44088..2205a8c0b 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index 6d47d0ac4..e19837b21 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index 997cb19fc..98223844e 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index b35c2df9c..7b9290e0e 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index 2ad99ca17..bf1436ea0 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index 2b17fe25f..475e637d2 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index c604aceb0..563a3c3dd 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/touch.md b/docs/touch.md index 11d3bd28f..759ccb7de 100644 --- a/docs/touch.md +++ b/docs/touch.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* diff --git a/docs/translate-file.md b/docs/translate-file.md index ea68162bd..407276100 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/translate-files.md b/docs/translate-files.md index a412d64e5..29c16ff06 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/translate-text.md b/docs/translate-text.md index 5fe752669..d29f30522 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index 1c3aca771..65c94d069 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index c02eccc46..1540514ec 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index 8b7415f6f..91a951bbe 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index a075e398e..c3ab7f794 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index 6e3551509..84b7d633a 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index ef276a42e..9ae052e24 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index d0db67437..e9d2efd8e 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/uninstall-new-outlook.md b/docs/uninstall-new-outlook.md index 42624228b..d4b4766ed 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/uninstall-outlook.md b/docs/uninstall-outlook.md index 0a6103b9a..a0f08fd76 100644 --- a/docs/uninstall-outlook.md +++ b/docs/uninstall-outlook.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index 7b7888e0c..b316edd0d 100644 --- a/docs/update-powershell-profile.md +++ b/docs/update-powershell-profile.md @@ -29,7 +29,7 @@ Example PS> ./update-powershell-profile.ps1 ⏳ (1/2) Querying path to PowerShell profile 'CurrentUserCurrentHost'... ⏳ (2/2) Copying my-profile.ps1 to /home/Markus/.config/powershell/Microsoft.PowerShell_profile.ps1... -✅ Updated your PowerShell profile, it get's active on next login. +✅ PowerShell profile updated - it get's active on next login. ``` @@ -55,7 +55,7 @@ Script Content PS> ./update-powershell-profile.ps1 ⏳ (1/2) Querying path to PowerShell profile 'CurrentUserCurrentHost'... ⏳ (2/2) Copying my-profile.ps1 to /home/Markus/.config/powershell/Microsoft.PowerShell_profile.ps1... - ✅ Updated your PowerShell profile, it get's active on next login. + ✅ PowerShell profile updated - it get's active on next login. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -73,7 +73,7 @@ try { $null = New-Item -Path $pathToProfile -ItemType "file" -Force Copy-Item "$path" "$pathToProfile" -force - "✅ Updated your PowerShell profile, it get's active on next login." + "✅ PowerShell profile updated - it get's active on next login." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index 516e30c6e..7638a6a4d 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/upload-file.md b/docs/upload-file.md index 0f45a5c2e..934de28fa 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -149,4 +149,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index b81c5ba4d..bc3a7acb9 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/vi.md b/docs/vi.md new file mode 100644 index 000000000..971c3299c --- /dev/null +++ b/docs/vi.md @@ -0,0 +1,94 @@ +Script: *vi.ps1* +======================== + +This PowerShell script opens the installed text editor with the given text file. +It tries to use neovim, vim, vi, nano, pico, Helix, Emacs, Visual Studio Code, +Notepad, Microsoft Edit, or Wordpad (in that order). + +Parameters +---------- +```powershell +PS> ./vi.ps1 [[-path] ] [] + +-path + Specifies the path to the file to edit (default: ask user) + + 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> ./vi.ps1 C:\MyDiary.txt + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Edit a text file +.DESCRIPTION + This PowerShell script opens the installed text editor with the given text file. + It tries to use neovim, vim, vi, nano, pico, Helix, Emacs, Visual Studio Code, + Notepad, Microsoft Edit, or Wordpad (in that order). +.PARAMETER path + Specifies the path to the file to edit (default: ask user) +.EXAMPLE + PS> ./vi.ps1 C:\MyDiary.txt +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$path = "") + +function TryEditor { param([string]$editor, [string]$path) + try { + Write-Host "$editor..." -noNewline + & $editor "$path" + if ($lastExitCode -ne 0) { "⚠️ Can't execute '$editor' - make sure it's installed and available"; exit 1 } + exit 0 # success + } catch { return } +} + +if ($path -eq "" ) { $path = Read-Host "Enter the path to the text file" } +if (-not(Test-Path "$path" -pathType leaf)) { throw "Can't access file '$path'" } +Write-Host "⏳ Editing '$path' by executing " -noNewline +TryEditor "nvim" $path +TryEditor "vim" $path +TryEditor "vi" $path +TryEditor "nano" $path +TryEditor "pico" $path +TryEditor "hx" $path +TryEditor "emacs" $path +TryEditor "Code" $path +TryEditor "notepad.exe" $path +TryEditor "edit.exe" $path +TryEditor "wordpad.exe" $path +Write-Host "" + +"⚠️ Sorry, no supported text editor found (Emacs, Helix, pico, nano, neovim, Notepad, vi, vim, Visual Studio Code, Wordpad)" +exit 1 +``` + +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index 5adba6641..1b565ebc7 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/wake-up-human.md b/docs/wake-up-human.md index df66bbdc6..a46ae6bb7 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index 5b54cf00a..51be61ebe 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/watch-crypto-rates.md b/docs/watch-crypto-rates.md index ad33c6d52..b7a292a6d 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/watch-file.md b/docs/watch-file.md index 99f6bd171..d9d9a069b 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/watch-host.md b/docs/watch-host.md index abdcc2f93..0eab3b169 100644 --- a/docs/watch-host.md +++ b/docs/watch-host.md @@ -147,4 +147,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/watch-news.md b/docs/watch-news.md index 2ff1c6beb..564e21166 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -6,10 +6,10 @@ This PowerShell script continuously lists the latest headlines by using a RSS (R Parameters ---------- ```powershell -PS> ./watch-news.ps1 [[-URL] ] [[-timeInterval] ] [] +PS> ./watch-news.ps1 [[-URL] ] [[-updateInterval] ] [] -URL - Specifies the URL to the RSS feed (Yahoo World News by default) + Specifies the URL to the RSS feed (default: https://news.yahoo.com/rss/world) Required? false Position? 1 @@ -18,8 +18,8 @@ PS> ./watch-news.ps1 [[-URL] ] [[-timeInterval] ] [ - Specifies the time interval in seconds between two Web requests (60 seconds by default) +-updateInterval + Specifies the update interval in seconds (default: 60 seconds) Required? false Position? 2 @@ -40,8 +40,8 @@ PS> ./watch-news.ps1 -UTC HEADLINES (source: https://www.yahoo.com/news/world) - --- --------- +TIME NEWS (source: https://www.yahoo.com/news/world, UTC times) +---- ---- 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria ... @@ -64,16 +64,14 @@ Script Content .DESCRIPTION This PowerShell script continuously lists the latest headlines by using a RSS (Really Simple Syndication) feed. .PARAMETER URL - Specifies the URL to the RSS feed (Yahoo World News by default) -.PARAMETER lines - Specifies the initial number of headlines -.PARAMETER timeInterval - Specifies the time interval in seconds between two Web requests (60 seconds by default) + Specifies the URL to the RSS feed (default: https://news.yahoo.com/rss/world) +.PARAMETER updateInterval + Specifies the update interval in seconds (default: 60 seconds) .EXAMPLE PS> ./watch-news.ps1 - UTC HEADLINES (source: https://www.yahoo.com/news/world) - --- --------- + TIME NEWS (source: https://www.yahoo.com/news/world, UTC times) + ---- ---- 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria ... .LINK @@ -82,9 +80,9 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -param([string]$URL = "https://news.yahoo.com/rss/world", [int]$timeInterval = 60) # in seconds +param([string]$URL = "https://news.yahoo.com/rss/world", [int]$updateInterval = 60) # in seconds -function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp, [string]$icon) { +function PrintNewerHeadlines([xml]$content, [string]$latestTimestamp, [string]$icon) { $items = $content.rss.channel.item [array]::Reverse($items) $newLatest = $latestTimestamp @@ -94,7 +92,6 @@ function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp, [string]$ $title = $item.title -replace "â","'" $time = $pubDate.Substring(11, 5) Write-Host "$time $title$icon" - Start-Sleep -milliseconds 500 if ($pubDate -gt $newLatest) { $newLatest = $pubDate } } return $newLatest @@ -102,19 +99,18 @@ function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp, [string]$ try { [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content - $title = $content.rss.channel.title.toUpper() - $link = $content.rss.channel.link - Write-Host "`n UTC HEADLINES (source: " -noNewline - Write-Host $link -foregroundColor blue -noNewline - Write-Host ")" - Write-Host " --- ---------" + $webLink = $content.rss.channel.link + Write-Host "`nTIME NEWS (source: " -noNewline + Write-Host $webLink -foregroundColor blue -noNewline + Write-Host ", UTC times)" + Write-Host "---- ----" $latestTimestamp = "2000-01-01" $icon = "" do { - $latestTimestamp = PrintLatestHeadlines $content $latestTimestamp $icon - $icon = "🆕" - Start-Sleep -seconds $timeInterval + $latestTimestamp = PrintNewerHeadlines $content $latestTimestamp $icon + Start-Sleep -seconds $updateInterval [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content + $icon = "🆕" } while ($true) exit 0 # success } catch { @@ -123,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index 47ef02a81..c63cee5c6 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -137,4 +137,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/weather-report.md b/docs/weather-report.md index c5779d8e6..dc5675cfa 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/weather.md b/docs/weather.md index e3944cc9c..6b4c3642c 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/what-is.md b/docs/what-is.md index afdd73137..a6d8b298f 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -76,7 +76,7 @@ try { if ($basename -eq "") { Write-Host "🤷‍ Sorry, I don't know '$term'. Let's search for it: " -noNewline Write-Host "https://qwant.com/?q=what+is+$term" -foregroundColor blue -noNewline - Write-Host " (use )" + Write-Host " (Ctrl+Click to open link)" } exit 0 # success } catch { @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/windefender.md b/docs/windefender.md index 410adba12..614f35b51 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -82,4 +82,4 @@ break } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-animated.md b/docs/write-animated.md index 17239226a..25fec733d 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index a239f6ef8..c9151dd44 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-big.md b/docs/write-big.md index 14e7cad89..99eb0151d 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -472,4 +472,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-blue.md b/docs/write-blue.md index e065f77ab..5cdeb1524 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-braille.md b/docs/write-braille.md index c843fc45c..01ede4d98 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -409,4 +409,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-centered.md b/docs/write-centered.md index 6419e41c2..27024fbf5 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index f4d2d0ac1..7910d9236 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-chart.md b/docs/write-chart.md index 71b7774dc..4c531a691 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-clock.md b/docs/write-clock.md index 0d5670a34..82764ccb3 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-code.md b/docs/write-code.md index 9fa62e431..aaa060c1b 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-credits.md b/docs/write-credits.md index 4bbde7181..4716541bb 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-date.md b/docs/write-date.md index 29ae551a6..1928651c7 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index 4684ac344..b577d0270 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-green.md b/docs/write-green.md index 8945ae93f..09d657d55 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index 9d6cde73c..b3dfed064 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 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-headline.md b/docs/write-headline.md index 231771107..56a8fda62 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:22)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-help.md b/docs/write-help.md index 720e1008a..cd9e4846a 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -58,7 +58,7 @@ White "████▀▄▄█▀█▄██ ▀ ▄▄▀ █▄█▀ ▀ White "█████ ▄▄█▄▄▀▄ ▀▄▀ ▄▄ ▀ ▀▀▀ ▀▄▄█▀████`n" White "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████ Cheat sheet: "; Blue "https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md`n" White "████ ████▄▄ ▄█▄▄▄██ ▀ ▀▀▀▀▄ █▀████`n" -White "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████ 500+ sample scripts: "; Blue "https://github.com/fleschutz/PowerShell`n" +White "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████ Sample scripts: "; Blue "https://github.com/fleschutz/PowerShell`n" White "████▄█▄███▄▄▀▄▄▄▀ ▄▄ ▄▀▄ ▄▄▄ ▀ ████`n" White "████ ▄▄▄▄▄ █▄▄▄█▀█▄ ██ █▄█ ▄▄█▀████ Donate: "; Blue "https://www.paypal.com/paypalme/Fleschutz`n" White "████ █ █ █ ▀▄█▄ ▄▄ ▀█ ▄▄▄▄▀ ████`n" @@ -69,4 +69,4 @@ White "████████████████████████ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index 4fe56d267..7629cfcb9 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 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 70e0dab4b..41a0367ca 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-location.md b/docs/write-location.md index 4cb4f9227..41b53ba60 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index ec3a65200..2b6901911 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 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index 8be2d74fb..7a98f0c28 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 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index 8493c09bb..f8c44f4d7 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 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-moon.md b/docs/write-moon.md index b1941e142..066e8d026 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index f71e98946..bf3663e59 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 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-motd.md b/docs/write-motd.md index 25e6ad8d1..53cc10701 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 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-pi.md b/docs/write-pi.md index 85dc556df..06c649baa 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-progress-bar.md b/docs/write-progress-bar.md index a4ad759b1..2f998a53e 100644 --- a/docs/write-progress-bar.md +++ b/docs/write-progress-bar.md @@ -55,4 +55,4 @@ for ([int]$i = 0; $i -lt 150; $i++) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index 26e956c33..492c4a437 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 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 6692d9d36..80592f251 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-red.md b/docs/write-red.md index a3dc00232..d1544e480 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 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index c8982c21e..e0009355c 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-shit.md b/docs/write-shit.md index a3b0b0c1f..057e9e075 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 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index b473d6cc9..d4c647d71 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 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-skull.md b/docs/write-skull.md index 4612fb82f..d03529acc 100644 --- a/docs/write-skull.md +++ b/docs/write-skull.md @@ -70,4 +70,4 @@ WriteLine "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-story.md b/docs/write-story.md index 3763dd4cf..3b1b1e386 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 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-time.md b/docs/write-time.md index b8867829a..82b19945e 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index 39018ad62..4236169f2 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index 83029e8a3..409439be7 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 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-value.md b/docs/write-value.md index 93a7432d0..74dd98814 100644 --- a/docs/write-value.md +++ b/docs/write-value.md @@ -170,4 +170,4 @@ Write-Host "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index e7bd8181c..690bf3f73 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md index 9c0ea74d8..ea0a1877b 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 10/17/2025 15:46:23)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* From 1092a48b83514c76057958f03ac491b6f5632144 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 20 Nov 2025 17:07:20 +0100 Subject: [PATCH 523/737] Updated the manuals --- docs/add-firewall-rules.md | 4 ++-- docs/alert.md | 4 ++-- docs/build-repo.md | 4 ++-- docs/build-repos.md | 4 ++-- docs/calculate-BMI.md | 4 ++-- docs/cd-autostart.md | 4 ++-- docs/cd-crashdumps.md | 4 ++-- docs/cd-desktop.md | 4 ++-- docs/cd-docs.md | 4 ++-- docs/cd-downloads.md | 4 ++-- docs/cd-dropbox.md | 4 ++-- docs/cd-etc.md | 4 ++-- docs/cd-fonts.md | 4 ++-- docs/cd-home.md | 4 ++-- docs/cd-jenkins.md | 4 ++-- docs/cd-logs.md | 4 ++-- docs/cd-music.md | 4 ++-- docs/cd-nextcloud.md | 4 ++-- docs/cd-onedrive.md | 4 ++-- docs/cd-pics.md | 4 ++-- docs/cd-public.md | 4 ++-- docs/cd-recent.md | 4 ++-- docs/cd-recycle-bin.md | 4 ++-- docs/cd-repo.md | 4 ++-- docs/cd-repos.md | 4 ++-- docs/cd-root.md | 4 ++-- docs/cd-screenshots.md | 4 ++-- docs/cd-scripts.md | 4 ++-- docs/cd-ssh.md | 4 ++-- docs/cd-sync.md | 4 ++-- docs/cd-temp.md | 4 ++-- docs/cd-templates.md | 4 ++-- docs/cd-trash.md | 4 ++-- docs/cd-up.md | 4 ++-- docs/cd-up2.md | 4 ++-- docs/cd-up3.md | 4 ++-- docs/cd-up4.md | 4 ++-- docs/cd-users.md | 4 ++-- docs/cd-videos.md | 4 ++-- docs/cd-windows.md | 4 ++-- docs/change-wallpaper.md | 4 ++-- docs/check-admin.md | 4 ++-- docs/check-apps.md | 4 ++-- docs/check-bios.md | 4 ++-- docs/check-cpu.md | 4 ++-- docs/check-credentials.md | 4 ++-- docs/check-day.md | 4 ++-- docs/check-dns.md | 4 ++-- docs/check-drive-space.md | 4 ++-- docs/check-drives.md | 4 ++-- docs/check-dusk.md | 4 ++-- docs/check-easter-sunday.md | 4 ++-- docs/check-file-system.md | 4 ++-- docs/check-file.md | 4 ++-- docs/check-firewall.md | 4 ++-- docs/check-gpu.md | 4 ++-- docs/check-hardware.md | 4 ++-- docs/check-health.md | 4 ++-- docs/check-independence-day.md | 4 ++-- docs/check-ipv4-address.md | 4 ++-- docs/check-ipv6-address.md | 4 ++-- docs/check-iss-position.md | 4 ++-- docs/check-mac-address.md | 4 ++-- docs/check-midnight.md | 4 ++-- docs/check-month.md | 4 ++-- docs/check-moon-phase.md | 4 ++-- docs/check-motherboard.md | 4 ++-- docs/check-network.md | 4 ++-- docs/check-noon.md | 4 ++-- docs/check-os.md | 4 ++-- docs/check-outlook.md | 4 ++-- docs/check-password.md | 4 ++-- docs/check-pending-reboot.md | 4 ++-- docs/check-pnp-devices.md | 4 ++-- docs/check-power.md | 4 ++-- docs/check-powershell.md | 4 ++-- docs/check-ps1-file.md | 4 ++-- docs/check-ram.md | 4 ++-- docs/check-repo.md | 4 ++-- docs/check-repos.md | 4 ++-- docs/check-santa.md | 4 ++-- docs/check-smart-devices.md | 4 ++-- docs/check-software.md | 4 ++-- docs/check-subnet-mask.md | 4 ++-- docs/check-swap-space.md | 4 ++-- docs/check-symlinks.md | 4 ++-- docs/check-time-zone.md | 4 ++-- docs/check-uptime.md | 4 ++-- docs/check-vpn.md | 4 ++-- docs/check-weather.md | 4 ++-- docs/check-week.md | 4 ++-- docs/check-wind.md | 4 ++-- docs/check-windows-system-files.md | 4 ++-- docs/check-xml-file.md | 4 ++-- docs/check-xml-files.md | 4 ++-- docs/clean-repo.md | 4 ++-- docs/clean-repos.md | 4 ++-- docs/clear-dns-cache.md | 4 ++-- docs/clear-recycle-bin.md | 4 ++-- docs/clone-repos.md | 4 ++-- docs/clone-shallow.md | 4 ++-- docs/close-calculator.md | 4 ++-- docs/close-chrome.md | 4 ++-- docs/close-cortana.md | 4 ++-- docs/close-edge.md | 4 ++-- docs/close-file-explorer.md | 4 ++-- docs/close-firefox.md | 4 ++-- docs/close-git-extensions.md | 4 ++-- docs/close-magnifier.md | 4 ++-- docs/close-microsoft-paint.md | 4 ++-- docs/close-microsoft-store.md | 4 ++-- docs/close-netflix.md | 4 ++-- docs/close-notepad.md | 4 ++-- docs/close-obs-studio.md | 4 ++-- docs/close-one-calendar.md | 4 ++-- docs/close-outlook.md | 4 ++-- docs/close-paint-three-d.md | 4 ++-- docs/close-program.md | 4 ++-- docs/close-serenade.md | 4 ++-- docs/close-snipping-tool.md | 4 ++-- docs/close-spotify.md | 4 ++-- docs/close-task-manager.md | 4 ++-- docs/close-three-d-viewer.md | 4 ++-- docs/close-thunderbird.md | 4 ++-- docs/close-visual-studio.md | 4 ++-- docs/close-vlc.md | 4 ++-- docs/close-windows-terminal.md | 4 ++-- docs/configure-git.md | 4 ++-- docs/connect-vpn.md | 4 ++-- docs/convert-csv2txt.md | 4 ++-- docs/convert-dir27z.md | 4 ++-- docs/convert-dir2zip.md | 4 ++-- docs/convert-docx2md.md | 4 ++-- docs/convert-frames2mp4.md | 4 ++-- docs/convert-history2ps1.md | 4 ++-- docs/convert-image2ascii.md | 4 ++-- docs/convert-image2blurred-frames.md | 4 ++-- docs/convert-image2pixelated-frames.md | 4 ++-- docs/convert-images2webp.md | 4 ++-- docs/convert-md2docx.md | 4 ++-- docs/convert-md2html.md | 4 ++-- docs/convert-md2pdf.md | 4 ++-- docs/convert-mysql2csv.md | 4 ++-- docs/convert-ps2bat.md | 4 ++-- docs/convert-ps2md.md | 6 +++--- docs/convert-sql2csv.md | 4 ++-- docs/convert-txt2wav.md | 4 ++-- docs/copy-broken-file.md | 4 ++-- docs/copy-photos-sorted.md | 4 ++-- docs/copy-videos-sorted.md | 4 ++-- docs/count-characters.md | 4 ++-- docs/count-lines.md | 4 ++-- docs/decrypt-file.md | 4 ++-- docs/disable-ipv6.md | 4 ++-- docs/disconnect-vpn.md | 4 ++-- docs/download-dir.md | 4 ++-- docs/download-file.md | 4 ++-- docs/enable-crash-dumps.md | 4 ++-- docs/enable-god-mode.md | 4 ++-- docs/enable-ipv6.md | 4 ++-- docs/encrypt-file.md | 4 ++-- docs/enter-chat.md | 4 ++-- docs/enter-host.md | 4 ++-- docs/export-to-manuals.md | 4 ++-- docs/fetch-repo.md | 4 ++-- docs/fetch-repos.md | 4 ++-- docs/firefox-installer.md | 4 ++-- docs/get-md5.md | 4 ++-- docs/get-sha1.md | 4 ++-- docs/get-sha256.md | 4 ++-- docs/get-sha512.md | 4 ++-- docs/hello-world.md | 4 ++-- docs/hibernate.md | 4 ++-- docs/import-vm.md | 4 ++-- docs/inspect-exe.md | 4 ++-- docs/install-audacity.md | 4 ++-- docs/install-basic-apps.md | 4 ++-- docs/install-basic-snaps.md | 4 ++-- docs/install-calibre-server.md | 4 ++-- docs/install-chocolatey.md | 4 ++-- docs/install-chrome.md | 4 ++-- docs/install-crystal-disk-info.md | 4 ++-- docs/install-crystal-disk-mark.md | 4 ++-- docs/install-discord.md | 4 ++-- docs/install-edge.md | 4 ++-- docs/install-edit.md | 4 ++-- docs/install-evcc.md | 4 ++-- docs/install-firefox.md | 4 ++-- docs/install-fonts.md | 4 ++-- docs/install-git-extensions.md | 4 ++-- docs/install-git-for-windows.md | 4 ++-- docs/install-github-cli.md | 4 ++-- docs/install-gitlab.md | 4 ++-- docs/install-h2static.md | 4 ++-- docs/install-irfanview.md | 4 ++-- docs/install-jenkins-agent.md | 4 ++-- docs/install-knot-resolver.md | 4 ++-- docs/install-microsoft-teams.md | 4 ++-- docs/install-mini-dlna.md | 4 ++-- docs/install-netflix.md | 4 ++-- docs/install-obs-studio.md | 4 ++-- docs/install-octoprint.md | 4 ++-- docs/install-one-calendar.md | 4 ++-- docs/install-opera-browser.md | 4 ++-- docs/install-opera-gx.md | 4 ++-- docs/install-paint-3d.md | 4 ++-- docs/install-power-toys.md | 4 ++-- docs/install-powershell.md | 4 ++-- docs/install-rufus.md | 4 ++-- docs/install-salesforce-cli.md | 4 ++-- docs/install-scoop.md | 4 ++-- docs/install-signal-cli.md | 4 ++-- docs/install-spotify.md | 4 ++-- docs/install-ssh-client.md | 4 ++-- docs/install-ssh-server.md | 4 ++-- docs/install-syncthing.md | 4 ++-- docs/install-thunderbird.md | 4 ++-- docs/install-unbound-server.md | 4 ++-- docs/install-updates.md | 4 ++-- docs/install-visual-studio-code.md | 4 ++-- docs/install-vivaldi.md | 4 ++-- docs/install-vlc.md | 4 ++-- docs/install-windows-terminal.md | 4 ++-- docs/install-wsl.md | 4 ++-- docs/install-zoom.md | 4 ++-- docs/introduce-powershell.md | 4 ++-- docs/kill-process.md | 4 ++-- docs/list-aliases.md | 4 ++-- docs/list-anagrams.md | 4 ++-- docs/list-apps.md | 4 ++-- docs/list-ascii-table.md | 4 ++-- docs/list-automatic-variables.md | 4 ++-- docs/list-battery-status.md | 4 ++-- docs/list-bios.md | 4 ++-- docs/list-bluetooth-devices.md | 4 ++-- docs/list-branches.md | 4 ++-- docs/list-calendar.md | 4 ++-- docs/list-cheat-sheet.md | 4 ++-- docs/list-city-weather.md | 4 ++-- docs/list-cli-tools.md | 4 ++-- docs/list-clipboard.md | 4 ++-- docs/list-cmdlets.md | 4 ++-- docs/list-coffee-prices.md | 4 ++-- docs/list-commit-stats.md | 4 ++-- docs/list-commits.md | 4 ++-- docs/list-console-colors.md | 4 ++-- docs/list-countries.md | 4 ++-- docs/list-cpu.md | 4 ++-- docs/list-crypto-rates.md | 4 ++-- docs/list-defender-settings.md | 4 ++-- docs/list-dir-tree.md | 4 ++-- docs/list-dns-servers.md | 4 ++-- docs/list-drives.md | 4 ++-- docs/list-earthquakes.md | 4 ++-- docs/list-emojis.md | 4 ++-- docs/list-empty-dirs.md | 4 ++-- docs/list-empty-files.md | 4 ++-- docs/list-encrypted-files.md | 4 ++-- docs/list-environment-variables.md | 4 ++-- docs/list-error-types.md | 4 ++-- docs/list-exchange-rates.md | 4 ++-- docs/list-executables.md | 4 ++-- docs/list-fibonacci.md | 4 ++-- docs/list-files.md | 4 ++-- docs/list-folder.md | 4 ++-- docs/list-fritzbox-calls.md | 4 ++-- docs/list-fritzbox-devices.md | 4 ++-- docs/list-headlines.md | 4 ++-- docs/list-hidden-files.md | 4 ++-- docs/list-installed-hotfixes.md | 4 ++-- docs/list-installed-languages.md | 4 ++-- docs/list-installed-scripts.md | 4 ++-- docs/list-installed-software.md | 4 ++-- docs/list-internet-ip.md | 4 ++-- docs/list-ipv6.md | 4 ++-- docs/list-latest-tag.md | 4 ++-- docs/list-latest-tags.md | 4 ++-- docs/list-local-ip.md | 4 ++-- docs/list-mDNS.md | 4 ++-- docs/list-memos.md | 4 ++-- docs/list-mysql-tables.md | 4 ++-- docs/list-network-connections.md | 4 ++-- docs/list-network-neighbors.md | 4 ++-- docs/list-network-routes.md | 4 ++-- docs/list-network-shares.md | 4 ++-- docs/list-news.md | 4 ++-- docs/list-nic.md | 4 ++-- docs/list-nina-warnings.md | 4 ++-- docs/list-old-branches.md | 4 ++-- docs/list-os-releases.md | 4 ++-- docs/list-os-updates.md | 4 ++-- docs/list-os.md | 4 ++-- docs/list-outlook-inbox.md | 4 ++-- docs/list-outlook-sent.md | 4 ++-- docs/list-power-schemes.md | 4 ++-- docs/list-powershell-modules.md | 4 ++-- docs/list-powershell-profiles.md | 4 ++-- docs/list-powershell-verbs.md | 4 ++-- docs/list-print-jobs.md | 4 ++-- docs/list-printers.md | 4 ++-- docs/list-processes.md | 4 ++-- docs/list-pull-requests.md | 4 ++-- docs/list-ram.md | 4 ++-- docs/list-read-only-files.md | 4 ++-- docs/list-recycle-bin.md | 4 ++-- docs/list-repos.md | 4 ++-- docs/list-scripts.md | 4 ++-- docs/list-scsi-devices.md | 4 ++-- docs/list-services.md | 4 ++-- docs/list-special-folders.md | 4 ++-- docs/list-sql-tables.md | 4 ++-- docs/list-ssh-key.md | 4 ++-- docs/list-submodules.md | 4 ++-- docs/list-suggestions.md | 4 ++-- docs/list-system-devices.md | 4 ++-- docs/list-system-files.md | 4 ++-- docs/list-system-info.md | 4 ++-- docs/list-tags.md | 4 ++-- docs/list-tasks.md | 4 ++-- docs/list-timezone.md | 4 ++-- docs/list-timezones.md | 4 ++-- docs/list-tiobe-index.md | 4 ++-- docs/list-unused-files.md | 4 ++-- docs/list-updates.md | 4 ++-- docs/list-usb-devices.md | 4 ++-- docs/list-user-accounts.md | 4 ++-- docs/list-user-groups.md | 4 ++-- docs/list-voices.md | 4 ++-- docs/list-weather.md | 4 ++-- docs/list-wifi.md | 4 ++-- docs/list-window-titles.md | 4 ++-- docs/list-workdir.md | 4 ++-- docs/list-wsl-distros.md | 4 ++-- docs/locate-city.md | 4 ++-- docs/locate-ipaddress.md | 4 ++-- docs/locate-my-phone.md | 4 ++-- docs/locate-zip-code.md | 4 ++-- docs/lock-desktop.md | 4 ++-- docs/log-off.md | 4 ++-- docs/make-install.md | 4 ++-- docs/measure-BubbleSort.md | 4 ++-- docs/measure-BucketSort.md | 4 ++-- docs/measure-CountingSort.md | 4 ++-- docs/measure-HeapSort.md | 4 ++-- docs/measure-InsertionSort.md | 4 ++-- docs/measure-MergeSort.md | 4 ++-- docs/measure-QuickSort.md | 4 ++-- docs/measure-SelectionSort.md | 4 ++-- docs/measure-sorting-algorithms.md | 4 ++-- docs/merry-christmas.md | 4 ++-- docs/minimize-all-windows.md | 4 ++-- docs/move-mouse-pointer.md | 4 ++-- docs/move-vm.md | 4 ++-- docs/my-profile.md | 4 ++-- docs/new-branch.md | 4 ++-- docs/new-dir.md | 4 ++-- docs/new-email.md | 4 ++-- docs/new-image.md | 4 ++-- docs/new-junction.md | 4 ++-- docs/new-linux-vm.md | 4 ++-- docs/new-markdown-file.md | 4 ++-- docs/new-passwords.md | 4 ++-- docs/new-pins.md | 4 ++-- docs/new-power-plan.md | 4 ++-- docs/new-powershell-script.md | 4 ++-- docs/new-qrcode.md | 4 ++-- docs/new-reboot-task.md | 4 ++-- docs/new-shortcut.md | 4 ++-- docs/new-ssh-key.md | 4 ++-- docs/new-story.md | 4 ++-- docs/new-symlink.md | 4 ++-- docs/new-tab.md | 4 ++-- docs/new-tag.md | 4 ++-- docs/new-text-file.md | 4 ++-- docs/new-user.md | 4 ++-- docs/new-windows-vm.md | 4 ++-- docs/on-desktop-login.md | 4 ++-- docs/open-URL.md | 4 ++-- docs/open-apps-folder.md | 4 ++-- docs/open-auto-start-folder.md | 4 ++-- docs/open-bing-maps.md | 4 ++-- docs/open-booking-com.md | 4 ++-- docs/open-c-drive.md | 4 ++-- docs/open-calculator.md | 4 ++-- docs/open-chrome.md | 4 ++-- docs/open-clock.md | 4 ++-- docs/open-cortana.md | 4 ++-- docs/open-d-drive.md | 4 ++-- docs/open-dashboards.md | 4 ++-- docs/open-deep-l-translator.md | 4 ++-- docs/open-default-browser.md | 4 ++-- docs/open-desktop-folder.md | 4 ++-- docs/open-documents-folder.md | 4 ++-- docs/open-downloads-folder.md | 4 ++-- docs/open-dropbox-folder.md | 4 ++-- docs/open-duck-duck-go.md | 4 ++-- docs/open-e-drive.md | 4 ++-- docs/open-edge.md | 4 ++-- docs/open-egg-timer.md | 4 ++-- docs/open-email-client.md | 4 ++-- docs/open-f-drive.md | 4 ++-- docs/open-file-explorer.md | 4 ++-- docs/open-fire-place.md | 4 ++-- docs/open-firefox.md | 4 ++-- docs/open-flight-radar.md | 4 ++-- docs/open-g-drive.md | 4 ++-- docs/open-git-extensions.md | 4 ++-- docs/open-google-books.md | 4 ++-- docs/open-google-calendar.md | 4 ++-- docs/open-google-contacts.md | 4 ++-- docs/open-google-docs.md | 4 ++-- docs/open-google-earth.md | 4 ++-- docs/open-google-mail.md | 4 ++-- docs/open-google-maps.md | 4 ++-- docs/open-google-news.md | 4 ++-- docs/open-google-photos.md | 4 ++-- docs/open-google-play.md | 4 ++-- docs/open-google-search.md | 4 ++-- docs/open-google-stadia.md | 4 ++-- docs/open-google-translate.md | 4 ++-- docs/open-home-folder.md | 4 ++-- docs/open-internet-archive.md | 4 ++-- docs/open-jitsi-meet.md | 4 ++-- docs/open-m-drive.md | 4 ++-- docs/open-magnifier.md | 4 ++-- docs/open-microsoft-paint.md | 4 ++-- docs/open-microsoft-solitaire.md | 4 ++-- docs/open-microsoft-store.md | 4 ++-- docs/open-microsoft-teams.md | 4 ++-- docs/open-music-folder.md | 4 ++-- docs/open-netflix.md | 4 ++-- docs/open-notepad.md | 4 ++-- docs/open-obs-studio.md | 4 ++-- docs/open-office-365.md | 4 ++-- docs/open-one-drive-folder.md | 4 ++-- docs/open-outlook.md | 4 ++-- docs/open-paint-three-d.md | 4 ++-- docs/open-pictures-folder.md | 4 ++-- docs/open-rdp.md | 4 ++-- docs/open-recycle-bin-folder.md | 4 ++-- docs/open-remote-desktop.md | 4 ++-- docs/open-repos-folder.md | 4 ++-- docs/open-screen-clip.md | 4 ++-- docs/open-screen-sketch.md | 4 ++-- docs/open-skype.md | 4 ++-- docs/open-snipping-tool.md | 4 ++-- docs/open-speed-test.md | 4 ++-- docs/open-spotify.md | 4 ++-- docs/open-stack-overflow.md | 4 ++-- docs/open-start-page.md | 4 ++-- docs/open-street-map.md | 4 ++-- docs/open-task-manager.md | 4 ++-- docs/open-temporary-folder.md | 4 ++-- docs/open-three-d-viewer.md | 4 ++-- docs/open-thunderbird.md | 4 ++-- docs/open-videos-folders.md | 4 ++-- docs/open-visual-studio.md | 4 ++-- docs/open-voice-recorder.md | 4 ++-- docs/open-vpn-settings.md | 4 ++-- docs/open-windows-defender.md | 4 ++-- docs/open-windows-terminal.md | 4 ++-- docs/open-windy.md | 4 ++-- docs/open-xing.md | 4 ++-- docs/pick-commit.md | 4 ++-- docs/ping-host.md | 4 ++-- docs/ping-internet.md | 4 ++-- docs/ping-local-devices.md | 4 ++-- docs/ping-weather.md | 4 ++-- docs/play-ascii-video.md | 4 ++-- docs/play-bee-sound.md | 4 ++-- docs/play-beep-sound.md | 4 ++-- docs/play-big-ben.md | 4 ++-- docs/play-cat-sound.md | 4 ++-- docs/play-chess.md | 4 ++-- docs/play-cow-sound.md | 4 ++-- docs/play-dog-sound.md | 4 ++-- docs/play-donkey-sound.md | 4 ++-- docs/play-drug-wars.md | 4 ++-- docs/play-elephant-sound.md | 4 ++-- docs/play-elk-sound.md | 4 ++-- docs/play-files.md | 4 ++-- docs/play-frog-sound.md | 4 ++-- docs/play-goat-sound.md | 4 ++-- docs/play-gorilla-sound.md | 4 ++-- docs/play-happy-birthday.md | 4 ++-- docs/play-horse-sound.md | 4 ++-- docs/play-imperial-march.md | 4 ++-- docs/play-jingle-bells.md | 4 ++-- docs/play-lion-sound.md | 4 ++-- docs/play-m3u.md | 4 ++-- docs/play-mission-impossible.md | 4 ++-- docs/play-mp3.md | 4 ++-- docs/play-parrot-sound.md | 4 ++-- docs/play-pig-sound.md | 4 ++-- docs/play-pong.md | 4 ++-- docs/play-rattlesnake-sound.md | 4 ++-- docs/play-rick.md | 4 ++-- docs/play-snake.md | 4 ++-- docs/play-super-mario.md | 4 ++-- docs/play-system-sounds.md | 4 ++-- docs/play-tetris-melody.md | 4 ++-- docs/play-tetris.md | 4 ++-- docs/play-vulture-sound.md | 4 ++-- docs/play-wolf-sound.md | 4 ++-- docs/poweroff.md | 4 ++-- docs/print-image.md | 4 ++-- docs/publish-to-ipfs.md | 4 ++-- docs/pull-repo.md | 4 ++-- docs/pull-repos.md | 4 ++-- docs/query-smart-data.md | 4 ++-- docs/reboot-fritzbox.md | 4 ++-- docs/reboot-into-bios.md | 4 ++-- docs/reboot.md | 4 ++-- docs/remember.md | 4 ++-- docs/remind-me.md | 4 ++-- docs/remove-dir.md | 4 ++-- docs/remove-empty-dirs.md | 4 ++-- docs/remove-old-dirs.md | 4 ++-- docs/remove-print-jobs.md | 4 ++-- docs/remove-tag.md | 4 ++-- docs/remove-user.md | 4 ++-- docs/remove-vm.md | 4 ++-- docs/replace-in-files.md | 4 ++-- docs/restart-network-adapters.md | 4 ++-- docs/roll-a-dice.md | 4 ++-- docs/save-credentials.md | 4 ++-- docs/save-screenshot.md | 4 ++-- docs/scan-folder.md | 4 ++-- docs/scan-network.md | 4 ++-- docs/scan-ports.md | 4 ++-- docs/search-filename.md | 4 ++-- docs/search-files.md | 4 ++-- docs/search-repo.md | 4 ++-- docs/send-email.md | 4 ++-- docs/send-tcp.md | 4 ++-- docs/send-udp.md | 4 ++-- docs/set-timer.md | 4 ++-- docs/set-volume.md | 4 ++-- docs/set-wallpaper.md | 4 ++-- docs/show-lightnings.md | 4 ++-- docs/show-notification-motivation-quote.md | 4 ++-- docs/show-notification.md | 4 ++-- docs/show-traffic.md | 4 ++-- docs/simulate-presence.md | 4 ++-- docs/smart-data2csv.md | 4 ++-- docs/speak-arabic.md | 4 ++-- docs/speak-checklist.md | 4 ++-- docs/speak-countdown.md | 4 ++-- docs/speak-croatian.md | 4 ++-- docs/speak-danish.md | 4 ++-- docs/speak-dutch.md | 4 ++-- docs/speak-english.md | 4 ++-- docs/speak-epub.md | 4 ++-- docs/speak-esperanto.md | 4 ++-- docs/speak-file.md | 4 ++-- docs/speak-finnish.md | 4 ++-- docs/speak-french.md | 4 ++-- docs/speak-german.md | 4 ++-- docs/speak-greek.md | 4 ++-- docs/speak-hebrew.md | 4 ++-- docs/speak-hindi.md | 4 ++-- docs/speak-italian.md | 4 ++-- docs/speak-japanese.md | 4 ++-- docs/speak-korean.md | 4 ++-- docs/speak-latin.md | 4 ++-- docs/speak-mandarin.md | 4 ++-- docs/speak-norwegian.md | 4 ++-- docs/speak-polish.md | 4 ++-- docs/speak-portuguese.md | 4 ++-- docs/speak-russian.md | 4 ++-- docs/speak-spanish.md | 4 ++-- docs/speak-swedish.md | 4 ++-- docs/speak-test.md | 4 ++-- docs/speak-text.md | 4 ++-- docs/speak-thai.md | 4 ++-- docs/speak-turkish.md | 4 ++-- docs/speak-ukrainian.md | 4 ++-- docs/spell-word.md | 4 ++-- docs/start-ipfs-server.md | 4 ++-- docs/suspend.md | 4 ++-- docs/switch-branch.md | 4 ++-- docs/switch-shelly1.md | 4 ++-- docs/switch-tabs.md | 4 ++-- docs/sync-dir.md | 4 ++-- docs/sync-repo.md | 4 ++-- docs/tell-joke.md | 4 ++-- docs/tell-new-year.md | 4 ++-- docs/tell-quote.md | 4 ++-- docs/toggle-caps-lock.md | 4 ++-- docs/toggle-num-lock.md | 4 ++-- docs/toggle-scroll-lock.md | 4 ++-- docs/touch.md | 4 ++-- docs/translate-file.md | 4 ++-- docs/translate-files.md | 4 ++-- docs/translate-text.md | 4 ++-- docs/turn-volume-down.md | 4 ++-- docs/turn-volume-fully-up.md | 4 ++-- docs/turn-volume-off.md | 4 ++-- docs/turn-volume-on.md | 4 ++-- docs/turn-volume-up.md | 4 ++-- docs/uninstall-all-apps.md | 4 ++-- docs/uninstall-bloatware.md | 4 ++-- docs/uninstall-new-outlook.md | 4 ++-- docs/uninstall-outlook.md | 4 ++-- docs/update-powershell-profile.md | 4 ++-- docs/upgrade-ubuntu.md | 4 ++-- docs/upload-file.md | 4 ++-- docs/upload-to-dropbox.md | 4 ++-- docs/vi.md | 4 ++-- docs/wake-up-host.md | 4 ++-- docs/wake-up-human.md | 4 ++-- docs/watch-commits.md | 4 ++-- docs/watch-crypto-rates.md | 4 ++-- docs/watch-file.md | 4 ++-- docs/watch-host.md | 4 ++-- docs/watch-news.md | 4 ++-- docs/watch-ping.md | 4 ++-- docs/weather-report.md | 4 ++-- docs/weather.md | 4 ++-- docs/what-is.md | 4 ++-- docs/windefender.md | 4 ++-- docs/write-animated.md | 4 ++-- docs/write-ascii-image.md | 4 ++-- docs/write-big.md | 4 ++-- docs/write-blue.md | 4 ++-- docs/write-braille.md | 4 ++-- docs/write-centered.md | 4 ++-- docs/write-changelog.md | 4 ++-- docs/write-chart.md | 4 ++-- docs/write-clock.md | 4 ++-- docs/write-code.md | 4 ++-- docs/write-credits.md | 4 ++-- docs/write-date.md | 4 ++-- docs/write-fractal.md | 4 ++-- docs/write-green.md | 4 ++-- docs/write-hands-off.md | 4 ++-- docs/write-headline.md | 4 ++-- docs/write-help.md | 4 ++-- docs/write-in-emojis.md | 4 ++-- docs/write-joke.md | 4 ++-- docs/write-location.md | 4 ++-- docs/write-lowercase.md | 4 ++-- docs/write-marquee.md | 4 ++-- docs/write-matrix.md | 4 ++-- docs/write-moon.md | 4 ++-- docs/write-morse-code.md | 4 ++-- docs/write-motd.md | 4 ++-- docs/write-pi.md | 4 ++-- docs/write-progress-bar.md | 4 ++-- docs/write-qr-code.md | 4 ++-- docs/write-quote.md | 4 ++-- docs/write-red.md | 4 ++-- docs/write-rot13.md | 4 ++-- docs/write-shit.md | 4 ++-- docs/write-sine-curves.md | 4 ++-- docs/write-skull.md | 4 ++-- docs/write-story.md | 4 ++-- docs/write-time.md | 4 ++-- docs/write-typewriter.md | 4 ++-- docs/write-uppercase.md | 4 ++-- docs/write-value.md | 4 ++-- docs/write-vertical.md | 4 ++-- docs/write-xmas-tree.md | 4 ++-- scripts/convert-ps2md.ps1 | 2 +- 664 files changed, 1328 insertions(+), 1328 deletions(-) diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index 1291b91b3..95364a4d3 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -1,4 +1,4 @@ -Script: *add-firewall-rules.ps1* +The 'add-firewall-rules.ps1' Script ======================== This PowerShell script adds firewall rules for the given executable. Administrator rights are required. @@ -117,4 +117,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/alert.md b/docs/alert.md index 817b0942c..f4c63bd3a 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -1,4 +1,4 @@ -Script: *alert.ps1* +The 'alert.ps1' Script ======================== This PowerShell script handles and escalates the given alert message. @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/build-repo.md b/docs/build-repo.md index 7075aa42d..e6b9754d6 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -1,4 +1,4 @@ -Script: *build-repo.ps1* +The 'build-repo.ps1' Script ======================== This PowerShell script builds an arbitrary source code repository by supporting @@ -225,4 +225,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/build-repos.md b/docs/build-repos.md index dce2e46f1..a06150a4c 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -1,4 +1,4 @@ -Script: *build-repos.ps1* +The 'build-repos.ps1' Script ======================== This PowerShell script builds all Git repositories within a folder. @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/calculate-BMI.md b/docs/calculate-BMI.md index a946049db..630fab49c 100644 --- a/docs/calculate-BMI.md +++ b/docs/calculate-BMI.md @@ -1,4 +1,4 @@ -Script: *calculate-BMI.ps1* +The 'calculate-BMI.ps1' Script ======================== This PowerShell script calculates your BMI value. @@ -61,4 +61,4 @@ $result = $weight / ($height * $height) exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index 54e4f8db5..cb0c69b4c 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -1,4 +1,4 @@ -Script: *cd-autostart.ps1* +The 'cd-autostart.ps1' Script ======================== This PowerShell script changes the current working directory to the autostart folder. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index 97ff00b6a..67ac28194 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -1,4 +1,4 @@ -Script: *cd-crashdumps.ps1* +The 'cd-crashdumps.ps1' Script ======================== This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index a3d2dbd66..4d6f417c2 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -1,4 +1,4 @@ -Script: *cd-desktop.ps1* +The 'cd-desktop.ps1' Script ======================== This PowerShell script changes the working directory to the user's desktop folder. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index c1fb81908..36159eef6 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -1,4 +1,4 @@ -Script: *cd-docs.ps1* +The 'cd-docs.ps1' Script ======================== This PowerShell script changes the current working directory to the documents folder. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index c8807fc57..6131a8eee 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -1,4 +1,4 @@ -Script: *cd-downloads.ps1* +The 'cd-downloads.ps1' Script ======================== This PowerShell script changes the working directory to the user's downloads folder. @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index 936fe8588..079ada1ae 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -1,4 +1,4 @@ -Script: *cd-dropbox.ps1* +The 'cd-dropbox.ps1' Script ======================== This PowerShell script changes the working directory to the user's Dropbox folder. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index b092f65ee..ca7640cbe 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -1,4 +1,4 @@ -Script: *cd-etc.ps1* +The 'cd-etc.ps1' Script ======================== This PowerShell script changes the current working directory to the /etc directory. @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index 7daa5e923..a60be60c4 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -1,4 +1,4 @@ -Script: *cd-fonts.ps1* +The 'cd-fonts.ps1' Script ======================== This PowerShell script sets the current working directory to the fonts folder. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-home.md b/docs/cd-home.md index cc7f7144f..bf8e2ef94 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -1,4 +1,4 @@ -Script: *cd-home.ps1* +The 'cd-home.ps1' Script ======================== This PowerShell script changes the working directory to the user's home directory. @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index 653d5a1ae..0fe0d9397 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -1,4 +1,4 @@ -Script: *cd-jenkins.ps1* +The 'cd-jenkins.ps1' Script ======================== This PowerShell script changes the working directory to the Jenkins home directory. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:46)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index 111fa4bae..bcf4664f4 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -1,4 +1,4 @@ -Script: *cd-logs.ps1* +The 'cd-logs.ps1' Script ======================== This PowerShell script changes the current working directory to the logs directory. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-music.md b/docs/cd-music.md index 7eda62165..0059a2b6c 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -1,4 +1,4 @@ -Script: *cd-music.ps1* +The 'cd-music.ps1' Script ======================== This PowerShell script changes the working directory to the user's music folder. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index e6f48d763..55bb4387c 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -1,4 +1,4 @@ -Script: *cd-nextcloud.ps1* +The 'cd-nextcloud.ps1' Script ======================== This PowerShell script changes the working directory to the user's NextCloud folder. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index 6660e777f..483e2c16b 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -1,4 +1,4 @@ -Script: *cd-onedrive.ps1* +The 'cd-onedrive.ps1' Script ======================== This PowerShell script sets the current working directory to the user's OneDrive folder. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index 7d5ac7c8b..c014eff66 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -1,4 +1,4 @@ -Script: *cd-pics.ps1* +The 'cd-pics.ps1' Script ======================== This PowerShell script changes the current working directory to the user's pictures folder. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-public.md b/docs/cd-public.md index d274a9129..972bc2fe4 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -1,4 +1,4 @@ -Script: *cd-public.ps1* +The 'cd-public.ps1' Script ======================== This PowerShell script changes the current working directory to the Public folder. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index 76365f253..d23ae7f89 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -1,4 +1,4 @@ -Script: *cd-recent.ps1* +The 'cd-recent.ps1' Script ======================== This PowerShell script changes the current working directory to the 'recent' folder. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index 9679cf0e5..d016364f5 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -1,4 +1,4 @@ -Script: *cd-recycle-bin.ps1* +The 'cd-recycle-bin.ps1' Script ======================== This PowerShell script changes the current working directory to the user's recycle bin folder. @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index 2cf264d00..73867fc48 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -1,4 +1,4 @@ -Script: *cd-repo.ps1* +The 'cd-repo.ps1' Script ======================== This PowerShell script changes the current working directory to the given local Git repository. @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index 60621b584..9336113b0 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -1,4 +1,4 @@ -Script: *cd-repos.ps1* +The 'cd-repos.ps1' Script ======================== This PowerShell script changes the current working directory to the Git repositories folder. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-root.md b/docs/cd-root.md index d01cf85b1..2ef17cd5e 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -1,4 +1,4 @@ -Script: *cd-root.ps1* +The 'cd-root.ps1' Script ======================== This PowerShell script changes the current working directory to the root directory (C:\ on Windows). @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index bbd18b764..6ee371726 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -1,4 +1,4 @@ -Script: *cd-screenshots.ps1* +The 'cd-screenshots.ps1' Script ======================== This PowerShell script sets the current working directory to the user's screenshots folder. @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index 96d369772..07ffdf618 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -1,4 +1,4 @@ -Script: *cd-scripts.ps1* +The 'cd-scripts.ps1' Script ======================== This PowerShell script changes the currrent working directory to the PowerShell scripts folder. @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index c1dc4abd0..219fec37a 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -1,4 +1,4 @@ -Script: *cd-ssh.ps1* +The 'cd-ssh.ps1' Script ======================== This PowerShell script changes the current working directory to the user's secure shell (SSH) folder. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-sync.md b/docs/cd-sync.md index e17edee31..384f4ef04 100644 --- a/docs/cd-sync.md +++ b/docs/cd-sync.md @@ -1,4 +1,4 @@ -Script: *cd-sync.ps1* +The 'cd-sync.ps1' Script ======================== This PowerShell script changes the current working directory to the user's Syncthing folder. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index ad7b6d033..7ddfe0066 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -1,4 +1,4 @@ -Script: *cd-temp.ps1* +The 'cd-temp.ps1' Script ======================== This PowerShell script changes the current working directory to the temporary folder. @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index ef0868ec1..74ea10d2d 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -1,4 +1,4 @@ -Script: *cd-templates.ps1* +The 'cd-templates.ps1' Script ======================== This PowerShell script sets the current working directory to the templates folder. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index e13088fdc..59dfd8933 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -1,4 +1,4 @@ -Script: *cd-trash.ps1* +The 'cd-trash.ps1' Script ======================== This PowerShell script changes the current working directory to the user's trash folder. @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-up.md b/docs/cd-up.md index 7e143bbdd..75ad1c3a8 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -1,4 +1,4 @@ -Script: *cd-up.ps1* +The 'cd-up.ps1' Script ======================== This PowerShell script changes the current working directory to one directory level up. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index a6879f615..dc5803c9d 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -1,4 +1,4 @@ -Script: *cd-up2.ps1* +The 'cd-up2.ps1' Script ======================== This PowerShell script changes the current working directory to two directory level up. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index ae6865ea4..c810f58ea 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -1,4 +1,4 @@ -Script: *cd-up3.ps1* +The 'cd-up3.ps1' Script ======================== This PowerShell script changes the current working directory to three directory levels up. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index 7b6ce1f55..762fe6370 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -1,4 +1,4 @@ -Script: *cd-up4.ps1* +The 'cd-up4.ps1' Script ======================== This PowerShell script changes the current working directory to four directory levels up. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-users.md b/docs/cd-users.md index 8c082f309..ba2af5309 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -1,4 +1,4 @@ -Script: *cd-users.ps1* +The 'cd-users.ps1' Script ======================== This PowerShell script sets the current working directory to the users directory. @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index dfe6967ce..6a8589f72 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -1,4 +1,4 @@ -Script: *cd-videos.ps1* +The 'cd-videos.ps1' Script ======================== This PowerShell script changes the working directory to the user's videos folder. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index 0cbb7bea3..0b951a903 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -1,4 +1,4 @@ -Script: *cd-windows.ps1* +The 'cd-windows.ps1' Script ======================== This PowerShell script sets the current working directory to the Windows directory. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index d19495760..1e5188df8 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -1,4 +1,4 @@ -Script: *change-wallpaper.ps1* +The 'change-wallpaper.ps1' Script ======================== This PowerShell script downloads a random photo from Unsplash and sets it as desktop background. @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/check-admin.md b/docs/check-admin.md index 0f1a23028..bae4f18d9 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -1,4 +1,4 @@ -Script: *check-admin.ps1* +The 'check-admin.ps1' Script ======================== This PowerShell script checks if the user has administrator rights. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/check-apps.md b/docs/check-apps.md index b300c5d02..48aa471dd 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -1,4 +1,4 @@ -Script: *check-apps.ps1* +The 'check-apps.ps1' Script ======================== check-apps.ps1 @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/check-bios.md b/docs/check-bios.md index 824de6099..20b97e5dc 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -1,4 +1,4 @@ -Script: *check-bios.ps1* +The 'check-bios.ps1' Script ======================== This PowerShell script queries the BIOS status and prints it. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index a5e63e549..c52d60584 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -1,4 +1,4 @@ -Script: *check-cpu.ps1* +The 'check-cpu.ps1' Script ======================== check-cpu.ps1 @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index dd4466d62..338f89c0a 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -1,4 +1,4 @@ -Script: *check-credentials.ps1* +The 'check-credentials.ps1' Script ======================== This PowerShell script asks for credentials and checks them against saved ones ("$HOME\my.credentials" by default). @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/check-day.md b/docs/check-day.md index b5b7f7e67..9ade6aeb8 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -1,4 +1,4 @@ -Script: *check-day.ps1* +The 'check-day.ps1' Script ======================== This PowerShell script determines and speaks the current day by text-to-speech (TTS). @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/check-dns.md b/docs/check-dns.md index f3caf6e11..4e3a27b61 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -1,4 +1,4 @@ -Script: *check-dns.ps1* +The 'check-dns.ps1' Script ======================== This PowerShell script measures the DNS resolution speed using 100 internet domains and prints it. @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index 1bbd4fc0e..eb64a5cc3 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -1,4 +1,4 @@ -Script: *check-drive-space.ps1* +The 'check-drive-space.ps1' Script ======================== This PowerShell script checks the given drive for free space left (10 GB by default). @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-drives.md b/docs/check-drives.md index f067461a4..4f7052cb5 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -1,4 +1,4 @@ -Script: *check-drives.ps1* +The 'check-drives.ps1' Script ======================== This PowerShell script queries the free space of all drives and prints it. @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index 8e7cba56a..d4c3d6d59 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -1,4 +1,4 @@ -Script: *check-dusk.ps1* +The 'check-dusk.ps1' Script ======================== check-dusk.ps1 @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index a10ec726d..62d0c5ed9 100644 --- a/docs/check-easter-sunday.md +++ b/docs/check-easter-sunday.md @@ -1,4 +1,4 @@ -Script: *check-easter-sunday.ps1* +The 'check-easter-sunday.ps1' Script ======================== This PowerShell script checks the time until Easter Sunday and replies by text-to-speech (TTS). @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index 4fad85c77..896aea343 100644 --- a/docs/check-file-system.md +++ b/docs/check-file-system.md @@ -1,4 +1,4 @@ -Script: *check-file-system.ps1* +The 'check-file-system.ps1' Script ======================== This PowerShell script checks the file system of a drive. It needs admin rights. @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-file.md b/docs/check-file.md index fc601a2a4..82414ab68 100644 --- a/docs/check-file.md +++ b/docs/check-file.md @@ -1,4 +1,4 @@ -Script: *check-file.ps1* +The 'check-file.ps1' Script ======================== This PowerShell script determines and prints the file type of the given file. @@ -171,4 +171,4 @@ function Check-Header { param( $path ) Check-Header $Path ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index 758e5e5fe..c2ad7b69b 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -1,4 +1,4 @@ -Script: *check-firewall.ps1* +The 'check-firewall.ps1' Script ======================== This PowerShell script queries the status of the firewall and prints it. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index 9751576b9..786f0e2be 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -1,4 +1,4 @@ -Script: *check-gpu.ps1* +The 'check-gpu.ps1' Script ======================== check-gpu.ps1 @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index f425ed2be..4ca496b78 100644 --- a/docs/check-hardware.md +++ b/docs/check-hardware.md @@ -1,4 +1,4 @@ -Script: *check-hardware.ps1* +The 'check-hardware.ps1' Script ======================== This PowerShell script queries the hardware details of the local computer and prints it. @@ -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 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-health.md b/docs/check-health.md index cbef6473b..39890e20c 100644 --- a/docs/check-health.md +++ b/docs/check-health.md @@ -1,4 +1,4 @@ -Script: *check-health.ps1* +The 'check-health.ps1' Script ======================== This PowerShell script queries the system health of the local computer (hardware, software, and network) and prints it. @@ -58,4 +58,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index 28d197497..c1f3a4f95 100644 --- a/docs/check-independence-day.md +++ b/docs/check-independence-day.md @@ -1,4 +1,4 @@ -Script: *check-independence-day.ps1* +The 'check-independence-day.ps1' Script ======================== This PowerShell script checks the time until Indepence Day and replies by text-to-speech (TTS). @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index 1ee4c8619..e318a1dcb 100644 --- a/docs/check-ipv4-address.md +++ b/docs/check-ipv4-address.md @@ -1,4 +1,4 @@ -Script: *check-ipv4-address.ps1* +The 'check-ipv4-address.ps1' Script ======================== This PowerShell script checks the given IPv4 address for validity. @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index b5f2d40f0..7dec40e8b 100644 --- a/docs/check-ipv6-address.md +++ b/docs/check-ipv6-address.md @@ -1,4 +1,4 @@ -Script: *check-ipv6-address.ps1* +The 'check-ipv6-address.ps1' Script ======================== This PowerShell script checks the given IPv6 address for validity @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index 6a849c934..98da18023 100644 --- a/docs/check-iss-position.md +++ b/docs/check-iss-position.md @@ -1,4 +1,4 @@ -Script: *check-iss-position.ps1* +The 'check-iss-position.ps1' Script ======================== This PowerShell script queries the position of the International Space Station (ISS) and replies by text-to-speech (TTS). @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index e563e91c0..edbc453e1 100644 --- a/docs/check-mac-address.md +++ b/docs/check-mac-address.md @@ -1,4 +1,4 @@ -Script: *check-mac-address.ps1* +The 'check-mac-address.ps1' Script ======================== This PowerShell script checks the given MAC address for validity @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index f9069b0d1..73689da67 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -1,4 +1,4 @@ -Script: *check-midnight.ps1* +The 'check-midnight.ps1' Script ======================== check-midnight.ps1 @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-month.md b/docs/check-month.md index ac3e770cc..80b5f69f4 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -1,4 +1,4 @@ -Script: *check-month.ps1* +The 'check-month.ps1' Script ======================== This PowerShell script determines and speaks the current month name by text-to-speech (TTS). @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index c88244bc1..6b28cd5eb 100644 --- a/docs/check-moon-phase.md +++ b/docs/check-moon-phase.md @@ -1,4 +1,4 @@ -Script: *check-moon-phase.ps1* +The 'check-moon-phase.ps1' Script ======================== This PowerShell script determines the Moon phase and answers by text-to-speech (TTS). @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index 2d68bade3..1866f023a 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -1,4 +1,4 @@ -Script: *check-motherboard.ps1* +The 'check-motherboard.ps1' Script ======================== This PowerShell script lists the motherboard details. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-network.md b/docs/check-network.md index 4247b0b6c..15c9ab7df 100644 --- a/docs/check-network.md +++ b/docs/check-network.md @@ -1,4 +1,4 @@ -Script: *check-network.ps1* +The 'check-network.ps1' Script ======================== This PowerShell script queries the network details of the local computer and prints it. @@ -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 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-noon.md b/docs/check-noon.md index acbfc1717..760e80548 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -1,4 +1,4 @@ -Script: *check-noon.ps1* +The 'check-noon.ps1' Script ======================== check-noon.ps1 @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-os.md b/docs/check-os.md index a229678de..765545da5 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -1,4 +1,4 @@ -Script: *check-os.ps1* +The 'check-os.ps1' Script ======================== This PowerShell script queries the operating system status and writes it to the console. @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index b2c1198e5..034c40557 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -1,4 +1,4 @@ -Script: *check-outlook.ps1* +The 'check-outlook.ps1' Script ======================== This PowerShell script checks the inbox of Outlook for new/unread mails. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-password.md b/docs/check-password.md index 9084558a7..af68fa5ef 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -1,4 +1,4 @@ -Script: *check-password.ps1* +The 'check-password.ps1' Script ======================== This PowerShell script checks the security status of the given password by haveibeenpwned.com @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index dbf3b75ec..737b08534 100644 --- a/docs/check-pending-reboot.md +++ b/docs/check-pending-reboot.md @@ -1,4 +1,4 @@ -Script: *check-pending-reboot.ps1* +The 'check-pending-reboot.ps1' Script ======================== check-pending-reboot.ps1 @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index 9539c1afc..ad1a40388 100644 --- a/docs/check-pnp-devices.md +++ b/docs/check-pnp-devices.md @@ -1,4 +1,4 @@ -Script: *check-pnp-devices.ps1* +The 'check-pnp-devices.ps1' Script ======================== This PowerShell script checks all Plug'n'PLay devices connected to the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-power.md b/docs/check-power.md index a37187a86..49a789c52 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -1,4 +1,4 @@ -Script: *check-power.ps1* +The 'check-power.ps1' Script ======================== This PowerShell script queries the power status and prints it. @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index 8bf7ac902..cbe93700e 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -1,4 +1,4 @@ -Script: *check-powershell.ps1* +The 'check-powershell.ps1' Script ======================== check-powershell.ps1 @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 3f8283a18..84be37d42 100644 --- a/docs/check-ps1-file.md +++ b/docs/check-ps1-file.md @@ -1,4 +1,4 @@ -Script: *check-ps1-file.ps1* +The 'check-ps1-file.ps1' Script ======================== This PowerShell script checks the given PowerShell script file(s) for validity. @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-ram.md b/docs/check-ram.md index b8bd2d025..343ad51cb 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -1,4 +1,4 @@ -Script: *check-ram.ps1* +The 'check-ram.ps1' Script ======================== check-ram.ps1 @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-repo.md b/docs/check-repo.md index f53d3a425..7d879898d 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -1,4 +1,4 @@ -Script: *check-repo.ps1* +The 'check-repo.ps1' Script ======================== This PowerShell script verifies the integrity of a local Git repository and performs maintenance tasks. @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-repos.md b/docs/check-repos.md index 21f491884..cad4ad971 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -1,4 +1,4 @@ -Script: *check-repos.ps1* +The 'check-repos.ps1' Script ======================== This PowerShell script verifies the data integrity of all Git repositories in a folder. @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-santa.md b/docs/check-santa.md index d61e56a5e..a1ed485c6 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -1,4 +1,4 @@ -Script: *check-santa.ps1* +The 'check-santa.ps1' Script ======================== This PowerShell script checks the time until Saint Nicholas Day and replies by text-to-speech (TTS). @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index 3a0b79370..2b48674d4 100644 --- a/docs/check-smart-devices.md +++ b/docs/check-smart-devices.md @@ -1,4 +1,4 @@ -Script: *check-smart-devices.ps1* +The 'check-smart-devices.ps1' Script ======================== check-smart-devices.ps1 @@ -120,4 +120,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-software.md b/docs/check-software.md index 15ee4b11c..c99fb62bc 100644 --- a/docs/check-software.md +++ b/docs/check-software.md @@ -1,4 +1,4 @@ -Script: *check-software.ps1* +The 'check-software.ps1' Script ======================== This PowerShell script queries the software status of the local computer and prints it. @@ -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 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index 466595616..fe65d140e 100644 --- a/docs/check-subnet-mask.md +++ b/docs/check-subnet-mask.md @@ -1,4 +1,4 @@ -Script: *check-subnet-mask.ps1* +The 'check-subnet-mask.ps1' Script ======================== This PowerShell script checks the given subnet mask for validity. @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index 760ed2e14..2192fcc32 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -1,4 +1,4 @@ -Script: *check-swap-space.ps1* +The 'check-swap-space.ps1' Script ======================== This PowerShell script queries the current status of the swap space and prints it. @@ -108,4 +108,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index df445f2d0..6a7b63208 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -1,4 +1,4 @@ -Script: *check-symlinks.ps1* +The 'check-symlinks.ps1' Script ======================== This PowerShell script checks all symbolic links in a directory tree. It returns the number of broken symlinks as exit value. @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index 734348614..f17ea56ad 100644 --- a/docs/check-time-zone.md +++ b/docs/check-time-zone.md @@ -1,4 +1,4 @@ -Script: *check-time-zone.ps1* +The 'check-time-zone.ps1' Script ======================== This PowerShell script queries the local time zone and prints it. @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:47)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index 7daaa7c56..d0180a8e5 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -1,4 +1,4 @@ -Script: *check-uptime.ps1* +The 'check-uptime.ps1' Script ======================== check-uptime.ps1 @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index 137117b87..390dd81ce 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -1,4 +1,4 @@ -Script: *check-vpn.ps1* +The 'check-vpn.ps1' Script ======================== This PowerShell script queries the status of the VPN connection(s) and prints it. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-weather.md b/docs/check-weather.md index a921c487f..de2481652 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -1,4 +1,4 @@ -Script: *check-weather.ps1* +The 'check-weather.ps1' Script ======================== This PowerShell script checks the current weather report. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-week.md b/docs/check-week.md index 0e31a5c6a..9a607f2ef 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -1,4 +1,4 @@ -Script: *check-week.ps1* +The 'check-week.ps1' Script ======================== This PowerShell script determines and speaks the current week number by text-to-speech (TTS). @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-wind.md b/docs/check-wind.md index 37e1007ed..6b28d3282 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -1,4 +1,4 @@ -Script: *check-wind.ps1* +The 'check-wind.ps1' Script ======================== This PowerShell script determines the current wind conditions and replies by text-to-speech (TTS). @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index a4d1cc195..e833df396 100644 --- a/docs/check-windows-system-files.md +++ b/docs/check-windows-system-files.md @@ -1,4 +1,4 @@ -Script: *check-windows-system-files.ps1* +The 'check-windows-system-files.ps1' Script ======================== This PowerShell script checks the validity of the Windows system files. It requires admin rights. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index d83b7a83d..bb25e4613 100644 --- a/docs/check-xml-file.md +++ b/docs/check-xml-file.md @@ -1,4 +1,4 @@ -Script: *check-xml-file.ps1* +The 'check-xml-file.ps1' Script ======================== This PowerShell script checks the given XML file for validity. @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index 5d7ee4cf0..cbf731d17 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -1,4 +1,4 @@ -Script: *check-xml-files.ps1* +The 'check-xml-files.ps1' Script ======================== This PowerShell script verifies any XML file (with suffix .xml) in the given directory tree for validity. @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index 85f2ff0b8..da87549e2 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -1,4 +1,4 @@ -Script: *clean-repo.ps1* +The 'clean-repo.ps1' Script ======================== This PowerShell script deletes all untracked files and folders in a local Git repository (including submodules). @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index d92b7fae6..f0b884b08 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -1,4 +1,4 @@ -Script: *clean-repos.ps1* +The 'clean-repos.ps1' Script ======================== This PowerShell script cleans all Git repositories in a folder from untracked files (including submodules). @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index c8d3e4e42..a5f67a7d8 100644 --- a/docs/clear-dns-cache.md +++ b/docs/clear-dns-cache.md @@ -1,4 +1,4 @@ -Script: *clear-dns-cache.ps1* +The 'clear-dns-cache.ps1' Script ======================== This PowerShell script empties the DNS client cache of the local computer. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index 8b8f8c8a3..40cdd4110 100644 --- a/docs/clear-recycle-bin.md +++ b/docs/clear-recycle-bin.md @@ -1,4 +1,4 @@ -Script: *clear-recycle-bin.ps1* +The 'clear-recycle-bin.ps1' Script ======================== This PowerShell script removes the content of the recycle bin folder permanently. @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index 12803e423..560600574 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -1,4 +1,4 @@ -Script: *clone-repos.ps1* +The 'clone-repos.ps1' Script ======================== This PowerShell script clones popular Git repositories into a common target directory. @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index acc5cf7d3..ab009c8fb 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -1,4 +1,4 @@ -Script: *clone-shallow.ps1* +The 'clone-shallow.ps1' Script ======================== This PowerShell script clones a shallow Git repository for speed and disk space (1 branch and 1 commit only, no blobs). @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index fa8029f2f..4ae60fe93 100644 --- a/docs/close-calculator.md +++ b/docs/close-calculator.md @@ -1,4 +1,4 @@ -Script: *close-calculator.ps1* +The 'close-calculator.ps1' Script ======================== This PowerShell script closes the calculator application gracefully. @@ -48,4 +48,4 @@ Stop-Process -name "CalculatorApp" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index 2434fcc43..6e69ca242 100644 --- a/docs/close-chrome.md +++ b/docs/close-chrome.md @@ -1,4 +1,4 @@ -Script: *close-chrome.ps1* +The 'close-chrome.ps1' Script ======================== This PowerShell script closes the Google Chrome Web browser gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index 30c3a76f6..7409877a5 100644 --- a/docs/close-cortana.md +++ b/docs/close-cortana.md @@ -1,4 +1,4 @@ -Script: *close-cortana.ps1* +The 'close-cortana.ps1' Script ======================== This PowerShell script closes Microsoft's Cortana application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-edge.md b/docs/close-edge.md index 8694aac4d..50510134a 100644 --- a/docs/close-edge.md +++ b/docs/close-edge.md @@ -1,4 +1,4 @@ -Script: *close-edge.ps1* +The 'close-edge.ps1' Script ======================== This PowerShell script closes the Microsoft Edge Web browser gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index d5872fc9c..1b30cf2c3 100644 --- a/docs/close-file-explorer.md +++ b/docs/close-file-explorer.md @@ -1,4 +1,4 @@ -Script: *close-file-explorer.ps1* +The 'close-file-explorer.ps1' Script ======================== This PowerShell script closes the Microsoft File Explorer application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index b2508582b..91e1b9621 100644 --- a/docs/close-firefox.md +++ b/docs/close-firefox.md @@ -1,4 +1,4 @@ -Script: *close-firefox.ps1* +The 'close-firefox.ps1' Script ======================== This PowerShell script closes the Mozilla Firefox Web browser gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index e9b5d9593..81e786ca7 100644 --- a/docs/close-git-extensions.md +++ b/docs/close-git-extensions.md @@ -1,4 +1,4 @@ -Script: *close-git-extensions.ps1* +The 'close-git-extensions.ps1' Script ======================== This PowerShell script closes the Git Extensions application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index 9f2295340..27712c44b 100644 --- a/docs/close-magnifier.md +++ b/docs/close-magnifier.md @@ -1,4 +1,4 @@ -Script: *close-magnifier.ps1* +The 'close-magnifier.ps1' Script ======================== This PowerShell script closes the Windows Screen Magnifier application gracefully. @@ -48,4 +48,4 @@ tskill magnify exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 5f6802c31..06bdecb91 100644 --- a/docs/close-microsoft-paint.md +++ b/docs/close-microsoft-paint.md @@ -1,4 +1,4 @@ -Script: *close-microsoft-paint.ps1* +The 'close-microsoft-paint.ps1' Script ======================== This PowerShell script closes the Microsoft Paint application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index 8077a61e9..ea6c9e47d 100644 --- a/docs/close-microsoft-store.md +++ b/docs/close-microsoft-store.md @@ -1,4 +1,4 @@ -Script: *close-microsoft-store.ps1* +The 'close-microsoft-store.ps1' Script ======================== This PowerShell script closes the Microsoft Store application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index ce9f1c9e9..325a24202 100644 --- a/docs/close-netflix.md +++ b/docs/close-netflix.md @@ -1,4 +1,4 @@ -Script: *close-netflix.ps1* +The 'close-netflix.ps1' Script ======================== This PowerShell script closes the Netflix application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index ff4388f90..24b053a51 100644 --- a/docs/close-notepad.md +++ b/docs/close-notepad.md @@ -1,4 +1,4 @@ -Script: *close-notepad.ps1* +The 'close-notepad.ps1' Script ======================== This PowerShell script closes the Notepad application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index f53495477..c8565a7bc 100644 --- a/docs/close-obs-studio.md +++ b/docs/close-obs-studio.md @@ -1,4 +1,4 @@ -Script: *close-obs-studio.ps1* +The 'close-obs-studio.ps1' Script ======================== This PowerShell script closes the OBS Studio application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index d9cf4e335..a7a898bd8 100644 --- a/docs/close-one-calendar.md +++ b/docs/close-one-calendar.md @@ -1,4 +1,4 @@ -Script: *close-one-calendar.ps1* +The 'close-one-calendar.ps1' Script ======================== This PowerShell script closes the OneCalendar application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index 10a8115ff..719781a7e 100644 --- a/docs/close-outlook.md +++ b/docs/close-outlook.md @@ -1,4 +1,4 @@ -Script: *close-outlook.ps1* +The 'close-outlook.ps1' Script ======================== This PowerShell script closes the Microsoft Outlook email application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index 1f9a80a52..9b2e82919 100644 --- a/docs/close-paint-three-d.md +++ b/docs/close-paint-three-d.md @@ -1,4 +1,4 @@ -Script: *close-paint-three-d.ps1* +The 'close-paint-three-d.ps1' Script ======================== This PowerShell script closes the Paint 3D application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-program.md b/docs/close-program.md index d54621f8e..69b7565d2 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -1,4 +1,4 @@ -Script: *close-program.ps1* +The 'close-program.ps1' Script ======================== This PowerShell script closes a program's processes gracefully. @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index e024ff9fe..57f5ffa1e 100644 --- a/docs/close-serenade.md +++ b/docs/close-serenade.md @@ -1,4 +1,4 @@ -Script: *close-serenade.ps1* +The 'close-serenade.ps1' Script ======================== This PowerShell script closes the Serenade.ai application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index dc45a0248..e3b9545c9 100644 --- a/docs/close-snipping-tool.md +++ b/docs/close-snipping-tool.md @@ -1,4 +1,4 @@ -Script: *close-snipping-tool.ps1* +The 'close-snipping-tool.ps1' Script ======================== This PowerShell script closes the Snipping Tool application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index 8259d0d96..eeb2600b4 100644 --- a/docs/close-spotify.md +++ b/docs/close-spotify.md @@ -1,4 +1,4 @@ -Script: *close-spotify.ps1* +The 'close-spotify.ps1' Script ======================== This PowerShell script closes the Spotify application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 5df9d5474..8bb7fcff3 100644 --- a/docs/close-task-manager.md +++ b/docs/close-task-manager.md @@ -1,4 +1,4 @@ -Script: *close-task-manager.ps1* +The 'close-task-manager.ps1' Script ======================== This PowerShell script closes the Task Manager application gracefully. @@ -48,4 +48,4 @@ tskill taskmgr exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index 7f4da682c..18b8ad93d 100644 --- a/docs/close-three-d-viewer.md +++ b/docs/close-three-d-viewer.md @@ -1,4 +1,4 @@ -Script: *close-three-d-viewer.ps1* +The 'close-three-d-viewer.ps1' Script ======================== This PowerShell script closes the 3D-Viewer application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index 6df96427b..303389d0d 100644 --- a/docs/close-thunderbird.md +++ b/docs/close-thunderbird.md @@ -1,4 +1,4 @@ -Script: *close-thunderbird.ps1* +The 'close-thunderbird.ps1' Script ======================== This PowerShell script closes the Mozilla Thunderbird email application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index ea0e68927..cad85b93e 100644 --- a/docs/close-visual-studio.md +++ b/docs/close-visual-studio.md @@ -1,4 +1,4 @@ -Script: *close-visual-studio.ps1* +The 'close-visual-studio.ps1' Script ======================== This PowerShell script closes the Microsoft Visual Studio application gracefully. @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index c2712a734..1e55c2408 100644 --- a/docs/close-vlc.md +++ b/docs/close-vlc.md @@ -1,4 +1,4 @@ -Script: *close-vlc.ps1* +The 'close-vlc.ps1' Script ======================== This PowerShell script closes the VLC media player application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index 76ad211f4..8eaad90bb 100644 --- a/docs/close-windows-terminal.md +++ b/docs/close-windows-terminal.md @@ -1,4 +1,4 @@ -Script: *close-windows-terminal.ps1* +The 'close-windows-terminal.ps1' Script ======================== This PowerShell script closes the Windows Terminal application gracefully. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/configure-git.md b/docs/configure-git.md index be316187f..fd7f9fc90 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -1,4 +1,4 @@ -Script: *configure-git.ps1* +The 'configure-git.ps1' Script ======================== This PowerShell script configures your Git user settings. @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index aa6e60091..e8f850fbe 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -1,4 +1,4 @@ -Script: *connect-vpn.ps1* +The 'connect-vpn.ps1' Script ======================== This PowerShell script tries to connect to the VPN. @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index 4d1b4b747..46a037d8c 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -1,4 +1,4 @@ -Script: *convert-csv2txt.ps1* +The 'convert-csv2txt.ps1' Script ======================== This PowerShell script converts a .CSV file into a text file and prints it. @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/convert-dir27z.md b/docs/convert-dir27z.md index 13841224c..324817e9d 100644 --- a/docs/convert-dir27z.md +++ b/docs/convert-dir27z.md @@ -1,4 +1,4 @@ -Script: *convert-dir27z.ps1* +The 'convert-dir27z.ps1' Script ======================== This PowerShell script compresses the given directory (including subfolders) into a compressed .7z file. @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index 0bcdc0d66..4abda59c9 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -1,4 +1,4 @@ -Script: *convert-dir2zip.ps1* +The 'convert-dir2zip.ps1' Script ======================== This PowerShell script creates a new compressed .ZIP file from a directory (including subfolders). @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index 662d2375a..d3664ecf5 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -1,4 +1,4 @@ -Script: *convert-docx2md.ps1* +The 'convert-docx2md.ps1' Script ======================== This PowerShell script converts .DOCX file(s) into Markdown. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index 23ad68867..fb075c1ed 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -1,4 +1,4 @@ -Script: *convert-frames2mp4.ps1* +The 'convert-frames2mp4.ps1' Script ======================== convert-frames2mp4.ps1 [[-SourcePattern] ] [[-TargetFile] ] @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/convert-history2ps1.md b/docs/convert-history2ps1.md index b1ec80c43..593840ff6 100644 --- a/docs/convert-history2ps1.md +++ b/docs/convert-history2ps1.md @@ -1,4 +1,4 @@ -Script: *convert-history2ps1.ps1* +The 'convert-history2ps1.ps1' Script ======================== This PowerShell script converts your command history into a PowerShell script. @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index 625a17abe..02f41a540 100644 --- a/docs/convert-image2ascii.md +++ b/docs/convert-image2ascii.md @@ -1,4 +1,4 @@ -Script: *convert-image2ascii.ps1* +The 'convert-image2ascii.ps1' Script ======================== convert-image2ascii.ps1 @@ -114,4 +114,4 @@ Script Content } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index 0bbdf60a9..a4e86dd98 100644 --- a/docs/convert-image2blurred-frames.md +++ b/docs/convert-image2blurred-frames.md @@ -1,4 +1,4 @@ -Script: *convert-image2blurred-frames.ps1* +The 'convert-image2blurred-frames.ps1' Script ======================== convert-image2blurred-frames.ps1 [[-ImageFile] ] [[-TargetDir] ] [[-ImageWidth] ] [[-ImageHeight] ] [[-Frames] ] @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index 917cb85cf..b9ba4851a 100644 --- a/docs/convert-image2pixelated-frames.md +++ b/docs/convert-image2pixelated-frames.md @@ -1,4 +1,4 @@ -Script: *convert-image2pixelated-frames.ps1* +The 'convert-image2pixelated-frames.ps1' Script ======================== convert-image2pixelated-frames.ps1 [[-SourceFile] ] [[-TargetDir] ] [[-Frames] ] @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/convert-images2webp.md b/docs/convert-images2webp.md index 9787c1290..c08074fcf 100644 --- a/docs/convert-images2webp.md +++ b/docs/convert-images2webp.md @@ -1,4 +1,4 @@ -Script: *convert-images2webp.ps1* +The 'convert-images2webp.ps1' Script ======================== This script takes an input directory containing images (jpg, jpeg, png, gif, bmp, tiff) or a single image file, @@ -287,4 +287,4 @@ Write-Host "Output directory: $OutputDir" Write-Host "=====================================" -ForegroundColor Green ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index fe6de836b..124052133 100644 --- a/docs/convert-md2docx.md +++ b/docs/convert-md2docx.md @@ -1,4 +1,4 @@ -Script: *convert-md2docx.ps1* +The 'convert-md2docx.ps1' Script ======================== convert-md2docx.ps1 @@ -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 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index 52f9573a2..81ccecc39 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -1,4 +1,4 @@ -Script: *convert-md2html.ps1* +The 'convert-md2html.ps1' Script ======================== This PowerShell script converts Markdown file(s) into HTML. @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index 776eba0ce..2abf2c502 100644 --- a/docs/convert-md2pdf.md +++ b/docs/convert-md2pdf.md @@ -1,4 +1,4 @@ -Script: *convert-md2pdf.ps1* +The 'convert-md2pdf.ps1' Script ======================== convert-md2pdf.ps1 @@ -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 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index 899d24c9f..c06a8ba5b 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -1,4 +1,4 @@ -Script: *convert-mysql2csv.ps1* +The 'convert-mysql2csv.ps1' Script ======================== This PowerShell script converts a MySQL database table to a .CSV file. @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index 21e730908..a4059a12e 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -1,4 +1,4 @@ -Script: *convert-ps2bat.ps1* +The 'convert-ps2bat.ps1' Script ======================== This PowerShell script converts one or more PowerShell scripts to .bat batch files. @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index ebbb357a3..284c37920 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -1,4 +1,4 @@ -Script: *convert-ps2md.ps1* +The 'convert-ps2md.ps1' Script ======================== This PowerShell script converts the comment-based help of a PowerShell script to Markdown. @@ -99,7 +99,7 @@ try { $ScriptName = (Get-Item "$filename").Name $full = Get-Help $filename -Full - "Script: *$($ScriptName)*" + "The '$ScriptName' Script" "========================" $Description = ($full.description | Out-String).Trim() @@ -186,4 +186,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index 6e798495c..e53648cdd 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -1,4 +1,4 @@ -Script: *convert-sql2csv.ps1* +The 'convert-sql2csv.ps1' Script ======================== This PowerShell script converts a SQL database table to a .CSV file. @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index e7d2bc2d9..385687bc1 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -1,4 +1,4 @@ -Script: *convert-txt2wav.ps1* +The 'convert-txt2wav.ps1' Script ======================== This PowerShell script converts text to a .WAV audio file. @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/copy-broken-file.md b/docs/copy-broken-file.md index 385af5e20..69c73d61c 100644 --- a/docs/copy-broken-file.md +++ b/docs/copy-broken-file.md @@ -1,4 +1,4 @@ -Script: *copy-broken-file.ps1* +The 'copy-broken-file.ps1' Script ======================== This script will copy the specified file even if it contains unreadable blocks caused by device I/O errors and such. The block that it can not read will be replaced with zeros. The size of the block is determined by the buffer. So, to optimize it for speed, use a large buffer. To optimize for accuracy, use a small buffer, smallest being the cluter size of the partition where your sourcefile resides. @@ -683,4 +683,4 @@ if ($UnreadableBlocks) { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index e5d495512..efb55c8c5 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -1,4 +1,4 @@ -Script: *copy-photos-sorted.ps1* +The 'copy-photos-sorted.ps1' Script ======================== This PowerShell script copies image files from to sorted by year and month. @@ -153,4 +153,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/copy-videos-sorted.md b/docs/copy-videos-sorted.md index 18c59ac07..5c4ae15c5 100644 --- a/docs/copy-videos-sorted.md +++ b/docs/copy-videos-sorted.md @@ -1,4 +1,4 @@ -Script: *copy-videos-sorted.ps1* +The 'copy-videos-sorted.ps1' Script ======================== This PowerShell script copies video files from to sorted by year and month. @@ -136,4 +136,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/count-characters.md b/docs/count-characters.md index 59e920da5..c1589fc58 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -1,4 +1,4 @@ -Script: *count-characters.ps1* +The 'count-characters.ps1' Script ======================== This PowerShell script counts the number of characters in the given string. @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/count-lines.md b/docs/count-lines.md index af5f9d9ea..f8370314d 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -1,4 +1,4 @@ -Script: *count-lines.ps1* +The 'count-lines.ps1' Script ======================== This PowerShell script counts the number of lines in text files (.txt/.md/.c/.h/.cpp/.hpp/.java/.py/.ps1/.bat) within a directory tree. @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index 516c1960e..0c4ca622f 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -1,4 +1,4 @@ -Script: *decrypt-file.ps1* +The 'decrypt-file.ps1' Script ======================== This PowerShell script decrypts a file using the given password and AES encryption. @@ -199,4 +199,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index 4b8c7ad12..b5b6cf11d 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -1,4 +1,4 @@ -Script: *disable-ipv6.ps1* +The 'disable-ipv6.ps1' Script ======================== This PowerShell script disables IPv6 on all network interfaces of the local computer (requires administrator rights). @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index 52a0858eb..9d24621fd 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -1,4 +1,4 @@ -Script: *disconnect-vpn.ps1* +The 'disconnect-vpn.ps1' Script ======================== This PowerShell script disconnects the active VPN connection. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/download-dir.md b/docs/download-dir.md index 7ff78d648..45e3741b0 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -1,4 +1,4 @@ -Script: *download-dir.ps1* +The 'download-dir.ps1' Script ======================== This PowerShell script downloads a folder (including subfolders) from the given URL. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/download-file.md b/docs/download-file.md index 60521ad66..b20bdc9cb 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -1,4 +1,4 @@ -Script: *download-file.ps1* +The 'download-file.ps1' Script ======================== This PowerShell script downloads a file from the given URL @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index be56cc299..0cf8cd5d5 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -1,4 +1,4 @@ -Script: *enable-crash-dumps.ps1* +The 'enable-crash-dumps.ps1' Script ======================== This PowerShell script enables the writing of crash dumps. @@ -346,4 +346,4 @@ Else exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index 039d0370e..1d23fbd60 100644 --- a/docs/enable-god-mode.md +++ b/docs/enable-god-mode.md @@ -1,4 +1,4 @@ -Script: *enable-god-mode.ps1* +The 'enable-god-mode.ps1' Script ======================== This PowerShell script enables the god mode in Windows. It adds a new icon to the desktop. @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index 4e0181388..c53c4389a 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -1,4 +1,4 @@ -Script: *enable-ipv6.ps1* +The 'enable-ipv6.ps1' Script ======================== This PowerShell script enables IPv6 on all network interfaces of the local computer. @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index 61631acfc..0b29787a5 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -1,4 +1,4 @@ -Script: *encrypt-file.ps1* +The 'encrypt-file.ps1' Script ======================== This PowerShell script encrypts a file using the given password and AES encryption. @@ -184,4 +184,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index 41633e0bf..82697deba 100644 --- a/docs/enter-chat.md +++ b/docs/enter-chat.md @@ -1,4 +1,4 @@ -Script: *enter-chat.ps1* +The 'enter-chat.ps1' Script ======================== This PowerShell script enters a chat using a common network shared file. @@ -125,4 +125,4 @@ function Get-ChatChannel } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/enter-host.md b/docs/enter-host.md index 7c2c9018f..702930efc 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -1,4 +1,4 @@ -Script: *enter-host.ps1* +The 'enter-host.ps1' Script ======================== This PowerShell script logs into a remote host via secure shell (SSH). @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index 73e14dc51..164254d05 100644 --- a/docs/export-to-manuals.md +++ b/docs/export-to-manuals.md @@ -1,4 +1,4 @@ -Script: *export-to-manuals.ps1* +The 'export-to-manuals.ps1' Script ======================== This PowerShell script exports the comment-based help of all PowerShell scripts as manuals. @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index 4919f5f25..ab0075694 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -1,4 +1,4 @@ -Script: *fetch-repo.ps1* +The 'fetch-repo.ps1' Script ======================== This PowerShell script fetches remote updates into a local Git repository (including submodules). @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:48)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 4ef45b23a..5f01afbaa 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -1,4 +1,4 @@ -Script: *fetch-repos.ps1* +The 'fetch-repos.ps1' Script ======================== This PowerShell script fetches updates into all Git repositories in a folder (including submodules). @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index 6b5d1b72e..682cf9682 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -1,4 +1,4 @@ -Script: *firefox-installer.ps1* +The 'firefox-installer.ps1' Script ======================== Download and install latest firefox @@ -64,4 +64,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 024c033d0..23dbc229f 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -1,4 +1,4 @@ -Script: *get-md5.ps1* +The 'get-md5.ps1' Script ======================== This PowerShell script calculates and prints the MD5 checksum of the given file. @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index 850d5b45b..652b6ef65 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -1,4 +1,4 @@ -Script: *get-sha1.ps1* +The 'get-sha1.ps1' Script ======================== This PowerShell script calculates and prints the SHA1 checksum of the given file. @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index 839e6781a..69ce7ab52 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -1,4 +1,4 @@ -Script: *get-sha256.ps1* +The 'get-sha256.ps1' Script ======================== This PowerShell script calculates and prints the SHA256 checksum of the given file. @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/get-sha512.md b/docs/get-sha512.md index 6f1ec371e..6dfa79c92 100644 --- a/docs/get-sha512.md +++ b/docs/get-sha512.md @@ -1,4 +1,4 @@ -Script: *get-sha512.ps1* +The 'get-sha512.ps1' Script ======================== This PowerShell script calculates and prints the SHA512 checksum of the given file. @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/hello-world.md b/docs/hello-world.md index 2ac753626..e10766b0c 100644 --- a/docs/hello-world.md +++ b/docs/hello-world.md @@ -1,4 +1,4 @@ -Script: *hello-world.ps1* +The 'hello-world.ps1' Script ======================== This PowerShell script is a sample script writing "Hello World" to the console. @@ -50,4 +50,4 @@ Write-Output "Hello World" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 1f19b4c8a..6bcf11f1b 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -1,4 +1,4 @@ -Script: *hibernate.ps1* +The 'hibernate.ps1' Script ======================== This PowerShell script hibernates the local computer immediately. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/import-vm.md b/docs/import-vm.md index 881184c5d..30937c73a 100644 --- a/docs/import-vm.md +++ b/docs/import-vm.md @@ -1,4 +1,4 @@ -Script: *import-vm.ps1* +The 'import-vm.ps1' Script ======================== import-vm.ps1 @@ -23,4 +23,4 @@ Start-VM $VMName exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index 58b87f93f..eb0e31fc5 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -1,4 +1,4 @@ -Script: *inspect-exe.ps1* +The 'inspect-exe.ps1' Script ======================== This PowerShell script prints basic information of an executable file. @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index 27647cf03..be5c7d827 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -1,4 +1,4 @@ -Script: *install-audacity.ps1* +The 'install-audacity.ps1' Script ======================== This PowerShell script installs Audacity. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index bf1eea534..25406f316 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -1,4 +1,4 @@ -Script: *install-basic-apps.ps1* +The 'install-basic-apps.ps1' Script ======================== This PowerShell script installs basic Windows apps such as browser, e-mail client, etc. @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 9b5ba7fae..044f9057e 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -1,4 +1,4 @@ -Script: *install-basic-snaps.ps1* +The 'install-basic-snaps.ps1' Script ======================== This PowerShell script installs 20 basic snap apps. @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index 91ba621d9..0c9181a1e 100644 --- a/docs/install-calibre-server.md +++ b/docs/install-calibre-server.md @@ -1,4 +1,4 @@ -Script: *install-calibre-server.ps1* +The 'install-calibre-server.ps1' Script ======================== This PowerShell script installs and starts a local Calibre server as background process. @@ -133,4 +133,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index a9beebdde..e1420feb9 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -1,4 +1,4 @@ -Script: *install-chocolatey.ps1* +The 'install-chocolatey.ps1' Script ======================== This PowerShell script installs Chocolatey onto the local computer (needs admin rights). @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index cd1faa92a..9649d5dfb 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -1,4 +1,4 @@ -Script: *install-chrome.ps1* +The 'install-chrome.ps1' Script ======================== This PowerShell script installs the Google Chrome browser. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index 43a9035da..84aac956b 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -1,4 +1,4 @@ -Script: *install-crystal-disk-info.ps1* +The 'install-crystal-disk-info.ps1' Script ======================== This PowerShell script installs CrystalDiskInfo from the Microsoft Store. @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index beb0d73f9..edff2efa6 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -1,4 +1,4 @@ -Script: *install-crystal-disk-mark.ps1* +The 'install-crystal-disk-mark.ps1' Script ======================== This PowerShell script installs CrystalDiskMark from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-discord.md b/docs/install-discord.md index 5babbd67c..dafac6214 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -1,4 +1,4 @@ -Script: *install-discord.ps1* +The 'install-discord.ps1' Script ======================== This PowerShell script installs Discord from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-edge.md b/docs/install-edge.md index d1649021c..2c66587fd 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -1,4 +1,4 @@ -Script: *install-edge.ps1* +The 'install-edge.ps1' Script ======================== This PowerShell script installs the Microsoft Edge Browser from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-edit.md b/docs/install-edit.md index 298077316..ae0ea29ed 100644 --- a/docs/install-edit.md +++ b/docs/install-edit.md @@ -1,4 +1,4 @@ -Script: *install-edit.ps1* +The 'install-edit.ps1' Script ======================== This PowerShell script installs Microsoft Edit. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index d818e7677..b26167504 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -1,4 +1,4 @@ -Script: *install-evcc.ps1* +The 'install-evcc.ps1' Script ======================== This PowerShell script installs evcc. Evcc is an extensible EV Charge Controller with PV integration implemented in Go. See https://evcc.io for details. @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index 1493a1f82..2dc8af526 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -1,4 +1,4 @@ -Script: *install-firefox.ps1* +The 'install-firefox.ps1' Script ======================== This PowerShell script installs the Mozilla Firefox browser from Microsoft Store. @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-fonts.md b/docs/install-fonts.md index fe9ff6124..4416149fd 100644 --- a/docs/install-fonts.md +++ b/docs/install-fonts.md @@ -1,4 +1,4 @@ -Script: *install-fonts.ps1* +The 'install-fonts.ps1' Script ======================== install-fonts.ps1 [[-sourceFolder] ] @@ -53,4 +53,4 @@ foreach ($font in $fontFiles) { Write-Output "Fonts have been installed successfully." ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index 522ea11b9..2666ae0c9 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -1,4 +1,4 @@ -Script: *install-git-extensions.ps1* +The 'install-git-extensions.ps1' Script ======================== This PowerShell script installs Git Extensions. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index a069ec76d..f215f6bf3 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -1,4 +1,4 @@ -Script: *install-git-for-windows.ps1* +The 'install-git-for-windows.ps1' Script ======================== This PowerShell script installs Git for Windows. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index 779e2fdfd..3f3ac8759 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -1,4 +1,4 @@ -Script: *install-github-cli.ps1* +The 'install-github-cli.ps1' Script ======================== This PowerShell script installs the GitHub command-line interface (CLI). @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index 8eb329976..6c31753ec 100644 --- a/docs/install-gitlab.md +++ b/docs/install-gitlab.md @@ -1,4 +1,4 @@ -Script: *install-gitlab.ps1* +The 'install-gitlab.ps1' Script ======================== install-gitlab.ps1 @@ -32,4 +32,4 @@ Script Content ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-h2static.md b/docs/install-h2static.md index 83fba268a..ea2181cf5 100644 --- a/docs/install-h2static.md +++ b/docs/install-h2static.md @@ -1,4 +1,4 @@ -Script: *install-h2static.ps1* +The 'install-h2static.ps1' Script ======================== This PowerShell script installs the tiny static Web server 'h2static'. @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index 17183da51..02d39868a 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -1,4 +1,4 @@ -Script: *install-irfanview.ps1* +The 'install-irfanview.ps1' Script ======================== This PowerShell script installs IrfanView from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-jenkins-agent.md b/docs/install-jenkins-agent.md index 26f88a2e1..5ddccd2f5 100644 --- a/docs/install-jenkins-agent.md +++ b/docs/install-jenkins-agent.md @@ -1,4 +1,4 @@ -Script: *install-jenkins-agent.ps1* +The 'install-jenkins-agent.ps1' Script ======================== This PowerShell script installs and starts the Jenkins Agent. @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index 73e1e6508..bee03039d 100644 --- a/docs/install-knot-resolver.md +++ b/docs/install-knot-resolver.md @@ -1,4 +1,4 @@ -Script: *install-knot-resolver.ps1* +The 'install-knot-resolver.ps1' Script ======================== This PowerShell script installs Knot Resolver. Knot Resolver is a DNS resolver daemon. It needs admin rights. @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index 6f4454f7c..e72d0d54a 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -1,4 +1,4 @@ -Script: *install-microsoft-teams.ps1* +The 'install-microsoft-teams.ps1' Script ======================== This PowerShell script installs Microsoft Teams from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-mini-dlna.md b/docs/install-mini-dlna.md index 0982da71c..5100c1db3 100644 --- a/docs/install-mini-dlna.md +++ b/docs/install-mini-dlna.md @@ -1,4 +1,4 @@ -Script: *install-mini-dlna.ps1* +The 'install-mini-dlna.ps1' Script ======================== This PowerShell script installs the MiniDLNA server. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index 4ab6621c8..402bbf919 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -1,4 +1,4 @@ -Script: *install-netflix.ps1* +The 'install-netflix.ps1' Script ======================== This PowerShell script installs Netflix from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index 7385f4dbe..3ee6b2b93 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -1,4 +1,4 @@ -Script: *install-obs-studio.ps1* +The 'install-obs-studio.ps1' Script ======================== This PowerShell script installs OBS Studio from Microsoft Store. @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index 4eaa0ce97..72592b222 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -1,4 +1,4 @@ -Script: *install-octoprint.ps1* +The 'install-octoprint.ps1' Script ======================== install-octoprint.ps1 @@ -33,4 +33,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index 47b1741e9..841785221 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -1,4 +1,4 @@ -Script: *install-one-calendar.ps1* +The 'install-one-calendar.ps1' Script ======================== This PowerShell script installs One Calendar from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index afbe52dc3..d58da5caf 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -1,4 +1,4 @@ -Script: *install-opera-browser.ps1* +The 'install-opera-browser.ps1' Script ======================== This PowerShell script installs Opera Browser from Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index ff19384b4..03ac509ea 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -1,4 +1,4 @@ -Script: *install-opera-gx.ps1* +The 'install-opera-gx.ps1' Script ======================== This PowerShell script installs Opera GX from Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index aa0c7fd95..305185403 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -1,4 +1,4 @@ -Script: *install-paint-3d.ps1* +The 'install-paint-3d.ps1' Script ======================== This PowerShell script installs Paint 3D from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index aeb05e198..d713cbf2d 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -1,4 +1,4 @@ -Script: *install-power-toys.ps1* +The 'install-power-toys.ps1' Script ======================== This PowerShell script installs the Microsoft Powertoys. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index 6ca2c0f2a..6e1acc683 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -1,4 +1,4 @@ -Script: *install-powershell.ps1* +The 'install-powershell.ps1' Script ======================== By default, the latest PowerShell release package will be installed. @@ -664,4 +664,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index 751cb1de5..afec9f02c 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -1,4 +1,4 @@ -Script: *install-rufus.ps1* +The 'install-rufus.ps1' Script ======================== This PowerShell script installs Rufus from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index b325d2973..bd8520c10 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -1,4 +1,4 @@ -Script: *install-salesforce-cli.ps1* +The 'install-salesforce-cli.ps1' Script ======================== This PowerShell script downloads and installs the Salesforce CLI on Windows. @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-scoop.md b/docs/install-scoop.md index c6aeedea9..2b8ddcd28 100644 --- a/docs/install-scoop.md +++ b/docs/install-scoop.md @@ -1,4 +1,4 @@ -Script: *install-scoop.ps1* +The 'install-scoop.ps1' Script ======================== install-scoop.ps1 @@ -21,4 +21,4 @@ Script Content Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index 324f9557d..ea50f7cdb 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -1,4 +1,4 @@ -Script: *install-signal-cli.ps1* +The 'install-signal-cli.ps1' Script ======================== This PowerShell script installs signal-cli from github.com/AsamK/signal-cli. @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index 1a613a300..51f4d33f7 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -1,4 +1,4 @@ -Script: *install-spotify.ps1* +The 'install-spotify.ps1' Script ======================== This PowerShell script installs Spotify from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index fee24e41a..1067d6f0e 100644 --- a/docs/install-ssh-client.md +++ b/docs/install-ssh-client.md @@ -1,4 +1,4 @@ -Script: *install-ssh-client.ps1* +The 'install-ssh-client.ps1' Script ======================== This PowerShell script installs a SSH client (needs admin rights). @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index 280b5656e..6c17885fe 100644 --- a/docs/install-ssh-server.md +++ b/docs/install-ssh-server.md @@ -1,4 +1,4 @@ -Script: *install-ssh-server.ps1* +The 'install-ssh-server.ps1' Script ======================== This PowerShell script installs a SSH server (needs admin rights). @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-syncthing.md b/docs/install-syncthing.md index 513d40eb6..eeef0ba00 100644 --- a/docs/install-syncthing.md +++ b/docs/install-syncthing.md @@ -1,4 +1,4 @@ -Script: *install-syncthing.ps1* +The 'install-syncthing.ps1' Script ======================== This PowerShell script installs Syncthing on your computer. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index 1046c8848..71450f640 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -1,4 +1,4 @@ -Script: *install-thunderbird.ps1* +The 'install-thunderbird.ps1' Script ======================== This PowerShell script installs Mozilla Thunderbird. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index 9268b0e29..bd880b785 100644 --- a/docs/install-unbound-server.md +++ b/docs/install-unbound-server.md @@ -1,4 +1,4 @@ -Script: *install-unbound-server.ps1* +The 'install-unbound-server.ps1' Script ======================== This PowerShell script installs Unbound, a validating, recursive, caching DNS resolver. It needs admin rights. @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-updates.md b/docs/install-updates.md index 74cfe1849..356450302 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -1,4 +1,4 @@ -Script: *install-updates.ps1* +The 'install-updates.ps1' Script ======================== This PowerShell script installs software updates for the local machine (might need admin rights). @@ -116,4 +116,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index a21362f14..4b0fe7364 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -1,4 +1,4 @@ -Script: *install-visual-studio-code.ps1* +The 'install-visual-studio-code.ps1' Script ======================== This PowerShell script installs Visual Studio Code. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index 2e6e697c4..10fa7ca66 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -1,4 +1,4 @@ -Script: *install-vivaldi.ps1* +The 'install-vivaldi.ps1' Script ======================== This PowerShell script installs the Vivaldi browser. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index cf67d8b7a..f0d725f5e 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -1,4 +1,4 @@ -Script: *install-vlc.ps1* +The 'install-vlc.ps1' Script ======================== This PowerShell script installs the VLC media player. @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index 8031fc70e..650ab4e7c 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -1,4 +1,4 @@ -Script: *install-windows-terminal.ps1* +The 'install-windows-terminal.ps1' Script ======================== This PowerShell script installs Windows Terminal from the Microsoft Store. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index 6af2f60a7..beaa76709 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -1,4 +1,4 @@ -Script: *install-wsl.ps1* +The 'install-wsl.ps1' Script ======================== This PowerShell script installs Windows Subsystem for Linux. It needs admin rights. @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index cf3f2cd66..53cb2758d 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -1,4 +1,4 @@ -Script: *install-zoom.ps1* +The 'install-zoom.ps1' Script ======================== This PowerShell script installs Zoom. @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index 0381bd800..b131c7800 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -1,4 +1,4 @@ -Script: *introduce-powershell.ps1* +The 'introduce-powershell.ps1' Script ======================== This PowerShell script introduces PowerShell to new users and gives an overview of it. @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/kill-process.md b/docs/kill-process.md index 69f751598..77b56b502 100644 --- a/docs/kill-process.md +++ b/docs/kill-process.md @@ -1,4 +1,4 @@ -Script: *kill-process.ps1* +The 'kill-process.ps1' Script ======================== This PowerShell script stops all local processes matching the given name @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index b2b5cc8e4..12cbefbfb 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -1,4 +1,4 @@ -Script: *list-aliases.ps1* +The 'list-aliases.ps1' Script ======================== This PowerShell scripts lists all PowerShell aliases. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index bf7c31dfc..e369ea827 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -1,4 +1,4 @@ -Script: *list-anagrams.ps1* +The 'list-anagrams.ps1' Script ======================== This PowerShell script lists all anagrams of the given word. @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-apps.md b/docs/list-apps.md index f801ec1bc..76ab9c467 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -1,4 +1,4 @@ -Script: *list-apps.ps1* +The 'list-apps.ps1' Script ======================== This PowerShell script lists the installed applications (from Windows Store, or Snap Store). @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index 7c9954ac5..4c0d98692 100644 --- a/docs/list-ascii-table.md +++ b/docs/list-ascii-table.md @@ -1,4 +1,4 @@ -Script: *list-ascii-table.ps1* +The 'list-ascii-table.ps1' Script ======================== This PowerShell script lists the ASCII table on the console. @@ -120,4 +120,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index 9c99cb34f..0c5c29bbe 100644 --- a/docs/list-automatic-variables.md +++ b/docs/list-automatic-variables.md @@ -1,4 +1,4 @@ -Script: *list-automatic-variables.ps1* +The 'list-automatic-variables.ps1' Script ======================== list-automatic-variables.ps1 @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index 6ff555180..79202ffaf 100644 --- a/docs/list-battery-status.md +++ b/docs/list-battery-status.md @@ -1,4 +1,4 @@ -Script: *list-battery-status.ps1* +The 'list-battery-status.ps1' Script ======================== This PowerShell script lists the battery status. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-bios.md b/docs/list-bios.md index 09431ccf1..817b809c7 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -1,4 +1,4 @@ -Script: *list-bios.ps1* +The 'list-bios.ps1' Script ======================== This PowerShell script lists the BIOS details. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 3c0b48c61..1711df8ce 100644 --- a/docs/list-bluetooth-devices.md +++ b/docs/list-bluetooth-devices.md @@ -1,4 +1,4 @@ -Script: *list-bluetooth-devices.ps1* +The 'list-bluetooth-devices.ps1' Script ======================== This PowerShell script lists all Bluetooth devices connected to the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-branches.md b/docs/list-branches.md index ed0d80e2d..e56c762b3 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -1,4 +1,4 @@ -Script: *list-branches.ps1* +The 'list-branches.ps1' Script ======================== This PowerShell script lists branches in a Git repository - either all (default) or by a search pattern. @@ -109,4 +109,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index 3644b9acd..1f6976d0a 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -1,4 +1,4 @@ -Script: *list-calendar.ps1* +The 'list-calendar.ps1' Script ======================== Lists calendar elements, either a single month or an entire year. @@ -247,4 +247,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index ce1c1763e..ec666d8b6 100644 --- a/docs/list-cheat-sheet.md +++ b/docs/list-cheat-sheet.md @@ -1,4 +1,4 @@ -Script: *list-cheat-sheet.ps1* +The 'list-cheat-sheet.ps1' Script ======================== This PowerShell script lists the PowerShell cheat sheet. @@ -75,4 +75,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index 84d4d5af9..73761f810 100644 --- a/docs/list-city-weather.md +++ b/docs/list-city-weather.md @@ -1,4 +1,4 @@ -Script: *list-city-weather.ps1* +The 'list-city-weather.ps1' Script ======================== list-city-weather.ps1 @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index 19593a60c..aaedd1c36 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -1,4 +1,4 @@ -Script: *list-cli-tools.ps1* +The 'list-cli-tools.ps1' Script ======================== list-cli-tools.ps1 @@ -371,4 +371,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index 9474c0e72..a82ffb0f5 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -1,4 +1,4 @@ -Script: *list-clipboard.ps1* +The 'list-clipboard.ps1' Script ======================== This PowerShell script lists the contents of the clipboard. @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index 0ebfa060b..254fdbf27 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -1,4 +1,4 @@ -Script: *list-cmdlets.ps1* +The 'list-cmdlets.ps1' Script ======================== This PowerShell script lists all PowerShell cmdlets. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index 677fce2a6..9a0b33bfa 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -1,4 +1,4 @@ -Script: *list-coffee-prices.ps1* +The 'list-coffee-prices.ps1' Script ======================== list-coffee-prices.ps1 @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index 9efb9e230..37cb9afe0 100644 --- a/docs/list-commit-stats.md +++ b/docs/list-commit-stats.md @@ -1,4 +1,4 @@ -Script: *list-commit-stats.ps1* +The 'list-commit-stats.ps1' Script ======================== This PowerShell script lists the commit statistics of a Git repository. @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-commits.md b/docs/list-commits.md index 1e19066c6..e159b03c6 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -1,4 +1,4 @@ -Script: *list-commits.ps1* +The 'list-commits.ps1' Script ======================== This PowerShell script lists all commits in a Git repository. Supported output formats are: pretty, list, compact, normal or JSON. @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 8341b6e0b..206de6fc2 100644 --- a/docs/list-console-colors.md +++ b/docs/list-console-colors.md @@ -1,4 +1,4 @@ -Script: *list-console-colors.ps1* +The 'list-console-colors.ps1' Script ======================== This PowerShell script lists all available console colors. @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:49)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-countries.md b/docs/list-countries.md index 1ec6aedcb..18f09c385 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -1,4 +1,4 @@ -Script: *list-countries.ps1* +The 'list-countries.ps1' Script ======================== list-countries.ps1 @@ -52,4 +52,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index ee5c4cee8..661cbff14 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -1,4 +1,4 @@ -Script: *list-cpu.ps1* +The 'list-cpu.ps1' Script ======================== This PowerShell script lists the CPU details. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index 6f3590284..33d65981a 100644 --- a/docs/list-crypto-rates.md +++ b/docs/list-crypto-rates.md @@ -1,4 +1,4 @@ -Script: *list-crypto-rates.ps1* +The 'list-crypto-rates.ps1' Script ======================== list-crypto-rates.ps1 @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index 263a63ee6..f852d752c 100644 --- a/docs/list-defender-settings.md +++ b/docs/list-defender-settings.md @@ -1,4 +1,4 @@ -Script: *list-defender-settings.ps1* +The 'list-defender-settings.ps1' Script ======================== This PowerShell script lists the current settings of Windows Defender Antivirus. @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index b264539ec..c6a0befdb 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -1,4 +1,4 @@ -Script: *list-dir-tree.ps1* +The 'list-dir-tree.ps1' Script ======================== This PowerShell script lists all files and folders in a directory tree (including icon and size). @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index f154f3fc3..eda54e3ae 100644 --- a/docs/list-dns-servers.md +++ b/docs/list-dns-servers.md @@ -1,4 +1,4 @@ -Script: *list-dns-servers.ps1* +The 'list-dns-servers.ps1' Script ======================== list-dns-servers.ps1 @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-drives.md b/docs/list-drives.md index b95110dd4..b26cda309 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -1,4 +1,4 @@ -Script: *list-drives.ps1* +The 'list-drives.ps1' Script ======================== This PowerShell script lists all local drives as a table. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index e2900186c..13dfe2163 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -1,4 +1,4 @@ -Script: *list-earthquakes.ps1* +The 'list-earthquakes.ps1' Script ======================== This PowerShell script lists major earthquakes for the last 30 days. @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index 67660a6eb..4542596af 100644 --- a/docs/list-emojis.md +++ b/docs/list-emojis.md @@ -1,4 +1,4 @@ -Script: *list-emojis.ps1* +The 'list-emojis.ps1' Script ======================== This PowerShell script lists the emojis of Unicode 13.0 sorted by category. @@ -72,4 +72,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 991648dfe..948cdbb9b 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -1,4 +1,4 @@ -Script: *list-empty-dirs.ps1* +The 'list-empty-dirs.ps1' Script ======================== This PowerShell script scans a directory tree and lists all empty directories. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index 01f4a88af..2bd8a7a72 100644 --- a/docs/list-empty-files.md +++ b/docs/list-empty-files.md @@ -1,4 +1,4 @@ -Script: *list-empty-files.ps1* +The 'list-empty-files.ps1' Script ======================== This PowerShell script scans a directory tree and lists all empty files. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index c2930fbe3..6b4e40bd3 100644 --- a/docs/list-encrypted-files.md +++ b/docs/list-encrypted-files.md @@ -1,4 +1,4 @@ -Script: *list-encrypted-files.ps1* +The 'list-encrypted-files.ps1' Script ======================== This PowerShell script scans a directory tree and lists all encrypted files. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index 5fc03f159..b092d6761 100644 --- a/docs/list-environment-variables.md +++ b/docs/list-environment-variables.md @@ -1,4 +1,4 @@ -Script: *list-environment-variables.ps1* +The 'list-environment-variables.ps1' Script ======================== This PowerShell script lists all environment variables. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index 0c8f86cec..ff5333907 100644 --- a/docs/list-error-types.md +++ b/docs/list-error-types.md @@ -1,4 +1,4 @@ -Script: *list-error-types.ps1* +The 'list-error-types.ps1' Script ======================== list-error-types.ps1 @@ -26,4 +26,4 @@ Script Content } | Select BaseType,Name,FullName ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index 757053cae..f285f4e31 100644 --- a/docs/list-exchange-rates.md +++ b/docs/list-exchange-rates.md @@ -1,4 +1,4 @@ -Script: *list-exchange-rates.ps1* +The 'list-exchange-rates.ps1' Script ======================== This PowerShell script lists the current exchange rates for the given currency (USD per default). @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-executables.md b/docs/list-executables.md index 81ff576e2..ded9a28af 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -1,4 +1,4 @@ -Script: *list-executables.ps1* +The 'list-executables.ps1' Script ======================== This PowerShell script scans a given directory tree and lists all executables with suffix .EXE. @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index 38b7669e6..0e9caff14 100644 --- a/docs/list-fibonacci.md +++ b/docs/list-fibonacci.md @@ -1,4 +1,4 @@ -Script: *list-fibonacci.ps1* +The 'list-fibonacci.ps1' Script ======================== list-fibonacci.ps1 @@ -43,4 +43,4 @@ foreach ($i in 0..100) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-files.md b/docs/list-files.md index edeca6c7b..38dc87b55 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -1,4 +1,4 @@ -Script: *list-files.ps1* +The 'list-files.ps1' Script ======================== This PowerShell script lists all files within the given directory tree. @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-folder.md b/docs/list-folder.md index 12d6f00a1..a364dd1a1 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -1,4 +1,4 @@ -Script: *list-folder.ps1* +The 'list-folder.ps1' Script ======================== This PowerShell script lists the content of a directory (alphabetically formatted in columns). @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index dea72aa8c..4f577ab80 100644 --- a/docs/list-fritzbox-calls.md +++ b/docs/list-fritzbox-calls.md @@ -1,4 +1,4 @@ -Script: *list-fritzbox-calls.ps1* +The 'list-fritzbox-calls.ps1' Script ======================== This PowerShell script lists the phone calls of the FRITZ!Box device. @@ -155,4 +155,4 @@ echo $Result exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index 832df8181..7ca3ea320 100644 --- a/docs/list-fritzbox-devices.md +++ b/docs/list-fritzbox-devices.md @@ -1,4 +1,4 @@ -Script: *list-fritzbox-devices.ps1* +The 'list-fritzbox-devices.ps1' Script ======================== This PowerShell script lists FRITZ!Box's known devices. @@ -107,4 +107,4 @@ $HostTable | format-table -property Active,IPAddress,MACAddress,HostName,Interfa exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index dc83af4eb..7e024edcc 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -1,4 +1,4 @@ -Script: *list-headlines.ps1* +The 'list-headlines.ps1' Script ======================== This PowerShell script lists the latest headlines by using a RSS (Really Simple Syndication) feed. @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index fa0a2b525..e2cbf5d42 100644 --- a/docs/list-hidden-files.md +++ b/docs/list-hidden-files.md @@ -1,4 +1,4 @@ -Script: *list-hidden-files.ps1* +The 'list-hidden-files.ps1' Script ======================== This PowerShell script scans a directory tree and lists all hidden files. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-installed-hotfixes.md b/docs/list-installed-hotfixes.md index 8950ab55b..fd56a2e8f 100644 --- a/docs/list-installed-hotfixes.md +++ b/docs/list-installed-hotfixes.md @@ -1,4 +1,4 @@ -Script: *list-installed-hotfixes.ps1* +The 'list-installed-hotfixes.ps1' Script ======================== This PowerShell script lists the installed hotfixes. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index 7afeb67dd..a5dca2ec4 100644 --- a/docs/list-installed-languages.md +++ b/docs/list-installed-languages.md @@ -1,4 +1,4 @@ -Script: *list-installed-languages.ps1* +The 'list-installed-languages.ps1' Script ======================== list-installed-languages.ps1 @@ -50,4 +50,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index 2674537eb..9546b79be 100644 --- a/docs/list-installed-scripts.md +++ b/docs/list-installed-scripts.md @@ -1,4 +1,4 @@ -Script: *list-installed-scripts.ps1* +The 'list-installed-scripts.ps1' Script ======================== This PowerShell script lists all installed PowerShell scripts. @@ -48,4 +48,4 @@ Get-InstalledScript exit # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index 172a55a85..65f190ddc 100644 --- a/docs/list-installed-software.md +++ b/docs/list-installed-software.md @@ -1,4 +1,4 @@ -Script: *list-installed-software.ps1* +The 'list-installed-software.ps1' Script ======================== This PowerShell script lists the installed software (except Windows Store apps). @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index 168d4f24f..ee593512f 100644 --- a/docs/list-internet-ip.md +++ b/docs/list-internet-ip.md @@ -1,4 +1,4 @@ -Script: *list-internet-ip.ps1* +The 'list-internet-ip.ps1' Script ======================== This PowerShell script queries all public IP address information and prints it. @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index a184075f4..cf9956c9e 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -1,4 +1,4 @@ -Script: *list-ipv6.ps1* +The 'list-ipv6.ps1' Script ======================== This PowerShell script lists the state of IPv6 on all network interfaces of the local computer. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index 018ed3914..d6ae16196 100644 --- a/docs/list-latest-tag.md +++ b/docs/list-latest-tag.md @@ -1,4 +1,4 @@ -Script: *list-latest-tag.ps1* +The 'list-latest-tag.ps1' Script ======================== This PowerShell script lists the latest tag in a local Git repository. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index 3b2fd2030..e518f32c9 100644 --- a/docs/list-latest-tags.md +++ b/docs/list-latest-tags.md @@ -1,4 +1,4 @@ -Script: *list-latest-tags.ps1* +The 'list-latest-tags.ps1' Script ======================== This PowerShell script lists the latest tags in all Git repositories in the specified folder. @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index 45bd221cb..c1b9dc2cf 100644 --- a/docs/list-local-ip.md +++ b/docs/list-local-ip.md @@ -1,4 +1,4 @@ -Script: *list-local-ip.ps1* +The 'list-local-ip.ps1' Script ======================== list-local-ip.ps1 @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index 546756fe7..9c54c24a9 100644 --- a/docs/list-mDNS.md +++ b/docs/list-mDNS.md @@ -1,4 +1,4 @@ -Script: *list-mDNS.ps1* +The 'list-mDNS.ps1' Script ======================== list-mDNS.ps1 @@ -21,4 +21,4 @@ Get-NetUDPEndpoint -localPort 5353 | Select-Object LocalAddress,LocalPort,Owning exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-memos.md b/docs/list-memos.md index 6d07d688c..94eefcd13 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -1,4 +1,4 @@ -Script: *list-memos.ps1* +The 'list-memos.ps1' Script ======================== This PowerShell script lists all entries in 'Remember.csv' in your home folder. @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index 57d5ff9d8..ff962f943 100644 --- a/docs/list-mysql-tables.md +++ b/docs/list-mysql-tables.md @@ -1,4 +1,4 @@ -Script: *list-mysql-tables.ps1* +The 'list-mysql-tables.ps1' Script ======================== This PowerShell script lists all tables of the given MySQL database. @@ -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 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index 6ba7abd44..9d5cf7829 100644 --- a/docs/list-network-connections.md +++ b/docs/list-network-connections.md @@ -1,4 +1,4 @@ -Script: *list-network-connections.ps1* +The 'list-network-connections.ps1' Script ======================== This PowerShell script lists all active network connections on the local computer. @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index 56a872061..dccb3da20 100644 --- a/docs/list-network-neighbors.md +++ b/docs/list-network-neighbors.md @@ -1,4 +1,4 @@ -Script: *list-network-neighbors.ps1* +The 'list-network-neighbors.ps1' Script ======================== This PowerShell script lists all network neighbors of the local computer (using the ARP cache). @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index e3e828fa4..212dd830b 100644 --- a/docs/list-network-routes.md +++ b/docs/list-network-routes.md @@ -1,4 +1,4 @@ -Script: *list-network-routes.ps1* +The 'list-network-routes.ps1' Script ======================== This PowerShell script lists the network routes on the local computer. @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index dfbee168f..61f5c11b7 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -1,4 +1,4 @@ -Script: *list-network-shares.ps1* +The 'list-network-shares.ps1' Script ======================== This PowerShell script lists all network shares (aka "shared folders") of the local computer. @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-news.md b/docs/list-news.md index 01c94fba6..ed4bdcb64 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -1,4 +1,4 @@ -Script: *list-news.ps1* +The 'list-news.ps1' Script ======================== This PowerShell script lists the latest news by using a RSS (Really Simple Syndication) feed. @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-nic.md b/docs/list-nic.md index fb8f28dfa..ceb8b36e4 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -1,4 +1,4 @@ -Script: *list-nic.ps1* +The 'list-nic.ps1' Script ======================== This PowerShell script lists the details of the installed network interfaces. @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index f71524b3b..26edf368a 100644 --- a/docs/list-nina-warnings.md +++ b/docs/list-nina-warnings.md @@ -1,4 +1,4 @@ -Script: *list-nina-warnings.ps1* +The 'list-nina-warnings.ps1' Script ======================== This PowerShell script queries the current NINA warnings and lists it. @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index 37afaedfa..721f0a821 100644 --- a/docs/list-old-branches.md +++ b/docs/list-old-branches.md @@ -1,4 +1,4 @@ -Script: *list-old-branches.ps1* +The 'list-old-branches.ps1' Script ======================== This PowerShell script lists branches in a Git repository matching: (1) search pattern, (2) already merged, (3) older than 2024 @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index 40864a50e..59081f6f3 100644 --- a/docs/list-os-releases.md +++ b/docs/list-os-releases.md @@ -1,4 +1,4 @@ -Script: *list-os-releases.ps1* +The 'list-os-releases.ps1' Script ======================== This PowerShell script lists OS releases and download URL. @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index d6ff6df5a..e850df92b 100644 --- a/docs/list-os-updates.md +++ b/docs/list-os-updates.md @@ -1,4 +1,4 @@ -Script: *list-os-updates.ps1* +The 'list-os-updates.ps1' Script ======================== This PowerShell script lists the latest updates for operating systems. @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-os.md b/docs/list-os.md index 32e476c62..533afdb44 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -1,4 +1,4 @@ -Script: *list-os.ps1* +The 'list-os.ps1' Script ======================== This PowerShell script lists the exact operating system version. @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index 7da707357..27a28a18f 100644 --- a/docs/list-outlook-inbox.md +++ b/docs/list-outlook-inbox.md @@ -1,4 +1,4 @@ -Script: *list-outlook-inbox.ps1* +The 'list-outlook-inbox.ps1' Script ======================== This PowerShell script lists the emails in the inbox of Outlook. @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index f23580bb5..99be8589b 100644 --- a/docs/list-outlook-sent.md +++ b/docs/list-outlook-sent.md @@ -1,4 +1,4 @@ -Script: *list-outlook-sent.ps1* +The 'list-outlook-sent.ps1' Script ======================== This PowerShell script lists the mails in the Sent Mail folder of Outlook. @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index 38b918948..5260eb9ba 100644 --- a/docs/list-power-schemes.md +++ b/docs/list-power-schemes.md @@ -1,4 +1,4 @@ -Script: *list-power-schemes.ps1* +The 'list-power-schemes.ps1' Script ======================== list-power-schemes.ps1 @@ -21,4 +21,4 @@ powercfg /list exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index df82a152e..9ad548455 100644 --- a/docs/list-powershell-modules.md +++ b/docs/list-powershell-modules.md @@ -1,4 +1,4 @@ -Script: *list-powershell-modules.ps1* +The 'list-powershell-modules.ps1' Script ======================== This PowerShell script lists the installed PowerShell modules. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index da078048e..fa23f837b 100644 --- a/docs/list-powershell-profiles.md +++ b/docs/list-powershell-profiles.md @@ -1,4 +1,4 @@ -Script: *list-powershell-profiles.ps1* +The 'list-powershell-profiles.ps1' Script ======================== list-powershell-profiles.ps1 @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index 616a9efb5..0f25d6575 100644 --- a/docs/list-powershell-verbs.md +++ b/docs/list-powershell-verbs.md @@ -1,4 +1,4 @@ -Script: *list-powershell-verbs.ps1* +The 'list-powershell-verbs.ps1' Script ======================== This PowerShell script lists all allowed/recommended verbs in PowerShell. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index bcf2714f7..ed900492a 100644 --- a/docs/list-print-jobs.md +++ b/docs/list-print-jobs.md @@ -1,4 +1,4 @@ -Script: *list-print-jobs.ps1* +The 'list-print-jobs.ps1' Script ======================== This PowerShell script lists all print jobs of all printer devices. @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 710e5ca06..6b5518a61 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -1,4 +1,4 @@ -Script: *list-printers.ps1* +The 'list-printers.ps1' Script ======================== This PowerShell script lists all printers known to the local computer. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-processes.md b/docs/list-processes.md index d697ade66..b5aa87aaa 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -1,4 +1,4 @@ -Script: *list-processes.ps1* +The 'list-processes.ps1' Script ======================== This PowerShell script lists all local computer processes. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index 3948fdc8e..f157956f3 100644 --- a/docs/list-pull-requests.md +++ b/docs/list-pull-requests.md @@ -1,4 +1,4 @@ -Script: *list-pull-requests.ps1* +The 'list-pull-requests.ps1' Script ======================== This PowerShell script lists all pull requests for a Git repository. @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-ram.md b/docs/list-ram.md index 04498dbe0..60784172a 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -1,4 +1,4 @@ -Script: *list-ram.ps1* +The 'list-ram.ps1' Script ======================== This PowerShell script lists the details of the installed RAM. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index b38b76f9d..8f4655421 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -1,4 +1,4 @@ -Script: *list-read-only-files.ps1* +The 'list-read-only-files.ps1' Script ======================== This PowerShell script scans a directory tree and lists all read-only files. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index 7a6a8e2f5..da7c0a5cf 100644 --- a/docs/list-recycle-bin.md +++ b/docs/list-recycle-bin.md @@ -1,4 +1,4 @@ -Script: *list-recycle-bin.ps1* +The 'list-recycle-bin.ps1' Script ======================== This PowerShell script lists the content of the recycle bin folder. @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-repos.md b/docs/list-repos.md index 6843d223e..abc8236f1 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -1,4 +1,4 @@ -Script: *list-repos.ps1* +The 'list-repos.ps1' Script ======================== This PowerShell script lists all Git repositories under a folder with details such as latest tag, branch, remote URL, and status. @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index 89645f9c3..65741a904 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -1,4 +1,4 @@ -Script: *list-scripts.ps1* +The 'list-scripts.ps1' Script ======================== list-scripts.ps1 [[-category] ] @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index a0e272ff7..4e8a20d44 100644 --- a/docs/list-scsi-devices.md +++ b/docs/list-scsi-devices.md @@ -1,4 +1,4 @@ -Script: *list-scsi-devices.ps1* +The 'list-scsi-devices.ps1' Script ======================== This PowerShell script lists all SCSI devices connected to the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-services.md b/docs/list-services.md index 66a979c6f..7c909247d 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -1,4 +1,4 @@ -Script: *list-services.ps1* +The 'list-services.ps1' Script ======================== This PowerShell script lists all services installed on the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index 6aa240bda..e29e08123 100644 --- a/docs/list-special-folders.md +++ b/docs/list-special-folders.md @@ -1,4 +1,4 @@ -Script: *list-special-folders.ps1* +The 'list-special-folders.ps1' Script ======================== list-special-folders.ps1 @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index a8274101e..535630225 100644 --- a/docs/list-sql-tables.md +++ b/docs/list-sql-tables.md @@ -1,4 +1,4 @@ -Script: *list-sql-tables.ps1* +The 'list-sql-tables.ps1' Script ======================== This PowerShell script lists all tables in a SQL server database and exports the list as CSV. @@ -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 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index 607f2a085..9aafae016 100644 --- a/docs/list-ssh-key.md +++ b/docs/list-ssh-key.md @@ -1,4 +1,4 @@ -Script: *list-ssh-key.ps1* +The 'list-ssh-key.ps1' Script ======================== This PowerShell script lists the user's public SSH key (resides in the ~/.ssh folder). @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index af0f3e9db..e1fbfcd14 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -1,4 +1,4 @@ -Script: *list-submodules.ps1* +The 'list-submodules.ps1' Script ======================== This PowerShell script lists the submodules in the given Git repository. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index c50362e6b..4ceb12f34 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -1,4 +1,4 @@ -Script: *list-suggestions.ps1* +The 'list-suggestions.ps1' Script ======================== This PowerShell script lists "Did you mean?" suggestions from Google. @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index 56f64d3dd..ec6d177ae 100644 --- a/docs/list-system-devices.md +++ b/docs/list-system-devices.md @@ -1,4 +1,4 @@ -Script: *list-system-devices.ps1* +The 'list-system-devices.ps1' Script ======================== This PowerShell script lists all system devices connected to the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:50)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index 9444e251b..571d2c4f4 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -1,4 +1,4 @@ -Script: *list-system-files.ps1* +The 'list-system-files.ps1' Script ======================== This PowerShell script scans a directory tree and lists all system files. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index dfc988c11..d7994131b 100644 --- a/docs/list-system-info.md +++ b/docs/list-system-info.md @@ -1,4 +1,4 @@ -Script: *list-system-info.ps1* +The 'list-system-info.ps1' Script ======================== This PowerShell script lists system information of the local computer. @@ -141,4 +141,4 @@ $info exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-tags.md b/docs/list-tags.md index 019d22892..77067bf33 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -1,4 +1,4 @@ -Script: *list-tags.ps1* +The 'list-tags.ps1' Script ======================== This PowerShell script fetches all tags in a local Git repository and lists it (oldest tag first). @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index 31b6d7bda..a3f5b79b4 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -1,4 +1,4 @@ -Script: *list-tasks.ps1* +The 'list-tasks.ps1' Script ======================== list-tasks.ps1 @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index edee13e23..adbd605f8 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -1,4 +1,4 @@ -Script: *list-timezone.ps1* +The 'list-timezone.ps1' Script ======================== This PowerShell script lists the details of the current time zone. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 46ce8d689..5e43cafee 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -1,4 +1,4 @@ -Script: *list-timezones.ps1* +The 'list-timezones.ps1' Script ======================== This PowerShell script lists all available time zones. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index 725ec3d01..c299ba6ef 100644 --- a/docs/list-tiobe-index.md +++ b/docs/list-tiobe-index.md @@ -1,4 +1,4 @@ -Script: *list-tiobe-index.ps1* +The 'list-tiobe-index.ps1' Script ======================== list-tiobe-index.ps1 @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index 28a2f2f2e..1f42b8127 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -1,4 +1,4 @@ -Script: *list-unused-files.ps1* +The 'list-unused-files.ps1' Script ======================== This PowerShell script scans a directory tree and lists unused files (no read/write access since a number of days). @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-updates.md b/docs/list-updates.md index f27d752e3..dca45647a 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -1,4 +1,4 @@ -Script: *list-updates.ps1* +The 'list-updates.ps1' Script ======================== This PowerShell script queries the latest available software updates for the @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index 46eb8e51f..3c603a9fc 100644 --- a/docs/list-usb-devices.md +++ b/docs/list-usb-devices.md @@ -1,4 +1,4 @@ -Script: *list-usb-devices.ps1* +The 'list-usb-devices.ps1' Script ======================== This PowerShell script lists all USB devices connected to the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 2de417efd..4e8ff9747 100644 --- a/docs/list-user-accounts.md +++ b/docs/list-user-accounts.md @@ -1,4 +1,4 @@ -Script: *list-user-accounts.ps1* +The 'list-user-accounts.ps1' Script ======================== This PowerShell script lists the user accounts on the local computer. @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index 5e4dc7690..88096b768 100644 --- a/docs/list-user-groups.md +++ b/docs/list-user-groups.md @@ -1,4 +1,4 @@ -Script: *list-user-groups.ps1* +The 'list-user-groups.ps1' Script ======================== This PowerShell script lists the user groups of the local computer. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-voices.md b/docs/list-voices.md index 95fa5da65..d2c03a9b9 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -1,4 +1,4 @@ -Script: *list-voices.ps1* +The 'list-voices.ps1' Script ======================== This PowerShell script queries the installed text-to-speech (TTS) voices and prints them to the console. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-weather.md b/docs/list-weather.md index b962cbd9a..10f10a8d0 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -1,4 +1,4 @@ -Script: *list-weather.ps1* +The 'list-weather.ps1' Script ======================== This PowerShell script queries the 48h weather report from wttr.in and lists it in a nice table. @@ -179,4 +179,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index 8b1cdd530..ab84365da 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -1,4 +1,4 @@ -Script: *list-wifi.ps1* +The 'list-wifi.ps1' Script ======================== This PowerShell script lists the WIFI networks. @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index 92a689fbf..9d0f87a50 100644 --- a/docs/list-window-titles.md +++ b/docs/list-window-titles.md @@ -1,4 +1,4 @@ -Script: *list-window-titles.ps1* +The 'list-window-titles.ps1' Script ======================== This PowerShell script queries all main window titles and lists them as a table. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index 058aa3824..7de40d947 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -1,4 +1,4 @@ -Script: *list-workdir.ps1* +The 'list-workdir.ps1' Script ======================== This PowerShell script lists the path to current working directory (but not the content itself). @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index cd62ae6d5..33ce39f02 100644 --- a/docs/list-wsl-distros.md +++ b/docs/list-wsl-distros.md @@ -1,4 +1,4 @@ -Script: *list-wsl-distros.ps1* +The 'list-wsl-distros.ps1' Script ======================== This PowerShell script lists installed/available Linux distributions for Windows Subsystem for Linux (WSL). @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* diff --git a/docs/locate-city.md b/docs/locate-city.md index fd331e78c..8b2f98fb3 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -1,4 +1,4 @@ -Script: *locate-city.ps1* +The 'locate-city.ps1' Script ======================== This PowerShell script shows the geographic location of the given city. @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index 8e4845421..def458be8 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -1,4 +1,4 @@ -Script: *locate-ipaddress.ps1* +The 'locate-ipaddress.ps1' Script ======================== locate-ipaddress.ps1 [[-IPaddress] ] @@ -46,4 +46,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index 039fe5473..cdd0f0aaa 100644 --- a/docs/locate-my-phone.md +++ b/docs/locate-my-phone.md @@ -1,4 +1,4 @@ -Script: *locate-my-phone.ps1* +The 'locate-my-phone.ps1' Script ======================== This PowerShell script launches the Web browser with the Google Find My Device website. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index 3dcff6e91..d2d24fa39 100644 --- a/docs/locate-zip-code.md +++ b/docs/locate-zip-code.md @@ -1,4 +1,4 @@ -Script: *locate-zip-code.ps1* +The 'locate-zip-code.ps1' Script ======================== This PowerShell script prints the geographic location of the given zip-code. @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index 94e51b1bc..9db027701 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -1,4 +1,4 @@ -Script: *lock-desktop.ps1* +The 'lock-desktop.ps1' Script ======================== This PowerShell script locks the local computer desktop immediately. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/log-off.md b/docs/log-off.md index 834cbf963..a2e862c6a 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -1,4 +1,4 @@ -Script: *log-off.ps1* +The 'log-off.ps1' Script ======================== This PowerShell script logs off the current Windows user. @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/make-install.md b/docs/make-install.md index b47888f13..97b17fc2c 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -1,4 +1,4 @@ -Script: *make-install.ps1* +The 'make-install.ps1' Script ======================== This PowerShell script copies newer EXE's + DLL's from the build directory to the installation directory. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index e37c962c1..f9ed86621 100644 --- a/docs/measure-BubbleSort.md +++ b/docs/measure-BubbleSort.md @@ -1,4 +1,4 @@ -Script: *measure-BubbleSort.ps1* +The 'measure-BubbleSort.ps1' Script ======================== This PowerShell script measures the speed of the BubbleSort algorithm. @@ -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 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index b904b0180..6ceb387c1 100644 --- a/docs/measure-BucketSort.md +++ b/docs/measure-BucketSort.md @@ -1,4 +1,4 @@ -Script: *measure-BucketSort.ps1* +The 'measure-BucketSort.ps1' Script ======================== This PowerShell script measures the speed of the BucketSort algorithm. @@ -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 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index 66a95d7ed..3cf4d18c9 100644 --- a/docs/measure-CountingSort.md +++ b/docs/measure-CountingSort.md @@ -1,4 +1,4 @@ -Script: *measure-CountingSort.ps1* +The 'measure-CountingSort.ps1' Script ======================== This PowerShell script measures the speed of the CountingSort algorithm. @@ -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 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index c3a8882c3..7bc9ffa5c 100644 --- a/docs/measure-HeapSort.md +++ b/docs/measure-HeapSort.md @@ -1,4 +1,4 @@ -Script: *measure-HeapSort.ps1* +The 'measure-HeapSort.ps1' Script ======================== This PowerShell script measures the speed of the HeapSort algorithm. @@ -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 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index 64b99347c..5ed296636 100644 --- a/docs/measure-InsertionSort.md +++ b/docs/measure-InsertionSort.md @@ -1,4 +1,4 @@ -Script: *measure-InsertionSort.ps1* +The 'measure-InsertionSort.ps1' Script ======================== This PowerShell script measures the speed of the InsertionSort algorithm. @@ -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 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index 4387029a2..39a212b8a 100644 --- a/docs/measure-MergeSort.md +++ b/docs/measure-MergeSort.md @@ -1,4 +1,4 @@ -Script: *measure-MergeSort.ps1* +The 'measure-MergeSort.ps1' Script ======================== This PowerShell script measures the speed of the MergeSort algorithm. @@ -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 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index 63566fa1c..e79ca72e0 100644 --- a/docs/measure-QuickSort.md +++ b/docs/measure-QuickSort.md @@ -1,4 +1,4 @@ -Script: *measure-QuickSort.ps1* +The 'measure-QuickSort.ps1' Script ======================== This PowerShell script measures the speed of the QuickSort algorithm. @@ -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 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index 6bae43fc9..a8992ae0c 100644 --- a/docs/measure-SelectionSort.md +++ b/docs/measure-SelectionSort.md @@ -1,4 +1,4 @@ -Script: *measure-SelectionSort.ps1* +The 'measure-SelectionSort.ps1' Script ======================== This PowerShell script measures the speed of the SelectionSort algorithm. @@ -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 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index a89fc617a..7ac81cd60 100644 --- a/docs/measure-sorting-algorithms.md +++ b/docs/measure-sorting-algorithms.md @@ -1,4 +1,4 @@ -Script: *measure-sorting-algorithms.ps1* +The 'measure-sorting-algorithms.ps1' Script ======================== This PowerShell script measures the speed of several sorting algorithms and prints it. @@ -74,4 +74,4 @@ param([int]$numIntegers = 3000) exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index 9e990a7d2..caca5e76b 100644 --- a/docs/merry-christmas.md +++ b/docs/merry-christmas.md @@ -1,4 +1,4 @@ -Script: *merry-christmas.ps1* +The 'merry-christmas.ps1' Script ======================== This PowerShell script replies to 'Merry Christmas' by text-to-speech (TTS). @@ -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 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index 766557b3b..34a3abeff 100644 --- a/docs/minimize-all-windows.md +++ b/docs/minimize-all-windows.md @@ -1,4 +1,4 @@ -Script: *minimize-all-windows.ps1* +The 'minimize-all-windows.ps1' Script ======================== This PowerShell script minimizes all open windows. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index 01a33aae7..a125a330c 100644 --- a/docs/move-mouse-pointer.md +++ b/docs/move-mouse-pointer.md @@ -1,4 +1,4 @@ -Script: *move-mouse-pointer.ps1* +The 'move-mouse-pointer.ps1' Script ======================== This PowerShell script moves the mouse pointer either to the given x/y coordinate or just slightly. @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/move-vm.md b/docs/move-vm.md index d32648c71..2aa96fd5f 100644 --- a/docs/move-vm.md +++ b/docs/move-vm.md @@ -1,4 +1,4 @@ -Script: *move-vm.ps1* +The 'move-vm.ps1' Script ======================== move-vm.ps1 @@ -22,4 +22,4 @@ Move-VM $VMName HOST2 -IncludeStorage -DestinationStoragePath "D:\VirtualMachine exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/my-profile.md b/docs/my-profile.md index 553ce048e..787079ba5 100644 --- a/docs/my-profile.md +++ b/docs/my-profile.md @@ -1,4 +1,4 @@ -Script: *my-profile.ps1* +The 'my-profile.ps1' Script ======================== my-profile.ps1 @@ -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 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-branch.md b/docs/new-branch.md index b56002899..5f3b4e354 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -1,4 +1,4 @@ -Script: *new-branch.ps1* +The 'new-branch.ps1' Script ======================== This PowerShell script creates a new branch in a local Git repository and switches to it. @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 6d0a0232d..7a859b751 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -1,4 +1,4 @@ -Script: *new-dir.ps1* +The 'new-dir.ps1' Script ======================== This PowerShell script creates an empty new directory in the filesystem. @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-email.md b/docs/new-email.md index f638c23a1..b31d4adc3 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -1,4 +1,4 @@ -Script: *new-email.ps1* +The 'new-email.ps1' Script ======================== This PowerShell script opens the default email client to write a new email. @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-image.md b/docs/new-image.md index b35fe20c0..f8d8bd6e0 100644 --- a/docs/new-image.md +++ b/docs/new-image.md @@ -1,4 +1,4 @@ -Script: *new-image.ps1* +The 'new-image.ps1' Script ======================== This script launches the Web browser with texttoimage.org to create a new image. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-junction.md b/docs/new-junction.md index 62f5e457d..d673224b9 100644 --- a/docs/new-junction.md +++ b/docs/new-junction.md @@ -1,4 +1,4 @@ -Script: *new-junction.ps1* +The 'new-junction.ps1' Script ======================== This PowerShell script creates a new junction, linking to a target folder. The target folder can reside on another disk. @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index 66544bf93..92de89794 100644 --- a/docs/new-linux-vm.md +++ b/docs/new-linux-vm.md @@ -1,4 +1,4 @@ -Script: *new-linux-vm.ps1* +The 'new-linux-vm.ps1' Script ======================== new-linux-vm.ps1 @@ -38,4 +38,4 @@ $VMName = "linux" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-markdown-file.md b/docs/new-markdown-file.md index 885ce4b2d..c4311e4e6 100644 --- a/docs/new-markdown-file.md +++ b/docs/new-markdown-file.md @@ -1,4 +1,4 @@ -Script: *new-markdown-file.ps1* +The 'new-markdown-file.ps1' Script ======================== This PowerShell script creates a new Markdown file from template: ../data/templates/New.md. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-passwords.md b/docs/new-passwords.md index d6c08f6c8..4fb2cf10f 100644 --- a/docs/new-passwords.md +++ b/docs/new-passwords.md @@ -1,4 +1,4 @@ -Script: *new-passwords.ps1* +The 'new-passwords.ps1' Script ======================== This PowerShell script generates a table of secure passwords and writes them to the console (for @@ -115,4 +115,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-pins.md b/docs/new-pins.md index 634f54658..c68fe9d1d 100644 --- a/docs/new-pins.md +++ b/docs/new-pins.md @@ -1,4 +1,4 @@ -Script: *new-pins.ps1* +The 'new-pins.ps1' Script ======================== This PowerShell script generates a table of random PIN's and writes them to the console (for @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-power-plan.md b/docs/new-power-plan.md index 75f33c9e9..2c62e873c 100644 --- a/docs/new-power-plan.md +++ b/docs/new-power-plan.md @@ -1,4 +1,4 @@ -Script: *new-power-plan.ps1* +The 'new-power-plan.ps1' Script ======================== new-power-plan.ps1 @@ -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 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-powershell-script.md b/docs/new-powershell-script.md index b37eea669..937b0140a 100644 --- a/docs/new-powershell-script.md +++ b/docs/new-powershell-script.md @@ -1,4 +1,4 @@ -Script: *new-powershell-script.ps1* +The 'new-powershell-script.ps1' Script ======================== This PowerShell script creates a new PowerShell script file by using the template ../data/templates/New.ps1. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index a667ff7de..7a4dea663 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -1,4 +1,4 @@ -Script: *new-qrcode.ps1* +The 'new-qrcode.ps1' Script ======================== This PowerShell script generates a new QR code image file. @@ -113,4 +113,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index 6e43c9a0e..c6efea635 100644 --- a/docs/new-reboot-task.md +++ b/docs/new-reboot-task.md @@ -1,4 +1,4 @@ -Script: *new-reboot-task.ps1* +The 'new-reboot-task.ps1' Script ======================== This PowerShell script creates a timed task to reboot the local computer. @@ -144,4 +144,4 @@ Else If ((Get-ScheduledTask -TaskName $Taskname).State -eq "Disabled") {Enable-ScheduledTask -TaskName $TaskName} ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index 0d7fc6372..2628c75d5 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -1,4 +1,4 @@ -Script: *new-shortcut.ps1* +The 'new-shortcut.ps1' Script ======================== This PowerShell script creates a new shortcut file. @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index 3ed7b5b63..bde304455 100644 --- a/docs/new-ssh-key.md +++ b/docs/new-ssh-key.md @@ -1,4 +1,4 @@ -Script: *new-ssh-key.ps1* +The 'new-ssh-key.ps1' Script ======================== This PowerShell script creates a new personal SSH key for the user (needed for remote login, Git, etc.). @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-story.md b/docs/new-story.md index 85315c652..259ddede1 100644 --- a/docs/new-story.md +++ b/docs/new-story.md @@ -1,4 +1,4 @@ -Script: *new-story.ps1* +The 'new-story.ps1' Script ======================== new-story.ps1 @@ -63,4 +63,4 @@ while ($true) { & "$PSScriptRoot/write-typewriter.ps1" $(RandomSentence) 20 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index 158184a59..fac1ed8eb 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -1,4 +1,4 @@ -Script: *new-symlink.ps1* +The 'new-symlink.ps1' Script ======================== This PowerShell script creates a new symbolic link file, linking to a target. @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-tab.md b/docs/new-tab.md index 289713d68..7e380fa55 100644 --- a/docs/new-tab.md +++ b/docs/new-tab.md @@ -1,4 +1,4 @@ -Script: *new-tab.ps1* +The 'new-tab.ps1' Script ======================== This PowerShell script creates and opens a new tab in Windows Terminal. @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-tag.md b/docs/new-tag.md index 1c6930ec1..b8c5560d8 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -1,4 +1,4 @@ -Script: *new-tag.ps1* +The 'new-tag.ps1' Script ======================== This PowerShell script creates a new tag in a Git repository. @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-text-file.md b/docs/new-text-file.md index 876a0cc86..b93f20b63 100644 --- a/docs/new-text-file.md +++ b/docs/new-text-file.md @@ -1,4 +1,4 @@ -Script: *new-text-file.ps1* +The 'new-text-file.ps1' Script ======================== This PowerShell script creates a new .txt file from: ../data/templates/New.txt. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-user.md b/docs/new-user.md index 2d2db7981..585f666ae 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -1,4 +1,4 @@ -Script: *new-user.ps1* +The 'new-user.ps1' Script ======================== This PowerShell script creates a new user account with an encrypted home directory. @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index 4b6b687ae..b0aed8df6 100644 --- a/docs/new-windows-vm.md +++ b/docs/new-windows-vm.md @@ -1,4 +1,4 @@ -Script: *new-windows-vm.ps1* +The 'new-windows-vm.ps1' Script ======================== new-windows-vm.ps1 @@ -37,4 +37,4 @@ $VMName = "windows" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index 8ecfc72bf..0a578da64 100644 --- a/docs/on-desktop-login.md +++ b/docs/on-desktop-login.md @@ -1,4 +1,4 @@ -Script: *on-desktop-login.ps1* +The 'on-desktop-login.ps1' Script ======================== This PowerShell script executes some 'welcome' tasks on every desktop login by the user. @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-URL.md b/docs/open-URL.md index 1169818e7..5fb46156d 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -1,4 +1,4 @@ -Script: *open-URL.ps1* +The 'open-URL.ps1' Script ======================== This PowerShell script launches a new tab in the default Web browser with the given URL. @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index cb261e57f..4f58b7963 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -1,4 +1,4 @@ -Script: *open-apps-folder.ps1* +The 'open-apps-folder.ps1' Script ======================== This PowerShell script launches the File Explorer showing the UWP apps folder. @@ -51,4 +51,4 @@ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index 7a101402a..a06318658 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -1,4 +1,4 @@ -Script: *open-auto-start-folder.ps1* +The 'open-auto-start-folder.ps1' Script ======================== This PowerShell script launches the File Explorer with the user's autostart folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index 8859967bf..7ed29e29c 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -1,4 +1,4 @@ -Script: *open-bing-maps.ps1* +The 'open-bing-maps.ps1' Script ======================== This PowerShell script launches the Bing Maps application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index 356d995a9..4b85ce813 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -1,4 +1,4 @@ -Script: *open-booking-com.ps1* +The 'open-booking-com.ps1' Script ======================== This PowerShell script launches the Web browser with the Booking.com website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index dee9935f8..67c9c2971 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -1,4 +1,4 @@ -Script: *open-c-drive.ps1* +The 'open-c-drive.ps1' Script ======================== This PowerShell script launches the File Explorer with the C: drive folder. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index 7126b61b1..36d272c1f 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -1,4 +1,4 @@ -Script: *open-calculator.ps1* +The 'open-calculator.ps1' Script ======================== This PowerShell script launches the calculator application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index e259f10e5..69e1234af 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -1,4 +1,4 @@ -Script: *open-chrome.ps1* +The 'open-chrome.ps1' Script ======================== This PowerShell script launches the Google Chrome Web browser. @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-clock.md b/docs/open-clock.md index bbce0a8df..65b3d7546 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -1,4 +1,4 @@ -Script: *open-clock.ps1* +The 'open-clock.ps1' Script ======================== This PowerShell script launches the Clock application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index 236ce8fff..94ca836d4 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -1,4 +1,4 @@ -Script: *open-cortana.ps1* +The 'open-cortana.ps1' Script ======================== This PowerShell script launches the Cortana application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index 1a6f39370..9c05c2341 100644 --- a/docs/open-d-drive.md +++ b/docs/open-d-drive.md @@ -1,4 +1,4 @@ -Script: *open-d-drive.ps1* +The 'open-d-drive.ps1' Script ======================== This PowerShell script launches the File Explorer with the D: drive folder. @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "D:" ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 2bf2fe9d0..54bae9bc6 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -1,4 +1,4 @@ -Script: *open-dashboards.ps1* +The 'open-dashboards.ps1' Script ======================== This PowerShell script launches the Web browser with 24 tabs of popular dashboard websites. @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index b60565668..7f80ac7d3 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -1,4 +1,4 @@ -Script: *open-deep-l-translator.ps1* +The 'open-deep-l-translator.ps1' Script ======================== This PowerShell script launches the Web browser with the DeepL Translator website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index ca4e6fdad..deb763be7 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -1,4 +1,4 @@ -Script: *open-default-browser.ps1* +The 'open-default-browser.ps1' Script ======================== This PowerShell script launches the default Web browser, optional with a given URL. @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index 0fcc1677a..568abb4ae 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -1,4 +1,4 @@ -Script: *open-desktop-folder.ps1* +The 'open-desktop-folder.ps1' Script ======================== This PowerShell script launches the File Explorer with the user's desktop folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index ecf206768..9e9862111 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -1,4 +1,4 @@ -Script: *open-documents-folder.ps1* +The 'open-documents-folder.ps1' Script ======================== This PowerShell script launches the File Explorer with the user's documents folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index eb73def63..f78032a78 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -1,4 +1,4 @@ -Script: *open-downloads-folder.ps1* +The 'open-downloads-folder.ps1' Script ======================== This PowerShell script launches the File Explorer showing the user's downloads folder. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index 05b19dc00..f9e972dfa 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -1,4 +1,4 @@ -Script: *open-dropbox-folder.ps1* +The 'open-dropbox-folder.ps1' Script ======================== This PowerShell script launches the File Explorer with the user's Dropbox folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index c519fce67..51fd5ac42 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -1,4 +1,4 @@ -Script: *open-duck-duck-go.ps1* +The 'open-duck-duck-go.ps1' Script ======================== This PowerShell script launches the Web browser with the DuckDuckGo website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index b06c0809c..c63cdd687 100644 --- a/docs/open-e-drive.md +++ b/docs/open-e-drive.md @@ -1,4 +1,4 @@ -Script: *open-e-drive.ps1* +The 'open-e-drive.ps1' Script ======================== This PowerShell script launches the File Explorer with the E: drive folder. @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "E:" ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-edge.md b/docs/open-edge.md index 551eac936..2919134cc 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -1,4 +1,4 @@ -Script: *open-edge.ps1* +The 'open-edge.ps1' Script ======================== This PowerShell script launches the Microsoft Edge Web browser. @@ -50,4 +50,4 @@ Start-Process microsoft-edge:// exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index 63b11e067..076bac69f 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -1,4 +1,4 @@ -Script: *open-egg-timer.ps1* +The 'open-egg-timer.ps1' Script ======================== This PowerShell script launches the Web browser with the eggtimer website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index 3017666c9..233ea38a7 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -1,4 +1,4 @@ -Script: *open-email-client.ps1* +The 'open-email-client.ps1' Script ======================== This PowerShell script launches the default email client. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index 3d3bdd67a..58ceb126c 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -1,4 +1,4 @@ -Script: *open-f-drive.ps1* +The 'open-f-drive.ps1' Script ======================== This PowerShell script launches the File Explorer with the F: drive folder. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index 0aa7de481..fba6ad8a8 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -1,4 +1,4 @@ -Script: *open-file-explorer.ps1* +The 'open-file-explorer.ps1' Script ======================== This PowerShell script launches the File Explorer. @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index 2c54ddf17..94c4c0dd4 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -1,4 +1,4 @@ -Script: *open-fire-place.ps1* +The 'open-fire-place.ps1' Script ======================== This PowerShell script launches the Web browser with a fire place website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:51)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index e825d0e8e..4a6581ff7 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -1,4 +1,4 @@ -Script: *open-firefox.ps1* +The 'open-firefox.ps1' Script ======================== This PowerShell script launches the Mozilla Firefox Web browser. @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index 2d8de5fdf..0f55a1eaa 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -1,4 +1,4 @@ -Script: *open-flight-radar.ps1* +The 'open-flight-radar.ps1' Script ======================== This PowerShell script launches the Web browser with the FlightRadar24 website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index d21222869..67dd4e80e 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -1,4 +1,4 @@ -Script: *open-g-drive.ps1* +The 'open-g-drive.ps1' Script ======================== This PowerShell script launches the File Explorer with the G: drive folder. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index 0f6b9f26c..5e8217c1d 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -1,4 +1,4 @@ -Script: *open-git-extensions.ps1* +The 'open-git-extensions.ps1' Script ======================== This PowerShell script launches the Git Extensions application. @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index 04b37eeb2..69f20f437 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -1,4 +1,4 @@ -Script: *open-google-books.ps1* +The 'open-google-books.ps1' Script ======================== This PowerShell script launches the Web browser with the Google Books website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index 5580eca8b..8bb67b4a9 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -1,4 +1,4 @@ -Script: *open-google-calendar.ps1* +The 'open-google-calendar.ps1' Script ======================== This PowerShell script launches the Web browser with the Google Calendar website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index 3383237a9..e13e9f111 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -1,4 +1,4 @@ -Script: *open-google-contacts.ps1* +The 'open-google-contacts.ps1' Script ======================== This PowerShell script launches the Web browser with the Google Contacts website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index f542e9a07..b184479fa 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -1,4 +1,4 @@ -Script: *open-google-docs.ps1* +The 'open-google-docs.ps1' Script ======================== This PowerShell script launches the Web browser with the Google Docs website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 35034bc34..94d6f43ad 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -1,4 +1,4 @@ -Script: *open-google-earth.ps1* +The 'open-google-earth.ps1' Script ======================== This PowerShell script launches the Web browser with the Google Earth website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index 572cbb076..ed7325191 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -1,4 +1,4 @@ -Script: *open-google-mail.ps1* +The 'open-google-mail.ps1' Script ======================== This PowerShell script launches the Web browser with the Google Mail website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index 1e94d0f11..25db27236 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -1,4 +1,4 @@ -Script: *open-google-maps.ps1* +The 'open-google-maps.ps1' Script ======================== This PowerShell script launches the Web browser with the Google Maps website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index 6a258e451..67a5be679 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -1,4 +1,4 @@ -Script: *open-google-news.ps1* +The 'open-google-news.ps1' Script ======================== This PowerShell script launches the Web browser with the Google News website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index 8e7bee530..708313716 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -1,4 +1,4 @@ -Script: *open-google-photos.ps1* +The 'open-google-photos.ps1' Script ======================== This PowerShell script launches the Web browser with the Google Photos website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index 963ab4356..8de2801f9 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -1,4 +1,4 @@ -Script: *open-google-play.ps1* +The 'open-google-play.ps1' Script ======================== This PowerShell script launches the Web browser with the Google Play website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index 90ade7512..7fe0e62d6 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -1,4 +1,4 @@ -Script: *open-google-search.ps1* +The 'open-google-search.ps1' Script ======================== This PowerShell script launches the Web browser with the Google Search website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index e3fe5bf8c..45cfb4dae 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -1,4 +1,4 @@ -Script: *open-google-stadia.ps1* +The 'open-google-stadia.ps1' Script ======================== This PowerShell script launches the Web browser with the Google Stadia website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index 2515c6988..c000951a1 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -1,4 +1,4 @@ -Script: *open-google-translate.ps1* +The 'open-google-translate.ps1' Script ======================== This PowerShell script launches the Web browser with the Google Translate website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index fcdf8de6d..b1b762e28 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -1,4 +1,4 @@ -Script: *open-home-folder.ps1* +The 'open-home-folder.ps1' Script ======================== This script launches the File Explorer with the user's home folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 0a2e4211f..5bd7e07ae 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -1,4 +1,4 @@ -Script: *open-internet-archive.ps1* +The 'open-internet-archive.ps1' Script ======================== This script launches the Web browser with the Internet Archive website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index 601bb9795..08368d0a4 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -1,4 +1,4 @@ -Script: *open-jitsi-meet.ps1* +The 'open-jitsi-meet.ps1' Script ======================== This script launches the Web browser with the Jitsi Meet website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index e62e11d77..5364e7aa2 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -1,4 +1,4 @@ -Script: *open-m-drive.ps1* +The 'open-m-drive.ps1' Script ======================== This script launches the File Explorer with the M: drive folder. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index b72e4022a..1ead10c93 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -1,4 +1,4 @@ -Script: *open-magnifier.ps1* +The 'open-magnifier.ps1' Script ======================== This script launches the Windows Screen Magnifier application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index a8dfc7978..6262d3183 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -1,4 +1,4 @@ -Script: *open-microsoft-paint.ps1* +The 'open-microsoft-paint.ps1' Script ======================== This script launches the Microsoft Paint application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index 891c2e3f8..6ef60a5e9 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -1,4 +1,4 @@ -Script: *open-microsoft-solitaire.ps1* +The 'open-microsoft-solitaire.ps1' Script ======================== This script launches the Microsoft Solitaire application. @@ -50,4 +50,4 @@ Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index 944e957f7..063933d8b 100644 --- a/docs/open-microsoft-store.md +++ b/docs/open-microsoft-store.md @@ -1,4 +1,4 @@ -Script: *open-microsoft-store.ps1* +The 'open-microsoft-store.ps1' Script ======================== This script launches the Microsoft Store application. @@ -50,4 +50,4 @@ Start-Process ms-windows-store: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index d24626822..4f1294bae 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -1,4 +1,4 @@ -Script: *open-microsoft-teams.ps1* +The 'open-microsoft-teams.ps1' Script ======================== This script launches the Microsoft Teams application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index c33acd234..e75146f41 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -1,4 +1,4 @@ -Script: *open-music-folder.ps1* +The 'open-music-folder.ps1' Script ======================== This script launches the File Explorer with the user's music folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index 8a69839fc..77fa528ae 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -1,4 +1,4 @@ -Script: *open-netflix.ps1* +The 'open-netflix.ps1' Script ======================== This script launches the Netflix application. @@ -50,4 +50,4 @@ Start-Process netflix: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index 04793f735..fb578b21b 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -1,4 +1,4 @@ -Script: *open-notepad.ps1* +The 'open-notepad.ps1' Script ======================== This PowerShell script launches the Notepad application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index 32f5ea717..e715bb69b 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -1,4 +1,4 @@ -Script: *open-obs-studio.ps1* +The 'open-obs-studio.ps1' Script ======================== This script launches the OBS Studio application. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index a5a584d84..a89440a56 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -1,4 +1,4 @@ -Script: *open-office-365.ps1* +The 'open-office-365.ps1' Script ======================== This script launches the Web browser with the Microsoft Office 365 website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index ec33704a9..ba5dad1c4 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -1,4 +1,4 @@ -Script: *open-one-drive-folder.ps1* +The 'open-one-drive-folder.ps1' Script ======================== This script launches the File Explorer with the user's OneDrive folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index fb8b159a8..f82670321 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -1,4 +1,4 @@ -Script: *open-outlook.ps1* +The 'open-outlook.ps1' Script ======================== This script launches the Microsoft Outlook email application. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index bc7746620..f702359f8 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -1,4 +1,4 @@ -Script: *open-paint-three-d.ps1* +The 'open-paint-three-d.ps1' Script ======================== This script launches the Paint 3D application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index cb27a5bbf..50cd2036e 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -1,4 +1,4 @@ -Script: *open-pictures-folder.ps1* +The 'open-pictures-folder.ps1' Script ======================== This script launches the File Explorer with the user's pictures folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index 9a82694fe..bd547ce4e 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -1,4 +1,4 @@ -Script: *open-rdp.ps1* +The 'open-rdp.ps1' Script ======================== This script launches the Remote Desktop Protocol (RDP) application. @@ -67,4 +67,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index 1d240cfbd..00176c7d4 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -1,4 +1,4 @@ -Script: *open-recycle-bin-folder.ps1* +The 'open-recycle-bin-folder.ps1' Script ======================== This script launches the File Explorer with the user's recycle bin folder. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index 6feb44ceb..36364bb06 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -1,4 +1,4 @@ -Script: *open-remote-desktop.ps1* +The 'open-remote-desktop.ps1' Script ======================== This script launches the Remote Desktop application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 9d43a791c..44b4142f9 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -1,4 +1,4 @@ -Script: *open-repos-folder.ps1* +The 'open-repos-folder.ps1' Script ======================== This script launches the File Explorer with the user's Git repositories folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index 5435d447d..acc8cad69 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -1,4 +1,4 @@ -Script: *open-screen-clip.ps1* +The 'open-screen-clip.ps1' Script ======================== This script launches the Screen Clip application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index 1aabfa98d..ab06b8650 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -1,4 +1,4 @@ -Script: *open-screen-sketch.ps1* +The 'open-screen-sketch.ps1' Script ======================== This script launches the Screen Sketch application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-skype.md b/docs/open-skype.md index 68b0f1997..30fe95780 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -1,4 +1,4 @@ -Script: *open-skype.ps1* +The 'open-skype.ps1' Script ======================== This script launches the Skype application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index 946b7a489..860b94cf2 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -1,4 +1,4 @@ -Script: *open-snipping-tool.ps1* +The 'open-snipping-tool.ps1' Script ======================== This script launches the Snipping Tool application. @@ -50,4 +50,4 @@ Start-Process SnippingTool.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index c580f71c9..caba31f45 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -1,4 +1,4 @@ -Script: *open-speed-test.ps1* +The 'open-speed-test.ps1' Script ======================== This script launches the Web browser with Cloudflare's speed test website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index 02af818e4..122600d9e 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -1,4 +1,4 @@ -Script: *open-spotify.ps1* +The 'open-spotify.ps1' Script ======================== This script launches the Spotify application. @@ -50,4 +50,4 @@ Start-Process spotify: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index f31f0ec78..99a1c5dd7 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -1,4 +1,4 @@ -Script: *open-stack-overflow.ps1* +The 'open-stack-overflow.ps1' Script ======================== This script launches the Web browser with the Stack Overflow website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 74ca9b290..d870fea6f 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -1,4 +1,4 @@ -Script: *open-start-page.ps1* +The 'open-start-page.ps1' Script ======================== This script launches the Web browser with the Startpage website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index f15dcbef5..e17e33d9e 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -1,4 +1,4 @@ -Script: *open-street-map.ps1* +The 'open-street-map.ps1' Script ======================== This script launches the Web browser with the OpenStreetMap website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index 630cc7082..5384572f0 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -1,4 +1,4 @@ -Script: *open-task-manager.ps1* +The 'open-task-manager.ps1' Script ======================== This script launches the Windows Task Manager application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index 11e73939e..c1b54d8c6 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -1,4 +1,4 @@ -Script: *open-temporary-folder.ps1* +The 'open-temporary-folder.ps1' Script ======================== This script launches the File Explorer showing the temporary folder. @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index 62a3a8aac..7cf3ce296 100644 --- a/docs/open-three-d-viewer.md +++ b/docs/open-three-d-viewer.md @@ -1,4 +1,4 @@ -Script: *open-three-d-viewer.ps1* +The 'open-three-d-viewer.ps1' Script ======================== This script launches the 3D-Viewer application. @@ -50,4 +50,4 @@ Start-Process com.microsoft.3dviewer: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index 15ef7308f..2570391ba 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -1,4 +1,4 @@ -Script: *open-thunderbird.ps1* +The 'open-thunderbird.ps1' Script ======================== This script launches the Mozilla Thunderbird email application. @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index 58bf50bce..df4ea9879 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -1,4 +1,4 @@ -Script: *open-videos-folders.ps1* +The 'open-videos-folders.ps1' Script ======================== This script launches the File Explorer with the user's videos folder. @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index 67c91e210..2a884f93b 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -1,4 +1,4 @@ -Script: *open-visual-studio.ps1* +The 'open-visual-studio.ps1' Script ======================== This PowerShell script launches the Microsoft Visual Studio application. @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index 167ea1ac8..6ce2f4988 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -1,4 +1,4 @@ -Script: *open-voice-recorder.ps1* +The 'open-voice-recorder.ps1' Script ======================== This PowerShell script launches the Windows Voice Recorder application. @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 5c474d01e..20980de7a 100644 --- a/docs/open-vpn-settings.md +++ b/docs/open-vpn-settings.md @@ -1,4 +1,4 @@ -Script: *open-vpn-settings.ps1* +The 'open-vpn-settings.ps1' Script ======================== This PowerShell script launches the VPN settings of Windows. @@ -50,4 +50,4 @@ Start-Process ms-settings:network-vpn exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index c191847fd..1c152c48e 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -1,4 +1,4 @@ -Script: *open-windows-defender.ps1* +The 'open-windows-defender.ps1' Script ======================== This script launches the Windows Defender application. @@ -50,4 +50,4 @@ Start-Process windowsdefender: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index 8a9291fcd..f90a4fe73 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -1,4 +1,4 @@ -Script: *open-windows-terminal.ps1* +The 'open-windows-terminal.ps1' Script ======================== This script launches the Windows Terminal application. @@ -50,4 +50,4 @@ Start-Process wt.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-windy.md b/docs/open-windy.md index add067263..4ab4dee96 100644 --- a/docs/open-windy.md +++ b/docs/open-windy.md @@ -1,4 +1,4 @@ -Script: *open-windy.ps1* +The 'open-windy.ps1' Script ======================== This script launches the Web browser with the Windy Weather Radar website. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/open-xing.md b/docs/open-xing.md index 11796240e..be5cf332b 100644 --- a/docs/open-xing.md +++ b/docs/open-xing.md @@ -1,4 +1,4 @@ -Script: *open-xing.ps1* +The 'open-xing.ps1' Script ======================== This script launches the XING application. @@ -48,4 +48,4 @@ Start-Process xing: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index fd9819227..7b5b42aa7 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -1,4 +1,4 @@ -Script: *pick-commit.ps1* +The 'pick-commit.ps1' Script ======================== Cherry-picks a Git commit into one or more branches (branch names need to be separated by spaces) @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/ping-host.md b/docs/ping-host.md index e61fc5ab0..71eb507e8 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -1,4 +1,4 @@ -Script: *ping-host.ps1* +The 'ping-host.ps1' Script ======================== This PowerShell script pings the given host. @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index c75545914..eb3819b9a 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -1,4 +1,4 @@ -Script: *ping-internet.ps1* +The 'ping-internet.ps1' Script ======================== This PowerShell script measures the ping roundtrip times from the local computer to 10 Internet servers. @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index 6b14df3bb..9ee4f5f5b 100644 --- a/docs/ping-local-devices.md +++ b/docs/ping-local-devices.md @@ -1,4 +1,4 @@ -Script: *ping-local-devices.ps1* +The 'ping-local-devices.ps1' Script ======================== This PowerShell script pings devices in the local network and lists which one are up. @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index dceb32543..a76d1e265 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -1,4 +1,4 @@ -Script: *ping-weather.ps1* +The 'ping-weather.ps1' Script ======================== This PowerShell script continuously shows the current weather conditions (similar to htop, 10 min update interval by default). @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/play-ascii-video.md b/docs/play-ascii-video.md index 8818f5c57..c0d9e0850 100644 --- a/docs/play-ascii-video.md +++ b/docs/play-ascii-video.md @@ -1,4 +1,4 @@ -Script: *play-ascii-video.ps1* +The 'play-ascii-video.ps1' Script ======================== This PowerShell script launches the Web browser with YouTube playing Rick Astley. @@ -52,4 +52,4 @@ if ($IsLinux -or $IsMacOS) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index 8f9cfbe40..de6bec0c1 100644 --- a/docs/play-bee-sound.md +++ b/docs/play-bee-sound.md @@ -1,4 +1,4 @@ -Script: *play-bee-sound.ps1* +The 'play-bee-sound.ps1' Script ======================== This PowerShell script plays a bee sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index 97bbbd406..d3ab4bfd8 100644 --- a/docs/play-beep-sound.md +++ b/docs/play-beep-sound.md @@ -1,4 +1,4 @@ -Script: *play-beep-sound.ps1* +The 'play-beep-sound.ps1' Script ======================== This PowerShell script plays a short beep sound at 500Hz for 300ms. @@ -51,4 +51,4 @@ Start-Sleep -milliseconds 300 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index 50dbdec35..aa15a000e 100644 --- a/docs/play-big-ben.md +++ b/docs/play-big-ben.md @@ -1,4 +1,4 @@ -Script: *play-big-ben.ps1* +The 'play-big-ben.ps1' Script ======================== This PowerShell script plays the sound of Big Ben. @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index e62f0682a..c0b56feb5 100644 --- a/docs/play-cat-sound.md +++ b/docs/play-cat-sound.md @@ -1,4 +1,4 @@ -Script: *play-cat-sound.ps1* +The 'play-cat-sound.ps1' Script ======================== This PowerShell script plays a cat sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/play-chess.md b/docs/play-chess.md index a7ef387d0..22a3c2225 100644 --- a/docs/play-chess.md +++ b/docs/play-chess.md @@ -1,4 +1,4 @@ -Script: *play-chess.ps1* +The 'play-chess.ps1' Script ======================== Started off of code from https://github.com/bhassen99/POSH-Chess, which was very @@ -1260,4 +1260,4 @@ while ($Script:gameStatus -eq [gamestatus]::ongoing) { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index b5aec10be..2236cebfb 100644 --- a/docs/play-cow-sound.md +++ b/docs/play-cow-sound.md @@ -1,4 +1,4 @@ -Script: *play-cow-sound.ps1* +The 'play-cow-sound.ps1' Script ======================== This PowerShell script plays a cow sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index 3c48f4f4b..fe738fdde 100644 --- a/docs/play-dog-sound.md +++ b/docs/play-dog-sound.md @@ -1,4 +1,4 @@ -Script: *play-dog-sound.ps1* +The 'play-dog-sound.ps1' Script ======================== This PowerShell script plays a dog sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index f828fe115..de376fdb0 100644 --- a/docs/play-donkey-sound.md +++ b/docs/play-donkey-sound.md @@ -1,4 +1,4 @@ -Script: *play-donkey-sound.ps1* +The 'play-donkey-sound.ps1' Script ======================== This PowerShell script plays a donkey sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* diff --git a/docs/play-drug-wars.md b/docs/play-drug-wars.md index cb287719a..f147b036d 100644 --- a/docs/play-drug-wars.md +++ b/docs/play-drug-wars.md @@ -1,4 +1,4 @@ -Script: *play-drug-wars.ps1* +The 'play-drug-wars.ps1' Script ======================== play-drug-wars.ps1 [-SkipConsoleSizeCheck] @@ -5400,4 +5400,4 @@ while ($script:Playing) { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index 26eeb093d..b4957f165 100644 --- a/docs/play-elephant-sound.md +++ b/docs/play-elephant-sound.md @@ -1,4 +1,4 @@ -Script: *play-elephant-sound.ps1* +The 'play-elephant-sound.ps1' Script ======================== This PowerShell script plays an elephant sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index d918df3b4..8faec3584 100644 --- a/docs/play-elk-sound.md +++ b/docs/play-elk-sound.md @@ -1,4 +1,4 @@ -Script: *play-elk-sound.ps1* +The 'play-elk-sound.ps1' Script ======================== This PowerShell script plays an elk sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-files.md b/docs/play-files.md index 95df88873..d0efc8ec0 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -1,4 +1,4 @@ -Script: *play-files.ps1* +The 'play-files.ps1' Script ======================== This PowerShell script plays the given audio files (supporting .MP3 and .WAV format). @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index 89ebda42f..1877a292c 100644 --- a/docs/play-frog-sound.md +++ b/docs/play-frog-sound.md @@ -1,4 +1,4 @@ -Script: *play-frog-sound.ps1* +The 'play-frog-sound.ps1' Script ======================== This PowerShell script plays a frog sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index 39bdc9b6d..5b40dc135 100644 --- a/docs/play-goat-sound.md +++ b/docs/play-goat-sound.md @@ -1,4 +1,4 @@ -Script: *play-goat-sound.ps1* +The 'play-goat-sound.ps1' Script ======================== This PowerShell script plays a goat sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index 82f5b7ef2..b8e150a78 100644 --- a/docs/play-gorilla-sound.md +++ b/docs/play-gorilla-sound.md @@ -1,4 +1,4 @@ -Script: *play-gorilla-sound.ps1* +The 'play-gorilla-sound.ps1' Script ======================== This PowerShell script plays a gorilla sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index 5871a687b..7925bb8e4 100644 --- a/docs/play-happy-birthday.md +++ b/docs/play-happy-birthday.md @@ -1,4 +1,4 @@ -Script: *play-happy-birthday.ps1* +The 'play-happy-birthday.ps1' Script ======================== This PowerShell script plays the famous Happy Birthday song. @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 4d974006e..614b24d55 100644 --- a/docs/play-horse-sound.md +++ b/docs/play-horse-sound.md @@ -1,4 +1,4 @@ -Script: *play-horse-sound.ps1* +The 'play-horse-sound.ps1' Script ======================== This PowerShell script plays a horse sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index e1f960a9b..77797c6d7 100644 --- a/docs/play-imperial-march.md +++ b/docs/play-imperial-march.md @@ -1,4 +1,4 @@ -Script: *play-imperial-march.ps1* +The 'play-imperial-march.ps1' Script ======================== This PowerShell script plays the Imperial March used in the Star Wars film series. @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index 997494191..9e2cc8273 100644 --- a/docs/play-jingle-bells.md +++ b/docs/play-jingle-bells.md @@ -1,4 +1,4 @@ -Script: *play-jingle-bells.ps1* +The 'play-jingle-bells.ps1' Script ======================== This PowerShell script plays the famous Jingle Bells song. @@ -201,4 +201,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index fbd3b5001..6c8b7c64a 100644 --- a/docs/play-lion-sound.md +++ b/docs/play-lion-sound.md @@ -1,4 +1,4 @@ -Script: *play-lion-sound.ps1* +The 'play-lion-sound.ps1' Script ======================== This PowerShell script plays a lion sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index 1c9e9ec48..add821084 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -1,4 +1,4 @@ -Script: *play-m3u.ps1* +The 'play-m3u.ps1' Script ======================== This PowerShell script plays the given playlist (in .M3U file format) @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index 57659bca0..ed76f9f56 100644 --- a/docs/play-mission-impossible.md +++ b/docs/play-mission-impossible.md @@ -1,4 +1,4 @@ -Script: *play-mission-impossible.ps1* +The 'play-mission-impossible.ps1' Script ======================== This PowerShell script plays the Mission Impossible theme. @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index 0b141c553..adeaf307f 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -1,4 +1,4 @@ -Script: *play-mp3.ps1* +The 'play-mp3.ps1' Script ======================== This PowerShell script plays the given sound file (MPEG-1 audio layer-3 file format). @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index 73fa6a638..cf6a36cff 100644 --- a/docs/play-parrot-sound.md +++ b/docs/play-parrot-sound.md @@ -1,4 +1,4 @@ -Script: *play-parrot-sound.ps1* +The 'play-parrot-sound.ps1' Script ======================== This PowerShell script plays a parrot sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index 804011f62..7942dfc7d 100644 --- a/docs/play-pig-sound.md +++ b/docs/play-pig-sound.md @@ -1,4 +1,4 @@ -Script: *play-pig-sound.ps1* +The 'play-pig-sound.ps1' Script ======================== This PowerShell script plays a pig sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-pong.md b/docs/play-pong.md index f24d54a99..e9bde18f2 100644 --- a/docs/play-pong.md +++ b/docs/play-pong.md @@ -1,4 +1,4 @@ -Script: *play-pong.ps1* +The 'play-pong.ps1' Script ======================== play-pong.ps1 @@ -176,4 +176,4 @@ while ($true) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index 4769dfc00..99504eea1 100644 --- a/docs/play-rattlesnake-sound.md +++ b/docs/play-rattlesnake-sound.md @@ -1,4 +1,4 @@ -Script: *play-rattlesnake-sound.ps1* +The 'play-rattlesnake-sound.ps1' Script ======================== This PowerShell script plays a rattlesnake sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-rick.md b/docs/play-rick.md index b7edf56bb..65673c230 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -1,4 +1,4 @@ -Script: *play-rick.ps1* +The 'play-rick.ps1' Script ======================== This PowerShell script launches the Web browser with YouTube playing Rick Astley. @@ -56,4 +56,4 @@ if ($IsLinux -or $IsMacOS) { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-snake.md b/docs/play-snake.md index 51475d845..6dab1597b 100644 --- a/docs/play-snake.md +++ b/docs/play-snake.md @@ -1,4 +1,4 @@ -Script: *play-snake.ps1* +The 'play-snake.ps1' Script ======================== This PowerShell script lets you play the famous Snake game. @@ -86,4 +86,4 @@ Start-Sleep -milliseconds 300 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index 1d21bba94..28ea4f703 100644 --- a/docs/play-super-mario.md +++ b/docs/play-super-mario.md @@ -1,4 +1,4 @@ -Script: *play-super-mario.ps1* +The 'play-super-mario.ps1' Script ======================== This PowerShell script plays the Super Mario intro. @@ -71,4 +71,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index a515552dc..9ea9a6358 100644 --- a/docs/play-system-sounds.md +++ b/docs/play-system-sounds.md @@ -1,4 +1,4 @@ -Script: *play-system-sounds.ps1* +The 'play-system-sounds.ps1' Script ======================== play-system-sounds.ps1 @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:52)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index b6d76e8ea..06ab0404c 100644 --- a/docs/play-tetris-melody.md +++ b/docs/play-tetris-melody.md @@ -1,4 +1,4 @@ -Script: *play-tetris-melody.ps1* +The 'play-tetris-melody.ps1' Script ======================== This PowerShell script plays the Tetris melody. @@ -161,4 +161,4 @@ Start-Sleep -milliseconds 500 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-tetris.md b/docs/play-tetris.md index 8ef9f6cb5..3404d3dc0 100644 --- a/docs/play-tetris.md +++ b/docs/play-tetris.md @@ -1,4 +1,4 @@ -Script: *play-tetris.ps1* +The 'play-tetris.ps1' Script ======================== This PowerShell script let's you play the Tetris game. @@ -719,4 +719,4 @@ while (-not $IAsyncResult.IsCompleted) { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index 7e9d3b1e0..cb394a188 100644 --- a/docs/play-vulture-sound.md +++ b/docs/play-vulture-sound.md @@ -1,4 +1,4 @@ -Script: *play-vulture-sound.ps1* +The 'play-vulture-sound.ps1' Script ======================== This PowerShell script plays a vulture sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index fc31b5eeb..26b7c3bd2 100644 --- a/docs/play-wolf-sound.md +++ b/docs/play-wolf-sound.md @@ -1,4 +1,4 @@ -Script: *play-wolf-sound.ps1* +The 'play-wolf-sound.ps1' Script ======================== This PowerShell script plays a wolf sound. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/poweroff.md b/docs/poweroff.md index 39ea6877c..db6fefa7e 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -1,4 +1,4 @@ -Script: *poweroff.ps1* +The 'poweroff.ps1' Script ======================== This script halts the local computer immediately (needs admin rights). @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/print-image.md b/docs/print-image.md index fdba96d2c..addb13be7 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -1,4 +1,4 @@ -Script: *print-image.ps1* +The 'print-image.ps1' Script ======================== This PowerShell script shows the printer dialogue to print the given image file. @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index 29a595fdb..f0ae5cacc 100644 --- a/docs/publish-to-ipfs.md +++ b/docs/publish-to-ipfs.md @@ -1,4 +1,4 @@ -Script: *publish-to-ipfs.ps1* +The 'publish-to-ipfs.ps1' Script ======================== This script publishes the given files and folders to IPFS. @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index 8bfa323d1..c86cd50b6 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -1,4 +1,4 @@ -Script: *pull-repo.ps1* +The 'pull-repo.ps1' Script ======================== This PowerShell script pulls remote updates into a local Git repository (including submodules). @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index 8a18904ed..c407f4486 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -1,4 +1,4 @@ -Script: *pull-repos.ps1* +The 'pull-repos.ps1' Script ======================== This PowerShell script pulls updates into all Git repositories in a folder (including submodules). @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index 9d768cd8d..7f499fa61 100644 --- a/docs/query-smart-data.md +++ b/docs/query-smart-data.md @@ -1,4 +1,4 @@ -Script: *query-smart-data.ps1* +The 'query-smart-data.ps1' Script ======================== Queries the S.M.A.R.T. data of your HDD/SSD's and saves it to the current/given directory. @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index 5e09ea4fd..1eaceb042 100644 --- a/docs/reboot-fritzbox.md +++ b/docs/reboot-fritzbox.md @@ -1,4 +1,4 @@ -Script: *reboot-fritzbox.ps1* +The 'reboot-fritzbox.ps1' Script ======================== This PowerShell script reboots the FRITZ!Box device @@ -154,4 +154,4 @@ echo $Result exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/reboot-into-bios.md b/docs/reboot-into-bios.md index 1d4758a71..5c96443f9 100644 --- a/docs/reboot-into-bios.md +++ b/docs/reboot-into-bios.md @@ -1,4 +1,4 @@ -Script: *reboot-into-bios.ps1* +The 'reboot-into-bios.ps1' Script ======================== This PowerShell script reboots the local computer immediately into BIOS (needs admin rights). @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/reboot.md b/docs/reboot.md index 1afe12009..29e3c4dda 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -1,4 +1,4 @@ -Script: *reboot.ps1* +The 'reboot.ps1' Script ======================== This PowerShell script reboots the local computer immediately (needs admin rights). @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/remember.md b/docs/remember.md index 1cb8b5102..78c6740d9 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -1,4 +1,4 @@ -Script: *remember.ps1* +The 'remember.ps1' Script ======================== This PowerShell script saves the given text to 'Remember.csv' in your home folder. @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/remind-me.md b/docs/remind-me.md index d056da0b9..2f947500d 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -1,4 +1,4 @@ -Script: *remind-me.ps1* +The 'remind-me.ps1' Script ======================== This PowerShell script creates a scheduled task that will display a popup message. @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/remove-dir.md b/docs/remove-dir.md index c3a11ae46..af4331e63 100644 --- a/docs/remove-dir.md +++ b/docs/remove-dir.md @@ -1,4 +1,4 @@ -Script: *remove-dir.ps1* +The 'remove-dir.ps1' Script ======================== This PowerShell script removes the given directory tree recursively. @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index ff18c9c97..377118499 100644 --- a/docs/remove-empty-dirs.md +++ b/docs/remove-empty-dirs.md @@ -1,4 +1,4 @@ -Script: *remove-empty-dirs.ps1* +The 'remove-empty-dirs.ps1' Script ======================== This PowerShell script removes all empty subfolders within a directory tree. @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index eb2ff2867..33cf9ae63 100644 --- a/docs/remove-old-dirs.md +++ b/docs/remove-old-dirs.md @@ -1,4 +1,4 @@ -Script: *remove-old-dirs.ps1* +The 'remove-old-dirs.ps1' Script ======================== This PowerShell script removes any subfolder in a parent folder older than (using last write time). @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 1ff0df3ea..cc12ad36b 100644 --- a/docs/remove-print-jobs.md +++ b/docs/remove-print-jobs.md @@ -1,4 +1,4 @@ -Script: *remove-print-jobs.ps1* +The 'remove-print-jobs.ps1' Script ======================== This PowerShell script removes all print jobs from all printer devices. @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index 31dec84b4..de119a4bf 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -1,4 +1,4 @@ -Script: *remove-tag.ps1* +The 'remove-tag.ps1' Script ======================== This PowerShell script removes a Git tag, either locally, remote, or both. @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/remove-user.md b/docs/remove-user.md index d9192d4bf..c9ca3b6a6 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -1,4 +1,4 @@ -Script: *remove-user.ps1* +The 'remove-user.ps1' Script ======================== This PowerShell script removes an existing user account including the home directory. @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index a4cb06ee0..fcc805575 100644 --- a/docs/remove-vm.md +++ b/docs/remove-vm.md @@ -1,4 +1,4 @@ -Script: *remove-vm.ps1* +The 'remove-vm.ps1' Script ======================== remove-vm.ps1 @@ -25,4 +25,4 @@ Remove-Item -Path "C:\VirtualMachines\$VMName" -Recurse exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index c239a7534..3c5c14216 100644 --- a/docs/replace-in-files.md +++ b/docs/replace-in-files.md @@ -1,4 +1,4 @@ -Script: *replace-in-files.ps1* +The 'replace-in-files.ps1' Script ======================== This PowerShell script searches and replaces a pattern in the given files by the replacement. @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index 90b0b493b..d0365f5f3 100644 --- a/docs/restart-network-adapters.md +++ b/docs/restart-network-adapters.md @@ -1,4 +1,4 @@ -Script: *restart-network-adapters.ps1* +The 'restart-network-adapters.ps1' Script ======================== This PowerShell script restarts all local network adapters (needs admin rights). @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index 7a9ba5f57..6299d1177 100644 --- a/docs/roll-a-dice.md +++ b/docs/roll-a-dice.md @@ -1,4 +1,4 @@ -Script: *roll-a-dice.ps1* +The 'roll-a-dice.ps1' Script ======================== This PowerShell script rolls a dice and returns the number by text-to-speech (TTS). @@ -51,4 +51,4 @@ $Number = "1", "2", "3", "4", "5", "6" | Get-Random exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index d6b5ad3ae..8833023e2 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -1,4 +1,4 @@ -Script: *save-credentials.ps1* +The 'save-credentials.ps1' Script ======================== This PowerShell script asks for credentials and saves them encrypted into a target file. @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 74336b9d2..6598e658a 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -1,4 +1,4 @@ -Script: *save-screenshot.ps1* +The 'save-screenshot.ps1' Script ======================== This PowerShell script takes a single screenshot and saves it into a target folder (default is the user's screenshots folder). @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index fc129e360..bd0f5c906 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -1,4 +1,4 @@ -Script: *scan-folder.ps1* +The 'scan-folder.ps1' Script ======================== This PowerShell script scans a folder for malware (including subfolders). Requires ESET Endpoint Security or Windows Defender. @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/scan-network.md b/docs/scan-network.md index 1cfdc5540..57ac4c14b 100644 --- a/docs/scan-network.md +++ b/docs/scan-network.md @@ -1,4 +1,4 @@ -Script: *scan-network.ps1* +The 'scan-network.ps1' Script ======================== scan-network.ps1 @@ -32,4 +32,4 @@ $arguments = $arguments + " " + $targets Start-Process $location -ArgumentList $arguments -Wait ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index f97ad9c4c..f903ba1d1 100644 --- a/docs/scan-ports.md +++ b/docs/scan-ports.md @@ -1,4 +1,4 @@ -Script: *scan-ports.ps1* +The 'scan-ports.ps1' Script ======================== This PowerShell script scans the network for open or closed ports. @@ -65,4 +65,4 @@ foreach($add in $range) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/search-filename.md b/docs/search-filename.md index 6fcffff54..db8315b3a 100644 --- a/docs/search-filename.md +++ b/docs/search-filename.md @@ -1,4 +1,4 @@ -Script: *search-filename.ps1* +The 'search-filename.ps1' Script ======================== This PowerShell script serves as a quick Powershell replacement to the search functionality in Windows @@ -98,4 +98,4 @@ Search-Folder -FilePath $path -SearchTerm $term exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/search-files.md b/docs/search-files.md index 98067ad25..f42e377ad 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -1,4 +1,4 @@ -Script: *search-files.ps1* +The 'search-files.ps1' Script ======================== This PowerShell script searches for the given text pattern in the given files. @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/search-repo.md b/docs/search-repo.md index 2f1944134..bfa80fdb5 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -1,4 +1,4 @@ -Script: *search-repo.ps1* +The 'search-repo.ps1' Script ======================== This PowerShell script searches for the given text pattern in a Git repository. @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/send-email.md b/docs/send-email.md index 07526144e..e0006c846 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -1,4 +1,4 @@ -Script: *send-email.ps1* +The 'send-email.ps1' Script ======================== This PowerShell script sends an email message. @@ -126,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index 8426a084e..8767349d5 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -1,4 +1,4 @@ -Script: *send-tcp.ps1* +The 'send-tcp.ps1' Script ======================== This PowerShell script sends a TCP message to the given IP address and port. @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/send-udp.md b/docs/send-udp.md index aa5db9faa..3d808968d 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -1,4 +1,4 @@ -Script: *send-udp.ps1* +The 'send-udp.ps1' Script ======================== This PowerShell script sends a UDP datagram message to an IP address and port. @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/set-timer.md b/docs/set-timer.md index 0968e03c1..b4c1cfe86 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -1,4 +1,4 @@ -Script: *set-timer.ps1* +The 'set-timer.ps1' Script ======================== This PowerShell script sets a timer for a countdown. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/set-volume.md b/docs/set-volume.md index fbd0ad635..ec2f0aa00 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -1,4 +1,4 @@ -Script: *set-volume.ps1* +The 'set-volume.ps1' Script ======================== This PowerShell script sets the audio volume to the given value in percent (0..100). @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index 49e6bc266..d98611f70 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -1,4 +1,4 @@ -Script: *set-wallpaper.ps1* +The 'set-wallpaper.ps1' Script ======================== This PowerShell script sets the given image file as desktop wallpaper (.JPG or .PNG supported) @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index fdb350751..b1f81ca6c 100644 --- a/docs/show-lightnings.md +++ b/docs/show-lightnings.md @@ -1,4 +1,4 @@ -Script: *show-lightnings.ps1* +The 'show-lightnings.ps1' Script ======================== This PowerShell script launches the Web browser and shows lightnings in OpenStreetMap. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index a52733b64..06504bb95 100644 --- a/docs/show-notification-motivation-quote.md +++ b/docs/show-notification-motivation-quote.md @@ -1,4 +1,4 @@ -Script: *show-notification-motivation-quote.ps1* +The 'show-notification-motivation-quote.ps1' Script ======================== show-notification-motivation-quote.ps1 @@ -69,4 +69,4 @@ $AppId = '{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\WindowsPowerShell\v1.0\powershe ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/show-notification.md b/docs/show-notification.md index 658655f7b..061935f14 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -1,4 +1,4 @@ -Script: *show-notification.ps1* +The 'show-notification.ps1' Script ======================== This PowerShell script shows a toast-message notification for the Windows Notification Center. @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index 0c57e8b43..6ca2bfd88 100644 --- a/docs/show-traffic.md +++ b/docs/show-traffic.md @@ -1,4 +1,4 @@ -Script: *show-traffic.ps1* +The 'show-traffic.ps1' Script ======================== This PowerShell script launches the Web browser with MSN showing the current traffic. @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index 05a99a98f..2b84581d0 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -1,4 +1,4 @@ -Script: *simulate-presence.ps1* +The 'simulate-presence.ps1' Script ======================== This PowerShell script simulates the human presence against burglars. It switches a Shelly1 device on and off. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index 3cb81a1ec..ce2c65647 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -1,4 +1,4 @@ -Script: *smart-data2csv.ps1* +The 'smart-data2csv.ps1' Script ======================== This PowerShell script converts the S.M.A.R.T. JSON files in the current/given directory @@ -142,4 +142,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 1c535739d..8ffde3798 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -1,4 +1,4 @@ -Script: *speak-arabic.ps1* +The 'speak-arabic.ps1' Script ======================== This PowerShell script speaks the given text with an Arabic text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index c6d4c0c0f..d98077c09 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -1,4 +1,4 @@ -Script: *speak-checklist.ps1* +The 'speak-checklist.ps1' Script ======================== This PowerShell script speaks the given Markdown checklist by text-to-speech (TTS). @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index 603af8986..b3a3e5bb2 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -1,4 +1,4 @@ -Script: *speak-countdown.ps1* +The 'speak-countdown.ps1' Script ======================== This PowerShell script speaks a countdown by text-to-speech (TTS) starting from a given number. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index f0c5cdf54..5233e3d17 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -1,4 +1,4 @@ -Script: *speak-croatian.ps1* +The 'speak-croatian.ps1' Script ======================== This PowerShell script speaks the given text with a Croatian text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index 25044745f..167cd62d6 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -1,4 +1,4 @@ -Script: *speak-danish.ps1* +The 'speak-danish.ps1' Script ======================== This PowerShell script speaks the given text with a Danish text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index 07cc58966..9637723a9 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -1,4 +1,4 @@ -Script: *speak-dutch.ps1* +The 'speak-dutch.ps1' Script ======================== This PowerShell script speaks the given text with a Dutch text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-english.md b/docs/speak-english.md index f5bcb5bbb..9f4d972a5 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -1,4 +1,4 @@ -Script: *speak-english.ps1* +The 'speak-english.ps1' Script ======================== This PowerShell script speaks the given text with an English text-to-speech (TTS) voice. @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index 25d56e706..e377cd601 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -1,4 +1,4 @@ -Script: *speak-epub.ps1* +The 'speak-epub.ps1' Script ======================== This PowerShell script speaks the content of the given Epub file by text-to-speech (TTS). @@ -142,4 +142,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index 3abd25d97..bc39f4c88 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -1,4 +1,4 @@ -Script: *speak-esperanto.ps1* +The 'speak-esperanto.ps1' Script ======================== This PowerShell script speaks the given text with an Esperanto text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-file.md b/docs/speak-file.md index c5c6d5e4d..dab008b94 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -1,4 +1,4 @@ -Script: *speak-file.ps1* +The 'speak-file.ps1' Script ======================== This PowerShell script speaks the content of the given text file by text-to-speech (TTS). @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index 440f2d977..fddc78fa1 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -1,4 +1,4 @@ -Script: *speak-finnish.ps1* +The 'speak-finnish.ps1' Script ======================== This PowerShell script speaks the given text with a Finnish text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-french.md b/docs/speak-french.md index 597f44073..9f7c458ba 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -1,4 +1,4 @@ -Script: *speak-french.ps1* +The 'speak-french.ps1' Script ======================== This PowerShell script speaks the given text with a French text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-german.md b/docs/speak-german.md index ac97216b8..63980b49f 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -1,4 +1,4 @@ -Script: *speak-german.ps1* +The 'speak-german.ps1' Script ======================== This PowerShell script speaks the given text with a German text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index c4e819843..0d61ee488 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -1,4 +1,4 @@ -Script: *speak-greek.ps1* +The 'speak-greek.ps1' Script ======================== This PowerShell script speaks the given text with a Greek text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index 10e9566f8..562865b15 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -1,4 +1,4 @@ -Script: *speak-hebrew.ps1* +The 'speak-hebrew.ps1' Script ======================== This PowerShell script speaks the given text with a Hebrew text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index e3d37225a..52836ffcf 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -1,4 +1,4 @@ -Script: *speak-hindi.ps1* +The 'speak-hindi.ps1' Script ======================== This PowerShell script speaks the given text with a Hindi text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index 75cb01404..988901b7d 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -1,4 +1,4 @@ -Script: *speak-italian.ps1* +The 'speak-italian.ps1' Script ======================== This PowerShell script speaks the given text with an Italian text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index 0e85d08dc..d3770acea 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -1,4 +1,4 @@ -Script: *speak-japanese.ps1* +The 'speak-japanese.ps1' Script ======================== This PowerShell script speaks the given text with a Japanese text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index 6094137bb..b49ca009f 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -1,4 +1,4 @@ -Script: *speak-korean.ps1* +The 'speak-korean.ps1' Script ======================== This PowerShell script speaks the given text with a Korean text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index 28970f3a2..65b4560d8 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -1,4 +1,4 @@ -Script: *speak-latin.ps1* +The 'speak-latin.ps1' Script ======================== This PowerShell script speaks the given text with a Latin text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index 2025e0ad6..12000271e 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -1,4 +1,4 @@ -Script: *speak-mandarin.ps1* +The 'speak-mandarin.ps1' Script ======================== This PowerShell script speaks the given text with a Mandarin text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 8db0084e6..3fd3f96b5 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -1,4 +1,4 @@ -Script: *speak-norwegian.ps1* +The 'speak-norwegian.ps1' Script ======================== This PowerShell script speaks the given text with a Norwegian text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index aa5355d32..17c31f238 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -1,4 +1,4 @@ -Script: *speak-polish.ps1* +The 'speak-polish.ps1' Script ======================== This PowerShell script speaks the given text with a Polish text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index 97dfe2466..6319b8199 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -1,4 +1,4 @@ -Script: *speak-portuguese.ps1* +The 'speak-portuguese.ps1' Script ======================== This PowerShell script speaks the given text with a Portuguese text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index a473cce87..eda70b236 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -1,4 +1,4 @@ -Script: *speak-russian.ps1* +The 'speak-russian.ps1' Script ======================== This PowerShell script speaks the text with a Russian text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index 27d4e213b..db7875246 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -1,4 +1,4 @@ -Script: *speak-spanish.ps1* +The 'speak-spanish.ps1' Script ======================== This PowerShell script speaks the given text with a Spanish text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index 38cea4611..2e17b1529 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -1,4 +1,4 @@ -Script: *speak-swedish.ps1* +The 'speak-swedish.ps1' Script ======================== This PowerShell script speaks the given text with a Swedish text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-test.md b/docs/speak-test.md index 96bde5349..0618dee3b 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -1,4 +1,4 @@ -Script: *speak-test.ps1* +The 'speak-test.ps1' Script ======================== This PowerShell script performs a text-to-speech (TTS) test. @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-text.md b/docs/speak-text.md index ea38bed3b..9c8bda9e0 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -1,4 +1,4 @@ -Script: *speak-text.ps1* +The 'speak-text.ps1' Script ======================== This PowerShell script speaks the given text by the default text-to-speech (TTS) voice. @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index 06d7f5a9d..755d99f0c 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -1,4 +1,4 @@ -Script: *speak-thai.ps1* +The 'speak-thai.ps1' Script ======================== This PowerShell script speaks the given text with a Thai text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index c89a38c01..fc779f9ed 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -1,4 +1,4 @@ -Script: *speak-turkish.ps1* +The 'speak-turkish.ps1' Script ======================== This PowerShell script speaks the given text with a Turkish text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index 7d96c406e..14819dfff 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -1,4 +1,4 @@ -Script: *speak-ukrainian.ps1* +The 'speak-ukrainian.ps1' Script ======================== This PowerShell script speaks the given text with a Ukrainian text-to-speech (TTS) voice. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/spell-word.md b/docs/spell-word.md index 2f9144dc0..83f03bfbe 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -1,4 +1,4 @@ -Script: *spell-word.ps1* +The 'spell-word.ps1' Script ======================== This PowerShell script spells the given word by text-to-speech (TTS). @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index cfdf5e643..c8dcdaa61 100644 --- a/docs/start-ipfs-server.md +++ b/docs/start-ipfs-server.md @@ -1,4 +1,4 @@ -Script: *start-ipfs-server.ps1* +The 'start-ipfs-server.ps1' Script ======================== This PowerShell script starts a local IPFS server as a daemon process. @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/suspend.md b/docs/suspend.md index 32ad6111d..aa12642e9 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -1,4 +1,4 @@ -Script: *suspend.ps1* +The 'suspend.ps1' Script ======================== This PowerShell script suspends the local computer immediately. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index ae0b58785..7efa7efe7 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -1,4 +1,4 @@ -Script: *switch-branch.ps1* +The 'switch-branch.ps1' Script ======================== This PowerShell script switches to the given branch in a Git repository and also updates the submodules. @@ -128,4 +128,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index f2bccf626..157524bb2 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -1,4 +1,4 @@ -Script: *switch-shelly1.ps1* +The 'switch-shelly1.ps1' Script ======================== This PowerShell script switches a Shelly1 device in the local network. @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index 514895bd1..8324e1f3f 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -1,4 +1,4 @@ -Script: *switch-tabs.ps1* +The 'switch-tabs.ps1' Script ======================== This PowerShell script switches automatically from tab to tab every seconds (by pressing Ctrl + PageDown). @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/sync-dir.md b/docs/sync-dir.md index b2bda92b9..323216e98 100644 --- a/docs/sync-dir.md +++ b/docs/sync-dir.md @@ -1,4 +1,4 @@ -Script: *sync-dir.ps1* +The 'sync-dir.ps1' Script ======================== This PowerShell script synchronizes (mirrors) the content of 2 directory trees by using Robocopy. @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index 2205a8c0b..887658297 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -1,4 +1,4 @@ -Script: *sync-repo.ps1* +The 'sync-repo.ps1' Script ======================== This PowerShell script synchronizes a local Git repository by pull and push (including submodules). @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index e19837b21..3560b5908 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -1,4 +1,4 @@ -Script: *tell-joke.ps1* +The 'tell-joke.ps1' Script ======================== This PowerShell script selects a random Chuck Norris joke in Data/jokes.csv and speaks it by text-to-speech (TTS). @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index 98223844e..08abb4be4 100644 --- a/docs/tell-new-year.md +++ b/docs/tell-new-year.md @@ -1,4 +1,4 @@ -Script: *tell-new-year.ps1* +The 'tell-new-year.ps1' Script ======================== This PowerShell script calculates the time until New Year and replies by text-to-speech (TTS). @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index 7b9290e0e..b6d9e8f5a 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -1,4 +1,4 @@ -Script: *tell-quote.ps1* +The 'tell-quote.ps1' Script ======================== This PowerShell script selects a random quote from Data/quotes.csv and speaks it by text-to-speech (TTS). @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index bf1436ea0..c4554bbcf 100644 --- a/docs/toggle-caps-lock.md +++ b/docs/toggle-caps-lock.md @@ -1,4 +1,4 @@ -Script: *toggle-caps-lock.ps1* +The 'toggle-caps-lock.ps1' Script ======================== This PowerShell script toggles the Caps Lock key state. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index 475e637d2..fad07e323 100644 --- a/docs/toggle-num-lock.md +++ b/docs/toggle-num-lock.md @@ -1,4 +1,4 @@ -Script: *toggle-num-lock.ps1* +The 'toggle-num-lock.ps1' Script ======================== This PowerShell script toggles the Num Lock key state. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index 563a3c3dd..d0932d02a 100644 --- a/docs/toggle-scroll-lock.md +++ b/docs/toggle-scroll-lock.md @@ -1,4 +1,4 @@ -Script: *toggle-scroll-lock.ps1* +The 'toggle-scroll-lock.ps1' Script ======================== This PowerShell script toggles the Scroll Lock key state. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/touch.md b/docs/touch.md index 759ccb7de..bbe3dc856 100644 --- a/docs/touch.md +++ b/docs/touch.md @@ -1,4 +1,4 @@ -Script: *touch.ps1* +The 'touch.ps1' Script ======================== This PowerShell script creates a new empty file. @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:53)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/translate-file.md b/docs/translate-file.md index 407276100..dd09f69e7 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -1,4 +1,4 @@ -Script: *translate-file.ps1* +The 'translate-file.ps1' Script ======================== This PowerShell script translates the given text file into another language and writes the output on the console. @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/translate-files.md b/docs/translate-files.md index 29c16ff06..e0836d340 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -1,4 +1,4 @@ -Script: *translate-files.ps1* +The 'translate-files.ps1' Script ======================== This PowerShell script translates text files into multiple languages. @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/translate-text.md b/docs/translate-text.md index d29f30522..d9fc5bf53 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -1,4 +1,4 @@ -Script: *translate-text.ps1* +The 'translate-text.ps1' Script ======================== This PowerShell script translates text into other languages. @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index 65c94d069..c36dc0b83 100644 --- a/docs/turn-volume-down.md +++ b/docs/turn-volume-down.md @@ -1,4 +1,4 @@ -Script: *turn-volume-down.ps1* +The 'turn-volume-down.ps1' Script ======================== This PowerShell script turns the audio volume down (-10% by default). @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index 1540514ec..53624542d 100644 --- a/docs/turn-volume-fully-up.md +++ b/docs/turn-volume-fully-up.md @@ -1,4 +1,4 @@ -Script: *turn-volume-fully-up.ps1* +The 'turn-volume-fully-up.ps1' Script ======================== This PowerShell script turns the audio volume fully up to 100%. @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index 91a951bbe..8a2f0b29b 100644 --- a/docs/turn-volume-off.md +++ b/docs/turn-volume-off.md @@ -1,4 +1,4 @@ -Script: *turn-volume-off.ps1* +The 'turn-volume-off.ps1' Script ======================== This PowerShell script mutes the default audio device immediately. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index c3ab7f794..55725200e 100644 --- a/docs/turn-volume-on.md +++ b/docs/turn-volume-on.md @@ -1,4 +1,4 @@ -Script: *turn-volume-on.ps1* +The 'turn-volume-on.ps1' Script ======================== This PowerShell script immediately unmutes the audio output. @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index 84b7d633a..33c384f8a 100644 --- a/docs/turn-volume-up.md +++ b/docs/turn-volume-up.md @@ -1,4 +1,4 @@ -Script: *turn-volume-up.ps1* +The 'turn-volume-up.ps1' Script ======================== This PowerShell script turns the audio volume up (+10% by default). @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index 9ae052e24..bd7981c09 100644 --- a/docs/uninstall-all-apps.md +++ b/docs/uninstall-all-apps.md @@ -1,4 +1,4 @@ -Script: *uninstall-all-apps.ps1* +The 'uninstall-all-apps.ps1' Script ======================== This PowerShell script uninstalls all applications from the local computer. Useful for de-bloating Windows to clean up a PC quickly for an industrial use case without any security risks. @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index e9d2efd8e..1005ef3df 100644 --- a/docs/uninstall-bloatware.md +++ b/docs/uninstall-bloatware.md @@ -1,4 +1,4 @@ -Script: *uninstall-bloatware.ps1* +The 'uninstall-bloatware.ps1' Script ======================== This PowerShell script uninstalls unnecessary software and applications. @@ -98,4 +98,4 @@ winget uninstall 'Prime Video for Windows' exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/uninstall-new-outlook.md b/docs/uninstall-new-outlook.md index d4b4766ed..8ba70be22 100644 --- a/docs/uninstall-new-outlook.md +++ b/docs/uninstall-new-outlook.md @@ -1,4 +1,4 @@ -Script: *uninstall-new-outlook.ps1* +The 'uninstall-new-outlook.ps1' Script ======================== This PowerShell script uninstalls the new Outlook for Windows application. @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/uninstall-outlook.md b/docs/uninstall-outlook.md index a0f08fd76..c614dc191 100644 --- a/docs/uninstall-outlook.md +++ b/docs/uninstall-outlook.md @@ -1,4 +1,4 @@ -Script: *uninstall-outlook.ps1* +The 'uninstall-outlook.ps1' Script ======================== This PowerShell script uninstalls Outlook for Windows. @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index b316edd0d..bec1602ea 100644 --- a/docs/update-powershell-profile.md +++ b/docs/update-powershell-profile.md @@ -1,4 +1,4 @@ -Script: *update-powershell-profile.ps1* +The 'update-powershell-profile.ps1' Script ======================== This PowerShell script write/overwrites the PowerShell profile of the current user. @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index 7638a6a4d..cee8c8889 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -1,4 +1,4 @@ -Script: *upgrade-ubuntu.ps1* +The 'upgrade-ubuntu.ps1' Script ======================== This PowerShell script upgrades Ubuntu Linux to the latest (LTS) release. @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/upload-file.md b/docs/upload-file.md index 934de28fa..1e36fa912 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -1,4 +1,4 @@ -Script: *upload-file.ps1* +The 'upload-file.ps1' Script ======================== This PowerShell script uploads a local file to a FTP server. @@ -149,4 +149,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index bc3a7acb9..5bb0ac3eb 100644 --- a/docs/upload-to-dropbox.md +++ b/docs/upload-to-dropbox.md @@ -1,4 +1,4 @@ -Script: *upload-to-dropbox.ps1* +The 'upload-to-dropbox.ps1' Script ======================== This PowerShell script uploads a local file to Dropbox. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/vi.md b/docs/vi.md index 971c3299c..7acaefa9c 100644 --- a/docs/vi.md +++ b/docs/vi.md @@ -1,4 +1,4 @@ -Script: *vi.ps1* +The 'vi.ps1' Script ======================== This PowerShell script opens the installed text editor with the given text file. @@ -91,4 +91,4 @@ Write-Host "" exit 1 ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index 1b565ebc7..b430c32c9 100644 --- a/docs/wake-up-host.md +++ b/docs/wake-up-host.md @@ -1,4 +1,4 @@ -Script: *wake-up-host.ps1* +The 'wake-up-host.ps1' Script ======================== This PowerShell script sends a magic UDP packet to a computer to wake him up (requires the target computer to have Wake-on-LAN activated). @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/wake-up-human.md b/docs/wake-up-human.md index a46ae6bb7..58d2af0a7 100644 --- a/docs/wake-up-human.md +++ b/docs/wake-up-human.md @@ -1,4 +1,4 @@ -Script: *wake-up-human.ps1* +The 'wake-up-human.ps1' Script ======================== This PowerShell script plays the sound of Big Ben to wake a human up. @@ -52,4 +52,4 @@ do { ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index 51be61ebe..369b42616 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -1,4 +1,4 @@ -Script: *watch-commits.ps1* +The 'watch-commits.ps1' Script ======================== This PowerShell script continuously lists the latest commits in a Git repository in real-time. @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/watch-crypto-rates.md b/docs/watch-crypto-rates.md index b7a292a6d..a93bc7a8f 100644 --- a/docs/watch-crypto-rates.md +++ b/docs/watch-crypto-rates.md @@ -1,4 +1,4 @@ -Script: *watch-crypto-rates.ps1* +The 'watch-crypto-rates.ps1' Script ======================== watch-crypto-rates.ps1 @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/watch-file.md b/docs/watch-file.md index d9d9a069b..393006198 100644 --- a/docs/watch-file.md +++ b/docs/watch-file.md @@ -1,4 +1,4 @@ -Script: *watch-file.ps1* +The 'watch-file.ps1' Script ======================== watch-file.ps1 @@ -64,4 +64,4 @@ function Watch-File { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/watch-host.md b/docs/watch-host.md index 0eab3b169..2c120e096 100644 --- a/docs/watch-host.md +++ b/docs/watch-host.md @@ -1,4 +1,4 @@ -Script: *watch-host.ps1* +The 'watch-host.ps1' Script ======================== watch-host.ps1 @@ -147,4 +147,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/watch-news.md b/docs/watch-news.md index 564e21166..405ccb1ca 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -1,4 +1,4 @@ -Script: *watch-news.ps1* +The 'watch-news.ps1' Script ======================== This PowerShell script continuously lists the latest headlines by using a RSS (Really Simple Syndication) feed. @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index c63cee5c6..393b550d6 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -1,4 +1,4 @@ -Script: *watch-ping.ps1* +The 'watch-ping.ps1' Script ======================== This PowerShell script pings the given host continously and shows the roundtrip times in a horizontal chart. @@ -137,4 +137,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/weather-report.md b/docs/weather-report.md index dc5675cfa..37b70d7e0 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -1,4 +1,4 @@ -Script: *weather-report.ps1* +The 'weather-report.ps1' Script ======================== This PowerShell script lists the local weather report. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/weather.md b/docs/weather.md index 6b4c3642c..bf6c7eb08 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -1,4 +1,4 @@ -Script: *weather.ps1* +The 'weather.ps1' Script ======================== This PowerShell script lists the current weather forecast. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/what-is.md b/docs/what-is.md index a6d8b298f..612323501 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -1,4 +1,4 @@ -Script: *what-is.ps1* +The 'what-is.ps1' Script ======================== This PowerShell script queries the meaning of the given term/abbreviation/etc. and prints it. @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/windefender.md b/docs/windefender.md index 614f35b51..ca5b2b8e3 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -1,4 +1,4 @@ -Script: *windefender.ps1* +The 'windefender.ps1' Script ======================== This script can enable / disable and show Windows defender real time monitoring! @@ -82,4 +82,4 @@ break } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-animated.md b/docs/write-animated.md index 25fec733d..93fd8a322 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -1,4 +1,4 @@ -Script: *write-animated.ps1* +The 'write-animated.ps1' Script ======================== This PowerShell script writes text centered and animated to the console. @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index c9151dd44..45601dd18 100644 --- a/docs/write-ascii-image.md +++ b/docs/write-ascii-image.md @@ -1,4 +1,4 @@ -Script: *write-ascii-image.ps1* +The 'write-ascii-image.ps1' Script ======================== write-ascii-image.ps1 @@ -61,4 +61,4 @@ WriteLine " '`--._,dd###pp='''" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-big.md b/docs/write-big.md index 99eb0151d..4c002bac9 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -1,4 +1,4 @@ -Script: *write-big.ps1* +The 'write-big.ps1' Script ======================== This PowerShell script writes the given text in big letters. @@ -472,4 +472,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-blue.md b/docs/write-blue.md index 5cdeb1524..6849877bb 100644 --- a/docs/write-blue.md +++ b/docs/write-blue.md @@ -1,4 +1,4 @@ -Script: *write-blue.ps1* +The 'write-blue.ps1' Script ======================== This PowerShell script writes text in a blue foreground color. @@ -65,4 +65,4 @@ write-host -foregroundColor blue "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-braille.md b/docs/write-braille.md index 01ede4d98..67def9aa8 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -1,4 +1,4 @@ -Script: *write-braille.ps1* +The 'write-braille.ps1' Script ======================== This PowerShell script writes text in Braille. @@ -409,4 +409,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-centered.md b/docs/write-centered.md index 27024fbf5..48e7584a5 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -1,4 +1,4 @@ -Script: *write-centered.ps1* +The 'write-centered.ps1' Script ======================== This PowerShell script writes the given text centered to the console. @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index 7910d9236..856c3cd95 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -1,4 +1,4 @@ -Script: *write-changelog.ps1* +The 'write-changelog.ps1' Script ======================== This PowerShell script writes an automated changelog in Markdown format to the console by using the Git commits only. @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-chart.md b/docs/write-chart.md index 4c531a691..93bc870d7 100644 --- a/docs/write-chart.md +++ b/docs/write-chart.md @@ -1,4 +1,4 @@ -Script: *write-chart.ps1* +The 'write-chart.ps1' Script ======================== write-chart.ps1 @@ -68,4 +68,4 @@ WriteChartLine "Tom" 30.9 100.0 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-clock.md b/docs/write-clock.md index 82764ccb3..791ce8061 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -1,4 +1,4 @@ -Script: *write-clock.ps1* +The 'write-clock.ps1' Script ======================== This PowerShell script writes the current time as ASCII clock. @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-code.md b/docs/write-code.md index aaa060c1b..08750a63e 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -1,4 +1,4 @@ -Script: *write-code.ps1* +The 'write-code.ps1' Script ======================== This PowerShell script generates and writes PowerShell code on the console (no AI, just for fun). @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-credits.md b/docs/write-credits.md index 4716541bb..e8fb9aeeb 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -1,4 +1,4 @@ -Script: *write-credits.ps1* +The 'write-credits.ps1' Script ======================== This PowerShell script writes the credits for the PowerShell script collection. @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-date.md b/docs/write-date.md index 1928651c7..438f8e1bf 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -1,4 +1,4 @@ -Script: *write-date.ps1* +The 'write-date.ps1' Script ======================== This PowerShell script determines and writes the current date in US format. @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index b577d0270..7035b100e 100644 --- a/docs/write-fractal.md +++ b/docs/write-fractal.md @@ -1,4 +1,4 @@ -Script: *write-fractal.ps1* +The 'write-fractal.ps1' Script ======================== write-fractal.ps1 @@ -79,4 +79,4 @@ while ($true) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-green.md b/docs/write-green.md index 09d657d55..a59f7b41e 100644 --- a/docs/write-green.md +++ b/docs/write-green.md @@ -1,4 +1,4 @@ -Script: *write-green.ps1* +The 'write-green.ps1' Script ======================== This PowerShell script writes text in a green foreground color. @@ -64,4 +64,4 @@ write-host -foregroundColor green "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index b3dfed064..08e046b5b 100644 --- a/docs/write-hands-off.md +++ b/docs/write-hands-off.md @@ -1,4 +1,4 @@ -Script: *write-hands-off.ps1* +The 'write-hands-off.ps1' Script ======================== This PowerShell script writes 'Hands Off' in BIG letters. @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-headline.md b/docs/write-headline.md index 56a8fda62..0e0962737 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -1,4 +1,4 @@ -Script: *write-headline.ps1* +The 'write-headline.ps1' Script ======================== This PowerShell script writes the given text as a headline. @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-help.md b/docs/write-help.md index cd9e4846a..50125d785 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -1,4 +1,4 @@ -Script: *write-help.ps1* +The 'write-help.ps1' Script ======================== write-help.ps1 @@ -69,4 +69,4 @@ White "████████████████████████ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index 7629cfcb9..c557643cc 100644 --- a/docs/write-in-emojis.md +++ b/docs/write-in-emojis.md @@ -1,4 +1,4 @@ -Script: *write-in-emojis.ps1* +The 'write-in-emojis.ps1' Script ======================== This PowerShell script replaces certain words in the given text by Emojis and writes it to the console. @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 41a0367ca..505068560 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -1,4 +1,4 @@ -Script: *write-joke.ps1* +The 'write-joke.ps1' Script ======================== This PowerShell script selects a random joke (from Data/jokes.csv) and writes it to the console. @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-location.md b/docs/write-location.md index 41b53ba60..b6ea76881 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -1,4 +1,4 @@ -Script: *write-location.ps1* +The 'write-location.ps1' Script ======================== This PowerShell script determines the location and writes it to the console. @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index 2b6901911..9bda37c9e 100644 --- a/docs/write-lowercase.md +++ b/docs/write-lowercase.md @@ -1,4 +1,4 @@ -Script: *write-lowercase.ps1* +The 'write-lowercase.ps1' Script ======================== This PowerShell script writes the given text in lowercase letters. @@ -66,4 +66,4 @@ Write-Output $text.ToLower() exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index 7a98f0c28..d2576d9b4 100644 --- a/docs/write-marquee.md +++ b/docs/write-marquee.md @@ -1,4 +1,4 @@ -Script: *write-marquee.ps1* +The 'write-marquee.ps1' Script ======================== This PowerShell script writes the given text as marquee. @@ -91,4 +91,4 @@ StartMarquee " exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index f8c44f4d7..58ce1ab55 100644 --- a/docs/write-matrix.md +++ b/docs/write-matrix.md @@ -1,4 +1,4 @@ -Script: *write-matrix.ps1* +The 'write-matrix.ps1' Script ======================== write-matrix.ps1 @@ -81,4 +81,4 @@ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-moon.md b/docs/write-moon.md index 066e8d026..b6b56b848 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -1,4 +1,4 @@ -Script: *write-moon.ps1* +The 'write-moon.ps1' Script ======================== This PowerShell script writes the current moon phase to the console. @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index bf3663e59..5be34ae39 100644 --- a/docs/write-morse-code.md +++ b/docs/write-morse-code.md @@ -1,4 +1,4 @@ -Script: *write-morse-code.ps1* +The 'write-morse-code.ps1' Script ======================== This PowerShell script writes the given text in Morse code. @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-motd.md b/docs/write-motd.md index 53cc10701..d936a14fc 100644 --- a/docs/write-motd.md +++ b/docs/write-motd.md @@ -1,4 +1,4 @@ -Script: *write-motd.ps1* +The 'write-motd.ps1' Script ======================== This PowerShell script writes the message of the day (MOTD). @@ -140,4 +140,4 @@ Write-Host " 'VEzjt:;;z>*`` " -ForegroundColor Yellow exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-pi.md b/docs/write-pi.md index 06c649baa..1041121b5 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -1,4 +1,4 @@ -Script: *write-pi.ps1* +The 'write-pi.ps1' Script ======================== This PowerShell script calculates and writes the digits of the mathematical constant PI. @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-progress-bar.md b/docs/write-progress-bar.md index 2f998a53e..ed0d3b146 100644 --- a/docs/write-progress-bar.md +++ b/docs/write-progress-bar.md @@ -1,4 +1,4 @@ -Script: *write-progress-bar.ps1* +The 'write-progress-bar.ps1' Script ======================== This PowerShell script writes a progress bar to the console. @@ -55,4 +55,4 @@ for ([int]$i = 0; $i -lt 150; $i++) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index 492c4a437..3f186122f 100644 --- a/docs/write-qr-code.md +++ b/docs/write-qr-code.md @@ -1,4 +1,4 @@ -Script: *write-qr-code.ps1* +The 'write-qr-code.ps1' Script ======================== This PowerShell script writes "Hello World" as QR code to the console output. @@ -65,4 +65,4 @@ Write-Host " " -foregroundColor black -backgroundCol exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 80592f251..94f3ce99d 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -1,4 +1,4 @@ -Script: *write-quote.ps1* +The 'write-quote.ps1' Script ======================== This PowerShell script selects a random quote from .../data/quotes.csv and writes it to the console. @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-red.md b/docs/write-red.md index d1544e480..db1818e10 100644 --- a/docs/write-red.md +++ b/docs/write-red.md @@ -1,4 +1,4 @@ -Script: *write-red.ps1* +The 'write-red.ps1' Script ======================== This PowerShell script writes text in a red foreground color. @@ -64,4 +64,4 @@ write-host -foregroundcolor red "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index e0009355c..bdac7257a 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -1,4 +1,4 @@ -Script: *write-rot13.ps1* +The 'write-rot13.ps1' Script ======================== This PowerShell script writes text encoded or decoded with ROT13. @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-shit.md b/docs/write-shit.md index 057e9e075..27f09bf12 100644 --- a/docs/write-shit.md +++ b/docs/write-shit.md @@ -1,4 +1,4 @@ -Script: *write-shit.ps1* +The 'write-shit.ps1' Script ======================== This PowerShell script writes shit to the console (fun). @@ -50,4 +50,4 @@ Write-Output "💩" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index d4c647d71..9e8e051d0 100644 --- a/docs/write-sine-curves.md +++ b/docs/write-sine-curves.md @@ -1,4 +1,4 @@ -Script: *write-sine-curves.ps1* +The 'write-sine-curves.ps1' Script ======================== This PowerShell script writes sine curves. @@ -56,4 +56,4 @@ Script Content } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-skull.md b/docs/write-skull.md index d03529acc..22667fd9d 100644 --- a/docs/write-skull.md +++ b/docs/write-skull.md @@ -1,4 +1,4 @@ -Script: *write-skull.ps1* +The 'write-skull.ps1' Script ======================== write-skull.ps1 @@ -70,4 +70,4 @@ WriteLine "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-story.md b/docs/write-story.md index 3b1b1e386..37fe98ff7 100644 --- a/docs/write-story.md +++ b/docs/write-story.md @@ -1,4 +1,4 @@ -Script: *write-story.ps1* +The 'write-story.ps1' Script ======================== This PowerShell script writes a story to the console output. @@ -75,4 +75,4 @@ foreach($line in $story) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-time.md b/docs/write-time.md index 82b19945e..413f5f926 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -1,4 +1,4 @@ -Script: *write-time.ps1* +The 'write-time.ps1' Script ======================== This PowerShell script queries the current time and writes it in US format to the console. @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index 4236169f2..bf954d2ff 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -1,4 +1,4 @@ -Script: *write-typewriter.ps1* +The 'write-typewriter.ps1' Script ======================== This PowerShell script writes the given text with the typewriter effect. @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index 409439be7..6784139cb 100644 --- a/docs/write-uppercase.md +++ b/docs/write-uppercase.md @@ -1,4 +1,4 @@ -Script: *write-uppercase.ps1* +The 'write-uppercase.ps1' Script ======================== This PowerShell script writes the given text in uppercase letters. @@ -66,4 +66,4 @@ Write-Output $text.ToUpper() exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-value.md b/docs/write-value.md index 74dd98814..467d37206 100644 --- a/docs/write-value.md +++ b/docs/write-value.md @@ -1,4 +1,4 @@ -Script: *write-value.ps1* +The 'write-value.ps1' Script ======================== This PowerShell script writes the given value with the unit and the value range to the console. @@ -170,4 +170,4 @@ Write-Host "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index 690bf3f73..186490771 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -1,4 +1,4 @@ -Script: *write-vertical.ps1* +The 'write-vertical.ps1' Script ======================== This PowerShell script writes text in vertical direction. @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md index ea0a1877b..10e4b7905 100644 --- a/docs/write-xmas-tree.md +++ b/docs/write-xmas-tree.md @@ -1,4 +1,4 @@ -Script: *write-xmas-tree.ps1* +The 'write-xmas-tree.ps1' Script ======================== This PowerShell script writes a christmas tree to the terminal. @@ -132,4 +132,4 @@ do { ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:00:54)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* diff --git a/scripts/convert-ps2md.ps1 b/scripts/convert-ps2md.ps1 index 0e579c72a..b32969840 100755 --- a/scripts/convert-ps2md.ps1 +++ b/scripts/convert-ps2md.ps1 @@ -56,7 +56,7 @@ try { $ScriptName = (Get-Item "$filename").Name $full = Get-Help $filename -Full - "Script: *$($ScriptName)*" + "The '$ScriptName' Script" "========================" $Description = ($full.description | Out-String).Trim() From 0a378a2f126d93a1caf936ae87c652c104e41dd6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 20 Nov 2025 17:11:53 +0100 Subject: [PATCH 524/737] Updated the manuals --- docs/add-firewall-rules.md | 2 +- docs/alert.md | 2 +- docs/build-repo.md | 2 +- docs/build-repos.md | 2 +- docs/calculate-BMI.md | 2 +- docs/cd-autostart.md | 2 +- docs/cd-crashdumps.md | 2 +- docs/cd-desktop.md | 2 +- docs/cd-docs.md | 2 +- docs/cd-downloads.md | 2 +- docs/cd-dropbox.md | 2 +- docs/cd-etc.md | 2 +- docs/cd-fonts.md | 2 +- docs/cd-home.md | 2 +- docs/cd-jenkins.md | 2 +- docs/cd-logs.md | 2 +- docs/cd-music.md | 2 +- docs/cd-nextcloud.md | 2 +- docs/cd-onedrive.md | 2 +- docs/cd-pics.md | 2 +- docs/cd-public.md | 2 +- docs/cd-recent.md | 2 +- docs/cd-recycle-bin.md | 2 +- docs/cd-repo.md | 2 +- docs/cd-repos.md | 2 +- docs/cd-root.md | 2 +- docs/cd-screenshots.md | 2 +- docs/cd-scripts.md | 2 +- docs/cd-ssh.md | 2 +- docs/cd-sync.md | 2 +- docs/cd-temp.md | 2 +- docs/cd-templates.md | 2 +- 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 | 2 +- docs/cd-videos.md | 2 +- docs/cd-windows.md | 2 +- 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 | 2 +- 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 | 2 +- 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 | 2 +- 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-broken-file.md | 2 +- docs/copy-photos-sorted.md | 2 +- docs/copy-videos-sorted.md | 2 +- 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/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 | 2 +- docs/install-crystal-disk-mark.md | 2 +- docs/install-discord.md | 2 +- docs/install-edge.md | 2 +- docs/install-edit.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 | 2 +- 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-spotify.md | 2 +- docs/install-ssh-client.md | 2 +- docs/install-ssh-server.md | 2 +- docs/install-syncthing.md | 2 +- docs/install-thunderbird.md | 2 +- docs/install-unbound-server.md | 2 +- docs/install-updates.md | 2 +- 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 | 2 +- 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 | 2 +- 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 | 2 +- docs/list-earthquakes.md | 2 +- docs/list-emojis.md | 2 +- docs/list-empty-dirs.md | 2 +- 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-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 | 2 +- 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 | 2 +- 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 | 13 ++++++------- 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-image.md | 2 +- docs/new-junction.md | 2 +- docs/new-linux-vm.md | 2 +- docs/new-markdown-file.md | 2 +- docs/new-passwords.md | 2 +- docs/new-pins.md | 2 +- docs/new-power-plan.md | 2 +- docs/new-powershell-script.md | 2 +- docs/new-qrcode.md | 2 +- docs/new-reboot-task.md | 2 +- docs/new-shortcut.md | 2 +- docs/new-ssh-key.md | 2 +- docs/new-story.md | 2 +- docs/new-symlink.md | 2 +- docs/new-tab.md | 2 +- docs/new-tag.md | 2 +- docs/new-text-file.md | 2 +- 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-windy.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-ascii-video.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-tetris.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 | 2 +- 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.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 | 2 +- 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 | 2 +- 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/vi.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 | 2 +- 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 | 2 +- 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-skull.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/list-unused-files.ps1 | 11 +++++------ 664 files changed, 673 insertions(+), 675 deletions(-) diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index 95364a4d3..6008dc20e 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -117,4 +117,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/alert.md b/docs/alert.md index f4c63bd3a..5f9355371 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/build-repo.md b/docs/build-repo.md index e6b9754d6..3a798e8bd 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -225,4 +225,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/build-repos.md b/docs/build-repos.md index a06150a4c..9f5480677 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/calculate-BMI.md b/docs/calculate-BMI.md index 630fab49c..c019787c9 100644 --- a/docs/calculate-BMI.md +++ b/docs/calculate-BMI.md @@ -61,4 +61,4 @@ $result = $weight / ($height * $height) exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index cb0c69b4c..7f93a4675 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index 67ac28194..44e7f8a15 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index 4d6f417c2..6f25e027f 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index 36159eef6..03f91022d 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index 6131a8eee..f2e74dd1e 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index 079ada1ae..4ce3905c4 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index ca7640cbe..afdcff5b0 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index a60be60c4..eb91da0aa 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-home.md b/docs/cd-home.md index bf8e2ef94..2bcf9cc8a 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index 0fe0d9397..86935254e 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index bcf4664f4..787c139fb 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-music.md b/docs/cd-music.md index 0059a2b6c..4828fb357 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index 55bb4387c..3f8ed21e1 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index 483e2c16b..ba2606596 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index c014eff66..9f3894a82 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-public.md b/docs/cd-public.md index 972bc2fe4..4f3d2c213 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index d23ae7f89..f8ec85c17 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index d016364f5..1d0530e1c 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index 73867fc48..9d2ff0613 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index 9336113b0..46c71ddd6 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/cd-root.md b/docs/cd-root.md index 2ef17cd5e..3be6262a4 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index 6ee371726..2f792f80e 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index 07ffdf618..29bd5e163 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index 219fec37a..3dc67f347 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/cd-sync.md b/docs/cd-sync.md index 384f4ef04..be4055e7a 100644 --- a/docs/cd-sync.md +++ b/docs/cd-sync.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index 7ddfe0066..03dab66ba 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index 74ea10d2d..c41e61f5c 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index 59dfd8933..b0850951e 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/cd-up.md b/docs/cd-up.md index 75ad1c3a8..e396eb607 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index dc5803c9d..c11b43210 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index c810f58ea..f27cac6d4 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index 762fe6370..bc0c273b5 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/cd-users.md b/docs/cd-users.md index ba2af5309..b71933344 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index 6a8589f72..87a99448a 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index 0b951a903..0543158ea 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index 1e5188df8..b644af415 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-admin.md b/docs/check-admin.md index bae4f18d9..188bb2aa3 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-apps.md b/docs/check-apps.md index 48aa471dd..d98ae66ee 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-bios.md b/docs/check-bios.md index 20b97e5dc..dd00435a6 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index c52d60584..8bc052792 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index 338f89c0a..30f65f571 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-day.md b/docs/check-day.md index 9ade6aeb8..0f95dfb97 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-dns.md b/docs/check-dns.md index 4e3a27b61..26cbe5c2c 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:58)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index eb64a5cc3..8e84cd26d 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-drives.md b/docs/check-drives.md index 4f7052cb5..1fef713a3 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index d4c3d6d59..722ae5200 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index 62d0c5ed9..29da571b7 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index 896aea343..5031dc7f7 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-file.md b/docs/check-file.md index 82414ab68..c8fd1a5b6 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index c2ad7b69b..e5ea7eba0 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index 786f0e2be..020c5b3a4 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index 4ca496b78..1c1820656 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-health.md b/docs/check-health.md index 39890e20c..9bc1a9c22 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index c1f3a4f95..97f77a948 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index e318a1dcb..d1e2c1331 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index 7dec40e8b..e7a6c947c 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index 98da18023..d8060feab 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index edbc453e1..d3184d877 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index 73689da67..444171498 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-month.md b/docs/check-month.md index 80b5f69f4..ad2e8aaef 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index 6b28cd5eb..d842f418f 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index 1866f023a..0d613d8ea 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-network.md b/docs/check-network.md index 15c9ab7df..d6affab4e 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-noon.md b/docs/check-noon.md index 760e80548..337b6c2a0 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-os.md b/docs/check-os.md index 765545da5..a5f8bb45d 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index 034c40557..02676e977 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-password.md b/docs/check-password.md index af68fa5ef..1bbbe974c 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index 737b08534..c2f81ab33 100644 --- a/docs/check-pending-reboot.md +++ b/docs/check-pending-reboot.md @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index ad1a40388..1b07f1286 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-power.md b/docs/check-power.md index 49a789c52..53988c60f 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index cbe93700e..ab075a83f 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 84be37d42..78dd21c8b 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-ram.md b/docs/check-ram.md index 343ad51cb..2da281ab9 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-repo.md b/docs/check-repo.md index 7d879898d..504b140e8 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-repos.md b/docs/check-repos.md index cad4ad971..b61ed880b 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-santa.md b/docs/check-santa.md index a1ed485c6..101d90d6a 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index 2b48674d4..fb7ea2d42 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-software.md b/docs/check-software.md index c99fb62bc..42d352aa6 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index fe65d140e..a095308d5 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index 2192fcc32..458067977 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -108,4 +108,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index 6a7b63208..3e5ed38bf 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index f17ea56ad..524a0b15e 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index d0180a8e5..3efe85137 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index 390dd81ce..e9695bc4a 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-weather.md b/docs/check-weather.md index de2481652..ecfac8fd9 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-week.md b/docs/check-week.md index 9a607f2ef..19feab37d 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-wind.md b/docs/check-wind.md index 6b28d3282..e29c54f07 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index e833df396..4dac5f1ba 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index bb25e4613..616d393e5 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index cbf731d17..f7e202088 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index da87549e2..7975d5715 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index f0b884b08..8c4f66b80 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index a5f67a7d8..1c295ecc8 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index 40cdd4110..685882d6d 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index 560600574..a09cee250 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index ab009c8fb..fd20550f2 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index 4ae60fe93..21ce97541 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index 6e69ca242..32a34a861 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index 7409877a5..f21e11ee6 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-edge.md b/docs/close-edge.md index 50510134a..ca22b2b82 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index 1b30cf2c3..3f684a0b0 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index 91e1b9621..d320fc41b 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index 81e786ca7..c679b4709 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index 27712c44b..bad60b0b1 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 06bdecb91..1abdd9553 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index ea6c9e47d..ecf1a707e 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index 325a24202..66c41c5fa 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index 24b053a51..b66463e9f 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index c8565a7bc..077d3560d 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index a7a898bd8..98b4c18a1 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index 719781a7e..473df9aae 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index 9b2e82919..4b0b3de1b 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-program.md b/docs/close-program.md index 69b7565d2..dea4ad940 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index 57f5ffa1e..c3c8fa833 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index e3b9545c9..1fb7e88dd 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index eeb2600b4..f98e74ce7 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 8bb7fcff3..153a5d128 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index 18b8ad93d..4b4c1ec09 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index 303389d0d..887f7853c 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index cad85b93e..749ad781e 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index 1e55c2408..c0e19c145 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index 8eaad90bb..3c11cc8d1 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/configure-git.md b/docs/configure-git.md index fd7f9fc90..1ddf83fda 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index e8f850fbe..36e70a9b6 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index 46a037d8c..a2862efb9 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/convert-dir27z.md b/docs/convert-dir27z.md index 324817e9d..6a6f43748 100644 --- a/docs/convert-dir27z.md +++ b/docs/convert-dir27z.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index 4abda59c9..fa2cf8c5b 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index d3664ecf5..8de35a8cb 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index fb075c1ed..042328efa 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/convert-history2ps1.md b/docs/convert-history2ps1.md index 593840ff6..4c59d546a 100644 --- a/docs/convert-history2ps1.md +++ b/docs/convert-history2ps1.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index 02f41a540..beb2cdd50 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index a4e86dd98..94911da33 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index b9ba4851a..e6a6b679c 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/convert-images2webp.md b/docs/convert-images2webp.md index c08074fcf..cc117b4f2 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 11/20/2025 17:06:59)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index 124052133..307c85720 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index 81ccecc39..7f00f146e 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index 2abf2c502..8a2e8aa8e 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index c06a8ba5b..791141764 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index a4059a12e..3f33c4d9b 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index 284c37920..7b9c647c3 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -186,4 +186,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index e53648cdd..6d0da92b4 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index 385687bc1..9fc038b37 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/copy-broken-file.md b/docs/copy-broken-file.md index 69c73d61c..001922dc8 100644 --- a/docs/copy-broken-file.md +++ b/docs/copy-broken-file.md @@ -683,4 +683,4 @@ if ($UnreadableBlocks) { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index efb55c8c5..686453dd2 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -153,4 +153,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/copy-videos-sorted.md b/docs/copy-videos-sorted.md index 5c4ae15c5..9cc9810dc 100644 --- a/docs/copy-videos-sorted.md +++ b/docs/copy-videos-sorted.md @@ -136,4 +136,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/count-characters.md b/docs/count-characters.md index c1589fc58..1e445c6fe 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/count-lines.md b/docs/count-lines.md index f8370314d..6430fb553 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index 0c4ca622f..3c5bd553a 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -199,4 +199,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index b5b6cf11d..783f2aab7 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index 9d24621fd..5dbff062a 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/download-dir.md b/docs/download-dir.md index 45e3741b0..d610bd8d4 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/download-file.md b/docs/download-file.md index b20bdc9cb..72c5c6be6 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 0cf8cd5d5..796527287 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -346,4 +346,4 @@ Else exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index 1d23fbd60..76ff66b8d 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index c53c4389a..12114b402 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index 0b29787a5..e21f78466 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -184,4 +184,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index 82697deba..cd3eb50ff 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/enter-host.md b/docs/enter-host.md index 702930efc..bc0537b05 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index 164254d05..e4aa53db6 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index ab0075694..97b5b92d7 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 5f01afbaa..ea594da2f 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index 682cf9682..fd9cd1bfb 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -64,4 +64,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 23dbc229f..b28675781 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index 652b6ef65..cec076de5 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index 69ce7ab52..c191e69f8 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/get-sha512.md b/docs/get-sha512.md index 6dfa79c92..df3b3c66d 100644 --- a/docs/get-sha512.md +++ b/docs/get-sha512.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/hello-world.md b/docs/hello-world.md index e10766b0c..c52071d16 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 6bcf11f1b..695e27eb1 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/import-vm.md b/docs/import-vm.md index 30937c73a..0caf0fa0e 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index eb0e31fc5..ca7b2659a 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index be5c7d827..d01931c60 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index 25406f316..114f4cc91 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 044f9057e..897e35a72 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index 0c9181a1e..1b60422c9 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index e1420feb9..b1b6f5858 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index 9649d5dfb..a04ce030a 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index 84aac956b..b9bacd1e1 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index edff2efa6..36fde12c5 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-discord.md b/docs/install-discord.md index dafac6214..128b82457 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-edge.md b/docs/install-edge.md index 2c66587fd..4d6eae61d 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-edit.md b/docs/install-edit.md index ae0ea29ed..c9fc5ce7a 100644 --- a/docs/install-edit.md +++ b/docs/install-edit.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index b26167504..7bc57ee29 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index 2dc8af526..df8bdc93b 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-fonts.md b/docs/install-fonts.md index 4416149fd..10baae887 100644 --- a/docs/install-fonts.md +++ b/docs/install-fonts.md @@ -53,4 +53,4 @@ foreach ($font in $fontFiles) { Write-Output "Fonts have been installed successfully." ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index 2666ae0c9..0a932e454 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index f215f6bf3..0239154e0 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index 3f3ac8759..c2c1cb278 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index 6c31753ec..65410da7d 100644 --- a/docs/install-gitlab.md +++ b/docs/install-gitlab.md @@ -32,4 +32,4 @@ Script Content ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-h2static.md b/docs/install-h2static.md index ea2181cf5..6375bc606 100644 --- a/docs/install-h2static.md +++ b/docs/install-h2static.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index 02d39868a..66d8ecb00 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-jenkins-agent.md b/docs/install-jenkins-agent.md index 5ddccd2f5..13b159578 100644 --- a/docs/install-jenkins-agent.md +++ b/docs/install-jenkins-agent.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index bee03039d..6850ba8bd 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index e72d0d54a..12ee04667 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-mini-dlna.md b/docs/install-mini-dlna.md index 5100c1db3..114e88e9c 100644 --- a/docs/install-mini-dlna.md +++ b/docs/install-mini-dlna.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index 402bbf919..40ca2948f 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index 3ee6b2b93..f1de7cf9a 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index 72592b222..5176077bd 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -33,4 +33,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index 841785221..fcb961c39 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index d58da5caf..a1cf12238 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index 03ac509ea..803f3828c 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index 305185403..eb07040a5 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index d713cbf2d..c00126ad9 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index 6e1acc683..851c95902 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -664,4 +664,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index afec9f02c..b154bcf3d 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index bd8520c10..4580a439e 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-scoop.md b/docs/install-scoop.md index 2b8ddcd28..2dbcdae5e 100644 --- a/docs/install-scoop.md +++ b/docs/install-scoop.md @@ -21,4 +21,4 @@ Script Content Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index ea50f7cdb..3ab8ed6c3 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index 51f4d33f7..cbaeb6333 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index 1067d6f0e..46283386d 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index 6c17885fe..1550e69f6 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-syncthing.md b/docs/install-syncthing.md index eeef0ba00..45a65a0e6 100644 --- a/docs/install-syncthing.md +++ b/docs/install-syncthing.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index 71450f640..a8aff437d 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index bd880b785..22cc029f9 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-updates.md b/docs/install-updates.md index 356450302..74994079d 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -116,4 +116,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index 4b0fe7364..061b777de 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index 10fa7ca66..a839fc3da 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index f0d725f5e..a2436c797 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index 650ab4e7c..c9058d506 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index beaa76709..2ab48bb70 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index 53cb2758d..a6597b202 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index b131c7800..42b6e6937 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/kill-process.md b/docs/kill-process.md index 77b56b502..760af489d 100644 --- a/docs/kill-process.md +++ b/docs/kill-process.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index 12cbefbfb..7fb8d5e55 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index e369ea827..bba0ebef4 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/list-apps.md b/docs/list-apps.md index 76ab9c467..59d111c27 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index 4c0d98692..9b87ab575 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index 0c5c29bbe..712c210dc 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index 79202ffaf..6b408773f 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-bios.md b/docs/list-bios.md index 817b809c7..9ab05f944 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 1711df8ce..14b800902 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-branches.md b/docs/list-branches.md index e56c762b3..0a74a2c4b 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -109,4 +109,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index 1f6976d0a..bc8d49de8 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -247,4 +247,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index ec666d8b6..285c294d3 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index 73761f810..0e5d90c7e 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 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index aaedd1c36..cc380276d 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -371,4 +371,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index a82ffb0f5..533d6b9a1 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index 254fdbf27..941aa1e9b 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index 9a0b33bfa..94bf61dc6 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:00)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index 37cb9afe0..8283faeb8 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-commits.md b/docs/list-commits.md index e159b03c6..1c64ab31b 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 206de6fc2..ba46bd5ae 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-countries.md b/docs/list-countries.md index 18f09c385..1a1de6de6 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -52,4 +52,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index 661cbff14..a041d2817 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index 33d65981a..65f6cc530 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index f852d752c..ae0dcca5b 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index c6a0befdb..05511a77b 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index eda54e3ae..ffc3ae0dc 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-drives.md b/docs/list-drives.md index b26cda309..f10f4914a 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index 13dfe2163..7bbba3085 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index 4542596af..353cb86ee 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 948cdbb9b..9edbac43c 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index 2bd8a7a72..7e7e095fd 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index 6b4e40bd3..919f6fc82 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index b092d6761..cda479bb6 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index ff5333907..d560ad290 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index f285f4e31..e5c54405d 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-executables.md b/docs/list-executables.md index ded9a28af..c9d32b58b 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index 0e9caff14..2c191801c 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-files.md b/docs/list-files.md index 38dc87b55..ea1efd3a9 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-folder.md b/docs/list-folder.md index a364dd1a1..7fb317aa8 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index 4f577ab80..1aa5423b2 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index 7ca3ea320..d7e5e942b 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index 7e024edcc..54b012b42 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index e2cbf5d42..f5cc2bbf1 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-installed-hotfixes.md b/docs/list-installed-hotfixes.md index fd56a2e8f..12da93704 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index a5dca2ec4..5b9bba6d7 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index 9546b79be..17955fbe2 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index 65f190ddc..38ff1345e 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index ee593512f..d49af3632 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index cf9956c9e..bd8d64993 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index d6ae16196..3ac890d00 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index e518f32c9..d8293aead 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index c1b9dc2cf..1421ab6e7 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index 9c54c24a9..82a1ffd36 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-memos.md b/docs/list-memos.md index 94eefcd13..5e6b33d00 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index ff962f943..103a26b7f 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index 9d5cf7829..564da10c6 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index dccb3da20..07459d7e6 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index 212dd830b..bc55c27d2 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index 61f5c11b7..71c92d93f 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-news.md b/docs/list-news.md index ed4bdcb64..9621d8dd9 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-nic.md b/docs/list-nic.md index ceb8b36e4..4c9691cf4 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index 26edf368a..dfda89ab1 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index 721f0a821..2485c46e2 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index 59081f6f3..825f5c0c3 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index e850df92b..dd4b1803b 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-os.md b/docs/list-os.md index 533afdb44..0b5172e3d 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index 27a28a18f..459f00463 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index 99be8589b..b40356008 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index 5260eb9ba..8f128cbdc 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index 9ad548455..070eda907 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index fa23f837b..1e9af7af3 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index 0f25d6575..f78168013 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index ed900492a..f55a4e933 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 6b5518a61..4ddef7072 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-processes.md b/docs/list-processes.md index b5aa87aaa..46a3c8976 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index f157956f3..2213c2d01 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-ram.md b/docs/list-ram.md index 60784172a..a1b81537b 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index 8f4655421..07be7c316 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index da7c0a5cf..9f7fc29a3 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-repos.md b/docs/list-repos.md index abc8236f1..760cd6998 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index 65741a904..2b2bfa283 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index 4e8a20d44..090f728b9 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-services.md b/docs/list-services.md index 7c909247d..a2cc00b84 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index e29e08123..59c9dab63 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index 535630225..2ced8301c 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index 9aafae016..14dcb0d1c 100644 --- a/docs/list-ssh-key.md +++ b/docs/list-ssh-key.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index e1fbfcd14..606d8b854 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index 4ceb12f34..9a7cdbeb3 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index ec6d177ae..03707811b 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index 571d2c4f4..c688a6de8 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index d7994131b..a4ce23353 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-tags.md b/docs/list-tags.md index 77067bf33..32fc71dc1 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index a3f5b79b4..a4fee262d 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index adbd605f8..d95b8e58e 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 5e43cafee..1fa85133c 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index c299ba6ef..5975f3b79 100644 --- a/docs/list-tiobe-index.md +++ b/docs/list-tiobe-index.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index 1f42b8127..0e474c776 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -81,15 +81,14 @@ try { Write-Progress "Scanning $path for unused files..." $cutOffDate = (Get-Date).AddDays(-$Days) - [int]$count = 0 + [int]$count = 0 Get-ChildItem -path $path -recurse | Where-Object {$_.LastAccessTime -le $cutOffDate} | Foreach-Object { "$($_.FullName)" - $count++ - } - + $count++ + } Write-Progress -completed " " - [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ $count unused files at 📂$path (no access for $days days, took $($elapsed)s)." + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ $count unused files at 📂$path (no access for $days days, took $($elapsed)s)." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" @@ -97,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-updates.md b/docs/list-updates.md index dca45647a..29f3cb886 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index 3c603a9fc..03a2c9cbe 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 4e8ff9747..de3fa136d 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index 88096b768..a2c57b186 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-voices.md b/docs/list-voices.md index d2c03a9b9..61f923a60 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-weather.md b/docs/list-weather.md index 10f10a8d0..a746e9d60 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -179,4 +179,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index ab84365da..8bab8eadb 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index 9d0f87a50..aa65585fa 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index 7de40d947..2de464bd0 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index 33ce39f02..e815e0303 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 11/20/2025 17:07:01)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/locate-city.md b/docs/locate-city.md index 8b2f98fb3..cb162077b 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index def458be8..23b0237ae 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -46,4 +46,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index cdd0f0aaa..addf6a357 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index d2d24fa39..d1678bec1 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index 9db027701..147ff0e92 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/log-off.md b/docs/log-off.md index a2e862c6a..741306ff8 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/make-install.md b/docs/make-install.md index 97b17fc2c..4399583d7 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index f9ed86621..245e07a13 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index 6ceb387c1..7e998e511 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index 3cf4d18c9..484806337 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index 7bc9ffa5c..802d72839 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index 5ed296636..aad6aef6f 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index 39a212b8a..3717ca8f6 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index e79ca72e0..a29239bec 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index a8992ae0c..5f5ffe76e 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index 7ac81cd60..7638a87a0 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index caca5e76b..92e8aa6d8 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index 34a3abeff..329c358af 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index a125a330c..e99a73938 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/move-vm.md b/docs/move-vm.md index 2aa96fd5f..d8c543c1f 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/my-profile.md b/docs/my-profile.md index 787079ba5..10f0d6fb7 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-branch.md b/docs/new-branch.md index 5f3b4e354..68ac70402 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 7a859b751..4fa690052 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-email.md b/docs/new-email.md index b31d4adc3..5e8b48053 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-image.md b/docs/new-image.md index f8d8bd6e0..d86927090 100644 --- a/docs/new-image.md +++ b/docs/new-image.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-junction.md b/docs/new-junction.md index d673224b9..6a7c87989 100644 --- a/docs/new-junction.md +++ b/docs/new-junction.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index 92de89794..22acb1dbb 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-markdown-file.md b/docs/new-markdown-file.md index c4311e4e6..a72ba3ca5 100644 --- a/docs/new-markdown-file.md +++ b/docs/new-markdown-file.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-passwords.md b/docs/new-passwords.md index 4fb2cf10f..e2f0a38bf 100644 --- a/docs/new-passwords.md +++ b/docs/new-passwords.md @@ -115,4 +115,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-pins.md b/docs/new-pins.md index c68fe9d1d..20611b85a 100644 --- a/docs/new-pins.md +++ b/docs/new-pins.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-power-plan.md b/docs/new-power-plan.md index 2c62e873c..4e24133fe 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-powershell-script.md b/docs/new-powershell-script.md index 937b0140a..d2d42dd73 100644 --- a/docs/new-powershell-script.md +++ b/docs/new-powershell-script.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 7a4dea663..0861bc90f 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -113,4 +113,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index c6efea635..e3c52a057 100644 --- a/docs/new-reboot-task.md +++ b/docs/new-reboot-task.md @@ -144,4 +144,4 @@ Else If ((Get-ScheduledTask -TaskName $Taskname).State -eq "Disabled") {Enable-ScheduledTask -TaskName $TaskName} ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index 2628c75d5..6735a0002 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index bde304455..ad0654999 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-story.md b/docs/new-story.md index 259ddede1..836e124b6 100644 --- a/docs/new-story.md +++ b/docs/new-story.md @@ -63,4 +63,4 @@ while ($true) { & "$PSScriptRoot/write-typewriter.ps1" $(RandomSentence) 20 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index fac1ed8eb..b796b6349 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-tab.md b/docs/new-tab.md index 7e380fa55..a4502e504 100644 --- a/docs/new-tab.md +++ b/docs/new-tab.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-tag.md b/docs/new-tag.md index b8c5560d8..b76db9f9d 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-text-file.md b/docs/new-text-file.md index b93f20b63..958203368 100644 --- a/docs/new-text-file.md +++ b/docs/new-text-file.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-user.md b/docs/new-user.md index 585f666ae..f1f729f7e 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index b0aed8df6..1994ec656 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index 0a578da64..f58d8452d 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-URL.md b/docs/open-URL.md index 5fb46156d..86986358d 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index 4f58b7963..d5554307e 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -51,4 +51,4 @@ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index a06318658..f09de9d11 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index 7ed29e29c..dc4ead84a 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index 4b85ce813..d0e5dce84 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index 67c9c2971..db2fa5c73 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index 36d272c1f..607d5546e 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index 69e1234af..a0d730c5b 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-clock.md b/docs/open-clock.md index 65b3d7546..d21bc33e2 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index 94ca836d4..532340794 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index 9c05c2341..de326e590 100644 --- a/docs/open-d-drive.md +++ b/docs/open-d-drive.md @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "D:" ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 54bae9bc6..457875bfc 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index 7f80ac7d3..1a5a48f71 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index deb763be7..b51cd44af 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index 568abb4ae..d28e6ef4d 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index 9e9862111..40f5f41a7 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index f78032a78..9ef05463f 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index f9e972dfa..b64bbbe82 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index 51fd5ac42..e626a63e1 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index c63cdd687..e1072f916 100644 --- a/docs/open-e-drive.md +++ b/docs/open-e-drive.md @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "E:" ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-edge.md b/docs/open-edge.md index 2919134cc..533cbd031 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -50,4 +50,4 @@ Start-Process microsoft-edge:// exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index 076bac69f..3af497778 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index 233ea38a7..cadee1572 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index 58ceb126c..12aee05b3 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index fba6ad8a8..376a00a1c 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index 94c4c0dd4..a638e3ab8 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index 4a6581ff7..9f76e79dc 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index 0f55a1eaa..aee8af7fd 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index 67dd4e80e..9d22d93b1 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index 5e8217c1d..46622b998 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index 69f20f437..16f1bbaab 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index 8bb67b4a9..f3247bd6c 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index e13e9f111..407310d72 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index b184479fa..596c32553 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 94d6f43ad..5268488a1 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index ed7325191..279eceb5a 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index 25db27236..2f66d0be1 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index 67a5be679..8d01b3015 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index 708313716..8ad25e752 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index 8de2801f9..6f235c788 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index 7fe0e62d6..2742f1146 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index 45cfb4dae..5436c0d5e 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index c000951a1..b0928a206 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index b1b762e28..61a5e2975 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 5bd7e07ae..8fb5ebaea 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index 08368d0a4..0764a5aa7 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index 5364e7aa2..fbbf49782 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index 1ead10c93..a97cfb2df 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index 6262d3183..71d4c5280 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index 6ef60a5e9..42a6d72b2 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -50,4 +50,4 @@ Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index 063933d8b..09224f8af 100644 --- a/docs/open-microsoft-store.md +++ b/docs/open-microsoft-store.md @@ -50,4 +50,4 @@ Start-Process ms-windows-store: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index 4f1294bae..380eef224 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index e75146f41..2cf8bce53 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index 77fa528ae..a9683a542 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -50,4 +50,4 @@ Start-Process netflix: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index fb578b21b..9216b4f78 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index e715bb69b..e27e7c33c 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index a89440a56..654411db9 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index ba5dad1c4..4b5a919ce 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index f82670321..a42cb0b33 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index f702359f8..5fe136e64 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index 50cd2036e..a52d213e6 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index bd547ce4e..85c42e0c1 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -67,4 +67,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index 00176c7d4..af8cb4d04 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index 36364bb06..fc28c05f8 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 44b4142f9..9e237ddb2 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index acc8cad69..6b53b37a1 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index ab06b8650..51f83b841 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-skype.md b/docs/open-skype.md index 30fe95780..141c9221a 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index 860b94cf2..2bb361f78 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -50,4 +50,4 @@ Start-Process SnippingTool.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index caba31f45..18483e69a 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index 122600d9e..81b84fc7d 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -50,4 +50,4 @@ Start-Process spotify: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index 99a1c5dd7..6aeb42f26 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index d870fea6f..adff0c88c 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index e17e33d9e..d09d96787 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index 5384572f0..08951c059 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index c1b54d8c6..b74b2249b 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index 7cf3ce296..73ff4ef5e 100644 --- a/docs/open-three-d-viewer.md +++ b/docs/open-three-d-viewer.md @@ -50,4 +50,4 @@ Start-Process com.microsoft.3dviewer: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index 2570391ba..369daa65b 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index df4ea9879..6862a75cf 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index 2a884f93b..a853ea9e0 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index 6ce2f4988..11047481c 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 20980de7a..979914011 100644 --- a/docs/open-vpn-settings.md +++ b/docs/open-vpn-settings.md @@ -50,4 +50,4 @@ Start-Process ms-settings:network-vpn exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index 1c152c48e..241b5913f 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -50,4 +50,4 @@ Start-Process windowsdefender: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index f90a4fe73..4c99dc446 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -50,4 +50,4 @@ Start-Process wt.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-windy.md b/docs/open-windy.md index 4ab4dee96..898a7067c 100644 --- a/docs/open-windy.md +++ b/docs/open-windy.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/open-xing.md b/docs/open-xing.md index be5cf332b..a47e16214 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index 7b5b42aa7..a764e630f 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/ping-host.md b/docs/ping-host.md index 71eb507e8..8e8844182 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index eb3819b9a..81c4bb023 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index 9ee4f5f5b..ad69e9769 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index a76d1e265..9738b6548 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-ascii-video.md b/docs/play-ascii-video.md index c0d9e0850..2b54e9483 100644 --- a/docs/play-ascii-video.md +++ b/docs/play-ascii-video.md @@ -52,4 +52,4 @@ if ($IsLinux -or $IsMacOS) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index de6bec0c1..fc0e1323e 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index d3ab4bfd8..6e0b0b515 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index aa15a000e..1d1596641 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index c0b56feb5..bfdd08090 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-chess.md b/docs/play-chess.md index 22a3c2225..cf30fff91 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index 2236cebfb..3c598334b 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index fe738fdde..7256ba490 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index de376fdb0..6e24040e0 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 11/20/2025 17:07:02)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-drug-wars.md b/docs/play-drug-wars.md index f147b036d..9da8e3f48 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index b4957f165..7622f95f5 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index 8faec3584..f954b2670 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-files.md b/docs/play-files.md index d0efc8ec0..18b173cf5 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index 1877a292c..9cc967367 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index 5b40dc135..2eadfd60a 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index b8e150a78..7f032f859 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index 7925bb8e4..dd1f3242c 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 614b24d55..0dbe4dc37 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index 77797c6d7..edc28ba8c 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index 9e2cc8273..b3c1c3156 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index 6c8b7c64a..c4fecd309 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index add821084..abc81a275 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index ed76f9f56..54a7a49c7 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index adeaf307f..5d76831e3 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index cf6a36cff..efe136ad3 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index 7942dfc7d..debcbfa22 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-pong.md b/docs/play-pong.md index e9bde18f2..4a089e284 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index 99504eea1..299b6f5e5 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 65673c230..660b323fe 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -56,4 +56,4 @@ if ($IsLinux -or $IsMacOS) { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-snake.md b/docs/play-snake.md index 6dab1597b..232b26256 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index 28ea4f703..ae06af0c0 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index 9ea9a6358..77261de9d 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index 06ab0404c..d501babe1 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-tetris.md b/docs/play-tetris.md index 3404d3dc0..31dcc112c 100644 --- a/docs/play-tetris.md +++ b/docs/play-tetris.md @@ -719,4 +719,4 @@ while (-not $IAsyncResult.IsCompleted) { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index cb394a188..72468bf01 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index 26b7c3bd2..66d2cbb8c 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/poweroff.md b/docs/poweroff.md index db6fefa7e..256fc927e 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/print-image.md b/docs/print-image.md index addb13be7..5c2734443 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index f0ae5cacc..ec6b9a49d 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index c86cd50b6..7bd76d576 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index c407f4486..afafa65a7 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index 7f499fa61..3d2671627 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index 1eaceb042..0b16f5b2c 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/reboot-into-bios.md b/docs/reboot-into-bios.md index 5c96443f9..64bc79915 100644 --- a/docs/reboot-into-bios.md +++ b/docs/reboot-into-bios.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/reboot.md b/docs/reboot.md index 29e3c4dda..71494e572 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/remember.md b/docs/remember.md index 78c6740d9..8f714a4e1 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/remind-me.md b/docs/remind-me.md index 2f947500d..cb5203ba0 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/remove-dir.md b/docs/remove-dir.md index af4331e63..5f5074b86 100644 --- a/docs/remove-dir.md +++ b/docs/remove-dir.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index 377118499..e7f3fc23c 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index 33cf9ae63..7a6cbeaf2 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index cc12ad36b..415d07530 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index de119a4bf..b942c957a 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/remove-user.md b/docs/remove-user.md index c9ca3b6a6..5cadcc828 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index fcc805575..73227a1b9 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index 3c5c14216..1e26f279d 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index d0365f5f3..4c7f94a25 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index 6299d1177..6cd2c62cc 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index 8833023e2..d265d463e 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 6598e658a..246eda1f6 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index bd0f5c906..0986e68b2 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/scan-network.md b/docs/scan-network.md index 57ac4c14b..e2b798a51 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index f903ba1d1..803aab718 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/search-filename.md b/docs/search-filename.md index db8315b3a..cfabfc2ed 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/search-files.md b/docs/search-files.md index f42e377ad..1a2cacdb9 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/search-repo.md b/docs/search-repo.md index bfa80fdb5..d5b859436 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/send-email.md b/docs/send-email.md index e0006c846..deaab8fc8 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -126,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index 8767349d5..e67d3fda1 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/send-udp.md b/docs/send-udp.md index 3d808968d..1856524b4 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/set-timer.md b/docs/set-timer.md index b4c1cfe86..0ee42c79f 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/set-volume.md b/docs/set-volume.md index ec2f0aa00..90e59bb05 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index d98611f70..2dbe72d7b 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index b1f81ca6c..2ba408888 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index 06504bb95..d41bbfde2 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/show-notification.md b/docs/show-notification.md index 061935f14..e1e3179c4 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index 6ca2bfd88..82016a636 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 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index 2b84581d0..95519a62a 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index ce2c65647..83771e1e1 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -142,4 +142,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 8ffde3798..46376d8e2 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index d98077c09..ec92439be 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index b3a3e5bb2..ddacf18c5 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index 5233e3d17..f178d5933 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index 167cd62d6..fa5832ac8 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index 9637723a9..5e71f9845 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-english.md b/docs/speak-english.md index 9f4d972a5..dba5d286e 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index e377cd601..26f9fe757 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -142,4 +142,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index bc39f4c88..ea9f9d419 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-file.md b/docs/speak-file.md index dab008b94..e3fc5b7b2 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index fddc78fa1..b9e0eb2dc 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-french.md b/docs/speak-french.md index 9f7c458ba..b4bd483fc 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-german.md b/docs/speak-german.md index 63980b49f..d66fc2f45 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index 0d61ee488..933c7a2cb 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index 562865b15..31af144cf 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index 52836ffcf..0df9004c6 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index 988901b7d..a9d09f36c 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index d3770acea..ed51d49a7 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index b49ca009f..987c0ce8b 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index 65b4560d8..3cf900c80 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index 12000271e..22ec2601f 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 3fd3f96b5..339d114cd 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index 17c31f238..cbe131894 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index 6319b8199..0214471c7 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index eda70b236..67443dec2 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index db7875246..edc1aa974 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index 2e17b1529..6b8c4feef 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-test.md b/docs/speak-test.md index 0618dee3b..5f2fae1cc 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-text.md b/docs/speak-text.md index 9c8bda9e0..b3bb0aa00 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index 755d99f0c..9e706d578 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index fc779f9ed..22398139b 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:03)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index 14819dfff..65c544119 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/spell-word.md b/docs/spell-word.md index 83f03bfbe..d68a93cc7 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index c8dcdaa61..61ff3c99c 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/suspend.md b/docs/suspend.md index aa12642e9..86d807d2e 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index 7efa7efe7..bc4a70d2a 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -128,4 +128,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index 157524bb2..c630f3b48 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index 8324e1f3f..f8515431c 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/sync-dir.md b/docs/sync-dir.md index 323216e98..1ca04fd48 100644 --- a/docs/sync-dir.md +++ b/docs/sync-dir.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index 887658297..cde389946 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index 3560b5908..acbe6d7f2 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index 08abb4be4..7b356c700 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index b6d9e8f5a..2a16c22b7 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index c4554bbcf..4b6a59e37 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index fad07e323..8ecf89c5b 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index d0932d02a..64485b11a 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/touch.md b/docs/touch.md index bbe3dc856..fd866ec7f 100644 --- a/docs/touch.md +++ b/docs/touch.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/translate-file.md b/docs/translate-file.md index dd09f69e7..883b421a0 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/translate-files.md b/docs/translate-files.md index e0836d340..e7b9342e8 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/translate-text.md b/docs/translate-text.md index d9fc5bf53..a0c2e0d06 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index c36dc0b83..00859451c 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index 53624542d..d25ece9ec 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index 8a2f0b29b..aeabd0f96 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index 55725200e..66111cbd3 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index 33c384f8a..7b9525b33 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index bd7981c09..db77cf53b 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index 1005ef3df..093f4cbfb 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/uninstall-new-outlook.md b/docs/uninstall-new-outlook.md index 8ba70be22..ed9f3ad3b 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/uninstall-outlook.md b/docs/uninstall-outlook.md index c614dc191..6009ed360 100644 --- a/docs/uninstall-outlook.md +++ b/docs/uninstall-outlook.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index bec1602ea..a0f66bc8c 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index cee8c8889..e1565d4b4 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/upload-file.md b/docs/upload-file.md index 1e36fa912..2605cb3e2 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -149,4 +149,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index 5bb0ac3eb..ac530f936 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/vi.md b/docs/vi.md index 7acaefa9c..51ca10c5d 100644 --- a/docs/vi.md +++ b/docs/vi.md @@ -91,4 +91,4 @@ Write-Host "" exit 1 ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index b430c32c9..187647344 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/wake-up-human.md b/docs/wake-up-human.md index 58d2af0a7..d0a6a0c15 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index 369b42616..4f81ad4f1 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/watch-crypto-rates.md b/docs/watch-crypto-rates.md index a93bc7a8f..71b0a1369 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/watch-file.md b/docs/watch-file.md index 393006198..34e10cf3e 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/watch-host.md b/docs/watch-host.md index 2c120e096..c2b98ec89 100644 --- a/docs/watch-host.md +++ b/docs/watch-host.md @@ -147,4 +147,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/watch-news.md b/docs/watch-news.md index 405ccb1ca..f6cc1d510 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index 393b550d6..1e303f791 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -137,4 +137,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/weather-report.md b/docs/weather-report.md index 37b70d7e0..9b7f6c9bb 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/weather.md b/docs/weather.md index bf6c7eb08..1c1f07ce7 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/what-is.md b/docs/what-is.md index 612323501..6a818dc74 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/windefender.md b/docs/windefender.md index ca5b2b8e3..a67b11358 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -82,4 +82,4 @@ break } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-animated.md b/docs/write-animated.md index 93fd8a322..00673de18 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index 45601dd18..59119f322 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-big.md b/docs/write-big.md index 4c002bac9..044e2a732 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -472,4 +472,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-blue.md b/docs/write-blue.md index 6849877bb..1dc75d307 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-braille.md b/docs/write-braille.md index 67def9aa8..1fd0e84c1 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -409,4 +409,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-centered.md b/docs/write-centered.md index 48e7584a5..35df72974 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index 856c3cd95..0138c6719 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-chart.md b/docs/write-chart.md index 93bc870d7..d0ad08e05 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-clock.md b/docs/write-clock.md index 791ce8061..8b9c8dfb6 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-code.md b/docs/write-code.md index 08750a63e..969c40dc3 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-credits.md b/docs/write-credits.md index e8fb9aeeb..90083a048 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-date.md b/docs/write-date.md index 438f8e1bf..e000a1ee9 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index 7035b100e..8412ce1c5 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-green.md b/docs/write-green.md index a59f7b41e..5c2eb2120 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index 08e046b5b..77a989621 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-headline.md b/docs/write-headline.md index 0e0962737..780d1e36b 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-help.md b/docs/write-help.md index 50125d785..877a0165f 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -69,4 +69,4 @@ White "████████████████████████ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index c557643cc..5e42e8dc3 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 505068560..971b60fa2 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-location.md b/docs/write-location.md index b6ea76881..375759eab 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index 9bda37c9e..19e00d632 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index d2576d9b4..cc5fd9532 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index 58ce1ab55..3e3e1f8ef 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-moon.md b/docs/write-moon.md index b6b56b848..63b29a432 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index 5be34ae39..5e23b2253 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-motd.md b/docs/write-motd.md index d936a14fc..92cb88d93 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-pi.md b/docs/write-pi.md index 1041121b5..3d0dc4b5c 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-progress-bar.md b/docs/write-progress-bar.md index ed0d3b146..9902e7236 100644 --- a/docs/write-progress-bar.md +++ b/docs/write-progress-bar.md @@ -55,4 +55,4 @@ for ([int]$i = 0; $i -lt 150; $i++) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index 3f186122f..ef2a8aa34 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 94f3ce99d..3a253e4d9 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* diff --git a/docs/write-red.md b/docs/write-red.md index db1818e10..92bae7f29 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index bdac7257a..d1efda915 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* diff --git a/docs/write-shit.md b/docs/write-shit.md index 27f09bf12..9ca70b23f 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index 9e8e051d0..81cd603f4 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* diff --git a/docs/write-skull.md b/docs/write-skull.md index 22667fd9d..acf7afb7e 100644 --- a/docs/write-skull.md +++ b/docs/write-skull.md @@ -70,4 +70,4 @@ WriteLine "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* diff --git a/docs/write-story.md b/docs/write-story.md index 37fe98ff7..5d4ea2ccf 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* diff --git a/docs/write-time.md b/docs/write-time.md index 413f5f926..2c6d0c1c9 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index bf954d2ff..350a3e3d4 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index 6784139cb..9a70e477a 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* diff --git a/docs/write-value.md b/docs/write-value.md index 467d37206..0679a3000 100644 --- a/docs/write-value.md +++ b/docs/write-value.md @@ -170,4 +170,4 @@ Write-Host "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index 186490771..180da4dce 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md index 10e4b7905..7a5e14646 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 11/20/2025 17:07:04)* +*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* diff --git a/scripts/list-unused-files.ps1 b/scripts/list-unused-files.ps1 index 0eb8af9e2..2ac51a996 100755 --- a/scripts/list-unused-files.ps1 +++ b/scripts/list-unused-files.ps1 @@ -26,15 +26,14 @@ try { Write-Progress "Scanning $path for unused files..." $cutOffDate = (Get-Date).AddDays(-$Days) - [int]$count = 0 + [int]$count = 0 Get-ChildItem -path $path -recurse | Where-Object {$_.LastAccessTime -le $cutOffDate} | Foreach-Object { "$($_.FullName)" - $count++ - } - + $count++ + } Write-Progress -completed " " - [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✅ $count unused files at 📂$path (no access for $days days, took $($elapsed)s)." + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "✅ $count unused files at 📂$path (no access for $days days, took $($elapsed)s)." exit 0 # success } catch { "⚠️ ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))" From 4f1f0a439eac5448a0d8159ce4aa0226fbfb5622 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 21 Nov 2025 18:20:20 +0100 Subject: [PATCH 525/737] Updated watch-news.ps1 --- scripts/watch-news.ps1 | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/scripts/watch-news.ps1 b/scripts/watch-news.ps1 index fd25c561a..0263cb6dd 100755 --- a/scripts/watch-news.ps1 +++ b/scripts/watch-news.ps1 @@ -9,18 +9,13 @@ Specifies the update interval in seconds (default: 60 seconds) .EXAMPLE PS> ./watch-news.ps1 - - TIME NEWS (source: https://www.yahoo.com/news/world, UTC times) - ---- ---- - 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria - ... .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$URL = "https://news.yahoo.com/rss/world", [int]$updateInterval = 60) # in seconds +param([string]$URL = "https://news.yahoo.com/rss/world", [int]$updateInterval = 60, [int]$speed = 10) function PrintNewerHeadlines([xml]$content, [string]$latestTimestamp, [string]$icon) { $items = $content.rss.channel.item @@ -31,7 +26,7 @@ function PrintNewerHeadlines([xml]$content, [string]$latestTimestamp, [string]$i if ($pubDate -le $latestTimestamp) { continue } $title = $item.title -replace "â","'" $time = $pubDate.Substring(11, 5) - Write-Host "$time $title$icon" + & "$PSScriptRoot/write-animated.ps1" "$title ($time)$icon" $speed if ($pubDate -gt $newLatest) { $newLatest = $pubDate } } return $newLatest @@ -40,10 +35,8 @@ function PrintNewerHeadlines([xml]$content, [string]$latestTimestamp, [string]$i try { [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content $webLink = $content.rss.channel.link - Write-Host "`nTIME NEWS (source: " -noNewline - Write-Host $webLink -foregroundColor blue -noNewline - Write-Host ", UTC times)" - Write-Host "---- ----" + & "$PSScriptRoot/write-animated.ps1" "Source: $webLink" $speed + & "$PSScriptRoot/write-animated.ps1" "-----------------------------" $speed $latestTimestamp = "2000-01-01" $icon = "" do { From 3898c8dc25577871f552d45d5faef6003ad70873 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 24 Nov 2025 08:06:01 +0100 Subject: [PATCH 526/737] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e94e3e1d..4c80d4be1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/login/logoff/daily/hourly/shutdown or via AutoHotkey/Jenkins/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console like *Windows Terminal* is recommended.** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/login/logoff/daily/hourly/shutdown or via AutoHotkey/Jenkins/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode for a modern console like *Windows Terminal*.** **[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md) | [PowerShell Documentation](https://docs.microsoft.com/en-us/powershell)** From 71109bb0d82095a2df71407d31cd5292fcf80cc6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 24 Nov 2025 08:28:21 +0100 Subject: [PATCH 527/737] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4c80d4be1..0923ccb5b 100644 --- a/README.md +++ b/README.md @@ -278,7 +278,7 @@ Mega Collection of PowerShell Scripts | [sync-repo.ps1](scripts/sync-repo.ps1) | Synchronizes a Git repository by pull & push. [More »](docs/sync-repo.md) | | [write-changelog.ps1](scripts/write-changelog.ps1) | Writes a changelog from Git commits. [More »](docs/write-changelog.md) | -🔎 Scripts for PowerShell +▶️ Scripts for PowerShell ------------------------ | Script | Description | @@ -296,7 +296,7 @@ Mega Collection of PowerShell Scripts | [new-script.ps1](scripts/new-script.ps1) | Creates a new PowerShell script. [More »](docs/new-script.md) | | [set-profile.ps1](scripts/set-profile.ps1) | Updates your PowerShell user profile. [More »](docs/set-profile.md) | -🛒 Various PowerShell Scripts +🎉 Various PowerShell Scripts ------------------------------ | Script | Description | From 20feb3a4493a4df7e8d5ebd1e7da9e68b1da7716 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 24 Nov 2025 08:28:49 +0100 Subject: [PATCH 528/737] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0923ccb5b..db596612e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/login/logoff/daily/hourly/shutdown or via AutoHotkey/Jenkins/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode for a modern console like *Windows Terminal*.** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/login/logoff/daily/hourly/shutdown or via AutoHotkey/Jenkins/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📁[scripts](scripts/) subfolder and support Unicode for a modern console like *Windows Terminal*.** **[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md) | [PowerShell Documentation](https://docs.microsoft.com/en-us/powershell)** From 00c7d2eb7691f4c2940ba64700a1eb2cd1bff7be Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 24 Nov 2025 11:23:22 +0100 Subject: [PATCH 529/737] Updated cd-downloads.ps1 --- scripts/cd-downloads.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/cd-downloads.ps1 b/scripts/cd-downloads.ps1 index 8ac1424ca..37aeceb54 100755 --- a/scripts/cd-downloads.ps1 +++ b/scripts/cd-downloads.ps1 @@ -5,7 +5,7 @@ This PowerShell script changes the working directory to the user's downloads folder. .EXAMPLE PS> ./cd-downloads.ps1 - 📂C:\Users\Markus\Downloads with 0 files and 0 folders entered. + 📂C:\Users\Markus\Downloads entered, has 0 files and 0 folders. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -23,10 +23,10 @@ try { $path = (New-Object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path if (-not(Test-Path "$path" -pathType container)) { throw "The path to downloads folder '$path' doesn't exist (yet)" } } - Set-Location "$path" + Set-Location $path $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered, has $($files.Count) files and $($folders.Count) folders." exit 0 # success } catch { "⚠️ Error: $($Error[0])" From 5fcaa851512625cb45ef47a61867981b28d3eab8 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 24 Nov 2025 11:31:08 +0100 Subject: [PATCH 530/737] Added remove-bluetooth-device.ps1 --- scripts/remove-bluetooth-device.ps1 | 61 +++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 scripts/remove-bluetooth-device.ps1 diff --git a/scripts/remove-bluetooth-device.ps1 b/scripts/remove-bluetooth-device.ps1 new file mode 100644 index 000000000..58c998a71 --- /dev/null +++ b/scripts/remove-bluetooth-device.ps1 @@ -0,0 +1,61 @@ +<# +.SYNOPSIS + Removes a Bluetooth device +.DESCRIPTION + This PowerShell script removes a Bluetooth device from the local computer. +.EXAMPLE + PS> ./remove-bluetooth-device.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +$Source = @" + [DllImport("BluetoothAPIs.dll", SetLastError = true, CallingConvention = CallingConvention.StdCall)] + [return: MarshalAs(UnmanagedType.U4)] + static extern UInt32 BluetoothRemoveDevice(IntPtr pAddress); + public static UInt32 Unpair(UInt64 BTAddress) { + GCHandle pinnedAddr = GCHandle.Alloc(BTAddress, GCHandleType.Pinned); + IntPtr pAddress = pinnedAddr.AddrOfPinnedObject(); + UInt32 result = BluetoothRemoveDevice(pAddress); + pinnedAddr.Free(); + return result; + } +"@ + +function Get-BTDevice { + Get-PnpDevice -class Bluetooth | + ?{$_.HardwareID -match 'DEV_'} | + select Status, Class, FriendlyName, HardwareID, + # Extract device address from HardwareID + @{N='Address';E={[uInt64]('0x{0}' -f $_.HardwareID[0].Substring(12))}} +} + +################## Execution Begins Here ################ + +$BTR = Add-Type -MemberDefinition $Source -Name "BTRemover" -Namespace "BStuff" -PassThru +$BTDevices = @(Get-BTDevice) # Force array if null or single item + +Do { + If ($BTDevices.Count) { + "`n******** Bluetooth Devices ********`n" | Write-Host + For ($i=0; $i -lt $BTDevices.Count; $i++) { + ('{0,5} - {1} ({2}/{3}/{4})' -f ($i+1), $BTDevices[$i].FriendlyName, $BTDevices[$i].Status, $BTDevices[$i].Class, $BTDevices[$i].Address) | Write-Host + } + $selected = Read-Host "`nSelect a device to remove (0 to Exit)" + If ([int]$selected -in 1..$BTDevices.Count) { + 'Removing device: {0}' -f $BTDevices[$Selected-1].FriendlyName | Write-Host + $Result = $BTR::Unpair($BTDevices[$Selected-1].Address) + If (!$Result) { + "Device removed successfully." | Write-Host + } Else { + ("Sorry, an error occured. Return was: {0}" -f $Result) | Write-Host + } + } + } Else { + "`n********* No devices found ********" | Write-Host + } +} While (($BTDevices = @(Get-BTDevice)) -and [int]$selected) +Write-Host "`n`nPress any key to exit..."; +$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown'); From 78d3e31f35d1e87208ea9f810f38b486cc6b2a17 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 24 Nov 2025 20:40:40 +0100 Subject: [PATCH 531/737] Updated the manuals --- docs/add-firewall-rules.md | 2 +- docs/alert.md | 2 +- docs/build-repo.md | 2 +- docs/build-repos.md | 2 +- docs/calculate-BMI.md | 2 +- docs/cd-autostart.md | 2 +- docs/cd-crashdumps.md | 2 +- docs/cd-desktop.md | 2 +- docs/cd-docs.md | 2 +- docs/cd-downloads.md | 10 +-- docs/cd-dropbox.md | 2 +- docs/cd-etc.md | 2 +- docs/cd-fonts.md | 2 +- docs/cd-home.md | 2 +- docs/cd-jenkins.md | 2 +- docs/cd-logs.md | 2 +- docs/cd-music.md | 2 +- docs/cd-nextcloud.md | 2 +- docs/cd-onedrive.md | 2 +- docs/cd-pics.md | 2 +- docs/cd-public.md | 2 +- docs/cd-recent.md | 2 +- docs/cd-recycle-bin.md | 2 +- docs/cd-repo.md | 2 +- docs/cd-repos.md | 2 +- docs/cd-root.md | 2 +- docs/cd-screenshots.md | 2 +- docs/cd-scripts.md | 2 +- docs/cd-ssh.md | 2 +- docs/cd-sync.md | 2 +- docs/cd-temp.md | 2 +- docs/cd-templates.md | 2 +- 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 | 2 +- docs/cd-videos.md | 2 +- docs/cd-windows.md | 2 +- 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 | 2 +- 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 | 2 +- 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 | 2 +- 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-broken-file.md | 2 +- docs/copy-photos-sorted.md | 2 +- docs/copy-videos-sorted.md | 2 +- 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/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 | 2 +- docs/install-crystal-disk-mark.md | 2 +- docs/install-discord.md | 2 +- docs/install-edge.md | 2 +- docs/install-edit.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 | 2 +- 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-spotify.md | 2 +- docs/install-ssh-client.md | 2 +- docs/install-ssh-server.md | 2 +- docs/install-syncthing.md | 2 +- docs/install-thunderbird.md | 2 +- docs/install-unbound-server.md | 2 +- docs/install-updates.md | 2 +- 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 | 2 +- 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 | 2 +- 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 | 2 +- docs/list-earthquakes.md | 2 +- docs/list-emojis.md | 2 +- docs/list-empty-dirs.md | 2 +- 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-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 | 2 +- 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 | 2 +- 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-image.md | 2 +- docs/new-junction.md | 2 +- docs/new-linux-vm.md | 2 +- docs/new-markdown-file.md | 2 +- docs/new-passwords.md | 2 +- docs/new-pins.md | 2 +- docs/new-power-plan.md | 2 +- docs/new-powershell-script.md | 2 +- docs/new-qrcode.md | 2 +- docs/new-reboot-task.md | 2 +- docs/new-shortcut.md | 2 +- docs/new-ssh-key.md | 2 +- docs/new-story.md | 2 +- docs/new-symlink.md | 2 +- docs/new-tab.md | 2 +- docs/new-tag.md | 2 +- docs/new-text-file.md | 2 +- 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-windy.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-ascii-video.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-tetris.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 | 2 +- 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-bluetooth-device.md | 97 ++++++++++++++++++++++ docs/remove-dir.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 | 2 +- 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 | 2 +- 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/vi.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 | 35 ++++---- 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 | 2 +- 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 | 2 +- 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-skull.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/remove-bluetooth-device.ps1 | 0 665 files changed, 778 insertions(+), 686 deletions(-) create mode 100644 docs/remove-bluetooth-device.md mode change 100644 => 100755 scripts/remove-bluetooth-device.ps1 diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index 6008dc20e..3f9131b6f 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -117,4 +117,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* diff --git a/docs/alert.md b/docs/alert.md index 5f9355371..8c34c1fa7 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* diff --git a/docs/build-repo.md b/docs/build-repo.md index 3a798e8bd..d1e0f458e 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -225,4 +225,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* diff --git a/docs/build-repos.md b/docs/build-repos.md index 9f5480677..b0f25c1d3 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* diff --git a/docs/calculate-BMI.md b/docs/calculate-BMI.md index c019787c9..c14f86882 100644 --- a/docs/calculate-BMI.md +++ b/docs/calculate-BMI.md @@ -61,4 +61,4 @@ $result = $weight / ($height * $height) exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index 7f93a4675..71617343a 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index 44e7f8a15..b6e6436f2 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index 6f25e027f..bcf6ace62 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index 03f91022d..f669fcf5a 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index f2e74dd1e..30c8108e8 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-downloads.ps1 -📂C:\Users\Markus\Downloads with 0 files and 0 folders entered. +📂C:\Users\Markus\Downloads entered, has 0 files and 0 folders. ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the user's downloads folder. .EXAMPLE PS> ./cd-downloads.ps1 - 📂C:\Users\Markus\Downloads with 0 files and 0 folders entered. + 📂C:\Users\Markus\Downloads entered, has 0 files and 0 folders. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -57,10 +57,10 @@ try { $path = (New-Object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path if (-not(Test-Path "$path" -pathType container)) { throw "The path to downloads folder '$path' doesn't exist (yet)" } } - Set-Location "$path" + Set-Location $path $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "📂$path with $($files.Count) files and $($folders.Count) folders entered." + "📂$path entered, has $($files.Count) files and $($folders.Count) folders." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index 4ce3905c4..cdcbe313b 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index afdcff5b0..1ee0b808e 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index eb91da0aa..831a5f598 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-home.md b/docs/cd-home.md index 2bcf9cc8a..ab1243e46 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index 86935254e..29d90a2fe 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index 787c139fb..0c1da6580 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-music.md b/docs/cd-music.md index 4828fb357..602858004 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index 3f8ed21e1..66a18a3aa 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index ba2606596..61e9d69c9 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index 9f3894a82..d0d6d5605 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-public.md b/docs/cd-public.md index 4f3d2c213..30eb8a86f 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index f8ec85c17..d0387e3ed 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index 1d0530e1c..0e4ebf2c6 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index 9d2ff0613..c496be67d 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:25)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index 46c71ddd6..3c68595ce 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-root.md b/docs/cd-root.md index 3be6262a4..df75bb75d 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index 2f792f80e..2027da0f4 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index 29bd5e163..6b739ff02 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index 3dc67f347..7b38d44bc 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-sync.md b/docs/cd-sync.md index be4055e7a..cafae0827 100644 --- a/docs/cd-sync.md +++ b/docs/cd-sync.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index 03dab66ba..dc710f64f 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index c41e61f5c..4f5c42249 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index b0850951e..cd08a8d33 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-up.md b/docs/cd-up.md index e396eb607..f94dd3671 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index c11b43210..2ba31379b 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index f27cac6d4..3b45ad292 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index bc0c273b5..6ddf9ddcc 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-users.md b/docs/cd-users.md index b71933344..45e19f0ad 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index 87a99448a..41b762103 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index 0543158ea..2b9b84abc 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index b644af415..27228faa0 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-admin.md b/docs/check-admin.md index 188bb2aa3..5eac4e1ff 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-apps.md b/docs/check-apps.md index d98ae66ee..fbff6f915 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-bios.md b/docs/check-bios.md index dd00435a6..d0b01ffbd 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index 8bc052792..f9259c5b7 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index 30f65f571..bd604546c 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-day.md b/docs/check-day.md index 0f95dfb97..13a502b30 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-dns.md b/docs/check-dns.md index 26cbe5c2c..436e3ade3 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index 8e84cd26d..a9d5469fa 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-drives.md b/docs/check-drives.md index 1fef713a3..71fc770af 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index 722ae5200..e086f01f5 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index 29da571b7..befa4b130 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index 5031dc7f7..018f3069a 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-file.md b/docs/check-file.md index c8fd1a5b6..0473e856b 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index e5ea7eba0..7aa563d50 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index 020c5b3a4..bfdb676bc 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index 1c1820656..f8e2ba3ee 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-health.md b/docs/check-health.md index 9bc1a9c22..921d78fab 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index 97f77a948..ab36ef81e 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index d1e2c1331..4f5fabf79 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index e7a6c947c..3f635ef4b 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index d8060feab..2acb834aa 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index d3184d877..c9b2f0294 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index 444171498..5d7eeaaf7 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-month.md b/docs/check-month.md index ad2e8aaef..f3b73c30c 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index d842f418f..aaf2ff85c 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index 0d613d8ea..3c1b40ef5 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-network.md b/docs/check-network.md index d6affab4e..2784df1f4 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-noon.md b/docs/check-noon.md index 337b6c2a0..acfad3b26 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-os.md b/docs/check-os.md index a5f8bb45d..5221c1e1f 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index 02676e977..a169b44a2 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-password.md b/docs/check-password.md index 1bbbe974c..bfed5ba8b 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index c2f81ab33..8e893993f 100644 --- a/docs/check-pending-reboot.md +++ b/docs/check-pending-reboot.md @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index 1b07f1286..519785a0a 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-power.md b/docs/check-power.md index 53988c60f..7eb3783ee 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index ab075a83f..950977d8e 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 78dd21c8b..500928eb5 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-ram.md b/docs/check-ram.md index 2da281ab9..ee39affe3 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-repo.md b/docs/check-repo.md index 504b140e8..2fb136719 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-repos.md b/docs/check-repos.md index b61ed880b..9dfc527d5 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-santa.md b/docs/check-santa.md index 101d90d6a..4b3dff166 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index fb7ea2d42..c3c233041 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* diff --git a/docs/check-software.md b/docs/check-software.md index 42d352aa6..8d1e4c7be 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index a095308d5..b44b04c5c 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index 458067977..7cc3f8bd4 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -108,4 +108,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index 3e5ed38bf..5a7643718 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index 524a0b15e..205da063c 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index 3efe85137..2bbcbbcce 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index e9695bc4a..65ea19ac0 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/check-weather.md b/docs/check-weather.md index ecfac8fd9..3bc0d7b17 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/check-week.md b/docs/check-week.md index 19feab37d..62c33a426 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/check-wind.md b/docs/check-wind.md index e29c54f07..6aad2e2bb 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index 4dac5f1ba..144796683 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index 616d393e5..5ecf807c5 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index f7e202088..5a443f567 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index 7975d5715..a2f5d44cd 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index 8c4f66b80..51d5b78a5 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index 1c295ecc8..6a99ac804 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index 685882d6d..2c0b1913e 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index a09cee250..dd54685c9 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index fd20550f2..ec15f1e5c 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index 21ce97541..3abcfc05f 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index 32a34a861..a650281a2 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index f21e11ee6..f8fb54e81 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-edge.md b/docs/close-edge.md index ca22b2b82..23b81816b 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index 3f684a0b0..4c4752bb3 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index d320fc41b..5479cd792 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index c679b4709..09f746263 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index bad60b0b1..f43d74eaf 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 1abdd9553..51e6ffcf9 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index ecf1a707e..1295b0d24 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index 66c41c5fa..85ac9e695 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index b66463e9f..977534289 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index 077d3560d..967081fcb 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index 98b4c18a1..56dc5c56c 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index 473df9aae..6d9a1f74a 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index 4b0b3de1b..5d5029fca 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-program.md b/docs/close-program.md index dea4ad940..604f87a0d 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index c3c8fa833..0f972e462 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index 1fb7e88dd..ff84913ed 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index f98e74ce7..1296b8e5a 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 153a5d128..63dcea0ca 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index 4b4c1ec09..3bd0da67b 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index 887f7853c..9a3c7d239 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index 749ad781e..0246f794a 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index c0e19c145..e140034bb 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index 3c11cc8d1..0bac58ac9 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 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/configure-git.md b/docs/configure-git.md index 1ddf83fda..5f2d8572e 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index 36e70a9b6..03db56ebd 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index a2862efb9..a52cf5ec2 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-dir27z.md b/docs/convert-dir27z.md index 6a6f43748..8e8c50fba 100644 --- a/docs/convert-dir27z.md +++ b/docs/convert-dir27z.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index fa2cf8c5b..258b10b22 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index 8de35a8cb..7b3b02822 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:26)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index 042328efa..4ba9b612c 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-history2ps1.md b/docs/convert-history2ps1.md index 4c59d546a..3c672b0df 100644 --- a/docs/convert-history2ps1.md +++ b/docs/convert-history2ps1.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index beb2cdd50..44c27e6eb 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index 94911da33..7b32fa8e3 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index e6a6b679c..1edb1531c 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-images2webp.md b/docs/convert-images2webp.md index cc117b4f2..5f0b2d584 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index 307c85720..b37d1e983 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index 7f00f146e..0f0d36203 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index 8a2e8aa8e..f59c54b72 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index 791141764..513ffa310 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index 3f33c4d9b..1f9547cca 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index 7b9c647c3..db2f07737 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -186,4 +186,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index 6d0da92b4..03b0c6173 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index 9fc038b37..1dabae1ab 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/copy-broken-file.md b/docs/copy-broken-file.md index 001922dc8..278def2df 100644 --- a/docs/copy-broken-file.md +++ b/docs/copy-broken-file.md @@ -683,4 +683,4 @@ if ($UnreadableBlocks) { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index 686453dd2..58642cad9 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -153,4 +153,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/copy-videos-sorted.md b/docs/copy-videos-sorted.md index 9cc9810dc..2f8a1332e 100644 --- a/docs/copy-videos-sorted.md +++ b/docs/copy-videos-sorted.md @@ -136,4 +136,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/count-characters.md b/docs/count-characters.md index 1e445c6fe..77e83455e 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/count-lines.md b/docs/count-lines.md index 6430fb553..4b7f3e3f0 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index 3c5bd553a..1635b3ee0 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -199,4 +199,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index 783f2aab7..096fb286b 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index 5dbff062a..449a2b7c3 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/download-dir.md b/docs/download-dir.md index d610bd8d4..1e42917b5 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/download-file.md b/docs/download-file.md index 72c5c6be6..6dbfb227a 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 796527287..954f663d5 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -346,4 +346,4 @@ Else exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index 76ff66b8d..5f678d5ed 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index 12114b402..8340cc8d6 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index e21f78466..aa812958f 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -184,4 +184,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index cd3eb50ff..b5a73f112 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/enter-host.md b/docs/enter-host.md index bc0537b05..1e58d7233 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index e4aa53db6..8a8e8d7a1 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index 97b5b92d7..1f1dc0228 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index ea594da2f..06d5d7c0c 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index fd9cd1bfb..2ac789189 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -64,4 +64,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/get-md5.md b/docs/get-md5.md index b28675781..5c1c98940 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index cec076de5..c43e390a8 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index c191e69f8..e28f86b31 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/get-sha512.md b/docs/get-sha512.md index df3b3c66d..84b3cb0e5 100644 --- a/docs/get-sha512.md +++ b/docs/get-sha512.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/hello-world.md b/docs/hello-world.md index c52071d16..07b763a4f 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 695e27eb1..794142f08 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/import-vm.md b/docs/import-vm.md index 0caf0fa0e..2133f013d 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index ca7b2659a..6e0403a24 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index d01931c60..0c91d578b 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index 114f4cc91..e329724e3 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 897e35a72..0c803d27d 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index 1b60422c9..e65e6cdeb 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index b1b6f5858..030eadfca 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index a04ce030a..1508320fa 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index b9bacd1e1..e7729fc61 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index 36fde12c5..6176d04dd 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-discord.md b/docs/install-discord.md index 128b82457..a11a532e1 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-edge.md b/docs/install-edge.md index 4d6eae61d..437d97c04 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-edit.md b/docs/install-edit.md index c9fc5ce7a..5b58fb57f 100644 --- a/docs/install-edit.md +++ b/docs/install-edit.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index 7bc57ee29..232112f20 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index df8bdc93b..85ffc812a 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-fonts.md b/docs/install-fonts.md index 10baae887..8f6effc20 100644 --- a/docs/install-fonts.md +++ b/docs/install-fonts.md @@ -53,4 +53,4 @@ foreach ($font in $fontFiles) { Write-Output "Fonts have been installed successfully." ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index 0a932e454..5a99f37d3 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index 0239154e0..6218ba8e3 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index c2c1cb278..6239f9386 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index 65410da7d..1f80c5e5f 100644 --- a/docs/install-gitlab.md +++ b/docs/install-gitlab.md @@ -32,4 +32,4 @@ Script Content ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-h2static.md b/docs/install-h2static.md index 6375bc606..b23de1283 100644 --- a/docs/install-h2static.md +++ b/docs/install-h2static.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index 66d8ecb00..f19419128 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-jenkins-agent.md b/docs/install-jenkins-agent.md index 13b159578..d028256ca 100644 --- a/docs/install-jenkins-agent.md +++ b/docs/install-jenkins-agent.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index 6850ba8bd..dcb0f9b8d 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index 12ee04667..7c628e5f8 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-mini-dlna.md b/docs/install-mini-dlna.md index 114e88e9c..3b89ebbed 100644 --- a/docs/install-mini-dlna.md +++ b/docs/install-mini-dlna.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index 40ca2948f..f1f212552 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index f1de7cf9a..9c71cd8a2 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index 5176077bd..1f5c98d08 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -33,4 +33,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index fcb961c39..d8c7fad10 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index a1cf12238..af09d9ff2 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index 803f3828c..f6ef4cec9 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index eb07040a5..d0637fdd9 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index c00126ad9..f6b985ba1 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index 851c95902..a19fc289a 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -664,4 +664,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index b154bcf3d..0fb9df4b5 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index 4580a439e..dcec6c01b 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-scoop.md b/docs/install-scoop.md index 2dbcdae5e..f6719a7bc 100644 --- a/docs/install-scoop.md +++ b/docs/install-scoop.md @@ -21,4 +21,4 @@ Script Content Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index 3ab8ed6c3..bde689ed7 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index cbaeb6333..a2f445ed0 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index 46283386d..48f218b37 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index 1550e69f6..440ec31ef 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-syncthing.md b/docs/install-syncthing.md index 45a65a0e6..4f85b2c14 100644 --- a/docs/install-syncthing.md +++ b/docs/install-syncthing.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index a8aff437d..dde89e98e 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index 22cc029f9..1a720da3c 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-updates.md b/docs/install-updates.md index 74994079d..8088ee248 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -116,4 +116,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index 061b777de..feb44c0f1 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index a839fc3da..13ae85167 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index a2436c797..621c3b7fc 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index c9058d506..bd85702f3 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index 2ab48bb70..4abfe1af3 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index a6597b202..0efe822c7 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index 42b6e6937..cf822f68d 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/kill-process.md b/docs/kill-process.md index 760af489d..911c4b108 100644 --- a/docs/kill-process.md +++ b/docs/kill-process.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index 7fb8d5e55..a832d3586 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index bba0ebef4..284d69187 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/list-apps.md b/docs/list-apps.md index 59d111c27..1a1995544 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index 9b87ab575..101f22a26 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index 712c210dc..c4cabfc3e 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 11/20/2025 17:11:27)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index 6b408773f..c19d062ff 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/list-bios.md b/docs/list-bios.md index 9ab05f944..1df56a68e 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 14b800902..6f179508b 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/list-branches.md b/docs/list-branches.md index 0a74a2c4b..61666e8eb 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -109,4 +109,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index bc8d49de8..6451e0920 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -247,4 +247,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index 285c294d3..e334286f1 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index 0e5d90c7e..df8ab861a 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index cc380276d..ee9547a76 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -371,4 +371,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index 533d6b9a1..565d3ad25 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index 941aa1e9b..d1758d5d9 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index 94bf61dc6..e948a599e 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index 8283faeb8..2d087f628 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-commits.md b/docs/list-commits.md index 1c64ab31b..6d6ebfed5 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index ba46bd5ae..1f6aeff23 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-countries.md b/docs/list-countries.md index 1a1de6de6..67fbd6d80 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -52,4 +52,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index a041d2817..a5b35fadb 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index 65f6cc530..9a5ad6817 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index ae0dcca5b..7e0c742ca 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index 05511a77b..07ad01c45 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index ffc3ae0dc..47b9a5b5e 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-drives.md b/docs/list-drives.md index f10f4914a..0f74e5458 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index 7bbba3085..b954870c5 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index 353cb86ee..7239f9dda 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 9edbac43c..8e97ab6a9 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index 7e7e095fd..7359cea72 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index 919f6fc82..7706c37ed 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index cda479bb6..cf74fe897 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index d560ad290..42c221b6c 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index e5c54405d..42d899cd8 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-executables.md b/docs/list-executables.md index c9d32b58b..59d71be56 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index 2c191801c..abf76a942 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-files.md b/docs/list-files.md index ea1efd3a9..2c13795d1 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-folder.md b/docs/list-folder.md index 7fb317aa8..0d17c5747 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index 1aa5423b2..82d5fbc45 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index d7e5e942b..7ba4e4efd 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index 54b012b42..ba778e9c0 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index f5cc2bbf1..e3ded1e1b 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-installed-hotfixes.md b/docs/list-installed-hotfixes.md index 12da93704..e11c54624 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index 5b9bba6d7..b6547cc2c 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index 17955fbe2..8f82b1480 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index 38ff1345e..c43f3fd7c 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index d49af3632..427034410 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index bd8d64993..bf4701e15 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index 3ac890d00..322860ebe 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index d8293aead..3c54185ce 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index 1421ab6e7..ad566c1cc 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index 82a1ffd36..f15e83acd 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-memos.md b/docs/list-memos.md index 5e6b33d00..c6f225655 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index 103a26b7f..f6ab1c7ae 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index 564da10c6..6f17104b8 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index 07459d7e6..0482d91a1 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index bc55c27d2..d3f476bd3 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index 71c92d93f..064e5c15e 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-news.md b/docs/list-news.md index 9621d8dd9..b4def87b1 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-nic.md b/docs/list-nic.md index 4c9691cf4..6534ed714 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index dfda89ab1..046006157 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index 2485c46e2..d70775a93 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index 825f5c0c3..1e3653413 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index dd4b1803b..063fa05a2 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-os.md b/docs/list-os.md index 0b5172e3d..ba62fe870 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index 459f00463..579aa04d7 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index b40356008..2578fbe01 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index 8f128cbdc..d34036c9a 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index 070eda907..f02b24fc5 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index 1e9af7af3..4ef1dd5f7 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index f78168013..ba155e6e8 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index f55a4e933..6226b2786 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 4ddef7072..55552fa74 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-processes.md b/docs/list-processes.md index 46a3c8976..916475b45 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index 2213c2d01..dcc9fbd64 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-ram.md b/docs/list-ram.md index a1b81537b..bdebf9c6c 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index 07be7c316..25e7d6f17 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index 9f7fc29a3..ec631b261 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-repos.md b/docs/list-repos.md index 760cd6998..dd89adc05 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index 2b2bfa283..e64741d8c 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index 090f728b9..e4cfc21d9 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-services.md b/docs/list-services.md index a2cc00b84..7a6fdc906 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index 59c9dab63..4b3286fee 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index 2ced8301c..c1a0c7fcf 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 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index 14dcb0d1c..01a9b6190 100644 --- a/docs/list-ssh-key.md +++ b/docs/list-ssh-key.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:28)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index 606d8b854..b5ac5829e 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index 9a7cdbeb3..71f0d4d26 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index 03707811b..288d7cf0d 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index c688a6de8..e2ba1daf0 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index a4ce23353..07763482a 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-tags.md b/docs/list-tags.md index 32fc71dc1..4169c3181 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index a4fee262d..fecdb8dbe 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index d95b8e58e..469684b55 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 1fa85133c..912832da8 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index 5975f3b79..af629ec66 100644 --- a/docs/list-tiobe-index.md +++ b/docs/list-tiobe-index.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index 0e474c776..537e48634 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-updates.md b/docs/list-updates.md index 29f3cb886..e988c4b95 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index 03a2c9cbe..9973cbfd4 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index de3fa136d..3a7402056 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index a2c57b186..c8b62fc9a 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-voices.md b/docs/list-voices.md index 61f923a60..2f88ed555 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-weather.md b/docs/list-weather.md index a746e9d60..03a3affce 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -179,4 +179,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index 8bab8eadb..08767c728 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index aa65585fa..a7cf0ec0d 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index 2de464bd0..4de71c66f 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index e815e0303..194f2a5c3 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/locate-city.md b/docs/locate-city.md index cb162077b..8b9f425da 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index 23b0237ae..4094ae801 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -46,4 +46,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index addf6a357..a3775e369 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index d1678bec1..849a6ea50 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index 147ff0e92..f268061fd 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/log-off.md b/docs/log-off.md index 741306ff8..980c9d943 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/make-install.md b/docs/make-install.md index 4399583d7..777b22108 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index 245e07a13..7d12fe1c6 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index 7e998e511..95767831d 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index 484806337..a3cdcdf0c 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index 802d72839..37f64d483 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index aad6aef6f..19c3e3d06 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index 3717ca8f6..8a965fc39 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index a29239bec..5573d37b9 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index 5f5ffe76e..3958c8b86 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index 7638a87a0..7af8c5c7b 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index 92e8aa6d8..bb8411c21 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index 329c358af..9bc2ee0b8 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index e99a73938..82c7dd62a 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/move-vm.md b/docs/move-vm.md index d8c543c1f..70b1c16ea 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/my-profile.md b/docs/my-profile.md index 10f0d6fb7..b509cf5ed 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-branch.md b/docs/new-branch.md index 68ac70402..314bac209 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 4fa690052..fc6df91de 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-email.md b/docs/new-email.md index 5e8b48053..5ed213a49 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-image.md b/docs/new-image.md index d86927090..463641c3b 100644 --- a/docs/new-image.md +++ b/docs/new-image.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-junction.md b/docs/new-junction.md index 6a7c87989..42ef6011f 100644 --- a/docs/new-junction.md +++ b/docs/new-junction.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index 22acb1dbb..d9f33e67a 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-markdown-file.md b/docs/new-markdown-file.md index a72ba3ca5..c06d3f71e 100644 --- a/docs/new-markdown-file.md +++ b/docs/new-markdown-file.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-passwords.md b/docs/new-passwords.md index e2f0a38bf..18cd44c6d 100644 --- a/docs/new-passwords.md +++ b/docs/new-passwords.md @@ -115,4 +115,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-pins.md b/docs/new-pins.md index 20611b85a..5d787a66e 100644 --- a/docs/new-pins.md +++ b/docs/new-pins.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-power-plan.md b/docs/new-power-plan.md index 4e24133fe..ccda18f30 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-powershell-script.md b/docs/new-powershell-script.md index d2d42dd73..adcf4a7a4 100644 --- a/docs/new-powershell-script.md +++ b/docs/new-powershell-script.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 0861bc90f..16cb974fe 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -113,4 +113,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index e3c52a057..a13f116c9 100644 --- a/docs/new-reboot-task.md +++ b/docs/new-reboot-task.md @@ -144,4 +144,4 @@ Else If ((Get-ScheduledTask -TaskName $Taskname).State -eq "Disabled") {Enable-ScheduledTask -TaskName $TaskName} ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index 6735a0002..fd3010758 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index ad0654999..956dcbfa6 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-story.md b/docs/new-story.md index 836e124b6..8a40664af 100644 --- a/docs/new-story.md +++ b/docs/new-story.md @@ -63,4 +63,4 @@ while ($true) { & "$PSScriptRoot/write-typewriter.ps1" $(RandomSentence) 20 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index b796b6349..5fc3452ff 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-tab.md b/docs/new-tab.md index a4502e504..260440586 100644 --- a/docs/new-tab.md +++ b/docs/new-tab.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-tag.md b/docs/new-tag.md index b76db9f9d..aa2ac8c64 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* diff --git a/docs/new-text-file.md b/docs/new-text-file.md index 958203368..8b2fdbd41 100644 --- a/docs/new-text-file.md +++ b/docs/new-text-file.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/new-user.md b/docs/new-user.md index f1f729f7e..02de1fe2b 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index 1994ec656..71385b1f8 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index f58d8452d..57707f0dd 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 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-URL.md b/docs/open-URL.md index 86986358d..ea8ea0521 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index d5554307e..3799192d7 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -51,4 +51,4 @@ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index f09de9d11..af9c86393 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index dc4ead84a..900ea19bf 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index d0e5dce84..93d25efb0 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index db2fa5c73..a9e93ad96 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index 607d5546e..d94c28c36 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index a0d730c5b..4d12863c3 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-clock.md b/docs/open-clock.md index d21bc33e2..8955e1a5e 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index 532340794..4c04147e9 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index de326e590..acd7e5148 100644 --- a/docs/open-d-drive.md +++ b/docs/open-d-drive.md @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "D:" ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 457875bfc..531a2a27e 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index 1a5a48f71..3cf57f37e 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index b51cd44af..4b67110cb 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index d28e6ef4d..b98a1c2c5 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index 40f5f41a7..ed583fce9 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index 9ef05463f..5419e9e9a 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index b64bbbe82..26cc1050e 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index e626a63e1..f682eff57 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index e1072f916..e1683f566 100644 --- a/docs/open-e-drive.md +++ b/docs/open-e-drive.md @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "E:" ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-edge.md b/docs/open-edge.md index 533cbd031..0d44b7c9e 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -50,4 +50,4 @@ Start-Process microsoft-edge:// exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index 3af497778..3149fb0c3 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index cadee1572..18147e234 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index 12aee05b3..77a2f2be9 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index 376a00a1c..2aaf46a00 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index a638e3ab8..6733ce64c 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index 9f76e79dc..7a394aa90 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index aee8af7fd..287451316 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index 9d22d93b1..d1535cb97 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index 46622b998..2258d995f 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index 16f1bbaab..b6421566b 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index f3247bd6c..a83aed248 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index 407310d72..7ba002135 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index 596c32553..610d91246 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 5268488a1..2726f7631 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index 279eceb5a..0cf40330f 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index 2f66d0be1..4fc32c474 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index 8d01b3015..acad3bc36 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index 8ad25e752..70a54f549 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index 6f235c788..81d37c869 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index 2742f1146..9d8c1d070 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index 5436c0d5e..0e9055a9e 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index b0928a206..10d8e2ab3 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index 61a5e2975..5256f841b 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 8fb5ebaea..16ad8565c 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index 0764a5aa7..2f773539a 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index fbbf49782..b21c07d31 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index a97cfb2df..58cd15175 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index 71d4c5280..f323e7092 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index 42a6d72b2..829a20bf6 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -50,4 +50,4 @@ Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index 09224f8af..7d5c5f250 100644 --- a/docs/open-microsoft-store.md +++ b/docs/open-microsoft-store.md @@ -50,4 +50,4 @@ Start-Process ms-windows-store: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index 380eef224..6bf406f93 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index 2cf8bce53..3b85c3a45 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index a9683a542..8a7680206 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -50,4 +50,4 @@ Start-Process netflix: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index 9216b4f78..eefbb1a5a 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index e27e7c33c..c51af54e1 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index 654411db9..e61d8e0bc 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index 4b5a919ce..6afbd6be4 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index a42cb0b33..bc96dc66e 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index 5fe136e64..aef127674 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index a52d213e6..7d1be48f9 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index 85c42e0c1..f3509efa4 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -67,4 +67,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index af8cb4d04..1a877349f 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index fc28c05f8..44f4c0fa2 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 9e237ddb2..45d96598e 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:29)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index 6b53b37a1..0b30ec9c6 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index 51f83b841..ec8d1e5d8 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-skype.md b/docs/open-skype.md index 141c9221a..99bacb7b4 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index 2bb361f78..a243a0302 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -50,4 +50,4 @@ Start-Process SnippingTool.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index 18483e69a..0a0bae854 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index 81b84fc7d..dfa70355d 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -50,4 +50,4 @@ Start-Process spotify: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index 6aeb42f26..02ccf507e 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index adff0c88c..2569282f5 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index d09d96787..72bd70bb1 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index 08951c059..32b85cf21 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index b74b2249b..514540c22 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index 73ff4ef5e..27124c467 100644 --- a/docs/open-three-d-viewer.md +++ b/docs/open-three-d-viewer.md @@ -50,4 +50,4 @@ Start-Process com.microsoft.3dviewer: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index 369daa65b..8ce85faa2 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index 6862a75cf..d241a706e 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index a853ea9e0..8c242ab20 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index 11047481c..286036b9a 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 979914011..5c3771ff3 100644 --- a/docs/open-vpn-settings.md +++ b/docs/open-vpn-settings.md @@ -50,4 +50,4 @@ Start-Process ms-settings:network-vpn exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index 241b5913f..a9a4b23c6 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -50,4 +50,4 @@ Start-Process windowsdefender: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index 4c99dc446..5ba8a1f83 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -50,4 +50,4 @@ Start-Process wt.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-windy.md b/docs/open-windy.md index 898a7067c..af9db597c 100644 --- a/docs/open-windy.md +++ b/docs/open-windy.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/open-xing.md b/docs/open-xing.md index a47e16214..bae5e1e67 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index a764e630f..3398a844d 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/ping-host.md b/docs/ping-host.md index 8e8844182..e196855c0 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index 81c4bb023..93bf95d0f 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index ad69e9769..693d108ad 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index 9738b6548..44d2386ee 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/play-ascii-video.md b/docs/play-ascii-video.md index 2b54e9483..46004e655 100644 --- a/docs/play-ascii-video.md +++ b/docs/play-ascii-video.md @@ -52,4 +52,4 @@ if ($IsLinux -or $IsMacOS) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index fc0e1323e..7cab625fd 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index 6e0b0b515..4e471b0f6 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index 1d1596641..ba41549f5 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index bfdd08090..f5b00949d 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/play-chess.md b/docs/play-chess.md index cf30fff91..dc1c79a51 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index 3c598334b..466d5e19b 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index 7256ba490..9363468c8 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index 6e24040e0..2c06ef3f2 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* diff --git a/docs/play-drug-wars.md b/docs/play-drug-wars.md index 9da8e3f48..e5c0e29ae 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index 7622f95f5..ac94217b5 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index f954b2670..697339e57 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-files.md b/docs/play-files.md index 18b173cf5..48f16e3c1 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index 9cc967367..6e2ecbcda 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index 2eadfd60a..679873f51 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index 7f032f859..a1f5e9bde 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index dd1f3242c..954427104 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 0dbe4dc37..66a0a21f7 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index edc28ba8c..5c4602fe2 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index b3c1c3156..346a30381 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index c4fecd309..b8ae78004 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index abc81a275..d4835a07d 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index 54a7a49c7..8e1e278b8 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index 5d76831e3..32a9e7b42 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index efe136ad3..a3050995c 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index debcbfa22..da484cd9a 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-pong.md b/docs/play-pong.md index 4a089e284..839f2c8b2 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index 299b6f5e5..6abfe1935 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 660b323fe..96c405379 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -56,4 +56,4 @@ if ($IsLinux -or $IsMacOS) { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-snake.md b/docs/play-snake.md index 232b26256..613479dc3 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index ae06af0c0..4a23b8832 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index 77261de9d..7389aeb7c 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index d501babe1..d51d22030 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-tetris.md b/docs/play-tetris.md index 31dcc112c..63bf6884d 100644 --- a/docs/play-tetris.md +++ b/docs/play-tetris.md @@ -719,4 +719,4 @@ while (-not $IAsyncResult.IsCompleted) { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index 72468bf01..9af040b5c 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index 66d2cbb8c..dce2f5dd3 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/poweroff.md b/docs/poweroff.md index 256fc927e..d181f9d90 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/print-image.md b/docs/print-image.md index 5c2734443..f1a572497 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index ec6b9a49d..ccb437b50 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index 7bd76d576..bfc90b8e9 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index afafa65a7..d97c84b57 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index 3d2671627..4506bacf8 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index 0b16f5b2c..ff919e21c 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/reboot-into-bios.md b/docs/reboot-into-bios.md index 64bc79915..64bec7c07 100644 --- a/docs/reboot-into-bios.md +++ b/docs/reboot-into-bios.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/reboot.md b/docs/reboot.md index 71494e572..054b7dcc0 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/remember.md b/docs/remember.md index 8f714a4e1..56d1c414d 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/remind-me.md b/docs/remind-me.md index cb5203ba0..477946391 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/remove-bluetooth-device.md b/docs/remove-bluetooth-device.md new file mode 100644 index 000000000..31b8f8d92 --- /dev/null +++ b/docs/remove-bluetooth-device.md @@ -0,0 +1,97 @@ +The 'remove-bluetooth-device.ps1' Script +======================== + +This PowerShell script removes a Bluetooth device from the local computer. + +Parameters +---------- +```powershell +PS> ./remove-bluetooth-device.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./remove-bluetooth-device.ps1 + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Removes a Bluetooth device +.DESCRIPTION + This PowerShell script removes a Bluetooth device from the local computer. +.EXAMPLE + PS> ./remove-bluetooth-device.ps1 +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +$Source = @" + [DllImport("BluetoothAPIs.dll", SetLastError = true, CallingConvention = CallingConvention.StdCall)] + [return: MarshalAs(UnmanagedType.U4)] + static extern UInt32 BluetoothRemoveDevice(IntPtr pAddress); + public static UInt32 Unpair(UInt64 BTAddress) { + GCHandle pinnedAddr = GCHandle.Alloc(BTAddress, GCHandleType.Pinned); + IntPtr pAddress = pinnedAddr.AddrOfPinnedObject(); + UInt32 result = BluetoothRemoveDevice(pAddress); + pinnedAddr.Free(); + return result; + } +"@ + +function Get-BTDevice { + Get-PnpDevice -class Bluetooth | + ?{$_.HardwareID -match 'DEV_'} | + select Status, Class, FriendlyName, HardwareID, + # Extract device address from HardwareID + @{N='Address';E={[uInt64]('0x{0}' -f $_.HardwareID[0].Substring(12))}} +} + +################## Execution Begins Here ################ + +$BTR = Add-Type -MemberDefinition $Source -Name "BTRemover" -Namespace "BStuff" -PassThru +$BTDevices = @(Get-BTDevice) # Force array if null or single item + +Do { + If ($BTDevices.Count) { + "`n******** Bluetooth Devices ********`n" | Write-Host + For ($i=0; $i -lt $BTDevices.Count; $i++) { + ('{0,5} - {1} ({2}/{3}/{4})' -f ($i+1), $BTDevices[$i].FriendlyName, $BTDevices[$i].Status, $BTDevices[$i].Class, $BTDevices[$i].Address) | Write-Host + } + $selected = Read-Host "`nSelect a device to remove (0 to Exit)" + If ([int]$selected -in 1..$BTDevices.Count) { + 'Removing device: {0}' -f $BTDevices[$Selected-1].FriendlyName | Write-Host + $Result = $BTR::Unpair($BTDevices[$Selected-1].Address) + If (!$Result) { + "Device removed successfully." | Write-Host + } Else { + ("Sorry, an error occured. Return was: {0}" -f $Result) | Write-Host + } + } + } Else { + "`n********* No devices found ********" | Write-Host + } +} While (($BTDevices = @(Get-BTDevice)) -and [int]$selected) +Write-Host "`n`nPress any key to exit..."; +$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown'); +``` + +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/remove-dir.md b/docs/remove-dir.md index 5f5074b86..dcf4153d9 100644 --- a/docs/remove-dir.md +++ b/docs/remove-dir.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index e7f3fc23c..dba3344b0 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index 7a6cbeaf2..da7844f10 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 415d07530..9baa2bfe5 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index b942c957a..9c32c60a2 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/remove-user.md b/docs/remove-user.md index 5cadcc828..c4d7fd453 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index 73227a1b9..795460397 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index 1e26f279d..7370b5383 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index 4c7f94a25..b4627d954 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index 6cd2c62cc..abcbbd570 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index d265d463e..18cc90d5f 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 246eda1f6..870b83c64 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index 0986e68b2..728ee9683 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/scan-network.md b/docs/scan-network.md index e2b798a51..8b0413a08 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index 803aab718..72549962e 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/search-filename.md b/docs/search-filename.md index cfabfc2ed..c660820b8 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/search-files.md b/docs/search-files.md index 1a2cacdb9..fae8bfda4 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/search-repo.md b/docs/search-repo.md index d5b859436..8cda04cee 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/send-email.md b/docs/send-email.md index deaab8fc8..be587226f 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -126,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index e67d3fda1..501cbe08c 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/send-udp.md b/docs/send-udp.md index 1856524b4..a21c924c4 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/set-timer.md b/docs/set-timer.md index 0ee42c79f..be2835afd 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/set-volume.md b/docs/set-volume.md index 90e59bb05..2fa7b0c8b 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index 2dbe72d7b..f600555cb 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index 2ba408888..a560e4f9d 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index d41bbfde2..50867eca8 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/show-notification.md b/docs/show-notification.md index e1e3179c4..0e7539041 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index 82016a636..d45f3bdaa 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 11/20/2025 17:11:30)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index 95519a62a..72c7cc5c8 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index 83771e1e1..c2c6aedd5 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -142,4 +142,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 46376d8e2..fb5dac7a0 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index ec92439be..e481f76bc 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index ddacf18c5..639abf1e3 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index f178d5933..82d5ce8ff 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index fa5832ac8..0aa07751d 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index 5e71f9845..c39ee771e 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-english.md b/docs/speak-english.md index dba5d286e..c0b43b487 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index 26f9fe757..623e4f3e7 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -142,4 +142,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index ea9f9d419..3decef3b4 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-file.md b/docs/speak-file.md index e3fc5b7b2..2c79f6e61 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index b9e0eb2dc..178a34a37 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-french.md b/docs/speak-french.md index b4bd483fc..47d05f9b1 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-german.md b/docs/speak-german.md index d66fc2f45..d3cdcf43c 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index 933c7a2cb..973d1d66f 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index 31af144cf..8823e886b 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index 0df9004c6..7bbcfda03 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index a9d09f36c..cffa10f3e 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index ed51d49a7..ba97faf96 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index 987c0ce8b..6f078b066 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index 3cf900c80..166b86dc5 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index 22ec2601f..8f642bfd3 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 339d114cd..4479324e3 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index cbe131894..a973a80ca 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index 0214471c7..9d6979bf8 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index 67443dec2..8204d2da2 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index edc1aa974..ac6780f7d 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index 6b8c4feef..37b13c4db 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/speak-test.md b/docs/speak-test.md index 5f2fae1cc..0b1631336 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/speak-text.md b/docs/speak-text.md index b3bb0aa00..0461e0793 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index 9e706d578..42ea00442 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index 22398139b..5d9d8a4a0 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index 65c544119..968d3032c 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/spell-word.md b/docs/spell-word.md index d68a93cc7..d8dcc269c 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index 61ff3c99c..e03d3e352 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/suspend.md b/docs/suspend.md index 86d807d2e..15e6bedce 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index bc4a70d2a..cc9b7bd7f 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -128,4 +128,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index c630f3b48..18f913d1c 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index f8515431c..e04622462 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/sync-dir.md b/docs/sync-dir.md index 1ca04fd48..33849df18 100644 --- a/docs/sync-dir.md +++ b/docs/sync-dir.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index cde389946..89637e975 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index acbe6d7f2..f414c30a6 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index 7b356c700..bb620c5da 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index 2a16c22b7..ec301bbbd 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index 4b6a59e37..0ed73d6d1 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index 8ecf89c5b..3e2b5a6e1 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index 64485b11a..b6bc12806 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/touch.md b/docs/touch.md index fd866ec7f..6952b31f5 100644 --- a/docs/touch.md +++ b/docs/touch.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/translate-file.md b/docs/translate-file.md index 883b421a0..af078829a 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/translate-files.md b/docs/translate-files.md index e7b9342e8..9eb37f091 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/translate-text.md b/docs/translate-text.md index a0c2e0d06..2fdbaa00f 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index 00859451c..ecbd4347f 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index d25ece9ec..fa22b70cc 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index aeabd0f96..beb6bdfb4 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index 66111cbd3..228f91ee2 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index 7b9525b33..91b363cfd 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index db77cf53b..2495c0365 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index 093f4cbfb..ab0a71264 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/uninstall-new-outlook.md b/docs/uninstall-new-outlook.md index ed9f3ad3b..54725eba7 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/uninstall-outlook.md b/docs/uninstall-outlook.md index 6009ed360..e835777b3 100644 --- a/docs/uninstall-outlook.md +++ b/docs/uninstall-outlook.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index a0f66bc8c..363b71d22 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index e1565d4b4..7707bc893 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/upload-file.md b/docs/upload-file.md index 2605cb3e2..bd4526e79 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -149,4 +149,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index ac530f936..ccda123c5 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/vi.md b/docs/vi.md index 51ca10c5d..5277089fb 100644 --- a/docs/vi.md +++ b/docs/vi.md @@ -91,4 +91,4 @@ Write-Host "" exit 1 ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index 187647344..a2eb485d2 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/wake-up-human.md b/docs/wake-up-human.md index d0a6a0c15..ead8b5950 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index 4f81ad4f1..a2581ceea 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/watch-crypto-rates.md b/docs/watch-crypto-rates.md index 71b0a1369..6435b44dd 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/watch-file.md b/docs/watch-file.md index 34e10cf3e..bb7d47317 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/watch-host.md b/docs/watch-host.md index c2b98ec89..75ae7db86 100644 --- a/docs/watch-host.md +++ b/docs/watch-host.md @@ -147,4 +147,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/watch-news.md b/docs/watch-news.md index f6cc1d510..910f4471c 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -6,7 +6,7 @@ This PowerShell script continuously lists the latest headlines by using a RSS (R Parameters ---------- ```powershell -PS> ./watch-news.ps1 [[-URL] ] [[-updateInterval] ] [] +PS> ./watch-news.ps1 [[-URL] ] [[-updateInterval] ] [[-speed] ] [] -URL Specifies the URL to the RSS feed (default: https://news.yahoo.com/rss/world) @@ -28,6 +28,15 @@ PS> ./watch-news.ps1 [[-URL] ] [[-updateInterval] ] [ + + Required? false + Position? 3 + Default value 10 + 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. @@ -38,13 +47,6 @@ Example ```powershell PS> ./watch-news.ps1 - - -TIME NEWS (source: https://www.yahoo.com/news/world, UTC times) ----- ---- -14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria -... - ``` Notes @@ -69,18 +71,13 @@ Script Content Specifies the update interval in seconds (default: 60 seconds) .EXAMPLE PS> ./watch-news.ps1 - - TIME NEWS (source: https://www.yahoo.com/news/world, UTC times) - ---- ---- - 14:29 Niger coup: Ecowas deadline sparks anxiety in northern Nigeria - ... .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$URL = "https://news.yahoo.com/rss/world", [int]$updateInterval = 60) # in seconds +param([string]$URL = "https://news.yahoo.com/rss/world", [int]$updateInterval = 60, [int]$speed = 10) function PrintNewerHeadlines([xml]$content, [string]$latestTimestamp, [string]$icon) { $items = $content.rss.channel.item @@ -91,7 +88,7 @@ function PrintNewerHeadlines([xml]$content, [string]$latestTimestamp, [string]$i if ($pubDate -le $latestTimestamp) { continue } $title = $item.title -replace "â","'" $time = $pubDate.Substring(11, 5) - Write-Host "$time $title$icon" + & "$PSScriptRoot/write-animated.ps1" "$title ($time)$icon" $speed if ($pubDate -gt $newLatest) { $newLatest = $pubDate } } return $newLatest @@ -100,10 +97,8 @@ function PrintNewerHeadlines([xml]$content, [string]$latestTimestamp, [string]$i try { [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content $webLink = $content.rss.channel.link - Write-Host "`nTIME NEWS (source: " -noNewline - Write-Host $webLink -foregroundColor blue -noNewline - Write-Host ", UTC times)" - Write-Host "---- ----" + & "$PSScriptRoot/write-animated.ps1" "Source: $webLink" $speed + & "$PSScriptRoot/write-animated.ps1" "-----------------------------" $speed $latestTimestamp = "2000-01-01" $icon = "" do { @@ -119,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index 1e303f791..325a24d98 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -137,4 +137,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/weather-report.md b/docs/weather-report.md index 9b7f6c9bb..f068f55b7 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/weather.md b/docs/weather.md index 1c1f07ce7..ac46c0d58 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/what-is.md b/docs/what-is.md index 6a818dc74..56acf7790 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/windefender.md b/docs/windefender.md index a67b11358..2d91804b4 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -82,4 +82,4 @@ break } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-animated.md b/docs/write-animated.md index 00673de18..60dc76576 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index 59119f322..3ee524f7f 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-big.md b/docs/write-big.md index 044e2a732..ce6c22015 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -472,4 +472,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-blue.md b/docs/write-blue.md index 1dc75d307..d03e50da3 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-braille.md b/docs/write-braille.md index 1fd0e84c1..4b658d2a6 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -409,4 +409,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-centered.md b/docs/write-centered.md index 35df72974..0fb74de92 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index 0138c6719..905f72149 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-chart.md b/docs/write-chart.md index d0ad08e05..ef15d9c4d 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-clock.md b/docs/write-clock.md index 8b9c8dfb6..fb9afc6a1 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-code.md b/docs/write-code.md index 969c40dc3..40e02d871 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-credits.md b/docs/write-credits.md index 90083a048..f6fa793fa 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-date.md b/docs/write-date.md index e000a1ee9..868307b7c 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index 8412ce1c5..feeb28600 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-green.md b/docs/write-green.md index 5c2eb2120..301c12b71 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index 77a989621..5d1854e88 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-headline.md b/docs/write-headline.md index 780d1e36b..c10460345 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-help.md b/docs/write-help.md index 877a0165f..b6a728646 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -69,4 +69,4 @@ White "████████████████████████ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index 5e42e8dc3..e0b1f9d55 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 971b60fa2..d1f596c43 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-location.md b/docs/write-location.md index 375759eab..38f52d8ad 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index 19e00d632..bc7b7731b 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index cc5fd9532..1a97a4e89 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index 3e3e1f8ef..c6b24d3d0 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-moon.md b/docs/write-moon.md index 63b29a432..0d3c00636 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index 5e23b2253..b3154e428 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-motd.md b/docs/write-motd.md index 92cb88d93..c400f85ac 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-pi.md b/docs/write-pi.md index 3d0dc4b5c..be01ef406 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-progress-bar.md b/docs/write-progress-bar.md index 9902e7236..9dfb8adf8 100644 --- a/docs/write-progress-bar.md +++ b/docs/write-progress-bar.md @@ -55,4 +55,4 @@ for ([int]$i = 0; $i -lt 150; $i++) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index ef2a8aa34..c121f05d1 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 11/20/2025 17:11:31)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 3a253e4d9..71065407f 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* diff --git a/docs/write-red.md b/docs/write-red.md index 92bae7f29..a8a162fd3 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 11/20/2025 17:11:32)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index d1efda915..aef680618 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* diff --git a/docs/write-shit.md b/docs/write-shit.md index 9ca70b23f..c93548ccf 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 11/20/2025 17:11:32)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index 81cd603f4..8aeadc6db 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 11/20/2025 17:11:32)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* diff --git a/docs/write-skull.md b/docs/write-skull.md index acf7afb7e..e732006c6 100644 --- a/docs/write-skull.md +++ b/docs/write-skull.md @@ -70,4 +70,4 @@ WriteLine "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* diff --git a/docs/write-story.md b/docs/write-story.md index 5d4ea2ccf..44996917c 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 11/20/2025 17:11:32)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* diff --git a/docs/write-time.md b/docs/write-time.md index 2c6d0c1c9..26018d64b 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index 350a3e3d4..3098965f4 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index 9a70e477a..06608d27c 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 11/20/2025 17:11:32)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* diff --git a/docs/write-value.md b/docs/write-value.md index 0679a3000..268dffb45 100644 --- a/docs/write-value.md +++ b/docs/write-value.md @@ -170,4 +170,4 @@ Write-Host "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index 180da4dce..6a2084903 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/20/2025 17:11:32)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md index 7a5e14646..de6c0148f 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 11/20/2025 17:11:32)* +*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* diff --git a/scripts/remove-bluetooth-device.ps1 b/scripts/remove-bluetooth-device.ps1 old mode 100644 new mode 100755 From 81d4ea36f999a06bf036f1f363dfc68abadea4fb Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 11 Dec 2025 09:11:41 +0100 Subject: [PATCH 532/737] Updated abbreviations --- data/dicts/aviation.csv | 1 + data/dicts/military.csv | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/data/dicts/aviation.csv b/data/dicts/aviation.csv index b8d51b7a4..0c2f99036 100644 --- a/data/dicts/aviation.csv +++ b/data/dicts/aviation.csv @@ -98,6 +98,7 @@ ALSF1,ALS with Sequenced Flashers I ALSF2,ALS with Sequenced Flashers II ALSIP,Approach Lighting System Improvement Plan ALTRV,Altitude Reservation +ALZ,Assault Landing Zone AM,Airfield Management AMAN,Arrival Manager AMASS,Airport Movement Area Safety System diff --git a/data/dicts/military.csv b/data/dicts/military.csv index f5c2a4080..de9b8ef88 100644 --- a/data/dicts/military.csv +++ b/data/dicts/military.csv @@ -282,7 +282,6 @@ FMR,Financial Management Regulation FMS,Foreign Military Sale (US) FMWG,Financial Management Working Group FOB,Forward Operating Base -FOB,Forward Operating Base FOC,Final Operating Capabilities FOD,Foreign Object Damage FOS,Forward Operating Site From 3f73ad756616695632799c0d85579ca06ae58490 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 11 Dec 2025 09:34:18 +0100 Subject: [PATCH 533/737] Updated general.csv --- data/dicts/general.csv | 1 - 1 file changed, 1 deletion(-) diff --git a/data/dicts/general.csv b/data/dicts/general.csv index 804f07f0c..28b1b49c6 100644 --- a/data/dicts/general.csv +++ b/data/dicts/general.csv @@ -1047,7 +1047,6 @@ DEA,Drug Enforcement Administration DEA,Drug Enforcement Agency DEC,"Department of Environmental Conservation,Digital Equipment Corporation,Disasters Emergency Committee" DeCA,(U.S.) Defense Commissary Agency -DEFCON,Defence readiness condition DEFRA,"(UK) Department for Environment,Food and Rural Affairs" DELT,Dual Ended Line Test (ing) DEM,"Data Exchange Mechanism,Digital Elevation Model" From b01a456e7d48200eaa533b85fc02cde25f275dab Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 11 Dec 2025 13:34:15 +0100 Subject: [PATCH 534/737] Updated watch-news.ps1 --- scripts/watch-news.ps1 | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/scripts/watch-news.ps1 b/scripts/watch-news.ps1 index 0263cb6dd..fcd5ab531 100755 --- a/scripts/watch-news.ps1 +++ b/scripts/watch-news.ps1 @@ -2,13 +2,19 @@ .SYNOPSIS Watch the news .DESCRIPTION - This PowerShell script continuously lists the latest headlines by using a RSS (Really Simple Syndication) feed. + This PowerShell script continuously lists the latest news by using a RSS (Really Simple Syndication) feed. .PARAMETER URL Specifies the URL to the RSS feed (default: https://news.yahoo.com/rss/world) .PARAMETER updateInterval - Specifies the update interval in seconds (default: 60 seconds) + Specifies the update interval in seconds (default: 60) +.PARAMETER speed + Specifies the animation speed in milliseconds (default: 10) .EXAMPLE PS> ./watch-news.ps1 + Yahoo News - Latest News & Headlines (https://www.yahoo.com/news/world, UTC times) + ----------------------------- + Swiss yodelling joins world cultural heritage list (12:07) + ... .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -34,8 +40,9 @@ function PrintNewerHeadlines([xml]$content, [string]$latestTimestamp, [string]$i try { [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content + $title = $content.rss.channel.title $webLink = $content.rss.channel.link - & "$PSScriptRoot/write-animated.ps1" "Source: $webLink" $speed + & "$PSScriptRoot/write-animated.ps1" "$title ($webLink, UTC times)" $speed & "$PSScriptRoot/write-animated.ps1" "-----------------------------" $speed $latestTimestamp = "2000-01-01" $icon = "" From da5d746de10690219923bd1224d2d122615a13a7 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 23 Dec 2025 12:33:50 +0100 Subject: [PATCH 535/737] Updated build-repo.ps1 --- scripts/build-repo.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index ea5d82670..4a816f9c6 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -33,9 +33,9 @@ function BuildFolder([string]$path) { & cmake .. if ($lastExitCode -ne 0) { throw "Executing 'cmake ..' failed with exit code $lastExitCode" } - "⏳ (2/3) Building $dirName by executing 'make -j4'..." - & make -j4 - if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } + "⏳ (2/3) Building $dirName by executing 'make'..." + & make + if ($lastExitCode -ne 0) { throw "Executing 'make' failed with exit code $lastExitCode" } "⏳ (3/3) Testing $dirName by executing 'ctest -V'... (if tests are provided)" & ctest -V From 231ab1c4d77498cdcb5e8020f46e792756719017 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 25 Dec 2025 19:12:47 +0000 Subject: [PATCH 536/737] Add PowerShell Commander GUI application - Modern dark-themed GUI built with CustomTkinter - Category-based organization (Files, Computer, Network, Audio, Apps, Dev, Utils, Custom) - Script manager for adding/removing scripts from categories - Interactive input support via dialog boxes for scripts that need parameters - Real-time output console with scrolling - Script dump folder for storing custom scripts - Windows auto-start batch scripts (install/uninstall) - Pre-configured with 60+ commonly used scripts across all categories --- gui/README.md | 139 ++++++ gui/config/scripts_config.json | 511 +++++++++++++++++++ gui/install_startup.bat | 36 ++ gui/powershell_commander.py | 888 +++++++++++++++++++++++++++++++++ gui/requirements.txt | 4 + gui/script_dump/.gitkeep | 3 + gui/start_commander.bat | 32 ++ gui/uninstall_startup.bat | 20 + 8 files changed, 1633 insertions(+) create mode 100644 gui/README.md create mode 100644 gui/config/scripts_config.json create mode 100644 gui/install_startup.bat create mode 100644 gui/powershell_commander.py create mode 100644 gui/requirements.txt create mode 100644 gui/script_dump/.gitkeep create mode 100644 gui/start_commander.bat create mode 100644 gui/uninstall_startup.bat diff --git a/gui/README.md b/gui/README.md new file mode 100644 index 000000000..e1fc0d1f2 --- /dev/null +++ b/gui/README.md @@ -0,0 +1,139 @@ +# PowerShell Commander + +A modern dark-themed GUI for managing and running PowerShell scripts. + +![CustomTkinter](https://img.shields.io/badge/CustomTkinter-5.2+-blue) +![Python](https://img.shields.io/badge/Python-3.8+-green) + +## Features + +- **Dark Modern UI**: Built with CustomTkinter for a sleek, modern interface +- **Category Organization**: Scripts organized into Files, Computer, Network, Audio, Apps, Dev, Utils, and Custom categories +- **Script Manager**: Add/remove scripts from categories through a visual interface +- **Interactive Scripts**: Full support for scripts that require user input via dialog boxes +- **Output Console**: Real-time script output display with scrolling +- **Script Dump Folder**: Store all your scripts in one place, then pick which ones to show in the GUI +- **Windows Startup**: Auto-launch when Windows starts + +## Installation + +### Prerequisites + +- Python 3.8 or higher +- PowerShell 5.1+ (Windows) or PowerShell Core (Linux/macOS) + +### Quick Start + +1. Install dependencies: + ```bash + pip install -r requirements.txt + ``` + +2. Run the application: + ```bash + python powershell_commander.py + ``` + +### Windows Auto-Start + +To make PowerShell Commander start with Windows: + +1. Run `install_startup.bat` +2. Done! The app will now launch when Windows starts + +To remove from startup: +- Run `uninstall_startup.bat` + +## Usage + +### Categories + +- **Files**: File and folder operations (create, delete, zip, convert) +- **Computer**: System monitoring (CPU, RAM, drives, processes) +- **Network**: Network tools (DNS, ping, VPN, WiFi) +- **Audio**: Sound controls (volume, text-to-speech, play audio) +- **Apps**: Application management (open, close, install) +- **Dev**: Development tools (Git operations, build, clean) +- **Utils**: Utilities (weather, news, hash, screenshot) +- **Custom**: Your personal scripts + +### Managing Scripts + +1. Click **"Manage Scripts"** in the header +2. Search for scripts in the left panel +3. Select a category from the dropdown +4. Click **"Add"** to add a script to the category +5. Click **"Remove"** to remove a script from a category + +### Adding Custom Scripts + +1. Place your `.ps1` scripts in the `script_dump` folder +2. Open Script Manager +3. Find your script and add it to the desired category +4. Edit `config/scripts_config.json` to customize display name, description, and input prompts + +### Interactive Scripts + +For scripts that require user input, configure them in `scripts_config.json`: + +```json +{ + "name": "my-script", + "display_name": "My Script", + "description": "Does something cool", + "requires_input": true, + "input_prompts": [ + { + "name": "path", + "label": "Enter Path", + "placeholder": "C:\\path\\to\\folder", + "default": "" + } + ] +} +``` + +## Configuration + +The main configuration file is `config/scripts_config.json`. You can: + +- Add/remove categories +- Customize category icons and descriptions +- Configure which scripts appear in each category +- Set up input prompts for interactive scripts +- Adjust window size and scripts per row + +## File Structure + +``` +gui/ +├── powershell_commander.py # Main application +├── requirements.txt # Python dependencies +├── start_commander.bat # Windows launcher +├── install_startup.bat # Add to Windows startup +├── uninstall_startup.bat # Remove from startup +├── config/ +│ └── scripts_config.json # Category/script configuration +└── script_dump/ # Custom scripts folder +``` + +## Keyboard Shortcuts + +- **Enter**: Submit input dialogs +- **Escape**: Cancel input dialogs + +## Troubleshooting + +### "Python not found" +Install Python from https://python.org and ensure it's added to PATH. + +### "customtkinter not found" +Run: `pip install customtkinter` + +### Scripts not running +- Ensure PowerShell execution policy allows scripts +- Run: `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser` + +## License + +CC0 - Public Domain diff --git a/gui/config/scripts_config.json b/gui/config/scripts_config.json new file mode 100644 index 000000000..0d1e3a76a --- /dev/null +++ b/gui/config/scripts_config.json @@ -0,0 +1,511 @@ +{ + "categories": { + "Files": { + "icon": "📁", + "description": "File and folder operations", + "scripts": [ + { + "name": "new-dir", + "display_name": "Create New Folder", + "description": "Create a new directory", + "requires_input": true, + "input_prompts": [ + {"name": "path", "label": "Folder Path", "placeholder": "Enter folder path to create"} + ] + }, + { + "name": "remove-empty-dirs", + "display_name": "Remove Empty Folders", + "description": "Delete all empty directories", + "requires_input": true, + "input_prompts": [ + {"name": "path", "label": "Root Path", "placeholder": "Enter root folder to scan"} + ] + }, + { + "name": "list-files", + "display_name": "List Files", + "description": "List all files in a directory", + "requires_input": true, + "input_prompts": [ + {"name": "path", "label": "Folder Path", "placeholder": "Enter folder to list"} + ] + }, + { + "name": "search-files", + "display_name": "Search Files", + "description": "Search for files by pattern", + "requires_input": true, + "input_prompts": [ + {"name": "pattern", "label": "Search Pattern", "placeholder": "*.txt, *.pdf, etc."} + ] + }, + { + "name": "convert-dir2zip", + "display_name": "Folder to ZIP", + "description": "Compress a folder to ZIP", + "requires_input": true, + "input_prompts": [ + {"name": "path", "label": "Folder Path", "placeholder": "Folder to compress"} + ] + }, + { + "name": "convert-txt2md", + "display_name": "TXT to Markdown", + "description": "Convert text files to markdown", + "requires_input": true, + "input_prompts": [ + {"name": "path", "label": "File Path", "placeholder": "Text file to convert"} + ] + }, + { + "name": "count-files", + "display_name": "Count Files", + "description": "Count files in a folder", + "requires_input": true, + "input_prompts": [ + {"name": "path", "label": "Folder Path", "placeholder": "Folder to count"} + ] + }, + { + "name": "list-folder", + "display_name": "Folder Contents", + "description": "Show folder tree structure", + "requires_input": true, + "input_prompts": [ + {"name": "path", "label": "Folder Path", "placeholder": "Folder to display"} + ] + } + ] + }, + "Computer": { + "icon": "💻", + "description": "System management and monitoring", + "scripts": [ + { + "name": "check-cpu", + "display_name": "Check CPU", + "description": "Display CPU information and usage", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "check-ram", + "display_name": "Check RAM", + "description": "Display memory usage", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "check-drives", + "display_name": "Check Drives", + "description": "Show drive space and health", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "check-health", + "display_name": "System Health", + "description": "Full system health check", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "list-processes", + "display_name": "List Processes", + "description": "Show running processes", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "list-apps", + "display_name": "List Apps", + "description": "Show installed applications", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "list-os", + "display_name": "OS Info", + "description": "Display operating system info", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "poweroff", + "display_name": "Shutdown", + "description": "Shut down the computer", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "reboot", + "display_name": "Restart", + "description": "Restart the computer", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "hibernate", + "display_name": "Hibernate", + "description": "Put computer to hibernate", + "requires_input": false, + "input_prompts": [] + } + ] + }, + "Network": { + "icon": "🌐", + "description": "Network and DNS operations", + "scripts": [ + { + "name": "check-dns", + "display_name": "Check DNS", + "description": "Test DNS resolution", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "check-ping", + "display_name": "Ping Test", + "description": "Ping a host", + "requires_input": true, + "input_prompts": [ + {"name": "host", "label": "Host/IP", "placeholder": "google.com or 8.8.8.8"} + ] + }, + { + "name": "flush-dns", + "display_name": "Flush DNS", + "description": "Clear DNS cache", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "list-network-shares", + "display_name": "Network Shares", + "description": "Show network shares", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "check-vpn", + "display_name": "Check VPN", + "description": "VPN connection status", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "check-ip-address", + "display_name": "My IP Address", + "description": "Show your IP address", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "list-wifi", + "display_name": "WiFi Networks", + "description": "List available WiFi networks", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "scan-ports", + "display_name": "Port Scanner", + "description": "Scan ports on a host", + "requires_input": true, + "input_prompts": [ + {"name": "host", "label": "Host/IP", "placeholder": "Host to scan"} + ] + } + ] + }, + "Audio": { + "icon": "🔊", + "description": "Sound and speech operations", + "scripts": [ + { + "name": "turn-volume-up", + "display_name": "Volume Up", + "description": "Increase system volume", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "turn-volume-down", + "display_name": "Volume Down", + "description": "Decrease system volume", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "mute-audio", + "display_name": "Mute", + "description": "Mute system audio", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "unmute-audio", + "display_name": "Unmute", + "description": "Unmute system audio", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "speak-english", + "display_name": "Speak (English)", + "description": "Text to speech in English", + "requires_input": true, + "input_prompts": [ + {"name": "text", "label": "Text to Speak", "placeholder": "Enter text to speak"} + ] + }, + { + "name": "play-mp3", + "display_name": "Play MP3", + "description": "Play an audio file", + "requires_input": true, + "input_prompts": [ + {"name": "path", "label": "Audio File", "placeholder": "Path to audio file"} + ] + }, + { + "name": "list-voices", + "display_name": "List Voices", + "description": "Show available TTS voices", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "play-beep-sound", + "display_name": "Beep Sound", + "description": "Play a beep notification", + "requires_input": false, + "input_prompts": [] + } + ] + }, + "Apps": { + "icon": "📦", + "description": "Application management", + "scripts": [ + { + "name": "open-chrome", + "display_name": "Open Chrome", + "description": "Launch Google Chrome", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "open-firefox", + "display_name": "Open Firefox", + "description": "Launch Firefox browser", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "open-notepad", + "display_name": "Open Notepad", + "description": "Launch Notepad", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "open-file-explorer", + "display_name": "File Explorer", + "description": "Open File Explorer", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "open-task-manager", + "display_name": "Task Manager", + "description": "Open Task Manager", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "close-chrome", + "display_name": "Close Chrome", + "description": "Close Google Chrome", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "close-program", + "display_name": "Close Program", + "description": "Close a running program", + "requires_input": true, + "input_prompts": [ + {"name": "name", "label": "Program Name", "placeholder": "Name of program to close"} + ] + }, + { + "name": "install-chrome", + "display_name": "Install Chrome", + "description": "Install Google Chrome", + "requires_input": false, + "input_prompts": [] + } + ] + }, + "Dev": { + "icon": "⚙️", + "description": "Development and Git tools", + "scripts": [ + { + "name": "check-repo", + "display_name": "Check Repo", + "description": "Validate git repository", + "requires_input": true, + "input_prompts": [ + {"name": "path", "label": "Repo Path", "placeholder": "Path to repository"} + ] + }, + { + "name": "build-repo", + "display_name": "Build Repo", + "description": "Build a repository", + "requires_input": true, + "input_prompts": [ + {"name": "path", "label": "Repo Path", "placeholder": "Path to repository"} + ] + }, + { + "name": "clean-repo", + "display_name": "Clean Repo", + "description": "Clean build artifacts", + "requires_input": true, + "input_prompts": [ + {"name": "path", "label": "Repo Path", "placeholder": "Path to repository"} + ] + }, + { + "name": "fetch-repo", + "display_name": "Fetch Repo", + "description": "Git fetch from remote", + "requires_input": true, + "input_prompts": [ + {"name": "path", "label": "Repo Path", "placeholder": "Path to repository"} + ] + }, + { + "name": "pull-repo", + "display_name": "Pull Repo", + "description": "Git pull latest changes", + "requires_input": true, + "input_prompts": [ + {"name": "path", "label": "Repo Path", "placeholder": "Path to repository"} + ] + }, + { + "name": "list-branches", + "display_name": "List Branches", + "description": "Show git branches", + "requires_input": true, + "input_prompts": [ + {"name": "path", "label": "Repo Path", "placeholder": "Path to repository"} + ] + }, + { + "name": "new-branch", + "display_name": "New Branch", + "description": "Create a new git branch", + "requires_input": true, + "input_prompts": [ + {"name": "name", "label": "Branch Name", "placeholder": "Name for new branch"} + ] + }, + { + "name": "list-commits", + "display_name": "List Commits", + "description": "Show recent commits", + "requires_input": true, + "input_prompts": [ + {"name": "path", "label": "Repo Path", "placeholder": "Path to repository"} + ] + } + ] + }, + "Utils": { + "icon": "🔧", + "description": "Utility scripts", + "scripts": [ + { + "name": "list-weather", + "display_name": "Weather", + "description": "Show current weather", + "requires_input": true, + "input_prompts": [ + {"name": "location", "label": "Location", "placeholder": "City name", "default": ""} + ] + }, + { + "name": "list-news", + "display_name": "News Headlines", + "description": "Show latest news", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "list-calendar", + "display_name": "Calendar", + "description": "Display calendar", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "list-timezones", + "display_name": "Time Zones", + "description": "Show world time zones", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "get-md5", + "display_name": "Get MD5 Hash", + "description": "Calculate MD5 checksum", + "requires_input": true, + "input_prompts": [ + {"name": "file", "label": "File Path", "placeholder": "File to hash"} + ] + }, + { + "name": "get-sha256", + "display_name": "Get SHA256 Hash", + "description": "Calculate SHA256 checksum", + "requires_input": true, + "input_prompts": [ + {"name": "file", "label": "File Path", "placeholder": "File to hash"} + ] + }, + { + "name": "take-screenshot", + "display_name": "Screenshot", + "description": "Take a screenshot", + "requires_input": false, + "input_prompts": [] + }, + { + "name": "list-emojis", + "display_name": "Emoji List", + "description": "Show available emojis", + "requires_input": false, + "input_prompts": [] + } + ] + }, + "Custom": { + "icon": "⭐", + "description": "Your custom scripts", + "scripts": [] + } + }, + "window": { + "width": 1200, + "height": 800, + "theme": "dark" + }, + "scripts_per_row": 4 +} diff --git a/gui/install_startup.bat b/gui/install_startup.bat new file mode 100644 index 000000000..acfd7dbbb --- /dev/null +++ b/gui/install_startup.bat @@ -0,0 +1,36 @@ +@echo off +REM PowerShell Commander - Add to Windows Startup +REM Run this script once to make PowerShell Commander start with Windows + +echo ============================================== +echo PowerShell Commander - Startup Installation +echo ============================================== +echo. + +REM Get the directory where this script is located +set SCRIPT_DIR=%~dp0 + +REM Create startup shortcut +set STARTUP_FOLDER=%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup +set SHORTCUT_PATH=%STARTUP_FOLDER%\PowerShell Commander.lnk + +REM Use PowerShell to create the shortcut +powershell -Command "$WshShell = New-Object -ComObject WScript.Shell; $Shortcut = $WshShell.CreateShortcut('%SHORTCUT_PATH%'); $Shortcut.TargetPath = '%SCRIPT_DIR%start_commander.bat'; $Shortcut.WorkingDirectory = '%SCRIPT_DIR%'; $Shortcut.WindowStyle = 7; $Shortcut.Description = 'PowerShell Commander GUI'; $Shortcut.Save()" + +if %ERRORLEVEL% EQU 0 ( + echo. + echo SUCCESS! PowerShell Commander will now start with Windows. + echo. + echo Shortcut created at: + echo %SHORTCUT_PATH% + echo. + echo To remove from startup, delete the shortcut from: + echo %STARTUP_FOLDER% +) else ( + echo. + echo ERROR: Failed to create startup shortcut. + echo Please try running this script as Administrator. +) + +echo. +pause diff --git a/gui/powershell_commander.py b/gui/powershell_commander.py new file mode 100644 index 000000000..ca48818ca --- /dev/null +++ b/gui/powershell_commander.py @@ -0,0 +1,888 @@ +#!/usr/bin/env python3 +""" +PowerShell Commander - A Modern Dark-Themed GUI for PowerShell Scripts +Built with CustomTkinter for a sleek, modern interface +""" + +import customtkinter as ctk +import subprocess +import threading +import json +import os +import sys +from pathlib import Path +from typing import Dict, List, Optional, Callable +import queue + + +class ScriptConfig: + """Manages script configuration and assignments to categories""" + + def __init__(self, config_path: str): + self.config_path = Path(config_path) + self.scripts_dir = Path(__file__).parent.parent / "scripts" + self.dump_dir = Path(__file__).parent / "script_dump" + self.config = self._load_config() + + # Ensure dump directory exists + self.dump_dir.mkdir(exist_ok=True) + + def _load_config(self) -> dict: + """Load configuration from JSON file""" + if self.config_path.exists(): + with open(self.config_path, 'r') as f: + return json.load(f) + return self._create_default_config() + + def _create_default_config(self) -> dict: + """Create default configuration with categories""" + config = { + "categories": { + "Files": { + "icon": "📁", + "description": "File and folder operations", + "scripts": [] + }, + "Computer": { + "icon": "💻", + "description": "System management and monitoring", + "scripts": [] + }, + "Network": { + "icon": "🌐", + "description": "Network and DNS operations", + "scripts": [] + }, + "Audio": { + "icon": "🔊", + "description": "Sound and speech operations", + "scripts": [] + }, + "Apps": { + "icon": "📦", + "description": "Application management", + "scripts": [] + }, + "Dev": { + "icon": "⚙️", + "description": "Development and Git tools", + "scripts": [] + }, + "Utils": { + "icon": "🔧", + "description": "Utility scripts", + "scripts": [] + }, + "Custom": { + "icon": "⭐", + "description": "Your custom scripts", + "scripts": [] + } + }, + "window": { + "width": 1200, + "height": 800, + "theme": "dark" + }, + "scripts_per_row": 4 + } + self.save_config(config) + return config + + def save_config(self, config: dict = None): + """Save configuration to JSON file""" + if config: + self.config = config + self.config_path.parent.mkdir(parents=True, exist_ok=True) + with open(self.config_path, 'w') as f: + json.dump(self.config, f, indent=2) + + def get_all_scripts(self) -> List[str]: + """Get all available PowerShell scripts""" + scripts = [] + if self.scripts_dir.exists(): + scripts.extend([f.stem for f in self.scripts_dir.glob("*.ps1")]) + if self.dump_dir.exists(): + scripts.extend([f.stem for f in self.dump_dir.glob("*.ps1")]) + return sorted(set(scripts)) + + def get_script_path(self, script_name: str) -> Optional[Path]: + """Get the full path to a script""" + # Check main scripts directory first + main_path = self.scripts_dir / f"{script_name}.ps1" + if main_path.exists(): + return main_path + + # Check dump directory + dump_path = self.dump_dir / f"{script_name}.ps1" + if dump_path.exists(): + return dump_path + + return None + + def add_script_to_category(self, category: str, script_name: str, + display_name: str = None, description: str = None): + """Add a script to a category""" + if category not in self.config["categories"]: + return + + script_entry = { + "name": script_name, + "display_name": display_name or script_name.replace("-", " ").title(), + "description": description or "", + "requires_input": False, + "input_prompts": [] + } + + # Check if already exists + existing = [s for s in self.config["categories"][category]["scripts"] + if s["name"] == script_name] + if not existing: + self.config["categories"][category]["scripts"].append(script_entry) + self.save_config() + + def remove_script_from_category(self, category: str, script_name: str): + """Remove a script from a category""" + if category not in self.config["categories"]: + return + self.config["categories"][category]["scripts"] = [ + s for s in self.config["categories"][category]["scripts"] + if s["name"] != script_name + ] + self.save_config() + + +class OutputConsole(ctk.CTkFrame): + """Console widget to display script output""" + + def __init__(self, parent, **kwargs): + super().__init__(parent, **kwargs) + + self.configure(fg_color="#1a1a2e") + + # Header + header = ctk.CTkFrame(self, fg_color="transparent") + header.pack(fill="x", padx=5, pady=(5, 0)) + + ctk.CTkLabel(header, text="📟 Output Console", + font=ctk.CTkFont(size=14, weight="bold")).pack(side="left") + + ctk.CTkButton(header, text="Clear", width=60, height=24, + command=self.clear).pack(side="right") + + # Text area with scrollbar + self.text = ctk.CTkTextbox(self, fg_color="#0f0f1a", + text_color="#00ff88", + font=ctk.CTkFont(family="Consolas", size=12), + wrap="word") + self.text.pack(fill="both", expand=True, padx=5, pady=5) + + # Queue for thread-safe updates + self.output_queue = queue.Queue() + self._process_queue() + + def _process_queue(self): + """Process queued output updates""" + try: + while True: + text, color = self.output_queue.get_nowait() + self.text.insert("end", text) + self.text.see("end") + except queue.Empty: + pass + self.after(100, self._process_queue) + + def append(self, text: str, color: str = None): + """Append text to console (thread-safe)""" + self.output_queue.put((text, color)) + + def clear(self): + """Clear the console""" + self.text.delete("1.0", "end") + + def append_command(self, cmd: str): + """Append a command header""" + self.append(f"\n{'='*50}\n") + self.append(f"▶ Running: {cmd}\n") + self.append(f"{'='*50}\n\n") + + +class ScriptButton(ctk.CTkFrame): + """A styled button for launching scripts""" + + def __init__(self, parent, script_info: dict, on_click: Callable, **kwargs): + super().__init__(parent, **kwargs) + + self.script_info = script_info + self.on_click = on_click + + self.configure(fg_color="#2d2d44", corner_radius=10) + + # Make clickable + self.bind("", self._on_click) + self.bind("", self._on_enter) + self.bind("", self._on_leave) + + # Script name + name_label = ctk.CTkLabel( + self, + text=script_info.get("display_name", script_info["name"]), + font=ctk.CTkFont(size=13, weight="bold"), + text_color="#ffffff" + ) + name_label.pack(padx=10, pady=(10, 2)) + name_label.bind("", self._on_click) + + # Description + desc = script_info.get("description", "") + if desc: + desc_label = ctk.CTkLabel( + self, + text=desc[:50] + ("..." if len(desc) > 50 else ""), + font=ctk.CTkFont(size=10), + text_color="#888899" + ) + desc_label.pack(padx=10, pady=(0, 5)) + desc_label.bind("", self._on_click) + + # Run button + run_btn = ctk.CTkButton( + self, + text="▶ Run", + width=80, + height=28, + fg_color="#4a4a6a", + hover_color="#6a6a8a", + command=lambda: self.on_click(script_info) + ) + run_btn.pack(pady=(5, 10)) + + def _on_click(self, event=None): + self.on_click(self.script_info) + + def _on_enter(self, event=None): + self.configure(fg_color="#3d3d54") + + def _on_leave(self, event=None): + self.configure(fg_color="#2d2d44") + + +class InputDialog(ctk.CTkToplevel): + """Dialog for interactive script input""" + + def __init__(self, parent, prompts: List[dict], script_name: str): + super().__init__(parent) + + self.title(f"Input Required - {script_name}") + self.geometry("400x300") + self.configure(fg_color="#1a1a2e") + + self.results = {} + self.cancelled = True + + # Center on parent + self.transient(parent) + self.grab_set() + + # Title + ctk.CTkLabel( + self, + text=f"📝 {script_name}", + font=ctk.CTkFont(size=16, weight="bold") + ).pack(pady=(20, 10)) + + # Input fields + self.entries = {} + for prompt in prompts: + frame = ctk.CTkFrame(self, fg_color="transparent") + frame.pack(fill="x", padx=20, pady=5) + + ctk.CTkLabel( + frame, + text=prompt.get("label", prompt["name"]), + font=ctk.CTkFont(size=12) + ).pack(anchor="w") + + entry = ctk.CTkEntry( + frame, + placeholder_text=prompt.get("placeholder", ""), + width=360 + ) + entry.pack(fill="x", pady=(2, 0)) + + if prompt.get("default"): + entry.insert(0, prompt["default"]) + + self.entries[prompt["name"]] = entry + + # Buttons + btn_frame = ctk.CTkFrame(self, fg_color="transparent") + btn_frame.pack(fill="x", padx=20, pady=20) + + ctk.CTkButton( + btn_frame, + text="Cancel", + fg_color="#4a4a6a", + hover_color="#6a6a8a", + command=self._cancel + ).pack(side="left", padx=(0, 10)) + + ctk.CTkButton( + btn_frame, + text="Run Script", + fg_color="#2d8a4e", + hover_color="#3da05e", + command=self._submit + ).pack(side="right") + + # Focus first entry + if self.entries: + list(self.entries.values())[0].focus() + + self.bind("", lambda e: self._submit()) + self.bind("", lambda e: self._cancel()) + + def _submit(self): + self.results = {name: entry.get() for name, entry in self.entries.items()} + self.cancelled = False + self.destroy() + + def _cancel(self): + self.cancelled = True + self.destroy() + + +class ScriptManagerDialog(ctk.CTkToplevel): + """Dialog for managing which scripts appear in each category""" + + def __init__(self, parent, config: ScriptConfig): + super().__init__(parent) + + self.config = config + self.title("Script Manager") + self.geometry("900x600") + self.configure(fg_color="#1a1a2e") + + self.transient(parent) + self.grab_set() + + # Main layout + self._create_layout() + + def _create_layout(self): + # Header + header = ctk.CTkFrame(self, fg_color="#2d2d44") + header.pack(fill="x", padx=10, pady=10) + + ctk.CTkLabel( + header, + text="📦 Script Manager - Organize Your PowerShell Scripts", + font=ctk.CTkFont(size=16, weight="bold") + ).pack(pady=10) + + # Main content area + content = ctk.CTkFrame(self, fg_color="transparent") + content.pack(fill="both", expand=True, padx=10, pady=(0, 10)) + + # Left panel - Available scripts + left_panel = ctk.CTkFrame(content, fg_color="#2d2d44") + left_panel.pack(side="left", fill="both", expand=True, padx=(0, 5)) + + ctk.CTkLabel( + left_panel, + text="Available Scripts", + font=ctk.CTkFont(size=14, weight="bold") + ).pack(pady=10) + + # Search + self.search_var = ctk.StringVar() + self.search_var.trace("w", self._filter_scripts) + + search_entry = ctk.CTkEntry( + left_panel, + placeholder_text="🔍 Search scripts...", + textvariable=self.search_var, + width=280 + ) + search_entry.pack(padx=10, pady=(0, 10)) + + # Script list + self.script_listbox = ctk.CTkScrollableFrame(left_panel, fg_color="#1a1a2e") + self.script_listbox.pack(fill="both", expand=True, padx=10, pady=(0, 10)) + + self._populate_script_list() + + # Middle - buttons + middle = ctk.CTkFrame(content, fg_color="transparent", width=80) + middle.pack(side="left", fill="y", padx=5) + middle.pack_propagate(False) + + # Category selector + ctk.CTkLabel(middle, text="Category:").pack(pady=(50, 5)) + + self.category_var = ctk.StringVar(value=list(self.config.config["categories"].keys())[0]) + self.category_menu = ctk.CTkOptionMenu( + middle, + variable=self.category_var, + values=list(self.config.config["categories"].keys()), + width=70 + ) + self.category_menu.pack(pady=(0, 20)) + + ctk.CTkButton( + middle, text="Add →", width=70, + command=self._add_to_category + ).pack(pady=5) + + ctk.CTkButton( + middle, text="← Remove", width=70, + fg_color="#8a2d4e", + hover_color="#a03d5e", + command=self._remove_from_category + ).pack(pady=5) + + # Right panel - Category contents + right_panel = ctk.CTkFrame(content, fg_color="#2d2d44") + right_panel.pack(side="right", fill="both", expand=True, padx=(5, 0)) + + ctk.CTkLabel( + right_panel, + text="Category Contents", + font=ctk.CTkFont(size=14, weight="bold") + ).pack(pady=10) + + self.category_listbox = ctk.CTkScrollableFrame(right_panel, fg_color="#1a1a2e") + self.category_listbox.pack(fill="both", expand=True, padx=10, pady=(0, 10)) + + self.category_var.trace("w", lambda *args: self._update_category_list()) + self._update_category_list() + + # Bottom buttons + bottom = ctk.CTkFrame(self, fg_color="transparent") + bottom.pack(fill="x", padx=10, pady=(0, 10)) + + ctk.CTkButton( + bottom, text="Done", width=100, + command=self.destroy + ).pack(side="right") + + def _populate_script_list(self, filter_text: str = ""): + # Clear existing + for widget in self.script_listbox.winfo_children(): + widget.destroy() + + scripts = self.config.get_all_scripts() + + if filter_text: + scripts = [s for s in scripts if filter_text.lower() in s.lower()] + + for script in scripts[:100]: # Limit for performance + btn = ctk.CTkButton( + self.script_listbox, + text=script, + anchor="w", + fg_color="transparent", + text_color="#cccccc", + hover_color="#3d3d54", + height=28 + ) + btn.pack(fill="x", pady=1) + btn.configure(command=lambda s=script: self._select_script(s)) + + self.selected_script = None + + def _filter_scripts(self, *args): + self._populate_script_list(self.search_var.get()) + + def _select_script(self, script_name: str): + self.selected_script = script_name + + def _add_to_category(self): + if hasattr(self, 'selected_script') and self.selected_script: + category = self.category_var.get() + self.config.add_script_to_category( + category, + self.selected_script, + self.selected_script.replace("-", " ").title() + ) + self._update_category_list() + + def _remove_from_category(self): + if hasattr(self, 'selected_category_script') and self.selected_category_script: + category = self.category_var.get() + self.config.remove_script_from_category(category, self.selected_category_script) + self._update_category_list() + + def _update_category_list(self): + # Clear existing + for widget in self.category_listbox.winfo_children(): + widget.destroy() + + category = self.category_var.get() + scripts = self.config.config["categories"].get(category, {}).get("scripts", []) + + for script in scripts: + btn = ctk.CTkButton( + self.category_listbox, + text=script.get("display_name", script["name"]), + anchor="w", + fg_color="transparent", + text_color="#88ff88", + hover_color="#3d3d54", + height=28 + ) + btn.pack(fill="x", pady=1) + btn.configure(command=lambda s=script["name"]: self._select_category_script(s)) + + self.selected_category_script = None + + def _select_category_script(self, script_name: str): + self.selected_category_script = script_name + + +class PowerShellCommander(ctk.CTk): + """Main application window""" + + def __init__(self): + super().__init__() + + # Configure CustomTkinter + ctk.set_appearance_mode("dark") + ctk.set_default_color_theme("blue") + + # Load configuration + config_path = Path(__file__).parent / "config" / "scripts_config.json" + self.config = ScriptConfig(config_path) + + # Window setup + self.title("⚡ PowerShell Commander") + self.geometry(f"{self.config.config['window']['width']}x{self.config.config['window']['height']}") + self.configure(fg_color="#16162d") + + # Set minimum size + self.minsize(800, 600) + + # Create UI + self._create_header() + self._create_main_content() + self._create_status_bar() + + # Load default category + self._load_category(list(self.config.config["categories"].keys())[0]) + + def _create_header(self): + """Create the header with title and controls""" + header = ctk.CTkFrame(self, fg_color="#1a1a2e", height=60) + header.pack(fill="x", padx=10, pady=10) + header.pack_propagate(False) + + # Title + ctk.CTkLabel( + header, + text="⚡ PowerShell Commander", + font=ctk.CTkFont(size=24, weight="bold"), + text_color="#ffffff" + ).pack(side="left", padx=20, pady=10) + + # Controls on the right + controls = ctk.CTkFrame(header, fg_color="transparent") + controls.pack(side="right", padx=20) + + # Script Manager button + ctk.CTkButton( + controls, + text="📦 Manage Scripts", + width=140, + fg_color="#4a4a6a", + hover_color="#6a6a8a", + command=self._open_script_manager + ).pack(side="left", padx=5) + + # Refresh button + ctk.CTkButton( + controls, + text="🔄", + width=40, + fg_color="#4a4a6a", + hover_color="#6a6a8a", + command=self._refresh + ).pack(side="left", padx=5) + + def _create_main_content(self): + """Create the main content area with categories and scripts""" + main = ctk.CTkFrame(self, fg_color="transparent") + main.pack(fill="both", expand=True, padx=10, pady=(0, 10)) + + # Left sidebar - Categories + sidebar = ctk.CTkFrame(main, fg_color="#1a1a2e", width=180) + sidebar.pack(side="left", fill="y", padx=(0, 10)) + sidebar.pack_propagate(False) + + ctk.CTkLabel( + sidebar, + text="Categories", + font=ctk.CTkFont(size=14, weight="bold") + ).pack(pady=(15, 10)) + + self.category_buttons = {} + for cat_name, cat_info in self.config.config["categories"].items(): + btn = ctk.CTkButton( + sidebar, + text=f"{cat_info['icon']} {cat_name}", + anchor="w", + fg_color="transparent", + text_color="#cccccc", + hover_color="#3d3d54", + height=36, + command=lambda c=cat_name: self._load_category(c) + ) + btn.pack(fill="x", padx=10, pady=2) + self.category_buttons[cat_name] = btn + + # Spacer + ctk.CTkFrame(sidebar, fg_color="transparent", height=20).pack(fill="x") + + # Quick actions + ctk.CTkLabel( + sidebar, + text="Quick Actions", + font=ctk.CTkFont(size=12, weight="bold"), + text_color="#888899" + ).pack(pady=(10, 5)) + + quick_actions = [ + ("📁 Open Scripts", self._open_scripts_folder), + ("📄 Open Dump", self._open_dump_folder), + ("⚙️ Settings", self._open_settings), + ] + + for text, cmd in quick_actions: + ctk.CTkButton( + sidebar, + text=text, + anchor="w", + fg_color="transparent", + text_color="#888899", + hover_color="#3d3d54", + height=30, + command=cmd + ).pack(fill="x", padx=10, pady=1) + + # Content area + content_container = ctk.CTkFrame(main, fg_color="transparent") + content_container.pack(side="left", fill="both", expand=True) + + # Scripts area (top) + self.scripts_frame = ctk.CTkScrollableFrame( + content_container, + fg_color="#1a1a2e", + label_text="", + label_font=ctk.CTkFont(size=14, weight="bold") + ) + self.scripts_frame.pack(fill="both", expand=True, pady=(0, 10)) + + # Output console (bottom) + self.console = OutputConsole(content_container, height=200) + self.console.pack(fill="x") + + def _create_status_bar(self): + """Create the status bar at the bottom""" + self.status_bar = ctk.CTkFrame(self, fg_color="#1a1a2e", height=30) + self.status_bar.pack(fill="x", padx=10, pady=(0, 10)) + self.status_bar.pack_propagate(False) + + self.status_label = ctk.CTkLabel( + self.status_bar, + text="Ready", + font=ctk.CTkFont(size=11), + text_color="#888899" + ) + self.status_label.pack(side="left", padx=10, pady=5) + + # Script count + total_scripts = len(self.config.get_all_scripts()) + ctk.CTkLabel( + self.status_bar, + text=f"📊 {total_scripts} scripts available", + font=ctk.CTkFont(size=11), + text_color="#888899" + ).pack(side="right", padx=10, pady=5) + + def _load_category(self, category: str): + """Load scripts for a category""" + # Update button highlighting + for name, btn in self.category_buttons.items(): + if name == category: + btn.configure(fg_color="#3d3d54", text_color="#ffffff") + else: + btn.configure(fg_color="transparent", text_color="#cccccc") + + # Clear current scripts + for widget in self.scripts_frame.winfo_children(): + widget.destroy() + + # Get category info + cat_info = self.config.config["categories"].get(category, {}) + scripts = cat_info.get("scripts", []) + + # Update frame label + self.scripts_frame.configure( + label_text=f"{cat_info.get('icon', '📁')} {category} - {cat_info.get('description', '')}" + ) + + if not scripts: + # Show empty state + empty_frame = ctk.CTkFrame(self.scripts_frame, fg_color="transparent") + empty_frame.pack(expand=True, pady=50) + + ctk.CTkLabel( + empty_frame, + text="No scripts in this category yet", + font=ctk.CTkFont(size=14), + text_color="#666677" + ).pack() + + ctk.CTkButton( + empty_frame, + text="📦 Add Scripts", + command=self._open_script_manager + ).pack(pady=10) + return + + # Create grid of scripts + row_frame = None + for i, script in enumerate(scripts): + if i % self.config.config.get("scripts_per_row", 4) == 0: + row_frame = ctk.CTkFrame(self.scripts_frame, fg_color="transparent") + row_frame.pack(fill="x", pady=5, padx=5) + + btn = ScriptButton( + row_frame, + script, + self._run_script, + width=200, + height=100 + ) + btn.pack(side="left", padx=5, pady=5) + + self._update_status(f"Loaded {len(scripts)} scripts in {category}") + + def _run_script(self, script_info: dict): + """Run a PowerShell script""" + script_name = script_info["name"] + script_path = self.config.get_script_path(script_name) + + if not script_path: + self.console.append(f"❌ Script not found: {script_name}\n") + return + + # Check if script requires input + if script_info.get("requires_input") and script_info.get("input_prompts"): + dialog = InputDialog(self, script_info["input_prompts"], script_name) + self.wait_window(dialog) + + if dialog.cancelled: + return + + args = " ".join([f'-{k} "{v}"' for k, v in dialog.results.items() if v]) + else: + args = "" + + # Build command + if sys.platform == "win32": + cmd = f'powershell.exe -ExecutionPolicy Bypass -File "{script_path}" {args}' + else: + # For Linux/WSL + cmd = f'pwsh -File "{script_path}" {args}' + + self.console.append_command(f"{script_name}.ps1 {args}") + self._update_status(f"Running: {script_name}...") + + # Run in thread to prevent UI freeze + thread = threading.Thread(target=self._execute_script, args=(cmd, script_name)) + thread.daemon = True + thread.start() + + def _execute_script(self, cmd: str, script_name: str): + """Execute script in background thread""" + try: + process = subprocess.Popen( + cmd, + shell=True, + stdout=subprocess.PIPE, + stderr=subprocess.STDOUT, + text=True, + bufsize=1 + ) + + # Stream output + for line in process.stdout: + self.console.append(line) + + process.wait() + + if process.returncode == 0: + self.console.append(f"\n✅ {script_name} completed successfully\n") + self.after(0, lambda: self._update_status(f"✅ {script_name} completed")) + else: + self.console.append(f"\n⚠️ {script_name} exited with code {process.returncode}\n") + self.after(0, lambda: self._update_status(f"⚠️ {script_name} failed")) + + except Exception as e: + self.console.append(f"\n❌ Error: {str(e)}\n") + self.after(0, lambda: self._update_status(f"❌ Error running {script_name}")) + + def _update_status(self, message: str): + """Update status bar message""" + self.status_label.configure(text=message) + + def _open_script_manager(self): + """Open the script manager dialog""" + dialog = ScriptManagerDialog(self, self.config) + self.wait_window(dialog) + # Refresh current category + for name, btn in self.category_buttons.items(): + if btn.cget("fg_color") == "#3d3d54": + self._load_category(name) + break + + def _open_scripts_folder(self): + """Open the scripts folder in file explorer""" + path = self.config.scripts_dir + if sys.platform == "win32": + os.startfile(path) + else: + subprocess.run(["xdg-open", str(path)]) + + def _open_dump_folder(self): + """Open the dump folder in file explorer""" + path = self.config.dump_dir + path.mkdir(exist_ok=True) + if sys.platform == "win32": + os.startfile(path) + else: + subprocess.run(["xdg-open", str(path)]) + + def _open_settings(self): + """Open settings dialog""" + # TODO: Implement settings dialog + self.console.append("⚙️ Settings coming soon...\n") + + def _refresh(self): + """Refresh the current view""" + self.config = ScriptConfig(self.config.config_path) + for name, btn in self.category_buttons.items(): + if btn.cget("fg_color") == "#3d3d54": + self._load_category(name) + break + self._update_status("Refreshed") + + +def main(): + """Main entry point""" + app = PowerShellCommander() + app.mainloop() + + +if __name__ == "__main__": + main() diff --git a/gui/requirements.txt b/gui/requirements.txt new file mode 100644 index 000000000..9aacab512 --- /dev/null +++ b/gui/requirements.txt @@ -0,0 +1,4 @@ +# PowerShell Commander Dependencies +# Install with: pip install -r requirements.txt + +customtkinter>=5.2.0 diff --git a/gui/script_dump/.gitkeep b/gui/script_dump/.gitkeep new file mode 100644 index 000000000..056797af0 --- /dev/null +++ b/gui/script_dump/.gitkeep @@ -0,0 +1,3 @@ +# This folder is for storing custom PowerShell scripts +# Scripts placed here will be available in the Script Manager +# Use the GUI to assign them to categories diff --git a/gui/start_commander.bat b/gui/start_commander.bat new file mode 100644 index 000000000..84fc91205 --- /dev/null +++ b/gui/start_commander.bat @@ -0,0 +1,32 @@ +@echo off +REM PowerShell Commander - Windows Startup Script +REM This script launches the PowerShell Commander GUI application + +REM Get the directory where this script is located +set SCRIPT_DIR=%~dp0 + +REM Check if Python is available +where python >nul 2>nul +if %ERRORLEVEL% NEQ 0 ( + echo Python not found. Please install Python 3.8 or higher. + echo Download from: https://www.python.org/downloads/ + pause + exit /b 1 +) + +REM Check if customtkinter is installed +python -c "import customtkinter" >nul 2>nul +if %ERRORLEVEL% NEQ 0 ( + echo Installing required dependencies... + pip install -r "%SCRIPT_DIR%requirements.txt" +) + +REM Launch the application +echo Starting PowerShell Commander... +cd /d "%SCRIPT_DIR%" +start "" pythonw powershell_commander.py + +REM If pythonw fails (not available), try python +if %ERRORLEVEL% NEQ 0 ( + python powershell_commander.py +) diff --git a/gui/uninstall_startup.bat b/gui/uninstall_startup.bat new file mode 100644 index 000000000..b19d4cfe0 --- /dev/null +++ b/gui/uninstall_startup.bat @@ -0,0 +1,20 @@ +@echo off +REM PowerShell Commander - Remove from Windows Startup + +echo ============================================== +echo PowerShell Commander - Remove from Startup +echo ============================================== +echo. + +set STARTUP_FOLDER=%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup +set SHORTCUT_PATH=%STARTUP_FOLDER%\PowerShell Commander.lnk + +if exist "%SHORTCUT_PATH%" ( + del "%SHORTCUT_PATH%" + echo SUCCESS! PowerShell Commander removed from startup. +) else ( + echo PowerShell Commander was not in startup. +) + +echo. +pause From c2409ae9ea0bbf2c3682ac03016a5495ff1cd562 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 27 Dec 2025 10:40:31 +0100 Subject: [PATCH 537/737] Added link to GUI --- README.md | 2 +- gui/README.md | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index db596612e..27f9474fd 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/login/logoff/daily/hourly/shutdown or via AutoHotkey/Jenkins/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📁[scripts](scripts/) subfolder and support Unicode for a modern console like *Windows Terminal*.** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/login/logoff/daily/hourly/shutdown or via AutoHotkey/Jenkins/etc.) or via [GUI](gui/README.md), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📁[scripts](scripts/) subfolder and support Unicode for a modern console like *Windows Terminal*.** **[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md) | [PowerShell Documentation](https://docs.microsoft.com/en-us/powershell)** diff --git a/gui/README.md b/gui/README.md index e1fc0d1f2..3bb3b2594 100644 --- a/gui/README.md +++ b/gui/README.md @@ -19,17 +19,18 @@ A modern dark-themed GUI for managing and running PowerShell scripts. ### Prerequisites -- Python 3.8 or higher - PowerShell 5.1+ (Windows) or PowerShell Core (Linux/macOS) ### Quick Start -1. Install dependencies: +1. Make sure Python 3.8 or higher is installed, e.g. by executing: `winget install "Python 3.9"` + +2. Install dependencies: ```bash pip install -r requirements.txt ``` -2. Run the application: +3. Run the application: ```bash python powershell_commander.py ``` From 3d7668d0e95539754adaaedd151f7707b57a83c9 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 27 Dec 2025 10:46:57 +0100 Subject: [PATCH 538/737] Cosmetic improvements --- gui/README.md | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/gui/README.md b/gui/README.md index 3bb3b2594..0e81870ec 100644 --- a/gui/README.md +++ b/gui/README.md @@ -1,10 +1,10 @@ +![Python](https://img.shields.io/badge/Python-3.8+-green) +![CustomTkinter](https://img.shields.io/badge/CustomTkinter-5.2+-blue) + # PowerShell Commander A modern dark-themed GUI for managing and running PowerShell scripts. -![CustomTkinter](https://img.shields.io/badge/CustomTkinter-5.2+-blue) -![Python](https://img.shields.io/badge/Python-3.8+-green) - ## Features - **Dark Modern UI**: Built with CustomTkinter for a sleek, modern interface @@ -17,23 +17,15 @@ A modern dark-themed GUI for managing and running PowerShell scripts. ## Installation -### Prerequisites - -- PowerShell 5.1+ (Windows) or PowerShell Core (Linux/macOS) +Requires PowerShell 5.1+ (Windows) or PowerShell Core (Linux/macOS). ### Quick Start -1. Make sure Python 3.8 or higher is installed, e.g. by executing: `winget install "Python 3.9"` +1. Make sure Python 3.8 or higher is installed, e.g. by executing: ` winget install "Python 3.9" ` -2. Install dependencies: - ```bash - pip install -r requirements.txt - ``` +2. Install dependencies: ` pip install -r requirements.txt ` -3. Run the application: - ```bash - python powershell_commander.py - ``` +3. Run the application: ` python powershell_commander.py ` ### Windows Auto-Start From 80c665919e97158dd0750a45feda70e867391dbc Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 27 Dec 2025 11:07:59 +0100 Subject: [PATCH 539/737] Moved data/ folder into the scripts/ folder --- scripts/check-dns.ps1 | 2 +- scripts/clone-repos.ps1 | 2 +- scripts/convert-md2html.ps1 | 2 +- .../data}/Add_ps1_to_New_context_menu.reg | Bin {data => scripts/data}/IEEE-MAC-vendors.csv | 0 {data => scripts/data}/ISO639-1-language-codes.csv | 0 .../data}/Remove_ps1_from_New_context_menu.reg | Bin {data => scripts/data}/SI-prefixes.csv | 0 {data => scripts/data}/TIOBE-index.csv | 0 {data => scripts/data}/basic-apps.csv | 0 {data => scripts/data}/checklists/handwashing.md | 0 {data => scripts/data}/checklists/travel_packing.md | 0 {data => scripts/data}/default.kresd.conf | 0 {data => scripts/data}/dicts/IATA_airport_codes.csv | 0 {data => scripts/data}/dicts/ICAO_airport_codes.csv | 0 .../data}/dicts/ICD-10_diagnosis_codes.csv | 0 {data => scripts/data}/dicts/ISO_country_codes.csv | 0 {data => scripts/data}/dicts/ISO_currency_codes.csv | 0 {data => scripts/data}/dicts/ISO_language_codes.csv | 0 {data => scripts/data}/dicts/SI_prefixes.csv | 0 {data => scripts/data}/dicts/astronomy.csv | 0 {data => scripts/data}/dicts/aviation.csv | 0 {data => scripts/data}/dicts/biology.csv | 0 {data => scripts/data}/dicts/chemistry.csv | 0 {data => scripts/data}/dicts/color_names.csv | 0 {data => scripts/data}/dicts/companies.csv | 0 {data => scripts/data}/dicts/computing.csv | 0 {data => scripts/data}/dicts/cooking.csv | 0 {data => scripts/data}/dicts/english_dictionary.csv | 0 {data => scripts/data}/dicts/financial.csv | 0 {data => scripts/data}/dicts/general.csv | 0 {data => scripts/data}/dicts/geography.csv | 0 {data => scripts/data}/dicts/history.csv | 0 {data => scripts/data}/dicts/mathematics.csv | 0 {data => scripts/data}/dicts/medical.csv | 0 {data => scripts/data}/dicts/military.csv | 0 {data => scripts/data}/dicts/music.csv | 0 {data => scripts/data}/dicts/organizations.csv | 0 {data => scripts/data}/dicts/sports.csv | 0 {data => scripts/data}/emojis.csv | 0 {data => scripts/data}/exit-codes.csv | 0 {data => scripts/data}/http-status-codes.csv | 0 {data => scripts/data}/jokes.csv | 0 {data => scripts/data}/popular-dashboards.csv | 0 {data => scripts/data}/popular-domains.csv | 0 {data => scripts/data}/popular-repos.csv | 0 {data => scripts/data}/ports.csv | 0 {data => scripts/data}/public-dns-servers.csv | 0 {data => scripts/data}/quotes.csv | 0 {data => scripts/data}/scripts.csv | 0 {data => scripts/data}/sounds/Big Ben.mp3 | Bin {data => scripts/data}/sounds/README.txt | 0 {data => scripts/data}/sounds/bee.mp3 | Bin {data => scripts/data}/sounds/bison.mp3 | Bin {data => scripts/data}/sounds/bull.mp3 | Bin {data => scripts/data}/sounds/canary.mp3 | Bin {data => scripts/data}/sounds/capuchin.mp3 | Bin {data => scripts/data}/sounds/cat.mp3 | Bin {data => scripts/data}/sounds/chicken.mp3 | Bin {data => scripts/data}/sounds/chimp.mp3 | Bin {data => scripts/data}/sounds/chipmunk.mp3 | Bin {data => scripts/data}/sounds/cobra.mp3 | Bin {data => scripts/data}/sounds/cougar.mp3 | Bin {data => scripts/data}/sounds/cow.mp3 | Bin {data => scripts/data}/sounds/cricket.mp3 | Bin {data => scripts/data}/sounds/crow.mp3 | Bin {data => scripts/data}/sounds/dog.mp3 | Bin {data => scripts/data}/sounds/donkey.mp3 | Bin {data => scripts/data}/sounds/duck.mp3 | Bin {data => scripts/data}/sounds/elephant.mp3 | Bin {data => scripts/data}/sounds/elk.mp3 | Bin {data => scripts/data}/sounds/finch.mp3 | Bin {data => scripts/data}/sounds/fox.mp3 | Bin {data => scripts/data}/sounds/frog.mp3 | Bin {data => scripts/data}/sounds/geese.mp3 | Bin {data => scripts/data}/sounds/goat.mp3 | Bin {data => scripts/data}/sounds/gorilla.mp3 | Bin {data => scripts/data}/sounds/grasshopper.mp3 | Bin {data => scripts/data}/sounds/gull.mp3 | Bin {data => scripts/data}/sounds/horse.mp3 | Bin {data => scripts/data}/sounds/lamb.mp3 | Bin {data => scripts/data}/sounds/lapwing.mp3 | Bin {data => scripts/data}/sounds/leopard.mp3 | Bin {data => scripts/data}/sounds/lion.mp3 | Bin {data => scripts/data}/sounds/lori.mp3 | Bin {data => scripts/data}/sounds/mockingbird.mp3 | Bin {data => scripts/data}/sounds/mosquito.mp3 | Bin {data => scripts/data}/sounds/nightingale.mp3 | Bin {data => scripts/data}/sounds/osprey.mp3 | Bin {data => scripts/data}/sounds/owl.mp3 | Bin {data => scripts/data}/sounds/parrot.mp3 | Bin {data => scripts/data}/sounds/peacock.mp3 | Bin {data => scripts/data}/sounds/pig.mp3 | Bin {data => scripts/data}/sounds/pigeon.mp3 | Bin {data => scripts/data}/sounds/pony.mp3 | Bin {data => scripts/data}/sounds/rattlesnake.mp3 | Bin {data => scripts/data}/sounds/raven.mp3 | Bin {data => scripts/data}/sounds/rhino.mp3 | Bin {data => scripts/data}/sounds/rooster.mp3 | Bin {data => scripts/data}/sounds/sheep.mp3 | Bin {data => scripts/data}/sounds/sparrow.mp3 | Bin {data => scripts/data}/sounds/squirrel.mp3 | Bin {data => scripts/data}/sounds/swallow.mp3 | Bin {data => scripts/data}/sounds/tiger.mp3 | Bin {data => scripts/data}/sounds/turkey.mp3 | Bin {data => scripts/data}/sounds/vulture.mp3 | Bin {data => scripts/data}/sounds/wolf.mp3 | Bin {data => scripts/data}/sounds/woodpecker.mp3 | Bin {data => scripts/data}/templates/New.md | 0 {data => scripts/data}/templates/New.ps1 | 0 {data => scripts/data}/templates/New.txt | 0 {data => scripts/data}/templates/template.html | 0 {data => scripts/data}/unbound.conf | 0 {data => scripts/data}/wordcities-license.txt | 0 {data => scripts/data}/worldcities.csv | 0 {data => scripts/data}/zip-codes.csv | 0 scripts/install-basic-apps.ps1 | 2 +- scripts/install-knot-resolver.ps1 | 2 +- scripts/install-unbound-server.ps1 | 4 ++-- scripts/list-dns-servers.ps1 | 2 +- scripts/list-scripts.ps1 | 4 ++-- scripts/list-tiobe-index.ps1 | 2 +- scripts/locate-city.ps1 | 2 +- scripts/locate-zip-code.ps1 | 4 ++-- scripts/new-markdown-file.ps1 | 4 ++-- scripts/new-powershell-script.ps1 | 4 ++-- scripts/new-text-file.ps1 | 4 ++-- scripts/open-dashboards.ps1 | 4 ++-- scripts/play-bee-sound.ps1 | 2 +- scripts/play-big-ben.ps1 | 2 +- scripts/play-cat-sound.ps1 | 2 +- scripts/play-cow-sound.ps1 | 2 +- scripts/play-dog-sound.ps1 | 2 +- scripts/play-donkey-sound.ps1 | 2 +- scripts/play-elephant-sound.ps1 | 2 +- scripts/play-elk-sound.ps1 | 2 +- scripts/play-frog-sound.ps1 | 2 +- scripts/play-goat-sound.ps1 | 2 +- scripts/play-gorilla-sound.ps1 | 2 +- scripts/play-horse-sound.ps1 | 2 +- scripts/play-lion-sound.ps1 | 2 +- scripts/play-parrot-sound.ps1 | 2 +- scripts/play-pig-sound.ps1 | 2 +- scripts/play-rattlesnake-sound.ps1 | 2 +- scripts/play-vulture-sound.ps1 | 2 +- scripts/play-wolf-sound.ps1 | 2 +- scripts/speak-checklist.ps1 | 2 +- scripts/tell-joke.ps1 | 4 ++-- scripts/tell-quote.ps1 | 2 +- scripts/wake-up-human.ps1 | 2 +- scripts/what-is.ps1 | 2 +- scripts/write-in-emojis.ps1 | 2 +- scripts/write-joke.ps1 | 2 +- scripts/write-quote.ps1 | 4 ++-- 154 files changed, 50 insertions(+), 50 deletions(-) rename {data => scripts/data}/Add_ps1_to_New_context_menu.reg (100%) rename {data => scripts/data}/IEEE-MAC-vendors.csv (100%) rename {data => scripts/data}/ISO639-1-language-codes.csv (100%) rename {data => scripts/data}/Remove_ps1_from_New_context_menu.reg (100%) rename {data => scripts/data}/SI-prefixes.csv (100%) rename {data => scripts/data}/TIOBE-index.csv (100%) rename {data => scripts/data}/basic-apps.csv (100%) rename {data => scripts/data}/checklists/handwashing.md (100%) rename {data => scripts/data}/checklists/travel_packing.md (100%) rename {data => scripts/data}/default.kresd.conf (100%) rename {data => scripts/data}/dicts/IATA_airport_codes.csv (100%) rename {data => scripts/data}/dicts/ICAO_airport_codes.csv (100%) rename {data => scripts/data}/dicts/ICD-10_diagnosis_codes.csv (100%) rename {data => scripts/data}/dicts/ISO_country_codes.csv (100%) rename {data => scripts/data}/dicts/ISO_currency_codes.csv (100%) rename {data => scripts/data}/dicts/ISO_language_codes.csv (100%) rename {data => scripts/data}/dicts/SI_prefixes.csv (100%) rename {data => scripts/data}/dicts/astronomy.csv (100%) rename {data => scripts/data}/dicts/aviation.csv (100%) rename {data => scripts/data}/dicts/biology.csv (100%) rename {data => scripts/data}/dicts/chemistry.csv (100%) rename {data => scripts/data}/dicts/color_names.csv (100%) rename {data => scripts/data}/dicts/companies.csv (100%) rename {data => scripts/data}/dicts/computing.csv (100%) rename {data => scripts/data}/dicts/cooking.csv (100%) rename {data => scripts/data}/dicts/english_dictionary.csv (100%) rename {data => scripts/data}/dicts/financial.csv (100%) rename {data => scripts/data}/dicts/general.csv (100%) rename {data => scripts/data}/dicts/geography.csv (100%) rename {data => scripts/data}/dicts/history.csv (100%) rename {data => scripts/data}/dicts/mathematics.csv (100%) rename {data => scripts/data}/dicts/medical.csv (100%) rename {data => scripts/data}/dicts/military.csv (100%) rename {data => scripts/data}/dicts/music.csv (100%) rename {data => scripts/data}/dicts/organizations.csv (100%) rename {data => scripts/data}/dicts/sports.csv (100%) rename {data => scripts/data}/emojis.csv (100%) rename {data => scripts/data}/exit-codes.csv (100%) rename {data => scripts/data}/http-status-codes.csv (100%) rename {data => scripts/data}/jokes.csv (100%) rename {data => scripts/data}/popular-dashboards.csv (100%) rename {data => scripts/data}/popular-domains.csv (100%) rename {data => scripts/data}/popular-repos.csv (100%) rename {data => scripts/data}/ports.csv (100%) rename {data => scripts/data}/public-dns-servers.csv (100%) rename {data => scripts/data}/quotes.csv (100%) rename {data => scripts/data}/scripts.csv (100%) rename {data => scripts/data}/sounds/Big Ben.mp3 (100%) rename {data => scripts/data}/sounds/README.txt (100%) rename {data => scripts/data}/sounds/bee.mp3 (100%) rename {data => scripts/data}/sounds/bison.mp3 (100%) rename {data => scripts/data}/sounds/bull.mp3 (100%) rename {data => scripts/data}/sounds/canary.mp3 (100%) rename {data => scripts/data}/sounds/capuchin.mp3 (100%) rename {data => scripts/data}/sounds/cat.mp3 (100%) rename {data => scripts/data}/sounds/chicken.mp3 (100%) rename {data => scripts/data}/sounds/chimp.mp3 (100%) rename {data => scripts/data}/sounds/chipmunk.mp3 (100%) rename {data => scripts/data}/sounds/cobra.mp3 (100%) rename {data => scripts/data}/sounds/cougar.mp3 (100%) rename {data => scripts/data}/sounds/cow.mp3 (100%) rename {data => scripts/data}/sounds/cricket.mp3 (100%) rename {data => scripts/data}/sounds/crow.mp3 (100%) rename {data => scripts/data}/sounds/dog.mp3 (100%) rename {data => scripts/data}/sounds/donkey.mp3 (100%) rename {data => scripts/data}/sounds/duck.mp3 (100%) rename {data => scripts/data}/sounds/elephant.mp3 (100%) rename {data => scripts/data}/sounds/elk.mp3 (100%) rename {data => scripts/data}/sounds/finch.mp3 (100%) rename {data => scripts/data}/sounds/fox.mp3 (100%) rename {data => scripts/data}/sounds/frog.mp3 (100%) rename {data => scripts/data}/sounds/geese.mp3 (100%) rename {data => scripts/data}/sounds/goat.mp3 (100%) rename {data => scripts/data}/sounds/gorilla.mp3 (100%) rename {data => scripts/data}/sounds/grasshopper.mp3 (100%) rename {data => scripts/data}/sounds/gull.mp3 (100%) rename {data => scripts/data}/sounds/horse.mp3 (100%) rename {data => scripts/data}/sounds/lamb.mp3 (100%) rename {data => scripts/data}/sounds/lapwing.mp3 (100%) rename {data => scripts/data}/sounds/leopard.mp3 (100%) rename {data => scripts/data}/sounds/lion.mp3 (100%) rename {data => scripts/data}/sounds/lori.mp3 (100%) rename {data => scripts/data}/sounds/mockingbird.mp3 (100%) rename {data => scripts/data}/sounds/mosquito.mp3 (100%) rename {data => scripts/data}/sounds/nightingale.mp3 (100%) rename {data => scripts/data}/sounds/osprey.mp3 (100%) rename {data => scripts/data}/sounds/owl.mp3 (100%) rename {data => scripts/data}/sounds/parrot.mp3 (100%) rename {data => scripts/data}/sounds/peacock.mp3 (100%) rename {data => scripts/data}/sounds/pig.mp3 (100%) rename {data => scripts/data}/sounds/pigeon.mp3 (100%) rename {data => scripts/data}/sounds/pony.mp3 (100%) rename {data => scripts/data}/sounds/rattlesnake.mp3 (100%) rename {data => scripts/data}/sounds/raven.mp3 (100%) rename {data => scripts/data}/sounds/rhino.mp3 (100%) rename {data => scripts/data}/sounds/rooster.mp3 (100%) rename {data => scripts/data}/sounds/sheep.mp3 (100%) rename {data => scripts/data}/sounds/sparrow.mp3 (100%) rename {data => scripts/data}/sounds/squirrel.mp3 (100%) rename {data => scripts/data}/sounds/swallow.mp3 (100%) rename {data => scripts/data}/sounds/tiger.mp3 (100%) rename {data => scripts/data}/sounds/turkey.mp3 (100%) rename {data => scripts/data}/sounds/vulture.mp3 (100%) rename {data => scripts/data}/sounds/wolf.mp3 (100%) rename {data => scripts/data}/sounds/woodpecker.mp3 (100%) rename {data => scripts/data}/templates/New.md (100%) rename {data => scripts/data}/templates/New.ps1 (100%) rename {data => scripts/data}/templates/New.txt (100%) rename {data => scripts/data}/templates/template.html (100%) rename {data => scripts/data}/unbound.conf (100%) rename {data => scripts/data}/wordcities-license.txt (100%) rename {data => scripts/data}/worldcities.csv (100%) rename {data => scripts/data}/zip-codes.csv (100%) diff --git a/scripts/check-dns.ps1 b/scripts/check-dns.ps1 index 6420ee717..2c762723f 100755 --- a/scripts/check-dns.ps1 +++ b/scripts/check-dns.ps1 @@ -13,7 +13,7 @@ #> try { - $table = Import-CSV "$PSScriptRoot/../data/popular-domains.csv" + $table = Import-CSV "$PSScriptRoot/data/popular-domains.csv" $stopWatch = [system.diagnostics.stopwatch]::startNew() if ($IsLinux) { diff --git a/scripts/clone-repos.ps1 b/scripts/clone-repos.ps1 index 346ba36ff..34a23917f 100755 --- a/scripts/clone-repos.ps1 +++ b/scripts/clone-repos.ps1 @@ -28,7 +28,7 @@ try { if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2) Reading data/popular-repos.csv... " -noNewline - $table = Import-CSV "$PSScriptRoot/../data/popular-repos.csv" + $table = Import-CSV "$PSScriptRoot/data/popular-repos.csv" $total = $table.count Write-Host "$total repos" diff --git a/scripts/convert-md2html.ps1 b/scripts/convert-md2html.ps1 index a9719ae49..694e51974 100755 --- a/scripts/convert-md2html.ps1 +++ b/scripts/convert-md2html.ps1 @@ -27,7 +27,7 @@ try { Write-Host "⏳ Converting..." gci -r -i $FilePattern | foreach { $TargetPath = $_.directoryname + "\" + $_.basename + ".html" - pandoc --standalone --template "$PSScriptRoot/../data/templates/template.html" -s $_.name -o $TargetPath + pandoc --standalone --template "$PSScriptRoot/data/templates/template.html" -s $_.name -o $TargetPath } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✅ converted in $Elapsed sec" diff --git a/data/Add_ps1_to_New_context_menu.reg b/scripts/data/Add_ps1_to_New_context_menu.reg similarity index 100% rename from data/Add_ps1_to_New_context_menu.reg rename to scripts/data/Add_ps1_to_New_context_menu.reg diff --git a/data/IEEE-MAC-vendors.csv b/scripts/data/IEEE-MAC-vendors.csv similarity index 100% rename from data/IEEE-MAC-vendors.csv rename to scripts/data/IEEE-MAC-vendors.csv diff --git a/data/ISO639-1-language-codes.csv b/scripts/data/ISO639-1-language-codes.csv similarity index 100% rename from data/ISO639-1-language-codes.csv rename to scripts/data/ISO639-1-language-codes.csv diff --git a/data/Remove_ps1_from_New_context_menu.reg b/scripts/data/Remove_ps1_from_New_context_menu.reg similarity index 100% rename from data/Remove_ps1_from_New_context_menu.reg rename to scripts/data/Remove_ps1_from_New_context_menu.reg diff --git a/data/SI-prefixes.csv b/scripts/data/SI-prefixes.csv similarity index 100% rename from data/SI-prefixes.csv rename to scripts/data/SI-prefixes.csv diff --git a/data/TIOBE-index.csv b/scripts/data/TIOBE-index.csv similarity index 100% rename from data/TIOBE-index.csv rename to scripts/data/TIOBE-index.csv diff --git a/data/basic-apps.csv b/scripts/data/basic-apps.csv similarity index 100% rename from data/basic-apps.csv rename to scripts/data/basic-apps.csv diff --git a/data/checklists/handwashing.md b/scripts/data/checklists/handwashing.md similarity index 100% rename from data/checklists/handwashing.md rename to scripts/data/checklists/handwashing.md diff --git a/data/checklists/travel_packing.md b/scripts/data/checklists/travel_packing.md similarity index 100% rename from data/checklists/travel_packing.md rename to scripts/data/checklists/travel_packing.md diff --git a/data/default.kresd.conf b/scripts/data/default.kresd.conf similarity index 100% rename from data/default.kresd.conf rename to scripts/data/default.kresd.conf diff --git a/data/dicts/IATA_airport_codes.csv b/scripts/data/dicts/IATA_airport_codes.csv similarity index 100% rename from data/dicts/IATA_airport_codes.csv rename to scripts/data/dicts/IATA_airport_codes.csv diff --git a/data/dicts/ICAO_airport_codes.csv b/scripts/data/dicts/ICAO_airport_codes.csv similarity index 100% rename from data/dicts/ICAO_airport_codes.csv rename to scripts/data/dicts/ICAO_airport_codes.csv diff --git a/data/dicts/ICD-10_diagnosis_codes.csv b/scripts/data/dicts/ICD-10_diagnosis_codes.csv similarity index 100% rename from data/dicts/ICD-10_diagnosis_codes.csv rename to scripts/data/dicts/ICD-10_diagnosis_codes.csv diff --git a/data/dicts/ISO_country_codes.csv b/scripts/data/dicts/ISO_country_codes.csv similarity index 100% rename from data/dicts/ISO_country_codes.csv rename to scripts/data/dicts/ISO_country_codes.csv diff --git a/data/dicts/ISO_currency_codes.csv b/scripts/data/dicts/ISO_currency_codes.csv similarity index 100% rename from data/dicts/ISO_currency_codes.csv rename to scripts/data/dicts/ISO_currency_codes.csv diff --git a/data/dicts/ISO_language_codes.csv b/scripts/data/dicts/ISO_language_codes.csv similarity index 100% rename from data/dicts/ISO_language_codes.csv rename to scripts/data/dicts/ISO_language_codes.csv diff --git a/data/dicts/SI_prefixes.csv b/scripts/data/dicts/SI_prefixes.csv similarity index 100% rename from data/dicts/SI_prefixes.csv rename to scripts/data/dicts/SI_prefixes.csv diff --git a/data/dicts/astronomy.csv b/scripts/data/dicts/astronomy.csv similarity index 100% rename from data/dicts/astronomy.csv rename to scripts/data/dicts/astronomy.csv diff --git a/data/dicts/aviation.csv b/scripts/data/dicts/aviation.csv similarity index 100% rename from data/dicts/aviation.csv rename to scripts/data/dicts/aviation.csv diff --git a/data/dicts/biology.csv b/scripts/data/dicts/biology.csv similarity index 100% rename from data/dicts/biology.csv rename to scripts/data/dicts/biology.csv diff --git a/data/dicts/chemistry.csv b/scripts/data/dicts/chemistry.csv similarity index 100% rename from data/dicts/chemistry.csv rename to scripts/data/dicts/chemistry.csv diff --git a/data/dicts/color_names.csv b/scripts/data/dicts/color_names.csv similarity index 100% rename from data/dicts/color_names.csv rename to scripts/data/dicts/color_names.csv diff --git a/data/dicts/companies.csv b/scripts/data/dicts/companies.csv similarity index 100% rename from data/dicts/companies.csv rename to scripts/data/dicts/companies.csv diff --git a/data/dicts/computing.csv b/scripts/data/dicts/computing.csv similarity index 100% rename from data/dicts/computing.csv rename to scripts/data/dicts/computing.csv diff --git a/data/dicts/cooking.csv b/scripts/data/dicts/cooking.csv similarity index 100% rename from data/dicts/cooking.csv rename to scripts/data/dicts/cooking.csv diff --git a/data/dicts/english_dictionary.csv b/scripts/data/dicts/english_dictionary.csv similarity index 100% rename from data/dicts/english_dictionary.csv rename to scripts/data/dicts/english_dictionary.csv diff --git a/data/dicts/financial.csv b/scripts/data/dicts/financial.csv similarity index 100% rename from data/dicts/financial.csv rename to scripts/data/dicts/financial.csv diff --git a/data/dicts/general.csv b/scripts/data/dicts/general.csv similarity index 100% rename from data/dicts/general.csv rename to scripts/data/dicts/general.csv diff --git a/data/dicts/geography.csv b/scripts/data/dicts/geography.csv similarity index 100% rename from data/dicts/geography.csv rename to scripts/data/dicts/geography.csv diff --git a/data/dicts/history.csv b/scripts/data/dicts/history.csv similarity index 100% rename from data/dicts/history.csv rename to scripts/data/dicts/history.csv diff --git a/data/dicts/mathematics.csv b/scripts/data/dicts/mathematics.csv similarity index 100% rename from data/dicts/mathematics.csv rename to scripts/data/dicts/mathematics.csv diff --git a/data/dicts/medical.csv b/scripts/data/dicts/medical.csv similarity index 100% rename from data/dicts/medical.csv rename to scripts/data/dicts/medical.csv diff --git a/data/dicts/military.csv b/scripts/data/dicts/military.csv similarity index 100% rename from data/dicts/military.csv rename to scripts/data/dicts/military.csv diff --git a/data/dicts/music.csv b/scripts/data/dicts/music.csv similarity index 100% rename from data/dicts/music.csv rename to scripts/data/dicts/music.csv diff --git a/data/dicts/organizations.csv b/scripts/data/dicts/organizations.csv similarity index 100% rename from data/dicts/organizations.csv rename to scripts/data/dicts/organizations.csv diff --git a/data/dicts/sports.csv b/scripts/data/dicts/sports.csv similarity index 100% rename from data/dicts/sports.csv rename to scripts/data/dicts/sports.csv diff --git a/data/emojis.csv b/scripts/data/emojis.csv similarity index 100% rename from data/emojis.csv rename to scripts/data/emojis.csv diff --git a/data/exit-codes.csv b/scripts/data/exit-codes.csv similarity index 100% rename from data/exit-codes.csv rename to scripts/data/exit-codes.csv diff --git a/data/http-status-codes.csv b/scripts/data/http-status-codes.csv similarity index 100% rename from data/http-status-codes.csv rename to scripts/data/http-status-codes.csv diff --git a/data/jokes.csv b/scripts/data/jokes.csv similarity index 100% rename from data/jokes.csv rename to scripts/data/jokes.csv diff --git a/data/popular-dashboards.csv b/scripts/data/popular-dashboards.csv similarity index 100% rename from data/popular-dashboards.csv rename to scripts/data/popular-dashboards.csv diff --git a/data/popular-domains.csv b/scripts/data/popular-domains.csv similarity index 100% rename from data/popular-domains.csv rename to scripts/data/popular-domains.csv diff --git a/data/popular-repos.csv b/scripts/data/popular-repos.csv similarity index 100% rename from data/popular-repos.csv rename to scripts/data/popular-repos.csv diff --git a/data/ports.csv b/scripts/data/ports.csv similarity index 100% rename from data/ports.csv rename to scripts/data/ports.csv diff --git a/data/public-dns-servers.csv b/scripts/data/public-dns-servers.csv similarity index 100% rename from data/public-dns-servers.csv rename to scripts/data/public-dns-servers.csv diff --git a/data/quotes.csv b/scripts/data/quotes.csv similarity index 100% rename from data/quotes.csv rename to scripts/data/quotes.csv diff --git a/data/scripts.csv b/scripts/data/scripts.csv similarity index 100% rename from data/scripts.csv rename to scripts/data/scripts.csv diff --git a/data/sounds/Big Ben.mp3 b/scripts/data/sounds/Big Ben.mp3 similarity index 100% rename from data/sounds/Big Ben.mp3 rename to scripts/data/sounds/Big Ben.mp3 diff --git a/data/sounds/README.txt b/scripts/data/sounds/README.txt similarity index 100% rename from data/sounds/README.txt rename to scripts/data/sounds/README.txt diff --git a/data/sounds/bee.mp3 b/scripts/data/sounds/bee.mp3 similarity index 100% rename from data/sounds/bee.mp3 rename to scripts/data/sounds/bee.mp3 diff --git a/data/sounds/bison.mp3 b/scripts/data/sounds/bison.mp3 similarity index 100% rename from data/sounds/bison.mp3 rename to scripts/data/sounds/bison.mp3 diff --git a/data/sounds/bull.mp3 b/scripts/data/sounds/bull.mp3 similarity index 100% rename from data/sounds/bull.mp3 rename to scripts/data/sounds/bull.mp3 diff --git a/data/sounds/canary.mp3 b/scripts/data/sounds/canary.mp3 similarity index 100% rename from data/sounds/canary.mp3 rename to scripts/data/sounds/canary.mp3 diff --git a/data/sounds/capuchin.mp3 b/scripts/data/sounds/capuchin.mp3 similarity index 100% rename from data/sounds/capuchin.mp3 rename to scripts/data/sounds/capuchin.mp3 diff --git a/data/sounds/cat.mp3 b/scripts/data/sounds/cat.mp3 similarity index 100% rename from data/sounds/cat.mp3 rename to scripts/data/sounds/cat.mp3 diff --git a/data/sounds/chicken.mp3 b/scripts/data/sounds/chicken.mp3 similarity index 100% rename from data/sounds/chicken.mp3 rename to scripts/data/sounds/chicken.mp3 diff --git a/data/sounds/chimp.mp3 b/scripts/data/sounds/chimp.mp3 similarity index 100% rename from data/sounds/chimp.mp3 rename to scripts/data/sounds/chimp.mp3 diff --git a/data/sounds/chipmunk.mp3 b/scripts/data/sounds/chipmunk.mp3 similarity index 100% rename from data/sounds/chipmunk.mp3 rename to scripts/data/sounds/chipmunk.mp3 diff --git a/data/sounds/cobra.mp3 b/scripts/data/sounds/cobra.mp3 similarity index 100% rename from data/sounds/cobra.mp3 rename to scripts/data/sounds/cobra.mp3 diff --git a/data/sounds/cougar.mp3 b/scripts/data/sounds/cougar.mp3 similarity index 100% rename from data/sounds/cougar.mp3 rename to scripts/data/sounds/cougar.mp3 diff --git a/data/sounds/cow.mp3 b/scripts/data/sounds/cow.mp3 similarity index 100% rename from data/sounds/cow.mp3 rename to scripts/data/sounds/cow.mp3 diff --git a/data/sounds/cricket.mp3 b/scripts/data/sounds/cricket.mp3 similarity index 100% rename from data/sounds/cricket.mp3 rename to scripts/data/sounds/cricket.mp3 diff --git a/data/sounds/crow.mp3 b/scripts/data/sounds/crow.mp3 similarity index 100% rename from data/sounds/crow.mp3 rename to scripts/data/sounds/crow.mp3 diff --git a/data/sounds/dog.mp3 b/scripts/data/sounds/dog.mp3 similarity index 100% rename from data/sounds/dog.mp3 rename to scripts/data/sounds/dog.mp3 diff --git a/data/sounds/donkey.mp3 b/scripts/data/sounds/donkey.mp3 similarity index 100% rename from data/sounds/donkey.mp3 rename to scripts/data/sounds/donkey.mp3 diff --git a/data/sounds/duck.mp3 b/scripts/data/sounds/duck.mp3 similarity index 100% rename from data/sounds/duck.mp3 rename to scripts/data/sounds/duck.mp3 diff --git a/data/sounds/elephant.mp3 b/scripts/data/sounds/elephant.mp3 similarity index 100% rename from data/sounds/elephant.mp3 rename to scripts/data/sounds/elephant.mp3 diff --git a/data/sounds/elk.mp3 b/scripts/data/sounds/elk.mp3 similarity index 100% rename from data/sounds/elk.mp3 rename to scripts/data/sounds/elk.mp3 diff --git a/data/sounds/finch.mp3 b/scripts/data/sounds/finch.mp3 similarity index 100% rename from data/sounds/finch.mp3 rename to scripts/data/sounds/finch.mp3 diff --git a/data/sounds/fox.mp3 b/scripts/data/sounds/fox.mp3 similarity index 100% rename from data/sounds/fox.mp3 rename to scripts/data/sounds/fox.mp3 diff --git a/data/sounds/frog.mp3 b/scripts/data/sounds/frog.mp3 similarity index 100% rename from data/sounds/frog.mp3 rename to scripts/data/sounds/frog.mp3 diff --git a/data/sounds/geese.mp3 b/scripts/data/sounds/geese.mp3 similarity index 100% rename from data/sounds/geese.mp3 rename to scripts/data/sounds/geese.mp3 diff --git a/data/sounds/goat.mp3 b/scripts/data/sounds/goat.mp3 similarity index 100% rename from data/sounds/goat.mp3 rename to scripts/data/sounds/goat.mp3 diff --git a/data/sounds/gorilla.mp3 b/scripts/data/sounds/gorilla.mp3 similarity index 100% rename from data/sounds/gorilla.mp3 rename to scripts/data/sounds/gorilla.mp3 diff --git a/data/sounds/grasshopper.mp3 b/scripts/data/sounds/grasshopper.mp3 similarity index 100% rename from data/sounds/grasshopper.mp3 rename to scripts/data/sounds/grasshopper.mp3 diff --git a/data/sounds/gull.mp3 b/scripts/data/sounds/gull.mp3 similarity index 100% rename from data/sounds/gull.mp3 rename to scripts/data/sounds/gull.mp3 diff --git a/data/sounds/horse.mp3 b/scripts/data/sounds/horse.mp3 similarity index 100% rename from data/sounds/horse.mp3 rename to scripts/data/sounds/horse.mp3 diff --git a/data/sounds/lamb.mp3 b/scripts/data/sounds/lamb.mp3 similarity index 100% rename from data/sounds/lamb.mp3 rename to scripts/data/sounds/lamb.mp3 diff --git a/data/sounds/lapwing.mp3 b/scripts/data/sounds/lapwing.mp3 similarity index 100% rename from data/sounds/lapwing.mp3 rename to scripts/data/sounds/lapwing.mp3 diff --git a/data/sounds/leopard.mp3 b/scripts/data/sounds/leopard.mp3 similarity index 100% rename from data/sounds/leopard.mp3 rename to scripts/data/sounds/leopard.mp3 diff --git a/data/sounds/lion.mp3 b/scripts/data/sounds/lion.mp3 similarity index 100% rename from data/sounds/lion.mp3 rename to scripts/data/sounds/lion.mp3 diff --git a/data/sounds/lori.mp3 b/scripts/data/sounds/lori.mp3 similarity index 100% rename from data/sounds/lori.mp3 rename to scripts/data/sounds/lori.mp3 diff --git a/data/sounds/mockingbird.mp3 b/scripts/data/sounds/mockingbird.mp3 similarity index 100% rename from data/sounds/mockingbird.mp3 rename to scripts/data/sounds/mockingbird.mp3 diff --git a/data/sounds/mosquito.mp3 b/scripts/data/sounds/mosquito.mp3 similarity index 100% rename from data/sounds/mosquito.mp3 rename to scripts/data/sounds/mosquito.mp3 diff --git a/data/sounds/nightingale.mp3 b/scripts/data/sounds/nightingale.mp3 similarity index 100% rename from data/sounds/nightingale.mp3 rename to scripts/data/sounds/nightingale.mp3 diff --git a/data/sounds/osprey.mp3 b/scripts/data/sounds/osprey.mp3 similarity index 100% rename from data/sounds/osprey.mp3 rename to scripts/data/sounds/osprey.mp3 diff --git a/data/sounds/owl.mp3 b/scripts/data/sounds/owl.mp3 similarity index 100% rename from data/sounds/owl.mp3 rename to scripts/data/sounds/owl.mp3 diff --git a/data/sounds/parrot.mp3 b/scripts/data/sounds/parrot.mp3 similarity index 100% rename from data/sounds/parrot.mp3 rename to scripts/data/sounds/parrot.mp3 diff --git a/data/sounds/peacock.mp3 b/scripts/data/sounds/peacock.mp3 similarity index 100% rename from data/sounds/peacock.mp3 rename to scripts/data/sounds/peacock.mp3 diff --git a/data/sounds/pig.mp3 b/scripts/data/sounds/pig.mp3 similarity index 100% rename from data/sounds/pig.mp3 rename to scripts/data/sounds/pig.mp3 diff --git a/data/sounds/pigeon.mp3 b/scripts/data/sounds/pigeon.mp3 similarity index 100% rename from data/sounds/pigeon.mp3 rename to scripts/data/sounds/pigeon.mp3 diff --git a/data/sounds/pony.mp3 b/scripts/data/sounds/pony.mp3 similarity index 100% rename from data/sounds/pony.mp3 rename to scripts/data/sounds/pony.mp3 diff --git a/data/sounds/rattlesnake.mp3 b/scripts/data/sounds/rattlesnake.mp3 similarity index 100% rename from data/sounds/rattlesnake.mp3 rename to scripts/data/sounds/rattlesnake.mp3 diff --git a/data/sounds/raven.mp3 b/scripts/data/sounds/raven.mp3 similarity index 100% rename from data/sounds/raven.mp3 rename to scripts/data/sounds/raven.mp3 diff --git a/data/sounds/rhino.mp3 b/scripts/data/sounds/rhino.mp3 similarity index 100% rename from data/sounds/rhino.mp3 rename to scripts/data/sounds/rhino.mp3 diff --git a/data/sounds/rooster.mp3 b/scripts/data/sounds/rooster.mp3 similarity index 100% rename from data/sounds/rooster.mp3 rename to scripts/data/sounds/rooster.mp3 diff --git a/data/sounds/sheep.mp3 b/scripts/data/sounds/sheep.mp3 similarity index 100% rename from data/sounds/sheep.mp3 rename to scripts/data/sounds/sheep.mp3 diff --git a/data/sounds/sparrow.mp3 b/scripts/data/sounds/sparrow.mp3 similarity index 100% rename from data/sounds/sparrow.mp3 rename to scripts/data/sounds/sparrow.mp3 diff --git a/data/sounds/squirrel.mp3 b/scripts/data/sounds/squirrel.mp3 similarity index 100% rename from data/sounds/squirrel.mp3 rename to scripts/data/sounds/squirrel.mp3 diff --git a/data/sounds/swallow.mp3 b/scripts/data/sounds/swallow.mp3 similarity index 100% rename from data/sounds/swallow.mp3 rename to scripts/data/sounds/swallow.mp3 diff --git a/data/sounds/tiger.mp3 b/scripts/data/sounds/tiger.mp3 similarity index 100% rename from data/sounds/tiger.mp3 rename to scripts/data/sounds/tiger.mp3 diff --git a/data/sounds/turkey.mp3 b/scripts/data/sounds/turkey.mp3 similarity index 100% rename from data/sounds/turkey.mp3 rename to scripts/data/sounds/turkey.mp3 diff --git a/data/sounds/vulture.mp3 b/scripts/data/sounds/vulture.mp3 similarity index 100% rename from data/sounds/vulture.mp3 rename to scripts/data/sounds/vulture.mp3 diff --git a/data/sounds/wolf.mp3 b/scripts/data/sounds/wolf.mp3 similarity index 100% rename from data/sounds/wolf.mp3 rename to scripts/data/sounds/wolf.mp3 diff --git a/data/sounds/woodpecker.mp3 b/scripts/data/sounds/woodpecker.mp3 similarity index 100% rename from data/sounds/woodpecker.mp3 rename to scripts/data/sounds/woodpecker.mp3 diff --git a/data/templates/New.md b/scripts/data/templates/New.md similarity index 100% rename from data/templates/New.md rename to scripts/data/templates/New.md diff --git a/data/templates/New.ps1 b/scripts/data/templates/New.ps1 similarity index 100% rename from data/templates/New.ps1 rename to scripts/data/templates/New.ps1 diff --git a/data/templates/New.txt b/scripts/data/templates/New.txt similarity index 100% rename from data/templates/New.txt rename to scripts/data/templates/New.txt diff --git a/data/templates/template.html b/scripts/data/templates/template.html similarity index 100% rename from data/templates/template.html rename to scripts/data/templates/template.html diff --git a/data/unbound.conf b/scripts/data/unbound.conf similarity index 100% rename from data/unbound.conf rename to scripts/data/unbound.conf diff --git a/data/wordcities-license.txt b/scripts/data/wordcities-license.txt similarity index 100% rename from data/wordcities-license.txt rename to scripts/data/wordcities-license.txt diff --git a/data/worldcities.csv b/scripts/data/worldcities.csv similarity index 100% rename from data/worldcities.csv rename to scripts/data/worldcities.csv diff --git a/data/zip-codes.csv b/scripts/data/zip-codes.csv similarity index 100% rename from data/zip-codes.csv rename to scripts/data/zip-codes.csv diff --git a/scripts/install-basic-apps.ps1 b/scripts/install-basic-apps.ps1 index 115c49f7f..da0346449 100755 --- a/scripts/install-basic-apps.ps1 +++ b/scripts/install-basic-apps.ps1 @@ -23,7 +23,7 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() Write-Host "⏳ (1) Loading basic-apps.csv from data/ folder..." - $table = Import-CSV "$PSScriptRoot/../data/basic-apps.csv" + $table = Import-CSV "$PSScriptRoot/data/basic-apps.csv" $numEntries = $table.count Write-Host "⏳ (2) Will install/upgrade $numEntries basic apps: " -noNewline foreach($row in $table) { diff --git a/scripts/install-knot-resolver.ps1 b/scripts/install-knot-resolver.ps1 index 2f452938c..75ac82c74 100755 --- a/scripts/install-knot-resolver.ps1 +++ b/scripts/install-knot-resolver.ps1 @@ -20,7 +20,7 @@ try { & sudo snap install knot-resolver-gael "⏳ Step 2/4: Copying default configuration..." - & sudo cp "$PSScriptRoot/../data/default.kresd.conf" /var/snap/knot-resolver-gael/current/kresd.conf + & sudo cp "$PSScriptRoot/data/default.kresd.conf" /var/snap/knot-resolver-gael/current/kresd.conf "⏳ Step 3/4: Let user configure..." & sudo vi /var/snap/knot-resolver-gael/current/kresd.conf diff --git a/scripts/install-unbound-server.ps1 b/scripts/install-unbound-server.ps1 index 27f1a2c7a..9dbe4d2d2 100755 --- a/scripts/install-unbound-server.ps1 +++ b/scripts/install-unbound-server.ps1 @@ -33,11 +33,11 @@ try { if ($lastExitCode -ne 0) { throw "'unbound-anchor' failed" } "⏳ (5/10) Checking config file..." - & unbound-checkconf "$PSScriptRoot/../data/unbound.conf" + & unbound-checkconf "$PSScriptRoot/data/unbound.conf" if ($lastExitCode -ne 0) { throw "'unbound-checkconf' failed - check the syntax" } "⏳ (6/10) Copying config file to /etc/unbound/unbound.conf ..." - & sudo cp "$PSScriptRoot/../data/unbound.conf" /etc/unbound/unbound.conf + & sudo cp "$PSScriptRoot/data/unbound.conf" /etc/unbound/unbound.conf if ($lastExitCode -ne 0) { throw "'cp' failed" } "⏳ (7/10) Stopping default DNS cache daemon systemd-resolved..." diff --git a/scripts/list-dns-servers.ps1 b/scripts/list-dns-servers.ps1 index c3ae7395d..d0f1c307b 100755 --- a/scripts/list-dns-servers.ps1 +++ b/scripts/list-dns-servers.ps1 @@ -26,7 +26,7 @@ function MeasureDNSServer([string]$provider, [string]$IPv4Pri, [string]$IPv4Sec) function List-DNS-Servers { Write-Progress "Loading data/public-dns-servers.csv..." - $table = Import-CSV "$PSScriptRoot/../data/public-dns-servers.csv" + $table = Import-CSV "$PSScriptRoot/data/public-dns-servers.csv" Write-Progress -completed "Done." foreach($row in $table) { MeasureDNSServer $row.PROVIDER $row.IPv4_PRI $row.IPv4_SEC } diff --git a/scripts/list-scripts.ps1 b/scripts/list-scripts.ps1 index e7c3f28a3..b1fd217a8 100755 --- a/scripts/list-scripts.ps1 +++ b/scripts/list-scripts.ps1 @@ -21,8 +21,8 @@ param([string]$category = "*") function ListScripts([string]$category) { - Write-Progress "Loading data from ../data/script.csv..." - $table = Import-CSV "$PSScriptRoot/../data/scripts.csv" + Write-Progress "Loading data from data/script.csv..." + $table = Import-CSV "$PSScriptRoot/data/scripts.csv" [int]$No = 1 foreach($row in $table) { if ($row.CATEGORY -like $category) { diff --git a/scripts/list-tiobe-index.ps1 b/scripts/list-tiobe-index.ps1 index f1d85ffb5..70e71377e 100755 --- a/scripts/list-tiobe-index.ps1 +++ b/scripts/list-tiobe-index.ps1 @@ -47,7 +47,7 @@ try { Write-Host "`t`t`t`t=============================" Write-Host "" - $table = Import-CSV "$PSScriptRoot/../data/TIOBE-index.csv" + $table = Import-CSV "$PSScriptRoot/data/TIOBE-index.csv" foreach($row in $table) { [string]$rank = "{0,2}" -f $row.RANK [string]$language = "{0,-20}" -f $row.LANGUAGE diff --git a/scripts/locate-city.ps1 b/scripts/locate-city.ps1 index e30cc5215..05da12bd1 100755 --- a/scripts/locate-city.ps1 +++ b/scripts/locate-city.ps1 @@ -21,7 +21,7 @@ try { if ($city -eq "" ) { $city = Read-Host "Enter the name of the city" } Write-Progress "Reading data/worldcities.csv..." - $table = Import-CSV "$PSScriptRoot/../data/worldcities.csv" + $table = Import-CSV "$PSScriptRoot/data/worldcities.csv" $foundOne = $false foreach($row in $table) { if ($row.city -eq $city) { diff --git a/scripts/locate-zip-code.ps1 b/scripts/locate-zip-code.ps1 index 75fcc99b1..aa6f34846 100755 --- a/scripts/locate-zip-code.ps1 +++ b/scripts/locate-zip-code.ps1 @@ -22,8 +22,8 @@ try { if ($CountryCode -eq "" ) { $CountryCode = read-host "Enter the country code" } if ($ZipCode -eq "" ) { $ZipCode = read-host "Enter the zip code" } - write-progress "Reading zip-codes.csv..." - $Table = import-csv "$PSScriptRoot/../data/zip-codes.csv" + write-progress "Reading data/zip-codes.csv..." + $Table = import-csv "$PSScriptRoot/data/zip-codes.csv" $FoundOne = 0 foreach($Row in $Table) { diff --git a/scripts/new-markdown-file.ps1 b/scripts/new-markdown-file.ps1 index 3966fae9d..3f0f1a015 100755 --- a/scripts/new-markdown-file.ps1 +++ b/scripts/new-markdown-file.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Creates a Markdown file .DESCRIPTION - This PowerShell script creates a new Markdown file from template: ../data/templates/New.md. + This PowerShell script creates a new Markdown file from template: data/templates/New.md. .PARAMETER path Specifies the path and new filename (README.md by default) .EXAMPLE @@ -19,7 +19,7 @@ param([string]$path = "README.md") try { if (Test-Path "$path" -pathType leaf) { throw "File '$path' is already existing" } - $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.md" + $pathToTemplate = Resolve-Path "$PSScriptRoot/data/templates/New.md" Copy-Item $pathToTemplate "$path" if ($lastExitCode -ne 0) { throw "Can't copy template to: $path" } diff --git a/scripts/new-powershell-script.ps1 b/scripts/new-powershell-script.ps1 index f8d20edba..16ebc7ec9 100755 --- a/scripts/new-powershell-script.ps1 +++ b/scripts/new-powershell-script.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Creates a PowerShell script .DESCRIPTION - This PowerShell script creates a new PowerShell script file by using the template ../data/templates/New.ps1. + 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 @@ -19,7 +19,7 @@ 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" + $pathToTemplate = Resolve-Path "$PSScriptRoot/data/templates/New.ps1" Copy-Item $pathToTemplate "$path" if ($lastExitCode -ne 0) { throw "Can't copy to: $path" } diff --git a/scripts/new-text-file.ps1 b/scripts/new-text-file.ps1 index 3461a2367..849ea2357 100755 --- a/scripts/new-text-file.ps1 +++ b/scripts/new-text-file.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Creates a text file .DESCRIPTION - This PowerShell script creates a new .txt file from: ../data/templates/New.txt. + This PowerShell script creates a new .txt file from: data/templates/New.txt. .PARAMETER path Specifies the path and new filename (README.txt by default) .EXAMPLE @@ -19,7 +19,7 @@ param([string]$path = "README.txt") try { if (Test-Path "$path" -pathType leaf) { throw "File '$path' is already existing" } - $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.txt" + $pathToTemplate = Resolve-Path "$PSScriptRoot/data/templates/New.txt" Copy-Item $pathToTemplate "$path" if ($lastExitCode -ne 0) { throw "Can't copy template to: $path" } diff --git a/scripts/open-dashboards.ps1 b/scripts/open-dashboards.ps1 index 823bfadc9..2b9dcd6c6 100755 --- a/scripts/open-dashboards.ps1 +++ b/scripts/open-dashboards.ps1 @@ -20,8 +20,8 @@ param([int]$timeInterval = 120) # milliseconds try { - Write-Progress "Reading Data/popular-dashboards.csv..." - $table = Import-CSV "$PSScriptRoot/../data/popular-dashboards.csv" + Write-Progress "Reading data/popular-dashboards.csv..." + $table = Import-CSV "$PSScriptRoot/data/popular-dashboards.csv" $numRows = $table.Count Write-Progress -completed "Done." diff --git a/scripts/play-bee-sound.ps1 b/scripts/play-bee-sound.ps1 index 265eaa1d8..69394d594 100755 --- a/scripts/play-bee-sound.ps1 +++ b/scripts/play-bee-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/bee.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/bee.mp3" exit 0 # success diff --git a/scripts/play-big-ben.ps1 b/scripts/play-big-ben.ps1 index 85ce05a0d..343cb6e62 100755 --- a/scripts/play-big-ben.ps1 +++ b/scripts/play-big-ben.ps1 @@ -12,5 +12,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/Big Ben.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/Big Ben.mp3" exit 0 # success diff --git a/scripts/play-cat-sound.ps1 b/scripts/play-cat-sound.ps1 index fdf1e84c2..5f68a4bf2 100755 --- a/scripts/play-cat-sound.ps1 +++ b/scripts/play-cat-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/cat.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/cat.mp3" exit 0 # success diff --git a/scripts/play-cow-sound.ps1 b/scripts/play-cow-sound.ps1 index 937cd4081..80d67a69f 100755 --- a/scripts/play-cow-sound.ps1 +++ b/scripts/play-cow-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/cow.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/cow.mp3" exit 0 # success diff --git a/scripts/play-dog-sound.ps1 b/scripts/play-dog-sound.ps1 index f29996bea..911209771 100755 --- a/scripts/play-dog-sound.ps1 +++ b/scripts/play-dog-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/dog.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/dog.mp3" exit 0 # success diff --git a/scripts/play-donkey-sound.ps1 b/scripts/play-donkey-sound.ps1 index 411056b22..32549b5a7 100755 --- a/scripts/play-donkey-sound.ps1 +++ b/scripts/play-donkey-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/donkey.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/donkey.mp3" exit 0 # success diff --git a/scripts/play-elephant-sound.ps1 b/scripts/play-elephant-sound.ps1 index bba743b16..f1d6c2fa3 100755 --- a/scripts/play-elephant-sound.ps1 +++ b/scripts/play-elephant-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/elephant.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/elephant.mp3" exit 0 # success diff --git a/scripts/play-elk-sound.ps1 b/scripts/play-elk-sound.ps1 index 0d9093b19..ddc24aa5e 100755 --- a/scripts/play-elk-sound.ps1 +++ b/scripts/play-elk-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/elk.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/elk.mp3" exit 0 # success diff --git a/scripts/play-frog-sound.ps1 b/scripts/play-frog-sound.ps1 index b7d2eaa0e..7af757f09 100755 --- a/scripts/play-frog-sound.ps1 +++ b/scripts/play-frog-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/frog.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/frog.mp3" exit 0 # success diff --git a/scripts/play-goat-sound.ps1 b/scripts/play-goat-sound.ps1 index 6cafeb302..34bec55f4 100755 --- a/scripts/play-goat-sound.ps1 +++ b/scripts/play-goat-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/goat.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/goat.mp3" exit 0 # success diff --git a/scripts/play-gorilla-sound.ps1 b/scripts/play-gorilla-sound.ps1 index 6628bd844..0d17e8f6e 100755 --- a/scripts/play-gorilla-sound.ps1 +++ b/scripts/play-gorilla-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/gorilla.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/gorilla.mp3" exit 0 # success diff --git a/scripts/play-horse-sound.ps1 b/scripts/play-horse-sound.ps1 index bc1ddb0c4..1b23f4985 100755 --- a/scripts/play-horse-sound.ps1 +++ b/scripts/play-horse-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/horse.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/horse.mp3" exit 0 # success diff --git a/scripts/play-lion-sound.ps1 b/scripts/play-lion-sound.ps1 index 1f0c011e4..595d76f4b 100755 --- a/scripts/play-lion-sound.ps1 +++ b/scripts/play-lion-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/lion.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/lion.mp3" exit 0 # success diff --git a/scripts/play-parrot-sound.ps1 b/scripts/play-parrot-sound.ps1 index b22ebf5e0..96b25c219 100755 --- a/scripts/play-parrot-sound.ps1 +++ b/scripts/play-parrot-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/parrot.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/parrot.mp3" exit 0 # success diff --git a/scripts/play-pig-sound.ps1 b/scripts/play-pig-sound.ps1 index e3b7fc29f..c351372b8 100755 --- a/scripts/play-pig-sound.ps1 +++ b/scripts/play-pig-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/pig.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/pig.mp3" exit 0 # success diff --git a/scripts/play-rattlesnake-sound.ps1 b/scripts/play-rattlesnake-sound.ps1 index b782d4e16..50113c4d3 100755 --- a/scripts/play-rattlesnake-sound.ps1 +++ b/scripts/play-rattlesnake-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/rattlesnake.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/rattlesnake.mp3" exit 0 # success diff --git a/scripts/play-vulture-sound.ps1 b/scripts/play-vulture-sound.ps1 index 592a7dfb1..dda182606 100755 --- a/scripts/play-vulture-sound.ps1 +++ b/scripts/play-vulture-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/vulture.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/vulture.mp3" exit 0 # success diff --git a/scripts/play-wolf-sound.ps1 b/scripts/play-wolf-sound.ps1 index cf1d9fec6..8cae4b4e6 100755 --- a/scripts/play-wolf-sound.ps1 +++ b/scripts/play-wolf-sound.ps1 @@ -11,5 +11,5 @@ Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/wolf.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/wolf.mp3" exit 0 # success diff --git a/scripts/speak-checklist.ps1 b/scripts/speak-checklist.ps1 index a69379798..0139b89f9 100755 --- a/scripts/speak-checklist.ps1 +++ b/scripts/speak-checklist.ps1 @@ -33,7 +33,7 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() Clear-Host Write-Host "" - $lines = Get-Content -path "$PSScriptRoot/../data/checklists/$name.md" + $lines = Get-Content -path "$PSScriptRoot/data/checklists/$name.md" $headline = "" foreach($line in $lines) { if ($line -match "- \[ \].*") { diff --git a/scripts/tell-joke.ps1 b/scripts/tell-joke.ps1 index 6bab0a1bd..86ea6e1fb 100755 --- a/scripts/tell-joke.ps1 +++ b/scripts/tell-joke.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Tells a random joke by text-to-speech .DESCRIPTION - This PowerShell script selects a random Chuck Norris joke in Data/jokes.csv and speaks it by text-to-speech (TTS). + This PowerShell script selects a random Chuck Norris joke from data/jokes.csv and speaks it by text-to-speech (TTS). .EXAMPLE PS> ./tell-joke.ps1 (listen and enjoy) @@ -13,7 +13,7 @@ #> try { - $table = Import-CSV "$PSScriptRoot/../data/jokes.csv" + $table = Import-CSV "$PSScriptRoot/data/jokes.csv" $randomNumberGenerator = New-Object System.Random $row = [int]$randomNumberGenerator.next(0, $table.count - 1) diff --git a/scripts/tell-quote.ps1 b/scripts/tell-quote.ps1 index 7d9d16eef..f39a85b2e 100755 --- a/scripts/tell-quote.ps1 +++ b/scripts/tell-quote.ps1 @@ -13,7 +13,7 @@ #> try { - $table = Import-CSV "$PSScriptRoot/../data/quotes.csv" + $table = Import-CSV "$PSScriptRoot/data/quotes.csv" $randomNumberGenerator = New-Object System.Random $row = [int]$randomNumberGenerator.next(0, $table.Count - 1) diff --git a/scripts/wake-up-human.ps1 b/scripts/wake-up-human.ps1 index 8f8e1bf08..113df1d18 100755 --- a/scripts/wake-up-human.ps1 +++ b/scripts/wake-up-human.ps1 @@ -13,6 +13,6 @@ #> do { - & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/Big Ben.mp3" + & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/Big Ben.mp3" } while ($true) diff --git a/scripts/what-is.ps1 b/scripts/what-is.ps1 index 578aee672..c344a6bf8 100755 --- a/scripts/what-is.ps1 +++ b/scripts/what-is.ps1 @@ -19,7 +19,7 @@ param([string]$term = "") try { if ($term -eq "" ) { $term = Read-Host "Enter the term to query" } - $files = Get-ChildItem "$PSScriptRoot/../data/dicts/*.csv" + $files = Get-ChildItem "$PSScriptRoot/data/dicts/*.csv" $basename = "" foreach($file in $files) { $table = Import-CSV "$file" diff --git a/scripts/write-in-emojis.ps1 b/scripts/write-in-emojis.ps1 index 951725dce..4315c8aab 100755 --- a/scripts/write-in-emojis.ps1 +++ b/scripts/write-in-emojis.ps1 @@ -19,7 +19,7 @@ param([string]$text = "") try { if ($text -eq "") { $text = Read-Host "Enter the text" } - $table = Import-CSV "$PSScriptRoot/../data/emojis.csv" + $table = Import-CSV "$PSScriptRoot/data/emojis.csv" foreach($row in $table) { $text = $text -Replace "\s?$($row.WORD)\s?","$($row.EMOJI)️" } diff --git a/scripts/write-joke.ps1 b/scripts/write-joke.ps1 index 38fa8ac95..ee0ec7ab1 100755 --- a/scripts/write-joke.ps1 +++ b/scripts/write-joke.ps1 @@ -13,7 +13,7 @@ #> try { - $table = Import-CSV "$PSScriptRoot/../data/jokes.csv" + $table = Import-CSV "$PSScriptRoot/data/jokes.csv" $randomNumberGenerator = New-Object System.Random $rowNumber = [int]$randomNumberGenerator.next(0, $table.Count - 1) diff --git a/scripts/write-quote.ps1 b/scripts/write-quote.ps1 index 639fd8800..1ed00b253 100755 --- a/scripts/write-quote.ps1 +++ b/scripts/write-quote.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Writes a random quote .DESCRIPTION - This PowerShell script selects a random quote from .../data/quotes.csv and writes it to the console. + This PowerShell script selects a random quote from data/quotes.csv and writes it to the console. .EXAMPLE PS> ./write-quote.ps1 .LINK @@ -12,7 +12,7 @@ #> try { - $table = Import-CSV "$PSScriptRoot/../data/quotes.csv" + $table = Import-CSV "$PSScriptRoot/data/quotes.csv" $randomNumberGenerator = New-Object System.Random $row = [int]$randomNumberGenerator.next(0, $table.Count - 1) From e8c3ac39f357e788deb01da13a4b6b95056e00b5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 27 Dec 2025 11:09:28 +0100 Subject: [PATCH 540/737] Updated the manuals --- docs/add-firewall-rules.md | 2 +- docs/alert.md | 2 +- docs/build-repo.md | 8 ++++---- docs/build-repos.md | 2 +- docs/calculate-BMI.md | 2 +- docs/cd-autostart.md | 2 +- docs/cd-crashdumps.md | 2 +- docs/cd-desktop.md | 2 +- docs/cd-docs.md | 2 +- docs/cd-downloads.md | 2 +- docs/cd-dropbox.md | 2 +- docs/cd-etc.md | 2 +- docs/cd-fonts.md | 2 +- docs/cd-home.md | 2 +- docs/cd-jenkins.md | 2 +- docs/cd-logs.md | 2 +- docs/cd-music.md | 2 +- docs/cd-nextcloud.md | 2 +- docs/cd-onedrive.md | 2 +- docs/cd-pics.md | 2 +- docs/cd-public.md | 2 +- docs/cd-recent.md | 2 +- docs/cd-recycle-bin.md | 2 +- docs/cd-repo.md | 2 +- docs/cd-repos.md | 2 +- docs/cd-root.md | 2 +- docs/cd-screenshots.md | 2 +- docs/cd-scripts.md | 2 +- docs/cd-ssh.md | 2 +- docs/cd-sync.md | 2 +- docs/cd-temp.md | 2 +- docs/cd-templates.md | 2 +- 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 | 2 +- docs/cd-videos.md | 2 +- docs/cd-windows.md | 2 +- 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 | 4 ++-- docs/check-drive-space.md | 2 +- 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 | 2 +- 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 | 2 +- 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 | 4 ++-- 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 | 4 ++-- 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-broken-file.md | 2 +- docs/copy-photos-sorted.md | 2 +- docs/copy-videos-sorted.md | 2 +- 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/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 | 4 ++-- 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 | 2 +- docs/install-crystal-disk-mark.md | 2 +- docs/install-discord.md | 2 +- docs/install-edge.md | 2 +- docs/install-edit.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 | 2 +- docs/install-knot-resolver.md | 4 ++-- 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-spotify.md | 2 +- docs/install-ssh-client.md | 2 +- docs/install-ssh-server.md | 2 +- docs/install-syncthing.md | 2 +- docs/install-thunderbird.md | 2 +- docs/install-unbound-server.md | 6 +++--- docs/install-updates.md | 2 +- 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 | 2 +- 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 | 2 +- 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 | 4 ++-- docs/list-drives.md | 2 +- docs/list-earthquakes.md | 2 +- docs/list-emojis.md | 2 +- docs/list-empty-dirs.md | 2 +- 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-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 | 2 +- docs/list-recycle-bin.md | 2 +- docs/list-repos.md | 2 +- docs/list-scripts.md | 6 +++--- 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 | 2 +- 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 | 4 ++-- 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 | 4 ++-- docs/locate-ipaddress.md | 2 +- docs/locate-my-phone.md | 2 +- docs/locate-zip-code.md | 6 +++--- 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-image.md | 2 +- docs/new-junction.md | 2 +- docs/new-linux-vm.md | 2 +- docs/new-markdown-file.md | 8 ++++---- docs/new-passwords.md | 2 +- docs/new-pins.md | 2 +- docs/new-power-plan.md | 2 +- docs/new-powershell-script.md | 8 ++++---- docs/new-qrcode.md | 2 +- docs/new-reboot-task.md | 2 +- docs/new-shortcut.md | 2 +- docs/new-ssh-key.md | 2 +- docs/new-story.md | 2 +- docs/new-symlink.md | 2 +- docs/new-tab.md | 2 +- docs/new-tag.md | 2 +- docs/new-text-file.md | 8 ++++---- 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 | 6 +++--- 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-windy.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-ascii-video.md | 2 +- docs/play-bee-sound.md | 4 ++-- docs/play-beep-sound.md | 2 +- docs/play-big-ben.md | 4 ++-- docs/play-cat-sound.md | 4 ++-- docs/play-chess.md | 2 +- docs/play-cow-sound.md | 4 ++-- docs/play-dog-sound.md | 4 ++-- docs/play-donkey-sound.md | 4 ++-- docs/play-drug-wars.md | 2 +- docs/play-elephant-sound.md | 4 ++-- docs/play-elk-sound.md | 4 ++-- docs/play-files.md | 2 +- docs/play-frog-sound.md | 4 ++-- docs/play-goat-sound.md | 4 ++-- docs/play-gorilla-sound.md | 4 ++-- docs/play-happy-birthday.md | 2 +- docs/play-horse-sound.md | 4 ++-- docs/play-imperial-march.md | 2 +- docs/play-jingle-bells.md | 2 +- docs/play-lion-sound.md | 4 ++-- docs/play-m3u.md | 2 +- docs/play-mission-impossible.md | 2 +- docs/play-mp3.md | 2 +- docs/play-parrot-sound.md | 4 ++-- docs/play-pig-sound.md | 4 ++-- docs/play-pong.md | 2 +- docs/play-rattlesnake-sound.md | 4 ++-- 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-tetris.md | 2 +- docs/play-vulture-sound.md | 4 ++-- docs/play-wolf-sound.md | 4 ++-- docs/poweroff.md | 2 +- docs/print-image.md | 2 +- docs/publish-to-ipfs.md | 2 +- docs/pull-repo.md | 2 +- docs/pull-repos.md | 2 +- 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-bluetooth-device.md | 2 +- docs/remove-dir.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 | 2 +- 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 | 4 ++-- 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 | 8 ++++---- docs/tell-new-year.md | 2 +- docs/tell-quote.md | 4 ++-- docs/toggle-caps-lock.md | 2 +- docs/toggle-num-lock.md | 2 +- docs/toggle-scroll-lock.md | 2 +- docs/touch.md | 2 +- 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/vi.md | 2 +- docs/wake-up-host.md | 2 +- docs/wake-up-human.md | 4 ++-- 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 | 24 ++++++++++++++++------ docs/watch-ping.md | 2 +- docs/weather-report.md | 2 +- docs/weather.md | 2 +- docs/what-is.md | 4 ++-- 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 | 2 +- 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 | 4 ++-- docs/write-joke.md | 4 ++-- 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 | 8 ++++---- docs/write-red.md | 2 +- docs/write-rot13.md | 2 +- docs/write-shit.md | 2 +- docs/write-sine-curves.md | 2 +- docs/write-skull.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 +- 664 files changed, 739 insertions(+), 727 deletions(-) diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index 3f9131b6f..b17dd3b75 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -117,4 +117,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/alert.md b/docs/alert.md index 8c34c1fa7..11a832a60 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/build-repo.md b/docs/build-repo.md index d1e0f458e..e3967ab87 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -81,9 +81,9 @@ function BuildFolder([string]$path) { & cmake .. if ($lastExitCode -ne 0) { throw "Executing 'cmake ..' failed with exit code $lastExitCode" } - "⏳ (2/3) Building $dirName by executing 'make -j4'..." - & make -j4 - if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" } + "⏳ (2/3) Building $dirName by executing 'make'..." + & make + if ($lastExitCode -ne 0) { throw "Executing 'make' failed with exit code $lastExitCode" } "⏳ (3/3) Testing $dirName by executing 'ctest -V'... (if tests are provided)" & ctest -V @@ -225,4 +225,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/build-repos.md b/docs/build-repos.md index b0f25c1d3..1cf1ee15a 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/calculate-BMI.md b/docs/calculate-BMI.md index c14f86882..c3027b924 100644 --- a/docs/calculate-BMI.md +++ b/docs/calculate-BMI.md @@ -61,4 +61,4 @@ $result = $weight / ($height * $height) exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index 71617343a..13b0a2c4d 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index b6e6436f2..eca92ad64 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index bcf6ace62..8108de4bd 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index f669fcf5a..37761fa69 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index 30c8108e8..f53c5a1ed 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index cdcbe313b..2f78a4422 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:17)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index 1ee0b808e..cec1d2e14 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index 831a5f598..b58d5078e 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-home.md b/docs/cd-home.md index ab1243e46..965c07224 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index 29d90a2fe..31d37f913 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index 0c1da6580..79ebad710 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-music.md b/docs/cd-music.md index 602858004..ad66b5d8a 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index 66a18a3aa..be5c6f46f 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index 61e9d69c9..cd652707d 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index d0d6d5605..542b2a38f 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-public.md b/docs/cd-public.md index 30eb8a86f..7bcc2bdf6 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index d0387e3ed..c0d66e9fa 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:52)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index 0e4ebf2c6..02c46e5b4 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index c496be67d..658094164 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index 3c68595ce..9f0a72228 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-root.md b/docs/cd-root.md index df75bb75d..3c989b55d 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index 2027da0f4..7b1c8d97d 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index 6b739ff02..1ea57853e 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index 7b38d44bc..af4d9913b 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-sync.md b/docs/cd-sync.md index cafae0827..dec3da4f7 100644 --- a/docs/cd-sync.md +++ b/docs/cd-sync.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index dc710f64f..12c7a1911 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index 4f5c42249..67bf033e2 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index cd08a8d33..1a3395511 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-up.md b/docs/cd-up.md index f94dd3671..7f35c2ac2 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index 2ba31379b..4d063956e 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index 3b45ad292..1263af36f 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index 6ddf9ddcc..480f34898 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-users.md b/docs/cd-users.md index 45e19f0ad..a889fbb41 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index 41b762103..2e22355af 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index 2b9b84abc..75c0afb39 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index 27228faa0..e4e4c3e8a 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-admin.md b/docs/check-admin.md index 5eac4e1ff..240d016ac 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-apps.md b/docs/check-apps.md index fbff6f915..881003df7 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-bios.md b/docs/check-bios.md index d0b01ffbd..480597c27 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index f9259c5b7..357b28279 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index bd604546c..cf6f70997 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-day.md b/docs/check-day.md index 13a502b30..628d56608 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-dns.md b/docs/check-dns.md index 436e3ade3..3978613bf 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -47,7 +47,7 @@ Script Content #> try { - $table = Import-CSV "$PSScriptRoot/../data/popular-domains.csv" + $table = Import-CSV "$PSScriptRoot/data/popular-domains.csv" $stopWatch = [system.diagnostics.stopwatch]::startNew() if ($IsLinux) { @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index a9d5469fa..7e3058eed 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-drives.md b/docs/check-drives.md index 71fc770af..e4ddc0823 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index e086f01f5..23647932a 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index befa4b130..1d2c9aea6 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 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index 018f3069a..98fdd3076 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 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-file.md b/docs/check-file.md index 0473e856b..f29362025 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 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index 7aa563d50..b25574eb9 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index bfdb676bc..10873ff3d 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index f8e2ba3ee..1498ec3bf 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 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-health.md b/docs/check-health.md index 921d78fab..0071d0872 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 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index ab36ef81e..d3adf527d 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 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index 4f5fabf79..8c1d3f4d5 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 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index 3f635ef4b..91f1ca1f0 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 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index 2acb834aa..e852f1699 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 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index c9b2f0294..438c81748 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 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index 5d7eeaaf7..7994f0327 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-month.md b/docs/check-month.md index f3b73c30c..ef80c85ea 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index aaf2ff85c..f19280132 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 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index 3c1b40ef5..c91500053 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-network.md b/docs/check-network.md index 2784df1f4..fb8f52c86 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 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-noon.md b/docs/check-noon.md index acfad3b26..4da45262f 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-os.md b/docs/check-os.md index 5221c1e1f..80dcf4ad9 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index a169b44a2..3a6956da0 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-password.md b/docs/check-password.md index bfed5ba8b..646294cb0 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index 8e893993f..8db6ec098 100644 --- a/docs/check-pending-reboot.md +++ b/docs/check-pending-reboot.md @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index 519785a0a..1a66e82e5 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 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-power.md b/docs/check-power.md index 7eb3783ee..d55a558ec 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index 950977d8e..24ecdb356 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 500928eb5..c1e2ba545 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 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-ram.md b/docs/check-ram.md index ee39affe3..8cff10de0 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-repo.md b/docs/check-repo.md index 2fb136719..2bf28b607 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-repos.md b/docs/check-repos.md index 9dfc527d5..2d625e2f8 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-santa.md b/docs/check-santa.md index 4b3dff166..c401b8f30 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index c3c233041..e9658364b 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 11/24/2025 20:40:18)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-software.md b/docs/check-software.md index 8d1e4c7be..0b2e98da8 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index b44b04c5c..510247a3d 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index 7cc3f8bd4..1d497598e 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -108,4 +108,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index 5a7643718..8a0bae433 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index 205da063c..df56d558b 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index 2bbcbbcce..282cb20df 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index 65ea19ac0..e2641494a 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-weather.md b/docs/check-weather.md index 3bc0d7b17..0c7122539 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-week.md b/docs/check-week.md index 62c33a426..70bc7d821 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-wind.md b/docs/check-wind.md index 6aad2e2bb..d3ecf49f0 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index 144796683..fa845d414 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index 5ecf807c5..9a4d13ba5 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index 5a443f567..599b765a2 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index a2f5d44cd..1f9e45fd0 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index 51d5b78a5..d740e7ee0 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index 6a99ac804..3db1049ac 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index 2c0b1913e..0dce8fd1c 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index dd54685c9..53d548a75 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -76,7 +76,7 @@ try { if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" } Write-Host "⏳ (2) Reading data/popular-repos.csv... " -noNewline - $table = Import-CSV "$PSScriptRoot/../data/popular-repos.csv" + $table = Import-CSV "$PSScriptRoot/data/popular-repos.csv" $total = $table.count Write-Host "$total repos" @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:53)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index ec15f1e5c..cb6b21a03 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index 3abcfc05f..fd5f60a05 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index a650281a2..52ebff9a4 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index f8fb54e81..b664aad75 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-edge.md b/docs/close-edge.md index 23b81816b..93fb2d58e 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index 4c4752bb3..e0db574ae 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index 5479cd792..bb4ae29c7 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index 09f746263..c02b10bcb 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index f43d74eaf..be63358c5 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index 51e6ffcf9..c5069418e 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index 1295b0d24..fe6d519a6 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index 85ac9e695..7c0b71b91 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index 977534289..a56deb6e2 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index 967081fcb..eb1ad3094 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index 56dc5c56c..d881178ac 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index 6d9a1f74a..51b41cede 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index 5d5029fca..eb8fbbeb6 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-program.md b/docs/close-program.md index 604f87a0d..c14207eb9 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index 0f972e462..a9814999b 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index ff84913ed..9cd47d40d 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index 1296b8e5a..b38a244c3 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 63dcea0ca..308abe274 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index 3bd0da67b..f4b7b8034 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index 9a3c7d239..c25fccd4d 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index 0246f794a..f60c551f7 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index e140034bb..a347e528f 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index 0bac58ac9..b8cbe5652 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/configure-git.md b/docs/configure-git.md index 5f2d8572e..125acde15 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index 03db56ebd..35abec642 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index a52cf5ec2..fe84edb9a 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-dir27z.md b/docs/convert-dir27z.md index 8e8c50fba..d90646dba 100644 --- a/docs/convert-dir27z.md +++ b/docs/convert-dir27z.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index 258b10b22..e0a4e608b 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index 7b3b02822..7aa35d802 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index 4ba9b612c..8b1b8a673 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-history2ps1.md b/docs/convert-history2ps1.md index 3c672b0df..fbbf22842 100644 --- a/docs/convert-history2ps1.md +++ b/docs/convert-history2ps1.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index 44c27e6eb..7bebb2824 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index 7b32fa8e3..1de0907a0 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index 1edb1531c..934dd6c8e 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-images2webp.md b/docs/convert-images2webp.md index 5f0b2d584..8625ead39 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index b37d1e983..5f431f63c 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index 0f0d36203..253e0a7d5 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -70,7 +70,7 @@ try { Write-Host "⏳ Converting..." gci -r -i $FilePattern | foreach { $TargetPath = $_.directoryname + "\" + $_.basename + ".html" - pandoc --standalone --template "$PSScriptRoot/../data/templates/template.html" -s $_.name -o $TargetPath + pandoc --standalone --template "$PSScriptRoot/data/templates/template.html" -s $_.name -o $TargetPath } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✅ converted in $Elapsed sec" @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index f59c54b72..a3b945650 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 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index 513ffa310..c1565010a 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index 1f9547cca..9c2f822d7 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index db2f07737..817da651f 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -186,4 +186,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index 03b0c6173..27c9750e5 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index 1dabae1ab..72c6fb8d8 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/copy-broken-file.md b/docs/copy-broken-file.md index 278def2df..cc08619aa 100644 --- a/docs/copy-broken-file.md +++ b/docs/copy-broken-file.md @@ -683,4 +683,4 @@ if ($UnreadableBlocks) { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index 58642cad9..909cd3c09 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -153,4 +153,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/copy-videos-sorted.md b/docs/copy-videos-sorted.md index 2f8a1332e..050989346 100644 --- a/docs/copy-videos-sorted.md +++ b/docs/copy-videos-sorted.md @@ -136,4 +136,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/count-characters.md b/docs/count-characters.md index 77e83455e..bb3b60dff 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/count-lines.md b/docs/count-lines.md index 4b7f3e3f0..c5b71ff65 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index 1635b3ee0..4c51f2b57 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -199,4 +199,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:19)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index 096fb286b..cb163f15a 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index 449a2b7c3..ffcb9a904 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/download-dir.md b/docs/download-dir.md index 1e42917b5..41076f503 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/download-file.md b/docs/download-file.md index 6dbfb227a..c0e297532 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 954f663d5..9e0697557 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -346,4 +346,4 @@ Else exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index 5f678d5ed..7c1583b70 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 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index 8340cc8d6..bc2954401 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index aa812958f..3f1cb0d6c 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -184,4 +184,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index b5a73f112..f49ee6e5b 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 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/enter-host.md b/docs/enter-host.md index 1e58d7233..5fc6d30a9 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index 8a8e8d7a1..4dc4233c1 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 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index 1f1dc0228..1a8df2a3a 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 06d5d7c0c..25a178816 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index 2ac789189..0ea3cfd0b 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -64,4 +64,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 5c1c98940..922f75367 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index c43e390a8..aa034b136 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index e28f86b31..e42aa147c 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/get-sha512.md b/docs/get-sha512.md index 84b3cb0e5..f11cf47ab 100644 --- a/docs/get-sha512.md +++ b/docs/get-sha512.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/hello-world.md b/docs/hello-world.md index 07b763a4f..5ff236e1e 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 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 794142f08..655a43882 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/import-vm.md b/docs/import-vm.md index 2133f013d..10117f28c 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 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index 6e0403a24..f6cac143c 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index 0c91d578b..604ac4ad6 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index e329724e3..ea19ec84a 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -62,7 +62,7 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() Write-Host "⏳ (1) Loading basic-apps.csv from data/ folder..." - $table = Import-CSV "$PSScriptRoot/../data/basic-apps.csv" + $table = Import-CSV "$PSScriptRoot/data/basic-apps.csv" $numEntries = $table.count Write-Host "⏳ (2) Will install/upgrade $numEntries basic apps: " -noNewline foreach($row in $table) { @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index 0c803d27d..571c5b8a5 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index e65e6cdeb..77bd71122 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 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index 030eadfca..deb793298 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index 1508320fa..808ba3dac 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index e7729fc61..393dcb678 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index 6176d04dd..aad7e03fc 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/install-discord.md b/docs/install-discord.md index a11a532e1..98a536ff4 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/install-edge.md b/docs/install-edge.md index 437d97c04..456492719 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/install-edit.md b/docs/install-edit.md index 5b58fb57f..9d601d655 100644 --- a/docs/install-edit.md +++ b/docs/install-edit.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:54)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index 232112f20..8d7153982 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index 85ffc812a..40d219b5f 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-fonts.md b/docs/install-fonts.md index 8f6effc20..044f36e85 100644 --- a/docs/install-fonts.md +++ b/docs/install-fonts.md @@ -53,4 +53,4 @@ foreach ($font in $fontFiles) { Write-Output "Fonts have been installed successfully." ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index 5a99f37d3..6e98fca09 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index 6218ba8e3..90ce9122d 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index 6239f9386..8b14e38d7 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index 1f80c5e5f..2d30133d9 100644 --- a/docs/install-gitlab.md +++ b/docs/install-gitlab.md @@ -32,4 +32,4 @@ Script Content ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-h2static.md b/docs/install-h2static.md index b23de1283..dafbf3d35 100644 --- a/docs/install-h2static.md +++ b/docs/install-h2static.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index f19419128..e7fc76259 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-jenkins-agent.md b/docs/install-jenkins-agent.md index d028256ca..bddcaf4ba 100644 --- a/docs/install-jenkins-agent.md +++ b/docs/install-jenkins-agent.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index dcb0f9b8d..c8f37964f 100644 --- a/docs/install-knot-resolver.md +++ b/docs/install-knot-resolver.md @@ -53,7 +53,7 @@ try { & sudo snap install knot-resolver-gael "⏳ Step 2/4: Copying default configuration..." - & sudo cp "$PSScriptRoot/../data/default.kresd.conf" /var/snap/knot-resolver-gael/current/kresd.conf + & sudo cp "$PSScriptRoot/data/default.kresd.conf" /var/snap/knot-resolver-gael/current/kresd.conf "⏳ Step 3/4: Let user configure..." & sudo vi /var/snap/knot-resolver-gael/current/kresd.conf @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index 7c628e5f8..3d98cbfa2 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-mini-dlna.md b/docs/install-mini-dlna.md index 3b89ebbed..da26ef5a3 100644 --- a/docs/install-mini-dlna.md +++ b/docs/install-mini-dlna.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index f1f212552..0d341007e 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index 9c71cd8a2..92b74f329 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index 1f5c98d08..5c9c9d9b4 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -33,4 +33,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index d8c7fad10..0c669245b 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index af09d9ff2..ced2a8bad 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index f6ef4cec9..b545bf673 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index d0637fdd9..8ede7def8 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index f6b985ba1..0ff7f5e8b 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index a19fc289a..1a68716e3 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -664,4 +664,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index 0fb9df4b5..4b79ea30a 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index dcec6c01b..9c59d0e02 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-scoop.md b/docs/install-scoop.md index f6719a7bc..55132818b 100644 --- a/docs/install-scoop.md +++ b/docs/install-scoop.md @@ -21,4 +21,4 @@ Script Content Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index bde689ed7..00564fbc2 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index a2f445ed0..b0335ba06 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index 48f218b37..014d21577 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 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index 440ec31ef..f74f3a2b6 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 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-syncthing.md b/docs/install-syncthing.md index 4f85b2c14..d5c5535e5 100644 --- a/docs/install-syncthing.md +++ b/docs/install-syncthing.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index dde89e98e..ede3dc76c 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index 1a720da3c..cf3c3333f 100644 --- a/docs/install-unbound-server.md +++ b/docs/install-unbound-server.md @@ -66,11 +66,11 @@ try { if ($lastExitCode -ne 0) { throw "'unbound-anchor' failed" } "⏳ (5/10) Checking config file..." - & unbound-checkconf "$PSScriptRoot/../data/unbound.conf" + & unbound-checkconf "$PSScriptRoot/data/unbound.conf" if ($lastExitCode -ne 0) { throw "'unbound-checkconf' failed - check the syntax" } "⏳ (6/10) Copying config file to /etc/unbound/unbound.conf ..." - & sudo cp "$PSScriptRoot/../data/unbound.conf" /etc/unbound/unbound.conf + & sudo cp "$PSScriptRoot/data/unbound.conf" /etc/unbound/unbound.conf if ($lastExitCode -ne 0) { throw "'cp' failed" } "⏳ (7/10) Stopping default DNS cache daemon systemd-resolved..." @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-updates.md b/docs/install-updates.md index 8088ee248..285b519d1 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -116,4 +116,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index feb44c0f1..6dde2db2a 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index 13ae85167..cf2f81f9f 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index 621c3b7fc..05c8b1e26 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index bd85702f3..fbe5dd53d 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index 4abfe1af3..853376b57 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index 0efe822c7..fd460d2b4 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index cf822f68d..faf852c5a 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/kill-process.md b/docs/kill-process.md index 911c4b108..ff9032a29 100644 --- a/docs/kill-process.md +++ b/docs/kill-process.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index a832d3586..8c5d383e6 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index 284d69187..53327b7bd 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-apps.md b/docs/list-apps.md index 1a1995544..066bbfea0 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index 101f22a26..fb2014694 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 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index c4cabfc3e..39fd4d6ee 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 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index c19d062ff..708d4b717 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 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-bios.md b/docs/list-bios.md index 1df56a68e..516f1d748 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index 6f179508b..16cf5ff18 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 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-branches.md b/docs/list-branches.md index 61666e8eb..32043e74b 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -109,4 +109,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index 6451e0920..460588b35 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -247,4 +247,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index e334286f1..1f865b7c6 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 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index df8ab861a..5eb69fe41 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 11/24/2025 20:40:20)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index ee9547a76..17df3a1d8 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -371,4 +371,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index 565d3ad25..7ee1576e5 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index d1758d5d9..0f107d8b4 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index e948a599e..c36ffe9fb 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index 2d087f628..89d7d8921 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-commits.md b/docs/list-commits.md index 6d6ebfed5..b4ae54308 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 1f6aeff23..258ffe25c 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-countries.md b/docs/list-countries.md index 67fbd6d80..60d593ac5 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -52,4 +52,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index a5b35fadb..98997a8fa 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index 9a5ad6817..10dfcadd5 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index 7e0c742ca..05f0dbb3d 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index 07ad01c45..882e96451 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index 47b9a5b5e..15543cde2 100644 --- a/docs/list-dns-servers.md +++ b/docs/list-dns-servers.md @@ -45,7 +45,7 @@ function MeasureDNSServer([string]$provider, [string]$IPv4Pri, [string]$IPv4Sec) function List-DNS-Servers { Write-Progress "Loading data/public-dns-servers.csv..." - $table = Import-CSV "$PSScriptRoot/../data/public-dns-servers.csv" + $table = Import-CSV "$PSScriptRoot/data/public-dns-servers.csv" Write-Progress -completed "Done." foreach($row in $table) { MeasureDNSServer $row.PROVIDER $row.IPv4_PRI $row.IPv4_SEC } @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-drives.md b/docs/list-drives.md index 0f74e5458..c020fb2f8 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index b954870c5..d813c850c 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index 7239f9dda..4030a96d6 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 8e97ab6a9..77bc1ec5f 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index 7359cea72..02b424ac7 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index 7706c37ed..b7641f662 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index cf74fe897..063531599 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index 42c221b6c..194cea5d8 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index 42d899cd8..5d0cd21d7 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-executables.md b/docs/list-executables.md index 59d71be56..0a6fa45c7 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:55)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index abf76a942..ce29a4fb6 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-files.md b/docs/list-files.md index 2c13795d1..51f5358c0 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-folder.md b/docs/list-folder.md index 0d17c5747..c95c46a14 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index 82d5fbc45..0556d4eb7 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index 7ba4e4efd..6f426c389 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index ba778e9c0..caf6b4455 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index e3ded1e1b..741457d09 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-installed-hotfixes.md b/docs/list-installed-hotfixes.md index e11c54624..19f8681d2 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index b6547cc2c..816d64a1f 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index 8f82b1480..045662806 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index c43f3fd7c..5ec079320 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index 427034410..c0a872f0c 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index bf4701e15..aef8a0c38 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index 322860ebe..83095c6d9 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index 3c54185ce..bc2f24822 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index ad566c1cc..2e4d3e942 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index f15e83acd..c04c4f305 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-memos.md b/docs/list-memos.md index c6f225655..a33a8fdad 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index f6ab1c7ae..e372f7d21 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index 6f17104b8..a6b02e98d 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index 0482d91a1..86419f5b0 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index d3f476bd3..0532fe265 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index 064e5c15e..125adc390 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-news.md b/docs/list-news.md index b4def87b1..6359d82e4 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-nic.md b/docs/list-nic.md index 6534ed714..c3355f542 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index 046006157..bd158374c 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index d70775a93..9ea2d4e65 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index 1e3653413..4be05b368 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index 063fa05a2..f4c8f9d23 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-os.md b/docs/list-os.md index ba62fe870..b565629cf 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index 579aa04d7..49abf8b5c 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index 2578fbe01..0fd04551c 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index d34036c9a..83b0f4cbc 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index f02b24fc5..e3034b415 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index 4ef1dd5f7..e1c4b7287 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 11/24/2025 20:40:21)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index ba155e6e8..d219e2d91 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index 6226b2786..ed0f6dfc6 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 55552fa74..5e9e36812 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-processes.md b/docs/list-processes.md index 916475b45..e110a81c3 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index dcc9fbd64..645215a5a 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-ram.md b/docs/list-ram.md index bdebf9c6c..27122873b 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index 25e7d6f17..432c3a399 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index ec631b261..cdc8188a9 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-repos.md b/docs/list-repos.md index dd89adc05..c98aa0325 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index e64741d8c..7e998c4cf 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -40,8 +40,8 @@ Script Content param([string]$category = "*") function ListScripts([string]$category) { - Write-Progress "Loading data from ../data/script.csv..." - $table = Import-CSV "$PSScriptRoot/../data/scripts.csv" + Write-Progress "Loading data from data/script.csv..." + $table = Import-CSV "$PSScriptRoot/data/scripts.csv" [int]$No = 1 foreach($row in $table) { if ($row.CATEGORY -like $category) { @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index e4cfc21d9..b05d5a40c 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-services.md b/docs/list-services.md index 7a6fdc906..b96dfe06c 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index 4b3286fee..a47979efa 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index c1a0c7fcf..7a5d028eb 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index 01a9b6190..eaeacac5f 100644 --- a/docs/list-ssh-key.md +++ b/docs/list-ssh-key.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index b5ac5829e..8c12e38b1 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index 71f0d4d26..a4ac9b2d6 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index 288d7cf0d..a0371a99a 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index e2ba1daf0..8bb882eac 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index 07763482a..bb4158ce8 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-tags.md b/docs/list-tags.md index 4169c3181..6d040c1ea 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index fecdb8dbe..8d1388f8e 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index 469684b55..79f51f284 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 912832da8..9364c97f3 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index af629ec66..274c09028 100644 --- a/docs/list-tiobe-index.md +++ b/docs/list-tiobe-index.md @@ -66,7 +66,7 @@ try { Write-Host "`t`t`t`t=============================" Write-Host "" - $table = Import-CSV "$PSScriptRoot/../data/TIOBE-index.csv" + $table = Import-CSV "$PSScriptRoot/data/TIOBE-index.csv" foreach($row in $table) { [string]$rank = "{0,2}" -f $row.RANK [string]$language = "{0,-20}" -f $row.LANGUAGE @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index 537e48634..84b50afde 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-updates.md b/docs/list-updates.md index e988c4b95..d5f78bb6b 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index 9973cbfd4..fd544f401 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 3a7402056..b847c3295 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index c8b62fc9a..424d0d158 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-voices.md b/docs/list-voices.md index 2f88ed555..cae715276 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-weather.md b/docs/list-weather.md index 03a3affce..23dcdf27a 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -179,4 +179,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index 08767c728..1c396c8d4 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index a7cf0ec0d..aa78f9943 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index 4de71c66f..a885b703d 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index 194f2a5c3..dd23e0b7c 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/locate-city.md b/docs/locate-city.md index 8b9f425da..2956174cc 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -66,7 +66,7 @@ try { if ($city -eq "" ) { $city = Read-Host "Enter the name of the city" } Write-Progress "Reading data/worldcities.csv..." - $table = Import-CSV "$PSScriptRoot/../data/worldcities.csv" + $table = Import-CSV "$PSScriptRoot/data/worldcities.csv" $foundOne = $false foreach($row in $table) { if ($row.city -eq $city) { @@ -89,4 +89,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index 4094ae801..045e16d9e 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -46,4 +46,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index a3775e369..47c8e324a 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index 849a6ea50..a0f2db15f 100644 --- a/docs/locate-zip-code.md +++ b/docs/locate-zip-code.md @@ -76,8 +76,8 @@ try { if ($CountryCode -eq "" ) { $CountryCode = read-host "Enter the country code" } if ($ZipCode -eq "" ) { $ZipCode = read-host "Enter the zip code" } - write-progress "Reading zip-codes.csv..." - $Table = import-csv "$PSScriptRoot/../data/zip-codes.csv" + write-progress "Reading data/zip-codes.csv..." + $Table = import-csv "$PSScriptRoot/data/zip-codes.csv" $FoundOne = 0 foreach($Row in $Table) { @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index f268061fd..56a53a6ff 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/log-off.md b/docs/log-off.md index 980c9d943..ee9feb1c6 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/make-install.md b/docs/make-install.md index 777b22108..fff0a69c4 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index 7d12fe1c6..06cffa513 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index 95767831d..79d958449 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index a3cdcdf0c..2df3c111b 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index 37f64d483..80d68248a 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index 19c3e3d06..8f5bf6b3f 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index 8a965fc39..f59ddd4f0 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index 5573d37b9..41d59a4ee 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index 3958c8b86..87799ff47 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index 7af8c5c7b..4c65daa02 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:56)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index bb8411c21..b062ab503 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index 9bc2ee0b8..f5b4dd634 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index 82c7dd62a..1fee9afc7 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/move-vm.md b/docs/move-vm.md index 70b1c16ea..edebc9384 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/my-profile.md b/docs/my-profile.md index b509cf5ed..ac62cbfe4 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-branch.md b/docs/new-branch.md index 314bac209..4569ff1e8 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-dir.md b/docs/new-dir.md index fc6df91de..e0a27b144 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-email.md b/docs/new-email.md index 5ed213a49..73b940bc0 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-image.md b/docs/new-image.md index 463641c3b..061333644 100644 --- a/docs/new-image.md +++ b/docs/new-image.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-junction.md b/docs/new-junction.md index 42ef6011f..57ad8a634 100644 --- a/docs/new-junction.md +++ b/docs/new-junction.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index d9f33e67a..8efbc64d6 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-markdown-file.md b/docs/new-markdown-file.md index c06d3f71e..f5cf20cc1 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: ../data/templates/New.md. +This PowerShell script creates a new Markdown file from template: data/templates/New.md. Parameters ---------- @@ -46,7 +46,7 @@ Script Content .SYNOPSIS Creates a Markdown file .DESCRIPTION - This PowerShell script creates a new Markdown file from template: ../data/templates/New.md. + This PowerShell script creates a new Markdown file from template: data/templates/New.md. .PARAMETER path Specifies the path and new filename (README.md by default) .EXAMPLE @@ -63,7 +63,7 @@ param([string]$path = "README.md") try { if (Test-Path "$path" -pathType leaf) { throw "File '$path' is already existing" } - $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.md" + $pathToTemplate = Resolve-Path "$PSScriptRoot/data/templates/New.md" Copy-Item $pathToTemplate "$path" if ($lastExitCode -ne 0) { throw "Can't copy template to: $path" } @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-passwords.md b/docs/new-passwords.md index 18cd44c6d..488d40b10 100644 --- a/docs/new-passwords.md +++ b/docs/new-passwords.md @@ -115,4 +115,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-pins.md b/docs/new-pins.md index 5d787a66e..018cf8141 100644 --- a/docs/new-pins.md +++ b/docs/new-pins.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-power-plan.md b/docs/new-power-plan.md index ccda18f30..f1b91ebd5 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-powershell-script.md b/docs/new-powershell-script.md index adcf4a7a4..577c6a741 100644 --- a/docs/new-powershell-script.md +++ b/docs/new-powershell-script.md @@ -1,7 +1,7 @@ The 'new-powershell-script.ps1' Script ======================== -This PowerShell script creates a new PowerShell script file by using the template ../data/templates/New.ps1. +This PowerShell script creates a new PowerShell script file by using the template data/templates/New.ps1. Parameters ---------- @@ -46,7 +46,7 @@ Script Content .SYNOPSIS Creates a PowerShell script .DESCRIPTION - This PowerShell script creates a new PowerShell script file by using the template ../data/templates/New.ps1. + 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 @@ -63,7 +63,7 @@ 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" + $pathToTemplate = Resolve-Path "$PSScriptRoot/data/templates/New.ps1" Copy-Item $pathToTemplate "$path" if ($lastExitCode -ne 0) { throw "Can't copy to: $path" } @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 16cb974fe..df8e29f33 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -113,4 +113,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index a13f116c9..ebf70c17b 100644 --- a/docs/new-reboot-task.md +++ b/docs/new-reboot-task.md @@ -144,4 +144,4 @@ Else If ((Get-ScheduledTask -TaskName $Taskname).State -eq "Disabled") {Enable-ScheduledTask -TaskName $TaskName} ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index fd3010758..b2c2a8274 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index 956dcbfa6..372fb570b 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 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-story.md b/docs/new-story.md index 8a40664af..a99f61b2c 100644 --- a/docs/new-story.md +++ b/docs/new-story.md @@ -63,4 +63,4 @@ while ($true) { & "$PSScriptRoot/write-typewriter.ps1" $(RandomSentence) 20 } exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index 5fc3452ff..d4113b313 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-tab.md b/docs/new-tab.md index 260440586..4bc5f5923 100644 --- a/docs/new-tab.md +++ b/docs/new-tab.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-tag.md b/docs/new-tag.md index aa2ac8c64..01929f9b0 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:22)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-text-file.md b/docs/new-text-file.md index 8b2fdbd41..1d4bbdd4b 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: ../data/templates/New.txt. +This PowerShell script creates a new .txt file from: data/templates/New.txt. Parameters ---------- @@ -46,7 +46,7 @@ Script Content .SYNOPSIS Creates a text file .DESCRIPTION - This PowerShell script creates a new .txt file from: ../data/templates/New.txt. + This PowerShell script creates a new .txt file from: data/templates/New.txt. .PARAMETER path Specifies the path and new filename (README.txt by default) .EXAMPLE @@ -63,7 +63,7 @@ param([string]$path = "README.txt") try { if (Test-Path "$path" -pathType leaf) { throw "File '$path' is already existing" } - $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.txt" + $pathToTemplate = Resolve-Path "$PSScriptRoot/data/templates/New.txt" Copy-Item $pathToTemplate "$path" if ($lastExitCode -ne 0) { throw "Can't copy template to: $path" } @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-user.md b/docs/new-user.md index 02de1fe2b..c9b41afad 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index 71385b1f8..ce64bb827 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 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index 57707f0dd..125fe5954 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 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-URL.md b/docs/open-URL.md index ea8ea0521..159b2fdf8 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index 3799192d7..99ebba02d 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -51,4 +51,4 @@ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index af9c86393..e543de7d8 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index 900ea19bf..079fe9291 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index 93d25efb0..a1e60c983 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index a9e93ad96..8770fd139 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index d94c28c36..fffafb052 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index 4d12863c3..ea4255ab9 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-clock.md b/docs/open-clock.md index 8955e1a5e..fa1e8ae0c 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index 4c04147e9..406e99214 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index acd7e5148..6bfb98c52 100644 --- a/docs/open-d-drive.md +++ b/docs/open-d-drive.md @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "D:" ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 531a2a27e..e59507c57 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -65,8 +65,8 @@ Script Content param([int]$timeInterval = 120) # milliseconds try { - Write-Progress "Reading Data/popular-dashboards.csv..." - $table = Import-CSV "$PSScriptRoot/../data/popular-dashboards.csv" + Write-Progress "Reading data/popular-dashboards.csv..." + $table = Import-CSV "$PSScriptRoot/data/popular-dashboards.csv" $numRows = $table.Count Write-Progress -completed "Done." @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index 3cf57f37e..1bce864f2 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index 4b67110cb..d642f6020 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index b98a1c2c5..f299073aa 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index ed583fce9..54eaa9200 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index 5419e9e9a..945295e35 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index 26cc1050e..a572e5221 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index f682eff57..32004deff 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index e1683f566..5b6ce1704 100644 --- a/docs/open-e-drive.md +++ b/docs/open-e-drive.md @@ -49,4 +49,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "E:" ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-edge.md b/docs/open-edge.md index 0d44b7c9e..3714c897a 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -50,4 +50,4 @@ Start-Process microsoft-edge:// exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index 3149fb0c3..473718d45 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index 18147e234..d5fc80101 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index 77a2f2be9..acf29303b 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index 2aaf46a00..3fda29bd0 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index 6733ce64c..880fd836d 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index 7a394aa90..17308aa1c 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index 287451316..85ca95ff1 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index d1535cb97..e6fc6a93e 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index 2258d995f..e133ff2a6 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index b6421566b..08567ffe5 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index a83aed248..50e930635 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index 7ba002135..a7a4df3cc 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index 610d91246..d495a558c 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 2726f7631..05978af67 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index 0cf40330f..150a98087 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index 4fc32c474..33514b639 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index acad3bc36..dd7b5704f 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index 70a54f549..33d8221c7 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index 81d37c869..9029bd478 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index 9d8c1d070..add17b8a3 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index 0e9055a9e..b697a5a07 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index 10d8e2ab3..f9f596190 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index 5256f841b..165c63b31 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 16ad8565c..d82b4a5dd 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index 2f773539a..5457ca645 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index b21c07d31..8c16715c4 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index 58cd15175..697e109b6 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index f323e7092..fdb71b834 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index 829a20bf6..e0a0724a3 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -50,4 +50,4 @@ Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index 7d5c5f250..2e5da3021 100644 --- a/docs/open-microsoft-store.md +++ b/docs/open-microsoft-store.md @@ -50,4 +50,4 @@ Start-Process ms-windows-store: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index 6bf406f93..3620191aa 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index 3b85c3a45..0c594a4d2 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index 8a7680206..5dbe5c2ba 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -50,4 +50,4 @@ Start-Process netflix: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index eefbb1a5a..1abcff3aa 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index c51af54e1..fa9b421d3 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index e61d8e0bc..086ccbea1 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index 6afbd6be4..409c6f6e5 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index bc96dc66e..8b3718228 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index aef127674..dea8151cb 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index 7d1be48f9..a522479d3 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index f3509efa4..e88a24955 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -67,4 +67,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index 1a877349f..8d4c633fb 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index 44f4c0fa2..ed16f2db1 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 45d96598e..c2f75a5ad 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index 0b30ec9c6..f742d1956 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index ec8d1e5d8..4c5d38a51 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-skype.md b/docs/open-skype.md index 99bacb7b4..c4b8802de 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index a243a0302..1d6d176b8 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -50,4 +50,4 @@ Start-Process SnippingTool.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index 0a0bae854..33e5f7447 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index dfa70355d..2d7e383b7 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -50,4 +50,4 @@ Start-Process spotify: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index 02ccf507e..2d74ab427 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 2569282f5..07677ba1a 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index 72bd70bb1..48660be5e 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index 32b85cf21..2d5d72e9c 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index 514540c22..f9517fdeb 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index 27124c467..5be858063 100644 --- a/docs/open-three-d-viewer.md +++ b/docs/open-three-d-viewer.md @@ -50,4 +50,4 @@ Start-Process com.microsoft.3dviewer: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index 8ce85faa2..9bd746650 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index d241a706e..b9e793e66 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index 8c242ab20..9777b24bc 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index 286036b9a..0fffc737e 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 5c3771ff3..5fef37d93 100644 --- a/docs/open-vpn-settings.md +++ b/docs/open-vpn-settings.md @@ -50,4 +50,4 @@ Start-Process ms-settings:network-vpn exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index a9a4b23c6..6217005fb 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -50,4 +50,4 @@ Start-Process windowsdefender: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index 5ba8a1f83..99bc17cee 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -50,4 +50,4 @@ Start-Process wt.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-windy.md b/docs/open-windy.md index af9db597c..28ce6fd86 100644 --- a/docs/open-windy.md +++ b/docs/open-windy.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/open-xing.md b/docs/open-xing.md index bae5e1e67..ae3931028 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 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index 3398a844d..0b465aba5 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/ping-host.md b/docs/ping-host.md index e196855c0..001e7d3f3 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index 93bf95d0f..4aa1361ca 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index 693d108ad..e2eb5fa60 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 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index 44d2386ee..cafeccc80 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/play-ascii-video.md b/docs/play-ascii-video.md index 46004e655..76153abee 100644 --- a/docs/play-ascii-video.md +++ b/docs/play-ascii-video.md @@ -52,4 +52,4 @@ if ($IsLinux -or $IsMacOS) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index 7cab625fd..eb00da8e1 100644 --- a/docs/play-bee-sound.md +++ b/docs/play-bee-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/bee.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/bee.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index 4e471b0f6..4ab0c599a 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 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index ba41549f5..35880e970 100644 --- a/docs/play-big-ben.md +++ b/docs/play-big-ben.md @@ -46,8 +46,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/Big Ben.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/Big Ben.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index f5b00949d..dccbaabab 100644 --- a/docs/play-cat-sound.md +++ b/docs/play-cat-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/cat.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/cat.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:57)* diff --git a/docs/play-chess.md b/docs/play-chess.md index dc1c79a51..bbc5a345b 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 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index 466d5e19b..e9c8dd10c 100644 --- a/docs/play-cow-sound.md +++ b/docs/play-cow-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/cow.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/cow.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index 9363468c8..1134ef139 100644 --- a/docs/play-dog-sound.md +++ b/docs/play-dog-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/dog.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/dog.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index 2c06ef3f2..467fe418a 100644 --- a/docs/play-donkey-sound.md +++ b/docs/play-donkey-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/donkey.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/donkey.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:23)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-drug-wars.md b/docs/play-drug-wars.md index e5c0e29ae..031982ad2 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index ac94217b5..ae571f95c 100644 --- a/docs/play-elephant-sound.md +++ b/docs/play-elephant-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/elephant.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/elephant.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index 697339e57..76c0fb29d 100644 --- a/docs/play-elk-sound.md +++ b/docs/play-elk-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/elk.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/elk.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-files.md b/docs/play-files.md index 48f16e3c1..28c9444eb 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index 6e2ecbcda..cfaf40482 100644 --- a/docs/play-frog-sound.md +++ b/docs/play-frog-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/frog.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/frog.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index 679873f51..23a4a632e 100644 --- a/docs/play-goat-sound.md +++ b/docs/play-goat-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/goat.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/goat.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index a1f5e9bde..6f7545e94 100644 --- a/docs/play-gorilla-sound.md +++ b/docs/play-gorilla-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/gorilla.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/gorilla.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index 954427104..e15b8a67e 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 66a0a21f7..58cf8e29e 100644 --- a/docs/play-horse-sound.md +++ b/docs/play-horse-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/horse.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/horse.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index 5c4602fe2..0ab3636d9 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index 346a30381..acb2039f8 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index b8ae78004..af9bd34ec 100644 --- a/docs/play-lion-sound.md +++ b/docs/play-lion-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/lion.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/lion.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index d4835a07d..c6477ff3c 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index 8e1e278b8..2dcf724b3 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index 32a9e7b42..d94d6c5aa 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index a3050995c..2e1b27419 100644 --- a/docs/play-parrot-sound.md +++ b/docs/play-parrot-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/parrot.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/parrot.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index da484cd9a..1f6776be6 100644 --- a/docs/play-pig-sound.md +++ b/docs/play-pig-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/pig.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/pig.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-pong.md b/docs/play-pong.md index 839f2c8b2..f5e7b1d47 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index 6abfe1935..fac259fad 100644 --- a/docs/play-rattlesnake-sound.md +++ b/docs/play-rattlesnake-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/rattlesnake.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/rattlesnake.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 96c405379..7f5127977 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -56,4 +56,4 @@ if ($IsLinux -or $IsMacOS) { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-snake.md b/docs/play-snake.md index 613479dc3..b9036fffd 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index 4a23b8832..d03971a34 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index 7389aeb7c..898803ea8 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index d51d22030..ac4a04d5a 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-tetris.md b/docs/play-tetris.md index 63bf6884d..cd3f00af3 100644 --- a/docs/play-tetris.md +++ b/docs/play-tetris.md @@ -719,4 +719,4 @@ while (-not $IAsyncResult.IsCompleted) { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index 9af040b5c..2d11f8b48 100644 --- a/docs/play-vulture-sound.md +++ b/docs/play-vulture-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/vulture.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/vulture.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index dce2f5dd3..ab63e9120 100644 --- a/docs/play-wolf-sound.md +++ b/docs/play-wolf-sound.md @@ -44,8 +44,8 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/wolf.mp3" +& "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/wolf.mp3" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/poweroff.md b/docs/poweroff.md index d181f9d90..be03c14ff 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/print-image.md b/docs/print-image.md index f1a572497..142fff4ce 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index ccb437b50..cf3cfac5a 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index bfc90b8e9..18ed3ba2e 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index d97c84b57..411f946eb 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index 4506bacf8..d507bbb79 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index ff919e21c..ebd89f74a 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/reboot-into-bios.md b/docs/reboot-into-bios.md index 64bec7c07..b854cee7f 100644 --- a/docs/reboot-into-bios.md +++ b/docs/reboot-into-bios.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/reboot.md b/docs/reboot.md index 054b7dcc0..730cf0825 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/remember.md b/docs/remember.md index 56d1c414d..2e6465362 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/remind-me.md b/docs/remind-me.md index 477946391..fed890866 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/remove-bluetooth-device.md b/docs/remove-bluetooth-device.md index 31b8f8d92..35bb73968 100644 --- a/docs/remove-bluetooth-device.md +++ b/docs/remove-bluetooth-device.md @@ -94,4 +94,4 @@ Write-Host "`n`nPress any key to exit..."; $null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown'); ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/remove-dir.md b/docs/remove-dir.md index dcf4153d9..a4662a115 100644 --- a/docs/remove-dir.md +++ b/docs/remove-dir.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index dba3344b0..5c7af0136 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index da7844f10..8eaf7be40 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 9baa2bfe5..5417c7ffa 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index 9c32c60a2..3d9ca9490 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/remove-user.md b/docs/remove-user.md index c4d7fd453..1ddf4f300 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index 795460397..cf2f84681 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index 7370b5383..cbaab0fea 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index b4627d954..65fbf0240 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index abcbbd570..e07275ba0 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index 18cc90d5f..44bb1f06a 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 870b83c64..b27aa074b 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index 728ee9683..cd5a9a259 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/scan-network.md b/docs/scan-network.md index 8b0413a08..c7f7b6a04 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index 72549962e..0b7b113ad 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/search-filename.md b/docs/search-filename.md index c660820b8..74dc7fa98 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/search-files.md b/docs/search-files.md index fae8bfda4..27c988239 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/search-repo.md b/docs/search-repo.md index 8cda04cee..06e0c790c 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/send-email.md b/docs/send-email.md index be587226f..09efc714b 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -126,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index 501cbe08c..6760df91f 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/send-udp.md b/docs/send-udp.md index a21c924c4..574fa97f2 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/set-timer.md b/docs/set-timer.md index be2835afd..944b748e5 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/set-volume.md b/docs/set-volume.md index 2fa7b0c8b..8e6ecb30d 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index f600555cb..7ad453798 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index a560e4f9d..4d0df1bee 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index 50867eca8..9302a3cf2 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/show-notification.md b/docs/show-notification.md index 0e7539041..6ebf80037 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index d45f3bdaa..2be774af5 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 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index 72c7cc5c8..2b303e951 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index c2c6aedd5..e8afd8e14 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -142,4 +142,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index fb5dac7a0..052ac6663 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index e481f76bc..c743f0c27 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -76,7 +76,7 @@ try { $stopWatch = [system.diagnostics.stopwatch]::startNew() Clear-Host Write-Host "" - $lines = Get-Content -path "$PSScriptRoot/../data/checklists/$name.md" + $lines = Get-Content -path "$PSScriptRoot/data/checklists/$name.md" $headline = "" foreach($line in $lines) { if ($line -match "- \[ \].*") { @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index 639abf1e3..0aae4aeff 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index 82d5ce8ff..e5fb217b0 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index 0aa07751d..8bc103166 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index c39ee771e..97eb6b76b 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/speak-english.md b/docs/speak-english.md index c0b43b487..c30399529 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index 623e4f3e7..b368fe68c 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -142,4 +142,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index 3decef3b4..658ccbca5 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:58)* diff --git a/docs/speak-file.md b/docs/speak-file.md index 2c79f6e61..e5705c78c 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index 178a34a37..655e6fefc 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-french.md b/docs/speak-french.md index 47d05f9b1..2ef528a57 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-german.md b/docs/speak-german.md index d3cdcf43c..8dee3a0ed 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index 973d1d66f..37803645c 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index 8823e886b..895963cb9 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index 7bbcfda03..0656950de 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index cffa10f3e..c8a35ec80 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:24)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index ba97faf96..ae40789bb 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index 6f078b066..0e8f0f3d6 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index 166b86dc5..d3ec0a67e 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index 8f642bfd3..c15ccd5f7 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 4479324e3..6b0f8676b 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index a973a80ca..fb7563b2a 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index 9d6979bf8..fa2d22ac6 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index 8204d2da2..c60b2e312 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index ac6780f7d..cf637d06b 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index 37b13c4db..38a5e3ea6 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-test.md b/docs/speak-test.md index 0b1631336..e28957c19 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-text.md b/docs/speak-text.md index 0461e0793..a5efe3288 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index 42ea00442..93b7fae24 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index 5d9d8a4a0..4fecf4730 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index 968d3032c..ef30de32c 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/spell-word.md b/docs/spell-word.md index d8dcc269c..ba76a31ff 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index e03d3e352..1679738ca 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/suspend.md b/docs/suspend.md index 15e6bedce..dd69606a5 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index cc9b7bd7f..2fbd2dcf3 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -128,4 +128,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index 18f913d1c..03c4b0f00 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index e04622462..9ff5b350c 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/sync-dir.md b/docs/sync-dir.md index 33849df18..ca4c3edd2 100644 --- a/docs/sync-dir.md +++ b/docs/sync-dir.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index 89637e975..b83b96800 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index f414c30a6..3b769cd8f 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -1,7 +1,7 @@ The 'tell-joke.ps1' Script ======================== -This PowerShell script selects a random Chuck Norris joke in Data/jokes.csv and speaks it by text-to-speech (TTS). +This PowerShell script selects a random Chuck Norris joke from data/jokes.csv and speaks it by text-to-speech (TTS). Parameters ---------- @@ -36,7 +36,7 @@ Script Content .SYNOPSIS Tells a random joke by text-to-speech .DESCRIPTION - This PowerShell script selects a random Chuck Norris joke in Data/jokes.csv and speaks it by text-to-speech (TTS). + This PowerShell script selects a random Chuck Norris joke from data/jokes.csv and speaks it by text-to-speech (TTS). .EXAMPLE PS> ./tell-joke.ps1 (listen and enjoy) @@ -47,7 +47,7 @@ Script Content #> try { - $table = Import-CSV "$PSScriptRoot/../data/jokes.csv" + $table = Import-CSV "$PSScriptRoot/data/jokes.csv" $randomNumberGenerator = New-Object System.Random $row = [int]$randomNumberGenerator.next(0, $table.count - 1) @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index bb620c5da..288341dd9 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index ec301bbbd..38cef6ab0 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -47,7 +47,7 @@ Script Content #> try { - $table = Import-CSV "$PSScriptRoot/../data/quotes.csv" + $table = Import-CSV "$PSScriptRoot/data/quotes.csv" $randomNumberGenerator = New-Object System.Random $row = [int]$randomNumberGenerator.next(0, $table.Count - 1) @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index 0ed73d6d1..848ea6823 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index 3e2b5a6e1..78b28af10 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index b6bc12806..ecc331972 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/touch.md b/docs/touch.md index 6952b31f5..e8982759e 100644 --- a/docs/touch.md +++ b/docs/touch.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/translate-file.md b/docs/translate-file.md index af078829a..677b4223f 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/translate-files.md b/docs/translate-files.md index 9eb37f091..00c69ce52 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/translate-text.md b/docs/translate-text.md index 2fdbaa00f..b3c1c2f38 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index ecbd4347f..b15a21777 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index fa22b70cc..b1a218601 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index beb6bdfb4..ffed3ddf3 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index 228f91ee2..b3eb7cb71 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index 91b363cfd..6513ae8a6 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index 2495c0365..bdf03859b 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index ab0a71264..84763dad5 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/uninstall-new-outlook.md b/docs/uninstall-new-outlook.md index 54725eba7..2969623bf 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/uninstall-outlook.md b/docs/uninstall-outlook.md index e835777b3..2822012f8 100644 --- a/docs/uninstall-outlook.md +++ b/docs/uninstall-outlook.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index 363b71d22..395b5917e 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index 7707bc893..ce4a3f05a 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/upload-file.md b/docs/upload-file.md index bd4526e79..80114e373 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -149,4 +149,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index ccda123c5..3f63d30c5 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/vi.md b/docs/vi.md index 5277089fb..4a0d6d12b 100644 --- a/docs/vi.md +++ b/docs/vi.md @@ -91,4 +91,4 @@ Write-Host "" exit 1 ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index a2eb485d2..7343fbce4 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/wake-up-human.md b/docs/wake-up-human.md index ead8b5950..ae1206a08 100644 --- a/docs/wake-up-human.md +++ b/docs/wake-up-human.md @@ -47,9 +47,9 @@ Script Content #> do { - & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../data/sounds/Big Ben.mp3" + & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/data/sounds/Big Ben.mp3" } while ($true) ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index a2581ceea..c67347610 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/watch-crypto-rates.md b/docs/watch-crypto-rates.md index 6435b44dd..1af33b7c7 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/watch-file.md b/docs/watch-file.md index bb7d47317..cf49cba37 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/watch-host.md b/docs/watch-host.md index 75ae7db86..fbf2d2f90 100644 --- a/docs/watch-host.md +++ b/docs/watch-host.md @@ -147,4 +147,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/watch-news.md b/docs/watch-news.md index 910f4471c..8df8754ae 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -1,7 +1,7 @@ The 'watch-news.ps1' Script ======================== -This PowerShell script continuously lists the latest headlines by using a RSS (Really Simple Syndication) feed. +This PowerShell script continuously lists the latest news by using a RSS (Really Simple Syndication) feed. Parameters ---------- @@ -19,7 +19,7 @@ PS> ./watch-news.ps1 [[-URL] ] [[-updateInterval] ] [[-speed] - Specifies the update interval in seconds (default: 60 seconds) + Specifies the update interval in seconds (default: 60) Required? false Position? 2 @@ -29,6 +29,7 @@ PS> ./watch-news.ps1 [[-URL] ] [[-updateInterval] ] [[-speed] + Specifies the animation speed in milliseconds (default: 10) Required? false Position? 3 @@ -46,6 +47,10 @@ Example ------- ```powershell PS> ./watch-news.ps1 + Yahoo News - Latest News & Headlines (https://www.yahoo.com/news/world, UTC times) + ----------------------------- + Swiss yodelling joins world cultural heritage list (12:07) +... ``` @@ -64,13 +69,19 @@ Script Content .SYNOPSIS Watch the news .DESCRIPTION - This PowerShell script continuously lists the latest headlines by using a RSS (Really Simple Syndication) feed. + This PowerShell script continuously lists the latest news by using a RSS (Really Simple Syndication) feed. .PARAMETER URL Specifies the URL to the RSS feed (default: https://news.yahoo.com/rss/world) .PARAMETER updateInterval - Specifies the update interval in seconds (default: 60 seconds) + Specifies the update interval in seconds (default: 60) +.PARAMETER speed + Specifies the animation speed in milliseconds (default: 10) .EXAMPLE PS> ./watch-news.ps1 + Yahoo News - Latest News & Headlines (https://www.yahoo.com/news/world, UTC times) + ----------------------------- + Swiss yodelling joins world cultural heritage list (12:07) + ... .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -96,8 +107,9 @@ function PrintNewerHeadlines([xml]$content, [string]$latestTimestamp, [string]$i try { [xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content + $title = $content.rss.channel.title $webLink = $content.rss.channel.link - & "$PSScriptRoot/write-animated.ps1" "Source: $webLink" $speed + & "$PSScriptRoot/write-animated.ps1" "$title ($webLink, UTC times)" $speed & "$PSScriptRoot/write-animated.ps1" "-----------------------------" $speed $latestTimestamp = "2000-01-01" $icon = "" @@ -114,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index 325a24d98..cb32b2039 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -137,4 +137,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/weather-report.md b/docs/weather-report.md index f068f55b7..7ead2bec2 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/weather.md b/docs/weather.md index ac46c0d58..116220ede 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/what-is.md b/docs/what-is.md index 56acf7790..fda2a625b 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -63,7 +63,7 @@ param([string]$term = "") try { if ($term -eq "" ) { $term = Read-Host "Enter the term to query" } - $files = Get-ChildItem "$PSScriptRoot/../data/dicts/*.csv" + $files = Get-ChildItem "$PSScriptRoot/data/dicts/*.csv" $basename = "" foreach($file in $files) { $table = Import-CSV "$file" @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/windefender.md b/docs/windefender.md index 2d91804b4..420ebdd85 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -82,4 +82,4 @@ break } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-animated.md b/docs/write-animated.md index 60dc76576..0bac9ab00 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index 3ee524f7f..a0aa0e628 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-big.md b/docs/write-big.md index ce6c22015..767083cf3 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -472,4 +472,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-blue.md b/docs/write-blue.md index d03e50da3..eb0e68a94 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-braille.md b/docs/write-braille.md index 4b658d2a6..e69404591 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -409,4 +409,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-centered.md b/docs/write-centered.md index 0fb74de92..71225f8b0 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index 905f72149..c1c15b9bf 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-chart.md b/docs/write-chart.md index ef15d9c4d..6a0c9fc16 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-clock.md b/docs/write-clock.md index fb9afc6a1..668ae6c6b 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-code.md b/docs/write-code.md index 40e02d871..e74b57b7b 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-credits.md b/docs/write-credits.md index f6fa793fa..3b7a191df 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-date.md b/docs/write-date.md index 868307b7c..59cc443f8 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index feeb28600..aff0ea758 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-green.md b/docs/write-green.md index 301c12b71..6dc71d155 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index 5d1854e88..d4dece884 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-headline.md b/docs/write-headline.md index c10460345..f9e8778a1 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-help.md b/docs/write-help.md index b6a728646..62528f36c 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -69,4 +69,4 @@ White "████████████████████████ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index e0b1f9d55..7c6cce080 100644 --- a/docs/write-in-emojis.md +++ b/docs/write-in-emojis.md @@ -63,7 +63,7 @@ param([string]$text = "") try { if ($text -eq "") { $text = Read-Host "Enter the text" } - $table = Import-CSV "$PSScriptRoot/../data/emojis.csv" + $table = Import-CSV "$PSScriptRoot/data/emojis.csv" foreach($row in $table) { $text = $text -Replace "\s?$($row.WORD)\s?","$($row.EMOJI)️" } @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-joke.md b/docs/write-joke.md index d1f596c43..872ddfabc 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -47,7 +47,7 @@ Script Content #> try { - $table = Import-CSV "$PSScriptRoot/../data/jokes.csv" + $table = Import-CSV "$PSScriptRoot/data/jokes.csv" $randomNumberGenerator = New-Object System.Random $rowNumber = [int]$randomNumberGenerator.next(0, $table.Count - 1) @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-location.md b/docs/write-location.md index 38f52d8ad..3f4b2c120 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index bc7b7731b..2bd4713ba 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index 1a97a4e89..4eb5b02b6 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index c6b24d3d0..b0e181d7b 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-moon.md b/docs/write-moon.md index 0d3c00636..5fd2731fa 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index b3154e428..28e7ca5e9 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-motd.md b/docs/write-motd.md index c400f85ac..b619aebb9 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-pi.md b/docs/write-pi.md index be01ef406..453b8656f 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-progress-bar.md b/docs/write-progress-bar.md index 9dfb8adf8..7e25ab92a 100644 --- a/docs/write-progress-bar.md +++ b/docs/write-progress-bar.md @@ -55,4 +55,4 @@ for ([int]$i = 0; $i -lt 150; $i++) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index c121f05d1..4757431c8 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 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 71065407f..c50ebe757 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -1,7 +1,7 @@ The 'write-quote.ps1' Script ======================== -This PowerShell script selects a random quote from .../data/quotes.csv and writes it to the console. +This PowerShell script selects a random quote from data/quotes.csv and writes it to the console. Parameters ---------- @@ -35,7 +35,7 @@ Script Content .SYNOPSIS Writes a random quote .DESCRIPTION - This PowerShell script selects a random quote from .../data/quotes.csv and writes it to the console. + This PowerShell script selects a random quote from data/quotes.csv and writes it to the console. .EXAMPLE PS> ./write-quote.ps1 .LINK @@ -45,7 +45,7 @@ Script Content #> try { - $table = Import-CSV "$PSScriptRoot/../data/quotes.csv" + $table = Import-CSV "$PSScriptRoot/data/quotes.csv" $randomNumberGenerator = New-Object System.Random $row = [int]$randomNumberGenerator.next(0, $table.Count - 1) @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:25)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-red.md b/docs/write-red.md index a8a162fd3..5e029cdf4 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 11/24/2025 20:40:26)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index aef680618..03be87174 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:08:59)* diff --git a/docs/write-shit.md b/docs/write-shit.md index c93548ccf..958e19029 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 11/24/2025 20:40:26)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:09:00)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index 8aeadc6db..b6bddb293 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 11/24/2025 20:40:26)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:09:00)* diff --git a/docs/write-skull.md b/docs/write-skull.md index e732006c6..6f109fa1a 100644 --- a/docs/write-skull.md +++ b/docs/write-skull.md @@ -70,4 +70,4 @@ WriteLine "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:09:00)* diff --git a/docs/write-story.md b/docs/write-story.md index 44996917c..68d129ec4 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 11/24/2025 20:40:26)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:09:00)* diff --git a/docs/write-time.md b/docs/write-time.md index 26018d64b..3bb5e7c1d 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:09:00)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index 3098965f4..058f7f51b 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:09:00)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index 06608d27c..c9c13de5a 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 11/24/2025 20:40:26)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:09:00)* diff --git a/docs/write-value.md b/docs/write-value.md index 268dffb45..59d3f467c 100644 --- a/docs/write-value.md +++ b/docs/write-value.md @@ -170,4 +170,4 @@ Write-Host "" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:09:00)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index 6a2084903..4468c2a49 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 11/24/2025 20:40:26)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:09:00)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md index de6c0148f..94ad43e9e 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 11/24/2025 20:40:26)* +*(page generated by convert-ps2md.ps1 as of 12/27/2025 11:09:00)* From 66a59638d0fa8f6b0bd0f7843778344151b3768c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 27 Dec 2025 11:15:10 +0100 Subject: [PATCH 541/737] Updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 27f9474fd..4d91c5dee 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/login/logoff/daily/hourly/shutdown or via AutoHotkey/Jenkins/etc.) or via [GUI](gui/README.md), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📁[scripts](scripts/) subfolder and support Unicode for a modern console like *Windows Terminal*.** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/shutdown/login/logoff/daily/hourly or via AutoHotkey/Jenkins/[GUI](gui/README.md)/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📁[scripts](scripts/) subfolder and support Unicode for a modern console like *Windows Terminal*.** **[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md) | [PowerShell Documentation](https://docs.microsoft.com/en-us/powershell)** From 03598289ff6d9f04c9a698ce60e63619bb7946da Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 27 Dec 2025 11:25:05 +0100 Subject: [PATCH 542/737] Updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d91c5dee..ed6b51800 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/shutdown/login/logoff/daily/hourly or via AutoHotkey/Jenkins/[GUI](gui/README.md)/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📁[scripts](scripts/) subfolder and support Unicode for a modern console like *Windows Terminal*.** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/shutdown/login/logoff/daily/hourly or via AutoHotkey/Jenkins/[GUI](gui/README.md)), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📁[scripts](scripts/) subfolder and support Unicode for a modern console like *Windows Terminal*.** **[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md) | [PowerShell Documentation](https://docs.microsoft.com/en-us/powershell)** From bb8408c186da6d673d1e94c07a1e889db434f2c9 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 27 Dec 2025 11:32:58 +0100 Subject: [PATCH 543/737] Updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ed6b51800..fca0981ba 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/shutdown/login/logoff/daily/hourly or via AutoHotkey/Jenkins/[GUI](gui/README.md)), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📁[scripts](scripts/) subfolder and support Unicode for a modern console like *Windows Terminal*.** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/shutdown/login/logoff/daily/hourly or via AutoHotkey/Jenkins/[GUI](gui/README.md)/[voice commands](https://github.com/fleschutz/talk2windows)), for context menus, or simply to learn PowerShell. All scripts are located in the 📁[scripts](scripts/) subfolder and support Unicode for a modern console like *Windows Terminal*.** **[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md) | [PowerShell Documentation](https://docs.microsoft.com/en-us/powershell)** From 4dc0d2f96ff02c1722f58854f488ac1267106e04 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 27 Dec 2025 11:36:10 +0100 Subject: [PATCH 544/737] Updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fca0981ba..609079368 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/shutdown/login/logoff/daily/hourly or via AutoHotkey/Jenkins/[GUI](gui/README.md)/[voice commands](https://github.com/fleschutz/talk2windows)), for context menus, or simply to learn PowerShell. All scripts are located in the 📁[scripts](scripts/) subfolder and support Unicode for a modern console like *Windows Terminal*.** +**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/shutdown/login/logoff/daily/hourly or via AutoHotkey/[GUI](gui/README.md)/Jenkins/[voice commands](https://github.com/fleschutz/talk2windows)), for context menus, or simply to learn PowerShell. All scripts are located in the 📁[scripts](scripts/) subfolder and support Unicode for a modern console like *Windows Terminal*.** **[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md) | [PowerShell Documentation](https://docs.microsoft.com/en-us/powershell)** From 1dd61ec06a1d54a830f465da623e1da64e2e4ea6 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 27 Dec 2025 11:42:37 +0100 Subject: [PATCH 545/737] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 609079368..88600cfdf 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Mega Collection of PowerShell Scripts ===================================== -**Contains 500+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/shutdown/login/logoff/daily/hourly or via AutoHotkey/[GUI](gui/README.md)/Jenkins/[voice commands](https://github.com/fleschutz/talk2windows)), for context menus, or simply to learn PowerShell. All scripts are located in the 📁[scripts](scripts/) subfolder and support Unicode for a modern console like *Windows Terminal*.** +**Contains 600+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/shutdown/login/logoff/daily/hourly or via AutoHotkey/[GUI](gui/README.md)/Jenkins/[voice commands](https://github.com/fleschutz/talk2windows)), for context menus, or simply to learn PowerShell. All scripts are located in the 📁[scripts](scripts/) subfolder and support Unicode for a modern console like *Windows Terminal*.** **[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md) | [PowerShell Documentation](https://docs.microsoft.com/en-us/powershell)** From 98f52d0da97318dffe7882e5d84938b7be9b0c71 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 27 Dec 2025 11:50:43 +0100 Subject: [PATCH 546/737] Update FAQ.md --- docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 3bc6349bb..fbb6251ae 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -58,7 +58,7 @@ * **PowerShell 5.1** is preinstalled on Windows 10 or 11. * **PowerShell 7.5.2** is the very latest (as of July 2025), but needs to be installed manually. * **Version history** can be found at: https://github.com/PowerShell/PowerShell/releases -* **Scripts** should specify the required version, e.g.: `#Requires -Version 5`. This also helps to identify out-dated scripts. +* **Scripts** should specify the required version, e.g.: `#Requires -Version 5` (it also helps to identify out-dated scripts).
From d49a0be6d5d8e39768ccc3d7852216770b6a0ee3 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 27 Dec 2025 11:51:11 +0100 Subject: [PATCH 547/737] Update FAQ.md --- docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index fbb6251ae..1af618965 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -62,7 +62,7 @@ -
How to get the 500+ PowerShell sample scripts? +
How to get the 600+ PowerShell sample scripts? 1. **When using Git, execute in a terminal window:** `git clone https://github.com/fleschutz/PowerShell` 2. **Otherwise, download and unzip it from:** https://github.com/fleschutz/PowerShell/archive/master.zip From 48e014c83c8338ab191b51d48e6393e68b1c1110 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 27 Dec 2025 11:54:05 +0100 Subject: [PATCH 548/737] Update FAQ.md --- docs/FAQ.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 1af618965..fbab64a7f 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -81,8 +81,8 @@
How to execute PowerShell scripts in Windows context menus? -* To enable "right-click > New > Windows PowerShell Script" execute `Add_ps1_to_New_context_menu.reg` in subfolder [Data/](../Data) -* To disable this execute `Remove_ps1_from_New_context_menu.reg` in subfolder [Data/](../Data) +* To enable "right-click > New > Windows PowerShell Script" execute `Add_ps1_to_New_context_menu.reg` in subfolder [data/](../scripts/data) +* To disable this execute `Remove_ps1_from_New_context_menu.reg` in subfolder [data/](../scripts/data)
How to execute PowerShell scripts automatically on login in Windows? From 7bb8b9fec8dcf052678c6fbe44372b44a9af67d3 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 27 Dec 2025 12:05:30 +0100 Subject: [PATCH 549/737] Update FAQ.md --- docs/FAQ.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index fbab64a7f..692bc75bd 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -105,15 +105,15 @@ 4. **More recommendations by NSA and cyber security centers in the U.S. (CISA), New Zealand (NZ NCSC), and the U.K. (NCSC-UK) can be found here:** https://media.defense.gov/2022/Jun/22/2003021689/-1/-1/1/CSI_KEEPING_POWERSHELL_SECURITY_MEASURES_TO_USE_AND_EMBRACE_20220622.PDF
-
How to get the ultimate PowerShell experience? +
How to get the ultimate PowerShell experience? (Pro tip) 1. **Install *PowerShell* (free)** on all your Linux/Mac OS/Windows machines and configure it as your default shell. 2. **Install *SSH client & server* (free)** on all your Linux/Mac OS/Windows machines for remote control via SSH. -3. **Install *Windows Terminal* (free)** on Windows with 50% transparency, font 'Fira Code' and no PowerShell banner message. -4. **Install *Visual Studio Code* (free)** with plugin 'PowerShell' to edit PowerShell scripts. -5. **Install this GitHub repo** and set the PATH environment variable to the 📂scripts subfolder. -6. **Set an own PowerShell profile,** e.g. by executing: './update-powershell-profile.ps1'. -7. **For Jenkins** install the *PowerShell plugin* and use PowerShell in your Jenkins jobs. +3. **Install *Windows Terminal* (free)** on Windows with 80% transparency, font 'Fira Code' and no PowerShell banner message. +4. **Install *Visual Studio Code* (free)** with plugin 'PowerShell' to edit your PowerShell scripts. +5. **Install this *PowerShell repo* (free)** and set the PATH environment variable to the 📂scripts subfolder. +6. **Set an own *PowerShell* profile** by executing: ´ ./update-powershell-profile.ps1 ´ +7. **Install *Jenkins* (free)** together with the *PowerShell plugin* and use PowerShell scripts in your Jenkins jobs.
From 43c04e40623a54ac9ee54041383b9edc82ffd52c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 27 Dec 2025 12:08:03 +0100 Subject: [PATCH 550/737] Update FAQ.md --- docs/FAQ.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 692bc75bd..618e79f1d 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -61,6 +61,14 @@ * **Scripts** should specify the required version, e.g.: `#Requires -Version 5` (it also helps to identify out-dated scripts).
+
How to safely use PowerShell scripts? + +1. **DO NOT execute scripts or executables from untrusted sources! Watch out for fake profiles!** +2. **CHECK the script content prior execution.** +3. **Prefer SSH Remoting instead of PowerShell Remoting** +4. **More recommendations by NSA and cyber security centers in the U.S. (CISA), New Zealand (NZ NCSC), and the U.K. (NCSC-UK) can be found here:** https://media.defense.gov/2022/Jun/22/2003021689/-1/-1/1/CSI_KEEPING_POWERSHELL_SECURITY_MEASURES_TO_USE_AND_EMBRACE_20220622.PDF +
+
How to get the 600+ PowerShell sample scripts? @@ -97,13 +105,6 @@ 2. **Add or reference your PowerShell scripts in the Jenkins jobs or in your Jenkinsfiles.**
-
What about PowerShell security? - -1. **DO NOT execute scripts or executables from untrusted sources! Watch out for fake profiles!** -2. **CHECK the script content prior execution.** -3. **Prefer SSH Remoting instead of PowerShell Remoting** -4. **More recommendations by NSA and cyber security centers in the U.S. (CISA), New Zealand (NZ NCSC), and the U.K. (NCSC-UK) can be found here:** https://media.defense.gov/2022/Jun/22/2003021689/-1/-1/1/CSI_KEEPING_POWERSHELL_SECURITY_MEASURES_TO_USE_AND_EMBRACE_20220622.PDF -
How to get the ultimate PowerShell experience? (Pro tip) From 0693bc42e0436b7d9dd2f779fb05c6704a68ada3 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 27 Dec 2025 12:16:48 +0100 Subject: [PATCH 551/737] Update FAQ.md --- docs/FAQ.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 618e79f1d..3f0ed0890 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -76,15 +76,16 @@ 2. **Otherwise, download and unzip it from:** https://github.com/fleschutz/PowerShell/archive/master.zip
-
How to execute PowerShell scripts on Windows? +
How to execute PowerShell scripts? 1. **In the Windows desktop:** right-click the script and select: *Execute with PowerShell* -2. **On the command-line:** launch a terminal application (e.g. *Windows Terminal*), then type: `cd `, then: `./